/* Obscura by Adham: site styles
   One shared system for every page. Tokens first, then base, layout, components. */

:root {
  /* Palette */
  --ivory: #F5F2EC;
  --paper: #FFFFFF;         /* the one background for all content */
  --stone: #E9E4DB;
  --sand: #EAE0D4;          /* matches the coaching photograph's backdrop */
  --charcoal: #242522;
  --deep: #171816;
  --night: #0D0C0A;         /* matches the software photograph's backdrop */
  --gold: #A58A5A;          /* rules, accents, gold surfaces */
  --gold-ink: #76603A;      /* small gold text on light grounds */
  --gold-soft: #C2A877;     /* small gold text on dark grounds */
  --ink: #242522;
  --muted: #52514B;         /* secondary text on light grounds */
  --muted-dark: #ABA89E;    /* secondary text on dark grounds */
  --line: rgba(36, 37, 34, 0.14);
  --line-strong: rgba(36, 37, 34, 0.28);
  --line-dark: rgba(245, 242, 236, 0.14);

  /* Type */
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-display: clamp(2.75rem, 1.55rem + 4.7vw, 5.75rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 3.3vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.42rem + 2.15vw, 3.3rem);
  --fs-h3: clamp(1.375rem, 1.22rem + 0.55vw, 1.75rem);
  --fs-lead: clamp(1.125rem, 1.06rem + 0.3vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.75rem;

  /* Space */
  --gutter: clamp(1.25rem, 0.75rem + 2.6vw, 4rem);
  --container: 77.5rem;
  --section: clamp(4rem, 2.6rem + 5.2vw, 7.5rem);
  --header-h: 4.5rem;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);   /* long, quiet settle */
}

@media (min-width: 1100px) {
  :root { --header-h: 5.25rem; }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.18;
  font-optical-sizing: auto;
  color: inherit;
  text-wrap: balance;
}
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(165, 138, 90, 0.28); }

:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
}
.on-dark :focus-visible { outline-color: var(--gold-soft); }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.1rem;
  background: var(--charcoal);
  color: var(--ivory);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-small);
}
.skip-link:focus { top: 0.75rem; }

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

/* Layout */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.7); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--night); color: var(--ivory); }
.section--flush-top { padding-top: 0; }
.section + .section--continue { padding-top: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 0.4rem + 2.2vw, 2.75rem);
  row-gap: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.grid > * { grid-column: 1 / -1; min-width: 0; }

/* Type helpers */
.display {
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.018em;
}
.h1 {
  font-size: var(--fs-h1);
  line-height: 1.04;
  letter-spacing: -0.016em;
}
.h2 {
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.012em;
}
.h3 {
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: -0.004em;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--muted);
  max-width: 34em;
}
.section--dark .lead, .on-dark .lead { color: var(--muted-dark); }
.muted { color: var(--muted); }
.section--dark .muted, .on-dark .muted { color: var(--muted-dark); }
.measure { max-width: 36em; }
.small { font-size: var(--fs-small); }

.label {
  display: block;
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
  line-height: 1.4;
  margin-bottom: 1.1rem;
}
.on-dark .label, .section--dark .label { color: var(--gold-soft); }
.rule {
  display: block;
  width: 3rem;
  height: 1px;
  margin: 1.35rem 0 1.6rem;
  background: var(--gold);
  border: 0;
}
.kicker {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--gold-ink);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
.section--dark .kicker { color: var(--gold-soft); }

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 3.25rem;
  padding: 0.95rem 1.75rem;
  border: 1px solid var(--charcoal);
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.9688rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { background: var(--deep); border-color: var(--gold); }
.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
}
.btn--gold:hover { background: #B79C6B; border-color: #B79C6B; color: var(--deep); }
.btn--caps { padding-inline: 1.75rem; }
.btn__arrow {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex: none;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; }

.text-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.9688rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 0.35rem;
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 100% 1px no-repeat;
  transition: color 0.25s var(--ease);
}
.text-link:hover { color: var(--gold-ink); }
.section--dark .text-link, .on-dark .text-link { color: var(--ivory); }
.section--dark .text-link:hover, .on-dark .text-link:hover { color: var(--gold-soft); border-bottom-color: var(--gold-soft); }

.prose a { color: var(--gold-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--ink); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}
.wordmark__name {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 450;
  letter-spacing: 0.005em;
  line-height: 0.92;
}
.wordmark__by {
  margin-top: 0.4rem;
  font-family: var(--sans);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.on-dark .wordmark { color: var(--ivory); }
.on-dark .wordmark__by { color: var(--gold-soft); }

.nav { display: none; }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 0.2rem + 1.6vw, 2.4rem);
  list-style: none;
}
.nav__link {
  position: relative;
  display: inline-block;
  padding-block: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.15rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: var(--gold-ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link--contact {
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
}
.nav__link--contact::after { display: none; }
.nav__link--contact:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.nav__link--contact[aria-current="page"] { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.menu-toggle__icon {
  position: relative;
  width: 1.5rem;
  height: 0.75rem;
}
.menu-toggle__icon::before, .menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease), bottom 0.3s var(--ease);
}
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: calc(50% - 0.75px); transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { bottom: calc(50% - 0.75px); transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  overflow-y: auto;
  background: var(--paper);
  padding: 1rem var(--gutter) 2.5rem;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.5rem);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
}
.mobile-nav__list { list-style: none; border-top: 1px solid var(--line); }
.mobile-nav__list li { border-bottom: 1px solid var(--line); }
.mobile-nav__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.05rem 0;
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.15;
  text-decoration: none;
  color: var(--ink);
}
.mobile-nav__link[aria-current="page"] { color: var(--gold-ink); }
.mobile-nav__cta { margin-top: 2rem; }
.mobile-nav__cta .btn { width: 100%; }
body.menu-open { overflow: hidden; }

@media (min-width: 1100px) {
  .nav { display: block; }
  .menu-toggle, .mobile-nav { display: none; }
}

/* Home hero */
.hero {
  position: relative;
  background: var(--ivory);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.hero__text {
  padding-block: clamp(3rem, 2rem + 5vw, 5rem) clamp(3rem, 2rem + 4vw, 4.5rem);
}
.hero__title { max-width: 9.5em; }
.hero__support {
  margin-top: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
  max-width: 27em;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--muted);
}
.hero__actions { margin-top: clamp(2rem, 1.5rem + 1.5vw, 2.9rem); }
.hero__media {
  position: relative;
  overflow: hidden;
  background: var(--stone);
  aspect-ratio: 5 / 4;
  margin-inline: calc(var(--gutter) * -1);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
}
@media (min-width: 1024px) {
  .hero__inner { min-height: clamp(38rem, calc(100svh - var(--header-h)), 54rem); align-items: center; }
  .hero__text {
    width: 50%;
    padding-right: clamp(2rem, 4vw, 4.5rem);
    padding-block: 4.5rem 5rem;
  }
  .hero__media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 47vw;
    margin: 0;
    aspect-ratio: auto;
  }
}
@media (min-width: 1500px) {
  .hero__media { width: calc(50vw - 2rem); }
}

/* Page heroes (inner pages) */
.page-hero { padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.page-hero__title { max-width: 13em; }
.page-hero__lead { margin-top: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.page-hero__actions { margin-top: 2.4rem; }
.media-band {
  position: relative;
  overflow: hidden;
  background: var(--stone);
  aspect-ratio: 4 / 3;
}
.media-band img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) {
  .media-band { aspect-ratio: 21 / 9; max-height: 38rem; width: 100%; }
}
.media-band--contained {
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
}
@media (min-width: 768px) {
  .media-band--contained { width: calc(100% - 2 * var(--gutter)); }
}

/* Split hero for The Founder */
.split-hero__media {
  overflow: hidden;
  background: var(--stone);
  aspect-ratio: 4 / 5;
}
.split-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .split-hero { align-items: end; }
  .split-hero__text { grid-column: 1 / span 6; padding-bottom: 1rem; }
  .split-hero__media { grid-column: 8 / -1; }
}

/* Statement (philosophy) */
.statement { border-top: 1px solid var(--line); padding-top: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
@media (min-width: 900px) {
  .statement__title { grid-column: 1 / span 7; }
  .statement__body { grid-column: 9 / -1; align-self: end; }
}

/* Section heading blocks */
.section-head { max-width: 46rem; }
.section-head .lead { margin-top: 1.25rem; }
.section-head + * { margin-top: clamp(2.25rem, 1.8rem + 2vw, 3.5rem); }

/* Practice areas (home) */
.practice-intro { max-width: 44rem; }
.practice-intro p {
  margin-top: 1.25rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.12rem + 0.5vw, 1.5rem);
  line-height: 1.45;
  color: var(--muted);
}
.practice {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(3rem, 2.5rem + 2vw, 4.5rem);
  margin-top: clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
}
.practice__item { display: flex; flex-direction: column; }
.practice__media { display: block; overflow: hidden; background: var(--stone); aspect-ratio: 4 / 3; }
.practice__media img { width: 100%; height: 100%; object-fit: cover; }
.practice__body { padding-top: 1.75rem; max-width: 33rem; }
.practice__body .h3 { font-size: clamp(1.5rem, 1.3rem + 0.75vw, 2rem); }
.practice__body p { margin-top: 0.9rem; color: var(--muted); }
.practice__body .text-link { margin-top: 1.4rem; }
@media (min-width: 900px) {
  .practice { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 4.5rem); align-items: start; }
}

/* Ruled index (problems) */
@media (min-width: 900px) {
  .split-head { grid-column: 1 / span 4; }
  .split-body { grid-column: 6 / -1; }
}
.index-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: clamp(1.5rem, 3vw, 3rem);
  list-style: none;
}
.index-grid li {
  padding-block: 1.6rem 1.75rem;
  border-top: 1px solid var(--line-strong);
}
.index-grid h3 { font-size: 1.375rem; line-height: 1.25; }
.index-grid p { margin-top: 0.55rem; color: var(--muted); font-size: 1rem; line-height: 1.6; }
@media (min-width: 640px) {
  .index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .sticky-head { position: sticky; top: calc(var(--header-h) + 2.5rem); align-self: start; }
}

/* Plain ruled list */
.ruled-list { list-style: none; border-top: 1px solid var(--line-strong); }
.ruled-list li {
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.0625rem;
  line-height: 1.5;
}
.section--dark .ruled-list { border-top-color: var(--line-dark); }
.section--dark .ruled-list li { border-bottom-color: var(--line-dark); }
.ruled-list--serif li { font-family: var(--serif); font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem); line-height: 1.4; }
.ruled-list--two { column-gap: clamp(1.5rem, 3vw, 3rem); }
@media (min-width: 720px) {
  .ruled-list--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; }
  .ruled-list--two li:nth-child(-n+2) { border-top: 1px solid var(--line-strong); }
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  list-style: none;
  counter-reset: step;
}
.steps li { border-top: 1px solid var(--line-dark); padding-top: 1.6rem; }
.section:not(.section--dark) .steps li { border-top-color: var(--line-strong); }
.steps__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 1.9rem + 1.2vw, 3rem);
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: lining-nums;
}
.section:not(.section--dark) .steps__num { color: var(--gold-ink); }
.steps h3 { margin-top: 1.4rem; font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.875rem); }
.steps p { margin-top: 0.75rem; color: var(--muted-dark); }
.section:not(.section--dark) .steps p { color: var(--muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 4rem); }
  .steps--four { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); }
}
@media (min-width: 640px) and (max-width: 899px) {
  .steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
}

