:root {
  --navy: #182840;
  --navy-deep: #10192c;
  --ink: #243044;
  --muted: #5c6675;
  --gold: #c4986c;
  --gold-deep: #8d6434;
  --line: rgba(24, 40, 64, 0.14);
  --paper: #f4f1ec;
  --white: #ffffff;
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --header: 5.1rem;
  --wrap: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.05;
}
h1 em, h2 em { font-style: italic; font-weight: 500; }
::selection { background: var(--navy); color: var(--paper); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: white;
  padding: 0.6rem 0.9rem;
  z-index: 20;
}
.skip:focus { top: 0.6rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 3rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 300;
  line-height: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--navy);
}
.brand img { width: 92px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.18em;
}
.brand-sub {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.38rem;
  color: var(--gold-deep);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.34em;
}
.brand-sub::before,
.brand-sub::after {
  content: "";
  width: 0.9rem;
  height: 1px;
  background: var(--gold);
}

#site-nav { display: flex; align-items: center; gap: 1.6rem; }
#site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--navy);
}
#site-nav a:hover { color: var(--gold-deep); }
#site-nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--gold); }
.nav-cta {
  border: 1px solid var(--navy);
  padding: 0.55rem 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem !important;
}
.nav-cta:hover { background: var(--navy); color: white !important; }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  padding: 0.45rem 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: calc(100vh - var(--header));
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4rem 6vw 4.5rem;
}
.hero h1 {
  font-size: clamp(3.1rem, 5.6vw, 5.4rem);
  max-width: 12em;
  margin-bottom: 1.4rem;
}
.hero .lede { margin-bottom: 2rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 1.8rem; }
.hero-visual { position: relative; min-height: 560px; background: var(--navy); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.btn, .btn-line {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  background: transparent;
}
.btn {
  background: var(--navy);
  color: white;
  padding: 0.95rem 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.btn:hover { background: var(--gold-deep); }
.btn-line {
  color: var(--navy);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.2rem;
}
.btn-line:hover { color: var(--gold-deep); }

.measure { border-bottom: 1px solid var(--line); }
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.metric { padding: 1.7rem 0 1.8rem; padding-right: 1rem; }
.metric + .metric { border-left: 1px solid var(--line); padding-left: 1.4rem; }
.metric strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.55rem;
}
.metric span { color: var(--muted); font-size: 0.92rem; }

.section { padding: 6.2rem 0; }
.section-paper { background: var(--paper); }
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head h2, .page-hero h1, .split h2, .visit h2, .closing h2 {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  margin-bottom: 1rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.step span {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--gold-deep);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}
.step h3 { font-size: 1.7rem; margin-bottom: 0.8rem; }
.step p { color: var(--muted); font-size: 0.98rem; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}
.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.split.reverse .split-copy { order: 2; }
.split-media { background: var(--paper); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split-copy h2 { margin: 0.2rem 0 1rem; }
.split-copy p + p { margin-top: 1rem; }
.split-copy .btn, .split-copy .btn-line { margin-top: 1.6rem; }

.film { position: relative; background: var(--navy-deep); color: white; min-height: 78vh; }
.film-frame { position: relative; overflow: hidden; width: 100%; height: 78vh; min-height: 520px; background: var(--navy); }
.film-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  background: var(--navy);
}
.film.has-video .film-video { opacity: 1; }
.film.has-video .film-frame img { opacity: 0; }
.film-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease), transform 7s linear;
}
.film-frame img.is-on { opacity: 1; transform: scale(1); }
.film-caption {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding: 5rem 6vw 2rem;
  background: linear-gradient(transparent, rgba(16, 25, 44, 0.78));
  color: white;
}
.film-caption .eyebrow { color: var(--gold); }
.film-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  color: white;
}
.film-controls { display: flex; align-items: center; gap: 0.7rem; }
.film-bar { width: 2.2rem; height: 2px; background: rgba(255,255,255,0.35); }
.film-bar.is-on { background: var(--gold); }
.film-pause {
  margin-left: 0.6rem;
  background: transparent;
  color: white;
  border: 0;
  border-bottom: 1px solid var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 0 0 0.15rem;
  cursor: pointer;
}

.closing { position: relative; min-height: 70vh; background: var(--navy); color: white; }
.closing img { width: 100%; height: 70vh; object-fit: cover; min-height: 480px; }
.closing-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 5rem 6vw 3.2rem;
  background: linear-gradient(transparent, rgba(16, 25, 44, 0.82));
}
.closing h2, .closing .eyebrow { color: white; }
.closing .eyebrow { color: var(--gold); }
.closing .btn { margin-top: 1.3rem; background: white; color: var(--navy); }
.closing .btn:hover { background: var(--gold); color: var(--navy-deep); }

