/* Hallmark · v2.0.0 · custom run · genre editorial · theme: black-and-white glitch, by request · surface: absolute · posture: restrained · hero: full-bleed 1920x1080 slider, headline and one sentence over a scrim · nav: wordmark left, links and one action right · footer: wordmark, links, copyright · material: owner photographs, greyscale · signature: slider that tears through sliced scanline strips */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V3 · weakest: V, the page order is the familiar hero, services, work, contact; the slice-and-tear slide change and the live availability light carry the identity, and the blinking project lights were asked for by the owner */
/* Hallmark · answered F24 · the glow is the blinking light the owner asked for around a live project box, and the hairline is the box edge it lights */
/* Hallmark · waive 2b · a single-hue ramp from two tokens, --white to --white-fade, on a near-black page · the owner's reference fades the giant condensed name from white to grey behind the portrait, so the gradient is the pinned brief */

/* Hallmark · answered F7 · the panel menu links are pills on purpose: they repeat the glass pill nav of the public site, and they are controls */

:root {
  --ink: #050505;
  --ink-1: #0b0b0b;
  --ink-2: #121212;
  --ink-3: #1b1b1b;
  --line: #2a2a2a;
  --line-2: #3d3d3d;
  --mute: #9b9b9b;
  --text: #e8e8e5;
  --paper: #e9e9e4;
  --white: #f7f7f4;
  --alert: #ff6a5c;
  --hat: #d62b2b;

  --glow: color-mix(in srgb, var(--white) 55%, transparent);
  --glow-soft: color-mix(in srgb, var(--white) 16%, transparent);
  --scrim: color-mix(in srgb, var(--ink) 72%, transparent);
  --hair: color-mix(in srgb, var(--white) 8%, transparent);

  --f: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-script: "Allura", "Segoe Script", cursive;
  --f-script-d: "Pinyon Script", "Allura", "Segoe Script", cursive;
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 56px);
  --col-gap: clamp(24px, 5vw, 64px);
  --r: 24px;
  --white-fade: color-mix(in srgb, var(--white) 30%, var(--ink));
  --white-shade: color-mix(in srgb, var(--white) 42%, var(--ink));
  --line-3: #767676;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0; overflow-x: clip; background: var(--ink); color: var(--text);
  font: 400 1rem/1.65 var(--f); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--white); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 800; font-stretch: 118%; line-height: 1.08; color: var(--white); overflow-wrap: break-word; min-width: 0; }
p { margin: 0 0 1em; }
code { font-size: .9em; background: var(--ink-3); padding: .1em .4em; }

:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
::selection { background: var(--white); color: var(--ink); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: .7rem 1rem; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { max-width: 760px; }
.muted { color: var(--mute); }
.lead { font-size: 1.1rem; max-width: 70ch; color: var(--text); }
.empty { color: var(--mute); border: 1px dashed var(--line-2); padding: 1.4rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.prose { max-width: 70ch; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .8rem 1.4rem; border: 1px solid var(--white); background: transparent; color: var(--white);
  font: 600 .95rem/1 var(--f); text-decoration: none; cursor: pointer; overflow: clip; isolation: isolate;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white); opacity: .22;
  transform: translateX(-115%) skewX(-18deg); transition: transform .5s var(--ease);
}
.btn:hover::after { transform: translateX(115%) skewX(-18deg); }
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--white); color: var(--ink); }
.btn--solid::after { background: var(--ink); opacity: .18; }
.btn--solid:hover { background: var(--paper); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--ghost:hover::after { opacity: 0; }
.btn--danger { border-color: var(--alert); color: var(--alert); }
.btn--danger:hover { background: var(--alert); color: var(--ink); }
.btn--sm { min-height: 40px; padding: .55rem 1rem; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn--solid[disabled], .btn--ghost[disabled] { background: var(--ink-3); border-color: var(--line-2); color: var(--mute); cursor: not-allowed; }
.btn[disabled]::after { display: none; }

/* ---------- site header ---------- */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .35s var(--ease); border-bottom: 1px solid transparent; }
.site-head.is-solid { background: var(--scrim); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.site-head__in { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font: 800 1.35rem/1 var(--f); font-stretch: 125%; color: var(--white); text-decoration: none; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.nav a { text-decoration: none; font-weight: 500; }
.nav a:not(.btn) { color: var(--text); }
.nav a:not(.btn):hover { color: var(--white); text-decoration: underline; text-underline-offset: .3em; }
.burger { display: none; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-3); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 8px; padding: 0; }
.burger span { display: block; width: 20px; height: 2px; background: var(--white); transition: transform .25s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; color: var(--text); min-height: max(560px, 100svh); display: grid; align-items: end; isolation: isolate; overflow: clip; background: var(--ink); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, var(--ink) 0%, color-mix(in srgb, var(--ink) 55%, transparent) 36%, transparent 68%),
    linear-gradient(to right, color-mix(in srgb, var(--ink) 72%, transparent), transparent 62%);
}
.slides { position: absolute; inset: 0; z-index: -2; }
.slide {
  position: absolute; inset: 0; background: var(--img) center / cover no-repeat;
  filter: grayscale(1) contrast(1.15) brightness(.8);
}
.js .slide:not(.is-active) { visibility: hidden; }
.slide.is-active { z-index: 1; animation: kenburns 9s linear both; }
.slide--empty {
  background:
    radial-gradient(70% 60% at 72% 40%, var(--ink-3), transparent 70%),
    var(--ink);
  filter: none;
}
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.09); } }

.hero__fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: clip; }
.hero__fx::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, var(--hair) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay; animation: flicker 7s steps(1) infinite;
}
.hero__fx::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14%;
  background: linear-gradient(to bottom, transparent, var(--glow-soft), transparent);
  opacity: .5; transform: translateY(-120%); animation: scan 9s linear infinite;
}
@keyframes flicker { 0%, 100% { opacity: 1; } 91% { opacity: 1; } 92% { opacity: .55; } 93% { opacity: 1; } 96% { opacity: .7; } 97% { opacity: 1; } }
@keyframes scan { to { transform: translateY(820%); } }

.hero__body { padding-block: 120px clamp(120px, 20vh, 220px); }
.hero h1 { font-size: clamp(2.3rem, 7.4vw, 6.6rem); letter-spacing: -.02em; max-width: 15ch; }
.hero__sub { font-size: clamp(1.05rem, 1.7vw, 1.35rem); max-width: 46ch; margin: 1.4rem 0 2rem; color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__ui { position: absolute; left: 0; right: 0; bottom: clamp(18px, 4vh, 40px); margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--hair); }
.hero__bar span { display: block; height: 100%; background: var(--white); transform-origin: left; transform: scaleX(0); }
.hero__bar span.run { animation: bar var(--dur, 6500ms) linear forwards; }
.hero__bar span.pause { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }

.slider-ctl { display: flex; align-items: center; gap: 12px; }
.ctl { width: 44px; height: 44px; background: var(--scrim); border: 1px solid var(--line-2); color: var(--white); font: 600 1rem/1 var(--f); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); backdrop-filter: blur(6px); }
.ctl:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.ctl-count { margin: 0; min-width: 4.2ch; text-align: center; font-variant-numeric: tabular-nums; color: var(--text); }

.avail { position: relative; display: inline-flex; align-items: center; gap: .65rem; margin: 0; padding: .55rem 1rem; border: 1px solid var(--line-2); background: var(--scrim); backdrop-filter: blur(6px); font-size: .92rem; }
.avail__led { width: 9px; height: 9px; border-radius: 50%; background: var(--white); box-shadow: 0 0 10px 2px var(--glow); animation: led 2.6s steps(1) infinite; }
.avail.is-off .avail__led { background: transparent; border: 1px solid var(--mute); box-shadow: none; animation: none; }
@keyframes led { 0%, 100% { opacity: 1; } 44% { opacity: 1; } 46% { opacity: .2; } 48% { opacity: 1; } 52% { opacity: .35; } 54% { opacity: 1; } }

/* glitch transition strips (injected by site.js) */
.glitch-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.glitch-layer i {
  position: absolute; inset: 0; background: var(--img) center / cover no-repeat;
  filter: grayscale(1) contrast(1.35) brightness(1.05); opacity: 0;
  animation: strip .52s steps(1) var(--dl, 0ms) both;
}
@keyframes strip {
  0% { transform: translateX(0); opacity: 0; }
  14% { transform: translateX(var(--dx)); opacity: 1; }
  34% { transform: translateX(calc(var(--dx) * -.6)); }
  54% { transform: translateX(calc(var(--dx) * .4)); }
  76% { transform: translateX(calc(var(--dx) * -.2)); }
  100% { transform: translateX(0); opacity: 1; }
}
.hero.is-glitching .hero__body { animation: jolt .4s steps(1); }
@keyframes jolt { 0% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } 100% { transform: none; } }

/* headline glitch */
.glitch { position: relative; display: block; }
.glitch::before, .glitch::after {
  content: attr(data-text); content: attr(data-text) / ""; position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; opacity: 0;
  color: var(--white); mix-blend-mode: difference;
}
.glitch.is-glitching::before, .glitch:hover::before { opacity: 1; animation: g1 .38s steps(1) both; }
.glitch.is-glitching::after, .glitch:hover::after { opacity: 1; animation: g2 .38s steps(1) both; }
.glitch:hover::before, .glitch:hover::after { animation-iteration-count: infinite; }
@keyframes g1 {
  0% { clip-path: inset(8% 0 78% 0); transform: translateX(-5px); }
  20% { clip-path: inset(52% 0 20% 0); transform: translateX(6px); }
  40% { clip-path: inset(30% 0 52% 0); transform: translateX(-3px); }
  60% { clip-path: inset(76% 0 6% 0); transform: translateX(5px); }
  80% { clip-path: inset(14% 0 66% 0); transform: translateX(-6px); }
  100% { clip-path: inset(40% 0 40% 0); transform: translateX(0); }
}
@keyframes g2 {
  0% { clip-path: inset(60% 0 22% 0); transform: translateX(6px); }
  25% { clip-path: inset(10% 0 74% 0); transform: translateX(-5px); }
  50% { clip-path: inset(84% 0 2% 0); transform: translateX(4px); }
  75% { clip-path: inset(36% 0 46% 0); transform: translateX(-6px); }
  100% { clip-path: inset(48% 0 34% 0); transform: translateX(0); }
}

/* ---------- sections ---------- */
.sec { padding-block: clamp(72px, 12vw, 160px); }
.sec--alt { background: linear-gradient(to bottom, var(--ink), var(--ink-1) 22%, var(--ink-1) 78%, var(--ink)); }
.sec__title { font-size: clamp(1.8rem, 4.6vw, 3.6rem); letter-spacing: -.015em; margin-bottom: clamp(32px, 5vw, 64px); }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--col-gap); }
.svc { border-top: 1px solid var(--line-2); padding-top: 24px; transition: border-color .25s var(--ease); }
.svc:hover { border-top-color: var(--white); }
.svc__no { font: 800 3rem/1 var(--f); font-stretch: 125%; color: var(--line-2); margin: 0 0 1.2rem; transition: color .25s var(--ease); }
.svc:hover .svc__no { color: var(--white); }
.svc h3 { font-size: 1.35rem; margin-bottom: .7rem; }
.svc p:last-child { color: var(--mute); margin: 0; }

.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
.box { position: relative; display: block; color: inherit; text-decoration: none; border: 1px solid var(--line); background: var(--ink-2); isolation: isolate; }
.box__img { aspect-ratio: 16 / 10; overflow: clip; background: var(--ink-3); display: grid; place-items: center; }
.box__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter .4s var(--ease); }
.box:hover .box__img img { filter: grayscale(1) contrast(1.3) brightness(1.08); }
.box__ph { font: 800 4.5rem/1 var(--f); font-stretch: 125%; color: var(--line-2); }
.box__txt { padding: 20px 24px 24px; }
.box__cat { margin: 0 0 .4rem; font-size: .88rem; color: var(--mute); }
.box h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.box__txt p:last-child { margin: 0; color: var(--mute); font-size: .95rem; }