/* Experience preview (home) */
.experience { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 2rem + 2vw, 4rem); }
.experience__media { overflow: hidden; background: var(--stone); aspect-ratio: 4 / 3; }
.experience__media img { width: 100%; height: 100%; object-fit: cover; }
.experience__list { list-style: none; border-top: 1px solid var(--line-strong); }
.experience__list li { padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.experience__list .kicker { margin-bottom: 0.35rem; }
.experience__list h3 { font-size: 1.5rem; line-height: 1.2; }
.experience__list p { margin-top: 0.5rem; color: var(--muted); font-size: 1rem; }
.experience__foot { margin-top: 2.25rem; }
@media (min-width: 960px) {
  .experience { grid-template-columns: 7fr 5fr; column-gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
  .experience__media { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* Founder intro (home) */
.founder-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 2rem + 2vw, 4rem); align-items: center; }
.founder-intro__media { overflow: hidden; background: var(--charcoal); aspect-ratio: 4 / 5; max-width: 30rem; }
.founder-intro__media img { width: 100%; height: 100%; object-fit: cover; }
.founder-intro__body .text-link { margin-top: 2rem; }
@media (min-width: 900px) {
  .founder-intro { grid-template-columns: 6fr 5fr; column-gap: clamp(3rem, 7vw, 7rem); }
  .founder-intro__media { justify-self: end; width: 100%; }
}

/* Closing CTA */
.closing { border-top: 1px solid var(--line); padding-top: clamp(3rem, 2.4rem + 2.4vw, 4.5rem); }
.section--dark .closing, .section--stone .closing { border-top: 0; padding-top: 0; }
.closing__title { max-width: 14em; }
.closing p { margin-top: 1.4rem; }
.closing .btn { margin-top: 2.3rem; }
@media (min-width: 900px) {
  .closing { display: grid; grid-template-columns: 7fr 5fr; column-gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
  .closing > div { padding-top: 0.55rem; }
  .closing p { margin-top: 0; }
}

/* Banner recreations (Human Performance hero, Custom Software) */
.banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.banner--sand { background: var(--sand); color: var(--ink); }
.banner--night { background: var(--night); color: var(--ivory); }
.banner__media { position: relative; aspect-ratio: 108 / 68; overflow: hidden; }
.banner__media img { width: 100%; height: 100%; object-fit: cover; }
.banner__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  pointer-events: none;
}
.banner--sand .banner__media::after { background: linear-gradient(to bottom, rgba(234, 224, 212, 0), var(--sand)); }
.banner--night .banner__media::after { background: linear-gradient(to bottom, rgba(13, 12, 10, 0), var(--night)); }
.banner__text { position: relative; z-index: 1; padding-block: 0.5rem clamp(3.5rem, 3rem + 3vw, 5rem); }
.banner__title { font-size: clamp(2.375rem, 1.45rem + 2.65vw, 3.75rem); line-height: 1.06; letter-spacing: -0.014em; }
.banner__copy {
  margin-top: clamp(1.25rem, 1rem + 1vw, 1.9rem);
  max-width: 31em;
  font-size: var(--fs-lead);
  line-height: 1.6;
}
.banner--sand .banner__copy { color: #4E4C46; }
.banner--night .banner__copy { color: #C9C4BA; }
.banner__actions { margin-top: clamp(1.75rem, 1.4rem + 1.2vw, 2.6rem); }
.banner .label { color: #8E7444; }
.banner--night .label { color: var(--gold-soft); }
.banner--sand .label { color: var(--gold-ink); }
.banner__icon {
  display: block;
  width: clamp(2.5rem, 2.2rem + 1vw, 3.1rem);
  height: auto;
  margin-bottom: clamp(1rem, 0.8rem + 0.6vw, 1.4rem);
}
.banner--night .banner__icon { color: var(--gold-soft); }
.banner--sand .banner__icon { color: var(--gold); }
.banner__title--hero { font-size: clamp(2.6rem, 1.5rem + 3.3vw, 4.5rem); line-height: 1.04; }

@media (min-width: 900px) {
  .banner { min-height: clamp(34rem, 44vw, 44rem); display: flex; align-items: center; }
  .banner__media {
    position: absolute;
    top: 0; bottom: 0; right: 0;
    width: 64%;
    aspect-ratio: auto;
    z-index: -1;
  }
  .banner__media img { object-position: var(--pos, 38% 50%); }
  .banner__media::after { inset: 0 auto 0 0; width: 42%; height: auto; }
  .banner--sand .banner__media::after { background: linear-gradient(to right, var(--sand) 0%, rgba(234, 224, 212, 0.86) 34%, rgba(234, 224, 212, 0) 100%); }
  .banner--night .banner__media::after { background: linear-gradient(to right, var(--night) 0%, rgba(13, 12, 10, 0.86) 34%, rgba(13, 12, 10, 0) 100%); }
  .banner__text { width: 100%; padding-block: 5rem; }
  .banner__text-inner { max-width: var(--text-w, min(46%, 37rem)); }
  .banner--hero { min-height: clamp(36rem, 47vw, 48rem); }
  .banner--hero .banner__text-inner { max-width: min(50%, 41rem); }
}

/* Adham's portrait: a cut-out shown plainly on white, with no overlay or filter */
.portrait-panel { background: #FFFFFF; border: 1px solid var(--line); }
.portrait-panel img { object-fit: cover; object-position: 50% 0; }

/* Feature split (text with media) */
.feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 2rem + 2vw, 4rem); }
.feature__media { overflow: hidden; background: var(--stone); aspect-ratio: 3 / 2; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 5fr 6fr; column-gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .feature--media-right .feature__media { order: 2; }
}

/* Coductura */
.product-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.1rem; }
.product-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.status-tag::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--gold); }
.theme-list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 2rem; }
.theme-list li {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.6rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.0313rem;
  line-height: 1.5;
}
.theme-list li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 1.48rem;
  width: 5px;
  height: 5px;
  background: var(--gold);
}
@media (min-width: 640px) { .theme-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


/* Factor grid (Human Performance) */
.factor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--line-strong);
}
.factor-grid li {
  padding: 1.1rem 0.75rem 1.1rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  line-height: 1.3;
}
@media (min-width: 720px) { .factor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Two-column card list (areas of development) */
.area-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; list-style: none; }
.area-grid li { padding-block: 1.75rem 2rem; border-top: 1px solid var(--line-strong); }
.area-grid h3 { font-size: clamp(1.375rem, 1.25rem + 0.4vw, 1.625rem); }
.area-grid p { margin-top: 0.6rem; color: var(--muted); max-width: 30em; }
@media (min-width: 720px) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 4rem); } }

.note {
  margin-top: clamp(2.5rem, 2rem + 1.5vw, 3.5rem);
  padding: 1.5rem 1.6rem;
  border-left: 2px solid var(--gold);
  background: rgba(36, 37, 34, 0.035);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 44rem;
}
.note strong { font-weight: 600; }

