/* =========================================================
   Admin and Holding Houses LLC — Brand: 03 · Ligadura AH
   Private equity · minimal
   ========================================================= */

/* Inter Tight (variable, SIL Open Font License 1.1, see /assets/fonts/OFL.txt) — self-hosted, no requests to Google */
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-tight-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --onyx: #0b0b0c;
  --platinum: #d9dce1;
  --steel: #2f3b4a;
  --paper: #f4f4f2;
  --taupe: #8b8680;
  --line-dark: rgba(217, 220, 225, 0.14);
  --line-light: rgba(11, 11, 12, 0.12);

  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --nav-h: 76px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--onyx);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--steel); color: var(--paper); }

:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--onyx); padding: 10px 14px;
}
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--taupe);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}
.display {
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0;
}
.h2 {
  font-weight: 300;
  font-size: clamp(36px, 5.4vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 18px 0 0;
}
.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: #3b3b3e;
  max-width: 34em;
}
.tracked { letter-spacing: 0.32em; text-transform: uppercase; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--platinum);
  --fg: var(--onyx);
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 26px;
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg); background: var(--bg);
  border: 1px solid var(--bg);
  overflow: hidden; isolation: isolate;
  transition: color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--steel);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.6s var(--ease-out);
}
.btn:hover { color: var(--paper); border-color: var(--steel); }
.btn:hover::after { transform: scaleX(1); transform-origin: left; }
.btn .arrow { transition: transform 0.5s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--platinum); border-color: var(--line-dark); }
.btn--dark { --bg: var(--onyx); --fg: var(--paper); }

.link-line {
  position: relative; display: inline-block;
}
.link-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.link-line:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  color: var(--platinum);
  transition: background 0.5s var(--ease-out), color 0.5s var(--ease-out), border-color 0.5s, transform 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 11, 12, 0.92);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line-dark);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand svg { width: 40px; height: 34px; }
.brand__rule { width: 1px; height: 30px; background: var(--line-dark); }
.brand__name { font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase; line-height: 1.5; }
.nav__links { display: flex; align-items: center; gap: 34px; font-size: 13px; letter-spacing: 0.12em; }
.nav__links a { opacity: 0.8; transition: opacity 0.3s; }
.nav__links a:hover { opacity: 1; }
.lang { display: flex; gap: 6px; font-size: 12px; letter-spacing: 0.18em; }
.lang a { opacity: 0.62; }
.lang a[aria-current="true"] { opacity: 1; }
.lang span { opacity: 0.3; }