/* the blinking light around live boxes and live projects */
.box::after, .pcard.is-live::after {
  content: ""; position: absolute; inset: -1px; z-index: 1; pointer-events: none; border: 1px solid var(--white);
  box-shadow: 0 0 24px var(--glow-soft), inset 0 0 24px var(--glow-soft); opacity: 0;
  animation: neon 5.6s steps(1) infinite; animation-delay: calc(var(--i, 0) * -1.35s);
}
.box:hover::after, .pcard.is-live:hover::after { animation: none; opacity: 1; }
@keyframes neon {
  0% { opacity: 0; } 6% { opacity: .95; } 8% { opacity: .15; } 10% { opacity: .85; } 13% { opacity: 0; }
  51% { opacity: 0; } 54% { opacity: .7; } 55% { opacity: .1; } 57% { opacity: .9; } 60% { opacity: 0; } 100% { opacity: 0; }
}

.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--col-gap); align-items: start; }
.contact__lead p { color: var(--text); max-width: 46ch; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--sm { max-width: 170px; }
.field label, .field > label { font-size: .92rem; color: var(--mute); display: grid; gap: 8px; }
input, select, textarea {
  width: 100%; min-height: 46px; padding: .75rem .95rem; background: var(--ink-2); border: 1px solid var(--line-3);
  color: var(--text); font: inherit; border-radius: 0; transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
textarea { resize: vertical; min-height: 120px; }
input:hover, select:hover, textarea:hover { border-color: var(--mute); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--white); outline-offset: 0; }
input:disabled, select:disabled, textarea:disabled { background: var(--ink-3); border-color: var(--line); color: var(--mute); cursor: not-allowed; }
input[type="checkbox"] { width: 20px; min-height: 20px; height: 20px; accent-color: var(--white); padding: 0; }
input[type="file"] { padding: .55rem; }
.check { display: flex; align-items: center; gap: .65rem; min-height: 44px; color: var(--text); }
small { font-size: .85rem; }
fieldset { border: 0; margin: 0; min-width: 0; }
legend { font: 700 1.1rem/1.2 var(--f); color: var(--white); padding: 0; margin-bottom: 1rem; }

.flashes { position: fixed; top: 80px; left: 50%; transform: translateX(-50%); z-index: 70; width: min(92vw, 540px); display: grid; gap: 8px; }
.flashes--panel { position: static; transform: none; width: auto; margin-bottom: 20px; }
.flash { margin: 0; padding: .85rem 1.1rem; background: var(--ink-1); border: 1px solid var(--white); }
.flash--err { border-color: var(--alert); color: var(--alert); }

.toasts { position: fixed; right: 24px; bottom: 24px; z-index: 80; display: grid; gap: 12px; width: min(100% - 32px, 360px); }
.toast { display: grid; gap: 4px; padding: 16px; background: var(--ink-1); border: 1px solid var(--white); color: var(--text); text-decoration: none; animation: toast-in .35s var(--ease) both; }
a.toast:hover { background: var(--ink-2); }
.toast strong { color: var(--white); }
.toast span { color: var(--mute); font-size: .92rem; overflow-wrap: anywhere; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- auth ---------- */
.is-bare { background: var(--ink); }
.auth { min-height: 100svh; display: grid; place-items: center; padding: var(--gutter); position: relative; isolation: isolate; }
.auth::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(to bottom, var(--hair) 0 1px, transparent 1px 3px); }
.auth__card { color: var(--text); width: min(100%, 440px); border: 1px solid var(--line-2); background: var(--ink-1); padding: clamp(24px, 5vw, 40px); display: grid; gap: 20px; }
.auth__card--wide { width: min(100%, 680px); }
.auth__card h1 { font-size: 1.7rem; }
.auth__alt { margin: 0; color: var(--mute); font-size: .95rem; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding-block: 40px; }
.site-foot__in { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.site-foot__brand { font: 800 1.2rem/1 var(--f); font-stretch: 125%; color: var(--white); margin: 0; }
.site-foot__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-foot__nav a { color: var(--mute); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.site-foot__nav a:hover { color: var(--white); text-decoration: underline; }
.site-foot__copy { margin: 0; color: var(--mute); font-size: .9rem; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 1rem 0 2rem; }

/* ---------- panel (admin + customer) ---------- */
.shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100svh; }
.side { position: fixed; inset: 0 auto 0 0; width: 264px; overflow: auto; border-right: 1px solid var(--line); background: var(--ink-1); padding: 24px 16px; display: flex; flex-direction: column; gap: 4px; }
.side__brand { padding-inline: .9rem; }
.side__tag { margin: .4rem 0 1.4rem; padding-inline: .9rem; color: var(--mute); font-size: .88rem; }
.side__nav { display: grid; gap: 2px; }
.side__link { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: .55rem .9rem; color: var(--mute); text-decoration: none; border-left: 2px solid transparent; transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease); }
.side__link:hover { color: var(--white); background: var(--ink-2); }
.side__link.is-on { color: var(--white); border-left-color: var(--white); background: var(--ink-2); }
.count { background: var(--white); color: var(--ink); font-size: .78rem; font-weight: 700; padding: .05rem .5rem; font-variant-numeric: tabular-nums; }
.side__foot { margin-top: auto; padding: 20px .9rem 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.side__user { margin: 0; color: var(--text); overflow-wrap: anywhere; }

.shell__main { min-width: 0; grid-column: 2; }
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; padding: 16px clamp(16px, 3vw, 40px); background: var(--scrim); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__title { font-size: 1.35rem; }
.burger--panel { display: none; }
.pmain { padding: clamp(16px, 3vw, 40px); max-width: var(--wrap); }
.panel .ph { font-size: 1.15rem; margin: 2rem 0 1rem; }
.card .ph:first-child { margin-top: 0; }

.card { color: var(--text); border: 1px solid var(--line); background: var(--ink-1); padding: clamp(16px, 2.4vw, 28px); margin-block: 16px; }
.card--narrow { max-width: 760px; }
.disclose summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.disclose[open] summary { margin-bottom: 16px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.two > .card { margin-block: 0; }
.detail { display: grid; gap: 4px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; margin-block: 20px; }
.stat { display: block; border: 1px solid var(--line); background: var(--ink-1); padding: 20px; color: inherit; text-decoration: none; transition: border-color .2s var(--ease); }
a.stat:hover { border-color: var(--white); }
.stat__n { margin: 0; font: 800 1.55rem/1.15 var(--f); font-stretch: 112%; color: var(--white); overflow-wrap: anywhere; }
.count, .stat__n, .stat__l, .table th, .table td, .invoice__amount { font-variant-numeric: tabular-nums; }
.stat__l { margin: .4rem 0 0; color: var(--mute); font-size: .9rem; font-variant-numeric: tabular-nums; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); gap: 16px; }
.pcard { position: relative; display: block; border: 1px solid var(--line); background: var(--ink-1); padding: 20px; color: inherit; text-decoration: none; isolation: isolate; transition: border-color .2s var(--ease); }
.pcard:hover { border-color: var(--mute); }
.pcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.pcard h3, .pcard__top h2, .pcard__top h3 { font-size: 1.15rem; }
.pcard__meta { margin: 0; color: var(--mute); font-size: .9rem; }

.progress { height: 6px; background: var(--ink-3); margin: 1rem 0 .55rem; overflow: clip; }
.progress span { display: block; height: 100%; background: var(--white); transform-origin: left; transform: scaleX(var(--p, 0)); animation: grow .9s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }

.badge { display: inline-block; padding: .2rem .65rem; border: 1px solid var(--line-2); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.badge--planning, .badge--draft { border-style: dashed; color: var(--mute); }
.badge--active { background: var(--white); border-color: var(--white); color: var(--ink); }
.badge--review, .badge--unpaid { border-color: var(--white); color: var(--white); }
.badge--done, .badge--paid { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.badge--paused { border-style: dashed; color: var(--mute); }
.badge--void { color: var(--mute); text-decoration: line-through; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--ink-1); margin-block: 12px; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-weight: 600; font-size: .88rem; color: var(--mute); padding: 16px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.table td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: middle; overflow-wrap: anywhere; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--ink-2); }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.row-actions select { min-height: 40px; width: auto; padding: .4rem .6rem; }
form.inline { display: inline-flex; gap: 8px; align-items: center; }

.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.list li { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; padding-bottom: 0; }
.meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; margin: 1rem 0; }
.meta dt { color: var(--mute); font-size: .86rem; }
.meta dd { margin: 0; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.actions--sticky { position: sticky; bottom: 0; padding: 16px 0; background: linear-gradient(to top, var(--ink) 65%, transparent); }
.link-btn { background: none; border: 0; padding: 0; min-height: 32px; font: inherit; color: var(--mute); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--white); }

.slide-row { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr) auto; gap: 20px; align-items: start; }
.slide-row__form { min-width: 0; }
.thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(1); border: 1px solid var(--line); background: var(--ink-3); }
.preview { max-width: 360px; margin-bottom: 12px; border: 1px solid var(--line); }

.timeline { list-style: none; margin: 1.2rem 0 0; padding: 0; border-left: 1px solid var(--line-2); }
.timeline li { position: relative; padding: 0 0 20px 20px; }
.timeline li::before { content: ""; position: absolute; left: -4px; top: .45rem; width: 7px; height: 7px; background: var(--white); }
.timeline__meta { margin: 0 0 .25rem; color: var(--mute); font-size: .88rem; }
.msg.is-new { border-color: var(--white); }
.invoice__title { font-size: 1.1rem; margin: .8rem 0 0; }
.invoice__amount { font: 800 clamp(2rem, 5vw, 3rem)/1.1 var(--f); font-stretch: 118%; color: var(--white); margin: .3rem 0 1rem; }
.settings fieldset.card { margin-block: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .side { position: static; inset: auto; width: auto; }
  .shell__main { grid-column: 1; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .two { grid-template-columns: minmax(0, 1fr); }
  .slide-row { grid-template-columns: minmax(0, 1fr); }
  .nav-ready .shell { grid-template-columns: minmax(0, 1fr); }
  .nav-ready .side { position: fixed; inset: 0 auto 0 0; z-index: 40; width: min(84vw, 300px); transform: translateX(-104%); transition: transform .28s var(--ease); }
  .nav-ready .side.is-open { transform: none; }
  .nav-ready .burger--panel { display: inline-flex; }
  .panel.side-open::before { content: ""; position: fixed; inset: 0; z-index: 30; background: var(--scrim); }
}
@media (max-width: 1100px) {
  .nav-ready .burger { display: inline-flex; position: relative; z-index: 60; }
  .nav-ready .nav {
    position: fixed; inset: 0; z-index: 55; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.1rem;
    padding: var(--gutter); background: var(--ink); visibility: hidden; clip-path: inset(0 0 100% 0);
    transition: clip-path .35s var(--ease), visibility 0s .35s;
  }
  .nav-ready .nav.is-open { visibility: visible; clip-path: inset(0); transition-delay: 0s; }
  .nav-ready .nav a:not(.btn) { font-size: 1.7rem; font-weight: 700; }
  .site-head__in { height: 62px; }
  .hero h1 { max-width: 12ch; }
}
@media (max-width: 720px) {
  .works { grid-template-columns: minmax(0, 1fr); }
  .hero__body { padding-block: 96px 152px; }
  .hero__ui { bottom: 22px; }
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .table td { display: flex; justify-content: space-between; gap: 1rem; padding: 8px 0; border: 0; text-align: right; }
  .table td[data-l]::before { content: attr(data-l); color: var(--mute); text-align: left; }
  .row-actions { justify-content: flex-start; }
  .site-foot__in { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 1600px) {
  :root { --wrap: 1360px; }
}

/* ---------- pages (multi-page site) ---------- */
.page-head { padding: clamp(112px, 18vh, 176px) 0 clamp(24px, 4vw, 48px); }
.page-title { font-size: clamp(2.6rem, 8vw, 7rem); letter-spacing: -.025em; max-width: 14ch; }
.page-head .lead { margin-top: 24px; font-size: clamp(1.1rem, 1.8vw, 1.4rem); max-width: 52ch; text-wrap: pretty; }
.sec--tight { padding-block: clamp(32px, 6vw, 80px) clamp(72px, 10vw, 128px); }
.more { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: color .2s var(--ease), border-color .2s var(--ease); }
.more:hover { color: var(--white); border-bottom-color: var(--white); }
.more--back { border-bottom: 0; color: var(--mute); }
.sec__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 64px); }
.sec__row .sec__title { margin-bottom: 0; }
.prose p, .box__txt p, .svc-row p { text-wrap: pretty; }
.box__img img, .about__photo img, .work-hero img, .thumb { outline: 1px solid var(--hair); outline-offset: -1px; }
.nav a[aria-current="page"]:not(.btn) { color: var(--white); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; }

