/* Idans — made-to-measure Shopify stores.
   Layout: left-aligned editorial grid; type carries the page, the red "!" from the logo is the only accent.
   Single brand look (light), colors set explicitly. */
:root {
  --ink: #000000;          /* logo black */
  --paper: #f3f0ec;       /* warm off-white ground */
  --signal: #d63028;       /* logo red, used only for the mark, the thread and progress */
  --graphite: #5f5f5c;     /* quiet text */
  --mist: #e9e4dd;         /* subtle surface, a step darker than the ground */
  --rule: #d8d1c7;         /* hairlines */
  --night: #212325;        /* dark band background */
  --on-night: #f4f4f2;
  --on-night-quiet: #a3a3a0;

  --f-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  /* Hero type after fluid.glass: Aeonik Pro / Aeonik Mono if licensed, Geist / Geist Mono otherwise */
  --f-hero: "Aeonik Pro", "Geist", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Aeonik Mono", "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1680px;
  --ease: cubic-bezier(0.76, 0, 0.24, 1);
  --t1: 0.4s; --t2: 0.8s; --t3: 1.2s;
  --radius: 14px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--signal); color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.display, h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(42px, 6.6vw, 112px); }
h3 { font-size: clamp(26px, 2.5vw, 40px); letter-spacing: -0.03em; line-height: 1.02; }
p { margin: 0; }
.lede { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; color: var(--graphite); max-width: 36ch; }
.small { font-size: 14px; line-height: 1.45; }
.quiet { color: var(--graphite); }
.ln { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.ln > span { display: block; }

/* The "!" mark as a typographic device */
.bang { display: inline-block; position: relative; width: 0.2em; height: 0.68em; margin-right: 0.1em; }
.bang i { position: absolute; top: 0; left: 0.015em; width: 0.17em; height: 0.39em; background: var(--signal); }
.bang b { position: absolute; bottom: 0; left: 0; width: 0.2em; height: 0.2em; border-radius: 50%; background: var(--signal); }

/* ---------- Buttons: one system, after the menu (mono label, rolling text) ---------- */
.btn {
  --bg: var(--night); --fg: var(--paper); --bd: transparent; --bg-hover: #35383b;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 48px; padding: 0 20px; border-radius: 4px;
  background: var(--bg); color: var(--fg); box-shadow: inset 0 0 0 1px var(--bd);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  font-family: var(--f-mono); font-weight: 500; font-size: 12px; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  transition: background-color var(--t1) ease, box-shadow var(--t1) ease, color var(--t1) ease;
}
.btn:hover { background-color: var(--bg-hover); }
.btn__icon { width: 16px; height: 12px; flex: none; transition: transform var(--t2) var(--ease); }
.btn__icon--flip { transform: scaleX(-1); }
.btn .roll { line-height: 1.25; }
.btn:hover .roll > span:first-child, .btn:focus-visible .roll > span:first-child { transform: translateY(-100%); }
.btn:hover .roll > span + span, .btn:focus-visible .roll > span + span { transform: translateY(0); }
.btn:hover .btn__icon:not(.btn__icon--flip) { transform: translateX(2px); }
.btn:hover .btn__icon--flip { transform: scaleX(-1) translateX(2px); }
.btn--glass { --bg: rgba(255,255,255,0.14); --fg: #fff; --bg-hover: rgba(255,255,255,0.26); }
.btn--line { --bg: transparent; --fg: currentColor; --bd: rgba(127,127,127,0.55); --bg-hover: rgba(127,127,127,0.14); }
.btn--sm { height: 40px; padding: 0 16px; }
.btn--sq { width: 48px; padding: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.text-link { display: inline-flex; gap: 8px; align-items: center; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size var(--t1) var(--ease); }
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Loader ---------- */
.loader { display: none; }
html.js:not(.no-loader) .loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--paper);
  display: grid; place-items: center;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
}
.loader__logo { align-self: center; justify-self: center; width: clamp(128px, 11vw, 168px); overflow: visible; transform-origin: 50% 50%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--paper);
  padding-top: env(safe-area-inset-top, 0px);
  transition: transform var(--t2) var(--ease), background-color var(--t1) ease, color var(--t1) ease;
}
.site-header .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; height: 76px; }
.site-header.is-solid { background: rgba(243,240,236,0.92); color: var(--ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: block; width: 96px; justify-self: center; }
.brand svg { width: 100%; height: auto; }
.brand .word { fill: currentColor; }

.mono { font-family: var(--f-mono); font-weight: 500; font-size: 12px; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; }
.header-btn { justify-self: end; }
.site-header.is-solid .header-btn { --bg: var(--night); --fg: var(--paper); --bg-hover: #35383b; }

/* ---------- Bottom dock + glass menu (after fluid.glass) ---------- */
.dock {
  position: fixed; z-index: 70; left: 50%; bottom: max(18px, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  display: grid; grid-template-columns: 64px minmax(170px, auto) 64px; align-items: center; height: 60px;
  color: #fff; background: rgba(33, 35, 37, 0.84);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-radius: 0; box-shadow: 0 10px 40px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(255,255,255,0.08);
  transition: transform var(--t2) var(--ease);
}
.dock.is-away { transform: translate(-50%, calc(100% + 40px)); }
.dock__mark { display: grid; place-items: center; height: 100%; }
.dock__mark svg { height: 34px; width: 24px; transition: transform var(--t2) var(--ease); }
.dock__mark:hover svg { transform: scale(1.08); }
.dock__title { position: relative; overflow: hidden; height: 20px; text-align: center; font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; line-height: 20px; padding-inline: 10px; border-inline: 1px solid rgba(255,255,255,0.12); }
.dock__t { display: block; white-space: nowrap; }
.dock__burger { position: relative; height: 100%; display: grid; place-items: center; }
.dock__burger i { position: absolute; left: 20px; right: 20px; height: 1.5px; background: currentColor; transition: transform var(--t1) var(--ease); }
.dock__burger i:first-child { transform: translateY(-4px); }
.dock__burger i:last-child { transform: translateY(4px); }
.nav-open .dock__burger i:first-child { transform: rotate(45deg); }
.nav-open .dock__burger i:last-child { transform: rotate(-45deg); }

.nav-scrim { position: fixed; inset: 0; z-index: 65; background: rgba(0,0,0,0.45); opacity: 0; visibility: hidden; transition: opacity var(--t2) var(--ease), visibility 0s linear var(--t2); }
.nav-open .nav-scrim { opacity: 1; visibility: visible; transition: opacity var(--t2) var(--ease); }

.nav-panel {
  position: fixed; z-index: 69; left: 50%; bottom: calc(max(18px, env(safe-area-inset-bottom, 0px)) + 70px);
  width: min(960px, calc(100vw - 32px)); max-height: calc(100svh - 120px); overflow: auto; overscroll-behavior: contain;
  transform: translateX(-50%);
  color: #fff; background: rgba(33, 35, 37, 0.88);
  -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  border-radius: 0; box-shadow: 0 30px 80px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.08);
  padding: 40px;
  clip-path: inset(100% 0 0 0); visibility: hidden;
  transition: clip-path var(--t2) var(--ease), visibility 0s linear var(--t2);
}
.nav-open .nav-panel { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path var(--t2) var(--ease); }
.np-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
.np-label { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 18px; }
.np-main, .np-services, .np-social { list-style: none; margin: 0; padding: 0; }
.np-main a { display: inline-block; font-family: var(--f-hero); font-weight: 400; font-size: clamp(36px, 4.6vw, 60px); letter-spacing: -0.035em; line-height: 1.08; transition: color var(--t1) ease; }
.np-main:hover a { color: rgba(255,255,255,0.38); }
.np-main a:hover, .np-main a:focus-visible { color: #fff; }
.roll { display: block; position: relative; overflow: hidden; }
.roll > span { display: block; transition: transform 0.6s var(--ease); }
.roll > span + span { position: absolute; inset: 0; transform: translateY(100%); }
a:hover > .roll > span:first-child, a:focus-visible > .roll > span:first-child { transform: translateY(-100%); }
a:hover > .roll > span + span, a:focus-visible > .roll > span + span { transform: translateY(0); }
.np-services { display: grid; gap: 6px; }
.np-services a { display: grid; grid-template-columns: 104px 1fr; gap: 18px; align-items: center; padding: 8px; margin-inline: -8px; border-radius: 0; transition: background-color var(--t1) ease; }
.np-services a:hover { background: rgba(255,255,255,0.07); }
.np-thumb { aspect-ratio: 16 / 10; border-radius: 0; overflow: hidden; background: #2c2e31; }
.np-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t2) var(--ease); }
.np-services a:hover .np-thumb img { transform: scale(1.08); }
.np-text { display: grid; gap: 3px; min-width: 0; }
.np-text b { font-weight: 600; font-size: 16px; }
.np-text small { font-size: 14px; line-height: 1.35; color: rgba(255,255,255,0.58); }
.np-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
.np-social { display: flex; gap: 24px; font-size: 14px; color: rgba(255,255,255,0.75); }
.np-social a:hover { color: #fff; }
.np-main li, .np-services li, .np-foot { opacity: 1; }

/* ---------- Hero: framed video opens up as you scroll, holds, then hands over ---------- */
.hero { position: relative; height: 250svh; min-height: 1400px; background: var(--night); color: #fff; }
.hero__pin { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; }
.hero__frame { position: absolute; inset: 0; overflow: hidden; background: #111; will-change: clip-path; }
.hero__frame video { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.1) 45%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.42) 100%); }
.hero__content { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px; padding-bottom: 40px; }
.hero__title { font-family: var(--f-hero); font-weight: 400; font-size: clamp(36px, 3.4vw, 62px); line-height: 1.02; letter-spacing: -0.03em; }
.hero__title .ln { padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__side { justify-self: end; display: grid; gap: 26px; justify-items: end; text-align: right; }
.hero__text { max-width: 30ch; font-family: var(--f-hero); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.32; color: rgba(255,255,255,0.88); }
.hero__btns { justify-content: flex-end; }

/* ---------- Statement ---------- */
.statement { padding-block: clamp(96px, 14vw, 220px) clamp(72px, 10vw, 160px); }
.statement__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 32px); align-items: start; }
.statement__text { grid-column: 1 / span 8; font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 4.3vw, 70px); line-height: 1.04; letter-spacing: -0.035em; text-wrap: pretty; }
.statement__text .w { display: inline; }
.statement__side { grid-column: 10 / span 3; display: grid; gap: 18px; padding-top: 10px; }
.slit { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.slit img { width: 100%; height: 100%; object-fit: cover; }
.statement__side .slit { aspect-ratio: 3 / 4; }

/* ---------- Compare ---------- */
.compare { padding-block: clamp(48px, 8vw, 120px) clamp(96px, 12vw, 180px); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px clamp(16px, 2vw, 32px); align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head h2 { grid-column: 1 / span 8; }
.section-head .lede { grid-column: 9 / span 4; }

.compare-stage {
  --pos: 50%;
  position: relative; aspect-ratio: 16 / 10; width: 100%;
  border-radius: var(--radius); overflow: hidden; background: var(--mist);
  container-type: inline-size; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  cursor: ew-resize;
}
.compare-stage .mock { position: absolute; inset: 0; isolation: isolate; z-index: 1; }
.compare-stage .mock.made { z-index: 2; }
.compare-stage .mock.made { clip-path: inset(0 0 0 var(--pos)); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 3; pointer-events: none; }
.compare-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--paper); box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }
.compare-knob {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; background: var(--paper); color: var(--ink);
  display: grid; place-items: center; font-size: 13px; font-weight: 600; letter-spacing: -0.01em;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}