.menu-btn {
  display: none;
  width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer;
  position: relative;
}
.menu-btn span {
  position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor;
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out);
}
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; }
.nav.is-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav.is-open .menu-btn span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .menu-btn { display: block; }
  .brand__rule, .brand__name { display: none; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 12px var(--gutter) 32px;
    background: var(--onyx);
    border-bottom: 1px solid var(--line-dark);
    font-size: 24px; font-weight: 300; letter-spacing: -0.01em;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.6s var(--ease-out);
  }
  .nav__links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line-dark); opacity: 1; }
  .nav__links .lang { padding-top: 20px; font-size: 13px; }
  .nav__links .lang a { width: auto; border: 0; padding: 0; }
  .nav.is-open { background: var(--onyx); }
  .nav.is-open .nav__links { clip-path: inset(0 0 0 0); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--onyx);
  color: var(--platinum);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 40px) 0 0;
  overflow: hidden;
}
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 2s var(--ease-out) 0.6s;
}
.is-loaded .hero__canvas { opacity: 1; }
.hero::before {
  /* vignette + steel glow */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(60% 50% at 78% 40%, rgba(47, 59, 74, 0.55), transparent 70%),
    radial-gradient(120% 80% at 50% 120%, var(--onyx) 30%, transparent 70%);
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.7fr 1fr; gap: 48px; align-items: end;
  padding-bottom: clamp(48px, 9vh, 110px);
}
.hero__title { font-size: clamp(40px, 6.4vw, 108px); color: var(--platinum); white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 881px) { .hero__title { font-size: 6vw; } }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; }
.hero__title .w > span {
  display: inline-block; transform: translateY(105%);
  transition: transform 1.2s var(--ease-out);
  transition-delay: calc(0.9s + var(--i) * 0.09s);
}
.is-loaded .hero__title .w > span { transform: none; }
.hero__title em { font-style: normal; color: #8f97a3; }

.hero__side { display: flex; flex-direction: column; gap: 32px; padding-bottom: 12px; }
.hero__side p { margin: 0; color: rgba(217, 220, 225, 0.72); max-width: 30em; font-size: clamp(17px, 1.4vw, 19px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__mark {
  width: clamp(120px, 18vw, 260px);
  margin-bottom: clamp(8px, 4vh, 48px);
  color: var(--platinum);
  overflow: visible;
}
.hero__side > .hero__mark { opacity: 1; transform: none; }
.hero__mark path {
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: square; stroke-linejoin: miter;
  stroke-dasharray: var(--len); stroke-dashoffset: var(--len);
}
.is-loaded .hero__mark path { animation: draw 1.6s var(--ease-in-out) forwards; }
.is-loaded .hero__mark .p-a { animation-delay: 0.1s; }
.is-loaded .hero__mark .p-h { animation-delay: 0.5s; }
.is-loaded .hero__mark .p-bar { animation-delay: 1.15s; animation-duration: 1.1s; stroke: #aab3c0; }
.hero__mark .pulse {
  fill: var(--platinum); opacity: 0;
  offset-path: path("M20 55 L120 55");
}
.is-loaded .hero__mark .pulse { animation: travel 3.6s var(--ease-in-out) 2.4s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes travel {
  0% { offset-distance: 0%; opacity: 0; }
  12% { opacity: 1; }
  60% { offset-distance: 100%; opacity: 1; }
  70%, 100% { offset-distance: 100%; opacity: 0; }
}

.hero__meta {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; gap: 24px;
  padding: 18px 0;
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(217, 220, 225, 0.62);
}
.hero__meta > * { opacity: 0; transform: translateY(10px); transition: all 1s var(--ease-out) 1.8s; }
.is-loaded .hero__meta > * { opacity: 1; transform: none; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i {
  width: 1px; height: 22px; background: var(--line-dark); position: relative; overflow: hidden;
}
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 1px; height: 100%;
  background: var(--platinum); animation: cue 2.2s var(--ease-in-out) infinite;
}
@keyframes cue { to { top: 100%; } }

.hero__side > * { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.is-loaded .hero__side > * { opacity: 1; transform: none; }
.is-loaded .hero__side > *:nth-child(2) { transition-delay: 1.5s; }
.is-loaded .hero__side > *:nth-child(3) { transition-delay: 1.65s; }

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__side { gap: 24px; }
  .hero__mark { width: 84px; margin: 0; }
  .hero__meta .hide-sm { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--onyx); color: var(--platinum);
  border-top: 1px solid var(--line-dark);
  overflow: hidden; padding: 26px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 48px; padding-right: 48px;
  font-size: clamp(22px, 3vw, 38px); font-weight: 300; letter-spacing: -0.01em; white-space: nowrap;
}
.marquee__track span::after { content: ""; width: 34px; height: 1px; background: var(--taupe); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 14vw, 180px) 0; position: relative; }
.section--dark { background: var(--onyx); color: var(--platinum); }
.section--dark .lead { color: rgba(217, 220, 225, 0.68); }
.section--white { background: #fff; }

.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end;
  margin-bottom: clamp(56px, 8vw, 96px);
}
@media (max-width: 880px) { .section-head { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 0.08s);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-out); }
[data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.split .w > span {
  display: inline-block; transform: translateY(105%);
  transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 0.05s);
}
.split.is-in .w > span { transform: none; }

/* ---------- Structure (holding diagram) ---------- */
.structure { position: relative; }
.structure__rail {
  position: relative; height: 1px; background: var(--line-light); margin-bottom: 0;
}
.structure__rail::after {
  content: ""; position: absolute; inset: 0; background: var(--onyx);
  transform: scaleX(var(--p, 0)); transform-origin: left;
}
.structure__cols { display: grid; grid-template-columns: repeat(3, 1fr); }
}
.division {
  position: relative;
  padding: 44px 36px 48px 0;
  border-right: 1px solid var(--line-light);
  margin-right: 36px;
}
.division:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.division__node {
  position: absolute; top: -5px; left: 0;
  width: 9px; height: 9px; background: var(--paper); border: 1px solid var(--onyx);
  transition: background 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.division.is-on .division__node { background: var(--onyx); transform: rotate(45deg); }
.division__num { font-size: 12px; letter-spacing: 0.24em; color: var(--taupe); }
.division__name {
  margin: 22px 0 6px; font-weight: 300; font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -0.02em; line-height: 1.1;
}
.division__name small { display: block; font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--taupe); margin-bottom: 10px; font-weight: 400; }
.division p { color: #4a4a4e; margin: 18px 0 0; font-size: 16px; max-width: 26em; }
.division ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-light); }
.division li {
  font-size: 13.5px; padding: 12px 0; border-bottom: 1px solid var(--line-light);
  display: flex; justify-content: space-between; gap: 12px;
  transition: padding 0.4s var(--ease-out), color 0.4s;
}
.division li span:last-child { color: var(--taupe); white-space: nowrap; }
.division li:hover { padding-left: 8px; color: var(--steel); }

@media (max-width: 880px) {
  .structure__rail { display: none; }
  .structure__cols { grid-template-columns: 1fr; border-left: 1px solid var(--line-light); }
  .division { border-right: 0; margin: 0; padding: 0 0 56px 28px; }
  .division__node { left: -5px; top: 4px; }
}

/* ---------- Principles (sticky) ---------- */
.principles { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 8vw, 120px); }
.principles__head { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; }
.principle {
  display: grid; grid-template-columns: 64px 1fr; gap: 12px;
  padding: 36px 0; border-top: 1px solid var(--line-dark);
}
.principle:last-child { border-bottom: 1px solid var(--line-dark); }
.principle__n { font-size: 12px; letter-spacing: 0.2em; color: var(--taupe); padding-top: 8px; }
.principle h3 { margin: 0 0 10px; font-weight: 300; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.02em; line-height: 1.15; }
.principle p { margin: 0; color: rgba(217, 220, 225, 0.62); font-size: 16px; }
@media (max-width: 880px) {
  .principles { grid-template-columns: 1fr; }
  .principles__head { position: static; }
  .principle { grid-template-columns: 44px 1fr; }
}

