:root {
  --ink:        #141517;
  --ink-2:      #1b1d20;
  --ink-3:      #23262a;
  --line:       #32363b;
  --paper:      #f2efe9;
  --muted:      #a7a49e;
  /* Sampled from the brand artwork in logo1.png */
  --gold:       #c39a76;
  --gold-soft:  #d9b997;

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1140px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: .75rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: var(--ink);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  margin-inline-end: auto;
}
.wordmark-mark { height: 34px; width: auto; }
.wordmark-text { height: 15px; width: auto; }

.site-nav {
  display: flex;
  gap: 1.75rem;
  font-size: .875rem;
  letter-spacing: .04em;
}
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  padding-block: .25rem;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.site-nav a:hover { color: var(--paper); border-bottom-color: var(--gold); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .08em;
}
.lang-switch button {
  background: none;
  border: 0;
  padding: .25rem .1rem;
  font: inherit;
  letter-spacing: inherit;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s ease;
}
.lang-switch button:hover { color: var(--paper); }
.lang-switch button.is-active { color: var(--gold); }

/* Nav collapses on small screens; a single gold CTA takes its place
   so the quote form is always one tap away. */
.header-cta {
  display: none;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--gold);
  padding: .5rem .9rem;
  border-radius: 2px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .header-cta { display: inline-block; }
  .header-inner { gap: .85rem; }
  .wordmark-mark { height: 28px; }
  .wordmark-text { height: 12px; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(84vh, 720px);
  padding-block: clamp(4rem, 14vh, 8rem);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--ink) 4%, color-mix(in srgb, var(--ink) 72%, transparent) 42%, color-mix(in srgb, var(--ink) 28%, transparent) 100%),
    linear-gradient(to right, color-mix(in srgb, var(--ink) 80%, transparent), transparent 62%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin-inline: 0;
  padding-inline: var(--gutter);
}
@media (min-width: 1200px) {
  .hero-content { margin-inline-start: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: color-mix(in srgb, var(--paper) 82%, transparent);
  margin: 0 0 2rem;
  max-width: 38rem;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.btn-primary:hover { background: var(--gold-soft); }
.btn-ghost {
  border-color: color-mix(in srgb, var(--paper) 32%, transparent);
  color: var(--paper);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ---------- sections ---------- */

.section { padding-block: clamp(4rem, 10vw, 7rem); }
.section-alt { background: var(--ink-2); }

.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.12;
  margin: 0 0 3rem;
  text-wrap: balance;
}

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1.75rem 1.5rem;
}
.card h3, .step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .01em;
  margin: 0 0 .6rem;
}
.card p, .step p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
}

.steps { counter-reset: step; }
.step { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.step-num {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: .5rem;
}

/* ---------- contact ---------- */

.contact-wrap {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr 1fr; }
}

.contact-intro .section-title { margin-bottom: 1.25rem; }

.contact-direct {
  font-size: .94rem;
  color: var(--muted);
  margin: 0;
}
.contact-direct a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.quote-form { display: grid; gap: 1.1rem; }

.field { display: grid; gap: .4rem; }

.field-row {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 520px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

.field label {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .9rem;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--paper);
  font-family: inherit;
  font-size: .96rem;
  transition: border-color .2s ease;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); }

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #d4705f; }

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-inline-end: 2.5rem;
}
.field select option { background: var(--ink-3); color: var(--paper); }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  font-size: .9rem;
  min-height: 1.4em;
}
.form-status.ok { color: var(--gold-soft); }
.form-status.err { color: #e59484; }

.form-fineprint {
  margin: 0;
  font-size: .78rem;
  color: color-mix(in srgb, var(--muted) 78%, transparent);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem;
  background: var(--ink-2);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: .86rem;
  color: var(--muted);
}
.footer-mark { height: 14px; width: auto; }
.footer-contact { margin: 0; display: flex; gap: .6rem; flex-wrap: wrap; }
.footer-contact a { color: var(--paper); text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }
.footer-legal { margin: 0; }
