/* Hidrah Properties — site.css
   Edit here, then `python3 _src/build.py`. Never edit web/assets/css directly. */

:root {
  --ink: #0d0e10;
  --ink-2: #16181b;
  --ink-3: #22252a;
  --ink-line: rgba(255, 255, 255, .1);
  --paper: #faf9f4;        /* page ground — lighter than before */
  --paper-2: #f2f0e6;
  --tint: #f5f3e9;         /* warm band, replaces the old black sections */
  --tint-2: #efedE1;
  --card: #ffffff;
  --white: #ffffff;
  --line: rgba(13, 14, 16, .12);
  --muted: #5a5e66;
  --muted-2: #686c75;      /* AA on every band: 4.6:1 on paper-2, 5.0:1 on paper */
  --muted-dark: #a3a7ad;
  --yellow: #efec5d;          /* brand yellow, sampled from the live site */
  --yellow-2: #f6f49a;
  --yellow-deep: #d8d431;   /* darker brand yellow: sliders, bars, meters on light */
  --yellow-ink: #6e6a00;      /* yellow-family text that passes AA on paper */
  --roof: #b8bbbf;            /* the logo's grey roof */

  --f-display: "Sora", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --sec: clamp(80px, 11vw, 150px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 30px 60px -30px rgba(13, 14, 16, .35);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.sec-light :focus-visible, .paper :focus-visible { outline-color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(44px, 7.4vw, 104px); }
h2 { font-size: clamp(34px, 5vw, 64px); }
h3 { font-size: clamp(21px, 2vw, 26px); letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 60ch; }


.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: var(--sec) 0; position: relative; }
.sec-tint { background: var(--tint); }
.sec-tint2 { background: var(--paper-2); }
.sec-paper2 { background: var(--paper-2); }
.sec-white { background: var(--white); }
.sec-yellow { background: var(--yellow); color: var(--ink); }

/* Kicker: "01 — Deal sourcing" in mono */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 12.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 26px;
}
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--yellow); border-radius: 2px; }
.kicker b { font-weight: 500; color: var(--ink); }

/* The logo's yellow underline swoosh, reused as a highlight */
.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark::after {
  content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .06em; height: .2em;
  background: var(--yellow); border-radius: 99px; z-index: -1;
  transform-origin: left; transform: scaleX(0); transition: transform 1s .35s var(--ease);
}
.in .mark::after, .mark.in::after, .no-js .mark::after { transform: scaleX(1); }
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after {
  content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .06em; height: .2em;
  background: var(--yellow); border-radius: 99px; z-index: -1;
}