/* reference logos: an endless marquee, white by default, full strength on hover */
.logos { border-block: 1px solid var(--line); padding-block: 40px 48px; overflow: clip; }
.logos__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 32px; }
.logos__title { font: 600 1rem/1.3 var(--f); font-stretch: 100%; color: var(--mute); }
.logos__marquee { mask-image: linear-gradient(to right, transparent, var(--ink) 10%, var(--ink) 90%, transparent); }
.logos__track { --logo-gap: 64px; display: flex; align-items: center; gap: var(--logo-gap); padding: 0 var(--logo-gap) 0 0; margin: 0; list-style: none; width: max-content; animation: marquee 48s linear infinite; }
.logos__marquee:hover .logos__track, .logos__marquee:focus-within .logos__track { animation-play-state: paused; }
.logos__item { flex: none; display: grid; place-items: center; height: 56px; }
.logos__item a { display: grid; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo { width: auto; max-width: 180px; object-fit: contain; opacity: .6; transition: opacity .25s var(--ease); }
.logo--mono { filter: brightness(0) invert(1); }
.logo--gray { filter: grayscale(1); }
.logos__item:hover .logo, .logo-grid li:hover .logo, a:focus-visible .logo { opacity: 1; }
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.logo-grid li { display: grid; place-items: center; min-height: 128px; padding: 24px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.logo-grid a { display: grid; }

/* services as rows */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.svc-row { display: grid; grid-template-columns: minmax(0, 96px) minmax(0, 5fr) minmax(0, 7fr); gap: 16px var(--col-gap); align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--line-2); }
.svc-row__no { font: 800 1.5rem/1 var(--f); font-stretch: 125%; color: var(--line-2); transition: color .25s var(--ease); }
.svc-row:hover .svc-row__no { color: var(--white); }
.svc-row h2, .svc-row h3 { font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
.svc-row p { margin: 0; color: var(--mute); max-width: 52ch; }

/* works: an asymmetric lead grid on the home page */
.works--home { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.works--home .box:nth-child(1) { grid-column: span 7; }
.works--home .box:nth-child(2) { grid-column: span 5; }
.works--home .box:nth-child(3) { grid-column: span 5; }
.works__all { grid-column: span 7; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 32px; border: 1px solid var(--line-2); color: var(--white); text-decoration: none; font: 800 clamp(1.4rem, 3vw, 2.4rem)/1.1 var(--f); font-stretch: 118%; transition: background-color .25s var(--ease), color .25s var(--ease); }
.works__all:hover { background: var(--white); color: var(--ink); }
[data-parallax] img { transform: scale(1.12); will-change: transform; }

.work-hero { color: var(--text); margin: 0 0 clamp(32px, 5vw, 64px); aspect-ratio: 16 / 9; overflow: clip; background: var(--ink-3); border: 1px solid var(--line); }
.work-hero img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.work-body { max-width: 760px; display: grid; gap: 24px; }
.work-body > * { margin: 0; }
.work-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 8vw, 96px); border-top: 1px solid var(--line-2); }
.work-nav a { display: grid; gap: 4px; padding: 24px 0; color: inherit; text-decoration: none; }
.work-nav a:last-child { text-align: right; }
.work-nav strong { font-size: 1.2rem; color: var(--white); }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--col-gap); align-items: start; }
.about__media { position: sticky; top: 96px; }
.about--home .about__media { position: static; }
.about__photo { aspect-ratio: 4 / 5; overflow: clip; background: var(--ink-3); display: grid; place-items: center; border: 1px solid var(--line); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.about__h { font-size: 1.25rem; margin: 48px 0 16px; }
.about__text > :first-child { margin-top: 0; }
.skills { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--col-gap); }
.skills li { padding: 16px 0; border-top: 1px solid var(--line-2); }
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: minmax(0, 112px) minmax(0, 1fr); gap: var(--col-gap); padding: 20px 0; border-top: 1px solid var(--line-2); }
.tl__when { color: var(--mute); }
.tl h3 { font-size: 1.1rem; margin-bottom: 4px; }
.tl p { margin: 0; color: var(--mute); }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
.quotes--page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quote { margin: 0; border-top: 1px solid var(--line-2); padding-top: 24px; display: grid; gap: 24px; align-content: start; }
.quote blockquote { margin: 0; }
.quote p { margin: 0; font: 600 clamp(1.15rem, 1.8vw, 1.5rem)/1.45 var(--f); color: var(--white); text-wrap: pretty; }
.quote figcaption { display: grid; gap: 4px; color: var(--mute); }
.quote strong { color: var(--text); }

/* closing call to action */
.cta { border-top: 1px solid var(--line); }
.cta__title { font-size: clamp(2.2rem, 7vw, 6rem); letter-spacing: -.02em; }
.cta__title a { display: inline-block; color: var(--white); text-decoration: none; transition: transform .3s var(--ease); }
.cta__title a:hover { transform: translateX(12px); }
.cta p { margin: 16px 0 0; color: var(--mute); }

/* header behaviour, scroll progress, page-change curtain (driven by site.js + motion) */
.site-head.is-hidden { transform: translateY(-100%); }
.progress-top { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress-top span { display: block; height: 100%; background: var(--white); transform-origin: left; transform: scaleX(0); }
.curtain { position: fixed; inset: 0; z-index: 200; display: flex; pointer-events: none; }
.curtain i { flex: 1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; }
.pt-cover::before { content: ""; position: fixed; inset: 0; z-index: 199; background: var(--ink); }
.split-word { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.split-word > span { display: inline-block; }
.preview--logo { background: var(--ink-3); padding: 16px; max-width: 240px; }
.thumb--logo { display: grid; place-items: center; padding: 16px; filter: none; }
.thumb--logo img { max-height: 48px; }

@media (max-width: 1100px) {
  .works--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .works--home .box:nth-child(n) { grid-column: auto; }
  .works__all { grid-column: 1 / -1; }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .about__media { position: static; max-width: 420px; }
  .quotes, .quotes--page { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .works--home { grid-template-columns: minmax(0, 1fr); }
  .svc-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .skills { grid-template-columns: minmax(0, 1fr); }
  .tl li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-nav { grid-template-columns: minmax(0, 1fr); }
  .work-nav a:last-child { text-align: left; }
}

/* ---------- hero stage: giant condensed name, portrait in front, project screens beside ---------- */
.hero--stage { min-height: max(680px, 100svh); }
.hero__stars {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1px 1px at 20px 30px, var(--glow), transparent),
    radial-gradient(1px 1px at 140px 90px, var(--glow), transparent),
    radial-gradient(2px 2px at 220px 160px, var(--glow-soft), transparent),
    radial-gradient(1px 1px at 60px 200px, var(--glow-soft), transparent);
  background-size: 240px 240px, 300px 300px, 420px 420px, 180px 180px;
}
.hero__stage { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr auto; column-gap: var(--col-gap); min-height: max(680px, 100svh); padding-block: 104px 112px; }
.hero__top { grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 1; text-align: center; }
.hero__hello { margin: 0 0 8px; font-size: clamp(1.1rem, 2vw, 1.6rem); color: var(--text); }
.hero--stage .hero__name { font-size: clamp(6rem, 22vw, 24rem); overflow-wrap: anywhere; font-weight: 900; font-stretch: 62%; line-height: .84; letter-spacing: -.01em; max-width: none; }
.hero__portrait { grid-column: 4 / 10; grid-row: 1 / 4; align-self: end; justify-self: center; position: relative; z-index: 2; pointer-events: none; display: flex; justify-content: center; margin-bottom: -112px; }
.hero__portrait img { height: min(84svh, 940px); width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.06); }
.hero__portrait--blend { grid-column: 1 / -1; mix-blend-mode: screen; }
.hero__portrait--blend img { width: 100%; max-width: none; height: min(92svh, 1000px); object-fit: cover; object-position: 46% 35%; }
.hero__copy { grid-column: 1 / 5; grid-row: 3; align-self: end; position: relative; z-index: 3; }
.hero__tag { margin: 0 0 24px; max-width: 16ch; font: 700 clamp(1.4rem, 2.4vw, 2.2rem)/1.15 var(--f); font-stretch: 100%; color: var(--white); text-wrap: balance; }
.hero__devices { grid-column: 10 / 13; grid-row: 2 / 4; align-self: end; position: relative; z-index: 3; display: grid; gap: 16px; }
.device { display: block; padding: 8px; background: var(--ink-2); border: 1px solid var(--line-2); border-radius: var(--r); transition: border-color .25s var(--ease); }
.device:hover { border-color: var(--white); }
.device img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r) - 8px); filter: grayscale(1) contrast(1.1); }
.device--laptop { aspect-ratio: 16 / 10; }
.device--tablet { aspect-ratio: 4 / 3; width: 78%; justify-self: end; }
.trust__avatars { display: flex; margin: 0; padding: 0; list-style: none; }
.trust__avatars li { width: 40px; height: 40px; margin-left: -12px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); border: 2px solid var(--ink); overflow: clip; }
.trust__avatars li:first-child { margin-left: 0; }
.trust__avatars img { width: auto; max-width: 24px; max-height: 20px; }
.hero--stage .avail { padding: 8px 8px 8px 16px; border-radius: 999px; }
.avail__link { display: inline-flex; align-items: center; min-height: 40px; margin-left: 8px; padding: 0 16px; border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 600; text-decoration: none; transition: background-color .2s var(--ease); }
.avail__link:hover { background: var(--paper); }

.statsbig { border-bottom: 1px solid var(--line); padding-block: clamp(40px, 6vw, 80px); }
.statsbig dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--col-gap); }
.statsbig dl > div { display: flex; flex-direction: column-reverse; gap: 8px; }
.statsbig dd { margin: 0; font: 900 clamp(3.5rem, 9vw, 8rem)/.9 var(--f); font-stretch: 62%; color: var(--white); font-variant-numeric: tabular-nums; }
.statsbig dt { color: var(--mute); }

.logos__tools { display: flex; align-items: baseline; gap: 24px; }
.more--btn { background: none; border-top: 0; border-inline: 0; font: inherit; cursor: pointer; }
.logos.is-paused .logos__track, .hero.is-paused *, .hero.is-paused *::before, .hero.is-paused *::after { animation-play-state: paused; }
.rv:focus-within { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .hero__devices { display: none; }
  .hero__copy { grid-column: 1 / 6; }
  .hero__portrait { grid-column: 5 / 13; }
  .hero__portrait--blend { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; padding-block: 88px 120px; }
  .hero__top { text-align: left; }
  .hero--stage .hero__name { font-size: clamp(4.5rem, 24vw, 9rem); }
  .hero__portrait, .hero__portrait--blend { grid-column: 1; grid-row: 2; margin: -16px 0 -48px; }
  .hero__portrait img { height: min(52svh, 480px); }
  .hero__copy { grid-column: 1; grid-row: 3; }
}
@media print { .js .rv { opacity: 1; transform: none; } }

/* ---------- reference polish: glass pill menu, gradient name, in-hero ticker, glass card ---------- */
html { scrollbar-color: var(--line-3) var(--ink); }
input, select, textarea { caret-color: var(--white); }
.ico { width: 1em; height: 1em; flex: none; }

.site-head__in { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; }
.nav { display: contents; }
.nav__pills { display: flex; align-items: center; gap: 8px; grid-column: 2; }
.nav__end { display: flex; align-items: center; gap: 24px; grid-column: 3; justify-self: end; }
.pill-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: color-mix(in srgb, var(--white) 8%, transparent); border: 1px solid var(--hair); backdrop-filter: blur(14px); color: var(--text); text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease); }
.nav a.pill-link:hover { background: color-mix(in srgb, var(--white) 18%, transparent); color: var(--white); text-decoration: none; }
.nav a.pill-link[aria-current="page"] { background: var(--white); color: var(--ink); text-decoration: none; }

.btn--pill { min-height: 48px; padding: 4px 4px 4px 20px; gap: 12px; border-radius: 999px; }
.btn--pill.btn--sm { min-height: 44px; padding-left: 16px; }
.btn__arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--white); transition: transform .3s var(--ease); }
.btn--sm .btn__arrow { width: 36px; height: 36px; }
.btn--pill:hover .btn__arrow { transform: rotate(45deg); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--white); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: .3em; }