.compare-range { position: absolute; inset: auto 0 0 0; opacity: 0; height: 1px; pointer-events: none; }
.compare-stage:focus-within { outline: 2px solid var(--signal); outline-offset: 4px; }
.compare-note { margin-top: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Store mock: everything sized in container units so the store scales like a real screenshot */
.mock { font-size: 1cqw; overflow: hidden; }
.mock img { width: 100%; height: 100%; object-fit: cover; }

/* Off the rack: a default-looking theme */
.stock { background: #fff; color: #121212; font-family: Arial, "Helvetica Neue", sans-serif; }
.s-announce { height: 2.6em; display: grid; place-items: center; border-bottom: 1px solid #e5e5e5; font-size: 1em; color: #333; }
.s-head { height: 7em; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 4.5em; border-bottom: 1px solid #e5e5e5; }
.s-head .s-logo { font-size: 2em; letter-spacing: 0.02em; }
.s-icons { display: flex; gap: 1.8em; justify-self: end; }
.s-icons i, .s-search { width: 1.8em; height: 1.8em; border: 0.18em solid #121212; border-radius: 50%; display: block; }
.s-icons i:last-child { border-radius: 0.2em; }
.s-nav { display: flex; justify-content: center; gap: 2.4em; height: 3.6em; align-items: center; font-size: 1.15em; color: #444; border-bottom: 1px solid #e5e5e5; }
.s-banner { position: relative; height: 27em; display: grid; place-items: center; text-align: center; color: #fff; }
.s-banner img { position: absolute; inset: 0; filter: saturate(0.85); }
.s-banner::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.s-banner div { position: relative; z-index: 1; display: grid; gap: 1.2em; justify-items: center; }
.s-banner strong { font-size: 3.6em; font-weight: 400; }
.s-banner span { font-size: 1.3em; }
.s-banner em { font-style: normal; border: 1px solid #fff; padding: 1em 2.6em; font-size: 1.2em; }
.s-feat { padding: 3.4em 4.5em; }
.s-feat h4 { margin: 0 0 1.6em; font-size: 2em; font-weight: 400; }
.s-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2em; }
.s-card .s-img { aspect-ratio: 1; background: #f3f3f3; overflow: hidden; }
.s-card p { margin-top: 0.9em; font-size: 1.15em; color: #222; }
.s-card small { display: block; margin-top: 0.3em; font-size: 1.1em; color: #555; }

/* Made to measure: the same store, art-directed */
.made { background: #0d0d0c; color: #f3efe8; font-family: var(--f-body); }
.m-bar { height: 2.6em; display: flex; justify-content: space-between; align-items: center; padding: 0 3em; font-size: 1em; color: #b9b3a9; border-bottom: 1px solid #2a2a28; }
.m-bar b { color: #f3efe8; font-weight: 500; display: inline-flex; gap: 0.6em; align-items: center; }
.m-bar b::before { content: ""; width: 0.6em; height: 0.6em; border-radius: 50%; background: #2fbf63; }
.m-head { height: 6em; display: grid; grid-template-columns: auto 1fr auto; gap: 4em; align-items: center; padding: 0 3em; }
.m-logo { font-family: "Anton", var(--f-display); font-size: 2.6em; letter-spacing: 0.01em; line-height: 1; }
.m-nav { display: flex; gap: 2.4em; font-size: 1.15em; color: #cfc9bf; }
.m-nav span:first-child { color: #f3efe8; }
.m-tools { display: flex; gap: 2em; font-size: 1.15em; }
.m-body { display: grid; grid-template-columns: 1.55fr 1fr; gap: 1.2em; padding: 0 3em 3em; height: calc(100% - 8.6em); }
.m-hero { position: relative; border-radius: 0.6em; overflow: hidden; }
.m-hero img { position: absolute; inset: 0; object-position: 50% 30%; }
.m-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75) 100%); }
.m-hero div { position: absolute; left: 2.4em; right: 2.4em; bottom: 2.4em; z-index: 1; display: grid; gap: 1.4em; justify-items: start; }
.m-hero small { font-size: 1.15em; color: #e9e2d6; }
.m-hero strong { font-family: "Anton", var(--f-display); font-weight: 400; font-size: 7.4em; line-height: 0.9; text-transform: uppercase; letter-spacing: 0.005em; }
.m-hero em { font-style: normal; background: #f3efe8; color: #0d0d0c; padding: 0.9em 1.8em; border-radius: 3em; font-size: 1.15em; font-weight: 600; }
.m-side { display: grid; grid-template-rows: 1fr 1fr; gap: 1.2em; min-height: 0; }
.m-prod { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4em; background: #1a1a18; border-radius: 0.6em; padding: 1.2em; min-height: 0; }
.m-prod .m-img { border-radius: 0.4em; overflow: hidden; min-height: 0; }
.m-prod > div:last-child { display: grid; align-content: space-between; gap: 1em; padding: 0.4em 0.2em; }
.m-prod h5 { margin: 0; font-size: 1.5em; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.m-prod p { font-size: 1.2em; color: #cfc9bf; margin-top: 0.4em; }
.m-chips { display: flex; flex-wrap: wrap; gap: 0.6em; }
.m-chips span { font-size: 1em; padding: 0.55em 1em; border-radius: 3em; border: 1px solid #44423e; color: #e9e2d6; }
.m-chips span.wa { background: #2fbf63; color: #06210f; border-color: transparent; font-weight: 600; }

/* Narrow stage: phone-shaped store */
@media (max-width: 720px) {
  .compare-frame { max-width: none; }
  .compare-stage { aspect-ratio: 3 / 4.4; }
  .compare-knob { width: 54px; height: 54px; font-size: 12px; }
}
@container (max-width: 560px) {
  .mock { font-size: 2.6cqw; }
  .s-head { padding: 0 1.4em; height: 4.6em; }
  .s-nav { display: none; }
  .s-banner { height: 17em; }
  .s-banner strong { font-size: 2.2em; }
  .s-feat { padding: 2em 1.4em; }
  .s-feat h4 { font-size: 1.5em; margin-bottom: 1em; }
  .s-grid { grid-template-columns: repeat(2, 1fr); }
  .s-card:nth-child(n+3) { display: none; }
  .m-bar { padding: 0 1.2em; }
  .m-bar span { display: none; }
  .m-head { grid-template-columns: auto auto; justify-content: space-between; padding: 0 1.2em; height: 4.6em; }
  .m-nav { display: none; }
  .m-body { grid-template-columns: 1fr; grid-template-rows: 1.5fr 1fr; padding: 0 1.2em 1.2em; height: calc(100% - 7.2em); }
  .m-hero strong { font-size: 3.6em; }
  .m-hero div { left: 1.2em; bottom: 1.2em; gap: 0.8em; }
  .m-side { grid-template-rows: 1fr; }
  .m-prod:nth-child(2) { display: none; }
}

/* ---------- Work ---------- */
.work { padding-block: clamp(80px, 10vw, 160px); border-top: 1px solid var(--rule); }
.work-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.work-row { border-bottom: 1px solid var(--rule); }
.work-row a {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 1fr);
  gap: 8px 24px; align-items: center; padding-block: clamp(22px, 2.6vw, 40px);
  transition: color var(--t1) ease;
}
.work-name { font-family: var(--f-display); font-weight: 700; font-size: clamp(38px, 5.6vw, 96px); letter-spacing: -0.045em; line-height: 0.95; transition: transform var(--t2) var(--ease); }
.work-row a:hover .work-name { transform: translateX(clamp(8px, 1.2vw, 20px)); }
.work-meta { font-size: 15px; color: var(--graphite); }
.work-year { font-size: 15px; text-align: right; font-variant-numeric: tabular-nums; }
.work-thumb { display: none; }
.work-list:hover .work-row a { color: var(--graphite); }
.work-list .work-row a:hover { color: var(--ink); }
.work-preview {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: clamp(240px, 22vw, 380px); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(0.85);
  transition: opacity var(--t1) ease, transform var(--t1) var(--ease);
}
.work-preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.work-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.3s ease; }
.work-preview img.is-on { opacity: 1; }

/* ---------- Fittings (process) ---------- */
.fittings { position: relative; overflow: hidden; padding-block: clamp(96px, 11vw, 170px); }
.fit__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fit__lines polyline { fill: none; stroke: #c9c1b6; stroke-width: 1; vector-effect: non-scaling-stroke; }
.fit { position: relative; }
.fit__kicker { margin: 0 0 clamp(32px, 4vw, 56px); color: var(--graphite); font-weight: 500; }
.fit__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(4px, 0.8vw, 14px); }
.fit__row { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px clamp(18px, 2vw, 32px); padding-left: var(--x); }
.fit__word { font-family: var(--f-hero); font-weight: 400; font-size: clamp(64px, 11.5vw, 210px); line-height: 0.92; letter-spacing: -0.045em; color: var(--night); }
.fit__word .ln { padding-bottom: 0.1em; margin-bottom: -0.1em; }
.fit__pill { margin-bottom: 0.9em; padding: 7px 13px; border: 1px solid #c9c1b6; border-radius: 999px; color: var(--night); white-space: nowrap; font-size: 12px; }

/* ---------- Closing / contact ---------- */
.closing { position: relative; background: var(--night); color: var(--on-night); overflow: hidden; }
.closing__bg { position: absolute; inset: 0; }
.closing__bg img { width: 100%; height: 115%; object-fit: cover; opacity: 0.32; filter: grayscale(0.4); }
.closing__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(33,35,37,0.94) 0%, rgba(33,35,37,0.66) 60%, rgba(33,35,37,0.88) 100%); }
.closing__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px clamp(16px, 2vw, 32px); padding-block: clamp(96px, 12vw, 180px); }
.closing__copy { grid-column: 1 / span 6; display: grid; gap: 28px; align-content: start; }
.closing h2 { font-size: clamp(48px, 7.6vw, 128px); }
.closing .lede { color: var(--on-night-quiet); }
.closing__copy .wa-direct { display: grid; gap: 10px; margin-top: 12px; }
.form { grid-column: 8 / span 5; display: grid; gap: 22px; align-content: start; }
.form__title { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; color: var(--on-night-quiet); }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,0.2); color: var(--on-night);
  font: inherit; font-size: 17px; padding: 8px 0 10px; border-radius: 0; transition: border-color var(--t1) ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--on-night); }
.field input[aria-invalid="true"] { border-color: var(--signal); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form .btn { justify-self: start; }
.form__error { color: #ff8a80; font-size: 14px; min-height: 1em; }
.form__done { display: grid; gap: 12px; align-content: start; padding-top: 8px; }
.form__done strong { font-family: var(--f-display); font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1.05; }

/* ---------- What clients say ---------- */
.say { padding-block: clamp(96px, 12vw, 180px); border-top: 1px solid var(--rule); }
.say__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px clamp(16px, 2vw, 32px); }
.say__head { grid-column: 1 / span 4; }
.say__head h2 { font-size: clamp(40px, 4.6vw, 80px); }
.say__body { grid-column: 6 / span 7; display: grid; gap: 40px; }
.say__quotes { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; display: grid; gap: 28px; align-content: start; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s; }
.quote.is-active { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease) 0.1s; }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--f-hero); font-size: clamp(21px, 1.8vw, 31px); line-height: 1.24; letter-spacing: -0.025em; text-wrap: pretty; }
.quote figcaption { display: grid; gap: 2px; font-size: 15px; }
.quote figcaption span { color: var(--graphite); }
.say__nav { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--rule); }
.say__count { color: var(--graphite); }
.say__count b { color: var(--ink); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(72px, 9vw, 140px); padding-bottom: calc(max(18px, env(safe-area-inset-bottom, 0px)) + 72px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px clamp(16px, 2vw, 32px); margin-bottom: clamp(56px, 8vw, 120px); }
.measure { grid-column: 1 / span 6; font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 3.2vw, 52px); letter-spacing: -0.035em; line-height: 1.04; }
.measure output { font-variant-numeric: tabular-nums; }
.measure .quiet { display: block; }
.footer__cols { grid-column: 8 / span 5; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; font-size: 15px; }
.footer__cols h4 { margin: 0 0 12px; font-size: 13px; font-weight: 500; color: var(--graphite); }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer__mark { width: 100%; height: auto; overflow: visible; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; font-size: 13px; color: var(--graphite); }

/* ---------- Industries ---------- */
.industries { background: var(--night); color: var(--on-night); padding-block: clamp(96px, 12vw, 180px); }
.industries__text { font-weight: 500; font-size: clamp(32px, 4.4vw, 72px); letter-spacing: -0.035em; line-height: 1.05; max-width: 20ch; text-wrap: pretty; }
.industries__grid { display: grid; grid-template-columns: 1.45fr 0.62fr 1.45fr; grid-auto-rows: clamp(300px, 31vw, 560px); gap: clamp(12px, 1.4vw, 20px); margin-top: clamp(48px, 6vw, 88px); }
.ind { margin: 0; display: grid; place-items: center; gap: 12px; min-height: 0; }
.ind .slit { height: 100%; background: #2c2e31; }
.ind figcaption { font-size: 14px; color: var(--on-night-quiet); }

/* ---------- Service enquiry pop-up (opened from the menu) ---------- */
.svc-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; visibility: hidden; transition: visibility 0s linear var(--t2); }
.svc-modal.is-open { visibility: visible; transition: none; }
.svc-modal__scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; transition: opacity var(--t2) var(--ease); }
.svc-modal.is-open .svc-modal__scrim { opacity: 1; }
.svc-modal__box {
  position: relative; width: min(640px, 100%); max-height: calc(100svh - 32px); overflow: auto; overscroll-behavior: contain;
  padding: clamp(28px, 4vw, 44px); color: var(--on-night); background: rgba(33, 35, 37, 0.92);
  -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.08);
  opacity: 0; transform: translateY(28px); transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease);
}
.svc-modal.is-open .svc-modal__box { opacity: 1; transform: none; }
.svc-modal__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; }
.svc-modal__close i { position: absolute; left: 13px; right: 13px; top: 50%; height: 1.5px; background: currentColor; }
.svc-modal__close i:first-child { transform: rotate(45deg); }
.svc-modal__close i:last-child { transform: rotate(-45deg); }
.svc-modal__kicker { color: var(--on-night-quiet); margin-bottom: 10px; }
.svc-modal__title { font-family: var(--f-hero); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 26px; padding-right: 40px; }
.svc-form { gap: 20px; }
.svc-form .btn { justify-self: start; }
.field--select { position: relative; }
.field select {
  width: 100%; appearance: none; -webkit-appearance: none; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,0.2); border-radius: 0;
  color: var(--on-night); font: inherit; font-size: 17px; padding: 8px 28px 10px 0; cursor: pointer;
}
.field select:focus { outline: none; border-color: var(--on-night); }
.field select option { color: var(--ink); background: var(--paper); }
.field--select::after { content: ""; position: absolute; right: 4px; bottom: 18px; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); pointer-events: none; }
.svc-done { display: grid; gap: 12px; }
.svc-done strong { font-family: var(--f-hero); font-weight: 400; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; line-height: 1.1; }
.svc-done p { color: var(--on-night-quiet); }

/* ---------- Case studies ---------- */
.cases { display: grid; gap: clamp(96px, 11vw, 170px); margin-bottom: clamp(72px, 9vw, 130px); }
.case { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px clamp(16px, 2vw, 32px); align-items: start; }
.case__frame { grid-column: 1 / span 8; display: block; background: var(--night); box-shadow: 0 30px 70px rgba(33,35,37,0.18); }
.case__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; color: rgba(255,255,255,0.6); }
.case__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.22); }
.case__bar .mono { margin-left: 10px; font-size: 11px; }
.case__screen { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #2c2e31; }
.case__screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform var(--t3) var(--ease); }
.case__frame:hover .case__screen img { transform: scale(1.03); }
.case__info { grid-column: 10 / span 3; display: grid; gap: 18px; justify-items: start; align-self: center; }
.case__kind { color: var(--graphite); }
.case__name { font-family: var(--f-hero); font-weight: 400; font-size: clamp(44px, 4.6vw, 80px); letter-spacing: -0.04em; line-height: 0.95; }
.case__desc { color: #3a3a38; max-width: 38ch; }
.case__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.case__tags li { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 10px; border: 1px solid #c9c1b6; border-radius: 999px; }
.case__strip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.case__shot { margin: 0; display: grid; gap: 10px; }
.case__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.case__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform var(--t3) var(--ease); }
.case__shot:hover .case__img img { transform: scale(1.04); }
.case__shot figcaption { color: var(--graphite); font-size: 11px; }
.case--flip .case__frame { grid-column: 5 / span 8; grid-row: 1; }
.case--flip .case__info { grid-column: 1 / span 3; grid-row: 1; }

/* ---------- Services ---------- */
.services { padding-block: clamp(80px, 10vw, 160px); background: var(--mist); }
.section-head__aside { grid-column: 9 / span 4; display: grid; gap: 20px; justify-items: start; }
.section-head__aside .lede { grid-column: auto; }
.services .section-head h2 { grid-column: 1 / span 8; font-size: clamp(42px, 5.6vw, 96px); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2vw, 32px); }
.svc { display: grid; gap: 14px; align-content: start; }
.svc__img { aspect-ratio: 16 / 10; margin-bottom: 10px; }
.svc h3 { font-size: clamp(24px, 2vw, 32px); }
.svc p { color: #2e2e2c; max-width: 42ch; }

/* ---------- Grow ---------- */
.grow { background: var(--night); color: var(--on-night); padding-block: clamp(96px, 12vw, 180px); }
.grow .lede { color: var(--on-night-quiet); }
.grow__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px clamp(16px, 2vw, 32px); align-items: start; }
.grow__media { grid-column: 1 / span 6; display: grid; gap: 40px; }
.grow__pics { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.4vw, 20px); align-items: start; }
.grow__pics .slit { aspect-ratio: 4 / 5; }
.grow__b { margin-top: clamp(40px, 6vw, 96px); }
.grow__note { display: grid; gap: 10px; max-width: 52ch; }
.grow__note h3 { font-size: 20px; letter-spacing: -0.02em; }
.grow__note p { color: var(--on-night-quiet); font-size: 16px; }
.grow__body { grid-column: 8 / span 5; display: grid; gap: 36px; justify-items: start; position: sticky; top: 110px; }
.grow__list { list-style: none; margin: 0; padding: 0; width: 100%; border-top: 1px solid rgba(255,255,255,0.12); }
.grow__list li { display: grid; gap: 4px; padding-block: 22px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.grow__list .t { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 3.2vw, 52px); letter-spacing: -0.035em; line-height: 1.05; transition: transform var(--t2) var(--ease); }
.grow__list .d { color: var(--on-night-quiet); font-size: 15px; }
.grow__list li:hover .t { transform: translateX(10px); }

