:root {
  --field: #f7f2e8;
  --ink: #1e2a44;
  --call: #c9a227;
  --call-ink: #1e2a44;
  --ghost: #1e2a44;
  --accent: #7d8c6f;
  --paper-deep: #efe7d5;
  --line: rgba(30, 42, 68, 0.18);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --ease-out-expo: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out-expo-alt: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-out-circ: cubic-bezier(0.075, 0.82, 0.165, 1);
  --dur-fast: 0.3s;
  --dur-hover: 0.5s;
  --dur-enter: 0.7s;
  --dur-nav: 0.8s;
  --dur-hero: 1.5s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

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

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: var(--field);
  padding: 0.5rem 1rem;
}

/* Header: wordmark left, jumps, Call as a solid pill. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.8rem 4vw;
  background: var(--field);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}

.site-header nav {
  display: flex;
  gap: 1.25rem;
}

.site-header nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  font-size: 0.98rem;
  transition: background var(--dur-fast) var(--ease-out-circ), color var(--dur-fast) var(--ease-out-circ), transform var(--dur-fast) var(--ease-out-circ);
}

.btn:hover {
  transform: translate3d(0, -2px, 0);
}

.btn-fill {
  background: var(--call);
  color: var(--call-ink);
  border: 1px solid var(--call);
}

.btn-fill:hover {
  background: #d9b13b;
}

.btn-ghost {
  border: 1px solid currentColor;
  color: var(--ghost);
}

.call-nowrap {
  white-space: nowrap;
}

.link-underline {
  position: relative;
  text-decoration: none;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform var(--dur-hover) var(--ease-out-expo-alt);
}
.link-underline:hover::after {
  transform: scaleX(1);
}

/* Reveal: copy that belongs together arrives together. */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 50px, 0);
  transition:
    opacity var(--dur-enter) var(--ease-out-expo),
    transform var(--dur-enter) var(--ease-out-expo);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

[data-reveal="cascade"] {
  opacity: 1;
  transform: none;
  transition: none;
}
[data-reveal="cascade"] > * {
  opacity: 0;
  transform: translate3d(0, 50px, 0);
  transition:
    opacity var(--dur-enter) var(--ease-out-expo),
    transform var(--dur-enter) var(--ease-out-expo);
}
[data-reveal="cascade"].is-in > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Hero: full-bleed plate, copy on the image. */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

.hero-img {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity var(--dur-hero) var(--ease-out-expo);
}

.hero.is-in .hero-img,
.hero-img.is-in {
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(92deg, rgba(18, 26, 46, 0.86) 0%, rgba(18, 26, 46, 0.62) 38%, rgba(18, 26, 46, 0.12) 68%, rgba(18, 26, 46, 0) 85%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  padding: 4rem 4vw;
  color: #faf6ec;
}

.hero-copy .kicker {
  color: #f3e9cf;
}

.hero-copy h1 {
  color: #fffdf6;
}

.hero-copy a {
  color: inherit;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0 0;
}

.hero-actions .btn-ghost {
  color: #faf6ec;
}

/* Kickers: one small tracked line, used once per section. */
.kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin: 0 0 0.9rem;
}

.kicker::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--call);
  flex: none;
}

/* Sections. */
section {
  padding: 5rem 6vw;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

/* Services river: illustration one half, copy the other, flipping sides. */
.river {
  display: grid;
  gap: 3.5rem;
  max-width: 70rem;
}

.river-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.river-row:nth-child(even) img {
  order: 2;
}

.river-row img {
  border: 1px solid var(--line);
  background: var(--field);
  width: 100%;
}

.river-row h3 {
  margin-bottom: 0.35em;
}

.river-row p {
  margin: 0;
  max-width: 34ch;
}

/* About band: navy field, paper type, gold rule. */
.band {
  background: var(--ink);
  color: #f5efe0;
}

.band a {
  color: #f5efe0;
}

.band .section-head {
  max-width: 44rem;
  margin-bottom: 0;
}

.band .kicker {
  color: #e9d9a8;
}

/* FAQ: native details, one hairline each. */
.faq-list {
  max-width: 42rem;
}

.faq-list details {
  border-top: 1px solid var(--ink);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--ink);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0;
  font-weight: 600;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin: 0 0 1.15rem;
  max-width: 44ch;
}

/* Contact. */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 70rem;
  margin-bottom: 3rem;
}

address {
  font-style: normal;
}

address p {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

address svg {
  flex: none;
  margin-top: 0.2rem;
  color: var(--accent);
}

#contact-form {
  display: grid;
  gap: 1rem;
}

#contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fffdf6;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0.65rem 0.8rem;
}

#contact-form button {
  font: inherit;
  cursor: pointer;
  justify-self: start;
}

.form-note {
  font-size: 0.9rem;
  margin: 0;
}

.map-wrap {
  max-width: 70rem;
}

.map-wrap iframe {
  width: 100%;
  height: 450px;
  border: 1px solid var(--line);
  display: block;
}

.site-footer {
  padding: 2.5rem 6vw 3rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0 0 0.4em;
  max-width: 60rem;
}

/* 390: same idea, narrower. Call stays one line; hero slab pins to the bottom third. */
@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .site-header {
    gap: 0.7rem;
    padding: 0.7rem 1rem;
  }

  .brand {
    font-size: 0.92rem;
  }

  .site-header nav {
    display: none;
  }

  .site-header .btn {
    padding: 0.55rem 0.95rem;
    font-size: 0.88rem;
    margin-left: auto;
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100dvh;
    padding: 0;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(18, 26, 46, 0) 30%, rgba(18, 26, 46, 0.45) 55%, rgba(18, 26, 46, 0.9) 82%);
  }

  .hero-img {
    object-position: center 12%;
  }

  .hero-copy {
    width: auto;
    max-width: none;
    margin: 0 1rem calc(0.85rem + env(safe-area-inset-bottom));
    padding: 1rem 1rem 0.95rem;
    background: rgba(18, 26, 46, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(250, 246, 236, 0.22);
  }

  .hero-copy h1 {
    font-size: 1.75rem;
  }

  .hero-copy .kicker {
    margin-bottom: 0.6rem;
  }

  .hero-actions {
    margin-top: 1.1rem;
  }

  .hero-actions .btn {
    padding: 0.65rem 1.1rem;
    font-size: 0.92rem;
  }

  section {
    padding: 3.5rem 1.25rem;
  }

  .river {
    gap: 2.75rem;
  }

  .river-row {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .river-row:nth-child(even) img {
    order: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .map-wrap iframe {
    height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal="cascade"] > *,
  .hero-img {
    opacity: 1;
    transform: none !important;
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}
