:root {
  --surface: #faf9f7;
  --body-copy: #747474;
  --design-unit: clamp(.75px, .06906077vw, 1.6px);
  --page-gutter: max(24px, 5.66vw);
  --header-height: calc(68 * var(--design-unit));
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--navy); background: #fff; font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
.skip-link { position: absolute; top: 8px; left: 16px; z-index: 5; padding: 12px 18px; background: var(--navy); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 2; background: #fff; }
.header-inner { min-height: var(--header-height); padding-inline: var(--page-gutter); display: flex; align-items: center; justify-content: space-between; gap: calc(40 * var(--design-unit)); }
.brand { flex: 0 0 auto; width: calc(218 * var(--design-unit)); }
.brand img { width: 100%; height: auto; transform: translateX(-6%); }
.primary-navigation { flex: 1; display: flex; align-items: center; justify-content: space-between; margin-left: calc(194 * var(--design-unit)); gap: calc(28 * var(--design-unit)); }
.nav-links { display: flex; align-items: center; gap: calc(44 * var(--design-unit)); }
.nav-links a { position: relative; padding-block: calc(24 * var(--design-unit)); font-size: calc(12 * var(--design-unit)); white-space: nowrap; }
.nav-links a[aria-current]::after { content: ""; position: absolute; bottom: calc(15 * var(--design-unit)); left: 0; right: 0; height: 2px; background: var(--orange); }
.nav-links a:hover { color: var(--orange); }
.button { min-height: calc(43 * var(--design-unit)); display: inline-flex; align-items: center; justify-content: center; gap: calc(13 * var(--design-unit)); padding: 0 calc(21 * var(--design-unit)); background: var(--navy); color: white; font-size: calc(12 * var(--design-unit)); font-weight: 500; white-space: nowrap; transition: background-color 150ms ease; }
.button img { filter: invert(1); width: calc(18 * var(--design-unit)); height: auto; }
.button:hover { background: #153452; }
.menu-toggle { display: none; }

.hero { display: grid; grid-template-columns: 44% 56%; background: var(--surface); min-height: calc(372 * var(--design-unit)); }
.hero-copy { min-width: 0; padding: calc(40 * var(--design-unit)) calc(28 * var(--design-unit)) calc(31 * var(--design-unit)) var(--page-gutter); }
.eyebrow { margin: 0 0 calc(9 * var(--design-unit)); font-size: calc(8 * var(--design-unit)); font-weight: 600; letter-spacing: .43em; line-height: 1.5; }
h1 { margin: 0; font-size: calc(65 * var(--design-unit)); font-weight: 600; line-height: 1.07; letter-spacing: -.05em; }
.headline-line { display: block; white-space: nowrap; }
h1 em { font-family: var(--serif); font-size: 1.12em; line-height: 0; font-weight: 500; font-style: normal; letter-spacing: -.05em; color: var(--orange); }
.hero-description { margin: calc(13 * var(--design-unit)) 0 0 calc(3 * var(--design-unit)); font-size: calc(17 * var(--design-unit)); line-height: 1.32; color: var(--body-copy); }
.hero-description > span { display: block; }
.microline { display: flex; align-items: center; gap: calc(14 * var(--design-unit)); margin: calc(23 * var(--design-unit)) 0 0 calc(4 * var(--design-unit)); font-size: calc(8 * var(--design-unit)); font-weight: 600; letter-spacing: .5em; line-height: 1.6; white-space: nowrap; }
.microline::before { content: ""; flex: 0 0 calc(49 * var(--design-unit)); height: 2px; margin-right: calc(8 * var(--design-unit)); background: var(--orange); }
.microline span { letter-spacing: 0; }
.hero-visual { display: block; min-width: 0; position: relative; }
.hero-visual img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }

@media (max-width: 1200px) {
  :root { --header-height: 68px; }
  .header-inner { gap: 24px; }
  .primary-navigation { margin-left: 30px; gap: 22px; }
  .nav-links { gap: 25px; }
  .brand { width: 185px; }
  .nav-links a, .button { font-size: 12px; }
  .button { min-height: 43px; }
  .hero { min-height: 340px; }
  .hero-description > span { display: inline; }
  .hero-description { font-size: 15px; }
  .microline { gap: 10px; font-size: 7px; letter-spacing: .3em; }
  .microline::before { flex-basis: 32px; margin-right: 4px; }
}

@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; gap: 0; }
  .brand { width: 180px; }
  .menu-toggle:not([hidden]) { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
  .menu-close-icon { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-open-icon { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-close-icon { display: block; }
  .primary-navigation { flex: 0 0 100%; margin: 0; padding: 12px 0 24px; align-items: stretch; }
  .primary-navigation[hidden] { display: none; }
  .nav-links { flex-wrap: wrap; gap: 8px 24px; }
  .nav-links a { padding-block: 12px; }
  .nav-links a[aria-current]::after { bottom: 4px; }
  .hero-copy { padding-top: 38px; padding-right: 20px; }
  h1 { font-size: clamp(32px, 4.42vw, 43px); }
  .eyebrow { font-size: 7px; letter-spacing: .3em; }
  .hero-description { font-size: 14px; line-height: 1.5; }
  .microline { gap: 8px; font-size: 7px; letter-spacing: .2em; }
  .microline::before { flex-basis: 22px; }
}

@media (max-width: 700px) {
  :root { --header-height: 70px; --page-gutter: 24px; }
  .header-inner { min-height: var(--header-height); }
  .brand { width: 172px; }
  .primary-navigation { flex-direction: column; gap: 20px; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { font-size: 15px; padding: 12px 0; }
  .nav-links a[aria-current]::after { right: auto; width: 38px; }
  .button { min-height: 46px; align-self: flex-start; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { padding: 42px var(--page-gutter) 38px; }
  .eyebrow { margin-bottom: 18px; font-size: 7px; letter-spacing: .32em; }
  h1 { font-size: clamp(34px, 8.6vw, 56px); line-height: 1.13; }
  .hero-description { max-width: 490px; margin: 21px 0 0; font-size: 16px; line-height: 1.5; }
  .microline { margin: 28px 0 0; gap: 8px; font-size: 8px; letter-spacing: .2em; }
  .microline::before { flex-basis: 30px; }
  .hero-visual { aspect-ratio: 1.45; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Favicon loader never blocks interaction; CSS also expires it if script execution stops. */
.site-loader { display:none; position:fixed; inset:0; z-index:20; place-content:center; justify-items:center; gap:20px; background:#faf9f7; pointer-events:none; }
.site-loader.is-loading { display:grid; animation:loader-expire 1.6s step-end forwards; }
.site-loader img { width:64px; height:64px; }
.site-loader span { width:64px; height:2px; background:#dce0e5; overflow:hidden; }
.site-loader span::after { content:""; display:block; width:32px; height:2px; background:var(--orange); animation:loader-progress .8s ease-in-out infinite alternate; }
@keyframes loader-progress { from { transform:translateX(-20px); } to { transform:translateX(52px); } }
@keyframes loader-expire { to { opacity:0; visibility:hidden; } }
@media(prefers-reduced-motion:reduce) { .site-loader span::after { animation:none; transform:translateX(16px); } }
@media print { .site-loader { display:none!important; } }