/* ---------- Tools ---------- */
.tools { padding-block: clamp(64px, 8vw, 120px); border-bottom: 1px solid var(--rule); }
.tools__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px clamp(16px, 2vw, 32px); align-items: center; }
.tools__title { grid-column: 1 / span 3; font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; max-width: 14ch; }
.tools__logos { grid-column: 4 / span 9; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 32px; align-items: center; justify-items: center; }
.tools__logos li { height: var(--h, 32px); display: flex; align-items: center; }
.tools__logos img { height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: 0.62; transition: filter var(--t1) ease, opacity var(--t1) ease; }
.tools__logos li:hover img { filter: none; opacity: 1; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 45; height: 48px;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  --bg: rgba(33, 35, 37, 0.82); --bg-hover: #2b8a4f;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(255,255,255,0.08);
  transform: translateY(160%); transition: transform var(--t2) var(--ease), background-color var(--t1) ease;
}
.wa-float.is-on { transform: translateY(0); }
.wa-float .btn__icon { width: 18px; height: 18px; }

/* ---------- Cursor label (desktop only) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; display: none; }
.cursor span { display: grid; place-items: center; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--signal); color: #fff; font-size: 13px; font-weight: 600; transform: scale(0); transition: transform var(--t1) var(--ease); }
.cursor.is-on span { transform: scale(1); }
@media (pointer: fine) { .cursor { display: block; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .statement__text { grid-column: 1 / -1; }
  .statement__side { grid-column: 1 / span 6; grid-row: 2; margin-top: 48px; }
  .section-head h2, .section-head .lede { grid-column: 1 / -1; }
  .closing__copy, .form { grid-column: 1 / -1; }
  .measure, .footer__cols { grid-column: 1 / -1; }
  .say__head, .say__body { grid-column: 1 / -1; }
  .case__frame, .case--flip .case__frame { grid-column: 1 / -1; grid-row: auto; }
  .case__info, .case--flip .case__info { grid-column: 1 / -1; grid-row: auto; }
  .section-head__aside { grid-column: 1 / -1; }
  .grow__media, .grow__body { grid-column: 1 / -1; position: static; }
  .grow__body { order: -1; }
  .tools__title, .tools__logos { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero__content { grid-template-columns: 1fr; grid-template-rows: 1fr auto; align-items: stretch; padding-top: 96px; padding-bottom: calc(max(18px, env(safe-area-inset-bottom, 0px)) + 78px); }
  .hero__title { align-self: start; }
  .hero__side { align-self: end; justify-self: start; justify-items: start; text-align: left; gap: 18px; }
  .hero__btns { justify-content: flex-start; }
  .work-row a { grid-template-columns: 1fr auto; gap: 14px 16px; }
  .work-thumb { display: block; grid-column: 1 / -1; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; }
  .work-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .work-name { grid-column: 1 / -1; }
  .work-meta--services { display: none; }
  .work-list:hover .work-row a { color: inherit; }
  .svc-grid { grid-template-columns: 1fr; gap: 56px; }
  .industries__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .ind--fashion { grid-column: 1 / -1; }
  .ind .slit { height: auto; aspect-ratio: 4 / 5; }
  .ind--fashion .slit { aspect-ratio: 13 / 10; }
  .tools__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
  .case__strip { grid-template-columns: 1fr 1fr; }
  .case__shot:last-child { display: none; }
  .fit__row { padding-left: calc(var(--x) * 0.55); }
  .fit__word { font-size: clamp(56px, 17vw, 120px); }
  .fit__pill { margin-bottom: 0.7em; font-size: 10.5px; }
}
@media (max-width: 680px) {
  .np-grid { grid-template-columns: 1fr; gap: 26px; }
  .nav-panel { padding: 26px 20px; }
  .np-services a { grid-template-columns: 76px 1fr; }
  .np-foot { flex-direction: column; align-items: stretch; }
  .np-cta { justify-content: center; }
}
@media (max-width: 560px) {
  .dock { grid-template-columns: 56px minmax(124px, auto) 56px; height: 56px; }
  .dock__burger i { left: 17px; right: 17px; }
  .nav-panel { bottom: calc(max(18px, env(safe-area-inset-bottom, 0px)) + 66px); }
  .site-header .wrap { grid-template-columns: auto 1fr; }
  .header-side { display: none; }
  .brand { width: 84px; justify-self: start; }
  .header-btn { height: 38px; padding: 0 12px; font-size: 11px; }
  body { font-size: 16px; }
  .statement__side { grid-column: 1 / -1; }
  .field-row { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .wa-float .roll { display: none; }
  .wa-float { padding: 0; width: 48px; }
}

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

/* ---------- Inner pages (WordPress theme) ---------- */
body.idans-inner .site-header { background: rgba(243,240,236,0.92); color: var(--ink); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
body.idans-inner .header-btn { --bg: var(--night); --fg: var(--paper); --bg-hover: #35383b; }
.page-main { padding-block: calc(76px + clamp(56px, 8vw, 120px)) clamp(96px, 12vw, 160px); min-height: 70svh; }
.page-title { font-family: var(--f-hero); font-weight: 400; font-size: clamp(44px, 6vw, 96px); letter-spacing: -0.04em; line-height: 0.98; margin-bottom: clamp(32px, 4vw, 56px); max-width: 18ch; }
.page-content { max-width: 68ch; font-size: 18px; line-height: 1.65; }
.page-content > * + * { margin-top: 1.1em; }
.page-content h2 { font-family: var(--f-hero); font-weight: 400; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1.1; margin-top: 1.8em; }
.page-content h3 { font-family: var(--f-hero); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; margin-top: 1.5em; }
.page-content a { text-decoration: underline; text-underline-offset: 3px; }
.page-content img { height: auto; }
.page-content ul, .page-content ol { padding-left: 1.2em; }
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.post-list li { border-bottom: 1px solid var(--rule); }
.post-list a { display: grid; gap: 6px; padding-block: 28px; }
.post-list .post-list__title { font-family: var(--f-hero); font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.03em; line-height: 1.1; }
.post-list .post-list__meta { color: var(--graphite); }
.pagination { display: flex; gap: 10px; margin-top: 40px; }

/* ---------- About page ---------- */
.about-intro { padding-block: calc(76px + clamp(64px, 9vw, 150px)) clamp(72px, 9vw, 140px); }
.about-intro__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px clamp(16px, 2vw, 32px); align-items: end; }
.about-intro__title { grid-column: 1 / span 8; font-family: var(--f-hero); font-weight: 400; font-size: clamp(48px, 7.4vw, 128px); line-height: 0.96; letter-spacing: -0.045em; }
.about-intro__aside { grid-column: 9 / span 4; display: grid; gap: 28px; justify-items: start; }

/* Founder, after fluid.glass: label top left, story bottom left, portrait right */
.founder { padding-block: clamp(32px, 4vw, 64px) clamp(96px, 12vw, 180px); }
.founder__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px clamp(16px, 2vw, 32px); }
.founder__copy { grid-column: 1 / span 5; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.founder__label { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 13px; color: var(--ink); }
.founder__mark { width: 8px; height: 8px; background: var(--signal); transform: rotate(45deg); flex: none; }
.founder__story { font-family: var(--f-hero); font-size: clamp(18px, 1.45vw, 23px); line-height: 1.38; letter-spacing: -0.01em; max-width: 34ch; padding-bottom: 76px; }
.founder__story p + p { margin-top: 1em; }
.founder__fig { grid-column: 8 / span 5; margin: 0; }
.founder__photo { aspect-ratio: 3 / 4; border-radius: 0; background: var(--night); }
.founder__photo img { position: absolute; inset: 0; }
.founder__ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,0.08); }
.founder__ph svg { width: 30%; height: auto; }
.founder__fig figcaption { display: grid; gap: 8px; padding-top: 22px; }
.founder__name { font-family: var(--f-hero); font-weight: 400; font-size: clamp(26px, 2.2vw, 34px); letter-spacing: -0.03em; line-height: 1.05; }
.founder__fig .mono { color: var(--graphite); }

