:root {
  --ivory: #f6f3ee;
  --stone: #e7e2d9;
  --ink: #2c2d2f;
  --black: #1e1f21;
  --brass: #a98b5b;
  --brass-text: #7a5f33;
  --brass-light: #c8ae82;
  --numeral: #8a6d3b;
  --muted: #5f5b54;
  --line: #cfc9be;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --header: 4.75rem;
  --wide: 92rem;
  --read: 40rem;
  --pad: clamp(1.25rem, 4vw, 3.25rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brass-text); }

a:hover { color: var(--ink); }

:focus-visible {
  outline: 1px solid var(--brass);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--black);
  color: var(--ivory);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header);
  padding: 0.85rem var(--pad);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

body.theme-hero .site-header,
body.theme-dark .site-header { color: var(--ivory); }

body.theme-hero .site-header:not(.is-solid),
body.theme-dark .site-header:not(.is-solid) {
  background: rgba(30, 31, 33, 0.5);
}

body.theme-hero .site-header.is-solid,
body.theme-dark .site-header.is-solid,
body.theme-paper .site-header {
  background: rgba(246, 243, 238, 0.96);
  color: var(--ink);
  border-bottom-color: var(--line);
}

.brand {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
}

.brand-short { display: none; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  background: none;
  border: 0;
  color: inherit;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.05rem;
  flex: 1 1 auto;
}

.nav a {
  text-decoration: none;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 currentColor; }

.inquire {
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
  border: 1px solid currentColor;
  padding: 0.7rem 1.05rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.inquire:hover { background: var(--brass); color: var(--black); border-color: var(--brass); }

main { display: block; }

body.theme-paper main > .bleed:first-child {
  margin-top: var(--header);
}

.hero,
.frame { position: relative; background: var(--black); color: var(--ivory); }

.bleed { position: relative; background: var(--ivory); color: var(--ink); }

.hero { min-height: 100svh; }

.hero-short { min-height: 70svh; }

.hero img,
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero img { min-height: inherit; }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 31, 33, 0.25);
  z-index: 1;
}

.hero-band::before { background: rgba(30, 31, 33, 0.35); }

.hero-copy {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  right: var(--pad);
  bottom: 4.5rem;
  max-width: 44rem;
}

.hero figcaption,
.bleed figcaption,
.frame figcaption,
.portrait figcaption {
  z-index: 2;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.5;
}

.hero figcaption {
  position: absolute;
  right: var(--pad);
  bottom: 1.35rem;
  color: var(--ivory);
  max-width: 18rem;
  text-align: right;
}

.bleed img { width: 100%; height: auto; }

.bleed figcaption,
.stack-caption {
  color: var(--muted);
  padding: 0.85rem var(--pad) 0;
  text-align: left;
}

.band { padding: clamp(4rem, 8vw, 7rem) var(--pad); }

.band-stone { background: var(--stone); }

.band-ink { background: var(--ink); color: var(--ivory); }

.band-black { background: var(--black); color: var(--ivory); }

.wrap { max-width: var(--wide); margin: 0 auto; }

.narrow { max-width: var(--read); }

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--brass-text);
}

.band-ink .eyebrow,
.band-black .eyebrow,
.hero .eyebrow,
.on-dark .eyebrow { color: var(--brass-light); }

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin: 0;
  color: inherit;
}

h1, .display { font-size: clamp(2.9rem, 6.4vw, 6rem); }

h2 { font-size: clamp(2.1rem, 3.6vw, 3.5rem); line-height: 1.1; }

h3 { font-size: clamp(1.6rem, 2vw, 2.125rem); line-height: 1.2; font-weight: 400; }

.lead, .lede {
  font-size: 1.3125rem;
  line-height: 1.65;
  font-weight: 400;
  max-width: 40rem;
  margin: 1.15rem 0 0;
}

.hero .lead { color: var(--ivory); margin-bottom: 1.4rem; }