.page-hero { padding: 5.5rem 0 3rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 14ch; }
.page-hero .lede { margin-top: 0.4rem; }

.prose { max-width: 42rem; }
.prose p + p { margin-top: 1rem; }
.prose p { color: var(--muted); }

.spec {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.spec div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  padding: 1.05rem 1.2rem 1.05rem 0;
  border-bottom: 1px solid var(--line);
}
.spec div:nth-child(odd) { padding-right: 2rem; }
.spec div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 1.4rem; }
.spec dt { color: var(--gold-deep); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 0.25rem; }
.spec dd { margin: 0; color: var(--navy); }

.gallery {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1rem;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery img:first-child { aspect-ratio: 16 / 10; min-height: 100%; }
.gallery-stack { display: grid; gap: 1rem; }
.gallery-stack img { aspect-ratio: 16 / 10; }
.photos {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 0.7rem;
}
.photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photos img:first-child { aspect-ratio: 4 / 3; }
.anchor { scroll-margin-top: 6.2rem; }
a.mail {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
}

.uses {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.uses article {
  padding: 1.3rem 1.1rem 1.4rem;
  background: var(--paper);
  min-height: 11rem;
}
.uses h3 { font-size: 1.45rem; margin-bottom: 0.6rem; }
.uses p { color: var(--muted); font-size: 0.95rem; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.principles article { padding-top: 1.2rem; border-top: 1px solid var(--gold); }
.principles h3 { font-size: 1.7rem; margin-bottom: 0.7rem; }
.principles p { color: var(--muted); }

.note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: start;
}
.contact-card {
  background: var(--paper);
  padding: 2rem 1.6rem;
}
.contact-card h2 { font-size: 2rem; margin-bottom: 1rem; }
.contact-card address { font-style: normal; color: var(--ink); line-height: 1.7; }
.contact-card a { color: var(--navy); }
form { display: grid; gap: 0.95rem; }
label { display: grid; gap: 0.35rem; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
input, select, textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 0.7rem 0;
  border-radius: 0;
}
textarea { min-height: 9rem; resize: vertical; border: 1px solid var(--line); padding: 0.8rem; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: var(--muted); font-size: 0.9rem; }
.alert { padding: 0.9rem 1rem; margin-bottom: 1rem; }
.alert.is-ok { background: #e7f0e6; color: #1d3b24; }
.alert.is-err { background: #f8ece6; color: #6d3418; }

.site-footer { border-top: 1px solid var(--line); padding-top: 3.5rem; background: white; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 2rem;
  padding-bottom: 2.8rem;
}
.footer-grid p, .footer-grid address { color: var(--muted); font-style: normal; margin-top: 1rem; }
.footer-grid nav { display: grid; align-content: start; gap: 0.45rem; }
.footer-grid nav a { text-decoration: none; }
.footer-grid nav a:hover { color: var(--gold-deep); }
.legal-bar { border-top: 1px solid var(--line); padding: 1rem 0 1.2rem; color: var(--muted); font-size: 0.88rem; }
.legal-bar .wrap { display: flex; justify-content: space-between; gap: 1rem; }

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero, .split, .split.reverse, .contact-grid, .steps, .uses, .principles, .metrics, .footer-grid, .gallery, .photos {
    grid-template-columns: 1fr;
  }
  .photos img { aspect-ratio: 16 / 10; max-height: 420px; }
  .split.reverse .split-copy { order: 0; }
  .metric + .metric { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .metrics { gap: 0; }
  .spec { grid-template-columns: 1fr; }
  .spec div:nth-child(even) { border-left: 0; padding-left: 0; }
  .hero-visual { min-height: 62vw; order: -1; }
  .hero-copy { padding: 2.4rem 1.25rem 3rem; }
  .hero h1 { max-width: none; }
  .section { padding: 4rem 0; }
  .page-hero { padding: 3.2rem 0 2rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .wrap { width: min(var(--wrap), calc(100% - 2rem)); }
  .nav-toggle { display: inline-flex; }
  #site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 0.4rem 1rem 1rem;
  }
  .nav-open #site-nav { display: flex; }
  #site-nav a { padding: 0.85rem 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-cta { border: 0; padding-left: 0; }
  .film-caption { flex-direction: column; align-items: flex-start; }
  .legal-bar .wrap { flex-direction: column; }
  .brand img { width: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .film-frame img { transition: none; transform: none; opacity: 1; }
  .film-frame img { position: static; height: 52vh; }
  .film-frame img:not(.is-on) { display: none; }
}