/* ---------- Figures ---------- */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); margin-top: clamp(64px, 9vw, 120px); }
.figure { padding: 40px 24px 8px 0; border-right: 1px solid var(--line-light); margin-right: 24px; }
.figure:last-child { border-right: 0; margin-right: 0; }
.figure__n { font-weight: 300; font-size: clamp(56px, 7vw, 104px); letter-spacing: -0.04em; line-height: 1; }
.figure__n sup { font-size: 0.4em; vertical-align: top; position: relative; top: 0.25em; margin-left: 4px; color: var(--taupe); }
.figure__l { margin-top: 14px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--taupe); max-width: 16em; }
@media (max-width: 880px) {
  .figures { grid-template-columns: 1fr 1fr; }
  .figure:nth-child(2n) { border-right: 0; margin-right: 0; }
}

/* ---------- Enquiry form ---------- */
.form { background: #fff; padding: clamp(24px, 4vw, 52px); display: grid; gap: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field__l { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--taupe); padding: 0; }
.field__l em { font-style: normal; letter-spacing: 0.08em; text-transform: none; opacity: 0.8; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--onyx);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-light); border-radius: 0;
  padding: 10px 0 12px; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color 0.4s var(--ease-out);
  background-image: linear-gradient(var(--onyx), var(--onyx));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1px;
  transition: background-size 0.6s var(--ease-out), border-color 0.4s;
}
.field select {
  cursor: pointer;
  background-image: linear-gradient(var(--onyx), var(--onyx)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238B8680'/%3E%3C/svg%3E");
  background-position: 0 100%, right 4px center; background-size: 0% 1px, 12px 8px;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { background-size: 100% 1px; }
.field select:focus { background-size: 100% 1px, 12px 8px; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #9b3b32; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { margin-bottom: 12px; width: 100%; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: 10px 18px; font-size: 14px; border: 1px solid var(--line-light);
  transition: background 0.4s var(--ease-out), color 0.4s, border-color 0.4s;
}
.chips label:hover span { border-color: var(--onyx); }
.chips input:checked + span { background: var(--onyx); color: var(--paper); border-color: var(--onyx); }
.chips input:focus-visible + span { outline: 1px solid var(--onyx); outline-offset: 3px; }
.chips.is-invalid span { border-color: #9b3b32; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 14px; font-size: 14px; color: #4a4a4e; cursor: pointer; line-height: 1.5; }
.check input {
  -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin: 2px 0 0;
  border: 1px solid var(--taupe); display: grid; place-items: center; cursor: pointer; transition: background 0.3s;
}
.check input::after { content: ""; width: 8px; height: 4px; border: solid var(--paper); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg) translateY(-1px) scale(0); transition: transform 0.3s var(--ease-out); }
.check input:checked { background: var(--onyx); border-color: var(--onyx); }
.check input:checked::after { transform: rotate(-45deg) translateY(-1px) scale(1); }
.check.is-invalid input { border-color: #9b3b32; }
.form__foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
.form__status { margin: 0; font-size: 14px; color: var(--steel); }
.form__status.is-error { color: #9b3b32; }
.form__note { margin: 0; font-size: 12px; color: var(--taupe); }
.form.is-sending .btn { pointer-events: none; opacity: 0.6; }
.form.is-sent > *:not(.form__done) { display: none; }
.form__done { display: none; }
.form.is-sent .form__done { display: block; animation: rise 0.9s var(--ease-out) both; }
.form__done h3 { font-weight: 300; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.025em; margin: 18px 0 12px; line-height: 1.1; }
.form__done p { margin: 0; color: #4a4a4e; }
.form__done svg { width: 56px; }
.form__done path { fill: none; stroke: var(--onyx); stroke-width: 4; stroke-dasharray: 340; stroke-dashoffset: 340; }
.form.is-sent .form__done path { animation: draw 1.4s var(--ease-in-out) 0.2s forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 880px) {
  .form__row { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact { padding-bottom: 0; overflow: hidden; }
.contact__title { font-size: clamp(48px, 9vw, 140px); color: var(--platinum); }
.contact__mail {
  display: inline-flex; align-items: center; gap: 18px; margin-top: 48px;
  font-size: clamp(20px, 2.6vw, 34px); font-weight: 300; letter-spacing: -0.01em;
}
.contact__mail .arrow-c {
  width: 56px; height: 56px; border: 1px solid var(--line-dark); border-radius: 50%;
  display: grid; place-items: center; transition: background 0.5s var(--ease-out), color 0.5s, transform 0.5s var(--ease-out);
}
.contact__mail:hover .arrow-c { background: var(--platinum); color: var(--onyx); transform: rotate(-45deg); }
.contact__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: clamp(72px, 10vw, 120px); padding: 36px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 15px; color: rgba(217, 220, 225, 0.7);
}
.contact__grid h4 { margin: 0 0 10px; font-weight: 400; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--taupe); }
.contact__grid p { margin: 0; }
@media (max-width: 880px) { .contact__grid { grid-template-columns: 1fr; } }

.bigmark {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--line-dark);
  color: var(--platinum);
}
.bigmark svg { width: clamp(80px, 14vw, 180px); flex: none; }
.bigmark svg path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: square; }
.bigmark__rule { width: 1px; align-self: stretch; background: var(--line-dark); }
.bigmark__name { font-size: clamp(14px, 2.6vw, 34px); letter-spacing: 0.34em; text-transform: uppercase; line-height: 1.5; font-weight: 300; }

/* ---------- Footer ---------- */
.footer {
  background: var(--onyx); color: rgba(217, 220, 225, 0.62);
  font-size: 12px; letter-spacing: 0.04em;
}
.footer__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding: 24px 0 32px; border-top: 1px solid var(--line-dark);
}
.footer__disc { max-width: 60em; }


/* ---------- Hero eyebrow ---------- */
.hero__eyebrow { color: rgba(217, 220, 225, 0.62); margin-bottom: clamp(20px, 3vh, 36px); opacity: 0; transition: opacity 1s var(--ease-out) 0.6s; }
.is-loaded .hero__eyebrow { opacity: 1; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.about__body p { margin: 0 0 1.2em; font-size: clamp(17px, 1.4vw, 19px); color: #3b3b3e; max-width: 34em; }
.about__body p:first-child { font-size: clamp(20px, 1.9vw, 25px); font-weight: 300; color: var(--onyx); line-height: 1.45; letter-spacing: -0.01em; }
@media (max-width: 880px) { .about { grid-template-columns: 1fr; } }

.areas__note { margin: 40px 0 0; font-size: 14px; color: var(--taupe); display: flex; align-items: center; gap: 14px; }
.areas__note::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }

/* ---------- Contact ---------- */
.contact__layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact__intro .lead { margin-top: 28px; }
.contact__details { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line-dark); }
.contact__details li { padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; color: rgba(217, 220, 225, 0.75); }
.contact__details a { color: var(--platinum); }
@media (max-width: 880px) { .contact__layout { grid-template-columns: 1fr; } }

/* dark form */
.form--dark { background: transparent; padding: 0; }
.form--dark .field input, .form--dark .field textarea {
  color: var(--platinum); border-bottom-color: var(--line-dark);
  background-image: linear-gradient(var(--platinum), var(--platinum));
}
.form--dark .field__l { color: rgba(217, 220, 225, 0.62); }
.form--dark .check { color: rgba(217, 220, 225, 0.7); }
.form--dark .check input { border-color: rgba(217, 220, 225, 0.55); }
.form--dark .check input::after { border-color: var(--onyx); }
.form--dark .check input:checked { background: var(--platinum); border-color: var(--platinum); }
.form--dark .form__status { color: rgba(217, 220, 225, 0.8); }
.form--dark .form__done h3 { color: var(--platinum); }
.form--dark .form__done p { color: rgba(217, 220, 225, 0.7); }
.form--dark .form__done path { stroke: var(--platinum); }
.form--dark .field.is-invalid input, .form--dark .field.is-invalid textarea { border-color: #d98b80; }
.field__err { font-size: 12.5px; color: #9b3b32; min-height: 0; }
.form--dark .field__err, .form--dark .form__status.is-error { color: #e0a39a; }
.field__err:empty { display: none; }

/* ---------- Footer (extended) ---------- */
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; padding: 28px 0 20px; border-top: 1px solid var(--line-dark); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a, .footer__links button { color: rgba(217, 220, 225, 0.7); }
.footer__links button { all: unset; cursor: pointer; color: rgba(217, 220, 225, 0.7); position: relative; }
.footer__links button:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; padding: 0 0 32px; }
.footer__small { max-width: 62em; font-size: 11.5px; line-height: 1.6; color: rgba(217, 220, 225, 0.6); }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; z-index: 80; left: var(--gutter); right: var(--gutter); bottom: 16px;
  max-width: 520px; margin-left: auto;
  background: var(--paper); color: var(--onyx); padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  transform: translateY(calc(100% + 40px)); transition: transform 0.7s var(--ease-out);
}
.cookie.is-open { transform: none; }
.cookie h2 { margin: 0 0 8px; font-weight: 400; font-size: 18px; letter-spacing: -0.01em; }
.cookie p { margin: 0; font-size: 13.5px; color: #4a4a4e; line-height: 1.55; }
.cookie p a { text-decoration: underline; text-underline-offset: 3px; }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cookie .btn { padding: 12px 16px; font-size: 11px; letter-spacing: 0.18em; }
.cookie .btn--line { --bg: transparent; --fg: var(--onyx); border-color: var(--line-light); }
.cookie__panel { display: none; margin-top: 18px; border-top: 1px solid var(--line-light); }
.cookie.is-custom .cookie__panel { display: block; }
.cookie.is-custom .cookie__btns--main { display: none; }
.cookie__opt { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.cookie__opt strong { font-weight: 500; font-size: 14px; }
.cookie__opt > span:not(.switch) { grid-column: 1; font-size: 12.5px; color: #4a4a4e; }
.cookie__opt { cursor: default; }
label.cookie__opt { cursor: pointer; }
.cookie__opt em { font-style: normal; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); grid-row: 1; grid-column: 2; align-self: center; }
.switch { grid-row: 1 / span 2; grid-column: 2; align-self: center; position: relative; width: 40px; height: 22px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border: 1px solid var(--taupe); border-radius: 11px; transition: background 0.3s; pointer-events: none; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--taupe); transition: transform 0.35s var(--ease-out), background 0.3s; }
.switch input:checked + i { background: var(--onyx); border-color: var(--onyx); }
.switch input:checked + i::after { transform: translateX(18px); background: var(--paper); }
.switch input:disabled { cursor: not-allowed; }
.switch input:focus-visible + i { outline: 1px solid var(--onyx); outline-offset: 3px; }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; background: var(--onyx); color: var(--platinum); display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 60px; }
.nf__mark { width: clamp(100px, 14vw, 160px); margin-bottom: 40px; }
.nf__mark path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: square; }
.nf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.nf h1 { font-weight: 300; font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.03em; line-height: 1.05; margin: 16px 0 16px; }
.nf p { color: rgba(217, 220, 225, 0.65); margin: 0 0 32px; }
@media (max-width: 880px) { .nf__grid { grid-template-columns: 1fr; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .hero__mark path { stroke-dashoffset: 0; }
  .hero__mark .pulse { display: none; }
  .marquee__track { animation: none; }
}

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--onyx); color: var(--platinum); padding: calc(var(--nav-h) + clamp(56px, 10vw, 120px)) 0 clamp(48px, 7vw, 80px); }
.legal-hero h1 { font-size: clamp(44px, 7vw, 96px); margin-top: 20px; }
.legal-hero p { color: rgba(217, 220, 225, 0.6); margin: 24px 0 0; font-size: 14px; }
.legal { max-width: 760px; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(80px, 10vw, 140px); }
.legal h2 { font-weight: 400; font-size: 22px; letter-spacing: -0.01em; margin: 48px 0 12px; }
.legal p, .legal li { color: #3b3b3e; }
.legal ul { padding-left: 20px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal { max-width: 860px; }
.legal h3 { font-weight: 500; font-size: 16px; margin: 0 0 4px; }
.legal__intro { font-size: clamp(18px, 1.6vw, 21px); font-weight: 300; line-height: 1.55; color: var(--onyx) !important; margin-top: 0; }
.legal__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.legal__cards > div { background: #fff; padding: 20px; border-top: 2px solid var(--onyx); }
.legal__cards > div:nth-child(2) { border-top-color: var(--steel); }
.legal__cards > div:nth-child(3) { border-top-color: var(--taupe); }
.legal__cards p { font-size: 14px; margin: 0; }
.legal__tag { font-size: 11px !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe) !important; margin: 0 0 12px !important; }
.legal__table { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line-light); background: #fff; }
.legal__table:focus-visible { outline: 1px solid var(--onyx); }
.legal table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 13.5px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line-light); }
.legal th { font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); background: var(--paper); }
.legal tr:last-child td { border-bottom: 0; }
.legal code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; background: var(--paper); padding: 2px 6px; }
.legal .btn { text-decoration: none; }
@media (max-width: 760px) { .legal__cards { grid-template-columns: 1fr; } }


