:root {
  --navy: #0b131d;
  --navy-deep: #071019;
  --graphite: #111d28;
  --graphite-soft: #142331;
  --ivory: #f0ebe4;
  --brass: #b48652;
  --brass-light: #c99b63;
  --slate: #9aa3aa;
  --line: #263442;
  --line-soft: rgba(154, 163, 170, 0.16);
  --shell: 1240px;
  --header-height: 104px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
::selection { background: var(--brass); color: var(--navy); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 999;
  padding: .75rem 1rem;
  background: var(--ivory);
  color: var(--navy);
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }
.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;
}
.shell { width: min(100% - 64px, var(--shell)); margin-inline: auto; }
.eyebrow {
  margin: 0;
  color: var(--brass-light);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .21em;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: linear-gradient(180deg, rgba(7,16,25,.96) 0%, rgba(7,16,25,.78) 62%, rgba(7,16,25,0) 100%);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7,16,25,.92);
  border-color: rgba(180,134,82,.22);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: 1.25rem; flex: 0 0 auto; }
.brand-monogram {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: .8;
}
.brand-rule { width: 1px; height: 44px; background: var(--brass); }
.brand-name {
  font-size: .67rem;
  font-weight: 500;
  letter-spacing: .3em;
  line-height: 1.75;
  text-transform: uppercase;
}
.primary-nav { display: flex; align-items: center; gap: 2.75rem; }
.mobile-menu { border: 0; padding: 0; color: var(--ivory); }
.mobile-menu:not([open]) { display: none; }
.primary-nav a {
  position: relative;
  padding: .75rem 0;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--brass);
  transition: right .25s ease;
}
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after { right: 0; }
.menu-toggle { display: none; border: 0; background: transparent; padding: .75rem; cursor: pointer; }
.menu-toggle span { width: 26px; height: 1px; background: var(--ivory); margin: 6px 0; transition: transform .25s ease; }

.hero {
  position: relative;
  min-height: 760px;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-height) + 90px) 0 138px;
  border-bottom: 1px solid rgba(180,134,82,.08);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 75% 40%, rgba(26,52,69,.2), transparent 33%),
    linear-gradient(90deg, var(--navy-deep) 0%, var(--navy) 45%, rgba(11,19,29,.83) 64%, rgba(11,19,29,.35) 100%);
}
.hero-art {
  position: absolute;
  z-index: -2;
  top: 84px;
  right: max(-130px, calc((100vw - var(--shell))/2 - 260px));
  width: min(73vw, 1090px);
  aspect-ratio: 1.68;
  background: url("assets/hfa-hero-topography.webp") center / contain no-repeat;
  opacity: .74;
  transform: translate3d(0,0,0);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  z-index: -1;
  width: 440px;
  height: 440px;
  right: 17%;
  top: 19%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,134,82,.08), transparent 68%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) .74fr; align-items: center; }
.hero-copy { max-width: 800px; }
.hero-copy .eyebrow { margin-bottom: 1.15rem; }
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.25rem, 7.15vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -.047em;
  line-height: .9;
  text-wrap: balance;
}
.hero h1 span { color: var(--brass-light); }
.short-rule { width: 47px; height: 2px; margin: 2.1rem 0 1.45rem; background: var(--brass); }
.hero-lede { max-width: 630px; margin: 0; color: #c2c7cb; font-size: 1.12rem; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2rem; }
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.2rem;
  border: 1px solid var(--brass);
  padding: .25rem 1.45rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--brass-light), var(--brass)); color: var(--navy-deep); }
.button-primary:hover, .button-primary:focus-visible { background: var(--brass-light); }
.button-secondary { background: rgba(7,16,25,.3); color: var(--ivory); }
.button-secondary:hover, .button-secondary:focus-visible { background: rgba(180,134,82,.08); }