.hero__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(70% 55% at 50% 108%, color-mix(in srgb, var(--white) 26%, transparent), transparent 70%), radial-gradient(40% 40% at 14% 8%, color-mix(in srgb, var(--white) 8%, transparent), transparent); }
.hero--stage .hero__ln, .hero--stage .hero__nm .split-word > span { background: linear-gradient(to bottom, var(--white) 40%, var(--white-fade)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero--stage .hero__nm { display: block; }
.hero--stage .hero__nm::before, .hero--stage .hero__nm::after { display: none; }
.hero__hello { display: block; margin: 0 0 8px; font: 600 clamp(1.1rem, 2vw, 1.6rem)/1.2 var(--f); font-stretch: 100%; letter-spacing: 0; color: var(--text); }
.hero__trusted { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .9rem; color: var(--text); }

.hero__side { grid-column: 10 / 13; grid-row: 2 / 4; align-self: end; position: relative; z-index: 3; display: grid; gap: 16px; }
.glass { display: grid; gap: 16px; padding: 20px; border-radius: var(--r); background: color-mix(in srgb, var(--white) 8%, transparent); border: 1px solid var(--hair); backdrop-filter: blur(18px); box-shadow: 0 16px 40px color-mix(in srgb, var(--ink) 50%, transparent); }
.glass p { margin: 0; color: var(--text); text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--white) 10%, transparent); border: 1px solid var(--hair); font-size: .85rem; }

.hero__ticker { position: absolute; left: 0; right: 0; bottom: 104px; z-index: 4; overflow: clip; pointer-events: none; mask-image: linear-gradient(to right, transparent, var(--ink) 6%, var(--ink) 94%, transparent); }
.ticker__track { display: flex; align-items: center; gap: 32px; width: max-content; margin: 0; padding: 0 32px 0 0; list-style: none; animation: marquee 40s linear infinite; }
.ticker__track li { display: flex; align-items: center; gap: 12px; white-space: nowrap; font: 900 clamp(1.6rem, 3.4vw, 3.2rem)/1 var(--f); font-stretch: 62%; text-transform: uppercase; color: var(--white); }
.ticker__track .ico { font-size: .7em; }
.hero--ticker .hero__copy, .hero--ticker .hero__side { margin-bottom: 72px; }

.avail__ava { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: top; filter: grayscale(1); }
.hero__ui { z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.hero__ui .avail { grid-column: 2; }
.hero__ui .slider-ctl { grid-column: 3; justify-self: end; }

@media (max-width: 1100px) {
  .hero__side { display: none; }
  .nav-ready .pill-link { min-height: 48px; padding: 0; border: 0; background: none; backdrop-filter: none; font-size: 1.7rem; font-weight: 700; }
  .nav-ready .nav__pills, .nav-ready .nav__end { flex-direction: column; align-items: flex-start; gap: 16px; grid-column: auto; justify-self: auto; }
  .nav-ready .nav a.pill-link[aria-current="page"] { background: none; color: var(--white); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; }
  .site-head__in { grid-template-columns: 1fr auto; }
  .nav-ready .nav { display: flex; }
}
@media (max-width: 720px) {
  .hero__ui { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 12px; }
  .hero__ui .avail, .hero__ui .slider-ctl { grid-column: 1; justify-self: center; }
  .hero__ticker { bottom: 152px; }
  .hero--ticker .hero__copy { margin-bottom: 48px; }
}

/* ---------- reveal: hidden only while motion can bring it in; visible without motion, or after a 3 s failsafe ---------- */
.js .rv { opacity: 0; transform: translateY(28px); }
.js.rv-fail .rv { opacity: 1; transform: none; }

/* ---------- motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .logos__marquee { mask-image: none; }
  .logos__track { width: auto; flex-wrap: wrap; justify-content: center; padding: 0; }
  .logos__item[aria-hidden="true"], .curtain, .progress-top { display: none; }
  [data-parallax] img { transform: none; }
  .box::after, .pcard.is-live::after { opacity: .5; }
}

@media print {
  .site-head, .side, .top, .noprint, .flashes, .skip { display: none !important; }
  body, .card { background: var(--white); color: var(--ink); }
  .shell { display: block; }
  .card { border: 1px solid var(--ink); }
  h1, h2, h3, .invoice__amount { color: var(--ink); }
}

/* ---------- panel v2: glass sidebar, soft cards, same black-and-white tokens as the site ---------- */
body.panel { background: radial-gradient(ellipse 60% 40% at 85% -8%, var(--glow-soft), transparent 70%), var(--ink); background-attachment: fixed; }
.panel .shell { grid-template-columns: 296px minmax(0, 1fr); }
.panel .side { inset: 12px auto 12px 12px; width: 272px; border: 1px solid var(--line); border-radius: var(--r); background: color-mix(in srgb, var(--ink-1) 82%, transparent); backdrop-filter: blur(16px); padding: 24px 12px 16px; }
.panel .side__brand { font-size: 1.35rem; }
.panel .side__tag { display: inline-flex; align-self: flex-start; margin: 8px 0 24px 12px; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .8rem; }
.panel .side__link { border-left: 0; border-radius: 999px; padding-inline: 16px; font-weight: 500; }
.panel .side__link:hover { background: var(--ink-3); }
.panel .side__link.is-on { background: var(--white); color: var(--ink); font-weight: 700; }
.panel .side__link.is-on .count { background: var(--ink); color: var(--white); }
.panel .count { border-radius: 8px; }
.panel .side__foot { border-top: 1px solid var(--line); padding-inline: 12px; }
.panel .shell__main { grid-column: 2; }
.panel .top { margin: 12px 12px 0 0; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 24px; background: color-mix(in srgb, var(--ink-1) 72%, transparent); }
.panel .top__title { font-size: clamp(1.15rem, 2vw, 1.5rem); font-stretch: 112%; }
.panel .pmain { padding: 24px 12px 56px 0; max-width: var(--wrap); }

.panel .card, .panel .stat, .panel .pcard, .panel .table-wrap { border-radius: var(--r); background: linear-gradient(180deg, color-mix(in srgb, var(--white) 4%, var(--ink-1)), var(--ink-1) 140px); }
.panel .card { padding: clamp(20px, 2.4vw, 32px); }
.panel .stat { padding: 24px; transition: border-color .25s var(--ease), transform .25s var(--ease), background-color .25s var(--ease); }
.panel a.stat:hover, .panel .pcard:hover { transform: translateY(-4px); border-color: var(--line-3); }
.panel .stat__n { font-variant-numeric: tabular-nums; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 900; font-stretch: 100%; letter-spacing: -.01em; }
.panel .stat__l { margin-top: 8px; }
.panel .table th { font-variant-numeric: tabular-nums; text-transform: none; font-size: .82rem; letter-spacing: .02em; background: color-mix(in srgb, var(--white) 3%, transparent); }
.panel .table tbody tr { transition: background-color .2s var(--ease); }
.panel .badge { border-radius: 999px; padding: 4px 12px; font-size: .78rem; }
.panel input, .panel select, .panel textarea { border-radius: 12px; background: var(--ink); color: var(--text); border-color: var(--line-2); }
.panel input:focus-visible, .panel select:focus-visible, .panel textarea:focus-visible { box-shadow: 0 0 0 4px var(--glow-soft); }
.panel .thumb, .panel .preview { border-radius: 16px; }
.panel .flash { border-radius: 16px; }
.panel .actions--sticky { background: linear-gradient(to top, var(--ink) 55%, transparent); }
.panel .list li { padding-bottom: 16px; }
.panel .btn:not(.btn--pill) { border-radius: 999px; }
.panel .timeline li::before { border-radius: 50%; }
.panel .progress { border-radius: 999px; }
.panel .progress span { border-radius: 999px; }
.panel .is-in { will-change: transform, opacity; }

@media (max-width: 960px) {
  .panel .shell { grid-template-columns: minmax(0, 1fr); }
  .panel .shell__main { grid-column: 1; }
  .panel .top { margin: 12px 12px 0; }
  .panel .pmain { padding: 16px 12px 48px; }
  .nav-ready .panel .side { inset: 0 auto 0 0; width: min(84vw, 300px); border-radius: 0 var(--r) var(--r) 0; background: var(--ink-1); color: var(--text); }
}

/* ---------- hero v3: handwritten name behind the portrait, in 3D ---------- */
.hero--stage { --rx: 0; --ry: 0; }
.hero--stage .hero__stage { perspective: 1400px; }
.hero--stage .hero__name { font-size: 1rem; line-height: 1; font-weight: 400; font-stretch: 100%; }
.hero--stage .hero__nm { font-family: var(--f-script); font-weight: 400; font-stretch: 100%; font-size: clamp(8rem, 30vw, 28rem); line-height: 1; letter-spacing: 0; padding: .08em .2em .2em; margin-top: clamp(0px, 3vw, 48px); transform: translate3d(calc(var(--ry) * -28px), calc(var(--rx) * -16px), -120px) rotate(-6deg) rotateY(calc(var(--ry) * 9deg)) rotateX(calc(var(--rx) * -6deg)); will-change: transform; }
.hero--stage .hero__portrait img { transform: translate3d(calc(var(--ry) * 14px), calc(var(--rx) * 8px), 0) rotateY(calc(var(--ry) * -3deg)); will-change: transform; }
.hero--stage .hero__hello { position: relative; z-index: 4; }
@supports (mask-mode: luminance) {
  /* the photo is its own mask: black becomes clear, lit skin stays solid, so the written name passes behind the head */
  .hero__portrait--blend { mix-blend-mode: normal; }
  .hero__portrait--blend img {
    -webkit-mask-image: var(--p), var(--p), var(--p), var(--p), var(--p), var(--p), var(--p), var(--p); mask-image: var(--p), var(--p), var(--p), var(--p), var(--p), var(--p), var(--p), var(--p);
    mask-mode: luminance; mask-size: cover; mask-position: 46% 35%; mask-repeat: no-repeat;
  }
}
@media (max-width: 720px) {
  .hero--stage .hero__nm { font-size: clamp(7rem, 40vw, 12rem); margin-top: 0; }
  .hero__portrait, .hero__portrait--blend { margin: -24vw 0 -48px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero--stage .hero__nm, .hero--stage .hero__portrait img { transform: rotate(-6deg); }
  .hero--stage .hero__portrait img { transform: none; }
}

/* hero v4: the name on two staggered lines, each on its own depth plane, drifting against the pointer like a carousel */
.hero--stage .hero__nm { font-size: clamp(6rem, min(22vw, 25svh), 22rem); line-height: .86; margin-top: clamp(0px, 2vw, 32px); padding: 0; transform: rotate(-3deg); }
.hero__ln { display: block; width: fit-content; padding: .06em .16em .16em; background-size: 260% 100%; animation: sheen 7s linear infinite; will-change: transform; }
.hero__ln--0 { margin-inline: auto; transform: translate3d(calc(var(--ry) * -48px), calc(var(--rx) * -14px), 0); }
.hero__ln--1 { margin: -.14em auto 0; transform: translate3d(calc(var(--ry) * 56px), calc(var(--rx) * -24px), 0); }
@keyframes sheen { from { background-position: 0 0; } to { background-position: -260% 0; } }
@media (max-width: 720px) {
  .hero--stage .hero__nm { font-size: clamp(4.5rem, 24vw, 8rem); }
}
@media (prefers-reduced-motion: reduce) { .hero__ln { animation: none; transform: none; } }
.hero--stage .hero__ln { background-image: linear-gradient(100deg, var(--white-fade) 0%, var(--white) 22%, var(--white) 38%, var(--white-fade) 60%, var(--white) 80%, var(--white-fade) 100%); }
.hero--stage .hero__portrait--blend img { transform: translate3d(calc(-5vw + var(--ry) * 14px), calc(var(--rx) * 8px), 0) rotateY(calc(var(--ry) * -3deg)); }
.hero__portrait--cutout::before { content: ""; position: absolute; inset: 8% 4% -10%; z-index: -1; background: radial-gradient(ellipse 50% 52% at 50% 42%, var(--glow-soft), transparent 70%); pointer-events: none; }
.hero--stage .hero__portrait--cutout img { max-width: none; width: auto; height: min(64svh, 700px); object-fit: contain; filter: grayscale(1) contrast(1.1) brightness(1.25); }
@media (max-width: 720px) { .hero--stage .hero__portrait--cutout img { height: min(56svh, 520px); } }
@media (min-width: 721px) { .hero--stage .hero__stage { padding-block: 88px 104px; min-height: 100svh; } .hero--stage .hero__portrait { margin-bottom: -104px; } }
.hero--stage .hero__hello { font-family: var(--f-script); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.2; letter-spacing: .01em; color: var(--text); text-wrap: balance; margin: 0 auto 4px; max-width: 32ch; }

/* hero on phones: name, portrait, the availability pill over the chest, tagline, buttons: all in one screen */
.avail--m { display: none; }
@media (max-width: 720px) {
  .hero--stage { min-height: 100svh; }
  .hero--stage .hero__stage { min-height: 100svh; grid-template-rows: auto minmax(0, 1fr) auto auto; padding-block: 72px 20px; row-gap: 0; }
  .hero--stage .hero__nm { font-size: min(30vw, 19svh); margin-top: 0; }
  .hero__ln { white-space: nowrap; }
  .hero--stage .hero__portrait, .hero--stage .hero__portrait--cutout { grid-row: 2; align-self: end; margin: -4vw 0 0; }
  .hero--stage .hero__portrait--cutout img { height: min(44svh, 420px); max-width: 100%; }
  .hero__ui { display: none; }
  .avail--m { display: inline-flex; grid-column: 1; grid-row: 3; justify-self: center; align-self: end; position: relative; z-index: 5; margin: -56px 0 16px; max-width: 100%; }
  .hero--stage .hero__copy { grid-column: 1; grid-row: 4; text-align: center; }
  .hero--stage .hero__tag { font-size: clamp(1.25rem, 6vw, 1.6rem); margin-bottom: 12px; }
  .hero--stage .hero__cta { justify-content: center; }
}

/* hero v5: no sweeping band, lit edge on the name, rare tiny glitches behind it, fine snow */
.hero__fx::after { display: none; }
.hero--stage .hero__hello { font-family: var(--f); font-weight: 300; font-stretch: 100%; font-size: clamp(.95rem, 1.5vw, 1.25rem); letter-spacing: .06em; white-space: nowrap; max-width: none; margin: 0 auto 8px; color: var(--text); }
.hero__ln { position: relative; -webkit-text-stroke: .6px color-mix(in srgb, var(--white) 70%, transparent); filter: drop-shadow(0 0 2px var(--glow)) drop-shadow(0 0 14px var(--glow-soft)); }
.hero__ln::before, .hero__ln::after { content: attr(data-text); position: absolute; inset: 0; padding: inherit; opacity: 0; pointer-events: none; -webkit-text-stroke: 0; }
.hero__ln::before { clip-path: inset(20% 0 58% 0); animation: lng-a 6.4s steps(1) infinite; }
.hero__ln::after { clip-path: inset(62% 0 12% 0); animation: lng-b 7.6s steps(1) infinite 1.7s; }
.hero__ln--1::before { animation-delay: 3.1s; }
@keyframes lng-a { 0%, 100% { opacity: 0; } 41% { opacity: .85; transform: translateX(-7px); } 42.5% { opacity: 0; } 43.5% { opacity: .7; transform: translateX(5px); clip-path: inset(46% 0 34% 0); } 45% { opacity: 0; } }
@keyframes lng-b { 0%, 100% { opacity: 0; } 72% { opacity: .8; transform: translateX(6px); } 73.5% { opacity: 0; } 76% { opacity: .6; transform: translateX(-4px); clip-path: inset(30% 0 52% 0); } 77.5% { opacity: 0; } }
.hero__snow { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hero__ln::before, .hero__ln::after { animation: none; } .hero__snow { display: none; } }

/* phones: everything fits one screen, sized by both width and height */
@media (max-width: 720px) {
  .hero--stage .hero__stage { padding-block: 64px 16px; }
  .hero--stage .hero__hello { font-size: clamp(.78rem, 3.5vw, .95rem); letter-spacing: .03em; margin-bottom: 4px; }
  .hero--stage .hero__nm { font-size: min(22vw, 14svh); }
  .hero__ln { padding: .04em .1em .12em; }
  .hero--stage .hero__portrait--cutout img { height: min(40svh, 380px); }
  .avail--m { white-space: nowrap; gap: .5rem; padding: 4px 4px 4px 14px; font-size: .78rem; margin: -40px 0 12px; }
  .avail--m .avail__ava { display: none; }
  .avail--m .avail__link { padding: .5rem .85rem; white-space: nowrap; }
  .hero--stage .hero__cta .btn--pill { min-height: 44px; font-size: .9rem; }
  .hero--stage .hero__cta .btn__arrow { width: 34px; height: 34px; }
}
@media (max-width: 720px) and (max-height: 700px) {
  .hero--stage .hero__nm { font-size: min(20vw, 12svh); }
  .hero--stage .hero__portrait--cutout img { height: min(34svh, 300px); }
}
@media (max-width: 720px) {
  .hero--stage .hero__nm { font-size: min(22vw, 13svh); }
  .hero--stage .hero__portrait--cutout img { height: min(35svh, 340px); }
  .hero--stage .hero__tag { font-size: clamp(1rem, 4.6vw, 1.2rem); line-height: 1.25; margin-bottom: 10px; }
}
@media (max-width: 720px) { .hero--stage .hero__tag { max-width: none; text-wrap: balance; } }

/* bigger portrait, one-line tagline on phones */
@media (min-width: 721px) { .hero--stage .hero__portrait--cutout img { height: min(80svh, 900px); } }
@media (max-width: 720px) {
  .hero--stage .hero__portrait--cutout img { height: min(50svh, 470px); max-width: none; }
  .hero--stage .hero__portrait--cutout { margin-top: -10svh; }
  .hero--stage .hero__tag { font-size: min(3.8vw, 1.05rem); font-weight: 600; letter-spacing: -.01em; white-space: nowrap; margin-bottom: 12px; }
}
@media (max-width: 720px) and (max-height: 700px) { .hero--stage .hero__portrait--cutout img { height: min(44svh, 360px); } }

/* phones: the written name sits behind the head, the portrait is bigger */
@media (max-width: 720px) {
  .hero--stage .hero__stage { grid-template-rows: 0 minmax(0, 1fr) auto auto; }
  .hero--stage .hero__top { grid-row: 2; grid-column: 1; align-self: start; margin-top: 4svh; z-index: 1; }
  .hero--stage .hero__nm { font-size: min(22vw, 14svh); }
  .hero--stage .hero__portrait--cutout { grid-row: 2; margin-top: 0; }
  .hero--stage .hero__portrait--cutout img { height: min(58svh, 540px); }
}
@media (max-width: 720px) and (max-height: 700px) { .hero--stage .hero__portrait--cutout img { height: min(50svh, 420px); } }

html { background: var(--ink); }

/* name: moving shade inside the strokes, slow breathing glow around them */
.hero--stage .hero__ln { background-image: linear-gradient(100deg, var(--white-shade) 0%, var(--white) 18%, var(--white-fade) 34%, var(--white) 50%, var(--white-shade) 66%, var(--white) 82%, var(--white-shade) 100%); animation: sheen 9s linear infinite, breathe 5.2s ease-in-out infinite; }
.hero__ln--1 { animation-delay: 0s, -2.6s; }
@keyframes breathe {
  0%, 100% { filter: drop-shadow(0 0 2px var(--glow-soft)) drop-shadow(0 0 8px var(--glow-soft)); }
  50% { filter: drop-shadow(0 0 3px var(--glow)) drop-shadow(0 0 26px var(--glow)); }
}
@media (prefers-reduced-motion: reduce) { .hero--stage .hero__ln { animation: none; } }

/* soft hand-over from the hero into the page, never a hard edge */
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: clamp(120px, 26svh, 260px); z-index: 2; pointer-events: none; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--ink) 70%, transparent) 55%, var(--ink)); }
.scroll-cue { position: absolute; right: clamp(18px, 4vw, 56px); bottom: clamp(18px, 4vh, 40px); z-index: 6; display: inline-flex; align-items: center; gap: 12px; color: var(--mute); font-size: .82rem; letter-spacing: .06em; text-decoration: none; transition: color .25s var(--ease); }
.scroll-cue:hover { color: var(--white); }
.scroll-cue__mouse { position: relative; width: 24px; height: 40px; border: 1.5px solid var(--line-3); border-radius: 12px; box-shadow: 0 0 16px var(--glow-soft); }
.scroll-cue__mouse i { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--white); animation: wheel 1.9s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 25% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 960px) { .scroll-cue { display: none; } }