/* Accessibility: on light backgrounds the brand taupe (#8B8680) is 3.3:1 —
   use a slightly deeper taupe for text so small labels meet WCAG AA (≥ 4.5:1). */
.section:not(.section--dark), .legal, .cookie, .form:not(.form--dark) { --taupe: #706B64; }

/* =========================================================
   Responsive refinements
   ========================================================= */

/* Mobile menu never taller than the screen (phones in landscape) */
@media (max-width: 880px) {
  .nav__links { max-height: calc(100svh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain; }
}

/* Phones in landscape / very short screens: compact hero, two columns */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { padding-top: calc(var(--nav-h) + 16px); }
  .hero__grid { grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: end; padding-bottom: 28px; }
  .hero__title { font-size: clamp(30px, 9vh, 48px); }
  .hero__eyebrow { margin-bottom: 12px; }
  .hero__mark { display: none; }
  .hero__side { gap: 16px; }
  .hero__side p { font-size: 15px; }
  .hero__meta { padding: 12px 0; }
  .section { padding: 72px 0; }
  .principles__head { position: static; }
}

/* Small phones (≤ 400px) */
@media (max-width: 400px) {
  :root { --nav-h: 64px; }
  .hero__eyebrow { letter-spacing: 0.2em; }
  .hero__eyebrow::before { width: 18px; }
  .btn { padding: 15px 20px; letter-spacing: 0.18em; }
  .contact__details li { word-break: break-word; }
}

/* Cookie banner: compact on phones, equal-width buttons */
@media (max-width: 560px) {
  .cookie { left: 8px; right: 8px; bottom: 8px; padding: 18px; max-height: calc(100svh - 16px); overflow-y: auto; }
  .cookie h2 { font-size: 16px; }
  .cookie p { font-size: 12.5px; line-height: 1.5; }
  .cookie__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px; }
  .cookie__btns .btn { justify-content: center; padding: 12px 6px; letter-spacing: 0.08em; white-space: nowrap; }
  .cookie__btns [data-c="custom"], .cookie__btns [data-c="save"] { grid-column: 1 / -1; }
}

