/* =========================================================
   Tig Trades — styles
   One typeface (Mona Sans) used wide and heavy for headlines.
   Flat colors only. Soft rectangles. Hairlines instead of boxes.
   The color theme ("paint") is set with data-theme on <html>.
   ========================================================= */

/* ---------- Paints ---------- */
:root,
[data-theme="carbon"] {
  color-scheme: dark;
  --bg: #0a0a0a;
  --bg-2: #121211;
  --bg-3: #1c1c1a;
  --ink: #f4f4f1;
  --dim: #a5a5a0;
  --faint: #6f6f6a;
  --line: #232322;
  --line-2: #3b3b38;
  --accent: #f4f4f1;
  --on-accent: #0a0a0a;
}
[data-theme="chalk"] {
  color-scheme: light;
  --bg: #f1f0ec;
  --bg-2: #e7e6e1;
  --bg-3: #dbdad4;
  --ink: #0b0b0b;
  --dim: #55554f;
  --faint: #8a8a83;
  --line: #d6d5ce;
  --line-2: #b9b8b0;
  --accent: #0b0b0b;
  --on-accent: #f1f0ec;
}
[data-theme="pink"] {
  --accent: #ff4fa0;
  --on-accent: #0a0a0a;
}
[data-theme="rosso"] {
  --accent: #e8112d;
  --on-accent: #ffffff;
}
[data-theme="nardo"] {
  --bg: #686b6d;
  --bg-2: #727577;
  --bg-3: #7d8082;
  --ink: #ffffff;
  --dim: #e4e5e5;
  --faint: #c4c6c7;
  --line: #7e8183;
  --line-2: #979a9c;
  --accent: #0c0c0c;
  --on-accent: #ffffff;
}

:root {
  --font: 'Mona Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --max: 1280px;
  --pad: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --tint: color-mix(in srgb, var(--ink) 10%, transparent);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color .35s, color .35s;
}
main { flex: 1; }

img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }

h1, h2, .display {
  margin: 0;
  font-stretch: 125%;
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.012em;
  text-transform: uppercase;
}
h3 { margin: 0; font-stretch: 112%; font-weight: 750; line-height: 1.12; letter-spacing: -.01em; }

::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 10px 14px; border-radius: 8px;
  background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.container { width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 2 * var(--pad)); }

.i { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: square; stroke-linejoin: miter; }

.label {
  font-size: 12px; font-weight: 650; font-stretch: 110%;
  letter-spacing: .1em; text-transform: uppercase; color: var(--faint);
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 22px;
  border-radius: 8px; border: 1.5px solid var(--accent);
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font); font-size: 13.5px; font-weight: 750; font-stretch: 118%; line-height: 1;
  letter-spacing: .05em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, opacity .18s;
}
.btn .i { transition: transform .25s var(--ease); }
.btn:hover:not(:disabled) { background: transparent; color: var(--ink); }
.btn:hover:not(:disabled) .i { transform: translateX(4px); }
.btn--sm { height: 38px; padding: 0 14px; border-radius: 7px; font-size: 12px; }
.btn--lg { height: 62px; padding: 0 28px; font-size: 14.5px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover:not(:disabled) { border-color: var(--ink); }
.btn:disabled { opacity: .3; cursor: not-allowed; }
.btn[aria-current="page"] { background: transparent; color: var(--ink); }

.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 0 3px; border: 0; border-bottom: 1.5px solid var(--line-2); background: none;
  color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: border-color .2s;
}
.tlink:hover { border-color: var(--ink); }
.tlink .i { transition: transform .25s var(--ease); }
.tlink:hover .i { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
tig-header {
  display: block; position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease-out;
  view-transition-name: site-header;
  transform: translateZ(0);
}
tig-header.is-scrolled { border-bottom-color: var(--line); }

.bar {
  width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto;
  height: 68px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
}
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand__mark { height: 28px; width: auto; }
.brand__mark--word { height: 15px; }
.brand__mark--wing { height: 21px; }
.brand__mark--speed { height: 22px; }
.brand__mark--flag { height: 25px; }
.brand__word { font-size: 14px; font-stretch: 125%; font-weight: 400; letter-spacing: .07em; white-space: nowrap; line-height: 1; }
.brand__word b { font-weight: 900; }
.bar__right { justify-self: end; display: flex; align-items: center; gap: 8px; }

/* top menu: no boxes, a soft highlight slides to the link you point at */
.menu { position: relative; isolation: isolate; display: flex; gap: 4px; }
.menu a {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 13px; border-radius: 7px;
  color: var(--dim); font-size: 14px; font-weight: 550; letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  transition: color .1s cubic-bezier(0, 0, .2, 1);
}
.menu a > span:last-child { position: relative; z-index: 1; }
.menu a:hover, .menu a.is-active { color: var(--ink); }
.knob {
  position: absolute; z-index: 0; top: 0; left: 0; width: 100%; height: 100%;
  border-radius: 7px; background: var(--tint); pointer-events: none;
  transition: left .2s ease-out, width .2s ease-out, opacity .2s ease-out;
}
.menu .knob { view-transition-name: nav-knob; }
.knob--free { width: 0; opacity: 0; }
.knob--free.show { opacity: 1; }

.paint {
  display: inline-flex; align-items: center; gap: 9px;
  height: 38px; padding: 0 11px; border: 0; border-radius: 7px; background: none;
  color: var(--dim); font-size: 13.5px; font-weight: 550; cursor: pointer;
  transition: color .15s, background-color .15s;
}
.paint:hover { color: var(--ink); background: var(--tint); }
.paint i, .sw { width: 14px; height: 14px; border-radius: 4px; flex: none; background: var(--accent); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--line-2); }
.paint span { min-width: 38px; text-align: left; }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 68px) 0 clamp(52px, 7vw, 96px); }
.hero .container { container-type: inline-size; }
.hero h1 { font-size: clamp(34px, 15.6cqw, 150px); line-height: .84; letter-spacing: -.022em; white-space: nowrap; }

