/* Mr. Fisnik — mrfisnik.com
   Built on the Mr. Fisnik Property Advisory Brand Book v1.0 (02.11.2026).
   Layout idea: an editorial grid of hairline rules and widely spaced caps, with the
   two-form monogram as the protagonist. Deep Navy and Pure White lead; sands warm;
   Signature Gold only as a selective accent. */

/* ---------- Brand typefaces ----------
   Untitled Sans (primary), Clash Display (display) and Helvetica Neue (secondary).
   Drop licensed .woff2 files into assets/fonts/ (see assets/fonts/README.txt).
   Until then the stack falls back to Helvetica Neue, the brand's secondary face. */
@font-face { font-family: "Untitled Sans"; src: local("Untitled Sans"), local("UntitledSans-Regular"), url("../fonts/UntitledSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Untitled Sans"; src: local("Untitled Sans Light"), local("UntitledSans-Light"), url("../fonts/UntitledSans-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Untitled Sans"; src: local("Untitled Sans Medium"), local("UntitledSans-Medium"), url("../fonts/UntitledSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display"; src: local("Clash Display"), local("ClashDisplay-Variable"), url("../fonts/ClashDisplay-Variable.woff2") format("woff2"); font-weight: 200 700; font-style: normal; font-display: swap; }

:root {
  /* Brand palette (RGB values from the brand book) */
  --navy: #132A4F;        /* Deep Navy: primary */
  --midnight: #151C2E;    /* Midnight Blue: secondary dark */
  --white: #FFFFFF;       /* Pure White */
  --black: #000000;       /* Black */
  --sand: #CBB692;        /* Warm Sand */
  --pale: #DBC7A5;        /* Pale Sand */
  --gold: #D4AE6E;        /* Signature Gold: accent, used sparingly */

  /* Derived, for hairlines and muted text only */
  --rule-dark: rgba(19, 42, 79, 0.18);
  --rule-light: rgba(255, 255, 255, 0.16);
  --muted-on-light: rgba(19, 42, 79, 0.74);
  --muted-on-dark: rgba(255, 255, 255, 0.72);

  --font-display: "Clash Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Untitled Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Type scale */
  --t-xs: 0.6875rem;   /* 11 */
  --t-sm: 0.875rem;    /* 14 */
  --t-base: 1.0625rem; /* 17 */
  --t-md: 1.25rem;     /* 20 */
  --t-lg: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
  --t-xl: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  --t-2xl: clamp(2.6rem, 1.4rem + 4.6vw, 5.5rem);

  --track-caps: 0.42em;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(72px, 10vw, 136px);
  --maxw: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--midnight); }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--midnight); padding: 10px 16px; text-decoration: none; font-size: var(--t-sm); }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typographic devices ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  line-height: 1.6;
}
.eyebrow .num { color: var(--gold); margin-right: 0.9em; }
.on-light .eyebrow .num, .on-pale .eyebrow .num, .on-sand .eyebrow .num { color: var(--navy); }
.display {
  font-family: var(--font-display);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.02;
}
.h1 { font-size: var(--t-2xl); }
.h2 { font-size: var(--t-xl); line-height: 1.06; }
.h3 { font-family: var(--font-display); font-size: var(--t-lg); font-weight: 400; line-height: 1.2; letter-spacing: 0.005em; }
.lead { font-size: var(--t-md); line-height: 1.55; max-width: 34em; font-weight: 300; }
.muted { color: var(--muted-on-light); }
.on-dark .muted { color: var(--muted-on-dark); }
.prose { max-width: 36em; display: grid; gap: 1.1em; }
.stack-tagline { font-size: var(--t-xs); letter-spacing: 0.24em; text-transform: uppercase; line-height: 2.1; font-weight: 500; }

/* ---------- Surfaces ---------- */
.on-dark { background: var(--midnight); color: var(--white); }
.on-navy { background: var(--navy); color: var(--white); }
.on-pale { background: var(--pale); color: var(--navy); }
.on-sand { background: var(--sand); color: var(--midnight); }
.on-light { background: var(--white); color: var(--navy); }
.section { padding-block: var(--section); position: relative; }
.patterned { position: relative; isolation: isolate; }
.patterned::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/pattern-white.svg") 0 0 / 65px 50.5px repeat;
  opacity: 0.055;
}
.patterned.pattern-navy::before { background-image: url("../img/pattern-navy.svg"); opacity: 0.05; }
.patterned.pattern-sand::before { background-image: url("../img/pattern-sand.svg"); opacity: 0.12; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.9em;
  min-height: 48px; padding: 0 1.6em;
  border-radius: 999px; border: 1px solid currentColor;
  font: 500 var(--t-xs)/1 var(--font-body); letter-spacing: 0.28em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; background: transparent; color: inherit;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--midnight); }