/* Portfolio profiles */
.profiles { list-style: none; }
.profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  padding-block: clamp(3rem, 2.4rem + 2.4vw, 4.75rem);
  border-top: 1px solid var(--line-strong);
}
.profile:first-child { border-top: 0; padding-top: 0; }
.profile__title { font-size: clamp(1.875rem, 1.5rem + 1.3vw, 2.625rem); line-height: 1.08; }
.profile__meta { list-style: none; margin-top: 1.4rem; display: grid; gap: 0.85rem; }
.profile__meta li { font-size: 0.9375rem; line-height: 1.45; }
.profile__meta span { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 0.15rem; }
.profile__fields { display: grid; gap: 1.6rem; margin: 0; }
.profile__fields dt { font-family: var(--serif); font-size: 1.25rem; line-height: 1.25; }
.profile__fields dd { margin: 0.4rem 0 0; color: var(--muted); }
.profile__fields ul { list-style: none; margin-top: 0.4rem; }
.profile__fields ul li { position: relative; padding-left: 1.4rem; margin-bottom: 0.35rem; }
.profile__fields ul li::before { content: ""; position: absolute; left: 0.1rem; top: 0.72em; width: 5px; height: 5px; background: var(--gold); }
@media (min-width: 900px) {
  .profile { grid-template-columns: 4fr 7fr; column-gap: clamp(3rem, 6vw, 6rem); }
  .profile__side { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

/* Founder page */
.pull {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem);
  line-height: 1.22;
  letter-spacing: -0.008em;
  max-width: 22em;
}
.practice-points { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; list-style: none; }
.practice-points li { padding-block: 1.6rem; border-top: 1px solid var(--line-strong); }
.practice-points h3 { font-size: 1.5rem; }
.practice-points p { margin-top: 0.5rem; color: var(--muted); }
@media (min-width: 720px) { .practice-points { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 4rem); } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(3rem, 2.5rem + 2vw, 4.5rem); }
.contact__next { margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); max-width: 30rem; }
.contact__next h3 { font-size: 1.375rem; }
.contact__next p { margin-top: 0.6rem; color: var(--muted); font-size: 1rem; }
@media (min-width: 960px) {
  .contact { grid-template-columns: 5fr 7fr; column-gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .contact__aside { position: sticky; top: calc(var(--header-h) + 3rem); }
}

/* Contact: the direct lines, on the dark first screen */
.ct-hero { position: relative; overflow: hidden; padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.ct-hero > .container { position: relative; z-index: 2; }
.ct-hero .lead { margin-top: 1.5rem; max-width: 36rem; color: #C9C4BA; }
.direct {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(2.75rem, 2rem + 3vw, 4.5rem);
  border-bottom: 1px solid rgba(194, 168, 119, 0.4);
}
.direct::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(to right, var(--gold-soft), rgba(194, 168, 119, 0.4));
  transform-origin: left;
}
.direct__item {
  position: relative;
  container-type: inline-size;
  padding-block: clamp(1.9rem, 1.5rem + 1.6vw, 2.9rem);
}
.direct__item + .direct__item { border-top: 1px solid var(--line-dark); }
@media (min-width: 900px) {
  .direct { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .direct__item { padding-inline-end: clamp(2rem, 4vw, 4.5rem); }
  .direct__item + .direct__item {
    border-top: 0;
    border-left: 1px solid var(--line-dark);
    padding-inline: clamp(2rem, 4vw, 4.5rem) 0;
  }
}
.direct__name {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--muted-dark);
}
.direct__value {
  display: inline-block;
  margin-top: 0.8rem;
  padding-bottom: 0.14em;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
  font-variant-numeric: lining-nums;
  color: var(--ivory);
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(var(--gold-soft), var(--gold-soft)) left bottom / 0 1px no-repeat;
  transition: background-size 0.9s var(--ease-lux), color 0.5s var(--ease);
}
@supports (font-size: 1cqi) {
  .direct__value { font-size: clamp(1.5rem, 8.2cqi, 2.9rem); }
}
.direct__value:hover { background-size: 100% 1px; color: #FFFFFF; }
.direct__acts { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; margin: 1.4rem 0 0; }
.direct__act {
  padding: 0.3rem 0;
  border: 0;
  border-bottom: 1px solid rgba(194, 168, 119, 0.45);
  border-radius: 0;
  background: none;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--gold-soft);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.direct__act:hover { color: var(--ivory); border-bottom-color: var(--ivory); }
.direct__act.is-done { color: var(--ivory); border-bottom-color: transparent; }
.direct__act[hidden] { display: none; }
.js-motion .direct::before { animation: line-in 1.8s var(--ease-lux) both; animation-delay: calc(var(--enter) + 0.7s); }
@media (hover: hover) and (pointer: fine) {
  .ct-hero:hover .hero__light { opacity: 1; }
}

.form-panel {
  background: #F6F5F2;
  padding: clamp(1.5rem, 1rem + 3vw, 3.25rem);
  border-radius: var(--radius);
}
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; min-width: 0; }
.field__label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.005em;
}
.field__opt { font-weight: 500; color: var(--muted); font-size: 0.8125rem; letter-spacing: 0.02em; }
.field__req { color: var(--gold-ink); margin-left: 0.15rem; }
.field__hint { margin: -0.15rem 0 0.55rem; font-size: 0.875rem; color: var(--muted); line-height: 1.45; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(36, 37, 34, 0.22);
  border-radius: var(--radius);
  background: #FFFFFF;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { min-height: 9.5rem; resize: vertical; line-height: 1.55; }
.field select {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23242522' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(36, 37, 34, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-ink);
  box-shadow: 0 0 0 3px rgba(165, 138, 90, 0.25);
}
.field [aria-invalid="true"] { border-color: #A23F33; }
.field__error { margin-top: 0.45rem; font-size: 0.875rem; color: #A23F33; font-weight: 500; }
.field__error:empty { display: none; }
.form__foot { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 0.4rem; }
.form__privacy { font-size: 0.875rem; color: var(--muted); line-height: 1.55; max-width: 34rem; }
.form__privacy a { color: var(--ink); text-underline-offset: 0.18em; }
.form__status { font-size: 0.9375rem; font-weight: 500; }
.form__status:empty { display: none; }
.form__status--error { color: #A23F33; }
@media (min-width: 640px) {
  .form__foot { flex-direction: row; align-items: center; justify-content: space-between; }
  .form__foot .btn { flex: none; }
}
.form-success { padding: 0.5rem 0; }
.form-success h2 { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); }
.form-success p { margin-top: 1rem; color: var(--muted); }
.form-success .text-link { margin-top: 1.75rem; }
.form-success:focus { outline: none; }

/* Text pages */
.text-page { max-width: 44rem; }
.text-page h2 { font-size: 1.625rem; margin-top: 2.75rem; margin-bottom: 0.85rem; }
.text-page p, .text-page li { color: #3B3C38; }
.text-page ul { padding-left: 1.2rem; margin: 0 0 1.1em; }
.text-page li { margin-bottom: 0.4rem; }

/* One calm background: light sections are divided by a hairline, never by a colour change */
.section:not(.section--dark) + .section:not(.section--dark) { padding-top: 0; }
.section:not(.section--dark) + .section:not(.section--dark) > .container {
  padding-top: var(--section);
  background: linear-gradient(var(--line), var(--line)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.closing { border-top: 0; padding-top: 0; }

/* Sectors: factories and contracting enterprises */
.sectors {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.75rem, 2rem + 2.5vw, 4rem);
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.75rem);
}
.sector { padding-top: 1.75rem; border-top: 2px solid var(--gold); }
.sector h3 { font-size: clamp(1.5rem, 1.3rem + 0.7vw, 2rem); line-height: 1.15; }
.sector p { margin-top: 0.8rem; color: var(--muted); max-width: 32em; }
.sector .theme-list { margin-top: 1.4rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(3rem, 6vw, 6rem); }
}

/* Short single column lists */
.theme-list--single { grid-template-columns: minmax(0, 1fr) !important; }
.split-body .lead + .theme-list { margin-top: 2rem; }
.section-link { margin-top: 2rem; }

/* Portfolio summaries */
.profile__summary { font-family: var(--serif); font-size: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem); line-height: 1.4; max-width: 30em; }
.profile__body .theme-list { margin-top: 1.5rem; grid-template-columns: minmax(0, 1fr); }
.profile__body .text-link { margin-top: 1.75rem; }

/* Founder background points */
.points { list-style: none; border-top: 1px solid var(--line-strong); }
.points li { padding-block: 1.15rem; border-bottom: 1px solid var(--line); font-size: 1.0625rem; line-height: 1.55; }
.section--dark .pull { color: var(--ivory); margin-inline: auto; text-align: center; }

/* Footer */
.site-footer { background: var(--deep); color: var(--ivory); padding-block: clamp(3rem, 2.4rem + 3vw, 4.5rem) 2rem; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem; padding-bottom: clamp(2.25rem, 2rem + 1.5vw, 3.25rem); border-bottom: 1px solid var(--line-dark); }
.site-footer__intro p { margin-top: 1.5rem; max-width: 22rem; color: var(--muted-dark); font-size: 1rem; }
.site-footer__intro .text-link { margin-top: 1.5rem; }
.site-footer__nav ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: clamp(2rem, 6vw, 5rem); row-gap: 0.85rem; }
.site-footer__nav a { color: var(--ivory); text-decoration: none; font-size: 1rem; transition: color 0.2s var(--ease); }
.site-footer__nav a:hover { color: var(--gold-soft); }
.site-footer__heading { display: block; margin-bottom: 1.25rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-top: 1.75rem; font-size: 0.875rem; color: var(--muted-dark); }
.site-footer__bottom a { color: var(--muted-dark); text-underline-offset: 0.18em; }
.site-footer__bottom a:hover { color: var(--ivory); }
/* Footer social icons: thin line glyphs in the footer's own colours */
.social { margin-top: 2.25rem; }
.social__label { font-size: 0.875rem; color: var(--muted-dark); }
.social__list { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0.9rem 0 0; padding: 0; list-style: none; }
.social__link {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--muted-dark);
  transition: color 0.45s var(--ease-lux), border-color 0.45s var(--ease-lux), background-color 0.45s var(--ease-lux);
}
.social__link svg { width: 1.2rem; height: 1.2rem; }
.social__link:hover, .social__link:focus-visible { color: var(--ivory); border-color: var(--gold-soft); background: rgba(194, 168, 119, 0.08); }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.75rem; }
.site-footer__cookies {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  line-height: inherit;
  color: var(--muted-dark);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.site-footer__cookies:hover { color: var(--ivory); }

/* Cookie choices: a quiet dark panel, bottom left on larger screens, a bottom sheet on phones */
.consent {
  position: fixed;
  z-index: 150;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}
.consent[hidden] { display: none; }
.consent__panel {
  pointer-events: auto;
  padding: 1.6rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom, 0px));
  background: var(--night);
  color: var(--ivory);
  border-top: 1px solid rgba(194, 168, 119, 0.55);
  box-shadow: 0 -18px 48px rgba(0, 0, 0, 0.3);
}
@media (min-width: 700px) {
  .consent { right: auto; left: clamp(1rem, 2vw, 1.75rem); bottom: clamp(1rem, 2vw, 1.75rem); max-width: 27rem; }
  .consent__panel {
    padding: 1.9rem 2rem 1.75rem;
    border: 1px solid var(--line-dark);
    border-top-color: rgba(194, 168, 119, 0.55);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  }
}
.consent__title { font-family: var(--serif); font-size: 1.375rem; font-weight: 400; line-height: 1.2; color: var(--ivory); }
.consent__text { margin-top: 0.7rem; font-size: 0.9375rem; line-height: 1.6; color: #C9C4BA; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.35rem; }
.consent__btn { min-height: 2.9rem; padding: 0.8rem 1rem; font-size: 0.9375rem; }
.consent__btn--line { background: transparent; border-color: rgba(245, 242, 236, 0.4); color: var(--ivory); }
.consent__link { display: inline-block; margin-top: 1rem; font-size: 0.875rem; color: var(--muted-dark); text-underline-offset: 0.18em; }
.consent__link:hover { color: var(--ivory); }
@keyframes consent-in { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }
.js-motion .consent__panel { animation: consent-in 0.9s var(--ease-lux) both; }
@media (min-width: 900px) {
  .site-footer__top { grid-template-columns: 6fr 5fr; align-items: start; }
  .site-footer__side { justify-self: end; }
}

@media print {
  .site-header, .mobile-nav, .site-footer, .skip-link { display: none !important; }
  body { background: #fff; }
}

/* ===== Project Visibility and Operations Visibility =====
   Two dark sections: a short statement and a real photograph. */
.vis {
  --vis-bg: var(--night);
  --vis-panel: #1B1E20;
  --vis-text: #F2F0EB;
  --vis-muted: #B4B3AE;
  --vis-bronze: #B89A69;
  background: var(--vis-bg);
  color: var(--vis-text);
}
.vis .label { color: var(--vis-bronze); }
.vis .rule { background: var(--vis-bronze); }
.vis :focus-visible { outline: 2px solid var(--vis-bronze); outline-offset: 3px; }
.vis__head { max-width: 46rem; }
.vis__title { max-width: 15em; }
.vis__text { margin-top: 1.4rem; max-width: 34em; font-size: var(--fs-lead); line-height: 1.6; color: var(--vis-muted); }
.vis__cta { margin-top: 2rem; }
.vis-media { margin: 0; overflow: hidden; background: var(--vis-panel); }
.vis-media img { width: 100%; height: 100%; object-fit: cover; }

/* Project Visibility: statement beside the photograph */
.pv { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.25rem, 1.75rem + 2vw, 3rem); }
.pv__media { aspect-ratio: 3 / 2; }
@media (min-width: 1100px) {
  .pv { grid-template-columns: 1fr 1.22fr; column-gap: clamp(3rem, 5vw, 5rem); align-items: center; }
  .pv__media { aspect-ratio: 5 / 4; }
}

/* Operations Visibility: the same layout, mirrored, so the two sections answer each other */
@media (min-width: 1100px) {
  .pv--reverse { grid-template-columns: 1.22fr 1fr; }
  .pv--reverse .pv__media { order: -1; }
}

/* Bridge into Coductura */
.bridge {
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding-bottom: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
  line-height: 1.2;
  color: var(--ink);
}

/* ===== Calm layer =====
   The site is still: no scroll effects, no moving pictures. Only direct feedback remains,
   such as hover colours, focus outlines and the photo viewer opening when a photo is chosen. */

/* Real photographs in sections */
.sector { padding-top: 0; border-top: 0; }
.sector__media { overflow: hidden; background: var(--stone); aspect-ratio: 3 / 2; margin-bottom: 1.6rem; }
.sector__media img { width: 100%; height: 100%; object-fit: cover; }
.sector h3 { padding-top: 1.3rem; border-top: 2px solid var(--gold); }
.profile__media { margin: 0 0 1.75rem; overflow: hidden; background: var(--stone); aspect-ratio: 3 / 2; }
.profile__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-photo { margin: 0; }
.feature-photo picture, .feature-photo img { display: block; width: 100%; }
.feature-photo img { aspect-ratio: 3 / 2; height: auto; object-fit: cover; background: var(--stone); }
@media (min-width: 900px) { .feature-photo img { aspect-ratio: 2 / 1; } }
.feature-photo figcaption { margin-top: 0.85rem; font-size: 0.8125rem; color: var(--muted); }
.section--flush-bottom { padding-bottom: 0; }
.section--flush-bottom + .section:not(.section--dark) { padding-top: var(--section); }
.section--flush-bottom + .section:not(.section--dark) > .container { padding-top: 0; background: none; }

/* In the room with one photograph: the words beside it */
.room-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.room-split .section-head { margin-bottom: 0; }
.room--single { display: block; max-width: 26rem; }
@media (min-width: 900px) {
  .room-split { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); column-gap: clamp(3rem, 6vw, 6rem); align-items: center; }
}