/* what I do: headline glows, rows arrive as bars from alternating sides with a light sweeping through */
.sec__title { animation: title-glow 6s ease-in-out infinite; }
@keyframes title-glow { 0%, 100% { text-shadow: 0 0 12px var(--glow-soft); } 50% { text-shadow: 0 0 34px var(--glow); } }
.svc-row { position: relative; overflow: clip; transition: background-color .3s var(--ease); }
.js .svc-row.rv { transform: translateX(-72px); }
.js .svc-row.rv:nth-child(even) { transform: translateX(72px); }
.js.rv-fail .svc-row.rv { transform: none; }
.svc-row::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 42%; pointer-events: none; background: linear-gradient(90deg, transparent, var(--glow-soft), transparent); transform: translateX(-130%); }
.svc-row.is-in::after { animation: bar-sweep 1.5s var(--ease) .2s both; }
.svc-row:nth-child(even).is-in::after { inset: 0 0 0 auto; transform: translateX(130%); animation-name: bar-sweep-r; }
@keyframes bar-sweep { to { transform: translateX(260%); } }
@keyframes bar-sweep-r { to { transform: translateX(-260%); } }
.svc-row:hover { background: linear-gradient(90deg, var(--hair), transparent 70%); }
.svc-row:hover h3 { text-shadow: 0 0 22px var(--glow-soft); }
@media (prefers-reduced-motion: reduce) { .sec__title, .scroll-cue__mouse i { animation: none; } .svc-row::after { display: none; } .js .svc-row.rv, .js .svc-row.rv:nth-child(even) { transform: none; } }