.capability-band { position: relative; z-index: 5; margin-top: -80px; padding-bottom: 4.7rem; }
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17,29,40,.92), rgba(10,20,29,.94));
  box-shadow: 0 26px 70px rgba(0,0,0,.18);
}
.capability-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.3rem;
  min-height: 194px;
  padding: 2rem 2rem 2.2rem;
  border-right: 1px solid var(--line);
}
.capability-card:last-child { border-right: 0; }
.icon-ring {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--brass);
  border-radius: 50%;
}
.icon-ring svg { width: 24px; height: 24px; fill: none; stroke: var(--brass-light); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.capability-card h3 { margin: .05rem 0 .45rem; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; line-height: 1.08; }
.capability-card p { margin: 0; color: var(--slate); font-size: .91rem; line-height: 1.55; }
.card-arrow { position: absolute; right: 1.8rem; bottom: 1.2rem; color: var(--brass-light); font-size: 1.3rem; transition: transform .2s ease; }
.capability-card:hover .card-arrow { transform: translateX(4px); }

.philosophy { padding: 1rem 0 6.4rem; }
.philosophy-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; }
.philosophy-left { display: grid; grid-template-columns: 46px 1fr; gap: 1.25rem; padding-right: 3.6rem; border-right: 1px solid var(--line); }
.crosshair { position: relative; width: 42px; height: 42px; margin-top: .25rem; opacity: .72; }
.crosshair::before, .crosshair::after, .crosshair span::before, .crosshair span::after { content: ""; position: absolute; background: var(--brass); }
.crosshair::before { width: 42px; height: 1px; top: 20px; left: 0; }
.crosshair::after { height: 42px; width: 1px; left: 20px; top: 0; }
.crosshair span::before { width: 1px; height: 9px; left: 5px; top: 16px; }
.crosshair span::after { width: 9px; height: 1px; left: 16px; top: 5px; }
.philosophy h2 { margin: 1rem 0 0; font-family: var(--serif); font-size: clamp(2.45rem, 3.6vw, 3.85rem); font-weight: 500; line-height: 1.06; letter-spacing: -.025em; }
.philosophy-right { position: relative; min-height: 275px; padding-left: .2rem; }
.philosophy-copy { position: relative; z-index: 2; max-width: 620px; padding-right: 10.5rem; }
.philosophy h3 { margin: .9rem 0 .75rem; font-family: var(--serif); font-size: clamp(2rem, 2.8vw, 3rem); font-weight: 500; line-height: 1.05; letter-spacing: -.02em; }
.philosophy p:not(.eyebrow) { margin: 0; color: var(--slate); }
.cube-art { position: absolute; width: 245px; right: -2rem; bottom: -2.3rem; opacity: .62; pointer-events: none; }