/* In the room: three photographs at one height, each at its own proportions */
.room { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
.room__item { margin: 0; min-width: 0; }
.room__item:first-child { grid-column: 1 / -1; }
.room__frame { display: block; overflow: hidden; background: var(--stone); cursor: zoom-in; }
.room__frame img { display: block; width: 100%; height: auto; aspect-ratio: var(--ar); object-fit: cover; transition: opacity 0.2s var(--ease); }
.room__frame:hover img { opacity: 0.88; }
.room__frame:focus-visible { outline-offset: 4px; }
.room figcaption { margin-top: 0.75rem; font-size: 0.8125rem; line-height: 1.45; color: var(--muted); }
@media (min-width: 900px) {
  .room { display: flex; align-items: flex-start; gap: clamp(1.25rem, 2vw, 2rem); }
  .room__item { flex: var(--ar) 1 0; }
}

/* Accredited training: even cells, one quiet ink colour, on a light panel */
.accred { margin-top: 2.75rem; padding: clamp(1.4rem, 1rem + 1.5vw, 2rem); background: #F7F5F1; border: 1px solid var(--line); }
.accred__title { margin: 0 0 0.5rem; font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.25; color: var(--ink); }
.accred__label { margin: 0 0 1.25rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); }
.accred__grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 1rem; align-items: center; justify-items: center; }
.accred__logo { display: block; width: auto; height: 3.4rem; max-width: 100%; object-fit: contain; }
.accred__logo--wide { height: 2.2rem; }
@media (min-width: 640px) { .accred__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Photo viewer: opens on request, with a short fade */
.viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--night);
  color: var(--ivory);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
  overscroll-behavior: contain;
}
.viewer::backdrop { background: transparent; }
.viewer.is-open { opacity: 1; }
.viewer__stage {
  position: absolute;
  inset: clamp(4.25rem, 9vh, 6rem) var(--gutter) clamp(7rem, 15vh, 8.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}
.viewer__img { max-width: 100%; max-height: 100%; width: auto; height: auto; user-select: none; -webkit-user-drag: none; }
.viewer__close {
  position: absolute;
  top: clamp(0.75rem, 2.5vh, 1.5rem);
  right: var(--gutter);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
  padding: 0 0.25rem;
  border: 0;
  background: none;
  color: var(--ivory);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
}
.viewer__close svg { width: 1.1rem; height: 1.1rem; }
.viewer__bar {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(1.25rem, 4vh, 2.5rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-dark);
}
.viewer__caption { margin: 0; font-family: var(--serif); font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem); line-height: 1.3; }
.viewer__meta { display: flex; align-items: center; gap: 1.25rem; flex: none; }
.viewer__count { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.viewer__nav { display: flex; gap: 0.6rem; }
.viewer__btn {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(245, 242, 236, 0.32);
  border-radius: 50%;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}
.viewer__btn svg { width: 1.15rem; height: 1.15rem; }
.viewer__btn:hover { border-color: var(--gold-soft); }
.viewer :focus-visible { outline-color: var(--gold-soft); }
html.is-viewing { overflow: hidden; }

/* Form fields: a clear gold edge on the field in use */
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 1px var(--gold-ink); }

@media (prefers-reduced-motion: reduce) {
  .viewer, .room__frame img { transition: none; }
}

/* Proof: real figures behind the firm */
.proof { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); }
.proof li { padding-block: 1.5rem 1.6rem; border-top: 1px solid var(--line-strong); }
.proof__fig {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 1.9rem + 2vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}
.proof__text { margin: 0.75rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.55; max-width: 24em; }
@media (min-width: 900px) {
  .proof { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 4rem); }
  .proof li { padding-block: 1.75rem 0; }
  .proof__text { margin-top: 1.1rem; }
  .proof--single { grid-template-columns: minmax(0, 1fr); }
  .proof--single li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    padding-block: 1.75rem 0;
  }
  .proof--single .proof__text { margin-top: 0; font-size: var(--fs-lead); max-width: 34em; }
}

/* Before and after pairs */
.shift__head { display: none; }
.shift { list-style: none; border-top: 1px solid var(--line-strong); }
.shift li { padding-block: 1.3rem 1.45rem; border-bottom: 1px solid var(--line); }
.shift__before { margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.5; }
.shift__to { display: block; width: 2rem; height: 1px; margin: 0.8rem 0; background: var(--gold); }
.shift__after {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.3125rem, 1.15rem + 0.55vw, 1.625rem);
  line-height: 1.28;
  letter-spacing: -0.005em;
}
.on-dark .shift { border-top-color: var(--line-dark); }
.on-dark .shift li { border-bottom-color: var(--line-dark); }
.on-dark .shift__before { color: var(--muted-dark); }
.on-dark .shift__head { color: var(--gold-soft); }
@media (min-width: 720px) {
  .shift__head, .shift li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 3rem minmax(0, 1.35fr);
    column-gap: 1.5rem;
  }
  .shift__head { font-size: var(--fs-small); font-weight: 600; color: var(--gold-ink); padding-bottom: 0.85rem; }
  .shift li { align-items: center; padding-block: 1.55rem; }
  .shift__to { width: auto; margin: 0; }
}
.split-body .shift-wrap + .kicker { margin-top: 2.75rem; }

/* Contact: the coaching note */
.contact__note {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--muted);
  max-width: 30rem;
}

/* Proof with two figures */
@media (min-width: 900px) {
  .proof--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Contact: what happens next */
.next-steps { list-style: none; counter-reset: next; margin-top: 0.9rem; }
.next-steps li {
  counter-increment: next;
  position: relative;
  padding: 0.55rem 0 0.55rem 2rem;
  font-size: var(--fs-small);
  color: var(--muted);
  line-height: 1.5;
}
.next-steps li::before {
  content: counter(next);
  position: absolute;
  left: 0;
  top: 0.5rem;
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--gold-ink);
}

/* Home: the first screen. Header, promise, image and proof read as one piece */
.hero__main { position: relative; }
.banner--hero .banner__text { padding-bottom: 2.25rem; }
.hero__proof { position: relative; z-index: 1; padding-bottom: clamp(2.75rem, 2.2rem + 2vw, 3.5rem); }
.hero-proof {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.5rem;
  max-width: 40rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark);
}
.hero-proof__fig {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 1.6rem + 1.5vw, 2.875rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
  color: var(--ivory);
}
.hero-proof__text { display: block; margin-top: 0.65rem; font-size: 0.875rem; line-height: 1.5; color: var(--muted-dark); max-width: 19em; }
@media (min-width: 900px) {
  .banner--hero { display: block; min-height: 0; }
  .hero__main { display: flex; align-items: center; min-height: clamp(32rem, 41vw, 40rem); }
  .banner--hero .banner__media { width: 66%; }
  .banner--hero .banner__media::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 26%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(13, 12, 10, 0), var(--night));
  }
  .banner--hero .banner__text { padding-block: 4.5rem 2.5rem; }
  .banner--hero .banner__media::after { width: 36%; background: linear-gradient(to right, var(--night) 0%, rgba(13, 12, 10, 0.82) 30%, rgba(13, 12, 10, 0) 100%); }
  .banner--hero .banner__copy { max-width: 29em; }
  .hero-proof { column-gap: clamp(2.5rem, 5vw, 4.5rem); }
}

/* Home header: dark while it sits over the hero */
body:not(.menu-open) .site-header--over.is-over-hero { background: var(--night); border-bottom-color: transparent; }
@supports (backdrop-filter: blur(10px)) {
  body:not(.menu-open) .site-header--over.is-over-hero { background: var(--night); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
body:not(.menu-open) .site-header--over.is-over-hero .wordmark { color: var(--ivory); }
body:not(.menu-open) .site-header--over.is-over-hero .wordmark__by { color: var(--gold-soft); }
body:not(.menu-open) .site-header--over.is-over-hero .nav__link,
body:not(.menu-open) .site-header--over.is-over-hero .menu-toggle { color: var(--ivory); }
body:not(.menu-open) .site-header--over.is-over-hero .nav__link:hover { color: var(--gold-soft); }
body:not(.menu-open) .site-header--over.is-over-hero .nav__link--contact { border-color: var(--gold-soft); }
body:not(.menu-open) .site-header--over.is-over-hero .nav__link--contact:hover { background: var(--gold); border-color: var(--gold); color: var(--night); }

/* A message from the founder: on black, his portrait lit from behind, the statement beside it */
.portrait-fade { position: relative; overflow: hidden; }
.portrait-fade img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 0;
}
.founder-band { background: var(--night); color: var(--ivory); overflow: hidden; }
.founder-note { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.founder-note__media { position: relative; order: -1; width: min(74%, 21rem); justify-self: center; }
.founder-note__media::before {
  content: "";
  position: absolute;
  inset: 4% -18% 18%;
  background: radial-gradient(closest-side, rgba(194, 168, 119, 0.32), rgba(194, 168, 119, 0.08) 55%, rgba(194, 168, 119, 0) 100%);
  pointer-events: none;
}
.founder-note__media img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 96%);
}
.founder-note__body { position: relative; z-index: 1; margin-top: -16%; }
.founder-note__quote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.05rem, 1.6rem + 1.9vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.014em;
  color: var(--ivory);
  text-wrap: balance;
}
.founder-note__text { margin-top: 1.6rem; max-width: 31em; color: var(--muted-dark); font-size: var(--fs-lead); line-height: 1.65; }
.founder-note__text + .founder-note__text { margin-top: 1.1rem; }
.founder-note__close { margin-top: 1.4rem; max-width: 22em; font-family: var(--serif); font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.65rem); line-height: 1.3; color: var(--gold-soft); }
.founder-note__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.3em;
  padding-bottom: 0.12em;
  font-family: var(--serif);
  font-style: normal;
  font-size: 1.12em;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--gold-soft);
  text-decoration: none;
  background: linear-gradient(var(--gold-soft), var(--gold-soft)) left bottom / 100% 1px no-repeat;
  transition: background-size 0.7s var(--ease-lux), color 0.4s var(--ease);
}
.founder-note__more::after { content: ""; width: 1.2rem; height: 1px; background: currentColor; transition: width 0.6s var(--ease-lux); }
.founder-note__more:hover { color: var(--ivory); background-size: 0 1px; }
.founder-note__more:hover::after { width: 2rem; }
.founder-note__sign { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); font-size: var(--fs-small); color: var(--muted-dark); line-height: 1.4; max-width: 22rem; }
.founder-note__name { display: block; margin-bottom: 0.25rem; font-family: var(--serif); font-size: 1.375rem; color: var(--ivory); }
.founder-note .text-link { margin-top: 1.6rem; color: var(--ivory); }
@media (min-width: 900px) {
  .founder-note { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; column-gap: 0; }
  .founder-note__media { order: 0; grid-column: 8 / 13; grid-row: 1; width: 100%; max-width: 29rem; justify-self: end; }
  .founder-note__body { grid-column: 1 / 8; grid-row: 1; margin-top: 0; padding-block: 1rem; }
  .founder-note .q-line { display: block; }
}

/* Coaching: who leads the sessions */
.who-note { margin-top: 1.5rem; font-size: var(--fs-small); color: var(--muted); }

/* ==========================================================================
   Motion. One quiet language for the whole site: long, settled easing,
   nothing bounces, nothing hurries. Reduced motion turns all of it off.
   ========================================================================== */
:root {
  --ease-door: cubic-bezier(0.76, 0, 0.18, 1);
  --enter: 3.75s;                 /* when the page content starts to arrive */
}
.is-return { --enter: 1s; }