/* brand mark */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.brand--logo { display: inline-flex; align-items: center; gap: 12px; font-size: 1rem; }
.logo__icon { width: 2.5rem; height: 2.5rem; flex: none; color: var(--white); filter: drop-shadow(0 0 10px var(--glow-soft)); transition: filter .3s var(--ease); }
.brand--logo:hover .logo__icon { filter: drop-shadow(0 0 14px var(--glow)); }
.logo__word { font: 800 1.2rem/1 var(--f); font-stretch: 125%; letter-spacing: .12em; color: var(--white); white-space: nowrap; }
.logo__o { position: relative; display: inline-block; }
.logo__hat { position: absolute; left: -.42em; top: -.98em; width: 1.6em; height: auto; overflow: visible; pointer-events: none; transform: rotate(-16deg); transform-origin: 70% 100%; animation: hat-sway 4.6s ease-in-out infinite; }
.logo__hat-cap { fill: var(--hat); }
.logo__hat-fur, .logo__hat-ball { fill: var(--white); }
@keyframes hat-sway { 0%, 100% { transform: rotate(-16deg); } 50% { transform: rotate(-11deg); } }
@media (max-width: 720px) { .logo__word { font-size: .86rem; letter-spacing: .08em; } .logo__icon { width: 2rem; height: 2rem; } .brand--logo { gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .logo__hat { animation: none; } }

/* brand mark v2: the OA monogram alone, with the festive hat on top */
.logo__mark { position: relative; display: inline-block; width: 3.1rem; height: 3.1rem; flex: none; margin-top: 12px; }
.logo__mark .logo__icon { width: 100%; height: 100%; }
.logo__mark .logo__hat { left: 34%; top: -22%; width: 72%; transform: rotate(14deg); transform-origin: 30% 100%; animation-name: hat-sway-2; }
@keyframes hat-sway-2 { 0%, 100% { transform: rotate(14deg); } 50% { transform: rotate(19deg); } }
.side__brand .logo__mark, .site-foot__brand .logo__mark { width: 3rem; height: 3rem; }
@media (max-width: 720px) { .logo__mark { width: 3rem; height: 3rem; } }
@media (prefers-reduced-motion: reduce) { .logo__mark .logo__hat { animation: none; } }

/* hat v2: fuller cap with light and shade, fur scallops and a fluffy pompom, set on the upper left of the mark */
.logo__hat-cap { fill: var(--hat); }
.logo__hat-lit { fill: var(--white); opacity: .22; }
.logo__hat-shade { fill: var(--ink); opacity: .22; }
.logo__hat-fur { fill: var(--white); }
.logo__hat-ball { fill: var(--white); }
.logo__hat-ball-shade { fill: var(--line-2); opacity: .35; }
.logo__mark .logo__hat { left: -26%; top: -34%; width: 84%; --hr: -24deg; transform: rotate(var(--hr)); transform-origin: 80% 100%; animation-name: hat-sway-3; filter: drop-shadow(0 2px 4px var(--scrim)); }
@keyframes hat-sway-3 { 0%, 100% { transform: rotate(-24deg); } 50% { transform: rotate(-19deg); } }
@media (prefers-reduced-motion: reduce) { .logo__mark .logo__hat { animation: none; } }

/* hat v3: seated on the ring (fur band crosses the O at ten o'clock), mark lowered so the hat clears the top edge */
.logo__mark { margin-top: 20px; }
.logo__mark .logo__hat { left: -9%; top: -30%; width: 82%; --hr: -16deg; transform: rotate(var(--hr)); transform-origin: 50% 100%; animation-name: hat-sway-4; }
@keyframes hat-sway-4 { 0%, 100% { transform: rotate(-16deg); } 50% { transform: rotate(-12deg); } }

/* desktop name: larger, in Pinyon Script; phones keep Allura */
@media (min-width: 900px) and (min-height: 560px) {
  .hero--stage .hero__nm { font-family: var(--f-script-d); font-size: clamp(7rem, min(20vw, 22svh), 20rem); line-height: .92; margin-top: clamp(8px, 2svh, 32px); }
  .hero__ln { padding: .02em .12em .08em; -webkit-text-stroke-width: .4px; filter: drop-shadow(0 0 1px var(--glow)) drop-shadow(0 0 8px var(--glow-soft)); }
  .hero--stage .hero__ln { background: none; background-image: none; color: var(--white); animation: none; }
  .hero__ln--0, .hero__ln--1 { margin-inline: auto; transform: translate3d(calc(var(--ry) * -12px), calc(var(--rx) * -10px), 0); }
  .hero--stage .hero__nm { letter-spacing: .035em; }
  .hero__ln--1 { margin-top: .08em; }
}

/* service rows: line icon in place of the number */
.svc-row__no { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--line-2); border-radius: 16px; color: var(--mute); align-self: center; transition: color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.svc-ico { width: 28px; height: 28px; }
.svc-row:hover .svc-row__no { color: var(--white); border-color: var(--white); box-shadow: 0 0 24px var(--glow-soft); }

/* header logo: smaller mark so it sits inside the header line, hat still clear of the top edge */
.site-head .logo__mark { width: 2.75rem; height: 2.75rem; margin-top: 14px; margin-bottom: 0; }

/* announcements band: white strip, text drifts right to left */
.news { position: relative; background: var(--white); color: var(--ink); overflow: hidden; border-block: 1px solid var(--line-2); }
.news__track { display: flex; width: max-content; animation: news-run var(--dur, 40s) linear infinite; will-change: transform; }
.news:hover .news__track { animation-play-state: paused; }
.news__set { display: flex; flex: none; margin: 0; padding: 0; list-style: none; }
.news__item { flex: none; display: flex; align-items: center; gap: 32px; padding: 20px 32px 20px 0; font: 700 clamp(1rem, 1.6vw, 1.375rem)/1.2 var(--f); font-stretch: 112%; letter-spacing: -.01em; white-space: nowrap; }
.news__item::after { content: ""; width: 8px; height: 8px; background: var(--ink); transform: rotate(45deg); flex: none; }
.news::before, .news::after { content: ""; position: absolute; inset-block: 0; width: clamp(24px, 6vw, 96px); z-index: 1; pointer-events: none; }
.news::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.news::after { right: 0; background: linear-gradient(270deg, var(--white), transparent); }
@keyframes news-run { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .news__item { padding-block: 16px; gap: 24px; padding-right: 24px; } }
@media (prefers-reduced-motion: reduce) { .news__track { animation: none; width: auto; flex-wrap: wrap; } .news__set[aria-hidden] { display: none; } .news__set { flex-wrap: wrap; } .news::before, .news::after { display: none; } }

/* slide-to-open WhatsApp button */
.avail__slide { border: 0; font: inherit; font-weight: 600; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; position: relative; z-index: 2; gap: 6px; transform: translateX(calc(var(--dx, 0) * -1px)); transition: transform .4s var(--ease); }
.avail.is-drag .avail__slide { transition: none; cursor: grabbing; }
.avail__slide:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.avail__chev { display: inline-block; letter-spacing: -.12em; animation: chev-nudge 1.8s var(--ease) infinite; }
@keyframes chev-nudge { 0%, 60%, 100% { transform: translateX(0); } 30% { transform: translateX(-4px); } }
.avail__slide.is-nudge { animation: slide-shake .5s var(--ease); }
@keyframes slide-shake { 0%, 100% { translate: 0; } 25% { translate: -10px; } 60% { translate: 4px; } }
.avail::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(270deg, var(--glow-soft) calc(var(--p, 0) * 100%), transparent calc(var(--p, 0) * 100% + 1px)); }
.avail::after { content: "İletişim seçenekleri için sola kaydırınız"; position: absolute; right: 8px; bottom: calc(100% + 8px); padding: 8px 12px; border-radius: 12px; background: var(--white); color: var(--ink); font-size: .8rem; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.avail.is-hint::after, .avail.is-drag::after { opacity: 1; transform: none; }
.avail.is-done .avail__slide { background: var(--white); }
@media (prefers-reduced-motion: reduce) { .avail__chev, .avail__slide.is-nudge { animation: none; } .avail__slide { transition: none; } }

/* contact chooser sheet */
.csheet { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: var(--scrim); backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s var(--ease); }
.csheet.is-open { opacity: 1; }
.csheet__panel { position: relative; width: min(100%, 420px); padding: 32px 24px 24px; border: 1px solid var(--line-2); border-radius: 24px; background: var(--ink-2); color: var(--white); box-shadow: 0 0 48px var(--glow-soft); transform: translateY(24px) scale(.97); transition: transform .35s var(--ease); }
.csheet.is-open .csheet__panel { transform: none; }
.csheet__t { font-size: 1.375rem; margin: 0 0 24px; padding-right: 40px; }
.csheet__x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--white); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.csheet__x:hover { border-color: var(--white); }
.csheet__list { display: grid; gap: 12px; }
.csheet__box { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--line-2); border-radius: 16px; color: var(--white); text-decoration: none; background: var(--ink-3); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.csheet__box:hover, .csheet__box:focus-visible { border-color: var(--white); box-shadow: 0 0 24px var(--glow-soft); transform: translateY(-2px); outline: none; }
.csheet__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--white); color: var(--ink); }
.csheet__ico svg { width: 28px; height: 28px; }
.csheet__tx { display: grid; gap: 4px; min-width: 0; }
.csheet__tx b { font-size: 1.0625rem; }
.csheet__tx small { color: var(--mute); font-size: .875rem; overflow-wrap: anywhere; }
.csheet__go { color: var(--mute); font-size: 1.25rem; }
@media (max-width: 640px) { .csheet { place-items: end center; padding: 0; } .csheet__panel { width: 100%; border-radius: 24px 24px 0 0; padding-bottom: 32px; } }
@media (prefers-reduced-motion: reduce) { .csheet, .csheet__panel, .csheet__box { transition: none; } }

/* phones: air between the availability pill, tagline, buttons and the announcement band */
@media (max-width: 720px) {
  .hero--stage .hero__stage { padding-block: 64px 40px; }
  .avail--m { margin: -40px 0 24px; }
  .hero--stage .hero__tag { margin-bottom: 20px; }
  .hero--stage .hero__portrait--cutout img { height: min(50svh, 460px); }
}
@media (max-width: 720px) and (max-height: 700px) { .hero--stage .hero__stage { padding-block: 60px 32px; } .hero--stage .hero__portrait--cutout img { height: min(42svh, 340px); } }

.csheet__flag { display: inline-block; width: 24px; height: 16px; margin-left: 8px; vertical-align: -2px; border-radius: 3px; box-shadow: 0 0 0 1px var(--line-2); }