.about .tools { border-top: 1px solid var(--rule); }

/* FAQ */
.faq { padding-block: clamp(96px, 12vw, 180px); }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px clamp(16px, 2vw, 32px); }
.faq__head { grid-column: 1 / span 4; display: grid; gap: 24px; align-content: start; justify-items: start; position: sticky; top: 110px; align-self: start; }
.faq__head h2 { font-size: clamp(40px, 4.6vw, 80px); }
.faq__list { grid-column: 6 / span 7; border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
.faq__q { font-family: var(--f-hero); font-size: clamp(20px, 1.7vw, 27px); letter-spacing: -0.02em; line-height: 1.2; transition: transform var(--t1) var(--ease); }
.faq__item summary:hover .faq__q { transform: translateX(6px); }
.faq__icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; margin-top: -0.75px; background: currentColor; transition: transform var(--t1) var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item[open] .faq__icon::before { background: var(--signal); }
.faq__item[open] .faq__icon::after { background: var(--signal); }
.faq__a { padding: 0 48px 30px 0; color: var(--graphite); font-size: 17px; line-height: 1.6; max-width: 62ch; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq__item::details-content { height: 0; overflow: clip; transition: height 0.5s var(--ease), content-visibility 0.5s allow-discrete; }
  .faq__item[open]::details-content { height: auto; }
}

@media (max-width: 860px) {
  .about-intro__title, .about-intro__aside { grid-column: 1 / -1; }
  .founder__copy, .founder__fig { grid-column: 1 / -1; }
  .founder__grid { grid-template-columns: minmax(0, 1fr); }
  .founder__copy { display: contents; }
  .founder__label { order: 1; }
  .founder__fig { order: 2; }
  .founder__story { order: 3; padding-bottom: 0; }
  .faq__head, .faq__list { grid-column: 1 / -1; }
  .faq__head { position: static; }
}
@media (max-width: 560px) {
  .about-intro { padding-top: calc(70px + 56px); }
  .faq__a { padding-right: 0; }
}