/* The curtain: the Obscura wordmark, then the doors open onto the page */
.curtain[hidden] { display: block; }
.curtain {
  --dd: 2.25s;                    /* when the doors start to part */
  --dt: 1.2s;                     /* how long they take */
  position: fixed;
  inset: 0;
  z-index: 300;
  animation: curtain-off 0s linear 3.5s forwards;
}
.curtain__door { position: absolute; left: 0; right: 0; height: 50.2%; background: #000; will-change: transform; }
.curtain__door--t { top: 0; animation: door-open-t var(--dt) var(--ease-door) var(--dd) forwards; }
.curtain__door--b { bottom: 0; animation: door-open-b var(--dt) var(--ease-door) var(--dd) forwards; }
/* As the doors part, a fine line of gold light runs along each edge */
.curtain__door::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(194, 168, 119, 0) 0%, rgba(222, 198, 148, 0.95) 50%, rgba(194, 168, 119, 0) 100%);
  opacity: 0;
  animation: edge-glow var(--dt) var(--ease) var(--dd) forwards;
}
.curtain__door--t::after { bottom: 0; }
.curtain__door--b::after { top: 0; }
.curtain__mark {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  animation: mark-out 0.55s var(--ease) 2.1s forwards;
}
.curtain__logo { position: relative; display: block; width: min(66vw, 21rem); animation: logo-settle 2.2s var(--ease-lux) both; }
.curtain__logo img { display: block; width: 100%; height: auto; }
.curtain__logo img:first-child {
  -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  -webkit-mask-size: 260% 100%;
  mask-size: 260% 100%;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  animation: logo-write 1.35s cubic-bezier(0.45, 0, 0.2, 1) 0.15s forwards;
}
.curtain__shine {
  position: absolute;
  inset: 0;
  filter: brightness(1.9) saturate(1.15);
  -webkit-mask-image: linear-gradient(100deg, transparent 42%, #000 50%, transparent 58%);
  mask-image: linear-gradient(100deg, transparent 42%, #000 50%, transparent 58%);
  -webkit-mask-size: 300% 100%;
  mask-size: 300% 100%;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  animation: logo-shine 1.25s var(--ease) 1.25s forwards;
}
.curtain__rule { width: 3.5rem; height: 1px; margin: 1.4rem 0 0.9rem; background: var(--gold); transform: scaleX(0); animation: rule-draw 0.9s var(--ease-lux) 1.15s forwards; }
.curtain__by { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.36em; text-transform: uppercase; color: var(--gold-soft); opacity: 0; animation: fade-in 0.8s var(--ease) 1.35s forwards; }

/* Moving between pages: the logo is already there, light passes over it, the doors open */
.is-return .curtain { --dd: 0.65s; --dt: 1s; animation-delay: 1.7s; }
.is-return .curtain__logo { animation: none; }
.is-return .curtain__logo img:first-child { -webkit-mask-image: none; mask-image: none; animation: none; }
.is-return .curtain__shine { animation-delay: 0.05s; animation-duration: 0.9s; }
.is-return .curtain__rule { transform: none; animation: none; }
.is-return .curtain__by { opacity: 1; animation: none; }
.is-return .curtain__mark { animation-delay: 0.6s; animation-duration: 0.45s; }

/* Leaving a page: the doors close over it and the mark returns */
.is-leaving .curtain { visibility: visible; animation: none; }
.is-leaving .curtain__door--t { animation: door-close-t 0.6s var(--ease-door) forwards; }
.is-leaving .curtain__door--b { animation: door-close-b 0.6s var(--ease-door) forwards; }
.is-leaving .curtain__door::after { animation: none; opacity: 0; }
.is-leaving .curtain__mark { opacity: 0; animation: fade-in 0.35s var(--ease) 0.3s forwards; }
.is-leaving .curtain__logo { animation: none; }
.is-leaving .curtain__logo img:first-child { -webkit-mask-image: none; mask-image: none; animation: none; }
.is-leaving .curtain__shine { animation: none; opacity: 0; }
.is-leaving .curtain__rule { transform: none; animation: none; }
.is-leaving .curtain__by { opacity: 1; animation: none; }

@keyframes logo-write { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes logo-shine { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes logo-settle { from { opacity: 0.001; transform: scale(1.04); } 12% { opacity: 1; } to { opacity: 1; transform: scale(1); } }
@keyframes rule-draw { to { transform: scaleX(1); } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes mark-out { to { opacity: 0; transform: translateY(-0.6rem); } }
@keyframes door-open-t { from { transform: translateY(0); } to { transform: translateY(-101%); } }
@keyframes door-open-b { from { transform: translateY(0); } to { transform: translateY(101%); } }
@keyframes door-close-t { from { transform: translateY(-101%); } to { transform: translateY(0); } }
@keyframes door-close-b { from { transform: translateY(101%); } to { transform: translateY(0); } }
/* The light only appears once the doors have cleared the mark, so it never crosses the logo */
@keyframes edge-glow { 0%, 40% { opacity: 0; } 52% { opacity: 1; } 80% { opacity: 0.5; } 100% { opacity: 0; } }
@keyframes curtain-off { to { visibility: hidden; } }

/* Photographs are never still: the first image of each page zooms slowly in and out,
   every other photograph breathes and drifts gently with the scroll */
@keyframes breathe-hero { from { scale: 1; } to { scale: 1.16; } }
@keyframes breathe { from { scale: 1.04; } to { scale: 1.14; } }
@keyframes breathe-soft { from { scale: 1; } to { scale: 1.05; } }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  main > :first-child .banner__media img {
    transform-origin: 60% 45%;
    animation: breathe-hero 13s cubic-bezier(0.37, 0, 0.63, 1) 0s infinite alternate both;
    will-change: transform;
  }
  main > :first-child .split-hero__media img {
    transform-origin: 50% 25%;
    animation: breathe-soft 12s cubic-bezier(0.37, 0, 0.63, 1) 0s infinite alternate both;
  }
  .practice__media img, .sector__media img, .vis-media img, .room__frame img, .profile__media img, .media-band img, .feature__media img, .gallery__frame img, .fd-photo__frame img {
    animation: breathe 15s cubic-bezier(0.37, 0, 0.63, 1) infinite alternate both;
    animation-delay: var(--bd, 0s);
    will-change: transform;
  }
  .founder-note__media img { transform-origin: 50% 100%; animation: breathe-soft 16s cubic-bezier(0.37, 0, 0.63, 1) infinite alternate both; }
}

/* Arrival of the first screen, timed to the doors */
@keyframes arrive { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes arrive-soft { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes line-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.js-motion .hero-seq > * { animation: arrive 1.2s var(--ease-lux) both; animation-delay: calc(var(--enter) + var(--n, 0) * 0.13s); }
.js-motion .hero-seq > :nth-child(1) { --n: 0; animation-name: arrive-soft; animation-duration: 1.5s; }
.js-motion .hero-seq > h1.split-words { animation: none; }
.js-motion .hero-seq > h1.split-words .label { animation: arrive 1.2s var(--ease-lux) both; animation-delay: var(--enter); }
.js-motion .hero-seq > :nth-child(2) { --n: 1.6; }
.js-motion .hero-seq > :nth-child(3) { --n: 2.6; }
.js-motion .hero-seq > :nth-child(4) { --n: 3.4; }
.js-motion .hero-seq > :nth-child(5) { --n: 4.1; }
.js-motion .hero-seq > :nth-child(6) { --n: 4.7; }
.js-motion main > :first-child .split-hero__media,
.js-motion main > :first-child .founder-note__media { animation: arrive 1.6s var(--ease-lux) both; animation-delay: calc(var(--enter) + 0.25s); }
.js-motion .hero-proof { position: relative; border-top-color: transparent; }
.js-motion .hero-proof::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--line-dark); transform-origin: left; animation: line-in 1.6s var(--ease-lux) both; animation-delay: calc(var(--enter) + 0.5s); }
.js-motion .hero-proof li { animation: arrive 1.2s var(--ease-lux) both; }
.js-motion .hero-proof li:nth-child(1) { animation-delay: calc(var(--enter) + 0.75s); }
.js-motion .hero-proof li:nth-child(2) { animation-delay: calc(var(--enter) + 0.9s); }

/* Content arriving as it scrolls into view */
.js-motion [data-rv] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1.1s var(--ease-lux), transform 1.3s var(--ease-lux);
  transition-delay: var(--d, 0s);
}
.js-motion [data-rv].is-in { opacity: 1; transform: none; }
.js-motion [data-rv="soft"] { transform: translateY(16px); filter: blur(5px); transition-property: opacity, transform, filter; }
.js-motion [data-rv="soft"].is-in { filter: blur(0); }
/* Headings rise word by word from behind a fine edge */
.js-motion [data-rv="words"] { opacity: 1; transform: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.split-words .wi { display: inline-block; }
.js-motion .split-words .wi { transform: translateY(108%); transition: transform 1.15s var(--ease-lux); transition-delay: calc(var(--d, 0s) + var(--wi, 0) * 55ms); }
.js-motion .split-words.is-in .wi { transform: none; }
/* Fine lines draw themselves */
.js-motion .section.is-line > .container { transition: background-size 1.8s var(--ease-lux); }
.js-motion .section.is-line:not(.is-in) > .container { background-size: 0 1px; }
.js-motion [data-rv] .shift__to { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-lux); transition-delay: calc(var(--d, 0s) + 0.35s); }
.js-motion [data-rv].is-in .shift__to { transform: scaleX(1); }
.js-motion [data-rv] .shift__after { opacity: 0; transition: opacity 1.2s var(--ease-lux); transition-delay: calc(var(--d, 0s) + 0.6s); }
.js-motion [data-rv].is-in .shift__after { opacity: 1; }

/* Every photograph frame clips its moving image */
.practice__media, .sector__media, .vis-media, .room__frame, .profile__media, .media-band, .feature__media, .gallery__frame, .fd-photo__frame { overflow: hidden; }
.photo-move { will-change: transform; }

/* A fine gold line under the header shows how far down the page you are */
.scroll-line { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(var(--sp, 0)); transform-origin: left center; pointer-events: none; }

/* Buttons: a fill sweeps across from the left */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: color 0.55s var(--ease-lux), border-color 0.55s var(--ease-lux), background-color 0.55s var(--ease-lux); }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.75s var(--ease-lux);
}
.btn--gold::before { background: var(--deep); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn:hover { background: var(--charcoal); border-color: var(--gold); color: var(--deep); }
.btn--gold:hover { background: var(--gold); border-color: var(--gold); color: var(--ivory); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn__arrow { transition: transform 0.6s var(--ease-lux); }

/* Text links: the gold line leaves to the right and draws back in from the left */
@keyframes link-redraw {
  0% { background-size: 100% 1px; background-position: right bottom; }
  45% { background-size: 0 1px; background-position: right bottom; }
  46% { background-size: 0 1px; background-position: left bottom; }
  100% { background-size: 100% 1px; background-position: left bottom; }
}
@media (hover: hover) {
  .text-link:hover { animation: link-redraw 0.95s var(--ease-lux); }
}
.nav__link::after { transition: transform 0.6s var(--ease-lux); }

/* Home hero: warm light follows the cursor across the photograph */
.hero__light {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(34rem circle at var(--lx, 70%) var(--ly, 40%), rgba(255, 214, 160, 0.17), rgba(255, 214, 160, 0) 62%);
  mix-blend-mode: screen;
  transition: opacity 1.2s var(--ease-lux);
}
@media (hover: hover) and (pointer: fine) {
  .banner--hero:hover .hero__light { opacity: 1; }
}

/* Mobile menu: links arrive one after another */
.js-motion .mobile-nav__list li { opacity: 0; transform: translateY(12px); transition: opacity 0.6s var(--ease-lux), transform 0.7s var(--ease-lux); }
.js-motion .mobile-nav.is-open .mobile-nav__list li { opacity: 1; transform: none; }
.js-motion .mobile-nav.is-open .mobile-nav__list li:nth-child(2) { transition-delay: 0.05s; }
.js-motion .mobile-nav.is-open .mobile-nav__list li:nth-child(3) { transition-delay: 0.1s; }
.js-motion .mobile-nav.is-open .mobile-nav__list li:nth-child(4) { transition-delay: 0.15s; }
.js-motion .mobile-nav.is-open .mobile-nav__list li:nth-child(5) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .curtain, .curtain[hidden] { display: none !important; }
  .hero__light { display: none; }
  .text-link:hover { animation: none; }
  .btn::before { transition: none; }
}

/* ==========================================================================
   Black and gold, everywhere Adham appears. Every photograph of him sits on black,
   lit warmly from behind, its edges dissolving into the dark like his portrait.
   ========================================================================== */
.founder-band + .founder-band { padding-top: 0; }
.founder-band--hero { padding-top: clamp(1.5rem, 0.8rem + 2.5vw, 3.5rem); }
.founder-band--hero .founder-note__quote { font-size: clamp(2.25rem, 1.6rem + 2.5vw, 3.5rem); }
.founder-band--hero .founder-note__quote .label { margin-bottom: 1.3rem; font-size: var(--fs-label); line-height: 1.4; letter-spacing: 0.2em; }
.founder-band--hero .founder-note__text { max-width: 30em; }

.photo-fade { position: relative; margin: 0; isolation: isolate; }
.photo-fade::before {
  content: "";
  position: absolute;
  inset: -5% -7%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(194, 168, 119, 0.2), rgba(194, 168, 119, 0.05) 60%, rgba(194, 168, 119, 0) 100%);
  pointer-events: none;
}
.photo-fade > a, .photo-fade > div {
  position: relative;
  display: block;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 7%, #000 68%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 7%, #000 68%, transparent 100%);
  mask-composite: intersect;
}
.photo-fade > a { cursor: zoom-in; }
.fd-photo__frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* Founder page: background beside the public talk */
.fd-bg { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); }
.fd-bg__media { width: min(86%, 24rem); justify-self: center; }
.fd-bg__body .section-head + * { margin-top: 1.75rem; }
.on-dark .points { border-top-color: var(--line-dark); }
.on-dark .points li { border-bottom-color: var(--line-dark); color: var(--ivory); }
@media (min-width: 900px) {
  .fd-bg { grid-template-columns: 5fr 7fr; column-gap: clamp(3rem, 7vw, 7rem); align-items: center; }
  .fd-bg__media { width: 100%; max-width: 27rem; justify-self: start; }
}

