/* The Obsydian Group — landing page
   Ported from the "Obsydian Landing Blue" Claude Design component. */

:root {
  --bg:        #0a0a0c;
  --bg-about:  #17171c;
  --bg-hover:  #0f0f12;
  --ink:       #e8e8ea;
  --ink-soft:  #c8c8cd;
  --muted:     #9a9aa2;
  --dim:       #6a6a72;
  --faint:     #4a4a52;
  --line:      #1c1c20;
  --line-2:    #26262c;
  --line-3:    #2c2c32;
  --accent:    #5e9bdb;
  --accent-rgb: 94, 155, 219;   /* same accent, for rgba() ramps */
  --accent-ok: oklch(0.68 0.104 251);

  /* Film grain. Three densities of the same fractal-noise tile, layered over
     flat fills so solid accent chips and photos don't read as vector-clean. */
  --grain-soft: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22180%22%20height=%22180%22%3E%3Cfilter%20id=%22g%22%3E%3CfeTurbulence%20type=%22fractalNoise%22%20baseFrequency=%220.9%22%20numOctaves=%223%22%20stitchTiles=%22stitch%22/%3E%3CfeColorMatrix%20type=%22saturate%22%20values=%220%22/%3E%3C/filter%3E%3Crect%20width=%22180%22%20height=%22180%22%20filter=%22url%28%23g%29%22%20opacity=%220.09%22/%3E%3C/svg%3E);
  --grain: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22180%22%20height=%22180%22%3E%3Cfilter%20id=%22g%22%3E%3CfeTurbulence%20type=%22fractalNoise%22%20baseFrequency=%220.9%22%20numOctaves=%223%22%20stitchTiles=%22stitch%22/%3E%3CfeColorMatrix%20type=%22saturate%22%20values=%220%22/%3E%3C/filter%3E%3Crect%20width=%22180%22%20height=%22180%22%20filter=%22url%28%23g%29%22%20opacity=%220.2%22/%3E%3C/svg%3E);
  --grain-strong: url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22180%22%20height=%22180%22%3E%3Cfilter%20id=%22g%22%3E%3CfeTurbulence%20type=%22fractalNoise%22%20baseFrequency=%220.85%22%20numOctaves=%223%22%20stitchTiles=%22stitch%22/%3E%3CfeColorMatrix%20type=%22saturate%22%20values=%220%22/%3E%3C/filter%3E%3Crect%20width=%22180%22%20height=%22180%22%20filter=%22url%28%23g%29%22%20opacity=%220.3%22/%3E%3C/svg%3E);
  --grain-tile: 0 0 / 180px 180px repeat;

  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --display: 'Dune Rise', 'Space Grotesk', system-ui, sans-serif;

  --gutter: 48px;
  --wrap: 1100px;
  --gap: 48px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; background: var(--bg); }

body {
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent-ok); }

img { max-width: 100%; }

::selection { background: oklch(0.68 0.104 251 / 0.3); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.grid-bg {
  min-height: 100vh;
  background:
    var(--grain-soft) var(--grain-tile) fixed,
    linear-gradient(rgba(var(--accent-rgb),0.028) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(var(--accent-rgb),0.028) 1px, transparent 1px) 0 0 / 56px 100%,
    radial-gradient(circle, rgba(var(--accent-rgb),0.05) 1px, transparent 1.5px) 28px 28px / 56px 56px,
    var(--bg);
}

.wrap { max-width: var(--wrap); margin: 0 auto; }

.accent { color: var(--accent); }


/* ---------------------------------------------------------------- brackets */
/* The recurring corner-bracket motif. Sized/positioned by the parent. */

.bracket {
  position: absolute;
  width: var(--bw, 6px);
  height: var(--bw, 6px);
  border: 0 solid var(--bc, var(--accent));
  pointer-events: none;
  transition: inset 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
}
.bracket--tl { top: var(--bi, 0); left:  var(--bi, 0); border-top-width: var(--bt, 1.5px); border-left-width:  var(--bt, 1.5px); }
.bracket--tr { top: var(--bi, 0); right: var(--bi, 0); border-top-width: var(--bt, 1.5px); border-right-width: var(--bt, 1.5px); }
.bracket--bl { bottom: var(--bi, 0); left:  var(--bi, 0); border-bottom-width: var(--bt, 1.5px); border-left-width:  var(--bt, 1.5px); }
.bracket--br { bottom: var(--bi, 0); right: var(--bi, 0); border-bottom-width: var(--bt, 1.5px); border-right-width: var(--bt, 1.5px); }


/* -------------------------------------------------------------- boot screen */

.boot {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.boot[data-step="8"] { opacity: 0; transform: scale(1.04); pointer-events: none; }
.boot[data-step="9"] { display: none; }

.boot__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; }

.boot__plate {
  position: relative;
  width: 132px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-rgb),0);
  transition: background 0.3s ease;
  --bw: 14px;
  --bt: 2.5px;
  --bi: -14px;
}
.boot__plate .bracket {
  opacity: 0.35;
  transition: inset 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease, border-color 0.3s ease;
}
.boot[data-step="0"] .boot__plate { --bi: -14px; }
.boot:not([data-step="0"]) .boot__plate { --bi: 0px; }
.boot:not([data-step="0"]) .boot__plate .bracket { opacity: 1; }