/* partners: white logos on the left, heading on the right */
.partners { padding-block: clamp(48px, 8vw, 96px); }
.partners__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 96px); align-items: center; }
.partners__grid { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.partners__item { display: grid; place-items: center; min-height: 96px; padding: 16px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--ink-1); transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.partners__item:hover { border-color: var(--white); background: var(--ink-2); }
.partners__item a { display: grid; place-items: center; width: 100%; }
.partners__logo { width: 100%; max-width: 128px; height: 44px; object-fit: contain; filter: brightness(0) invert(1); opacity: .8; transition: opacity .25s var(--ease); }
.partners__item:hover .partners__logo { opacity: 1; }
.partners__txt { grid-column: 2; grid-row: 1; display: grid; gap: 16px; justify-items: start; }
.partners__eyebrow { margin: 0; color: var(--mute); font-size: .875rem; }
.partners__title { font-size: clamp(1.75rem, 3.4vw, 3rem); line-height: 1.1; text-wrap: balance; }
@media (max-width: 860px) {
  .partners__in { grid-template-columns: minmax(0, 1fr); }
  .partners__txt { grid-column: 1; grid-row: 1; }
  .partners__grid { grid-row: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .partners__item, .partners__logo { transition: none; } }


.partners__sub { margin: 0; max-width: 40ch; color: var(--mute); font-size: 1.0625rem; line-height: 1.5; text-wrap: balance; }

/* home about: body + chips */
.about--home .about__p { color: var(--mute); max-width: none; margin: 0 0 16px; }
.about--home .about__chips { margin: 24px 0 32px; }

/* about video */
.about__vid { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__text .prose, .about__text .lead { max-width: none; }
@media (min-width: 900px) {
  .about--home { align-items: stretch; }
  .about--home .about__text { display: flex; flex-direction: column; justify-content: space-between; }
  .about--home .about__text > * { margin-block: 0; }
}
@media (min-width: 900px) {
  .about--home .about__p { font-size: clamp(.9375rem, 1.3vw, 1.375rem); line-height: 1.6; text-wrap: pretty; }
  .about--home .lead { font-size: clamp(1.0625rem, 1.75vw, 1.75rem); line-height: 1.4; text-wrap: balance; }
}

/* consulting packages */
.pk__head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.pk__head .eyebrow { margin: 0 0 8px; }
.pk__sub { color: var(--mute); margin: 16px 0 0; text-wrap: balance; }
.pk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.pk__card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 32px 28px; border: 1px solid var(--line-2); border-radius: 24px; background: var(--ink-2); color: var(--white); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.pk__card:hover { border-color: var(--white); transform: translateY(-4px); }
.pk__card--hot { background: var(--ink-3); border-color: var(--white); box-shadow: 0 0 48px var(--glow-soft); }
.pk__badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); padding: 4px 16px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.pk__name { margin: 0; font-size: 1.5rem; }
.pk__tag { margin: 0; color: var(--mute); min-height: 3em; }
.pk__price { margin: 8px 0 0; font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--white); }
.pk__list { list-style: none; margin: 8px 0 16px; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; align-content: start; }
.pk__list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; color: var(--text); }
.pk__list svg { width: 20px; height: 20px; margin-top: 2px; color: var(--white); }
.pk__cta { justify-content: center; width: 100%; }
@media (max-width: 900px) { .pk { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 32px; } .pk__tag { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .pk__card { transition: none; } .pk__card:hover { transform: none; } }
/* spacing: about -> packages */
.sec:has(+ #danismanlik) { padding-bottom: clamp(48px, 6vw, 96px); }
#danismanlik { padding-top: 0; padding-bottom: 0; }

/* graphic footer */
.ft { position: relative; overflow: hidden; padding-top: clamp(56px, 8vw, 112px); border-top: 1px solid var(--line-2); background: var(--ink); color: var(--white); }
.ft__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ft__nav ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.ft__nav a { position: relative; display: grid; grid-template-columns: clamp(40px, 5vw, 72px) 1fr auto; align-items: center; padding: clamp(12px, 1.6vw, 20px) 8px; border-bottom: 1px solid var(--line-2); color: var(--white); text-decoration: none; overflow: hidden; isolation: isolate; transition: color .3s var(--ease); }
.ft__nav a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white); transform: scaleY(0); transform-origin: bottom; transition: transform .35s var(--ease); }
.ft__nav a:hover, .ft__nav a:focus-visible { color: var(--ink); outline: none; }
.ft__nav a:hover::before, .ft__nav a:focus-visible::before { transform: scaleY(1); }
.ft__no { font-size: .875rem; color: var(--mute); transition: color .3s var(--ease); }
.ft__nav a:hover .ft__no, .ft__nav a:focus-visible .ft__no { color: var(--ink); }
.ft__t { font: 800 clamp(1.75rem, 3.6vw, 3.25rem)/1.1 var(--f); font-stretch: 125%; letter-spacing: -.01em; transition: transform .35s var(--ease); }
.ft__nav a:hover .ft__t, .ft__nav a:focus-visible .ft__t { transform: translateX(12px); }
.ft__ar { font-size: clamp(1.25rem, 2.4vw, 2rem); transition: transform .35s var(--ease); }
.ft__nav a:hover .ft__ar, .ft__nav a:focus-visible .ft__ar { transform: rotate(45deg); }
.ft__side { display: grid; gap: 24px; justify-items: start; }
.ft__badge { position: relative; display: grid; place-items: center; width: clamp(132px, 12vw, 176px); aspect-ratio: 1; border-radius: 50%; color: var(--white); text-decoration: none; }
.ft__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: ft-spin 22s linear infinite; }
.ft__ring text { font: 600 13.5px var(--f); fill: var(--white); }
.ft__badge:hover .ft__ring { animation-duration: 8s; }
.ft__dot { display: grid; place-items: center; width: 44%; aspect-ratio: 1; border-radius: 50%; background: var(--white); color: var(--ink); font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 700; transition: transform .35s var(--ease); }
.ft__badge:hover .ft__dot, .ft__badge:focus-visible .ft__dot { transform: rotate(45deg) scale(1.08); }
.ft__badge:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
@keyframes ft-spin { to { transform: rotate(360deg); } }
.ft__lead { margin: 0; color: var(--mute); max-width: 40ch; }
.ft__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ft__contact a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.125rem; color: var(--white); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 6px; overflow-wrap: anywhere; transition: text-decoration-color .25s var(--ease); }
.ft__contact a:hover, .ft__contact a:focus-visible { text-decoration-color: var(--white); }
.ft__bar { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: center; justify-content: space-between; margin-top: clamp(40px, 6vw, 80px); padding-block: 20px; border-top: 1px solid var(--line-2); }
.ft__copy { margin: 0; color: var(--mute); font-size: .9rem; }
.ft__legal { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.ft__legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mute); text-decoration: none; font-size: .9rem; }
.ft__legal a:hover, .ft__legal a:focus-visible { color: var(--white); text-decoration: underline; }
.ft__mark { display: flex; justify-content: center; margin: 0; padding: 0; font: 800 clamp(4.5rem, 19vw, 26rem)/.74 var(--f); font-stretch: 125%; letter-spacing: -.03em; white-space: nowrap; user-select: none; }
.ft__mark span { display: inline-block; padding-top: .06em; color: transparent; -webkit-text-fill-color: transparent; background: linear-gradient(to bottom, rgba(255, 255, 255, .95), rgba(255, 255, 255, .04) 88%); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 1px rgba(255, 255, 255, .3); transition: transform .45s var(--ease), -webkit-text-stroke-color .3s var(--ease); }
.ft__mark span:hover { transform: translateY(-6%); -webkit-text-stroke-color: var(--white); }
@media (max-width: 860px) { .ft__grid { grid-template-columns: 1fr; } .ft__side { grid-template-columns: auto 1fr; align-items: center; gap: 16px 24px; } .ft__contact { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ft__bar { flex-direction: column; align-items: flex-start; } .ft__side { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ft__ring { animation: none; } .ft__nav a, .ft__nav a::before, .ft__t, .ft__ar, .ft__dot, .ft__mark span { transition: none; } }

/* footer: graphic layer */
.ft__band { overflow: hidden; background: var(--white); color: var(--ink); border-block: 1px solid var(--white); }
.ft__track { display: flex; align-items: center; gap: 48px; width: max-content; padding-block: 16px; font-weight: 800; font-size: clamp(1.125rem, 1.8vw, 1.75rem); font-stretch: 125%; white-space: nowrap; animation: ft-marq 60s linear infinite; }
.ft__track i { font-style: normal; }
@keyframes ft-marq { to { transform: translateX(-50%); } }
.ft::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.5px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse at 80% 0%, #000, transparent 65%); mask-image: radial-gradient(ellipse at 80% 0%, #000, transparent 65%); }
.ft > .wrap, .ft__mark { position: relative; z-index: 1; }
.ft__reg { position: absolute; top: 24px; font-size: 1.5rem; line-height: 1; color: var(--mute); user-select: none; }
.ft__reg--tl { left: 24px; }
.ft__reg--tr { right: 24px; }
.ft__sticker { position: absolute; z-index: 2; top: clamp(16px, 2vw, 28px); right: clamp(16px, 5vw, 96px); display: inline-flex; align-items: center; gap: 12px; margin: 0; padding: 12px 20px; border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 700; font-size: .9375rem; transform: rotate(5deg); }
.ft__pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); animation: ft-pulse 1.8s ease-in-out infinite; }
@keyframes ft-pulse { 50% { transform: scale(.45); opacity: .5; } }
.ft__nav ol { border: 1px solid var(--line-2); }
.ft__nav li:last-child a { border-bottom: 0; }
.ft__mark span { -webkit-text-stroke: 2px rgba(255, 255, 255, .45); background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .85) 0 2px, transparent 2px 7px); -webkit-background-clip: text; background-clip: text; }
.ft__mark span:hover { -webkit-text-stroke-color: var(--white); }
@media (max-width: 860px) { .ft__sticker { position: static; align-self: flex-start; margin: 24px 16px 0; width: max-content; } .ft { padding-top: 24px; } .ft__reg { display: none; } }
@media (prefers-reduced-motion: reduce) { .ft__track, .ft__pulse { animation: none; } }

/* footer: legal info + payment logos */
.ft__info { display: grid; gap: 4px; max-width: 62ch; }
.ft__info .ft__copy { line-height: 1.6; }
.ft__co { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.ft__pay { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ft__pay li { display: grid; place-items: center; width: 72px; height: 44px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--ink-2); }
.ft__pay img { display: block; width: auto; height: 20px; max-width: 52px; object-fit: contain; }
.ft__bar--legal { margin-top: 0; padding-block: 4px; border-top: 0; justify-content: flex-start; }
@media (max-width: 560px) { .ft__pay li { width: 64px; } }
.ft__pay img[src$=".svg"] { width: 40px; height: 40px; max-width: none; }

/* hero glitch */
.hero--stage .hero__ln { position: relative; }
.gl-clone { position: absolute; opacity: 0; transition: none; pointer-events: none; will-change: transform, clip-path; }
.gl-clone--0 { mix-blend-mode: screen; }
.gl-clone--1 { mix-blend-mode: difference; filter: invert(1) contrast(1.5) !important; }
.hero.is-gl .gl-clone { opacity: .55; }
.gl-tear { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; display: none; }
.hero.is-gl .gl-tear { display: block; }
.gl-tear i { position: absolute; left: 0; right: 0; background: var(--white); mix-blend-mode: difference; opacity: .6; }
.hero.is-gl .hero__stage { translate: var(--jx, 0) 0; }
.hero.is-gl .hero__ln::before, .hero.is-gl .hero__ln::after { content: attr(data-text); position: absolute; inset: 0; padding: inherit; color: var(--white); -webkit-text-fill-color: var(--white); background: none; pointer-events: none; mix-blend-mode: difference; }
.hero.is-gl .hero__ln::before { transform: translate(-.07em, 0); clip-path: inset(8% 0 56% 0); animation: gl-a .14s steps(2) infinite; }
.hero.is-gl .hero__ln::after { transform: translate(.09em, 0); clip-path: inset(56% 0 10% 0); animation: gl-b .11s steps(2) infinite; }
@keyframes gl-a { 50% { clip-path: inset(32% 0 34% 0); transform: translate(.13em, .01em); } }
@keyframes gl-b { 50% { clip-path: inset(70% 0 4% 0); transform: translate(-.12em, -.01em); } }
.hero.is-gl .hero__tag { text-shadow: 1px 0 rgba(255, 255, 255, .5), -1px 0 rgba(255, 255, 255, .25); }
.hero.gl-inv .hero__portrait img:not(.gl-clone) { filter: invert(1) contrast(1.6); }

.hero.is-flip .hero__portrait img { scale: -1 1; }

/* availability states: green open, yellow busy, red full; the ring turns around the pill */
:root { --st-green: #3ddc84; --st-yellow: #ffc83d; --st-red: #ff4d4d; }
.avail { --st: var(--st-green); }
.avail.is-st-yellow { --st: var(--st-yellow); }
.avail.is-st-red { --st: var(--st-red); }
.avail__led { background: var(--st); box-shadow: 0 0 10px 2px color-mix(in srgb, var(--st) 70%, transparent); animation: none; }
.avail__ring { position: absolute; inset: -2px; border-radius: inherit; padding: 2px; overflow: hidden; pointer-events: none; z-index: 0; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; filter: drop-shadow(0 0 6px var(--st)) drop-shadow(0 0 14px color-mix(in srgb, var(--st) 60%, transparent)); }
.avail__ring::before { content: ""; position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; background: conic-gradient(transparent 0 50%, color-mix(in srgb, var(--st) 30%, transparent) 70%, var(--st) 92%, transparent 100%); animation: av-spin 3.6s linear infinite; }
.avail.is-st-yellow .avail__ring::before { animation-duration: 5s; }
.avail.is-st-red .avail__ring::before { animation-duration: 8s; }
@keyframes av-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .avail__ring::before { animation: none; } }
.avail-pick { border: 1px solid var(--line-2); border-radius: 16px; padding: 16px; margin: 0 0 16px; display: grid; gap: 8px; }
.avail-pick legend { padding: 0 8px; }
.avail-pick__o { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.avail-pick__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--st-green); box-shadow: 0 0 10px var(--st-green); }
.avail-pick__o--yellow .avail-pick__dot { background: var(--st-yellow); box-shadow: 0 0 10px var(--st-yellow); }
.avail-pick__o--red .avail-pick__dot { background: var(--st-red); box-shadow: 0 0 10px var(--st-red); }