.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px 80px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head.single { grid-template-columns: 1fr; max-width: 900px; }
.section-head .lead { justify-self: start; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ buttons */
.btn {
  --bg: var(--yellow); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px; border-radius: 99px; border: 0;
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font: 600 15.5px/1 var(--f-body); letter-spacing: -.005em; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, box-shadow .35s var(--ease), color .25s;
  position: relative; isolation: isolate;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(239, 236, 93, .7); }
.btn .arr { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ink { --bg: var(--ink); --fg: #fff; }
.btn-ink:hover { box-shadow: 0 16px 30px -14px rgba(13, 14, 16, .6); }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(13, 14, 16, .22); }
.btn-ghost:hover { --bg: var(--ink); --fg: #fff; box-shadow: none; }
.btn-line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { --bg: var(--ink); --fg: #fff; box-shadow: none; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 600; font-size: 15.5px; border-bottom: 1.5px solid currentColor; padding-bottom: 3px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------------- header */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0); }

.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s, box-shadow .4s, transform .5s var(--ease);
}
.hdr-in { display: flex; align-items: center; gap: 28px; height: 84px; }
.hdr.scrolled { background: rgba(250, 249, 244, .88); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(13, 14, 16, .35); }
.hdr.scrolled .hdr-in { height: 70px; }
.hdr.hide { transform: translateY(-100%); }
.menu-open .hdr { transform: none; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hdr-in { transition: height .4s var(--ease); }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo svg.mk { width: 42px; height: 38px; }
.logo .wm { display: flex; flex-direction: column; line-height: 1; }
.logo .wm b { font: 700 19px/1 var(--f-display); letter-spacing: .01em; }
.logo .wm span { font: 500 9px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-top: 5px; }
.logo .wm span b { font-weight: 700; color: var(--ink); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500;
  padding: 10px 13px; border-radius: 99px; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: rgba(13, 14, 16, .06); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--yellow); }
.hdr .btn { margin-left: 8px; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(13,14,16,.06); cursor: pointer; position: relative; }
.burger i { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .2s; }
.burger i:nth-child(1) { top: 18px; } .burger i:nth-child(2) { top: 23px; } .burger i:nth-child(3) { top: 28px; }
.menu-open .burger i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .burger i:nth-child(2) { opacity: 0; }
.menu-open .burger i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 90; background: var(--paper); color: var(--ink);
  padding: 110px var(--gut) 40px; display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  overflow-y: auto;
}
.menu-open .mnav { opacity: 1; visibility: visible; }
.mnav a.m {
  font: 600 clamp(32px, 8vw, 46px)/1.1 var(--f-display); letter-spacing: -.03em; text-decoration: none;
  padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center;
  transform: translateY(20px); opacity: 0; transition: transform .5s var(--ease), opacity .5s;
}
.mnav a.m small { font: 500 12px var(--f-mono); color: var(--muted-2); letter-spacing: .1em; }
.menu-open .mnav a.m { transform: none; opacity: 1; }
.mnav .btn { margin-top: 26px; align-self: flex-start; }
@media (max-width: 1120px) {
  .nav, .hdr .btn-cta { display: none; }
  .burger { display: block; }
}

/* --------------------------------------------------------------------- hero */
.hero {
  position: relative; color: var(--ink); overflow: hidden;
  background:
    radial-gradient(90% 70% at 78% 18%, rgba(239, 236, 93, .30), transparent 62%),
    radial-gradient(70% 60% at 8% 92%, rgba(239, 236, 93, .14), transparent 60%),
    linear-gradient(180deg, #fffef7 0%, var(--paper) 55%, var(--paper-2) 100%);
  padding: clamp(130px, 16vw, 190px) 0 clamp(70px, 8vw, 110px);
  min-height: min(100svh, 1000px); display: flex; align-items: center;
}
.hero::before {                     /* architectural grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(13,14,16,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13,14,16,.05) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 5vw, 80px); align-items: center; position: relative; }
.hero h1 { margin-bottom: 30px; font-size: clamp(34px, 6.6vw, 96px); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero.in h1 .line > span { transform: none; }
.hero.in h1 .line:nth-child(2) > span { transition-delay: .09s; }
.hero.in h1 .line:nth-child(3) > span { transition-delay: .18s; }
.hero.in h1 .line:nth-child(4) > span { transition-delay: .27s; }
.hero .lead { color: var(--muted); margin-bottom: 40px; max-width: 52ch; }
.hero .btn-row { margin-bottom: 48px; }
.hero-meta { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-meta div { display: flex; flex-direction: column; gap: 6px; }
.hero-meta b { font: 600 30px/1 var(--f-display); letter-spacing: -.03em; }
.hero-meta span { font-size: 13px; color: var(--muted); }
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero.in .fade-up { opacity: 1; transform: none; }
.hero.in .d1 { transition-delay: .35s; } .hero.in .d2 { transition-delay: .5s; } .hero.in .d3 { transition-delay: .65s; }

/* Gable-framed image — the logo's house silhouette */
.gable { position: relative; aspect-ratio: 4 / 5; }
.gable .roof {
  position: absolute; left: -7%; right: -7%; top: -9%; aspect-ratio: 4 / 5; z-index: 2; pointer-events: none;
  background: var(--yellow);
  clip-path: polygon(50% 0, 100% 28%, 100% 29.8%, 50% 1.8%, 0 29.8%, 0 28%);
  opacity: 0; transform: translateY(18px); transition: opacity 1s .5s, transform 1.2s .5s var(--ease);
}
.in .gable .roof, .gable.in .roof { opacity: 1; transform: none; }
.gable .pic {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: polygon(50% 0, 100% 28%, 100% 100%, 0 100%, 0 28%);
  background: var(--ink-3);
}
.gable .pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 2.2s var(--ease); }
.gable .pic { box-shadow: 0 40px 70px -45px rgba(13, 14, 16, .55); }
.in .gable .pic img, .gable.in .pic img { transform: scale(1.001); }
.float {
  position: absolute; z-index: 3; background: rgba(255, 255, 255, .92); color: var(--ink);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px;
  display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.float .dot { width: 40px; height: 40px; border-radius: 12px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.float .dot svg { width: 20px; height: 20px; }
.float b { display: block; font: 600 20px/1.1 var(--f-display); letter-spacing: -.02em; }
.float span { font-size: 12.5px; color: var(--muted); }
.float.f1 { left: -12%; bottom: 20%; }
.float.f2 { right: -8%; bottom: -4%; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }
@media (max-width: 560px) {
  /* keep the floating cards inside the screen on a phone */
  .float { padding: 11px 14px; gap: 10px; max-width: 74%; }
  .float b { font-size: 17px; }
  .float span { font-size: 11.5px; }
  .float.f1 { left: 2%; bottom: 24%; }
  .float.f2 { right: 2%; bottom: -2%; }
}
@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 30px auto 0; width: 88%; }
  .float.f1 { left: -8%; }
  .float.f2 { right: -6%; }
}

/* Page hero (inner pages) */
.phero { background: var(--paper); color: var(--ink); position: relative; overflow: hidden; padding: clamp(150px, 17vw, 210px) 0 clamp(70px, 8vw, 110px); }
.phero .bg { position: absolute; inset: 0; }
.phero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.phero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--paper) 20%, rgba(250,249,244,.92) 42%, rgba(250,249,244,.55) 70%, rgba(250,249,244,.25)), linear-gradient(to top, var(--paper), rgba(250,249,244,.2) 45%, transparent); }
.phero .wrap { position: relative; }
.phero h1 { font-size: clamp(42px, 6.6vw, 92px); max-width: 15ch; margin-bottom: 28px; }
.phero .lead { color: var(--muted); margin-bottom: 36px; }
.crumbs { font: 500 12.5px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 28px; display: flex; gap: 10px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); }