.boot__mark {
  font-family: var(--display);
  font-size: 44px;
  color: var(--accent);
  letter-spacing: 0.06em;
  line-height: 1;
  opacity: 0;
  transition: color 0.3s ease, opacity 0.4s ease;
}
.boot[data-step="2"] .boot__mark, .boot[data-step="3"] .boot__mark,
.boot[data-step="4"] .boot__mark, .boot[data-step="5"] .boot__mark,
.boot[data-step="6"] .boot__mark, .boot[data-step="7"] .boot__mark,
.boot[data-step="8"] .boot__mark, .boot[data-step="9"] .boot__mark { opacity: 1; }

/* step 7: the plate flashes to a solid accent chip */
.boot[data-step="7"] .boot__plate,
.boot[data-step="8"] .boot__plate,
.boot[data-step="9"] .boot__plate {
  background: var(--grain-strong) var(--grain-tile), var(--accent);
  --bi: 3px;
  --bc: var(--bg);
}
.boot[data-step="7"] .boot__mark,
.boot[data-step="8"] .boot__mark,
.boot[data-step="9"] .boot__mark { color: var(--bg); }

.boot__log {
  width: 340px;
  max-width: calc(100vw - 48px);
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--dim);
}
.boot__line { display: flex; justify-content: space-between; opacity: 0; transition: opacity 0.2s; }
.boot__status {
  text-align: center;
  margin-top: 14px;
  color: var(--accent);
  letter-spacing: 0.3em;
  opacity: 0;
  transition: opacity 0.25s;
}


/* --------------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(10,10,12,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__brand { display: flex; align-items: center; gap: 14px; }
.nav__brand:hover { color: var(--ink); }

.logo {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-rgb),0);
  transition: background 0.3s ease;
  --bw: 8px;
  --bi: 0px;
}
.logo__mark {
  font-family: var(--display);
  font-size: 18px;
  color: var(--accent);
  letter-spacing: 0.06em;
  line-height: 1;
  transition: color 0.3s ease;
}
/* On hover the plate inverts and the two off-diagonal brackets retract. */
.nav__brand:hover .logo { background: var(--grain-strong) var(--grain-tile), var(--accent); --bi: 2px; --bc: var(--bg); }
.nav__brand:hover .logo__mark { color: var(--bg); }
.nav__brand:hover .logo .bracket--tr,
.nav__brand:hover .logo .bracket--bl { opacity: 0; }

.nav__rule { width: 1px; height: 32px; background: var(--line-3); }
.nav__name { font-family: var(--display); font-size: 15px; letter-spacing: 0.14em; line-height: 1.1; display: block; }
.nav__sub { font-size: 10px; font-family: var(--mono); color: var(--dim); letter-spacing: 0.42em; margin-top: 4px; display: block; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.nav__links > a:not(.btn) { color: var(--muted); }
.nav__links > a:not(.btn):hover { color: var(--accent-ok); }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  background: none;
  border: 1px solid var(--line-3);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span { display: block; width: 16px; height: 1.5px; background: var(--accent); }


/* ------------------------------------------------------------------ buttons */

.btn {
  position: relative;
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  padding: 15px 32px;
  transition: background 0.3s ease, color 0.3s ease;
  --bw: 8px;
  --bt: 2px;
  --bi: 4px;
}
.btn::before, .btn::after {
  content: '';
  position: absolute;
  width: var(--bw);
  height: var(--bw);
  border: 0 solid currentColor;
}
.btn::before { top: var(--bi); left: var(--bi); border-top-width: var(--bt); border-left-width: var(--bt); }
.btn::after { bottom: var(--bi); right: var(--bi); border-bottom-width: var(--bt); border-right-width: var(--bt); }

.btn--solid { background: var(--grain-strong) var(--grain-tile), var(--accent); color: var(--bg); font-weight: 500; }
.btn--solid:hover { background: rgba(var(--accent-rgb),0); color: var(--accent); }

.btn--quiet { color: var(--muted); }
.btn--quiet:hover { color: var(--accent); }

.btn--ghost-accent {
  color: var(--accent);
  background: rgba(var(--accent-rgb),0);
  padding: 9px 18px;
  --bw: 6px;
  --bt: 1.5px;
  --bi: 3px;
}
.btn--ghost-accent:hover { background: var(--grain-strong) var(--grain-tile), var(--accent); color: var(--bg); }

.btn--lg { padding: 17px 44px; }

/* Bare brand mark, deliberately not a .btn: the glyph already carries the
   meaning, so it drops the corner brackets rather than competing with the two
   real CTAs beside it. Left in the page's own muted -> accent, not LinkedIn
   blue, for the same reason every partner logo runs through grayscale(1) --
   #0a66c2 next to --accent #5e9bdb reads as a mismatch, not as branding.
   Height is padded to match .btn so the hero row centers on one baseline. */
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: var(--muted);
  transition: color 0.3s ease;
}
.icon-link:hover { color: var(--accent); }
.icon-link svg { width: 21px; height: 21px; display: block; fill: currentColor; }