.btn-gold:hover { background: var(--white); border-color: var(--white); }
.btn-navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--midnight); border-color: var(--midnight); }
.btn-ghost:hover { background: currentColor; }
.on-dark .btn-ghost:hover, .on-navy .btn-ghost:hover { background: var(--white); color: var(--midnight); border-color: var(--white); }
.on-light .btn-ghost:hover, .on-pale .btn-ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.text-link { display: inline-flex; align-items: center; gap: 0.7em; text-decoration: none; font: 500 var(--t-xs)/1 var(--font-body); letter-spacing: 0.28em; text-transform: uppercase; padding-block: 0.8em; border-bottom: 1px solid currentColor; }
.text-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: var(--white);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
}
.site-header .header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { width: 66px; height: auto; }
.brand .brand-on-light { display: none; }
.site-header[data-tone="light"]:not(.is-scrolled) { color: var(--navy); }
.site-header[data-tone="light"]:not(.is-scrolled) .brand-on-dark { display: none; }
.site-header[data-tone="light"]:not(.is-scrolled) .brand-on-light { display: block; }
.site-header.is-scrolled { background: rgba(21, 28, 46, 0.94); box-shadow: 0 1px 0 var(--rule-light); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a:not(.btn) {
  text-decoration: none; font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  padding-block: 8px; border-bottom: 1px solid transparent; transition: border-color .25s var(--ease);
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.nav .btn { min-height: 42px; padding: 0 1.3em; }
.nav-toggle {
  display: none; background: none; border: 1px solid currentColor; color: inherit; border-radius: 999px;
  min-height: 42px; padding: 0 1.2em; font: 500 var(--t-xs)/1 var(--font-body); letter-spacing: 0.26em; text-transform: uppercase; cursor: pointer;
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 28px; padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
    background: var(--midnight); color: var(--white);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav a:not(.btn) { font-family: var(--font-display); font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 300; letter-spacing: 0.02em; }
  .nav .btn { margin-top: 12px; }
  .site-header.nav-open { color: var(--white); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.nav-open .brand-on-dark { display: block !important; }
  .site-header.nav-open .brand-on-light { display: none !important; }
  .site-header.nav-open .nav { opacity: 1; visibility: visible; }
  .site-header .brand { position: relative; z-index: 2; }
}

/* ---------- Language switcher: one compact button showing the current language, with a dropdown ---------- */
@media (min-width: 981px) { .nav { margin-left: auto; } }
.lang { position: relative; flex: none; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px 0 11px;
  background: transparent; border: 1px solid color-mix(in srgb, currentColor 34%, transparent); border-radius: 999px;
  color: inherit; cursor: pointer;
  font: 500 var(--t-xs)/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.lang-toggle:hover, .lang.is-open .lang-toggle { border-color: var(--gold); background: color-mix(in srgb, currentColor 6%, transparent); }
.lang-current { padding-left: 0.2em; }
.lang-globe { width: 14px; height: 14px; opacity: .8; }
.lang-caret { width: 8px; height: 8px; opacity: .7; transition: transform .3s var(--ease); }
.lang.is-open .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 5; min-width: 168px; padding: 6px;
  background: var(--midnight); color: var(--white); border: 1px solid rgba(212, 174, 110, 0.35); border-radius: 14px;
  box-shadow: 0 18px 44px rgba(21, 28, 46, 0.32);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s; }
.lang-title { display: none; }
.lang-menu ul { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.lang .lang-option {
  display: flex; align-items: center; gap: 14px; min-height: 40px; padding: 0 14px;
  border-radius: 9px; text-decoration: none;
  font: 500 var(--t-xs)/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-on-dark);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
/* Full language name next to the code */
.lang .lang-option::after { content: attr(title); font-size: 0.95em; letter-spacing: 0.04em; text-transform: none; }
.lang .lang-option:hover, .lang .lang-option:focus-visible { background: rgba(255, 255, 255, 0.08); color: var(--white); }
.lang .lang-option:focus-visible { outline-offset: -2px; }
.lang .lang-option[aria-current="true"] { background: var(--gold); color: var(--midnight); }

/* Narrow desktops: keep the menu on one line */
@media (min-width: 981px) and (max-width: 1120px) {
  .nav { gap: 14px; }
  .site-header .header-inner { gap: 16px; }
}
/* Mobile: the language button sits next to the Menu button and stays visible above the open menu */
@media (max-width: 980px) {
  .nav { overflow-y: auto; justify-content: safe center; }
  .site-header .header-inner { gap: 10px; }
  .brand { margin-right: auto; }
  .lang { order: 1; position: relative; z-index: 2; }
  .nav-toggle { order: 2; }
  .lang-toggle { min-height: 42px; }
}

/* ---------- Translated pages: long words wrap and hyphenate instead of overflowing ---------- */
html:not([lang="en"]) body { overflow-wrap: break-word; }
html:not([lang="en"]) :is(h1, h2, h3, h4, p, li, dd, dt, figcaption, blockquote, legend, label, small) { -webkit-hyphens: auto; hyphens: auto; }
/* Where the browser has no hyphenation dictionary (e.g. Turkish), a very long word may still break rather than overflow */
html:not([lang="en"]) :is(h1, h2, h3, h4, .display, .h3, .lead, p, dd, .v-copy, .text-link) { overflow-wrap: anywhere; }
html:not([lang="en"]) .v-copy .text-link { white-space: normal; line-height: 1.5; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 96px)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero-copy { display: grid; gap: clamp(22px, 2.6vw, 34px); align-content: start; }
.hero-copy .lead { color: var(--muted-on-dark); }
.on-pale .hero-copy .lead, .on-light .hero-copy .lead { color: var(--muted-on-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-mark { justify-self: end; width: 100%; max-width: 380px; }
.hero-mark svg { width: 100%; height: auto; overflow: visible; }
.hero-mark .form-a, .hero-mark .form-b { fill: currentColor; }
.hero-mark .form-a { animation: form-in-a 1.5s var(--ease) both; }
.hero-mark .form-b { animation: form-in-b 1.5s var(--ease) .15s both; }
@keyframes form-in-a { from { transform: translateX(6px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes form-in-b { from { transform: translateX(-6px); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-mark figcaption { margin-top: 22px; color: var(--muted-on-dark); }

.hero-pillars { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(56px, 8vw, 112px); border-top: 1px solid var(--rule-light); }
.hero-pillar {
  display: grid; grid-template-columns: auto 1fr auto; column-gap: 20px; row-gap: 6px; align-items: baseline;
  padding: 30px 0 34px; text-decoration: none; position: relative;
}
.hero-pillar + .hero-pillar { padding-left: clamp(20px, 4vw, 48px); border-left: 1px solid var(--rule-light); }
.hero-pillar:first-child { padding-right: clamp(20px, 4vw, 48px); }
.hero-pillar .num { font-size: var(--t-xs); letter-spacing: 0.3em; color: var(--gold); grid-row: span 2; }
.hero-pillar .t { font-family: var(--font-display); font-size: var(--t-lg); font-weight: 400; line-height: 1.15; }
.hero-pillar .d { grid-column: 2; color: var(--muted-on-dark); font-size: var(--t-sm); }
.hero-pillar svg { grid-row: 1 / span 2; grid-column: 3; align-self: center; width: 26px; height: 26px; transition: transform .35s var(--ease); }
.hero-pillar:hover svg { transform: translateX(6px); }
.hero-pillar::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.hero-pillar + .hero-pillar::after { left: clamp(20px, 4vw, 48px); }
.hero-pillar:hover::after { transform: scaleX(1); }

/* Sub-page heroes */
.page-hero { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 112px)); padding-bottom: clamp(56px, 8vw, 104px); }
.page-hero .hero-grid { align-items: end; }
.page-hero-aside { display: grid; gap: 18px; justify-self: end; max-width: 360px; width: 100%; }
.page-hero-aside .stack-tagline { border-top: 1px solid currentColor; padding-top: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4em 0.8em; align-items: center; }
.crumbs > * { white-space: nowrap; }
.crumbs a { text-decoration: none; border-bottom: 1px solid transparent; }
.crumbs a:hover { border-bottom-color: currentColor; }

/* ---------- Section heads ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head.single { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }

/* ---------- Two pillars (home) ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; }
.pillar { padding: clamp(32px, 5vw, 64px); display: grid; gap: 26px; align-content: start; position: relative; }
.pillar .pillar-num { font-family: var(--font-display); font-size: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); font-weight: 200; line-height: .9; letter-spacing: -0.02em; }
.pillar.on-pale .pillar-num { color: var(--navy); }
.pillar.on-navy .pillar-num { color: var(--gold); }
.pillar-list { display: grid; border-top: 1px solid var(--rule-dark); }
.pillar.on-navy .pillar-list { border-top-color: var(--rule-light); }
.pillar-list li { padding: 14px 0; border-bottom: 1px solid var(--rule-dark); display: flex; justify-content: space-between; gap: 16px; }
.pillar.on-navy .pillar-list li { border-bottom-color: var(--rule-light); }
.pillar-list li span:last-child { opacity: .7; font-size: var(--t-sm); text-align: right; }
.pillar .btn { justify-self: start; margin-top: 6px; }

/* ---------- Service index (numbered, hairline) ---------- */
.service-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3.5vw, 56px); row-gap: clamp(36px, 4.5vw, 64px); counter-reset: svc; }
.service-index.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-index.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-index li { border-top: 1px solid var(--rule-dark); padding-top: 22px; display: grid; gap: 12px; align-content: start; counter-increment: svc; }
.on-dark .service-index li, .on-navy .service-index li { border-top-color: var(--rule-light); }
.service-index li::before { content: counter(svc, decimal-leading-zero); font-size: var(--t-xs); letter-spacing: 0.3em; font-weight: 500; color: var(--navy); }
.on-dark .service-index li::before, .on-navy .service-index li::before { color: var(--gold); }
.service-index p { color: var(--muted-on-light); font-size: 0.98rem; }
.on-dark .service-index p, .on-navy .service-index p { color: var(--muted-on-dark); }
.service-index .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 0 12px; border: 1px solid currentColor; border-radius: 999px; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; opacity: .85; }
.chip.solid-gold { background: var(--gold); border-color: var(--gold); color: var(--midnight); opacity: 1; }

/* ---------- Journey ---------- */
.journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); position: relative; }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--gold); }
.journey li { position: relative; padding-top: 40px; display: grid; gap: 12px; align-content: start; }
.journey li::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--white); border: 1px solid var(--gold); }
.on-dark .journey li::before { background: var(--midnight); }
.journey li.is-pillar-2::before { background: var(--gold); }
.journey .step { font-size: var(--t-xs); letter-spacing: 0.3em; font-weight: 500; }
.journey p { color: var(--muted-on-light); font-size: 0.98rem; }
.on-dark .journey p { color: var(--muted-on-dark); }
.journey.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ---------- Values (ovals, after the brand book's typography page) ---------- */
.values { text-align: center; overflow: hidden; }
.values-stage { position: relative; max-width: 980px; margin-inline: auto; padding-block: clamp(40px, 7vw, 96px); }
.values-stage .display { font-size: clamp(2.4rem, 1.2rem + 5vw, 5.6rem); line-height: 1.04; }
.values-stage .oval {
  position: absolute; display: inline-flex; align-items: center; justify-content: center;
  min-width: 128px; height: 46px; padding: 0 24px; border-radius: 50%;
  background: var(--black); color: var(--white);
  font-size: 0.66rem; letter-spacing: 0.24em; font-weight: 500; text-transform: uppercase;
  transform: rotate(var(--r, 0deg));
}
.oval.v1 { left: 2%; top: 30%; --r: -9deg; }
.oval.v2 { right: 4%; top: 6%; --r: 8deg; }
.oval.v3 { left: 18%; top: 4%; --r: -4deg; }
.oval.v4 { right: 0; bottom: 16%; --r: -7deg; }
.oval.v5 { left: 8%; bottom: 2%; --r: 6deg; }
.values-list { display: none; }
.values-note { max-width: 40em; margin: clamp(24px, 3vw, 40px) auto 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-sign { display: grid; gap: 24px; }
.about-sign img { width: 100%; max-width: 460px; height: auto; }
.about-portrait { margin: 0; width: 100%; max-width: 420px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--midnight); }
.about-portrait img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.about-sign .about-signature { max-width: 280px; margin-top: -8px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 12px; border-top: 1px solid var(--rule-dark); padding-top: 22px; }
.facts dt { font-size: var(--t-xs); letter-spacing: 0.3em; text-transform: uppercase; font-weight: 500; margin-bottom: 6px; }
.facts dd { margin: 0; font-family: var(--font-display); font-size: var(--t-md); font-weight: 400; }

/* ---------- Abroad band / cross-link band ---------- */
.band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(48px, 6vw, 80px); }
.band .h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.9rem); }
.band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Audience grid ---------- */
.audience { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule-light); border-left: 1px solid var(--rule-light); }
.audience li { padding: clamp(22px, 2.6vw, 34px); border-right: 1px solid var(--rule-light); border-bottom: 1px solid var(--rule-light); display: grid; gap: 10px; align-content: start; }
.on-light .audience, .on-pale .audience, .on-light .audience li, .on-pale .audience li { border-color: var(--rule-dark); }
.audience.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.audience p { font-size: 0.95rem; color: var(--muted-on-dark); }
.on-light .audience p, .on-pale .audience p { color: var(--muted-on-light); }