/* ------------------------------------------------------------------ marquee */
.marquee { background: var(--yellow); color: var(--ink); overflow: hidden; padding: 20px 0; border-block: 1px solid rgba(0,0,0,.08); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: 600 clamp(20px, 2.4vw, 30px)/1 var(--f-display); letter-spacing: -.02em; padding: 0 28px; display: flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee span::after { content: ""; width: 14px; height: 14px; background: var(--ink); clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ------------------------------------------------------------------- reveal */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }
.no-js .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv, .fade-up, .hero h1 .line > span { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* -------------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 34px 28px 10px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 600 clamp(44px, 5.4vw, 72px)/1 var(--f-display); letter-spacing: -.045em; margin-bottom: 14px; }
.stat b sup { font-size: .42em; vertical-align: top; position: relative; top: .25em; margin-left: 2px; color: var(--muted); }
.stat span { font-size: 15px; color: var(--muted); display: block; max-width: 22ch; }

@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 16px 22px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(even) { padding-left: 18px !important; }
}
.fine { font-size: 13px; color: var(--muted-2); margin-top: 26px; max-width: 86ch; line-height: 1.6; }

/* -------------------------------------------------------------------- paths */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.path {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 560px;
  color: var(--ink); text-decoration: none; display: flex; flex-direction: column;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.path:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--line), 0 34px 60px -38px rgba(13, 14, 16, .5); }