/* first screen: hero + ticker fill exactly one screen, the rest is below */
.fold { min-height: calc(100vh - var(--hdr, 69px)); min-height: calc(100svh - var(--hdr, 69px)); display: flex; flex-direction: column; }
.fold .hero { flex: 1; display: flex; align-items: center; padding: clamp(20px, 4vh, 56px) 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); align-items: center; gap: clamp(28px, 4vw, 72px); }
.hero__text { container-type: inline-size; display: grid; gap: clamp(16px, 2.6vh, 30px); justify-items: start; }
.hero__text .lead { font-size: clamp(16px, 1.25vw, 19px); }
.hero__grid .video { width: 100%; max-width: calc((100svh - var(--hdr, 69px) - 150px) * 16 / 9); justify-self: end; }
.hero h1 .line:last-child { color: var(--accent); }
[data-theme="chalk"] .hero h1 .line:last-child, [data-theme="nardo"] .hero h1 .line:last-child { color: var(--ink); }

.hero__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 56px;
  margin: clamp(22px, 3.2vw, 44px) 0 clamp(28px, 4vw, 52px);
}
.lead { max-width: 33em; color: var(--dim); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; }
.lead b { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 26px; }

.video {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2);
}
/* the poster is a title card: label and length on top, the title and a play button at the bottom */
.video__poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; gap: 14px clamp(16px, 3cqw, 40px);
  padding: clamp(14px, 3cqw, 36px);
  border: 0; background: none; text-align: left; cursor: pointer;
  transition: background-color .25s;
}
.video__poster:hover { background: var(--bg-3); }
.video__time { justify-self: end; font-size: clamp(12px, 1.5cqw, 15px); font-weight: 650; color: var(--dim); }
.video__title {
  align-self: end; max-width: 15em;
  font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: .94; letter-spacing: -.015em;
  font-size: clamp(17px, 4.7cqw, 62px); text-wrap: balance;
}
.video__play {
  align-self: end;
  width: clamp(60px, 12cqw, 148px); aspect-ratio: 3 / 2;
  display: grid; place-items: center;
  border-radius: clamp(8px, 1.2cqw, 14px); background: var(--accent); color: var(--on-accent);
  transition: transform .3s var(--ease);
}
.video__play svg { width: 32%; height: auto; fill: currentColor; }
.video__poster:hover .video__play { transform: scale(1.05); }
.video.is-empty .video__poster { cursor: default; background: none; }
.video.is-empty .video__play { background: var(--bg-3); color: var(--faint); transform: none; }
.video.is-empty .video__title { color: var(--faint); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video.is-playing .video__poster { display: none; }

/* headline lines slide up from behind a mask */
.js .line { display: block; overflow: hidden; padding-block: .04em; margin-block: -.04em; }
.js .line > span { display: block; transform: translateY(108%); transition: transform 1s cubic-bezier(.16, .84, .24, 1); }
.js .line:nth-child(2) > span { transition-delay: .09s; }
.js .line:nth-child(3) > span { transition-delay: .18s; }
.js.ready .line > span { transform: none; }

/* ---------- Payout ticker ---------- */
.ticker { overflow: hidden; padding: 14px 0; background: var(--accent); color: var(--on-accent); }
.ticker__track { display: flex; width: max-content; animation: ticker var(--dur, 70s) linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex; align-items: baseline; gap: 10px; padding-left: 30px;
  font-size: 15px; font-stretch: 125%; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
}
.ticker__item b { font-weight: 900; }
.ticker__item span { font-weight: 500; }
.ticker__item::after { content: "/"; padding-left: 30px; opacity: .3; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
main { padding-bottom: clamp(64px, 9vw, 132px); }
.sec { padding: clamp(64px, 9vw, 132px) 0 0; }
.sec--tight { padding-top: clamp(28px, 4vw, 56px); }
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px;
  margin-bottom: clamp(26px, 3.6vw, 50px);
}
.sec-head h2 { font-size: clamp(24px, 3.2vw, 44px); }
.sec-head p { max-width: 34ch; color: var(--dim); }

/* page title on inner pages */
.title { padding: clamp(28px, 5vw, 68px) 0 0; }
.title .container { container-type: inline-size; }
.title h1 { font-size: clamp(36px, var(--fit, 12cqw), 200px); line-height: .84; letter-spacing: -.022em; white-space: nowrap; }
.title .lead { margin-top: clamp(20px, 3vw, 40px); }

/* spec sheet: label on the left, value on the right */
.specs { border-top: 1px solid var(--line-2); }
.spec {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: clamp(14px, 2vw, 24px) 0; border-bottom: 1px solid var(--line);
}
.spec dt, .spec__k { color: var(--dim); font-size: clamp(15px, 1.4vw, 18px); max-width: 26ch; }
.spec dd, .spec__v {
  margin: 0; text-align: right;
  font-stretch: 125%; font-weight: 900; line-height: .9; letter-spacing: -.02em;
  font-size: clamp(30px, 6.6vw, 96px); white-space: nowrap;
}
.specs--small .spec dd { font-size: clamp(17px, 1.9vw, 24px); font-weight: 750; font-stretch: 112%; letter-spacing: -.01em; line-height: 1.2; white-space: normal; }
dl { margin: 0; }

/* numbered rows */
.steps { border-top: 1px solid var(--line-2); }
.step {
  display: grid; grid-template-columns: clamp(44px, 7vw, 110px) minmax(0, 1.05fr) minmax(0, 1fr); align-items: baseline; gap: 10px 32px;
  padding: clamp(20px, 2.8vw, 36px) 0; border-bottom: 1px solid var(--line);
}
.step__n { font-size: 14px; font-weight: 650; font-stretch: 112%; color: var(--faint); }
.step h3 { font-size: clamp(21px, 3vw, 40px); font-stretch: 125%; font-weight: 850; text-transform: uppercase; line-height: 1; }
.step p { color: var(--dim); max-width: 38ch; }
.step p + .tlink { margin-top: 12px; }

/* ---------- Payout list (ledger) ---------- */
.ledger__head, .row {
  display: grid; grid-template-columns: 128px minmax(0, .9fr) minmax(0, 1.2fr) minmax(120px, auto) 22px; align-items: center; gap: 0 22px;
}
.ledger__head { padding-bottom: 12px; border-bottom: 1px solid var(--line-2); font-size: 12px; font-weight: 650; font-stretch: 110%; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.ledger__head span:nth-child(4) { text-align: right; }
.row {
  width: 100%; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); background: none;
  text-align: left; cursor: pointer;
  transition: background-color .2s, padding .3s var(--ease);
}
.row:hover, .row:focus-visible { background: var(--bg-2); padding-inline: 14px; }
.row__date { color: var(--faint); font-size: 14px; }
.row__who { font-size: clamp(17px, 1.6vw, 21px); font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__firm { color: var(--dim); font-size: 15px; }
.row__firm i { margin-left: 10px; font-style: normal; font-size: 13px; color: var(--faint); white-space: nowrap; }
.row__amt { text-align: right; font-size: clamp(18px, 2vw, 26px); font-stretch: 125%; font-weight: 850; letter-spacing: -.01em; }
.row__go { color: var(--faint); opacity: 0; transform: translate(-6px, 6px); transition: opacity .2s, transform .3s var(--ease); }
.row:hover .row__go, .row:focus-visible .row__go { opacity: 1; transform: none; }

.ledger__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 22px; }
.ledger__foot p { color: var(--dim); font-size: 15px; max-width: 46ch; }
.ledger__sum { font-stretch: 125%; font-weight: 900; font-size: clamp(26px, 4vw, 52px); line-height: 1; letter-spacing: -.02em; }

.peek {
  position: fixed; left: 0; top: 0; z-index: 40; width: 230px; height: 290px; overflow: hidden;
  border-radius: 10px; background: var(--bg-3); pointer-events: none;
  opacity: 0; scale: .92; transition: opacity .2s, scale .3s var(--ease);
}
.peek.is-on { opacity: 1; scale: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- Quotes ---------- */
.quote { margin: 0; display: grid; gap: 16px; align-content: start; }
.quote blockquote { margin: 0; font-size: clamp(19px, 2vw, 26px); font-weight: 550; line-height: 1.3; letter-spacing: -.01em; text-wrap: pretty; }
.quote figcaption { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--dim); font-size: 15px; }
.quote figcaption b { font-weight: 650; color: var(--ink); }
.quote .tlink { font-size: 14px; color: var(--dim); }
.quote .tlink:hover { color: var(--ink); }
.quote--big blockquote {
  font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: .92; letter-spacing: -.02em;
  font-size: clamp(26px, 4.2vw, 60px); text-wrap: balance;
}
.quote--big { gap: clamp(18px, 2.4vw, 30px); }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 72px); border-top: 1px solid var(--line-2); }
.quotes .quote { padding: clamp(22px, 2.8vw, 34px) 0; border-bottom: 1px solid var(--line); }