/* ---------- Hospitality stack diagram ---------- */
.stack { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.stack-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.stack-lines line { stroke: var(--gold); stroke-width: 1; vector-effect: non-scaling-stroke; }
.node { position: relative; z-index: 1; background: var(--midnight); border: 1px solid var(--rule-light); padding: 22px 22px 24px; display: grid; gap: 8px; align-content: start; min-height: 150px; }
.node .eyebrow { color: var(--gold); }
.node h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--t-md); line-height: 1.2; }
.node p { font-size: 0.9rem; color: var(--muted-on-dark); }
.node.hub { background: var(--navy); border-color: var(--gold); align-content: center; justify-items: center; text-align: center; }
.node.hub img { width: 44px; height: auto; margin-bottom: 8px; }
.node.hub h3 { font-size: var(--t-lg); }

/* ---------- Aura OS stack (hub spans the middle column) ---------- */
.os-stack { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); grid-auto-rows: 1fr; }
.os-stack .cap-l1 { grid-column: 1; grid-row: 1; } .os-stack .cap-l2 { grid-column: 1; grid-row: 2; } .os-stack .cap-l3 { grid-column: 1; grid-row: 3; }
.os-stack .cap-r1 { grid-column: 3; grid-row: 1; } .os-stack .cap-r2 { grid-column: 3; grid-row: 2; } .os-stack .cap-r3 { grid-column: 3; grid-row: 3; }
.os-stack .hub { grid-column: 2; grid-row: 1 / span 3; gap: 12px; padding: clamp(28px, 3vw, 44px); }
.os-stack .hub h3 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 300; text-transform: uppercase; letter-spacing: 0.04em; }
.os-stack .hub p { max-width: 26em; }
.node .os-369 { font-family: var(--font-display); font-weight: 200; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; color: var(--gold); letter-spacing: 0.06em; }
.node .os-369 span { font-size: 0.5em; vertical-align: middle; margin: 0 0.25em; opacity: .8; }
.hub-products { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 8px; }
.hub-products li { border: 1px solid var(--rule-light); border-radius: 999px; padding: 4px 12px; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule-dark); border-left: 1px solid var(--rule-dark); }
.product { display: grid; gap: 18px; align-content: start; padding: clamp(28px, 3.6vw, 52px); border-right: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); transition: background-color .3s var(--ease); }
.product:hover { background: rgba(219, 199, 165, 0.22); }
.product-name { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); line-height: 1; }
.product > p { color: var(--muted-on-light); max-width: 34em; }
.product-fit { display: grid; gap: 10px; }
.product-fit ul { display: flex; flex-wrap: wrap; gap: 6px; }
.product .text-link { justify-self: start; margin-top: 4px; }