.path .pic { position: relative; height: 250px; flex-shrink: 0; overflow: hidden; background: var(--paper-2); }
.path img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.path:hover img { transform: scale(1.06); }
.path-body { padding: 30px 32px 32px; display: flex; flex-direction: column; flex: 1; }
.path .n { position: absolute; top: 18px; left: 20px; z-index: 2; font: 500 12px var(--f-mono); letter-spacing: .12em; background: var(--yellow); color: var(--ink); padding: 6px 12px; border-radius: 99px; }
.path .who { font: 500 12.5px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.path h3 { font-size: clamp(26px, 2.4vw, 33px); margin-bottom: 14px; }
.path p { color: var(--muted); font-size: 15.5px; margin-bottom: 26px; }
.path .go { margin-top: auto; }
.path .go { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.path .go i { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; transition: transform .45s var(--ease); flex-shrink: 0; }
.path .go svg { width: 18px; height: 18px; }
.path:hover .go i { transform: rotate(-45deg); }
@media (max-width: 980px) { .paths { grid-template-columns: 1fr; } .path { min-height: 0; } .path .pic { height: 210px; } }

/* --------------------------------------------------------------------- help */
.help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.help-item { padding: 40px 36px 10px 0; }
.help-item + .help-item { padding-left: 36px; border-left: 1px solid var(--line); }
.ico { width: 58px; height: 58px; border-radius: 16px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; margin-bottom: 30px; }
.ico svg { width: 26px; height: 26px; }
.help-item h3 { margin-bottom: 14px; }
.help-item p { color: var(--muted); }
@media (max-width: 860px) { .help { grid-template-columns: 1fr; } .help-item, .help-item + .help-item { padding: 34px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

/* ------------------------------------------------------- elements (sourcing) */
.steps-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.steps-sticky { position: sticky; top: 120px; }
.steps-sticky h2 { margin-bottom: 26px; }
.steps-sticky .lead { margin-bottom: 34px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step button {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: 64px 1fr 40px; align-items: center; gap: 16px; padding: 26px 0;
}
.step button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.step .num { font: 500 14px var(--f-mono); color: var(--muted); }
.step .t { font: 600 clamp(21px, 2.2vw, 28px)/1.15 var(--f-display); letter-spacing: -.025em; }
.step .t small { display: block; font: 400 15px var(--f-body); color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.step .pm { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); position: relative; transition: background .3s, transform .45s var(--ease); }
.step .pm::before, .step .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .45s var(--ease); }
.step .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.step.open .pm { background: var(--yellow); box-shadow: none; transform: rotate(180deg); }
.step.open .pm::after { transform: translate(-50%, -50%) rotate(0); }
.step .body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.step.open .body { grid-template-rows: 1fr; }
.step .body > div { overflow: hidden; }
.step ul { margin: 0; padding: 0 56px 30px 80px; list-style: none; }
.step li { position: relative; color: var(--muted); margin-bottom: 10px; }
.step li::before { content: ""; position: absolute; left: -22px; top: .72em; width: 8px; height: 8px; background: var(--yellow); box-shadow: 0 0 0 1px rgba(0,0,0,.15); border-radius: 2px; }
@media (max-width: 900px) {
  .steps-layout { grid-template-columns: 1fr; }
  .steps-sticky { position: static; }
  .step button { grid-template-columns: 44px 1fr 40px; }
  .step ul { padding: 0 10px 26px 66px; }
}

/* -------------------------------------------------------------------- split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split h2 { margin-bottom: 26px; }
.split .lead { margin-bottom: 22px; }
.split p + p { margin-top: 16px; }
.split .prose p { color: var(--muted); }

@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

.portrait { position: relative; max-width: 480px; }
.portrait::before { content: ""; position: absolute; inset: 9% -7% -7% 9%; background: var(--yellow); border-radius: var(--r-lg); }
.portrait img { position: relative; border-radius: var(--r-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.portrait .cap { position: absolute; left: -18px; bottom: 34px; background: var(--ink); color: #fff; padding: 16px 20px; border-radius: 14px; box-shadow: var(--shadow); }
.portrait .cap b { display: block; font: 600 18px var(--f-display); letter-spacing: -.02em; }
.portrait .cap span { font: 500 11.5px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }

.quote { font: 500 clamp(24px, 2.8vw, 36px)/1.25 var(--f-display); letter-spacing: -.025em; margin: 0 0 30px; }
.quote::before { content: "“"; display: block; font-size: 2.6em; line-height: .6; color: var(--yellow); margin-bottom: 10px; -webkit-text-stroke: 1px rgba(0,0,0,.15); }
.sig { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.sig b { font-weight: 600; }
.sig span { color: var(--muted); font-size: 14.5px; }

.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 99px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; font-size: 14.5px; }
.chip::before { content: ""; width: 8px; height: 8px; background: var(--yellow); border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }


/* ----------------------------------------------------------- value cards etc */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card {
  background: var(--white); border-radius: var(--r); padding: 32px; position: relative; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 26px 50px -30px rgba(13,14,16,.35); }
.card .n { font: 500 13px var(--f-mono); color: var(--muted); display: block; margin-bottom: 44px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card::after { content: ""; position: absolute; right: 0; top: 0; width: 0; height: 4px; background: var(--yellow); transition: width .6s var(--ease); }
.card:hover::after { width: 100%; }


/* ---------------------------------------------------------------- analyser */
.tool { background: var(--card); color: var(--ink); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.tool-in { padding: clamp(28px, 4vw, 48px); }
.tool-out { padding: clamp(28px, 4vw, 48px); background: var(--tint); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.tool h3 { margin-bottom: 8px; }
.tool .sub { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
.field { margin-bottom: 22px; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.field label, .lbl { font-size: 14px; color: var(--muted); font-weight: 500; }
.field output, .field .val { font: 600 17px var(--f-display); letter-spacing: -.01em; color: var(--ink); }
.range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; outline: none; cursor: pointer;
  background: linear-gradient(to right, var(--yellow-deep) 0 var(--p, 50%), rgba(13,14,16,.12) var(--p, 50%) 100%);
}
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); border: 6px solid var(--yellow); box-shadow: 0 4px 12px rgba(13,14,16,.28); transition: transform .2s; }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 6px solid var(--yellow); }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.range:focus-visible { outline: 2px solid var(--yellow); outline-offset: 6px; }
.seg { display: inline-flex; background: rgba(13,14,16,.06); border-radius: 99px; padding: 4px; gap: 2px; }
.seg button { border: 0; background: transparent; color: var(--muted); padding: 9px 16px; border-radius: 99px; cursor: pointer; font-size: 14px; font-weight: 500; transition: background .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }
.big-out { padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.big-out > span { font: 500 12.5px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.big-out b { display: block; width: fit-content; position: relative; z-index: 0; font: 600 clamp(52px, 6vw, 80px)/1 var(--f-display); letter-spacing: -.05em; color: var(--ink); margin-top: 12px; }
.big-out b::after { content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .04em; height: .22em; background: var(--yellow); border-radius: 99px; z-index: -1; }
.big-out small { display: block; color: var(--muted); font-size: 14px; margin-top: 8px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 24px; }
.kv div { background: var(--card); padding: 16px 18px; }
.kv span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.kv b { font: 600 21px var(--f-display); letter-spacing: -.02em; }
.kv b.neg { color: #b3261e; }
.meter { margin-bottom: 26px; }
.meter-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.meter-bar { height: 10px; border-radius: 99px; background: rgba(13,14,16,.08); overflow: hidden; }
.meter-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--yellow), var(--yellow-deep)); border-radius: 99px; transition: width .6s var(--ease); }
.verdict { display: flex; gap: 12px; align-items: flex-start; background: #fcfbe4; border: 1px solid #e5e1a4; border-radius: 14px; padding: 14px 16px; font-size: 14.5px; color: var(--ink); margin-bottom: 24px; }
.verdict svg { width: 20px; height: 20px; flex-shrink: 0; color: #8a861f; margin-top: 2px; }
.tool .disc { font-size: 12.5px; color: var(--muted-2); margin-top: auto; padding-top: 10px; }
.tool-out .btn { align-self: flex-start; margin-bottom: 18px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
@media (max-width: 900px) { .tool { grid-template-columns: 1fr; } .tool-out { border-left: 0; border-top: 1px solid var(--line); } }

/* chart (returns) */
.chart { width: 100%; height: auto; margin: 6px 0 20px; overflow: visible; }
.chart text { font: 500 11px var(--f-mono); fill: #7c8089; }
.chart .bar-a { fill: var(--yellow-deep); transition: all .5s var(--ease); }
.chart .bar-b { fill: #c8c5b6; transition: all .5s var(--ease); }
.legend { display: flex; gap: 20px; font-size: 13px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }

/* ------------------------------------------------------------------ Bradford */
.bstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.bstat {
  all: unset; box-sizing: border-box; cursor: pointer; background: var(--card); padding: 30px 26px; min-height: 210px;
  display: flex; flex-direction: column; transition: background .35s; position: relative;
}
.bstat:hover { background: var(--tint); }
.bstat:focus-visible { outline: 2px solid var(--yellow); outline-offset: -2px; }
.bstat b { font: 600 clamp(36px, 3.8vw, 52px)/1 var(--f-display); letter-spacing: -.045em; margin-top: auto; }
.bstat span.l { font: 500 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.bstat p { font-size: 14.5px; color: var(--muted); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.bstat[aria-expanded="true"] { background: var(--yellow); color: var(--ink); }
.bstat[aria-expanded="true"] span.l, .bstat[aria-expanded="true"] p { color: rgba(13,14,16,.72); }
.bstat[aria-expanded="true"] p { max-height: 200px; opacity: 1; margin-top: 12px; }
@media (max-width: 900px) { .bstats { grid-template-columns: 1fr 1fr; } .bstat { min-height: 170px; padding: 22px 18px; } }

.map-layout { display: grid; grid-template-columns: 360px 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); min-height: 620px; }
.map-layout > * { min-width: 0; }
.area-list { max-height: 620px; overflow-y: auto; border-right: 1px solid var(--line); }
.area-list .filters { position: sticky; top: 0; background: var(--white); padding: 18px; border-bottom: 1px solid var(--line); z-index: 2; }
.area-list input { width: 100%; border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: 99px; padding: 12px 18px; background: var(--paper); }
.area-list input:focus { outline: 2px solid var(--ink); }
.area {
  all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; padding: 18px 20px; border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.area:hover { background: var(--paper); }
.area[aria-current="true"] { background: var(--yellow); }
.area[aria-current="true"] p { color: rgba(13,14,16,.72); }
.area[aria-current="true"] em { background: var(--ink); color: var(--yellow); }
.area:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.area .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 4px; }
.area b { font: 600 17px var(--f-display); letter-spacing: -.015em; }
.area em { font: 500 10.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; font-style: normal; padding: 4px 8px; border-radius: 99px; background: var(--yellow); color: var(--ink); }
.area p { font-size: 14px; color: var(--muted); line-height: 1.5; }
#map { min-height: 620px; background: #dfe1dc; }
#map .leaflet-tile-pane { filter: grayscale(1) contrast(.92) brightness(1.04); }
.pin { width: 22px; height: 22px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 6px 14px rgba(0,0,0,.35); transition: transform .3s var(--ease); }
.pin.on { transform: rotate(-45deg) scale(1.45); background: var(--ink); border-color: var(--yellow); }
.leaflet-popup-content-wrapper { border-radius: 14px !important; font-family: var(--f-body) !important; }
.leaflet-popup-content b { font-family: var(--f-display); font-size: 16px; }
@media (max-width: 900px) {
  .map-layout { grid-template-columns: 1fr; }
  .area-list { max-height: 300px; border-right: 0; border-bottom: 1px solid var(--line); order: 2; }
  #map { min-height: 380px; }
}

.employers { display: flex; flex-wrap: wrap; gap: 12px 44px; align-items: center; }
.employers span { font: 600 clamp(20px, 2.3vw, 30px)/1.1 var(--f-display); letter-spacing: -.03em; color: var(--muted); transition: color .3s; }
.employers span:hover { color: var(--ink); }

/* ------------------------------------------------------------- compliance */
.comply { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.logos figure { margin: 0; background: #fff; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.logos img { height: 74px; width: 100%; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .4s, opacity .4s; }
.logos figure:hover img { filter: none; opacity: 1; }
.logos figcaption { font-size: 13px; color: var(--muted); line-height: 1.4; }
.logos figcaption b { display: block; color: var(--ink); font-size: 14px; }
@media (max-width: 900px) { .comply { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .logos { grid-template-columns: 1fr; } .logos figure { flex-direction: row; align-items: center; } .logos img { width: 110px; height: 60px; flex-shrink: 0; } }

.partner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; background: var(--card); color: var(--ink); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); padding: 26px 34px 26px 26px; }
.partner img { width: 180px; height: 112px; object-fit: cover; object-position: left top; border-radius: 14px; }
.partner p { color: var(--muted); font-size: 15px; }
.partner h3 { margin-bottom: 6px; }
@media (max-width: 760px) { .partner { grid-template-columns: 1fr; } .partner img { width: 100%; height: 150px; } }

/* --------------------------------------------------------------------- CTA */
.cta { background: var(--yellow); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: 4%; top: 14%; width: min(380px, 30%); aspect-ratio: 1; background: rgba(13,14,16,.06); clip-path: polygon(50% 0, 100% 34%, 100% 100%, 0 100%, 0 34%); }
.cta-in { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; position: relative; }
.cta h2 { font-size: clamp(40px, 6.4vw, 88px); }
.cta p { font-size: 18px; margin-bottom: 26px; max-width: 40ch; }
@media (max-width: 860px) { .cta-in { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------- forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } }
.inp { display: flex; flex-direction: column; gap: 8px; }
.inp label { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.inp input, .inp select, .inp textarea {
  width: 100%; border: 0; border-radius: 12px; padding: 15px 16px; background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s;
}
.inp textarea { min-height: 130px; resize: vertical; }
.inp input:focus, .inp select:focus, .inp textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.inp .err { font-size: 13px; color: #b3261e; }
.inp.bad input, .inp.bad select, .inp.bad textarea { box-shadow: inset 0 0 0 2px #b3261e; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { cursor: pointer; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks span { display: inline-flex; padding: 10px 16px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14.5px; font-weight: 500; transition: all .2s; background: var(--white); color: var(--ink); }
.checks input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.checks input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.dark-form .checks span { background: var(--ink-3); color: #e6e7e9; box-shadow: inset 0 0 0 1.5px var(--ink-line); }
.dark-form .checks input:checked + span { background: var(--yellow); color: var(--ink); }
.consent { font-size: 13px; color: var(--muted); }
.consent a { color: inherit; }
.dark-form .consent { color: var(--muted-dark); }
.form-ok { text-align: center; padding: 40px 10px; }
.form-ok .tick { width: 74px; height: 74px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; margin: 0 auto 22px; animation: pop .6s var(--ease); }
.form-ok .tick svg { width: 34px; height: 34px; }
.form-ok h3 { margin-bottom: 10px; }
.form-ok p { color: var(--muted); max-width: 40ch; margin: 0 auto; }
.dark-form .form-ok p { color: var(--muted-dark); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: none; opacity: 1; } }

/* Multi-step (commercial) */
.wizard { background: var(--white); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); padding: clamp(24px, 4vw, 48px); }
.wz-prog { display: flex; gap: 8px; margin-bottom: 30px; }
.wz-prog i { flex: 1; height: 4px; border-radius: 99px; background: var(--paper-2); overflow: hidden; position: relative; }
.wz-prog i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.wz-prog i.on::after { transform: scaleX(1); }
.wz-step h3 { margin-bottom: 8px; }
.wz-step > p { color: var(--muted); margin-bottom: 26px; }
.wz-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 30px; }
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.types label { cursor: pointer; }
.types input { position: absolute; opacity: 0; }
.types span { display: flex; flex-direction: column; gap: 18px; padding: 20px; border-radius: 16px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; transition: all .25s; height: 100%; }
.types span svg { width: 28px; height: 28px; }
.types input:checked + span { background: var(--yellow); box-shadow: inset 0 0 0 2px var(--ink); }
.types input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 620px) { .types { grid-template-columns: 1fr 1fr; } }

/* -------------------------------------------------------------------- modal */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-bg { position: absolute; inset: 0; background: rgba(13,14,16,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-card { position: relative; width: min(640px, 100%); max-height: calc(100svh - 40px); overflow-y: auto; background: var(--paper); color: var(--ink); border-radius: var(--r-lg); box-shadow: 0 40px 80px rgba(13,14,16,.45); transform: translateY(30px) scale(.97); transition: transform .45s var(--ease); }
.modal.open .modal-card { transform: none; }
.modal-head { padding: 34px 36px 0; }
.modal-body { padding: 26px 36px 36px; }
.modal-x { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(13,14,16,.06); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.modal-x:hover { background: var(--yellow); color: var(--ink); }
.modal-x svg { width: 18px; height: 18px; }
.club-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 4px; }
.club-tabs button { all: unset; box-sizing: border-box; cursor: pointer; padding: 16px 18px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); transition: all .25s; }
.club-tabs button b { display: block; font: 600 16px var(--f-display); letter-spacing: -.01em; margin-bottom: 4px; }
.club-tabs button span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }
.club-tabs button[aria-selected="true"] { background: var(--yellow); color: var(--ink); box-shadow: none; }
.club-tabs button[aria-selected="true"] span { color: rgba(13,14,16,.7); }
.club-tabs button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
@media (max-width: 560px) { .modal-head { padding: 30px 22px 0; } .modal-body { padding: 22px 22px 28px; } .club-tabs { grid-template-columns: 1fr; } }
body.lock { overflow: hidden; }

/* --------------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font: 600 clamp(18px, 1.8vw, 21px)/1.3 var(--f-display); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 28px/1 var(--f-body); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); flex-shrink: 0; transition: transform .4s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--yellow); box-shadow: none; }
.faq details p { padding: 0 60px 26px 0; color: var(--muted); }

/* ---------------------------------------------------------------- timeline */
.tl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: tl; }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line); }
.tl .fill { position: absolute; left: 0; top: 27px; height: 2px; background: var(--yellow); width: 0; transition: width 1.8s var(--ease); }
.tl.in .fill { width: 100%; }
.tl-item { position: relative; padding-right: 28px; }
.tl-item .dot { width: 56px; height: 56px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 2px var(--line); display: grid; place-items: center; font: 500 14px var(--f-mono); margin-bottom: 28px; position: relative; transition: background .5s, color .5s, box-shadow .5s; }
.tl.in .tl-item .dot { background: var(--yellow); color: var(--ink); box-shadow: none; }
.tl.in .tl-item:nth-child(3) .dot { transition-delay: .35s; } .tl.in .tl-item:nth-child(4) .dot { transition-delay: .7s; } .tl.in .tl-item:nth-child(5) .dot { transition-delay: 1.05s; }
.tl-item h3 { margin-bottom: 10px; }
.tl-item p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) {
  .tl { grid-template-columns: 1fr; gap: 30px; }
  .tl::before, .tl .fill { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl .fill { height: 0; transition: height 1.8s var(--ease); }
  .tl.in .fill { width: 2px; height: 100%; }
  .tl-item { padding: 0 0 0 80px; }
  .tl-item .dot { position: absolute; left: 0; top: -6px; }
}

/* -------------------------------------------------------------- misc blocks */
.img-card { border-radius: var(--r-lg); overflow: hidden; position: relative; }
.img-card img { width: 100%; height: 100%; object-fit: cover; }
.img-stack { position: relative; aspect-ratio: 1 / 1.05; }
.img-stack .a { position: absolute; left: 0; top: 0; width: 72%; height: 70%; }
.img-stack .b { position: absolute; right: 0; bottom: 0; width: 58%; height: 56%; box-shadow: 0 0 0 10px var(--paper), var(--shadow); }
.img-stack .tag { position: absolute; left: 8%; bottom: 10%; background: var(--yellow); padding: 16px 20px; border-radius: 14px; font: 600 15px/1.3 var(--f-display); max-width: 200px; box-shadow: var(--shadow); z-index: 2; }
.img-stack .tag b { display: block; font-size: 34px; letter-spacing: -.04em; line-height: 1; margin-bottom: 4px; }

.strats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; margin-top: 40px; }
.strats div { background: var(--white); padding: 24px; }
.strats b { font: 600 18px var(--f-display); letter-spacing: -.015em; display: block; margin-bottom: 6px; }
.strats span { font-size: 14.5px; color: var(--muted); }
@media (max-width: 860px) { .strats { grid-template-columns: 1fr 1fr; } }

.types-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.types-strip span { padding: 12px 20px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); font-weight: 500; }

.notice { background: var(--white); border-left: 4px solid var(--yellow); border-radius: 0 var(--r) var(--r) 0; padding: 22px 26px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; color: var(--muted); }
.notice b { color: var(--ink); }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.channels { display: grid; gap: 12px; }
.channel { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s; }
.channel:hover { transform: translateX(6px); box-shadow: inset 0 0 0 1.5px var(--ink); }
.channel .ico { margin: 0; width: 52px; height: 52px; }
.channel b { display: block; font: 600 17px var(--f-display); letter-spacing: -.015em; }
.channel span { font-size: 14.5px; color: var(--muted); word-break: break-word; }
.panel { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.legal { max-width: 780px; }
.legal h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 70px 0 20px; padding-top: 30px; border-top: 1px solid var(--line); }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 19px; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 20px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 60px; }

/* ------------------------------------------------------------------- footer */
.ftr { background: var(--paper-2); color: var(--ink); padding: clamp(70px, 9vw, 110px) 0 30px; overflow: hidden; position: relative; border-top: 1px solid var(--line); }
.ftr-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.ftr p { color: var(--muted); font-size: 15px; max-width: 36ch; margin: 22px 0 26px; }
.ftr h4 { font: 500 12px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 20px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr ul a { text-decoration: none; color: var(--muted); font-size: 15px; }
.ftr ul a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); transition: background .25s, color .25s, box-shadow .25s; }
.socials a:hover { background: var(--yellow); color: var(--ink); box-shadow: none; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.ftr-big::before { content: "HIDRAH"; }
.ftr-big { font: 700 min(calc((100vw - 2 * var(--gut)) / 3.9), 300px)/.8 var(--f-display); letter-spacing: -.04em; color: rgba(13, 14, 16, .09); margin: 40px 0 10px; white-space: nowrap; user-select: none; }
.ftr-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13.5px; color: var(--muted-2); padding-top: 24px; border-top: 1px solid var(--line); }
.ftr-bot a { color: inherit; }
.ftr-bot .ftr-co { display: inline-block; margin-top: 6px; color: var(--muted-2); max-width: 60ch; }
@media (max-width: 900px) { .ftr-top { grid-template-columns: 1fr 1fr; } .ftr-top > :first-child { grid-column: 1 / -1; } }

/* --------------------------------------------------------------------- chat */
.chat-btn { position: fixed; right: 22px; bottom: 22px; z-index: 150; height: 60px; padding: 0 22px 0 8px; border-radius: 99px; border: 0; background: var(--card); color: var(--ink); display: flex; align-items: center; gap: 12px; cursor: pointer; box-shadow: 0 20px 40px -14px rgba(13,14,16,.4), inset 0 0 0 1px var(--line); font-weight: 600; font-size: 15px; transition: transform .4s var(--ease); }
.chat-btn:hover { transform: translateY(-3px); }
.chat-btn .av { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; position: relative; }
.chat-btn .av svg { width: 22px; height: 22px; }
.chat-btn .av::after { content: ""; position: absolute; right: 1px; top: 1px; width: 11px; height: 11px; border-radius: 50%; background: #29b866; box-shadow: 0 0 0 2.5px var(--card); }
.chat-open .chat-btn { transform: scale(0); }
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 160; width: min(400px, calc(100vw - 28px)); height: min(620px, calc(100svh - 44px)); background: var(--paper); border-radius: 24px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.45), inset 0 0 0 1px var(--line); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; transform: scale(.85) translateY(20px); opacity: 0; visibility: hidden; transition: transform .45s var(--ease), opacity .3s, visibility .3s; }
.chat-open .chat { transform: none; opacity: 1; visibility: visible; }
.chat-head { background: var(--yellow); color: var(--ink); padding: 18px 18px 18px 20px; display: flex; align-items: center; gap: 12px; }
.chat-head .av { width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--yellow); display: grid; place-items: center; }
.chat-head .av svg { width: 22px; height: 22px; }
.chat-head b { display: block; font: 600 16px var(--f-display); }
.chat-head span { font-size: 12.5px; color: rgba(13,14,16,.62); }
.chat-head button { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(13,14,16,.1); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.chat-head button svg { width: 16px; height: 16px; }
.chat-log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 85%; padding: 12px 15px; border-radius: 18px; font-size: 15px; line-height: 1.5; animation: msg .35s var(--ease); }
.msg.bot { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.me { background: var(--ink); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.msg.typing { display: flex; gap: 5px; padding: 16px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes msg { from { opacity: 0; transform: translateY(8px); } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 12px; }
.chat-chips button { border: 0; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); padding: 8px 13px; border-radius: 99px; font-size: 13.5px; cursor: pointer; }
.chat-chips button:hover { background: var(--yellow); box-shadow: none; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.chat-form input { flex: 1; border: 0; background: var(--paper); border-radius: 99px; padding: 12px 18px; min-width: 0; }
.chat-form input:focus { outline: 2px solid var(--ink); }
.chat-form button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--yellow); cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.chat-form button svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .chat-btn span.t { display: none; } .chat-btn { padding: 0 8px; } }

/* Leaflet paints its attribution in a grey that fails AA on the light map. */
.leaflet-control-attribution, .leaflet-control-attribution a { color: #4a4e56 !important; }
.leaflet-control-attribution a:hover { color: var(--ink) !important; }

/* ------------------------------------------------------------- cookie bar */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 170;
  background: var(--card); color: var(--ink); border-radius: var(--r);
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -28px rgba(13, 14, 16, .5);
  padding: 18px 20px; animation: cookie-in .45s var(--ease);
}
.cookie-in { display: flex; align-items: center; gap: 20px; max-width: var(--wrap); margin: 0 auto; flex-wrap: wrap; }
.cookie-bar p { font-size: 14.5px; color: var(--muted); flex: 1 1 380px; min-width: 0; }
.cookie-bar p b { color: var(--ink); }
.cookie-bar a { color: var(--ink); }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .cookie-bar { animation: none; } }
/* The chat launcher lives in the same corner — lift it while the bar is up. */
body.cookies-open .chat-btn { transform: translateY(-104px); }
body.cookies-open.chat-open .chat-btn { transform: scale(0); }
.cookie-in { padding-right: 190px; }
@media (max-width: 760px) {
  .cookie-bar { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .cookie-in { padding-right: 0; }
  .cookie-btns .btn { flex: 1 1 auto; }
  body.cookies-open .chat-btn { transform: translateY(-188px); }
}

/* Compliance badges in the footer — the registrations, not decoration. */
.ftr-badges { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; padding: 34px 0 6px; }
.ftr-badges > span { font: 500 12px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.ftr-badges > div { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ftr-badges img { height: 46px; width: auto; background: var(--card); border-radius: 10px; padding: 7px 12px; box-shadow: inset 0 0 0 1px var(--line); object-fit: contain; }
@media (max-width: 560px) { .ftr-badges img { height: 38px; } }