.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }

.hairline {
  border: 0;
  border-top: 1px solid var(--brass);
  margin: 0 0 1.4rem;
  width: 100%;
}

.statement {
  display: grid;
  grid-template-columns: minmax(8rem, 16rem) minmax(0, 1fr);
  gap: 2rem 3rem;
  align-items: start;
}

.numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

.num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.4rem, 6vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--numeral);
  margin: 0 0 0.7rem;
}

.band-ink .num,
.band-black .num { color: var(--brass-light); }

.num-rule {
  display: block;
  width: 2.5rem;
  border-top: 1px solid var(--brass);
  margin: 0 0 0.75rem;
}

.numbers p,
.equation p { margin: 0.35rem 0 0; }

.footnote { color: var(--muted); font-size: 0.875rem; margin: 2.2rem 0 0; max-width: 46rem; }

.duo {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
}

.portrait img { width: 100%; height: auto; }

.portrait figcaption { padding-top: 0.75rem; }

.feature-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  counter-reset: feat;
}

.feature-list li {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 300;
  line-height: 1.2;
}

.band-ink .feature-list li,
.on-dark .feature-list li { border-top-color: rgba(200, 174, 130, 0.45); }

.feature-list li:last-child { border-bottom: 1px solid var(--line); }

.band-ink .feature-list li:last-child { border-bottom-color: rgba(200, 174, 130, 0.45); }

.feature-list .n {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--numeral);
}

.band-ink .feature-list .n { color: var(--brass-light); }

.feature-list .cat {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.note { color: var(--muted); max-width: 42rem; }

.band-ink .note,
.on-dark .note { color: rgba(246, 243, 238, 0.8); }

.text-link {
  display: inline-block;
  margin-top: 1.2rem;
  color: var(--brass-text);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
}

.band-ink .text-link,
.band-black .text-link,
.on-dark .text-link { color: var(--brass-light); }

.tiles {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.tiles a {
  display: block;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid var(--brass);
  padding-top: 1rem;
  min-height: 9rem;
}

.tiles h3 { margin-bottom: 0.55rem; }

.tiles p { margin: 0; color: var(--muted); }

.tiles .arrow {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--brass-text);
}

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }

.button {
  display: inline-block;
  background: var(--ink);
  color: var(--ivory);
  text-decoration: none;
  border: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1.05rem 1.7rem;
  cursor: pointer;
}

.button:hover { background: var(--brass); border-color: var(--brass); color: var(--black); }

.button-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--ivory);
}

.button-ghost-ink {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.band-ink .button,
.band-black .button {
  background: var(--ivory);
  color: var(--ink);
  border-color: var(--ivory);
}

.band-ink .button-ghost,
.band-black .button-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--ivory);
}

.center { text-align: center; }
.center .lead, .center p { margin-left: auto; margin-right: auto; }

.equation {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.5rem 1rem;
}

.equation .op {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 3vw, 3.5rem);
  color: var(--brass-light);
  padding-bottom: 2.2rem;
}

.eq-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

table { width: 100%; border-collapse: collapse; font-size: 1rem; }

th, td {
  text-align: left;
  vertical-align: top;
  padding: 1rem 1.25rem 1rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

th {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-text);
  font-weight: 400;
}

td small, .src {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.table-wrap { overflow-x: auto; }

.split-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 85svh;
  padding-top: var(--header);
  background: var(--ivory);
  color: var(--ink);
}

.split-hero .copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem var(--pad);
}

.split-hero .media { background: var(--stone); }
.split-hero .media img { width: 100%; height: 100%; object-fit: cover; min-height: 70vh; }
.split-hero figcaption { padding: 0.75rem var(--pad) 0 0; }

.facts-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.facts-4 div { border-top: 1px solid var(--brass); padding-top: 0.8rem; }

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.cards article { border-top: 1px solid var(--brass); padding-top: 1rem; }