/* Accreditation on black */
.accred--dark { margin-top: 2.25rem; background: transparent; border-color: var(--line-dark); }
.accred--dark .accred__title { color: var(--ivory); }
.accred--dark .accred__label { color: var(--gold-soft); }
.accred--dark .accred__logo { filter: brightness(0) invert(1); opacity: 0.75; }

/* In the room: wide and smaller frames alternate, two to a row; on a phone they slide sideways */
.gallery {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery__item { flex: 0 0 84%; scroll-snap-align: start; }
.gallery__frame { aspect-ratio: 4 / 3; }
.gallery__frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
@media (min-width: 900px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: clamp(16rem, 24vw, 23rem);
    gap: clamp(1rem, 2vw, 1.75rem);
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
  .gallery__item { grid-column: span 5; }
  .gallery__item--wide { grid-column: span 7; }
  .gallery__frame { aspect-ratio: auto; height: 100%; }
}
/* Three photographs of equal size */
.gallery--three .gallery__item { flex-basis: 74%; }
.gallery--three .gallery__frame { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
  .gallery--three { grid-auto-rows: auto; }
  .gallery--three .gallery__item { grid-column: span 4; }
  .gallery--three .gallery__frame { aspect-ratio: 4 / 5; height: auto; }
}

/* Coaching: the room, on black beside the words */
.room-photo { width: min(86%, 24rem); justify-self: center; }
@media (min-width: 900px) { .room-photo { width: 100%; justify-self: end; } }

/* Footer: the accreditation marks, small and in one row */
.site-footer__accred {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.5rem;
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--line-dark);
}
.site-footer__accred-label { font-size: 0.8125rem; line-height: 1.5; color: var(--muted-dark); max-width: 19rem; }
.site-footer__marks { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.site-footer__mark { display: block; width: auto; height: 2rem; filter: brightness(0) invert(1); opacity: 0.68; transition: opacity 0.4s var(--ease); }
.site-footer__mark--wide { height: 1.35rem; }
.site-footer__marks li:hover .site-footer__mark { opacity: 0.9; }
@media (min-width: 900px) { .site-footer__accred { justify-content: space-between; } }

/* Side by side cards keep their lists level: the opening paragraph takes the same height in both */
@media (min-width: 900px) {
  .sector p { min-height: calc(3 * 1.65em); }
}
/* On a phone every section reads words first, then the photograph */
@media (max-width: 899px) { .fd-bg__media { order: 1; } }

/* Footer right column: page links, then social */
.site-footer__side .social { margin-top: 2.5rem; }

/* ==========================================================================
   November 2026 refinement
   Real photographs, calmer motion, a curtain that opens on one line of philosophy,
   and one cinematic band for the track record.
   ========================================================================== */

/* Opening curtain: a line of philosophy on the first visit; page changes stay brief */
.curtain { --dd: 3.3s; --dt: 1.5s; animation-delay: 4.9s; }
.curtain__mark { animation-delay: 3.35s; animation-duration: 0.7s; }
.curtain__line {
  display: block;
  max-width: 24rem;
  margin-top: 1.6rem;
  padding-inline: 1.5rem;
  font-family: var(--serif);
  font-style: normal;
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.3rem);
  line-height: 1.5;
  text-align: center;
  color: var(--ivory);
  opacity: 0;
  animation: curtain-line 1.2s var(--ease-lux) 1.9s forwards;
}
@keyframes curtain-line { from { opacity: 0; transform: translateY(8px); } to { opacity: 0.92; transform: none; } }
.is-return .curtain { --dd: 0.7s; --dt: 1.1s; animation-delay: 1.9s; }
.is-return .curtain__mark { animation-delay: 0.65s; animation-duration: 0.5s; }
.is-return .curtain__line, .is-leaving .curtain__line { display: none; }
.is-leaving .curtain__mark { animation-delay: 0.3s; animation-duration: 0.35s; }
.is-leaving .curtain__door--t, .is-leaving .curtain__door--b { animation-duration: 0.75s; }

/* Photographs stay still. Only the first image of each page settles once, slowly */
.photo-move { transform: none !important; }
@keyframes settle { from { scale: 1.07; } to { scale: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .practice__media img, .sector__media img, .vis-media img, .room__frame img, .profile__media img, .media-band img, .feature__media img, .gallery__frame img, .fd-photo__frame img, .founder-note__media img { animation: none; }
  main > :first-child .banner__media img,
  main > :first-child .split-hero__media img,
  main > :first-child .founder-note__media img {
    transform-origin: 55% 35%;
    animation: settle 10s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}
img.warm { filter: sepia(0.1) saturate(0.9) contrast(1.05) brightness(0.94); }
.hero__light { display: none !important; }

/* Reading: content fades in softly as it arrives, with no blur and no word by word movement */
.js-motion [data-rv] { transform: translateY(16px); transition: opacity 1.2s var(--ease-lux), transform 1.4s var(--ease-lux); transition-delay: var(--d, 0s); }
.js-motion [data-rv="soft"] { filter: none; transform: translateY(12px); }
.js-motion [data-rv="words"] { opacity: 0; transform: translateY(14px); }
.js-motion [data-rv].is-in { opacity: 1; transform: none; }
@keyframes fade-up-soft { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.js-motion .hero-seq > *, .js-motion .hero-seq > :nth-child(1) { animation-name: fade-up-soft; animation-duration: 0.9s; }

/* Dark passages: the top and bottom of the screen dissolve into black while scrolling */
.edge-fade { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.edge-fade::before, .edge-fade::after { content: ""; position: absolute; left: 0; right: 0; opacity: 0; transition: opacity 0.9s var(--ease-lux); }
.edge-fade::before { top: 0; height: calc(var(--header-h) + 11vh); background: linear-gradient(to bottom, rgba(10, 9, 8, 0.9) 0, rgba(10, 9, 8, 0.55) var(--header-h), rgba(10, 9, 8, 0) 100%); }
.edge-fade::after { bottom: 0; height: 15vh; background: linear-gradient(to top, rgba(10, 9, 8, 0.92) 0, rgba(10, 9, 8, 0) 100%); }
.edge-fade.is-top::before, .edge-fade.is-bottom::after { opacity: 1; }
body.menu-open .edge-fade, .is-viewing .edge-fade { display: none; }

/* Buttons: a quiet change of colour on hover */
.btn::before { display: none; }
.btn { transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease); }
.btn:hover, .btn:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--deep); }
.btn--gold:hover, .btn--gold:focus-visible { background: #CDB68A; border-color: #CDB68A; color: var(--deep); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* Home: the opening photograph, Adham in the room */
.banner--hero .banner__text { padding-bottom: clamp(3rem, 2.4rem + 2.5vw, 4.5rem); }
@media (max-width: 899px) {
  .banner--hero .banner__media { aspect-ratio: 4 / 5; }
}
@media (min-width: 900px) {
  .hero__main { min-height: clamp(34rem, 48vw, 52rem); }
  .banner--hero .banner__media { width: 82%; }
  .banner--hero .banner__media img { object-position: 50% 30%; }
  .banner--hero .banner__media::after { width: 48%; background: linear-gradient(to right, var(--night) 0%, rgba(13, 12, 10, 0.8) 34%, rgba(13, 12, 10, 0) 100%); }
  .banner--hero .banner__media::before { height: 32%; }
  .banner--hero .banner__text-inner { max-width: min(44%, 36rem); }
  .hp-media::after { width: 30%; }
}

/* Home: the track record, over a slow night film */
.track { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(6rem, 4rem + 8vw, 11rem); background: var(--night); }
.track__media { position: absolute; inset: 0; z-index: -1; }
.track__video { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.track__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; opacity: 0.5; }
.track__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--night) 0%, rgba(13, 12, 10, 0.35) 28%, rgba(13, 12, 10, 0.35) 72%, var(--night) 100%), linear-gradient(to right, rgba(13, 12, 10, 0.8) 0%, rgba(13, 12, 10, 0.15) 70%); }
.track__title { max-width: 20em; font-size: var(--fs-h3); line-height: 1.3; color: var(--ivory); }
.track .proof { margin-top: clamp(2rem, 1.5rem + 2vw, 3.25rem); max-width: 58rem; }
.track .proof li { border-top-color: rgba(245, 242, 236, 0.22); }
.track .proof__fig { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(3.25rem, 2.2rem + 4.2vw, 6.25rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums; color: var(--gold-soft); }
.track .proof__text { color: #CFC9BE; max-width: 22em; }
@media (prefers-reduced-motion: reduce) { .track__video { display: none; } }

/* Home: the founder statement beside a real photograph from the room */
.founder-band--photo .founder-note__media { width: 100%; max-width: 34rem; justify-self: center; }
.founder-band--photo .founder-note__media::before { display: none; }
.founder-band--photo .founder-note__media img {
  aspect-ratio: 4 / 5;
  object-position: 40% 30%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%, #000 62%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%, #000 62%, transparent 100%);
  mask-composite: intersect;
}
.founder-band--photo .founder-note__body { margin-top: -22%; }
@media (min-width: 900px) {
  .founder-band--photo .founder-note__media { grid-column: 1 / 7; grid-row: 1; width: 100%; max-width: none; justify-self: stretch; }
  .founder-band--photo .founder-note__body { grid-column: 7 / 13; grid-row: 1; margin-top: 0; padding-left: clamp(1.5rem, 4vw, 4.5rem); }
  .founder-band--photo .founder-note__media img {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 82%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%, #000 80%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 82%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%, #000 80%, transparent 100%);
  }
}

/* Founder page: two photographs from the room */
.gallery--two .gallery__item { flex-basis: 80%; }
.gallery--two .gallery__frame { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .gallery--two { grid-auto-rows: auto; }
  .gallery--two .gallery__item { grid-column: span 6; }
  .gallery--two .gallery__frame { aspect-ratio: 4 / 3; height: auto; }
}
/* Drone film in the track band */
.track__media .track__video{position:absolute;inset:0}
.track__media img{display:none}
@media (prefers-reduced-motion: reduce){.track__media img{display:block}}

/* ==========================================================================
   Cinema. Full screen film and photograph sections (December 2026)
   ========================================================================== */
.cine { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: min(92svh, 60rem); background: var(--night); color: var(--ivory); }
.cine--hero { min-height: calc(100svh - var(--header-h)); }
.cine + .cine { box-shadow: inset 0 1px 0 rgba(245, 242, 236, 0.08); }
.cine__media { position: absolute; inset: 0; z-index: -2; background: var(--night); }
.cine__media > img, .cine__media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.cine::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(10, 9, 8, 0.95) 0%, rgba(10, 9, 8, 0.62) 30%, rgba(10, 9, 8, 0.14) 62%, rgba(10, 9, 8, 0.4) 100%),
              linear-gradient(to right, rgba(10, 9, 8, 0.76) 0%, rgba(10, 9, 8, 0.3) 46%, rgba(10, 9, 8, 0) 72%); }
.cine--right::before {
  background: linear-gradient(to top, rgba(10, 9, 8, 0.95) 0%, rgba(10, 9, 8, 0.62) 30%, rgba(10, 9, 8, 0.14) 62%, rgba(10, 9, 8, 0.4) 100%),
              linear-gradient(to left, rgba(10, 9, 8, 0.8) 0%, rgba(10, 9, 8, 0.34) 46%, rgba(10, 9, 8, 0) 72%); }