/* ---------- Aura 369 ---------- */
.aura369 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.aura369 li { display: grid; gap: 12px; align-content: start; border-top: 1px solid var(--rule-light); padding-top: 28px; }
.aura369 .digit { font-family: var(--font-display); font-weight: 200; font-size: clamp(6rem, 4rem + 8vw, 12rem); line-height: .82; color: var(--gold); letter-spacing: -0.03em; margin-bottom: 18px; }
.aura369 .eyebrow { color: var(--muted-on-dark); }
.aura369 p:not(.eyebrow) { color: var(--muted-on-dark); }

.facts.facts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.metrics.metrics-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.journey.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.on-sand .journey li::before { background: var(--sand); }
.on-sand .journey p { color: rgba(21, 28, 46, 0.78); }
.on-sand .journey::before { background: var(--navy); }
.on-sand .journey li::before { border-color: var(--navy); }

/* ---------- Metrics glossary ---------- */
.metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--rule-dark); }
.metrics div { padding: 26px 20px 8px 0; display: grid; gap: 8px; align-content: start; }
.metrics dt { font-family: var(--font-display); font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); font-weight: 300; letter-spacing: 0.01em; }
.metrics dd { margin: 0; font-size: 0.92rem; color: var(--muted-on-light); }
.metrics .formula { font-size: var(--t-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- Engagement models ---------- */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.model { border: 1px solid var(--rule-dark); padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; background: var(--white); }
.model.featured { background: var(--navy); color: var(--white); border-color: var(--navy); }
.model .h3 { font-size: var(--t-lg); }
.model p { color: var(--muted-on-light); font-size: 0.98rem; }
.model.featured p, .model.featured li { color: var(--muted-on-dark); }
.model ul { display: grid; gap: 8px; border-top: 1px solid var(--rule-dark); padding-top: 16px; font-size: 0.95rem; }
.model.featured ul { border-top-color: var(--rule-light); }
.model li::before { content: ""; display: inline-block; width: 12px; height: 1px; background: var(--gold); margin-right: 12px; vertical-align: middle; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-details { display: grid; gap: 22px; margin-top: 32px; }
.contact-details dt { font-size: var(--t-xs); letter-spacing: 0.3em; text-transform: uppercase; font-weight: 500; margin-bottom: 4px; }
.contact-details dd { margin: 0; font-size: var(--t-md); }
.contact-details a { text-decoration: none; border-bottom: 1px solid currentColor; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; background: var(--white); padding: clamp(24px, 4vw, 48px); }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: var(--t-xs); letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; padding: 0; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--navy); background: transparent;
  border: 0; border-bottom: 1px solid rgba(19, 42, 79, 0.35); border-radius: 0; padding: 10px 0 12px; transition: border-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--navy); box-shadow: 0 1px 0 0 var(--navy); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.field [aria-invalid="true"] { border-bottom-color: #A33A2B; }
.field .error { font-size: 0.82rem; color: #A33A2B; min-height: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.field .choice { position: relative; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: inherit; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid rgba(19, 42, 79, 0.35); border-radius: 999px; font-size: 0.86rem; transition: background-color .2s, color .2s, border-color .2s; cursor: pointer; }
.choice input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 6px; }
.form-foot small { font-size: 0.82rem; color: var(--muted-on-light); max-width: 30em; }
.form-status { grid-column: 1 / -1; font-size: 0.95rem; padding: 14px 16px; border-left: 2px solid var(--gold); background: rgba(219, 199, 165, 0.35); }
.form-status[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(64px, 8vw, 112px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 80px); }
.footer-brand img { width: 100%; max-width: 280px; height: auto; }
.site-footer h2 { margin-bottom: 18px; color: var(--gold); }
.site-footer ul { display: grid; gap: 10px; font-size: 0.95rem; }
.site-footer a { text-decoration: none; color: var(--muted-on-dark); transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px 32px; border-top: 1px solid var(--rule-light); font-size: 0.82rem; color: var(--muted-on-dark); }
.footer-base .eyebrow { letter-spacing: 0.32em; }

/* ---------- References / testimonials ---------- */
html:not(.show-samples) [data-sample] { display: none !important; }
html.show-samples .bio-fallback { display: none; }
html:not(.show-samples) .testimonials:not(:has(.t-item:not([data-sample]))) { display: none; }
html:not(.show-samples) .refs:not(:has(.t-item:not([data-sample]))) { display: none; }
.t-side { display: grid; gap: 22px; align-content: end; }
.t-controls { display: flex; gap: 10px; }
.t-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit;
  display: inline-grid; place-items: center; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease);
}
.t-btn svg { width: 20px; height: 20px; }
.t-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.t-btn:disabled { opacity: .3; cursor: default; background: transparent; color: inherit; }
.testimonials:not(.is-scrollable) .t-controls { display: none; }
.t-sample-note {
  margin-bottom: 24px; padding: 12px 16px; border: 1px dashed rgba(19, 42, 79, 0.45); font-size: 0.9rem; color: var(--muted-on-light); max-width: 52rem;
}
.t-track {
  display: flex; gap: clamp(16px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: rgba(19, 42, 79, 0.3) transparent; -webkit-overflow-scrolling: touch;
}
.t-track > .t-item { flex: 0 0 calc((100% - 2 * clamp(16px, 2vw, 24px)) / 3); scroll-snap-align: start; display: flex; }
.t-card {
  margin: 0; width: 100%; display: grid; grid-template-rows: auto 1fr auto; gap: 18px;
  padding: clamp(26px, 3vw, 38px); background: var(--white); border: 1px solid var(--rule-dark);
}
.on-light .t-card { background: rgba(219, 199, 165, 0.16); }
.t-mark { width: 40px; height: 30px; color: var(--gold); }
.t-card blockquote { margin: 0; }
.t-card blockquote p { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); line-height: 1.38; letter-spacing: 0.005em; }
.t-card figcaption { display: grid; gap: 4px; border-top: 1px solid var(--rule-dark); padding-top: 16px; }
.t-name { font-weight: 500; }
.t-role { font-size: 0.9rem; color: var(--muted-on-light); }
.t-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.t-item[data-sample] .t-card { border-style: dashed; border-color: rgba(19, 42, 79, 0.4); }
.t-item[data-sample] blockquote p { color: var(--muted-on-light); }
.refs { margin-top: clamp(44px, 6vw, 72px); display: grid; gap: 16px; }
.ref-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule-dark); border-left: 1px solid var(--rule-dark); }
.ref-list .ref { display: grid; gap: 4px; align-content: start; padding: 22px; border-right: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); }
.ref-list .ref[data-sample] { border-right-style: dashed; border-bottom-style: dashed; }
.ref-name { font-family: var(--font-display); font-size: var(--t-md); font-weight: 400; line-height: 1.2; }
.ref-kind { font-size: 0.88rem; color: var(--muted-on-light); }
.ref-work { margin-top: 8px; font-size: var(--t-xs); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; }
.t-share { margin-top: 28px; font-size: 0.95rem; color: var(--muted-on-light); }
.t-share a { color: var(--navy); font-weight: 500; text-underline-offset: 4px; }
@media (max-width: 1080px) {
  .t-track > .t-item { flex-basis: calc((100% - clamp(16px, 2vw, 24px)) / 2); }
  .ref-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .t-track > .t-item { flex-basis: 86%; }
  .ref-list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Videos (split: property | hotel technology) ---------- */
html:not(.show-samples) .videos:not(:has(.v-item:not([data-sample]))) { display: none; }
html:not(.show-samples) .v-panel:not(:has(.v-item:not([data-sample]))) { display: none; }
html:not(.show-samples) .v-split:has(.v-panel:not(:has(.v-item:not([data-sample])))) { grid-template-columns: minmax(0, 1fr); }
.v-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v-panel { padding: clamp(24px, 4vw, 56px); display: grid; gap: clamp(20px, 2.4vw, 32px); align-content: start; }
.v-panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; }
.v-panel.on-navy .eyebrow .num { color: var(--gold); }
.v-list { display: block; }
.v-feature { display: grid; grid-template-columns: minmax(190px, 240px) minmax(0, 1fr); gap: clamp(20px, 2.6vw, 36px); align-items: end; }
.v-copy .text-link { white-space: nowrap; }
.v-copy { display: grid; gap: 14px; align-content: end; justify-items: start; }
.v-text { color: var(--muted-on-light); font-size: 0.98rem; max-width: 26em; }
.v-panel.on-navy .v-text { color: var(--muted-on-dark); }
.v-card { margin: 0; display: grid; gap: 12px; }
.v-frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--midnight); isolation: isolate; }
.v-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.v-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 68px; height: 68px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(21, 28, 46, 0.55); color: var(--white);
  display: grid; place-items: center; cursor: pointer; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.v-play svg, .v-play-icon svg { width: 26px; height: 26px; margin-left: 3px; }