.method { padding: 6.8rem 0 7rem; background: linear-gradient(180deg, var(--graphite) 0%, #0e1a25 100%); border-block: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: .42fr 1.2fr; gap: 3.8rem; align-items: start; margin-bottom: 3.6rem; }
.section-heading h2 { max-width: 870px; margin: 0; font-family: var(--serif); font-size: clamp(2.75rem, 4.3vw, 4.7rem); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.method-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.method-step { position: relative; padding: 2.15rem 2.2rem 0 0; border-right: 1px solid var(--line); }
.method-step + .method-step { padding-left: 2.2rem; }
.method-step:last-child { border-right: 0; }
.method-step > span { color: var(--brass); font-size: .69rem; font-weight: 600; letter-spacing: .2em; }
.method-step h3 { margin: .6rem 0 .35rem; font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.method-step p { margin: 0; color: var(--slate); }

.about { padding: 7.4rem 0; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 6rem; }
.about-heading h2 { margin: .9rem 0 0; font-family: var(--serif); font-size: clamp(3rem, 5vw, 5.2rem); font-weight: 500; line-height: .92; letter-spacing: -.04em; }
.about-copy { max-width: 760px; color: #c3c8cc; font-size: 1.08rem; }
.about-copy p { margin: 0 0 1.25rem; }
.signature-block { display: flex; flex-direction: column; margin-top: 2rem; color: var(--slate); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.signature-name { margin-bottom: .1rem; color: var(--ivory); font-family: var(--serif); font-size: 1.8rem; letter-spacing: 0; text-transform: none; }

.contact { padding: 7.2rem 0; background: linear-gradient(145deg, #08121c 0%, #0e1a25 62%, #111f2b 100%); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 6rem; align-items: start; }
.contact-copy h2 { margin: .9rem 0 1.2rem; font-family: var(--serif); font-size: clamp(3rem, 5vw, 5.3rem); font-weight: 500; line-height: .91; letter-spacing: -.04em; }
.contact-copy > p:not(.eyebrow) { max-width: 510px; color: var(--slate); }
.email-link { display: inline-flex; gap: .7rem; margin-top: 1.25rem; padding-bottom: .35rem; border-bottom: 1px solid var(--brass); font-size: .94rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: .52rem; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { color: var(--slate); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.form-field input, .form-field textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: rgba(17,29,40,.78);
  color: var(--ivory);
  padding: .85rem .95rem;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.form-field textarea { min-height: 145px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--brass); background: var(--graphite); box-shadow: 0 0 0 2px rgba(180,134,82,.12); }
.form-submit { justify-self: start; margin-top: .15rem; cursor: pointer; }
.hidden-field { position: absolute; left: -5000px; }

.site-footer { border-top: 1px solid var(--brass); background: #071019; }
.footer-main { min-height: 116px; display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.footer-brand .brand-monogram { font-size: 2.65rem; }
.footer-links { display: flex; align-items: center; gap: 2.4rem; color: var(--slate); font-size: .85rem; }
.footer-links a:hover { color: var(--ivory); }
.footer-legal { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); color: #68747e; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-legal a:hover { color: var(--ivory); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .hero h1 { font-size: clamp(4rem, 7.6vw, 6.35rem); }
  .hero-art { right: -210px; width: 920px; opacity: .58; }
  .capability-card { grid-template-columns: 1fr; }
  .philosophy-copy { padding-right: 7.5rem; }
  .cube-art { width: 205px; }
}

@media (max-width: 900px) {
  :root { --header-height: 82px; }
  .shell { width: min(100% - 40px, var(--shell)); }
  .brand { gap: .75rem; }
  .brand-rule { display: block; height: 36px; }
  .brand-name {
    display: block;
    font-size: .54rem;
    letter-spacing: .22em;
    line-height: 1.55;
  }
  .brand-monogram { font-size: 2.45rem; }
  body.menu-open { overflow: hidden; touch-action: none; }
  body.menu-open .site-header {
    z-index: 1002;
    background: rgb(7,16,25);
    border-color: rgba(180,134,82,.16);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .menu-toggle { display: block; position: relative; z-index: 1003; }
  .menu-toggle span { display: block; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { display: none; }

  /* Native modal dialog: rendered in the browser top layer, so it cannot be
     clipped by the fixed header or become transparent when the page is scrolled. */
  .mobile-menu[open] {
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    display: block;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    overflow: hidden;
    border: 0;
    background: #071019;
    color: var(--ivory);
  }
  .mobile-menu::backdrop {
    background: #071019;
    opacity: 1;
  }
  .mobile-menu-panel {
    width: 100%;
    min-height: 100%;
    min-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: linear-gradient(180deg, #071019 0%, #0b131d 100%);
    padding: 0 max(2rem, env(safe-area-inset-right)) calc(3rem + env(safe-area-inset-bottom)) max(2rem, env(safe-area-inset-left));
  }
  .mobile-menu-header {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(180,134,82,.16);
  }
  .mobile-menu-close {
    position: relative;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 0;
    background: transparent;
    color: var(--ivory);
    cursor: pointer;
  }
  .mobile-menu-close span {
    position: absolute;
    left: 10px;
    top: 23px;
    width: 28px;
    height: 1px;
    background: currentColor;
  }
  .mobile-menu-close span:first-child { transform: rotate(45deg); }
  .mobile-menu-close span:last-child { transform: rotate(-45deg); }
  .mobile-menu-nav {
    min-height: calc(100dvh - var(--header-height) - 3rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.25rem;
    padding: 2rem 0 4rem;
  }
  .mobile-menu-nav a {
    position: relative;
    font-family: var(--serif);
    font-size: clamp(3rem, 13vw, 4.3rem);
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: .98;
    color: var(--ivory);
  }
  .mobile-menu-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -.18rem;
    width: 0;
    height: 1px;
    background: var(--brass);
    transition: width .2s ease;
  }
  .mobile-menu-nav a:hover::after,
  .mobile-menu-nav a:focus-visible::after { width: 100%; }
  .hero { min-height: 700px; padding-top: calc(var(--header-height) + 82px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; }
  .hero-art { right: -320px; top: 115px; width: 970px; opacity: .39; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { grid-template-columns: auto 1fr; min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .capability-card:last-child { border-bottom: 0; }
  .philosophy-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3.6rem; }
  .philosophy-left { padding-right: 0; padding-bottom: 3.5rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .philosophy-copy { max-width: 680px; padding-right: 9rem; }
  .section-heading { grid-template-columns: 1fr; gap: 1.2rem; }
  .method-grid { grid-template-columns: 1fr; }
  .method-step, .method-step + .method-step { padding: 2rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .method-step:last-child { border-bottom: 0; }
  .about-copy { max-width: 700px; }
  .contact-grid { gap: 4rem; }
  .footer-main { flex-direction: column; align-items: flex-start; padding-block: 2rem; }
  .footer-links { flex-wrap: wrap; gap: .9rem 1.6rem; }
  .footer-legal { flex-wrap: wrap; padding-block: 1.2rem; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 32px, var(--shell)); }
  .hero { min-height: 660px; padding-top: 145px; padding-bottom: 115px; }
  .hero-art { top: 158px; right: -405px; width: 900px; opacity: .3; }
  .hero-copy .eyebrow { max-width: 290px; }
  .hero h1 { font-size: clamp(3.55rem, 17vw, 4.65rem); line-height: .91; }
  .hero-lede { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .capability-band { margin-top: -54px; }
  .capability-card { grid-template-columns: 1fr; padding: 1.7rem; }
  .icon-ring { width: 46px; height: 46px; }
  .philosophy { padding-bottom: 4.5rem; }
  .philosophy-left { grid-template-columns: 1fr; }
  .philosophy-copy { padding-right: 0; }
  .cube-art { position: relative; width: 190px; right: auto; bottom: auto; margin: -1rem 0 -2rem auto; }
  .method, .about, .contact { padding-block: 5.2rem; }
  .contact-form { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
  .footer-links { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: .55rem; }
}


@media (max-width: 390px) {
  .brand { gap: .58rem; }
  .brand-rule { height: 32px; }
  .brand-name { font-size: .47rem; letter-spacing: .18em; }
  .brand-monogram { font-size: 2.25rem; }
}