/* ---------- Screenshots ---------- */
.switch { position: relative; isolation: isolate; display: inline-flex; gap: 4px; }
.switch button {
  position: relative; z-index: 1; height: 34px; padding: 0 13px; border: 0; border-radius: 7px; background: none;
  color: var(--dim); font-size: 14px; font-weight: 550; cursor: pointer; white-space: nowrap;
  transition: color .1s cubic-bezier(0, 0, .2, 1);
}
.switch button:hover, .switch button.is-active { color: var(--ink); }

.wall { columns: 4 230px; column-gap: 14px; }
.shot {
  display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 10px; overflow: hidden;
  background: var(--bg-2); cursor: zoom-in; break-inside: avoid;
  transition: transform .35s var(--ease);
}
.shot img { width: 100%; height: auto; }
.shot:hover { transform: translateY(-4px); }

.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(28px, 4vw, 52px); }
.strip .shot { margin: 0; aspect-ratio: 4 / 5; }
.strip .shot img { height: 100%; object-fit: cover; object-position: top; }

.lb { max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; }
.lb[open] { display: grid; place-items: center; }
.lb::backdrop { background: rgba(4, 4, 4, .94); }
.lb figure { margin: 0; display: grid; gap: 14px; justify-items: center; max-width: min(92vw, 760px); pointer-events: none; }
.lb img { max-height: 82vh; max-height: 82dvh; width: auto; max-width: 100%; border-radius: 10px; pointer-events: auto; }
.lb figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; color: #b9b9b4; font-size: 14px; font-weight: 550; }
.lb figcaption span:first-child { color: #f4f4f1; font-weight: 700; }
.lb__btn {
  position: fixed; z-index: 2; width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid #3b3b38; border-radius: 8px; background: #121211; color: #f4f4f1;
  font-size: 26px; line-height: 1; cursor: pointer; transition: background-color .15s, color .15s;
}
.lb__btn:hover { background: #f4f4f1; color: #0a0a0a; }
.lb__x { top: 16px; right: 16px; }
.lb__prev, .lb__next { top: 50%; translate: 0 -50%; }
.lb__prev { left: 16px; }
.lb__next { right: 16px; }
.lb--single .lb__prev, .lb--single .lb__next { display: none; }

/* ---------- Videos ---------- */
.vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 30px); }
.vid { display: grid; gap: 12px; align-content: start; text-decoration: none; }
.vid__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: var(--bg-2); }
.vid__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); transition: filter .4s, transform .6s var(--ease); }
.vid:hover .vid__thumb img { filter: none; transform: scale(1.035); }
.vid__time { position: absolute; right: 9px; bottom: 9px; padding: 4px 7px; border-radius: 5px; background: #0a0a0a; color: #f4f4f1; font-size: 12px; font-weight: 650; }
.vid__title { font-size: clamp(16px, 1.4vw, 19px); font-weight: 600; line-height: 1.3; text-wrap: pretty; }
.vid__go { display: inline-flex; align-items: center; gap: 7px; color: var(--faint); font-size: 14px; font-weight: 550; transition: color .2s; }
.vid:hover .vid__go { color: var(--ink); }

/* ---------- Big link rows (socials, call to action) ---------- */
.links { border-top: 1px solid var(--line-2); }
.linkrow {
  display: grid; grid-template-columns: minmax(0, 1fr) auto clamp(18px, 2vw, 26px); align-items: center; gap: 16px;
  padding: clamp(12px, 1.4vw, 18px) 0; border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color .22s, color .22s, padding .35s var(--ease);
}
.linkrow strong { font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: .95; letter-spacing: -.02em; font-size: clamp(22px, 3vw, 40px); }
.linkrow span { color: var(--dim); font-size: clamp(13px, 1.1vw, 15px); transition: color .22s; }
.linkrow .i { width: 100%; height: auto; stroke-width: 1.8; transition: transform .35s var(--ease); }
.linkrow:hover, .linkrow:focus-visible { background: var(--accent); color: var(--on-accent); padding-inline: clamp(12px, 2vw, 28px); }
.linkrow:hover span, .linkrow:focus-visible span { color: inherit; }
.linkrow:hover .i { transform: translate(3px, -3px); }

.cta { padding: clamp(64px, 9vw, 132px) 0 0; }
.cta .linkrow { border-top: 1px solid var(--line-2); padding-block: clamp(18px, 2.4vw, 30px); }
.cta .linkrow strong { font-size: clamp(26px, 4.2vw, 56px); }

/* ---------- Mentorship ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px) clamp(28px, 6vw, 96px); align-items: start; }
.about.has-photo { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
.about.has-photo .about__photo { grid-row: 1 / span 2; }
.about__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: var(--bg-2); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text { display: grid; gap: 18px; max-width: 44em; font-size: clamp(17px, 1.5vw, 20px); color: var(--dim); }
.about__text b { color: var(--ink); font-weight: 600; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }

.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(18px, 2.2vw, 26px) 0;
  font-size: clamp(18px, 1.9vw, 24px); font-weight: 650; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 7px; background: var(--tint);
  font-size: 20px; font-weight: 400; line-height: 1;
  transition: transform .3s var(--ease), background-color .2s, color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--on-accent); }
.faq details p { max-width: 58ch; padding-bottom: clamp(18px, 2.2vw, 26px); color: var(--dim); animation: view-in .35s var(--ease) both; }
.faq details a { color: var(--ink); }

/* ---------- Codes ---------- */
.codes { border-top: 1px solid var(--line-2); }
.coderow {
  display: grid; grid-template-columns: 52px minmax(0, 1.3fr) minmax(0, 1fr) auto auto; align-items: center; gap: 14px clamp(16px, 2.6vw, 36px);
  padding: clamp(16px, 2vw, 24px) 0; border-bottom: 1px solid var(--line);
}
.coderow__logo { width: 52px; height: 52px; overflow: hidden; border-radius: 10px; background: #fff; }
.coderow__logo img { width: 100%; height: 100%; object-fit: cover; }
.coderow h3 { font-size: clamp(20px, 2.8vw, 36px); font-stretch: 125%; font-weight: 850; text-transform: uppercase; line-height: 1; }
.coderow__deal { color: var(--dim); }
.code {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  min-width: 150px; height: 48px; padding: 0 14px 0 16px;
  border-radius: 8px; border: 1.5px dashed var(--line-2); background: none; cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.code b { font-size: 16px; font-stretch: 125%; font-weight: 850; letter-spacing: .12em; }
.code span { font-size: 11px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.code:hover { border-color: var(--ink); }
.code.is-copied { border-style: solid; border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.code.is-copied span { color: inherit; }

/* ---------- Book a call ---------- */
.book {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); align-items: start; gap: clamp(28px, 6vw, 96px);
  padding: clamp(28px, 5vw, 68px) 0 0;
}
.book__intro { container-type: inline-size; display: grid; gap: clamp(20px, 3vw, 36px); }
.book__intro h1 { font-size: clamp(38px, 22.5cqw, 150px); line-height: .84; letter-spacing: -.022em; white-space: nowrap; }
.book__intro .specs--small .spec dt { font-size: 15px; }

.apply { container-type: inline-size; padding: clamp(20px, 3vw, 34px); border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); }
.apply__top { display: grid; gap: 12px; margin-bottom: 24px; }
.apply__count { font-size: 12px; font-weight: 650; font-stretch: 110%; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.apply__bar { height: 4px; border-radius: 2px; background: var(--bg-3); overflow: hidden; }
.apply__bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .5s var(--ease); }

.q { min-width: 0; margin: 0; padding: 0; border: 0; display: none; }
.q.is-active { display: block; animation: q-in .4s var(--ease) both; }
@keyframes q-in { from { opacity: 0; transform: translateX(14px); } }
.q legend, .q .legend { padding: 0; font-size: clamp(22px, 2.6vw, 32px); font-stretch: 118%; font-weight: 850; line-height: 1.05; letter-spacing: -.015em; }
.q__hint { margin-top: 8px; color: var(--dim); font-size: 15px; }
.opts { display: grid; gap: 8px; margin-top: 20px; }
.opt {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 15px 16px; border-radius: 8px; border: 1.5px solid var(--line-2);
  font-weight: 550; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.opt:hover { border-color: var(--dim); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__box { flex: none; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 5px; border: 1.5px solid var(--faint); transition: background-color .15s, border-color .15s; }
.opt.is-checked { border-color: var(--accent); background: var(--tint); }
.opt.is-checked .opt__box { background: var(--accent); border-color: var(--accent); }
.opt.is-checked .opt__box::after { content: ""; width: 10px; height: 6px; margin-top: -2px; border-left: 2.5px solid var(--on-accent); border-bottom: 2.5px solid var(--on-accent); transform: rotate(-45deg); }
.opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.fields { display: grid; gap: 14px; margin-top: 20px; }
.field { display: grid; gap: 7px; font-size: 14px; font-weight: 650; }
.field small { font-size: 13px; font-weight: 400; color: var(--dim); }
.field input {
  width: 100%; padding: 14px 16px; border-radius: 8px; border: 1.5px solid var(--line-2); background: var(--bg);
  color: var(--ink); font: 500 16px var(--font);
  transition: border-color .15s;
}
.field input::placeholder { color: var(--faint); }
.field input:focus { outline: none; border-color: var(--accent); }
.apply__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.apply__nav .btn:last-child { margin-left: auto; }
.book__note { margin-top: 16px; color: var(--faint); font-size: 14px; }

.q--cal .legend { margin-bottom: 18px; }
.cal { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__head strong { font-size: 15px; font-stretch: 112%; font-weight: 750; }
.cal__nav { width: 34px; height: 34px; border-radius: 7px; border: 1.5px solid var(--line-2); background: none; font-size: 18px; line-height: 1; cursor: pointer; }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__dow span { padding-bottom: 4px; font-size: 11px; font-weight: 650; letter-spacing: .06em; color: var(--faint); }
.cal__day { aspect-ratio: 1; border: 0; border-radius: 6px; background: none; font-size: 14px; font-weight: 500; color: var(--faint); opacity: .5; cursor: default; }
.cal__day.is-open { opacity: 1; color: var(--ink); background: var(--bg-3); font-weight: 650; cursor: pointer; }
.cal__day.is-open:hover { outline: 1.5px solid var(--ink); }
.cal__day.is-sel { background: var(--accent); color: var(--on-accent); }
.cal__tz { margin-top: 12px; font-size: 12px; color: var(--faint); }
.cal__times { display: grid; gap: 8px; align-content: start; }
.cal__date { font-size: 14px; font-weight: 650; margin-bottom: 4px; }
.cal__empty { padding: 18px; border-radius: 8px; border: 1.5px dashed var(--line-2); color: var(--dim); font-size: 14px; text-align: center; }
.cal__slot { padding: 12px; border-radius: 8px; border: 1.5px solid var(--line-2); background: none; font-weight: 650; cursor: pointer; transition: border-color .15s; }
.cal__slot:hover { border-color: var(--ink); }
.cal__slot.is-sel { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cal__confirm { margin-top: 4px; width: 100%; padding-inline: 12px; }
@container (max-width: 520px) { .cal { grid-template-columns: minmax(0, 1fr); } }
.cal-frame { width: 100%; height: 680px; border: 0; border-radius: 8px; }
.done { display: grid; justify-items: center; gap: 12px; padding: 18px 6px 8px; text-align: center; }
.done__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 10px; background: var(--accent); color: var(--on-accent); }
.done__icon .i { width: 28px; height: 28px; stroke-width: 2.6; }
.done h3 { font-size: 26px; }
.done p { max-width: 36ch; color: var(--dim); }
.done small { color: var(--faint); font-size: 12px; }

/* ---------- Footer ---------- */
tig-footer { display: block; border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 76px) 0 26px; overflow: hidden; }
tig-footer .container { container-type: inline-size; }
.foot { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px clamp(20px, 4vw, 56px); }
.foot__brand { display: grid; gap: 14px; align-content: start; justify-items: start; }
.foot__brand p { color: var(--dim); font-size: 15px; }
.foot__col { display: grid; gap: 9px; align-content: start; justify-items: start; }
.foot__col .label { margin-bottom: 6px; }
.foot__col a { color: var(--dim); font-size: 15px; text-decoration: none; transition: color .15s; }
.foot__col a:hover { color: var(--ink); }
.paints { display: grid; gap: 4px; margin-left: -10px; }
.paints button {
  display: inline-flex; align-items: center; gap: 11px; height: 30px; padding: 0 10px; border: 0; border-radius: 7px; background: none;
  color: var(--dim); font-size: 15px; cursor: pointer; transition: color .15s, background-color .15s;
}
.paints button:hover { color: var(--ink); }
.paints button.is-on { color: var(--ink); background: var(--tint); }
.sw--carbon { background: #0a0a0a; } .sw--chalk { background: #f1f0ec; } .sw--pink { background: #ff4fa0; } .sw--rosso { background: #e8112d; } .sw--nardo { background: #686b6d; }
.sw { box-shadow: 0 0 0 1.5px var(--line-2); }
.foot__word {
  margin: clamp(36px, 6vw, 80px) 0 0 -.045em;
  font-stretch: 125%; font-weight: 900; font-size: 15.45cqw; line-height: .78; letter-spacing: -.03em; white-space: nowrap;
  color: var(--bg-3); user-select: none;
}
.foot__copy { margin-top: 22px; color: var(--faint); font-size: 13px; }

/* ---------- Logo picker page ---------- */
.logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.logo-opt { display: grid; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); transition: border-color .2s; }
.logo-opt.is-on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.logo-opt__stage { aspect-ratio: 16 / 10; display: grid; place-items: center; background: var(--bg-2); }
.logo-opt__stage svg { height: 44%; width: auto; }
.logo-opt__stage--block svg { height: 22%; }
.logo-opt__stage--wing svg, .logo-opt__stage--speed svg { height: 34%; }
.logo-opt__stage .brand__word { font-size: clamp(22px, 2.6vw, 34px); }
.logo-opt__lock { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-top: 1px solid var(--line); }
.logo-opt__fav { display: flex; align-items: center; gap: 10px; }
.logo-opt__fav img { border-radius: 22%; box-shadow: 0 0 0 1px var(--line-2); }
.logo-opt__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.logo-opt__foot h3 { font-size: 19px; }
.logo-opt__foot h3 span { margin-right: 10px; color: var(--faint); }
.logo-opt__foot p { margin-top: 6px; color: var(--dim); font-size: 14px; line-height: 1.4; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; max-width: calc(100% - 32px);
  padding: 13px 18px; border-radius: 8px; background: var(--ink); color: var(--bg);
  font-size: 14px; font-weight: 650;
  opacity: 0; transform: translate(-50%, 24px); transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

@keyframes view-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes vt-out { to { opacity: 0; } }
html:not(.vt) main { animation: view-in .5s var(--ease) both; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .14s ease-out both; }
::view-transition-new(root) { animation: view-in .5s var(--ease) both; }
::view-transition-group(nav-knob) { animation-duration: .22s; animation-timing-function: ease-out; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1040px) {
  .paint span { display: none; }
  .paint { padding: 0 12px; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  /* the menu moves to its own row; only that row stays stuck to the top */
  tig-header { top: -60px; }
  .bar { height: auto; grid-template-columns: 1fr auto; gap: 0 12px; }
  .brand, .bar__right { height: 60px; }
  .menu { grid-column: 1 / -1; grid-row: 2; margin-inline: -6px; padding-bottom: 8px; }
  .menu a { flex: 1; padding: 0 6px; }

  .hero__row { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: 34px minmax(0, 1fr); }
  .step > div, .step > p { grid-column: 2; }
  .split, .book, .about, .about.has-photo { grid-template-columns: minmax(0, 1fr); }
  .about.has-photo .about__photo { grid-row: auto; max-width: 420px; }
  .vids { grid-template-columns: minmax(0, 1fr); }
  .vid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 4px 16px; align-items: start; }
  .vid__thumb { grid-row: 1 / span 2; }
  .vid__go { align-self: start; }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .ledger__head { display: none; }
  .ledger__rows { border-top: 1px solid var(--line-2); }
  .row { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 0; }
  .row:hover, .row:focus-visible { padding-inline: 10px; }
  .row__who { grid-column: 1; grid-row: 1; }
  .row__amt { grid-column: 2; grid-row: 1; }
  .row__firm { grid-column: 1; grid-row: 2; font-size: 14px; }
  .row__date { grid-column: 2; grid-row: 2; text-align: right; font-size: 13px; }
  .row__go { display: none; }

  .coderow { grid-template-columns: 52px minmax(0, 1fr) auto; }
  .coderow__deal { grid-column: 2; grid-row: 2; margin-top: -10px; font-size: 15px; }
  .coderow .code { grid-column: 3; grid-row: 1 / span 2; }
  .coderow .tlink { grid-column: 2 / -1; justify-self: start; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand__word { font-size: 13px; }
  .wall { columns: 2; column-gap: 10px; }
  .wall .shot { margin-bottom: 10px; }
  .strip { gap: 10px; }
  .spec { flex-direction: column; align-items: flex-start; gap: 8px; }
  .spec dd { text-align: left; }
  .specs--small .spec { flex-direction: row; align-items: baseline; }
  .specs--small .spec dd { text-align: right; }
  .linkrow { grid-template-columns: minmax(0, 1fr) 22px; gap: 4px 14px; }
  .linkrow span { grid-column: 1; grid-row: 2; }
  .linkrow .i { grid-column: 2; grid-row: 1 / span 2; }
  .cal { grid-template-columns: minmax(0, 1fr); }
  .coderow { grid-template-columns: 44px minmax(0, 1fr); }
  .coderow__logo { width: 44px; height: 44px; }
  .coderow .code { grid-column: 1 / -1; grid-row: auto; width: 100%; }
  .coderow .tlink { grid-column: 1 / -1; }
  .logos { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb__prev, .lb__next { top: auto; bottom: 14px; translate: none; }
  .lb img { max-height: 70vh; max-height: 70dvh; }
  .vid { grid-template-columns: minmax(0, 1fr); }
  .vid__thumb { grid-row: auto; }
}

@media (max-width: 400px) {
  .paint { display: none; }
}

.still *, .still *::before, .still *::after { animation: none !important; transition: none !important; }
.still [data-reveal], .still .line > span { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js .line > span { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
  @view-transition { navigation: none; }
}

/* =========================================================
   Added later: social logos, color chooser, type-only logo
   ========================================================= */
.brand__word--only { font-size: 16px; }

/* social logos, redrawn blocky to match the site */
.linkrow--social { grid-template-columns: auto minmax(0, 1fr) auto clamp(18px, 2vw, 26px); gap: clamp(12px, 1.6vw, 20px); }
.linkrow .linkrow__icon {
  width: clamp(34px, 3.2vw, 44px); aspect-ratio: 1; display: grid; place-items: center;
  border-radius: clamp(8px, .8vw, 10px); background: var(--ink); color: var(--bg);
  transition: background-color .22s, color .22s;
}
.linkrow__icon svg { width: 58%; height: 58%; }
.linkrow:hover .linkrow__icon, .linkrow:focus-visible .linkrow__icon { background: var(--on-accent); color: var(--accent); }
.foot__col a { display: inline-flex; align-items: center; gap: 9px; }
.soc { width: 16px; height: 16px; flex: none; }


@media (max-width: 560px) {
  .linkrow--social { grid-template-columns: auto minmax(0, 1fr) 22px; gap: 2px 14px; }
  .linkrow--social .linkrow__icon { grid-column: 1; grid-row: 1 / span 2; }
  .linkrow--social > strong { grid-column: 2; grid-row: 1; }
  .linkrow--social > span:not(.linkrow__icon) { grid-column: 2; grid-row: 2; }
  .linkrow--social > .i { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 400px) {
  .paint { display: inline-flex; padding: 0 8px; }
}

/* hidden box that only spam bots tick */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* the top bar is not animated when a page opens, so it always stays sharp */
::view-transition-group(site-header), ::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; }
::view-transition-old(site-header) { display: none; }

/* 404 page */
.lost { padding: clamp(28px, 5vw, 68px) 0 0; }
.lost .container { container-type: inline-size; }
.lost__code { font-stretch: 125%; font-weight: 900; line-height: .8; letter-spacing: -.04em; font-size: clamp(120px, 42cqw, 520px); color: var(--accent); }
[data-theme="chalk"] .lost__code, [data-theme="nardo"] .lost__code { color: var(--ink); }
.lost h1 { font-size: clamp(30px, 7cqw, 96px); margin-top: clamp(14px, 2vw, 28px); }
.lost .lead { margin-top: clamp(16px, 2.4vw, 28px); }
.lost .links { margin-top: clamp(28px, 4vw, 52px); }

/* home video: show the YouTube thumbnail, keep the label, length and play button on top */
.video__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.video.has-thumb .video__thumb { opacity: 1; }
.video.has-thumb .video__poster:hover { background: none; }
.video.has-thumb .video__title { visibility: hidden; }
.video.has-thumb .video__play { grid-column: 2; grid-row: 2; }
.video.has-thumb .label, .video.has-thumb .video__time {
  align-self: start; padding: 6px 10px; border-radius: 6px;
  background: #0a0a0a; color: #f4f4f1;
}
.video.has-thumb .label { justify-self: start; }

/* ---------- Color menu ---------- */
.paint i { position: relative; width: 18px; height: 14px; border-radius: 4px; background: var(--bg); box-shadow: 0 0 0 1.5px var(--line-2); overflow: hidden; }
.paint i::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 50%; background: var(--accent); }
.paint[aria-expanded="true"] { color: var(--ink); background: var(--tint); }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }

.tile {
  display: grid; gap: 6px; padding: 4px; border: 0; border-radius: 9px; background: none;
  color: var(--dim); font-size: 12px; font-weight: 600; text-align: center; cursor: pointer;
  transition: background-color .12s, color .12s;
}
.tile:hover { background: var(--tint); color: var(--ink); }
.tile__sw {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px;
  background: var(--t-bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 18%, transparent);
}
.tile__sw b { position: absolute; left: 22%; right: 22%; bottom: 22%; height: 22%; border-radius: 3px; background: var(--t-ac); }
.tile.is-on { color: var(--ink); }
.tile.is-on .tile__sw { box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 4px var(--ink); }

.tile--sm { padding: 0; width: 34px; }
.tile--sm:hover { background: none; }
.tile--sm .tile__sw b { left: 18%; right: 18%; bottom: 18%; height: 26%; }

.picker {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 42px; padding: 0 6px 0 12px; border-radius: 8px; border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 550; color: var(--ink); cursor: pointer;
}
.picker:hover { border-color: var(--dim); }
.picker__val { display: inline-flex; align-items: center; gap: 10px; }
.picker code { font: 600 12.5px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--dim); text-transform: uppercase; }
.picker input[type="color"] {
  width: 44px; height: 30px; padding: 0; border: 0; border-radius: 6px; background: none; cursor: pointer;
}
.picker input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.picker input[type="color"]::-webkit-color-swatch { border: 1px solid var(--line-2); border-radius: 6px; }
.picker input[type="color"]::-moz-color-swatch { border: 1px solid var(--line-2); border-radius: 6px; }

.tiles--foot { grid-template-columns: repeat(auto-fill, 34px); gap: 10px; width: 100%; justify-self: stretch; }

@media (max-width: 560px) { .foot__col:has(.tiles--foot) { grid-column: 1 / -1; } }

/* ---------- Color menu (pop-up under the color button) ---------- */
.paintbox { position: relative; }
.paintmenu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  width: min(332px, calc(100vw - 24px)); padding: 14px; display: grid; gap: 12px;
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5);
  animation: view-in .18s var(--ease) both;
}
.paintmenu__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.paintmenu__now { font-size: 13px; font-weight: 650; color: var(--ink); }
.paintmenu__custom { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 560px) {
  .paintmenu { position: fixed; top: 64px; right: 12px; left: 12px; width: auto; }
}

@media (max-width: 600px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hero__grid .video { max-width: none; justify-self: stretch; }
  .fold .hero { padding: 18px 0 22px; }
  .hero__text { gap: 16px; }
  .hero__text .btn--lg { height: 52px; padding: 0 20px; font-size: 13.5px; }
  .hero__cta { gap: 12px 20px; }
}

/* "not ready yet" line under the Book a free call row */
.cta__alt { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 18px; }
.cta__alt p { color: var(--dim); font-size: 15px; }
.cta__alt .btn { gap: 10px; }
.cta__alt .btn svg { width: 18px; height: 18px; }

/* text and video stay side by side down to small tablets */
@media (min-width: 601px) and (max-width: 960px) {
  .hero__grid { column-gap: 22px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .hero__text .lead { font-size: 15px; }
  .hero__text .btn--lg { height: 48px; padding: 0 18px; font-size: 13px; }
  .hero__cta { gap: 10px 16px; }
}

/* real Calendly calendar: Calendly only fills its box (no white around it) when the box is narrow,
   so it stays in the form column and never gets wider than 560px */
.cal-wrap { width: 100%; max-width: 560px; margin: 0 auto; overflow: hidden; border-radius: 10px; background: var(--bg-2); min-height: 540px; }
.cal-wrap iframe { display: block; width: 100%; border: 0; border-radius: 0; }
.cal-frame { height: 700px; }
/* Calendly leaves a thin white edge under its card: cut it off */
.cal-wrap:has(iframe) { clip-path: inset(0 0 16px 0 round 10px); margin-bottom: -16px; }
.cal-wrap iframe { opacity: 0; transition: opacity .3s ease; }
.cal-wrap.is-ready iframe, .cal-wrap .cal-frame { opacity: 1; }
.cal-wrap .calendly-spinner { filter: grayscale(1); }
.cal-wrap { scroll-margin-top: calc(var(--hdr, 70px) + 16px); }
/* on phones the calendar gets more room */
@media (max-width: 600px) { .apply:has(.q--cal.is-active) { padding-inline: 12px; } }