.v-play:hover { transform: translate(-50%, -50%) scale(1.06); background: rgba(21, 28, 46, 0.75); }
.v-frame.is-playing .v-play { opacity: 0; pointer-events: none; }
.v-frame-sample::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/pattern-white.svg") 0 0 / 52px 40.4px repeat; opacity: 0.07;
}
.v-frame-sample { border: 1px dashed rgba(212, 174, 110, 0.55); }
.v-placeholder { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; text-align: center; color: var(--white); padding: 16px; }
.v-play-icon { width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); }
.v-ph-text { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-on-dark); }
.v-chip { position: absolute; top: 12px; left: 12px; z-index: 2; }
.v-card figcaption { display: grid; gap: 2px; }
.v-title { font-weight: 500; font-size: 0.98rem; line-height: 1.35; }
.v-len { font-size: 0.82rem; color: var(--muted-on-light); font-variant-numeric: tabular-nums; }
.v-panel.on-navy .v-len { color: var(--muted-on-dark); }
@media (max-width: 1080px) {
  .v-feature { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .v-feature .v-frame { width: 100%; max-width: 280px; }
}
@media (max-width: 860px) {
  .v-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .v-feature .v-frame { max-width: 260px; }
}
@media (max-width: 420px) {
  .v-play { width: 56px; height: 56px; }
  .v-play-icon { width: 50px; height: 50px; }
}

/* ---------- Social media ---------- */
html:not(.show-samples) .social-band:not(:has(li:not([data-sample]))) { display: none; }
html:not(.show-samples) .contact-social:not(:has(a:not([data-sample]))) { display: none; }
.social-band {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(24px, 4vw, 64px); align-items: center;
  padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--rule-light);
}
.site-footer .social-band h2 { margin-bottom: 10px; }
.social-note { color: var(--muted-on-dark); font-size: 0.95rem; max-width: 22em; }
.social-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 1px solid var(--rule-light); }
.site-footer .social-links a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 4px; align-items: center;
  padding: 18px clamp(16px, 2vw, 28px); border-right: 1px solid var(--rule-light); color: var(--white); text-decoration: none;
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.site-footer .social-links a:hover { color: var(--gold); background: rgba(255, 255, 255, 0.03); }
.s-name { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.3rem, 0.9rem + 1vw, 1.8rem); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05; }
.s-handle { grid-column: 1; font-size: 0.85rem; color: var(--muted-on-dark); }
.social-links svg { grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; transition: transform .3s var(--ease); }
.social-links a:hover svg { transform: translate(3px, -3px); }
.social-links li[data-sample] .s-handle { font-style: italic; }
.social-inline { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 860px) {
  .social-band { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .social-links { grid-template-columns: minmax(0, 1fr); border-left: 0; }
  .site-footer .social-links a { border-right: 0; border-top: 1px solid var(--rule-light); padding-inline: 0; }
}

/* ---------- Biography page ---------- */
.bio-hero .hero-grid { align-items: center; }
.bio-roles { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px clamp(24px, 4vw, 56px); margin-top: 8px; border-top: 1px solid var(--rule-light); padding-top: 22px; }
.bio-roles dt { font-size: var(--t-xs); letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; color: var(--gold); margin-bottom: 6px; }
.bio-roles dd { margin: 0; font-family: var(--font-display); font-size: var(--t-md); }
.bio-portrait-wrap { justify-self: end; width: 100%; max-width: 400px; }
.bio-portrait { margin: 0; display: grid; gap: 16px; }
.bio-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy); border: 1px solid var(--rule-light); isolation: isolate; }
.bio-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bio-photo-sample { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; padding: 24px; background: var(--midnight); border: 1px dashed rgba(212, 174, 110, 0.6); }
.bio-photo-sample img { width: 44px; height: auto; opacity: .9; margin-bottom: 6px; }
.bio-ph-title { font-family: var(--font-display); font-size: var(--t-md); }
.bio-ph-spec { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-on-dark); }
.bio-fallback { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 28px; }
.bio-fallback::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/pattern-white.svg") 0 0 / 52px 40.4px repeat; opacity: 0.06; }
.bio-fb-mark { width: 72px; height: auto; }
.bio-fb-sign { width: 70%; max-width: 260px; height: auto; opacity: .85; }
.bio-portrait figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: var(--t-xs); letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted-on-dark); }
.bio-portrait figcaption img { width: 130px; height: auto; opacity: .8; }