/* Touch screens: larger checkboxes and switches */
@media (pointer: coarse) {
  .check { grid-template-columns: 24px 1fr; }
  .check input { width: 22px; height: 22px; margin-top: 0; }
  .check input::after { width: 10px; height: 5px; }
  .footer__links a, .footer__links button { padding: 6px 0; }
}

/* Large and ultra-wide screens: use more of the width, keep proportions */
@media (min-width: 1680px) {
  :root { --max: 1480px; }
  body { font-size: 18px; }
}
@media (min-width: 2200px) {
  :root { --max: 1720px; }
  .hero__title { font-size: 128px; }
}

/* Form: first-layer data-protection info + required note */
.form__info { margin: 4px 0 0; padding: 14px 16px; font-size: 12.5px; line-height: 1.55; border-left: 1px solid var(--taupe); color: #4a4a4e; }
.form--dark .form__info { color: rgba(217, 220, 225, 0.68); border-left-color: rgba(217, 220, 225, 0.3); background: rgba(217, 220, 225, 0.04); }
.form__info strong { font-weight: 500; color: inherit; }
.form__req { margin: -8px 0 0; font-size: 12px; color: rgba(217, 220, 225, 0.62); }
.form:not(.form--dark) .form__req { color: var(--taupe); }
.form.is-sent .form__info, .form.is-sent .form__req { display: none; }
.legal__more { font-size: 14px; color: var(--taupe) !important; }