.map-frame {
  width: 100%;
  height: 60vh;
  border: 0;
  display: block;
  filter: grayscale(1) contrast(0.9);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1.3fr);
  gap: 3rem;
  align-items: start;
}

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.25;
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
}

.faq details[open] summary::after { content: "–"; }

.faq details p { margin: 0 0 1.2rem; max-width: 40rem; }

.timeline { list-style: none; margin: 2rem 0; padding: 0 0 0 1.4rem; border-left: 1px solid var(--brass); }

.timeline li { margin: 0 0 1.6rem; position: relative; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -1.55rem;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--brass);
}

.timeline time {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-text);
  margin-bottom: 0.3rem;
}

.post-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid var(--brass);
  padding-top: 1.5rem;
}

.post-card time {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-text);
  margin-bottom: 0.6rem;
}

.form-note {
  background: var(--ivory);
  padding: 1rem 1.1rem;
  margin: 0 0 1.4rem;
}

form { max-width: 36rem; }

.field { margin: 0 0 1.2rem; }

label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

input, textarea {
  width: 100%;
  background: var(--ivory);
  border: 0;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font: inherit;
  padding: 0.65rem 0.2rem;
}

textarea { min-height: 8rem; resize: vertical; }

.form-status { min-height: 1.5rem; margin-top: 1rem; color: var(--brass-text); }

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

.site-footer {
  background: var(--black);
  color: var(--ivory);
  padding: clamp(3rem, 6vw, 5rem) var(--pad) 2.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  max-width: var(--wide);
  margin: 0 auto 2rem;
}

.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); }

.footer-brand {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2rem;
  line-height: 1.1;
  margin: 0 0 0.7rem;
}

.foot-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin: 0 0 0.6rem;
}

.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin: 0.2rem 0; }

.disclaimer {
  max-width: var(--wide);
  margin: 0 auto;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(207, 201, 190, 0.35);
  color: #cfc9be;
  font-size: 0.78rem;
  line-height: 1.65;
}

.disclaimer p { margin: 0 0 0.7rem; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes rise { to { opacity: 1; transform: none; } }

.link-row { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; justify-content: center; }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .inquire-desktop { display: none; }

  .nav {
    position: fixed;
    z-index: 1;
    inset: 0;
    background: var(--black);
    color: var(--ivory);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 6rem var(--pad);
    gap: 0.4rem;
    transform: translateY(-102%);
    transition: transform 0.45s var(--ease);
  }

  .nav.is-open { transform: none; }

  body:has(.nav.is-open) .site-header {
    background: var(--black);
    color: var(--ivory);
    border-bottom-color: transparent;
  }

  .nav a {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 6vw, 2.6rem);
    font-weight: 300;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ivory);
  }

  .nav .inquire {
    margin-top: 1rem;
    color: var(--ivory);
    border-color: var(--ivory);
  }
}

@media (max-width: 860px) {
  .statement, .duo, .eq-notes, .split-hero, .faq-layout, .post-card, .footer-grid, .cards {
    grid-template-columns: 1fr;
  }
  .numbers, .facts-4, .tiles { grid-template-columns: 1fr 1fr; }
  .split-hero .media img { min-height: 52vh; }
  .hero, .hero img { min-height: 86svh; }
  .hero-short, .hero-short img { min-height: 62svh; }
  h1, .display { font-size: clamp(2.6rem, 12vw, 3.2rem); }
}

@media (max-width: 640px) {
  .brand-full { display: none; }
  .brand-short { display: inline; }
  .brand { font-size: 1.15rem; letter-spacing: 0.02em; }
}

@media (max-width: 560px) {
  .numbers, .facts-4, .tiles { grid-template-columns: 1fr; }
  .feature-list li { grid-template-columns: 2.4rem 1fr; }
  .feature-list .cat { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; animation: none; }
  .nav { transition: none; }
}