.bio-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.bio-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 22px; }
.bio-facts { display: grid; gap: 18px; border-top: 1px solid var(--rule-dark); padding-top: 22px; }
.bio-facts dt { font-size: var(--t-xs); letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; margin-bottom: 6px; }
.bio-facts dd { margin: 0; color: var(--muted-on-light); line-height: 1.55; }
.bio-aside .btn { justify-self: start; }
.bio-prose { max-width: 40em; display: grid; gap: 1.15em; font-size: 1.08rem; }
.bio-prose p { color: rgba(19, 42, 79, 0.86); }
.bio-prose a { color: var(--navy); font-weight: 500; text-underline-offset: 4px; }
.bio-lede { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.35; color: var(--navy) !important; }
.bio-h { font-family: var(--font-display); font-weight: 400; font-size: var(--t-lg); text-transform: uppercase; letter-spacing: 0.02em; margin-top: 1.2em; padding-top: 1.1em; border-top: 1px solid var(--rule-dark); }
.bio-questions { display: grid; gap: 0; border-top: 1px solid var(--rule-dark); margin: 0.4em 0; }
.bio-questions li { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--rule-dark); }
.bq-num { font-size: var(--t-xs); letter-spacing: 0.3em; font-weight: 500; color: var(--gold); }
.bq-text { font-family: var(--font-display); font-size: var(--t-md); line-height: 1.3; }
.bio-statement { font-size: clamp(2rem, 1.2rem + 3.2vw, 4rem); line-height: 1.08; max-width: 18em; margin-top: 22px; }
@media (max-width: 860px) {
  .about-portrait { max-width: 320px; }
  .bio-portrait-wrap { order: -1; justify-self: start; max-width: 300px; }
  .bio-body { grid-template-columns: minmax(0, 1fr); }
  .bio-aside { position: static; order: 2; }
}
@media (max-width: 600px) {
  .bio-roles { grid-template-columns: minmax(0, 1fr); }
  .bio-portrait-wrap { max-width: 240px; }
}