/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding: 140px var(--gutter) 120px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; pointer-events: none; }
.hero__canvas canvas { display: block; width: 100%; height: 100%; }
.hero__body { position: relative; }

/* The accent-blue mono labels. IBM Plex Mono at 400 in a mid-blue on near-black
   is thin enough to strain, so these run one size up at 600. */
.eyebrow {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--accent-ok);
  margin: 0 0 28px;
}

.hero__title {
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 300;
  line-height: 1.08;
  margin: 0 0 32px;
  letter-spacing: -0.01em;
  max-width: 900px;
  text-wrap: pretty;
}
.hero__lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 44px;
  font-weight: 300;
}
.hero__actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }


/* ---------------------------------------------------------------- sections */

.section { padding: 110px var(--gutter); }
.section--bordered { border-bottom: 1px solid var(--line); }

.section__title {
  font-size: 38px;
  font-weight: 300;
  margin: 0 0 72px;
  max-width: 640px;
  line-height: 1.2;
}
.section .eyebrow { margin-bottom: 20px; }


/* ---------------------------------------------------------------- services */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: var(--bg);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 300px;
  transition: background 0.25s ease;
}
.service:hover { background: var(--bg-hover); }
.service__num { font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: 0.2em; }
.service__eyebrow { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.2em; color: var(--accent-ok); }
.service__title { font-size: 22px; font-weight: 400; margin: 0; line-height: 1.3; }
.service__body { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0; font-weight: 300; }


/* ------------------------------------------------------------------- about */

.about {
  border-bottom: 1px solid var(--line-2);
  background:
    var(--grain-soft) var(--grain-tile),
    linear-gradient(rgba(var(--accent-rgb),0.035) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(var(--accent-rgb),0.035) 1px, transparent 1px) 0 0 / 56px 100%,
    var(--bg-about);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.about .eyebrow { margin: 0; }
.about__lead { font-size: 26px; font-weight: 300; line-height: 1.5; margin: 0 0 28px; text-wrap: pretty; }
.about__body { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0; font-weight: 300; }


/* ---------------------------------------------------------------- partners */

.partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  position: relative;
  /* One column, and the distance from one column's left edge to the next. */
  --col-w: calc((100% - 2 * var(--gap)) / 3);
  --col-step: calc(var(--col-w) + var(--gap));
}

.partner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 1;
  transition: opacity 0.35s ease;
}
.partners.is-hovering .partner { opacity: 0.12; }
.partners.is-hovering .partner.is-active { opacity: 1; }

.partner__frame {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  background: var(--bg-hover);
  --bw: 16px;
  --bt: 3px;
  --bi: 8px;
}
.partner__frame .bracket { z-index: 1; }
/* Grain over the photo: an overlay-blended pass for contrast, then a flat
   pass so the shadows get texture too. Both sit above the (static) img and
   below the brackets, which carry z-index: 1. */
.partner__frame::before,
.partner__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.partner__frame::before { background: var(--grain) var(--grain-tile); mix-blend-mode: overlay; }
.partner__frame::after  { background: var(--grain-soft) var(--grain-tile); }
.partner__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.35s ease;
}
.partners.is-hovering .partner:not(.is-active) .partner__frame img {
  filter: grayscale(1) contrast(1.05) brightness(0.5);
}

.partner__name { font-size: 20px; font-weight: 500; margin: 0 0 6px; }
.partner__role {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent-ok);
  margin-bottom: 12px;
}
.partner__bio { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0; font-weight: 300; }


/* Hover detail: two panels that occupy the columns the hovered partner isn't in. */

.detail {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.detail.is-open { opacity: 1; transform: translateY(0); }

.detail__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--col-w);
  box-sizing: border-box;
  transition: left 0.4s ease;
  background: rgba(10,10,12,0.96);
  border: 1px solid var(--line-2);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  --bw: 16px;
  --bt: 3px;
  --bi: 8px;
}
.detail__panel--bio   { left: calc(var(--bio-col, 1) * var(--col-step)); }
.detail__panel--logos { left: calc(var(--logo-col, 2) * var(--col-step)); }