/* service pages */
.sv-hero { position: relative; min-height: min(78svh, 720px); display: grid; align-items: end; overflow: hidden; border-bottom: 1px solid var(--line-2); background: var(--ink); }
.sv-hero__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.sv-hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 4%, rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, .55)); }
.sv-hero__in { position: relative; z-index: 1; padding-block: clamp(120px, 16vw, 200px) clamp(40px, 6vw, 80px); }
.sv-crumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; font-size: .875rem; color: var(--mute); }
.sv-crumb a { color: var(--mute); text-decoration: none; }
.sv-crumb a:hover { color: var(--white); }
.sv-hero__kick { margin: 0 0 16px; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.sv-hero__title { margin: 0; max-width: 18ch; color: var(--white); font: 800 clamp(2.5rem, 7vw, 6rem)/1 var(--f); font-stretch: 125%; letter-spacing: -.02em; text-wrap: balance; }
.sv-hero__lead { max-width: 56ch; margin: 24px 0 0; font-size: clamp(1.0625rem, 1.6vw, 1.375rem); color: var(--text); }
.sv-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.sv-head { margin: 0 0 clamp(32px, 4vw, 56px); }
.sv-head .eyebrow { margin: 0 0 8px; }
.sv-intro__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sv-intro__txt p:not(.eyebrow) { margin: 0 0 24px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.7; color: var(--text); max-width: 68ch; }
.sv-facts { padding: 32px; border: 1px solid var(--line-2); border-radius: 24px; background: var(--ink-2); }
.sv-facts__t { margin: 0 0 16px; font-size: 1.25rem; }
.sv-facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sv-facts li { padding-left: 20px; position: relative; color: var(--text); }
.sv-facts li::before { content: "✦"; position: absolute; left: 0; color: var(--white); font-size: .75rem; top: .35em; }
.sv-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sv-card { position: relative; padding: 32px 28px; border: 1px solid var(--line-2); border-radius: 24px; background: var(--ink-2); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.sv-card:hover { border-color: var(--white); transform: translateY(-4px); }
.sv-card__no { display: block; margin-bottom: 24px; font-size: .875rem; color: var(--mute); }
.sv-card h3 { margin: 0 0 12px; font-size: 1.375rem; }
.sv-card p { margin: 0; color: var(--text); }
.sv-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.sv-step { position: relative; padding-top: 24px; border-top: 1px solid var(--line-2); }
.sv-step__n { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--white); color: var(--ink); font-weight: 800; }
.sv-step h3 { margin: 0 0 8px; font-size: 1.125rem; }
.sv-step p { margin: 0; color: var(--mute); font-size: .95rem; }
.sv-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); }
.sv-sub { margin: 0 0 24px; font-size: 1.5rem; }
.sv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sv-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.sv-list svg { width: 20px; height: 20px; margin-top: 2px; }
.sv-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sv-chips li { padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--ink-2); }
.sv-faqwrap { max-width: 860px; }
.sv-q { border-bottom: 1px solid var(--line-2); }
.sv-q summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 64px; font-weight: 700; font-size: 1.125rem; }
.sv-q summary::-webkit-details-marker { display: none; }
.sv-q summary::after { content: "+"; font-size: 1.5rem; transition: transform .25s var(--ease); }
.sv-q[open] summary::after { transform: rotate(45deg); }
.sv-q p { margin: 0 0 24px; color: var(--text); max-width: 64ch; }
.sv-src { margin: 32px 0 0; font-size: .875rem; color: var(--mute); }
.sv-src a { color: var(--mute); text-decoration: underline; text-underline-offset: 4px; }
.sv-src a:hover { color: var(--white); }
.sv-pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 6vw, 80px); }
.sv-pn a { display: grid; gap: 4px; padding: 24px; border: 1px solid var(--line-2); border-radius: 20px; color: var(--white); text-decoration: none; transition: border-color .25s var(--ease); }
.sv-pn a:hover { border-color: var(--white); }
.sv-pn a:last-child { text-align: right; }
.sv-pn span { color: var(--mute); font-size: .875rem; }
.sv-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sv-tile a { position: relative; display: grid; align-content: end; min-height: 320px; padding: 28px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 24px; background: var(--ink-2); color: var(--white); text-decoration: none; isolation: isolate; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.sv-tile a:hover, .sv-tile a:focus-visible { border-color: var(--white); transform: translateY(-4px); outline: none; }
.sv-tile__vid { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .35; transition: opacity .35s var(--ease); }
.sv-tile a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--ink) 8%, transparent 80%); }
.sv-tile a:hover .sv-tile__vid { opacity: .7; }
.sv-tile__no { position: absolute; top: 20px; left: 28px; font-size: .875rem; color: var(--mute); }
.sv-tile__kick { display: block; margin-bottom: 8px; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.sv-tile h2 { margin: 0 0 8px; font-size: clamp(1.375rem, 2.2vw, 2rem); }
.sv-tile p { margin: 0 0 16px; color: var(--text); max-width: 52ch; }
.sv-tile__go { font-weight: 700; }
@media (max-width: 1000px) { .sv-steps, .sv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .sv-intro__grid, .sv-two, .sv-grid, .sv-cards, .sv-pn, .sv-steps { grid-template-columns: 1fr; } .sv-tile a { min-height: 260px; } .sv-pn a:last-child { text-align: left; } }
@media (prefers-reduced-motion: reduce) { .sv-card, .sv-tile a, .sv-q summary::after { transition: none; } .sv-card:hover, .sv-tile a:hover { transform: none; } }

/* home service rows: the whole row opens the service page */
.svc-row__a { color: inherit; text-decoration: none; }
.svc-row__a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc-row__a::after { content: "↗"; display: inline-block; margin-left: 12px; font-size: .7em; opacity: 0; translate: -8px 0; transition: opacity .25s var(--ease), translate .25s var(--ease); }
.svc-row:hover .svc-row__a::after, .svc-row__a:focus-visible::after { opacity: 1; translate: 0 0; }
.svc-row:has(.svc-row__a) { cursor: pointer; }
.svc-row__a:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .svc-row__a::after { transition: none; } }

/* service pages: one steady rhythm between sections (no doubled 160px paddings) */
.sv-s { padding-block: clamp(40px, 5vw, 72px); }
.sv-intro { padding-top: clamp(48px, 6vw, 80px); }
.sv-cta { padding-bottom: clamp(72px, 9vw, 128px); }
.sv-head { margin-bottom: clamp(28px, 3.5vw, 48px); }
.sv-intro__txt p:last-child { margin-bottom: 0; }

/* outline pill button: same size and arrow circle as the solid one */
.btn--ghost.btn--pill { border: 1px solid var(--white); color: var(--white); }
.btn--ghost.btn--pill .btn__arrow { background: var(--white); color: var(--ink); }
.btn--ghost.btn--pill:hover { background: var(--white); color: var(--ink); }
.btn--ghost.btn--pill:hover .btn__arrow { background: var(--ink); color: var(--white); }
.sv-hero__cta .btn--pill { min-height: 52px; font-size: 1rem; white-space: nowrap; }

/* contact page */
.ct-head { padding-bottom: 0; }
.ct-sec { padding-block: clamp(32px, 4vw, 56px) clamp(72px, 9vw, 128px); }
.ct { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.ct__side { display: grid; gap: 16px; }
.ct__side .avail { justify-self: start; }
.ct__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ct__list a, .ct__addr { display: block; padding: 16px 20px; border: 1px solid var(--line-2); border-radius: 20px; background: var(--ink-2); color: var(--white); text-decoration: none; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.ct__list a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; }
.ct__list a:hover, .ct__list a:focus-visible { border-color: var(--white); background: var(--ink-3); outline: none; }
.ct__ic { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 14px; color: var(--white); }
.ct__ic svg { width: 22px; height: 22px; }
.ct__tx { display: grid; gap: 2px; min-width: 0; }
.ct__tx small { color: var(--mute); font-size: .8125rem; }
.ct__tx strong { font-size: 1.0625rem; font-weight: 700; overflow-wrap: anywhere; }
.ct__addr { display: grid; gap: 16px; padding: 20px; scroll-margin-top: 96px; }
.ct__addr-h { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; }
.ct__addr address { margin: 0; font-style: normal; line-height: 1.6; color: var(--text); }
.ct__map { position: relative; height: 240px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 16px; background: var(--ink); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; }
.ct__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
.ct__map-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 16px; text-align: center; }
.ct__map-ph p { margin: 0; max-width: 32ch; color: var(--mute); font-size: .8125rem; }
.ct__pin { width: 14px; height: 14px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 6px var(--line-2), 0 0 24px var(--glow-soft); }
.ct__acts { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ct__acts a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); text-underline-offset: 6px; }
.ct__form { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line-2); border-radius: 24px; background: var(--ink-2); }
.ct__form-t { margin: 0 0 8px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.ct__form-s { margin: 0 0 24px; color: var(--mute); }
.ct__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.ct__form .field input, .ct__form .field textarea { border-radius: 14px; background: var(--ink); }
.ct__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.ct__note { margin: 0; color: var(--mute); font-size: .875rem; max-width: 36ch; }
.ct__note a { color: var(--white); }
.ft__addr a { align-items: flex-start; gap: 8px; }
.ft__addr svg { flex: none; width: 20px; height: 20px; margin-top: 12px; }
.ft__addr span { padding-block: 10px; }
@media (max-width: 900px) { .ct { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ct__row { grid-template-columns: 1fr; } .ct__map { height: 200px; } }

/* videos */
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap, 24px); }
.vcard { display: block; color: inherit; text-decoration: none; border: 1px solid var(--line); background: var(--ink-2); }
.vcard__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); }
.vcard__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter .3s var(--ease), transform .5s var(--ease); }
.vcard:hover .vcard__img img, .vcard:focus-visible .vcard__img img { filter: grayscale(0) contrast(1.05); transform: scale(1.03); }
.vcard__play { position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); }
.vcard__play svg { box-sizing: content-box; padding: 14px 14px 14px 18px; border-radius: 50%; background: var(--scrim); border: 1px solid var(--line-2); }
.vcard__t { display: block; padding: 16px 18px 20px; }
.vcard__name { display: block; font-weight: 700; line-height: 1.3; }
.vcard:hover, .vcard:focus-visible { border-color: var(--line-2); }
.vmore { margin: clamp(24px, 4vw, 48px) 0 0; text-align: center; }
@media (max-width: 900px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vgrid { grid-template-columns: 1fr; } }
.vbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: color-mix(in srgb, var(--ink) 92%, transparent); }
.vbox[hidden] { display: none; }
.vbox__in { position: relative; width: min(1100px, 100%); }
.vbox__frame { aspect-ratio: 16 / 9; width: 100%; background: #000; }
.vbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vbox__x { position: absolute; right: 0; top: -48px; min-width: 44px; min-height: 44px; border: 1px solid var(--line-2); background: var(--ink-2); color: var(--white); font: inherit; cursor: pointer; }
.vbox__cap { margin: 12px 0 0; color: var(--mute); font-size: .9rem; }

.vsub { margin: .75rem 0 0; color: var(--mute); font-size: 1rem; max-width: 52ch; }

/* media portfolio: tighter vertical rhythm so the sections around it do not leave a big empty gap */
#videolar { padding-block: clamp(40px, 6vw, 80px) clamp(8px, 2vw, 24px); }
#videolar + .sec { padding-top: clamp(32px, 5vw, 64px); }
#videolar .sec__row { margin-bottom: clamp(24px, 4vw, 40px); }
#videolar .vmore { margin-top: clamp(24px, 3vw, 36px); }
.partners + #videolar { padding-top: clamp(8px, 2vw, 24px); }

/* global vertical rhythm: sections were 160px top + 160px bottom, which left ~320px of empty space between blocks */
.sec { padding-block: clamp(40px, 6vw, 80px); }
.sec--tight { padding-block: clamp(24px, 4vw, 48px) clamp(48px, 7vw, 88px); }
.news + .sec { padding-top: clamp(40px, 6vw, 72px); }
#videolar { padding-block: clamp(40px, 6vw, 72px) clamp(8px, 2vw, 24px); }
.partners + #videolar { padding-top: clamp(8px, 2vw, 24px); }

/* Companies House button + certificate dialog */
.ch-btn { flex: none; display: inline-grid; place-items: center; box-sizing: border-box; width: 40px; height: 40px; min-width: 40px; aspect-ratio: 1; padding: 0; border-radius: 50%; background: color-mix(in srgb, var(--white) 8%, transparent); border: 1px solid var(--hair); backdrop-filter: blur(14px); color: var(--text); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), transform .3s var(--ease); }
.ch-btn svg { width: 26px; height: 26px; display: block; }
.ch-btn:hover, .ch-btn:focus-visible { background: var(--white); color: var(--ink); transform: scale(1.08); }
.ch-dlg { width: min(880px, calc(100vw - 32px)); height: min(92vh, 1100px); padding: 0; border: 1px solid var(--hair); border-radius: 16px; background: var(--ink); color: var(--text); overflow: hidden; opacity: 0; transform: translateY(24px) scale(.92); transition: opacity .35s var(--ease), transform .45s cubic-bezier(.2,.9,.25,1.1), overlay .35s allow-discrete, display .35s allow-discrete; }
.ch-dlg[open] { display: flex; flex-direction: column; opacity: 1; transform: none; }
@starting-style { .ch-dlg[open] { opacity: 0; transform: translateY(24px) scale(.92); } }
.ch-dlg::backdrop { background: rgb(0 0 0 / 0); backdrop-filter: blur(0); transition: background-color .35s var(--ease), backdrop-filter .35s var(--ease), overlay .35s allow-discrete, display .35s allow-discrete; }
.ch-dlg[open]::backdrop { background: rgb(0 0 0 / .72); backdrop-filter: blur(6px); }
@starting-style { .ch-dlg[open]::backdrop { background: rgb(0 0 0 / 0); backdrop-filter: blur(0); } }
.ch-dlg__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--hair); }
.ch-dlg__bar strong { font-weight: 600; }
.ch-dlg__bar a { color: var(--text); }
.ch-dlg__x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hair); background: transparent; color: var(--white); font-size: 1.25rem; cursor: pointer; transition: transform .3s var(--ease); }
.ch-dlg__x:hover { transform: rotate(90deg); }
.ch-dlg iframe { flex: 1; width: 100%; border: 0; background: #fff; }
@media (prefers-reduced-motion: reduce) { .ch-dlg, .ch-dlg::backdrop, .ch-btn, .ch-dlg__x { transition: none; } }