/* Links to the AuraStay Tech website */
.aura-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: var(--gold); transition: color .2s var(--ease); }
.aura-link:hover { color: var(--gold); }
.on-light .aura-link:hover, .on-pale .aura-link:hover, .on-sand .aura-link:hover { color: var(--navy); text-decoration-thickness: 2px; }

/* ---------- 404 ---------- */
.notfound { min-height: 100%; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; }
.notfound img { width: 90px; margin: 0 auto 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .metrics.metrics-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-index, .service-index.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience, .audience.cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .journey.steps-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .journey.steps-5::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .os-stack { grid-auto-rows: auto; }
  .os-stack .hub { grid-column: 1 / -1; grid-row: auto; }
  .os-stack .node:not(.hub) { grid-column: auto; grid-row: auto; }
  .products { grid-template-columns: minmax(0, 1fr); }
  .aura369 { grid-template-columns: minmax(0, 1fr); }
  .aura369 .digit { font-size: 6rem; margin-bottom: 6px; }
  .facts.facts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey.steps-3 { grid-template-columns: minmax(0, 1fr); }
  .hero-grid, .section-head, .about-grid, .contact-grid, .band { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { order: -1; justify-self: start; max-width: 92px; }
  .hero-mark figcaption { display: none; }
  .page-hero-aside { justify-self: start; max-width: none; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .hero-pillars { grid-template-columns: minmax(0, 1fr); }
  .hero-pillar + .hero-pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule-light); }
  .hero-pillar + .hero-pillar::after { left: 0; }
  .hero-pillar:first-child { padding-right: 0; }
  .journey { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .journey::before, .journey.steps-5::before { display: block; left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .journey.steps-5 { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .journey li { padding: 0 0 36px 44px; }
  .models { grid-template-columns: minmax(0, 1fr); }
  .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack .hub { grid-column: 1 / -1; order: -1; min-height: 0; }
  .stack-lines { display: none; }
  .values-stage .oval { display: none; }
  .values-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
  .values-list li { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 50%; background: var(--black); color: var(--white); font-size: 0.62rem; letter-spacing: 0.22em; font-weight: 500; text-transform: uppercase; }
  .values-list li:nth-child(odd) { transform: rotate(-4deg); }
  .values-list li:nth-child(even) { transform: rotate(5deg); }
}
@media (max-width: 600px) {
  :root { --header-h: 72px; }
  .brand img { width: 54px; }
  .service-index, .service-index.cols-2, .service-index.cols-4 { grid-template-columns: minmax(0, 1fr); }
  .audience, .audience.cols-5 { grid-template-columns: minmax(0, 1fr); }
  .metrics { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .stack { grid-template-columns: minmax(0, 1fr); }
  .pillar-list li span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