.detail__name { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.22em; color: var(--accent-ok); }
.detail__bio { font-size: 15px; line-height: 1.75; color: var(--ink-soft); margin: 0; font-weight: 300; }
.detail__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; color: var(--dim); }

.detail__logos { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.detail__logos figure { margin: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.detail__logos figure[hidden] { display: none; }
.detail__logos img { height: var(--h, 72px); width: auto; filter: var(--f, grayscale(1)); }


/* ---------------------------------------------------------------- directors */
/* A second tier under the partner row. The partner grid is built around
   exactly three cards — the hover panels fill the columns the hovered card
   vacates — so a fourth person goes in their own row rather than a fourth
   column. */

.tier { display: flex; align-items: center; gap: 20px; margin: 96px 0 44px; }
.tier__label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--dim);
}
.tier__rule { flex: 1; height: 1px; background: var(--line-2); }

/* Same three columns as .partners, so the portrait lines up with Kevin's. */
.director {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  align-items: start;
}
.director__body { grid-column: 2 / -1; }

/* Across two columns the 14px card bio runs well past a readable measure, so
   it takes the hover panel's larger treatment instead. */
.director__body .partner__bio {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 62ch;
  margin-bottom: 32px;
}
.director__body .detail__label { display: block; margin-bottom: 16px; }

.director__logos { display: flex; align-items: center; gap: 28px; }
.director__logos figure { margin: 0; }
.director__logos img { height: var(--h, 72px); width: auto; filter: var(--f, grayscale(1)); }


/* ----------------------------------------------------------------- contact */

.contact__inner { text-align: center; }
.contact { padding-top: 130px; padding-bottom: 130px; }
.contact .eyebrow { margin-bottom: 24px; }
.contact__title { font-size: clamp(36px, 5vw, 56px); font-weight: 300; margin: 0 0 24px; }
.contact__body {
  font-size: 17px;
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 44px;
  line-height: 1.6;
  font-weight: 300;
}


/* ------------------------------------------------------------------ footer */

.footer { padding: 64px var(--gutter) 48px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 64px; }

.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer__logo {
  position: relative;
  background: var(--grain-strong) var(--grain-tile), var(--accent-ok);
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  --bw: 4px;
  --bt: 1px;
  --bi: 1.5px;
  --bc: var(--bg);
}
.footer__mark { font-family: var(--display); font-size: 12px; color: var(--bg); letter-spacing: 0.06em; line-height: 1; }
.footer__name { font-family: var(--display); font-size: 12px; letter-spacing: 0.14em; line-height: 1.1; display: block; }
.footer__sub { font-size: 8px; font-family: var(--mono); color: var(--dim); letter-spacing: 0.42em; margin-top: 4px; display: block; }
.footer__blurb { font-size: 13px; line-height: 1.7; color: var(--dim); margin: 0; max-width: 360px; font-weight: 300; }

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.footer__col a { color: var(--muted); }
.footer__head { color: var(--faint); margin-bottom: 4px; }

.footer__legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--faint);
}


/* ------------------------------------------------------------- responsive */
/* The source design is desktop-only; these breakpoints keep it usable below
   1024px without changing the desktop composition. */

@media (max-width: 1024px) {
  :root { --gutter: 32px; --gap: 32px; }

  .services { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 100px; padding-bottom: 90px; }
  /* The scope is anchored to the right of the hero; below this it fights the copy. */
  .hero__canvas { opacity: 0.35; }
}

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav {
    flex-wrap: wrap;
    row-gap: 0;
  }
  .nav__links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0 8px;
  }
  .nav__links.is-open { display: flex; }

  .services { grid-template-columns: 1fr; }
  .service { min-height: 0; }

  .partners { grid-template-columns: 1fr; gap: 56px; }
  .partner { opacity: 1 !important; }
  .partner__frame { max-width: 340px; }
  .partner__frame img { filter: grayscale(1) contrast(1.05) !important; }
  /* No hover on touch — the bio is already on the card. */
  .detail { display: none; }

  .tier { margin: 64px 0 36px; }
  .director { grid-template-columns: 1fr; gap: 18px; }
  .director__body { grid-column: 1; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__grid > :first-child { grid-column: 1 / -1; }

  .section { padding-top: 80px; padding-bottom: 80px; }
  .section__title { font-size: 30px; margin-bottom: 48px; }
}

@media (max-width: 520px) {
  :root { --gutter: 20px; }
  .hero { padding-top: 72px; padding-bottom: 72px; }
  .hero__canvas { display: none; }
  .hero__actions .btn { width: 100%; text-align: center; }
  /* Flush with the stacked buttons' left edge, but keep a 44px tap target. */
  .hero__actions .icon-link { padding-left: 0; min-width: 44px; justify-content: flex-start; }
  .footer__grid { grid-template-columns: 1fr; }
}


/* --------------------------------------------------------- reduced motion */

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