.cine__body { position: relative; width: 100%; padding-top: clamp(7rem, 16vh, 11rem); padding-bottom: clamp(3.5rem, 8vh, 6.5rem); }
.cine__inner { max-width: 44rem; }
.cine--right .cine__inner { margin-left: auto; }
.cine__kicker { display: block; margin: 0 0 1.1rem; font-family: var(--serif); font-style: normal; font-weight: 400; font-size: clamp(1.15rem, 1rem + 0.55vw, 1.5rem); letter-spacing: 0.02em; color: var(--gold-soft); }
.cine__title { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.016em; color: var(--ivory); }
.cine--hero .cine__title { font-size: var(--fs-display); max-width: 12em; }
.cine__text { margin-top: clamp(1.1rem, 0.9rem + 0.8vw, 1.6rem); max-width: 34em; font-size: var(--fs-lead); line-height: 1.6; color: #D8D3C9; }
.cine__list { list-style: none; margin: 2rem 0 0; padding: 0; max-width: 44rem; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 2.5rem; border-top: 1px solid rgba(245, 242, 236, 0.22); }
.cine__list li { position: relative; padding: 0.95rem 0 0.95rem 1.6rem; border-bottom: 1px solid rgba(245, 242, 236, 0.22); font-size: 1.0313rem; line-height: 1.5; color: #ECE7DD; }
.cine__list li::before { content: ""; position: absolute; left: 0.1rem; top: 1.5rem; width: 5px; height: 5px; background: var(--gold-soft); }
@media (min-width: 760px) { .cine__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cine__actions { margin-top: clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem); }
.cine .text-link { margin-top: 1.8rem; color: var(--ivory); }
.cine .text-link:hover { color: var(--gold-soft); }
.cine .proof { margin-top: clamp(2rem, 1.5rem + 2vw, 3.25rem); max-width: 44rem; }
.cine .proof li { border-top-color: rgba(245, 242, 236, 0.24); }
.cine .proof__fig { color: var(--gold-soft); font-weight: 400; font-size: clamp(3.25rem, 2.2rem + 4.2vw, 6rem); }
.cine .proof__text { color: #D2CCC1; max-width: 22em; }
.cine__title--quiet { font-size: var(--fs-h3); line-height: 1.3; max-width: 20em; }

/* Two films side by side, edge to edge */
.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; background: var(--night); }
@media (min-width: 900px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.duo__tile { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(30rem, 80vh, 52rem); color: var(--ivory); background: var(--night); }
.duo__tile::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to top, rgba(10, 9, 8, 0.95) 0%, rgba(10, 9, 8, 0.58) 36%, rgba(10, 9, 8, 0.08) 70%, rgba(10, 9, 8, 0.32) 100%); }
.duo__tile .cine__media > video, .duo__tile .cine__media > img { transition: transform 1.8s var(--ease-lux); }
.duo__tile:hover .cine__media > video, .duo__tile:hover .cine__media > img { transform: scale(1.035); }
.duo__body { padding: clamp(2rem, 1.4rem + 2.4vw, 3.75rem); max-width: 36rem; }
.duo__title { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.012em; color: var(--ivory); }
.duo__text { margin-top: 1rem; color: #D8D3C9; font-size: var(--fs-body); line-height: 1.6; max-width: 30em; }
.duo__body .text-link { margin-top: 1.5rem; color: var(--ivory); }
.duo__body .text-link:hover { color: var(--gold-soft); }

/* A photograph edge to edge beside its text */
.sp { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--night); color: var(--ivory); }
.sp__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; margin: 0; }
.sp__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 35%); }
.sp__body { display: flex; align-items: center; padding: clamp(3.5rem, 2.5rem + 4vw, 7rem) var(--gutter); }
.sp__inner { width: 100%; max-width: 38rem; }
@media (min-width: 900px) {
  .sp { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: min(100svh, 62rem); }
  .sp__media { aspect-ratio: auto; min-height: 100%; }
  .sp--rev .sp__media { order: 2; }
  .sp__body { padding-inline: clamp(3rem, 6vw, 7rem); }
}
.sp .points li { border-color: rgba(245, 242, 236, 0.2); }

/* Two photographs, edge to edge */
.diptych { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
@media (min-width: 900px) { .diptych { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.diptych__item { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--night); }
.diptych__frame { display: block; width: 100%; height: 100%; }
.diptych__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--ease-lux); }
.diptych__frame:hover img { transform: scale(1.03); }

.section--lead { padding-bottom: clamp(2.25rem, 1.6rem + 2vw, 3.5rem); }

/* Text arriving softly as each film comes into view */
.js-motion .cine:not(.cine--hero) .cine__inner, .js-motion .duo__body, .js-motion .sp__inner { opacity: 0; transform: translateY(22px); transition: opacity 1.2s var(--ease-lux) 0.15s, transform 1.4s var(--ease-lux) 0.15s; }
.js-motion .cine.is-in .cine__inner, .js-motion .duo__tile.is-in .duo__body, .js-motion .sp.is-in .sp__inner { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-motion .cine .cine__inner, .js-motion .duo__body, .js-motion .sp__inner { opacity: 1; transform: none; transition: none; }
  .duo__tile:hover .cine__media > video, .duo__tile:hover .cine__media > img, .diptych__frame:hover img { transform: none; }
}

/* Opening screen: the slogan */
.curtain__line { font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.7rem); letter-spacing: 0.04em; color: var(--gold-soft); }
/* ==========================================================================
   Pillars. One word, one promise (December 2026)
   ========================================================================== */
.pillars { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--ivory); padding-block: clamp(5.5rem, 4rem + 6vw, 10rem); }
.pillars::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60rem 38rem at 92% 0%, rgba(194, 168, 119, 0.11), transparent 62%), radial-gradient(48rem 34rem at 0% 100%, rgba(194, 168, 119, 0.06), transparent 60%); }
.pillars__head { max-width: 48rem; }
.pillars__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.016em; color: var(--ivory); }
.pillars__lead { margin-top: clamp(1.1rem, 0.9rem + 0.8vw, 1.6rem); max-width: 34em; font-size: var(--fs-lead); line-height: 1.6; color: #CFC9BE; }
.pillars__list { list-style: none; margin: clamp(3rem, 2rem + 4vw, 5.5rem) 0 0; padding: 0; border-top: 1px solid rgba(194, 168, 119, 0.45); }
.pillar { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 0.9rem; padding-block: clamp(1.9rem, 1.4rem + 1.8vw, 3rem); border-bottom: 1px solid rgba(245, 242, 236, 0.13); }
.pillar__word { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(2.5rem, 1.7rem + 3.6vw, 5rem); line-height: 0.98; letter-spacing: -0.025em; color: var(--gold-soft); transition: color 0.8s var(--ease-lux); }
.pillar__text { margin: 0; max-width: 31em; font-size: var(--fs-lead); line-height: 1.6; color: #E4DFD5; }
.pillar:hover .pillar__word { color: var(--ivory); }
@media (min-width: 900px) {
  .pillar { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(2.5rem, 6vw, 7rem); align-items: baseline; }
}
.js-motion .pillar, .js-motion .pillars__head { opacity: 0; transform: translateY(20px); transition: opacity 1.1s var(--ease-lux), transform 1.3s var(--ease-lux); }
.js-motion .pillar.is-in, .js-motion .pillars__head.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-motion .pillar, .js-motion .pillars__head { opacity: 1; transform: none; transition: none; } }

/* Statements and philosophy lines inside the films */
.cine__title--statement { font-size: var(--fs-h2); line-height: 1.1; max-width: 18em; }
.cine__quote { margin: 1.3rem 0 0; max-width: 26em; font-family: var(--serif); font-style: normal; font-weight: 400; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.95rem); line-height: 1.35; color: var(--gold-soft); }
.cine .status-tag { color: var(--gold-soft); border-color: rgba(194, 168, 119, 0.55); background: transparent; }
.cine__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; margin-top: 1.8rem; }
.cine__meta .text-link { margin-top: 0; }
/* ==========================================================================
   Story. A few plain sentences, read like a conversation (December 2026)
   ========================================================================== */
.story { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--ivory); padding-block: clamp(5.5rem, 4rem + 6vw, 10rem); }
.story::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60rem 38rem at 92% 0%, rgba(194, 168, 119, 0.11), transparent 62%), radial-gradient(48rem 34rem at 0% 100%, rgba(194, 168, 119, 0.06), transparent 60%); }
.story__grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.story__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.014em; color: var(--ivory); max-width: 15em; }
.story__lead { margin-top: 1.3rem; max-width: 30em; font-size: var(--fs-lead); line-height: 1.6; color: #CFC9BE; }
.story__body { border-left: 1px solid rgba(194, 168, 119, 0.45); padding-left: clamp(1.4rem, 1rem + 2.4vw, 3.5rem); }
.story__line { margin: 0; max-width: 24em; font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.4rem); line-height: 1.3; letter-spacing: -0.01em; color: var(--ivory); }
.story__line + .story__line { margin-top: clamp(1.6rem, 1.2rem + 1.6vw, 2.8rem); }
@media (min-width: 1000px) {
  .story__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(3rem, 6vw, 7rem); align-items: start; }
  .story__head { position: sticky; top: calc(var(--header-h) + 3rem); }
}
.js-motion .story__head, .js-motion .story__line { opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease-lux), transform 1.3s var(--ease-lux); }
.js-motion .story__head.is-in, .js-motion .story__line.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-motion .story__head, .js-motion .story__line { opacity: 1; transform: none; transition: none; } }
.cine__text + .cine__text { margin-top: 1.1rem; }
/* ==========================================================================
   Services navigation (simple)
   ========================================================================== */
section[id] { scroll-margin-top: var(--header-h); }
.nav__item { position: relative; }
.nav__trigger { display: inline-flex; align-items: center; gap: 0.4rem; border: 0; background: none; cursor: pointer; font-family: inherit; }
.nav__chev { width: 0.65rem; height: 0.65rem; }
.nav__trigger.is-current::after, .nav__trigger[aria-expanded="true"]::after { transform: scaleX(1); }

.dropdown { position: absolute; top: calc(100% + 1rem); left: -1.25rem; z-index: 101; min-width: 15.5rem; padding: 0.5rem 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 32px rgba(13, 12, 10, 0.1); opacity: 0; transition: opacity 0.15s ease; }
.dropdown[hidden] { display: none; }
.dropdown.is-open { opacity: 1; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -1.05rem; height: 1.05rem; }
.dropdown__list { list-style: none; margin: 0; padding: 0; }
.dropdown__link { display: block; padding: 0.55rem 1.25rem; font-size: 0.9375rem; font-weight: 500; line-height: 1.4; color: var(--ink); text-decoration: none; white-space: nowrap; }
.dropdown__link:hover, .dropdown__link:focus-visible, .dropdown__link[aria-current="page"] { color: var(--gold-ink); }
.dropdown__sep { margin-top: 0.4rem; padding-top: 0.4rem; border-top: 1px solid var(--line); }
body:not(.menu-open) .site-header--over.is-over-hero .dropdown { background: var(--night); border-color: rgba(245, 242, 236, 0.12); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3); }
body:not(.menu-open) .site-header--over.is-over-hero .dropdown__link { color: #E6E1D7; }
body:not(.menu-open) .site-header--over.is-over-hero .dropdown__link:hover, body:not(.menu-open) .site-header--over.is-over-hero .dropdown__link:focus-visible { color: var(--gold-soft); }
body:not(.menu-open) .site-header--over.is-over-hero .dropdown__sep { border-top-color: rgba(245, 242, 236, 0.12); }
@media (max-width: 1099px) { .dropdown { display: none !important; } }

/* Mobile menu: plain list, titles only, no animation */
.mobile-nav { transform: none; transition: opacity 0.15s ease, visibility 0s linear 0.15s; }
.mobile-nav.is-open { transform: none; transition: opacity 0.15s ease, visibility 0s; }
.js-motion .mobile-nav__list li { opacity: 1 !important; transform: none !important; transition: none !important; }
.mobile-nav__label { margin: 1.75rem 0 0.35rem; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.02em; color: var(--muted); }
.mobile-nav__label:first-child { margin-top: 0.25rem; }
.mobile-nav__link { padding: 0.9rem 0; font-family: var(--sans); font-size: 1.0625rem; font-weight: 500; line-height: 1.35; }

/* Home: the services list, titles only */
.svc { position: relative; background: var(--night); color: var(--ivory); padding-block: clamp(4rem, 3rem + 3.5vw, 7rem); border-top: 1px solid rgba(194, 168, 119, 0.18); }
.svc__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.014em; color: var(--ivory); }
.svc__list { list-style: none; margin: clamp(2rem, 1.6rem + 1.6vw, 3rem) 0 0; padding: 0; border-top: 1px solid rgba(194, 168, 119, 0.45); }
.svc__list li { border-bottom: 1px solid rgba(245, 242, 236, 0.13); }
.svc__row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.05rem, 0.9rem + 0.5vw, 1.4rem) 0; color: inherit; text-decoration: none; }
.svc__name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.2; color: var(--ivory); transition: color 0.3s var(--ease); }
.svc__arrow { flex: none; width: 1.25rem; height: 1.25rem; color: var(--gold-soft); transition: transform 0.3s var(--ease); }
.svc__row:hover .svc__name, .svc__row:focus-visible .svc__name { color: var(--gold-soft); }
.svc__row:hover .svc__arrow { transform: translateX(4px); }

