@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600&family=DM+Mono:wght@300;400&display=swap");

:root {
  --ink: #191917;
  --ink-soft: #2c2c2a;
  --ink-mid: #4a4a47;
  --smoke: #f7f4ee;
  --smoke-2: #ede9e0;
  --smoke-3: #e2dccf;
  --paper: #fffdf8;
  --gold: #a8864a;
  --gold-2: #c4a469;
  --gold-pale: #f0e8d6;
  --line: rgba(25, 25, 23, 0.12);
  --line-dark: rgba(247, 244, 238, 0.1);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --gutter: clamp(28px, 6vw, 96px);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--smoke);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden-field {
  display: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 66px;
  padding: 0 var(--gutter);
  background: rgba(247, 244, 238, 0.96);
  border-bottom: 1px solid rgba(25, 25, 23, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.brand-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-wordmark {
  width: 154px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  color: var(--ink-mid);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  white-space: nowrap;
  transition: color .18s ease;
}

.site-nav a:hover,
.site-nav [aria-current="page"] { color: var(--ink); }

.contact-pill {
  padding: 10px 26px;
  background: var(--ink);
  color: var(--smoke) !important;
}

.contact-pill:hover,
.contact-pill[aria-current="page"] {
  background: var(--ink-soft);
  color: var(--smoke) !important;
}

.nav-toggle { display: none; }

main { padding-top: 66px; }

.hero {
  min-height: calc(100svh - 66px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--ink);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: clamp(58px, 8vw, 120px) var(--gutter);
  background: var(--smoke);
  border-right: 1px solid var(--line);
}

.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-copy .eyebrow::before,
.gold-rule {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  flex: 0 0 auto;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
}

h1, h2, h3 { overflow-wrap: normal; }
p, li, dd { overflow-wrap: anywhere; }

h1 {
  margin: 0;
  max-width: 780px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(50px, 6.25vw, 86px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: .96;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(34px, 4.1vw, 60px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.06;
}

h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.18;
}

.hero-copy p:not(.eyebrow) {
  max-width: 470px;
  margin: 32px 0 0;
  color: var(--ink-mid);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 44px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 560px;
  margin-top: clamp(44px, 6vw, 76px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.hero-note span {
  flex: 1 1 120px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: rgba(25,25,23,.55);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 34px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .08em;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.button.primary,
.button.dark {
  background: var(--ink);
  color: var(--smoke);
}

.button.primary:hover,
.button.dark:hover { background: var(--ink-soft); }

.button.secondary {
  border-color: rgba(25,25,23,.28);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--ink);
  background: rgba(25,25,23,.04);
}

.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: clamp(58px, 8vw, 120px) var(--gutter);
  overflow: hidden;
  background:
    linear-gradient(rgba(25,25,23,.88), rgba(25,25,23,.88)),
    url("/assets/clouds-hero.jpg") center / cover no-repeat;
  color: rgba(247,244,238,.72);
}

.hero-panel::before {
  content: "87";
  position: absolute;
  right: clamp(22px, 6vw, 88px);
  top: clamp(30px, 8vw, 110px);
  color: rgba(247,244,238,.045);
  font-family: var(--serif);
  font-size: clamp(160px, 22vw, 330px);
  font-weight: 300;
  line-height: 1;
  pointer-events: none;
}

.hero-panel-top,
.hero-brief {
  position: relative;
  z-index: 1;
}

.hero-panel-top {
  max-width: 560px;
}

.hero-panel-top .eyebrow {
  color: var(--gold-2);
}

.hero-panel blockquote {
  margin: 30px 0 0;
  max-width: 620px;
  color: rgba(247,244,238,.7);
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.12;
}

.hero-brief {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: clamp(60px, 9vw, 120px) 0 0;
  background: var(--line-dark);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.hero-brief div {
  display: grid;
  grid-template-columns: 84px 1fr;
  min-height: 112px;
  padding: 0;
  background: rgba(25,25,23,.82);
}

.hero-brief dt {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line-dark);
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
}

.hero-brief dd {
  display: grid;
  align-content: center;
  gap: 5px;
  margin: 0;
  padding: 22px 28px;
  color: rgba(247,244,238,.45);
  font-size: 12.5px;
  line-height: 1.6;
}

.hero-brief strong {
  color: var(--smoke);
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 300;
  line-height: 1;
}

.hero-brief span {
  color: rgba(247,244,238,.46);
}

.section {
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  background: var(--smoke);
  border-top: 1px solid var(--line);
}

.section.alt {
  background: var(--smoke-2);
}

.section.dark {
  background: var(--ink);
  color: var(--smoke);
}

.section.dark h2,
.section.dark h3 { color: var(--smoke); }

.section.dark p { color: rgba(247,244,238,.45); }
.section.dark .eyebrow { color: var(--gold-2); }

.section-head,
.split,
.contact-layout {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(240px, .9fr) minmax(280px, 1fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: end;
  margin-bottom: 72px;
}

.section-head p:not(.eyebrow) {
  max-width: 640px;
  margin: 0;
  color: var(--ink-mid);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.75;
}

.service-grid,
.detail-grid {
  width: min(var(--max), 100%);
  margin-inline: auto;
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.service-card,
.detail-card {
  position: relative;
  min-height: 318px;
  padding: 44px 36px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--smoke);
  transition: background .22s ease;
}

.service-card:hover,
.detail-card:hover { background: var(--smoke-2); }

.service-card span,
.timeline span,
.metric span {
  display: inline-flex;
  margin-bottom: 28px;
  color: rgba(25,25,23,.32);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .12em;
}

.service-card p,
.detail-card p,
.detail-card li,
.timeline p,
.metric p,
.text-block p,
.contact-card p {
  color: var(--ink-mid);
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.8;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: gap .18s ease;
}

.service-card a::after { content: "->"; }
.service-card a:hover { gap: 12px; }

.split {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(320px, 1fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.text-block {
  max-width: 670px;
  min-width: 0;
}

.text-block p:not(.eyebrow) {
  margin-top: 24px;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.75;
}

.timeline {
  display: grid;
  border-top: 1px solid var(--line);
}

.timeline article {
  padding: 34px 0 34px 34px;
  border-bottom: 1px solid var(--line);
}

.metrics {
  width: min(var(--max), 100%);
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.metric {
  padding: 36px 30px;
  background: var(--ink);
}

.metric strong {
  display: block;
  color: var(--smoke);
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 300;
  line-height: 1;
}

.inner-hero {
  padding: clamp(82px, 10vw, 150px) var(--gutter) clamp(74px, 9vw, 130px);
  background: var(--smoke-2);
  border-bottom: 1px solid var(--line);
}

.inner-hero .content {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

  .inner-hero h1 {
  margin-top: 24px;
  max-width: 860px;
  font-size: clamp(48px, 5.8vw, 84px);
}

.inner-hero p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 28px;
  color: var(--ink-mid);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.75;
}

.detail-card ul {
  display: grid;
  gap: 7px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.detail-card li {
  display: flex;
  gap: 10px;
}

.detail-card li::before {
  content: "";
  width: 14px;
  height: 1px;
  margin-top: 13px;
  background: var(--gold);
  flex: 0 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(320px, 1fr);
  gap: clamp(48px, 8vw, 96px);
}

.contact-card {
  padding: clamp(36px, 4vw, 56px);
  background: var(--paper);
  border: 1px solid var(--line);
}

.contact-card .eyebrow { margin-bottom: 18px; }

.contact-list {
  display: grid;
  margin-top: 28px;
}

.contact-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-row dt {
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-row dd {
  margin: 0;
  color: var(--ink);
}

.placeholder {
  color: var(--ink-mid);
  font-style: normal;
}

.contact-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .06em;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(25,25,23,.2);
  border-radius: 1px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 14px 15px;
}

textarea { resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--gold-pale);
  border-color: var(--gold);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) repeat(3, minmax(160px, 1fr));
  gap: 44px;
  padding: 64px var(--gutter) 42px;
  background: var(--ink);
  color: rgba(247,244,238,.58);
  border-top: 1px solid var(--line-dark);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img:first-child {
  width: 38px;
}

.footer-brand img:last-child {
  width: 154px;
}

.site-footer h3 {
  color: var(--smoke);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
}

.site-footer a:hover { color: var(--gold-2); }

@media (max-width: 1100px) {
  .hero,
  .section-head,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-grid;
    position: relative;
    z-index: 60;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 1px;
    background: transparent;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 1px;
    background: var(--ink);
  }

  .site-nav {
    position: fixed;
    top: 66px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    background: var(--smoke);
    border: 1px solid var(--line);
    box-shadow: 0 24px 70px rgba(25,25,23,.12);
  }

  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 48px; }
  .contact-pill { margin-top: 8px; justify-content: center; }

  .brand-icon { width: 32px; height: 32px; }
  .brand-wordmark { width: 136px; }

  .metrics,
  .detail-grid,
  .service-grid,
  .hero-panel dl { grid-template-columns: 1fr; }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  :root { --gutter: 24px; }

  h1 { font-size: clamp(43px, 13vw, 56px); }
  h2 { font-size: clamp(32px, 10vw, 44px); }

  .hero-copy,
  .hero-panel {
    padding-block: 58px;
  }

  .hero-note {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-note span {
    min-height: 54px;
    justify-content: center;
    font-size: 9.5px;
  }

  .hero-panel blockquote {
    max-width: calc(100vw - 48px);
    font-size: 27px;
    line-height: 1.18;
  }

  .hero-brief {
    margin-top: 48px;
  }

  .hero-brief div {
    grid-template-columns: 62px 1fr;
  }

  .hero-brief dd {
    padding: 22px 20px;
  }

  .hero-actions,
  .button,
  .button-row { width: 100%; }

  .section-head { margin-bottom: 44px; }
  .service-card,
  .detail-card { min-height: auto; padding: 34px 28px; }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer { grid-template-columns: 1fr; }
}