/* Footer: services and company */
.site-footer__nav--groups { display: flex; flex-wrap: wrap; gap: 2rem clamp(2.5rem, 5vw, 4.5rem); }
.site-footer__nav--groups ul { display: block; columns: auto; grid-template-columns: none; }
.site-footer__nav--groups li + li { margin-top: 0.55rem; }

/* Writing pass: upright type, one button system, clear labels (v37) */
em, i, cite, q { font-style: normal; }
.cine__kicker {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: none;
  color: var(--gold-soft);
}
.cine__kicker.cine__motto {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.03em;
}
.banner__text-inner > .cine__kicker { margin: 0 0 1.1rem; }
.founder-note__more {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--gold-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.32em;
  white-space: nowrap;
}
.founder-note__close { font-style: normal; }

/* Buttons: sentence case, one gold primary, one quiet outline secondary */
.btn, .btn--caps {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}
.btn--gold { background: var(--gold); border-color: var(--gold); color: #0D0C0A; }
.btn--gold:hover, .btn--gold:focus-visible { background: #B49A69; border-color: #B49A69; color: #0D0C0A; }
:is(.on-dark, .cine, .banner--night, .section--dark) .btn--gold { background: var(--gold-soft); border-color: var(--gold-soft); color: #0D0C0A; }
:is(.on-dark, .cine, .banner--night, .section--dark) .btn--gold:hover,
:is(.on-dark, .cine, .banner--night, .section--dark) .btn--gold:focus-visible { background: #D6C39C; border-color: #D6C39C; color: #0D0C0A; }
.btn--line { background: transparent; border: 1px solid rgba(36, 37, 34, 0.38); color: var(--ink); }
.btn--line:hover, .btn--line:focus-visible { background: transparent; border-color: var(--gold-ink); color: var(--gold-ink); }
:is(.on-dark, .cine, .banner--night, .section--dark) .btn--line { border-color: rgba(245, 242, 236, 0.42); color: var(--ivory); }
:is(.on-dark, .cine, .banner--night, .section--dark) .btn--line:hover,
:is(.on-dark, .cine, .banner--night, .section--dark) .btn--line:focus-visible { background: transparent; border-color: var(--gold-soft); color: var(--gold-soft); }
.closing__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.3rem; }
.closing .closing__actions .btn { margin-top: 0; }
@media (max-width: 520px) { .closing__actions .btn { width: 100%; } }

/* Prose that replaces lists */
.split-text { margin-top: 1.4rem; max-width: 60ch; color: var(--muted); font-size: 1.02rem; line-height: 1.75; }
.bio { margin-top: 1.6rem; max-width: 50ch; }
.bio p { color: rgba(245, 242, 236, 0.82); font-size: 1.04rem; line-height: 1.75; }
.bio p + p { margin-top: 1rem; }

/* Line breaks and hero scale: headings in fewer lines, no lone words (v38) */
p, li, .lead { text-wrap: pretty; }
h1, h2, h3, .cine__title, .founder-note__quote, .founder-note__close { text-wrap: balance; }
.cine--hero .cine__inner { max-width: 50rem; }
.cine--hero .cine__title { font-size: clamp(2.6rem, 1.6rem + 3.4vw, 5rem); line-height: 1.04; max-width: 15em; }
.cine--hero .cine__text { max-width: 38rem; }

/* Sound in the header: the word and a quiet gold icon, invited once per visit (v44) */
.hsound {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 2.6rem;
  margin: 0 0 0 auto;
  padding: 0 1rem 0 0.9rem;
  border: 1px solid rgba(118, 96, 58, 0.45);
  border-radius: 999px;
  background: transparent;
  color: var(--gold-ink);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.6s var(--ease-lux, ease), border-color 0.4s ease, color 0.4s ease;
}
.site-header__inner > .hsound + .menu-toggle { margin-left: -0.9rem; }
@media (min-width: 1100px) {
  .site-header__inner > .nav { margin-left: auto; }
  .site-header__inner > .hsound { margin-left: -0.6rem; }
}
@media (max-width: 420px) {
  .hsound { gap: 0.45rem; padding: 0 0.8rem 0 0.7rem; font-size: 0.8rem; }
}
.hsound:hover { border-color: var(--gold-ink); }
.hsound:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
body:not(.menu-open) .site-header--over.is-over-hero .hsound { border-color: rgba(194, 168, 119, 0.55); color: var(--gold-soft); }
body:not(.menu-open) .site-header--over.is-over-hero .hsound:hover { border-color: var(--gold-soft); }
.hsound.is-on { border-color: currentColor; }
.hsound__icon { display: inline-flex; align-items: center; gap: 2px; height: 14px; }
.hsound__icon i { display: block; width: 2px; height: 4px; border-radius: 1px; background: currentColor; }
.hsound__icon i:nth-child(2) { height: 9px; }
.hsound__icon i:nth-child(3) { height: 6px; }
.hsound__icon i:nth-child(4) { height: 3px; }
.hsound.is-on .hsound__icon i { animation: hsound-bar 1.8s ease-in-out infinite; }
.hsound.is-on .hsound__icon i:nth-child(2) { animation-duration: 2.2s; animation-delay: -0.6s; }
.hsound.is-on .hsound__icon i:nth-child(3) { animation-duration: 1.6s; animation-delay: -1.1s; }
.hsound.is-on .hsound__icon i:nth-child(4) { animation-duration: 2.4s; animation-delay: -0.3s; }
.hsound.is-loading .hsound__icon { animation: hsound-wait 1.4s ease-in-out infinite; }
@keyframes hsound-bar { 0%, 100% { height: 3px; } 50% { height: 13px; } }
@keyframes hsound-wait { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* The invitation: the control turns gold and breathes three times */
.hsound.is-invite { background: var(--gold); border-color: var(--gold); color: #0D0C0A; animation: hsound-breathe 2.4s ease-out 0.4s 3; }
body:not(.menu-open) .site-header--over.is-over-hero .hsound.is-invite { background: var(--gold-soft); border-color: var(--gold-soft); color: #0D0C0A; }
@keyframes hsound-breathe {
  0% { box-shadow: 0 0 0 0 rgba(194, 168, 119, 0.65); }
  70% { box-shadow: 0 0 0 16px rgba(194, 168, 119, 0); }
  100% { box-shadow: 0 0 0 0 rgba(194, 168, 119, 0); }
}

/* The line under it */
.hsound__tip {
  position: absolute;
  top: calc(100% + 0.85rem);
  right: 0;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(194, 168, 119, 0.5);
  border-radius: 2px;
  background: #0D0C0A;
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-lux, ease), transform 0.5s var(--ease-lux, ease), visibility 0s linear 0.5s;
}
.hsound__tip::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 1.5rem;
  width: 8px;
  height: 8px;
  background: #0D0C0A;
  border-left: 1px solid rgba(194, 168, 119, 0.5);
  border-top: 1px solid rgba(194, 168, 119, 0.5);
  transform: rotate(45deg);
}
.hsound.has-tip .hsound__tip {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 0.5s var(--ease-lux, ease), transform 0.5s var(--ease-lux, ease), visibility 0s;
}

/* "Tap for sound" on the opening film or photo */
.has-hero-sound { position: relative; }
.hero-sound {
  position: absolute;
  z-index: 6;
  right: var(--gutter, 1.5rem);
  bottom: clamp(1.25rem, 3vw, 2.25rem);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 2.6rem;
  margin: 0;
  padding: 0 1.05rem 0 0.85rem;
  border: 1px solid rgba(194, 168, 119, 0.55);
  border-radius: 999px;
  background: rgba(13, 12, 10, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.9s var(--ease-lux, ease), transform 0.9s var(--ease-lux, ease), border-color 0.3s ease, background-color 0.3s ease;
}
.hero-sound svg { width: 17px; height: 17px; flex: none; color: var(--gold-soft); }
.hero-sound.is-shown { opacity: 1; transform: none; }
.hero-sound:hover { border-color: var(--gold-soft); background: rgba(13, 12, 10, 0.78); }
.hero-sound:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
.hero-sound.is-hidden { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s linear 0.6s; }
#main:focus { outline: none; }

@media (prefers-reduced-motion: reduce) {
  .hsound, .hsound__tip, .hero-sound { transition: none; }
  .hsound.is-on .hsound__icon i, .hsound.is-loading .hsound__icon, .hsound.is-invite { animation: none; }
}
@media print { .hsound, .hero-sound { display: none; } }
/* The label sits above the dark fade at the foot of the screen */
@media (min-width: 768px) {
  .hero-sound { bottom: clamp(4.5rem, 13vh, 7.5rem); }
}

/* Pages split by service and FAQs (v46) */
h1.cine__kicker {
  margin: 0 0 1.1rem;
  max-width: none;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: none;
  color: var(--gold-soft);
}
.site-footer__motto { margin-top: 0.9rem; font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0.03em; color: var(--gold-soft); }
.dropdown__rule { height: 0; margin: 0.45rem 0; border-top: 1px solid currentColor; opacity: 0.14; list-style: none; }
.faq { display: grid; align-content: start; }
.faq__item { border-top: 1px solid rgba(36, 37, 34, 0.14); }
.faq__item:last-of-type { border-bottom: 1px solid rgba(36, 37, 34, 0.14); }
.faq__q {
  position: relative;
  display: block;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem);
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.3s ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  position: absolute;
  right: 0.3rem;
  top: 50%;
  width: 0.8rem;
  height: 0.8rem;
  margin-top: -0.4rem;
  background:
    linear-gradient(var(--gold-ink), var(--gold-ink)) center / 100% 1px no-repeat,
    linear-gradient(var(--gold-ink), var(--gold-ink)) center / 1px 100% no-repeat;
  transition: transform 0.35s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__q:hover { color: var(--gold-ink); }
.faq__q:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.faq__a { padding: 0 0 1.4rem; max-width: 62ch; }
.faq__a p { color: var(--muted); line-height: 1.75; }
.faq__a a, .related a, .steps a, .area-grid a { color: var(--gold-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
.related { margin-top: 1.75rem; color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.on-dark .split-text { color: rgba(245, 242, 236, 0.78); }
.bio a { color: var(--gold-soft); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
.steps--five { grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); }
.thanks-links { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 2.25rem; }
/* Headlines that are now paragraphs keep the look they had as headings (v47) */
.cine__inner > p.cine__title,
.banner__text-inner > p.banner__title,
.hero-seq > p.h1 { margin-top: 0; margin-bottom: 0; }
p.h1 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -0.016em; color: inherit; }
.dropdown__rule { opacity: 1; border-top-color: rgba(194, 168, 119, 0.3); margin: 0.5rem 1.25rem; }