/* Tigerstone Operating Partners — direction: the name as a monument; the 18-bar mark as the ring of frames. */

@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --night: #0c201a;      /* hero and closing fields */
  --deep: #102a23;       /* brand deep forest */
  --forest: #18382f;     /* brand forest */
  --bg: #f4f1e8;         /* paper ground */
  --surface: #e7e1d4;    /* warm paper, one tone step */
  --ink: #102a23;
  --muted: #4b5750;
  --paper-ink: #f4f1e8;
  --paper-muted: #c9cec5;
  --accent: #d4b667;     /* brand ochre: the action */
  --accent-hi: #e6c97c;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --m: clamp(20px, 2.4vw, 40px);
  --gap: clamp(80px, 9vw, 136px);
  --s-display: clamp(46px, 5.4vw, 84px);
  --s-head: clamp(32px, 3.6vw, 56px);
  --s-lead: clamp(20px, 1.55vw, 22px);
  --s-body: 17px;
  --s-small: 15px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--s-body)/1.58 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--deep); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; z-index: 100; left: var(--m); top: -80px; padding: 12px 16px; background: var(--accent); color: var(--deep); font-weight: 600; }
.skip-link:focus { top: 12px; }
#main { outline: none; }

/* ---------- Controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 26px; border: 0; border-radius: 0; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.button:active { transform: scale(0.97); }
.button-light { background: var(--accent); color: var(--deep); }
.button-dark { background: var(--deep); color: var(--paper-ink); }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--accent); transition: text-underline-offset 200ms var(--ease-out), color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .button-light:hover { background: var(--accent-hi); transform: translateY(-2px); }
  .button-dark:hover { background: var(--forest); transform: translateY(-2px); }
  .text-link:hover { text-underline-offset: 9px; }
}

/* ---------- Header: plain, sits on the dark first screen ---------- */
.site-header { position: fixed; z-index: 50; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px var(--m); color: var(--paper-ink); transition: background-color 300ms ease, padding 300ms var(--ease-out); }
.site-header.is-solid { background: var(--night); padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; animation: spin 30s linear infinite; }
.brand-wordmark { width: 150px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); font-size: var(--s-small); }
.primary-nav a { color: var(--paper-ink); padding: 8px 0; text-decoration: underline 2px transparent; text-underline-offset: 8px; transition: text-decoration-color 200ms ease, text-underline-offset 200ms var(--ease-out); }
.primary-nav a[aria-current="page"] { text-decoration-color: var(--accent); }
.primary-nav .nav-contact { padding: 12px 18px; text-decoration: none; background: var(--accent); color: var(--deep); font-weight: 600; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.primary-nav .nav-contact:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .primary-nav a:hover { text-decoration-color: currentColor; text-underline-offset: 5px; }
  .primary-nav .nav-contact:hover { background: var(--accent-hi); }
}
.menu-toggle { display: none; min-height: 44px; padding: 0 16px; background: var(--accent); color: var(--deep); border: 0; font-weight: 600; cursor: pointer; }

/* ---------- Hero: the ring of frames is the Tigerstone mark ---------- */
.hero { position: relative; min-height: max(100svh, 720px); background: var(--night); color: var(--paper-ink); overflow: hidden; }
.ring { position: absolute; left: 50%; top: 52%; width: min(78vw, 1180px); height: min(70svh, 660px); transform: translate(-50%, -50%); transform-origin: center; will-change: transform; }
.ring-item { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; rotate: var(--r); scale: var(--s); animation: ring-in 900ms var(--ease-out) both; animation-delay: calc(var(--i) * 45ms + 150ms); }
.ring-bar { width: clamp(14px, 1.45vw, 24px); height: clamp(64px, 7.6vw, 118px); }
.ring-bar::before { content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--c); animation: wave 2.7s linear infinite; animation-delay: calc(var(--i) * 0.15s - 2.7s); }
.ring-photo { display: block; width: clamp(72px, 7.6vw, 118px); aspect-ratio: 3 / 4; overflow: hidden; transition: opacity 250ms ease, scale 300ms var(--ease-out); }
.ring-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero.is-pointing .ring-photo:not(.is-lit) { opacity: 0.45; }
.ring-photo.is-lit { scale: calc(var(--s) * 1.12); }
.hero-core { position: absolute; left: 50%; top: 52%; width: min(640px, 84vw); transform: translate(-50%, -50%); text-align: center; z-index: 2; }
.hero h1 { font-size: var(--s-display); letter-spacing: -0.05em; line-height: 0.95; }
.hero-sentence { max-width: 42ch; margin: 24px auto 0; font-size: var(--s-lead); line-height: 1.5; color: var(--paper-ink); min-height: 3em; animation: fade-up 700ms var(--ease-out) 1050ms both; }
.hero-action { margin-top: 28px; animation: fade-up 700ms var(--ease-out) 1120ms both; }


/* ---------- Sub-page first screen: headline, a tall photograph, the mark turning over its corner ---------- */
.page-hero { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; min-height: max(88svh, 620px); padding: 128px var(--m) clamp(56px, 6vw, 96px); background: var(--night); color: var(--paper-ink); overflow: hidden; }
.page-hero-text { grid-column: 1 / span 7; position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(46px, 6.4vw, 108px); letter-spacing: -0.055em; line-height: 0.94; }
.page-hero .hero-sentence { margin: 28px 0 0; max-width: 44ch; font-size: var(--s-lead); min-height: 0; }
.page-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }
.page-hero-actions .text-link { color: var(--paper-ink); }
.page-hero-photo { grid-column: 9 / span 4; align-self: stretch; position: relative; min-height: 420px; }
.page-hero-photo .drift { position: absolute; inset: 0; overflow: hidden; }
.page-hero-mark { position: absolute; z-index: 3; left: -96px; bottom: -40px; width: clamp(140px, 13vw, 220px); height: auto; }
.page-hero-arc { position: absolute; z-index: 0; right: -18vw; top: 50%; width: 62vw; aspect-ratio: 1; translate: 0 -50%; opacity: 0.16; pointer-events: none; }

/* ---------- Intro: narrow column beside a large photograph ---------- */
.intro { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; padding: var(--gap) var(--m); }
.intro-col { grid-column: 2 / span 4; max-width: 400px; }
.intro h2 { font-size: var(--s-head); margin-bottom: 28px; }
.intro p + p { margin-top: 16px; }
.lead { font-size: var(--s-lead); line-height: 1.4; font-weight: 500; color: var(--ink); }
.intro p:not(.lead), .split-text p:not(.lead), .profile-text p:not(.lead) { color: var(--ink); }
.intro-photo { grid-column: 7 / span 6; }
.drift-frame, .intro-photo, .split-photo { overflow: hidden; }
.intro-photo .drift, .split-photo .drift { aspect-ratio: 4 / 5; overflow: hidden; }
.drift img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.intro-photo .drift { transform-origin: center; }
.intro-photo figcaption { margin-top: 12px; font-size: var(--s-small); color: var(--muted); }

/* ---------- Stages: a horizontal accordion, dark to light ---------- */
.stages { padding: 0 var(--m) var(--gap); }
.stages-intro { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: 56px; }
.stages-intro h2 { grid-column: 1 / span 5; font-size: var(--s-head); }
.stages-intro p { grid-column: 7 / span 5; font-size: var(--s-body); }
.accordion { display: flex; height: 520px; }
.stage { --tone: color-mix(in srgb, var(--night), #6f8f80 calc(var(--t) * 13%)); position: relative; flex: 1 1 0; min-width: 0; background: var(--tone); color: var(--paper-ink); transition: flex-grow 450ms var(--ease-in-out); }
.stage.is-open { flex-grow: 5.2; }
.stage-tab { position: absolute; inset: 0; width: 100%; padding: 28px 22px; border: 0; background: transparent; text-align: left; cursor: pointer; display: flex; align-items: flex-end; font-size: var(--s-lead); font-weight: 600; letter-spacing: -0.01em; }
.stage-tab { writing-mode: vertical-rl; transform: rotate(180deg); justify-content: flex-start; align-items: flex-start; }
.stage.is-open .stage-tab { color: transparent; cursor: default; }
.stage-panel[hidden] { display: none; }
.stage-panel { position: absolute; inset: 0; padding: 36px 40px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; overflow: hidden; }
.stage-name { font-size: clamp(28px, 2.6vw, 40px); font-weight: 600; letter-spacing: -0.035em; line-height: 1; white-space: nowrap; }
.stage-text { max-width: 36ch; font-size: var(--s-body); }
.stage.is-open .stage-panel > * { animation: fade-up 500ms var(--ease-out) 180ms both; }
@media (hover: hover) and (pointer: fine) {
  .stage:not(.is-open):hover { background: color-mix(in srgb, var(--tone), #ffffff 8%); }
}

/* ---------- The live thing: choose your situation ---------- */
.situation { display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; background: var(--surface); }
.sit-plate { position: relative; align-self: center; margin: 40px; aspect-ratio: 1; overflow: hidden; background: var(--deep); }
.sit-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 500ms ease, transform 1200ms var(--ease-out); }
.sit-photo.is-active { opacity: 1; transform: scale(1); }
.sit-mark { position: absolute; right: 24px; bottom: 24px; width: 22%; height: auto; animation: spin 30s linear infinite; }
.sit-side { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(48px, 6vw, 96px) var(--m) clamp(40px, 5vw, 72px) clamp(24px, 3vw, 48px); }
.sit-heading { font-size: var(--s-head); max-width: 14ch; }
.sit-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.sit-tab { min-height: 48px; padding: 0 18px; border: 0; background: var(--bg); color: var(--ink); font-size: 16px; font-weight: 500; cursor: pointer; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.sit-tab[aria-selected="true"] { background: var(--deep); color: var(--paper-ink); }
.sit-tab:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .sit-tab[aria-selected="false"]:hover { background: #fff; } }
.sit-title { font-size: clamp(28px, 2.6vw, 40px); }
.sit-body { max-width: 44ch; margin-top: 20px; font-size: var(--s-body); }
.sit-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; }
.cell { display: flex; align-items: center; min-height: 72px; padding: 0 24px; font-weight: 600; text-decoration: none; transition: background-color 200ms ease; }
.cell-ink { background: var(--deep); color: var(--paper-ink); }
.cell-soft { background: var(--bg); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .cell-ink:hover { background: var(--forest); } .cell-soft:hover { background: #fff; } }
.sit-panel.swap > * { animation: fade-up 450ms var(--ease-out) both; }
.sit-panel.swap > *:nth-child(2) { animation-delay: 60ms; }
.sit-panel.swap > *:nth-child(3) { animation-delay: 120ms; }

/* ---------- About on the home page: side facts, wide paragraph ---------- */
.about-home { padding: var(--gap) var(--m); }
.about-row { display: grid; grid-template-columns: 22% 1fr 26%; column-gap: clamp(24px, 4vw, 64px); align-items: start; }
.facts { display: grid; gap: 22px; }
.facts dt { font-size: var(--s-small); color: var(--muted); }
.facts dd { font-size: 17px; font-weight: 600; }
.about-text h2 { font-size: var(--s-head); margin-bottom: 28px; }
.statement { font-size: var(--s-lead); line-height: 1.38; margin-bottom: 28px; max-width: 36em; }
.about-portrait { aspect-ratio: 4 / 5; overflow: hidden; }
.about-portrait img, .profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 30%; transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .about-portrait:hover img, .profile-photo:hover img { transform: scale(1.04); } }
.record { display: grid; grid-template-columns: 22% 1fr 1fr 26%; column-gap: clamp(24px, 4vw, 64px); margin-top: 96px; }
.record-word { font-weight: 600; }
.record-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; }
.record-list li span:last-child { color: var(--muted); white-space: nowrap; }
.record-list li:nth-child(odd) { background: none; }

/* ---------- Quotation spread edge to edge ---------- */
.quote-band { padding: clamp(110px, 12vw, 180px) var(--m); background: var(--accent); color: var(--deep); }
.spread { font-family: var(--serif); font-size: clamp(44px, 8.4vw, 150px); line-height: 1; letter-spacing: -0.02em; }
.spread p { display: flex; justify-content: space-between; gap: 0.4em; }
.spread p + p { margin-top: 0.3em; }
.spread-attr { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; font-size: var(--s-body); font-weight: 600; }

/* ---------- Close: the idea again, inverted ---------- */
.cta { display: flex; flex-direction: column; justify-content: space-between; gap: 64px; min-height: 90svh; padding: clamp(96px, 10vw, 160px) var(--m) 40px; background: var(--forest); color: var(--paper-ink); }
.cta-title { font-size: clamp(44px, 7.4vw, 136px); letter-spacing: -0.055em; line-height: 0.92; }
.cta-base { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.cta-base p { max-width: 34ch; font-size: var(--s-lead); }

/* ---------- Footer: the name first, places under it ---------- */
.site-footer { padding: clamp(120px, 10vw, 160px) var(--m) 32px; background: var(--night); color: var(--paper-ink); overflow: hidden; }
.footer-name { font-size: clamp(56px, 14.6vw, 260px); font-weight: 700; letter-spacing: 0.04em; line-height: 0.85; color: var(--accent); white-space: nowrap; margin-left: -0.04em; }
.footer-row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-top: 72px; }
.footer-ways { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 6px; }
.footer-ways a { width: max-content; max-width: 100%; font-size: clamp(22px, 2.6vw, 40px); font-weight: 500; letter-spacing: -0.02em; text-decoration: none; color: var(--paper-ink); transition: color 200ms ease, transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .footer-ways a:hover { color: var(--accent); transform: translateX(6px); } }
.footer-links { grid-column: 8 / span 5; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; font-size: var(--s-small); }
.footer-links div { display: flex; flex-direction: column; gap: 10px; }
.footer-links p { color: var(--paper-muted); }
.footer-links a { text-decoration: none; width: max-content; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .footer-links a:hover { color: var(--accent); } }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 96px; font-size: var(--s-small); color: var(--paper-muted); }
.back-top { color: var(--paper-ink); }

/* ---------- Sub-page sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 96px); align-items: center; padding: var(--gap) var(--m); }
.split-text { max-width: 560px; }
.split-text h2, .profile-text h2 { font-size: var(--s-head); margin-bottom: 28px; }
.split-text p + p, .profile-text p + p { margin-top: 16px; }
.split-photo .drift { aspect-ratio: 5 / 4; }

.bands { padding-bottom: var(--gap); }
.bands-title { font-size: var(--s-head); padding: 0 var(--m) 48px; }
.band { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 48px var(--m); background: color-mix(in srgb, var(--bg), var(--surface) calc(var(--b) * 33%)); transition: background-color 300ms ease; }
.band h3 { grid-column: 1 / span 5; font-size: clamp(28px, 2.6vw, 40px); }
.band p { grid-column: 7 / span 5; font-size: var(--s-body); }

.engage { padding: var(--gap) var(--m); background: var(--deep); color: var(--paper-ink); }
.engage-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-bottom: 64px; align-items: end; }
.engage-head h2 { grid-column: 1 / span 6; font-size: var(--s-head); }
.engage-head p { grid-column: 8 / span 5; color: var(--paper-ink); }
.engage-list li { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: baseline; padding: 28px 0; }
.engage-list li + li { margin-top: 8px; }
.engage-name { grid-column: 1 / span 7; font-size: clamp(36px, 5vw, 84px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--accent); }
.engage-desc { grid-column: 8 / span 5; font-size: var(--s-body); }

.moments { padding-top: var(--gap) !important; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 0 var(--m) var(--gap); }
.moments h2 { grid-column: 1 / span 4; font-size: var(--s-head); }
.moment-list { grid-column: 6 / span 7; display: grid; gap: 20px; }
.moment-list li { display: flex; gap: 20px; align-items: center; font-size: clamp(22px, 2.6vw, 40px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.moment-list li::before { content: ""; flex: none; width: 10px; height: 42px; border-radius: 999px; background: #e6a316; }
.moment-list li:nth-child(2)::before { background: #ca7c0f; }
.moment-list li:nth-child(3)::before { background: #867e58; }
.moment-list li:nth-child(4)::before { background: #985309; }

.sectors { padding: var(--gap) var(--m); background: var(--surface); }
.sectors { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.sectors h2 { grid-column: 1 / span 5; font-size: var(--s-head); }
.sectors .sector-type { grid-column: 7 / span 6; }
.sector-type { max-width: 30ch; font-size: clamp(22px, 2.3vw, 34px); line-height: 1.3; font-weight: 500; }

.longquote { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: var(--gap) var(--m); background: var(--deep); color: var(--paper-ink); }
.longquote h2 { grid-column: 1 / span 4; font-size: var(--s-head); }
.longquote blockquote { grid-column: 6 / span 7; }
.longquote blockquote p { font-family: var(--serif); font-size: clamp(22px, 2.1vw, 30px); line-height: 1.32; }
.longquote footer { margin-top: 28px; font-weight: 600; color: var(--accent); }

.profile-lead h2 { font-size: var(--s-head); margin-bottom: 28px; }
.profile { display: grid; grid-template-columns: 5fr 7fr; column-gap: clamp(32px, 6vw, 96px); align-items: start; padding: var(--gap) var(--m); }
.profile-photo { aspect-ratio: 1; overflow: hidden; position: sticky; top: 110px; }
.profile-text { max-width: 640px; }

.career { padding: var(--gap) var(--m); background: var(--surface); }
.career h2 { font-size: var(--s-head); margin-bottom: 56px; }
.career-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.career-big { font-size: clamp(88px, 11vw, 190px); font-weight: 600; letter-spacing: -0.06em; line-height: 0.85; color: var(--deep); }
.career-label { margin: 12px 0 10px; font-weight: 600; font-size: var(--s-lead); }
.career-note { margin-top: 56px; }

.purpose { padding: clamp(110px, 12vw, 180px) var(--m); background: var(--accent); color: var(--deep); }
.purpose-line { font-size: clamp(40px, 7.4vw, 136px); letter-spacing: -0.055em; line-height: 0.92; }
.purpose p { margin-top: 32px; font-size: var(--s-lead); max-width: 40ch; }

.contact { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 96px); padding: var(--gap) var(--m); align-items: start; }
.contact-ways h2 { font-size: var(--s-head); margin-bottom: 36px; }
.way { display: block; width: max-content; max-width: 100%; margin-top: 10px; font-size: clamp(22px, 2.6vw, 40px); font-weight: 500; letter-spacing: -0.02em; text-decoration: none; overflow-wrap: anywhere; transition: color 200ms ease, transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .way:hover { color: var(--forest); transform: translateX(6px); } }
.contact-ways p { margin-top: 32px; }
.contact-form { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 56px); background: var(--surface); }
.form-title { font-size: clamp(28px, 2.6vw, 40px); }
.form-help { margin: 14px 0 20px; }
.contact-form label { margin-top: 18px; font-weight: 600; }
.opt, .field-help { color: var(--muted); font-weight: 400; }
.field-help { margin-top: 6px; font-size: var(--s-small); }
.contact-form input, .contact-form textarea { margin-top: 6px; width: 100%; padding: 14px 14px; border: 0; border-bottom: 2px solid var(--muted); border-radius: 0; background: var(--bg); font-size: 17px; transition: border-color 200ms ease, background-color 200ms ease; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--deep); background: #fff; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .button { align-self: flex-start; margin-top: 28px; }
.form-status { min-height: 1.6em; margin-top: 14px; font-weight: 500; }


/* ---------- Photo band: one large picture, two beside it ---------- */
.photo-band { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; gap: 24px; padding: var(--gap) var(--m) 0; }
.band-photo .drift { overflow: hidden; }
.band-big { grid-row: 1 / span 2; }
.band-big .drift { aspect-ratio: 4 / 3.1; }
.band-a .drift, .band-b .drift { aspect-ratio: 16 / 9; }
.band-photo figcaption { margin-top: 10px; font-size: var(--s-small); color: var(--muted); }
.band-a, .band-b { align-self: start; }
#main > .photo-band:last-child { padding-bottom: var(--gap); }
.contact-portrait { width: 140px; aspect-ratio: 1; overflow: hidden; margin-bottom: 24px; }
.contact-portrait img { width: 100%; height: 100%; object-fit: cover; }


/* ---------- Clients: sectors run past as a slow ticker ---------- */
.ticker { grid-column: 1 / -1; margin-top: 56px; overflow: hidden; }
.ticker-track { display: flex; width: max-content; }
.ticker-group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.ticker-group span { font-size: clamp(36px, 5vw, 84px); font-weight: 600; letter-spacing: -0.045em; white-space: nowrap; }
.ticker-group i { display: block; width: 14px; height: 0.9em; border-radius: 999px; font-size: clamp(36px, 5vw, 84px); }

/* ---------- About: numbers that count up ---------- */
.career-big { font-variant-numeric: tabular-nums; }

/* ---------- Services: rows that answer the pointer ---------- */
.engage-list li { padding-inline: 20px; margin-inline: -20px; transition: background-color 250ms ease; }
.engage-name { transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .engage-list li:hover { background: var(--forest); }
  .engage-list li:hover .engage-name { transform: translateX(10px); }
}

/* ---------- Pitch page ---------- */
.pitch-hero { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; min-height: max(92svh, 680px); padding: 128px var(--m) 72px; background: var(--night); color: var(--paper-ink); overflow: hidden; }
.pitch-hero-text { grid-column: 1 / span 6; }
.pitch-hero h1 { font-size: clamp(44px, 4.6vw, 84px); letter-spacing: -0.055em; line-height: 0.94; }
.pitch-hero .hero-sentence { margin: 28px 0 0; text-align: left; font-size: var(--s-lead); min-height: 0; max-width: 40ch; }
.pitch-hero-shot { grid-column: 7 / span 6; margin-right: calc(var(--m) * -1); }
.pitch-hero-shot img { width: 100%; height: auto; }
.pitch-hero-shot figcaption { margin-top: 12px; font-size: var(--s-small); color: var(--paper-muted); }

.compare-sec { padding: var(--gap) var(--m); }
.compare-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: 48px; }
.compare-head h2 { grid-column: 1 / span 6; font-size: var(--s-head); }
.compare-head p { grid-column: 8 / span 5; }
.compare { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #222; --pos: 50%; user-select: none; }
.compare-pane { position: absolute; inset: 0; }
.compare-new img { width: 100%; height: 100%; object-fit: cover; }
.compare-old { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--accent); pointer-events: none; }
.compare-handle::after { content: "Drag"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; padding: 10px 14px; background: var(--accent); color: var(--deep); font-weight: 600; font-size: var(--s-small); }
.compare { cursor: ew-resize; touch-action: pan-y; }
.compare:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.compare-labels { display: flex; justify-content: space-between; margin-top: 14px; font-weight: 600; }
/* A plain recreation of today's first screen */
.old-site { position: absolute; inset: 0; display: flex; flex-direction: column; background: #3b3530; color: #fff; font-family: Georgia, serif; overflow: hidden; }
.old-nav { display: flex; align-items: center; justify-content: space-between; height: 17%; padding: 0 4%; background: #fff; color: #222; font-family: Arial, sans-serif; font-size: clamp(8px, 1vw, 14px); letter-spacing: 0.08em; }
.old-nav img { height: 46%; width: auto; }
.old-nav span { display: flex; gap: 2.4em; }
.old-hero { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-left: 2%; background: #6d5a48; }
.old-hero::before { content: ""; position: absolute; inset: 0; background: #2d2a33; opacity: 0.45; }
.old-hero p { position: relative; margin-left: -6%; font-size: clamp(22px, 5.4vw, 84px); line-height: 1.05; white-space: nowrap; }
.old-hero small { position: relative; margin-top: 2.5%; font-family: Arial, sans-serif; font-size: clamp(9px, 1.2vw, 18px); }

.changes { padding: 0 0 var(--gap); }
.changes > h2 { font-size: var(--s-head); padding: 0 var(--m) 48px; }
.change { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 44px var(--m); }
.change:nth-child(odd) { background: var(--surface); }
.change h3 { grid-column: 1 / span 4; font-size: clamp(24px, 2.2vw, 32px); }
.change-was, .change-now { grid-column: span 4; }
.change-was { grid-column: 5 / span 4; }
.change-now { grid-column: 9 / span 4; }
.change b { display: block; margin-bottom: 6px; }
.change-was b { color: var(--muted); }
.change-now b { color: var(--forest); }

.numbers { padding: var(--gap) var(--m); background: var(--accent); color: var(--deep); }
.numbers h2 { font-size: var(--s-head); margin-bottom: 56px; }
.numbers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.numbers-grid .career-big { color: var(--deep); }
.numbers-grid p:last-child { margin-top: 14px; font-size: var(--s-body); max-width: 30ch; }

.included { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 48px; padding: var(--gap) var(--m); }
.included > h2 { grid-column: 1 / span 4; font-size: var(--s-head); }
.included-list { grid-column: 6 / span 7; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.included-list h3 { display: flex; gap: 14px; align-items: center; font-size: clamp(22px, 1.8vw, 26px); margin-bottom: 10px; }
.included-list h3::before { content: ""; flex: none; width: 8px; height: 30px; border-radius: 999px; background: var(--bar, #e6a415); }
.included-phone { grid-column: 1 / span 4; grid-row: 2; align-self: start; max-width: 300px; }
.included-phone img { width: 100%; height: auto; }
.included-phone figcaption { margin-top: 10px; font-size: var(--s-small); color: var(--muted); }

.steps-sec { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: var(--gap) var(--m); background: var(--deep); color: var(--paper-ink); }
.steps-sec h2 { grid-column: 1 / span 4; font-size: var(--s-head); }
.steps { grid-column: 6 / span 7; display: grid; gap: 40px; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: baseline; }
.steps .when { color: var(--accent); font-weight: 600; font-size: var(--s-lead); }
.steps h3 { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 8px; }
.pitch-note { padding: 28px var(--m); background: var(--night); color: var(--paper-muted); font-size: var(--s-small); }

/* =========================================================
   Header: live Toronto clock, sliding highlight, scroll progress, magnetic action
   ========================================================= */
.site-header { transition: background-color 300ms ease, padding 300ms var(--ease-out), transform 450ms var(--ease-out); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand-mark-wrap { display: block; width: 40px; height: 40px; }
.brand-mark-wrap .brand-mark { width: 100%; height: 100%; }
.header-time { display: flex; align-items: center; gap: 8px; margin: 0 auto 0 32px; font-size: var(--s-small); color: var(--paper-muted); }
.header-time b { font-weight: 600; color: var(--paper-ink); font-variant-numeric: tabular-nums; }
.time-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.primary-nav { position: relative; }
.primary-nav a:not(.nav-contact) { position: relative; z-index: 1; padding: 10px 14px; text-decoration: none; }
.primary-nav { gap: 6px; }
.primary-nav .nav-contact { margin-left: 18px; }
.nav-indicator { position: absolute; z-index: 0; left: 0; top: 50%; width: 100px; height: 44px; margin-top: -22px; background: rgba(244, 241, 232, 0.1); transform-origin: left center; opacity: 0; pointer-events: none; transition: transform 380ms var(--ease-out), opacity 200ms ease; }
.primary-nav a[aria-current="page"]:not(.nav-contact) { color: var(--accent); }
.header-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(var(--progress, 0)); transform-origin: left; }
.magnetic { display: inline-flex; will-change: transform; }
.magnetic-inner { display: inline-block; will-change: transform; }
.primary-nav .nav-contact { padding: 14px 22px; }

/* =========================================================
   Home: the mark, unrolled into a rising chart
   ========================================================= */
.rhythm { padding: 0 var(--m) var(--gap); }
.rhythm-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: 48px; }
.rhythm-head h2 { grid-column: 1 / span 5; font-size: var(--s-head); }
.rhythm-head p { grid-column: 7 / span 5; font-size: var(--s-body); }
.rhythm-chart { display: grid; grid-template-columns: repeat(16, 1fr); align-items: end; gap: clamp(8px, 1.4vw, 22px); height: clamp(240px, 30vw, 440px); padding: 0 clamp(4px, 1vw, 16px); }
.rb { display: block; height: var(--h); border-radius: 999px; background: var(--c); transform-origin: bottom; transform: scaleY(var(--grow, 1)); }
.rhythm-labels { display: grid; grid-template-columns: 5fr 5fr 6fr; margin-top: 20px; padding-top: 16px; font-weight: 600; font-size: var(--s-lead); }
.rhythm-labels span:nth-child(2) { text-align: center; }
.rhythm-labels span:last-child { text-align: right; }

/* Stages: each open stage carries its picture; the last carries the mark */
.stage-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; overflow: hidden; }
.stage-photo img { width: 100%; height: 100%; object-fit: cover; }
.stage-photo-mark { display: grid; place-items: center; background: var(--deep); }
.stage-photo-mark img { width: 72%; height: auto; }
.stage-panel > p { max-width: calc(54% - 40px); }
.stage-progress { position: absolute; left: 0; bottom: 0; height: 6px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* About on home: Karim at the centre of the mark; the career to scale */
.about-row { grid-template-columns: minmax(280px, 5fr) 7fr; align-items: center; column-gap: clamp(32px, 6vw, 112px); }
.portrait-ring { position: relative; width: min(100%, 520px); aspect-ratio: 1; justify-self: center; }
.portrait-ring-mark { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait-ring-photo { position: absolute; left: 50%; top: 50%; width: 46%; height: 46%; translate: -50% -50%; border-radius: 50%; object-fit: cover; object-position: 45% 30%; }
.about-text .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 8px 0 32px; }
.timeline { display: flex; gap: 6px; margin-top: 96px; }
.tl-seg { flex: var(--w) 1 0; min-width: 0; }
.tl-bar { display: block; height: 56px; border-radius: 999px; transform-origin: left; }
.tl-kpmg .tl-bar { background: #867e58; }
.tl-mc .tl-bar { background: #b4630c; }
.tl-ts .tl-bar { background: var(--accent); }
.tl-seg p { margin-top: 14px; padding-right: 16px; font-size: var(--s-small); }
.tl-seg b { display: block; font-size: var(--s-lead); letter-spacing: -0.02em; }

/* CTA: the mark turns behind the close; the big button pulls toward the pointer */
.cta { position: relative; overflow: hidden; }
.cta > *:not(.cta-mark) { position: relative; z-index: 1; }
.cta-mark { position: absolute; z-index: 0; right: -14vw; bottom: -22vw; width: 56vw; max-width: 900px; height: auto; opacity: 0.22; pointer-events: none; }
.button-big { min-height: 72px; padding: 0 36px; font-size: var(--s-lead); }

/* =========================================================
   Footer: contact as the mark's own bars
   ========================================================= */
.footer-top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; padding-bottom: clamp(80px, 9vw, 140px); }
.footer-invite { grid-column: 1 / span 4; }
.footer-title { font-size: clamp(44px, 5.4vw, 92px); letter-spacing: -0.055em; line-height: 0.95; color: var(--paper-ink); }
.footer-invite p { margin-top: 20px; max-width: 32ch; color: var(--paper-ink); }
.contact-bars { grid-column: 6 / span 7; display: grid; gap: 14px; }
.cbar { position: relative; display: flex; align-items: center; min-height: clamp(88px, 8vw, 120px); border-radius: 999px; transition: transform 450ms var(--ease-out); }
.cbar:nth-child(2) { margin-left: clamp(24px, 4vw, 72px); }
.cbar:nth-child(3) { margin-left: clamp(48px, 8vw, 144px); }
.cbar-email { background: var(--accent); color: var(--deep); }
.cbar-phone { background: #9a520a; color: var(--paper-ink); }
.cbar-linkedin { background: #5f5a3d; color: var(--paper-ink); }
.cbar-main { flex: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; min-width: 0; padding: 18px 28px 18px clamp(28px, 3vw, 48px); text-decoration: none; border-radius: 999px; }
.cbar-word { font-size: clamp(32px, 3.6vw, 60px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.cbar-detail { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-size: var(--s-body); font-weight: 500; overflow-wrap: anywhere; }
.cbar-detail small { font-size: var(--s-small); font-weight: 400; }
.cbar-copy, .cbar-end { flex: none; display: grid; place-items: center; width: clamp(72px, 6.4vw, 96px); height: clamp(72px, 6.4vw, 96px); margin-right: 12px; border: 0; border-radius: 50%; background: var(--deep); color: var(--paper-ink); cursor: pointer; position: relative; }
.cbar-end { cursor: default; background: rgba(12, 32, 26, 0.55); }
.cbar-copy img, .cbar-end img { width: 62%; height: 62%; transition: rotate 700ms var(--ease-out); }
.cbar-copy-text { position: absolute; font-size: 14px; font-weight: 600; }
.cbar-copy.is-copied img { rotate: 180deg; opacity: 0.35; }
@media (hover: hover) and (pointer: fine) {
  .cbar:hover { transform: translateX(-14px); }
  .cbar:hover img { rotate: 90deg; }
}
.cbar-main:focus-visible { outline-offset: -6px; outline-color: var(--deep); }
.cbar-phone .cbar-main:focus-visible, .cbar-linkedin .cbar-main:focus-visible { outline-color: var(--paper-ink); }

.site-footer .footer-name { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: clamp(56px, 14.2vw, 250px); letter-spacing: 0.02em; margin-left: 0; }
.footer-o { width: 0.78em; height: 0.78em; margin: 0 0.04em; }
.footer-row .footer-links { grid-column: 1 / -1; grid-template-columns: 2fr 2fr 2fr; }
.footer-links div { gap: 10px; }
.site-footer .footer-name { justify-content: flex-start; gap: 0; letter-spacing: 0.01em; }
.footer-o { width: 0.74em; height: 0.74em; margin: 0 0.05em 0 0.03em; }
.cbar-copy img { opacity: 0.3; }
.cbar-copy-text { color: var(--paper-ink); }
.site-footer .footer-name { font-size: clamp(48px, 14.9vw, 268px); }
.powered b { color: var(--accent); font-weight: 600; }

/* Powered by Northline AI: gold at rest, Northline's own gradient sweeps in on hover */
.powered { text-decoration: none; color: var(--paper-muted); }
.powered b {
  font-weight: 700;
  background-image: linear-gradient(90deg, var(--accent) 0%, var(--accent) 50%, #f7a12a 58%, #ee6b3b 70%, #d65d7b 84%, #9c5ce3 100%); /* taste-skill-ignore: Northline AI brand gradient, on hover only */
  background-size: 200% 100%;
  background-position: 0% 0;
  -webkit-background-clip: text; /* taste-skill-ignore: Northline AI brand gradient on hover, requested */
  background-clip: text; /* taste-skill-ignore */
  color: transparent;
  transition: background-position 600ms var(--ease-out);
}
.powered:hover b, .powered:focus-visible b { background-position: 100% 0; }

/* ---------- Pitch: hero screenshot in a browser frame ---------- */
.browser { background: var(--bg); padding: 0 10px 10px; }
.browser-bar { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 6px; }
.browser-bar i { width: 12px; height: 12px; border-radius: 50%; background: #c9c3b4; }
.browser-bar i:first-child { background: var(--accent); }
.browser-bar span { flex: 1; margin-left: 12px; max-width: 360px; padding: 5px 14px; background: var(--surface); color: var(--ink); font-size: 14px; }
.browser img { width: 100%; height: auto; }
.pitch-hero-shot figcaption { color: var(--paper-ink); }

/* ---------- Pitch: before and after ---------- */
.compare-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.cmp-tab { min-height: 48px; padding: 0 22px; border: 0; background: var(--surface); color: var(--ink); font-weight: 600; cursor: pointer; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.cmp-tab[aria-selected="true"] { background: var(--deep); color: var(--paper-ink); }
.cmp-tab:active { transform: scale(0.97); }
.compare-stage { padding: 14px; background: var(--deep); }
.compare-stage[data-view="mobile"] { display: flex; justify-content: center; padding: 28px 14px; }
.compare { position: relative; overflow: hidden; background: #fff; --pos: 50%; user-select: none; -webkit-user-select: none; cursor: ew-resize; touch-action: pan-y; }
.compare-desktop { aspect-ratio: 16 / 10; }
.compare-mobile { width: min(390px, 100%); aspect-ratio: 390 / 844; border-radius: 28px; }
.compare-mobile[hidden], .compare-desktop[hidden] { display: none; }
.compare-pane { position: absolute; inset: 0; }
.compare-pane img { width: 100%; height: 100%; object-fit: cover; object-position: top center; pointer-events: none; }
.compare-old { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--accent); pointer-events: none; }
.compare-handle span { position: absolute; top: 50%; left: 50%; translate: -50% -50%; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--accent); color: var(--deep); font-weight: 700; font-size: 15px; transition: scale 200ms var(--ease-out); }
.compare.is-dragging .compare-handle span { scale: 1.12; }
.compare:focus-within { outline: 3px solid var(--accent); outline-offset: 4px; }
.cmp-label { position: absolute; top: 14px; padding: 8px 14px; background: var(--deep); color: var(--paper-ink); font-weight: 600; font-size: 15px; pointer-events: none; }
.cmp-label-old { left: 14px; }
.cmp-label-new { right: 14px; background: var(--accent); color: var(--deep); }

/* ---------- Pitch: flaws in plain words ---------- */
.flaws { padding: var(--gap) var(--m); background: var(--surface); }
.flaws-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: 64px; }
.flaws-head h2 { grid-column: 1 / span 6; font-size: var(--s-head); }
.flaws-head p { grid-column: 8 / span 5; }
.flaw-group { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 48px 0; }
.flaw-group + .flaw-group { margin-top: 8px; }
.flaw-group > h3 { grid-column: 1 / span 3; display: flex; gap: 14px; align-items: center; font-size: clamp(26px, 2.4vw, 36px); align-self: start; }
.flaw-group > h3::before { content: ""; flex: none; width: 10px; height: 1.2em; border-radius: 999px; background: var(--bar); }
.flaw-list { grid-column: 5 / span 8; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.flaw-list h4 { margin: 0 0 8px; font-size: var(--s-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }

/* ---------- Pitch: fixes ---------- */
.fixes { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 48px; padding: var(--gap) var(--m); }
.fixes > h2 { grid-column: 1 / -1; font-size: var(--s-head); }
.fix-list { grid-column: 5 / span 8; grid-row: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.fix-list h3 { display: flex; gap: 14px; align-items: center; font-size: clamp(22px, 1.8vw, 26px); margin-bottom: 10px; }
.fix-list h3::before { content: ""; flex: none; width: 8px; height: 30px; border-radius: 999px; background: var(--bar); }
.fixes .included-phone { grid-column: 1 / span 3; grid-row: 2; }

/* ---------- Pitch: price ---------- */
.price { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; padding: var(--gap) var(--m); background: var(--night); color: var(--paper-ink); }
.price-text { grid-column: 1 / span 4; }
.price-text h2 { font-size: var(--s-head); margin-bottom: 20px; }
.price-card { grid-column: 6 / span 7; background: var(--forest); }
.price-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding: 32px 36px; }
.price-row + .price-row { background: var(--deep); }
.price-row h3 { font-size: clamp(22px, 1.8vw, 26px); margin-bottom: 8px; }
.price-row p { max-width: 36ch; }
.price-amt { flex: none; font-size: clamp(32px, 3.4vw, 52px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.price-amt s { color: var(--paper-muted); font-size: 0.5em; font-weight: 500; text-decoration-thickness: 3px; text-decoration-color: var(--accent); }
.price-amt span { color: var(--accent); }
.price-tag { display: inline-block; margin-top: 14px; padding: 6px 12px; background: var(--accent); color: var(--deep); font-weight: 600; font-size: var(--s-small); }
.price-total { display: flex; justify-content: space-between; align-items: baseline; padding: 28px 36px; background: var(--accent); color: var(--deep); }
.price-total span { font-size: var(--s-lead); font-weight: 600; }
.price-total strong { font-size: clamp(40px, 4.4vw, 68px); letter-spacing: -0.045em; line-height: 1; }
.pitch-note a { color: var(--accent); }

.price-row { display: grid; grid-template-columns: 1fr auto; column-gap: 32px; row-gap: 12px; align-items: start; }
.price-row > div { grid-row: 1 / span 2; }
.price-row .price-tag { grid-column: 2; justify-self: end; margin-top: 0; }

/* Pitch: a tour of the rebuilt pages */
.tour { padding: var(--gap) var(--m); background: var(--deep); color: var(--paper-ink); }
.tour-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: 56px; }
.tour-head h2 { grid-column: 1 / span 6; font-size: var(--s-head); }
.tour-head p { grid-column: 8 / span 5; }
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tour-item { display: block; text-decoration: none; color: var(--paper-ink); }
.tour-item .browser { transition: transform 400ms var(--ease-out); }
.tour-item .browser-bar { height: 32px; }
.tour-item .browser-bar i { width: 9px; height: 9px; }
.tour-item .browser-bar span { font-size: 13px; padding: 3px 10px; }
.tour-item p { margin-top: 14px; font-weight: 600; font-size: var(--s-lead); }
@media (hover: hover) and (pointer: fine) { .tour-item:hover .browser { transform: translateY(-8px); } .tour-item:hover p { color: var(--accent); } }
.cmp-label { top: auto; bottom: 14px; }
.compare-sec.is-missing { display: none; }

.compare-desktop { aspect-ratio: 1407 / 666; }
.compare-mobile { aspect-ratio: 393 / 656; width: min(393px, 100%); }

/* =========================================================
   Stages: pinned while you scroll; each stage opens like blinds
   ========================================================= */
.stages { padding-bottom: 0; }
.stages-pin { padding-top: 24px; }
@media (min-width: 761px) {
  .stages { padding-bottom: 0; }
  .stages-pin { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: center; padding: 72px 0 24px; }
  .stages-intro { margin-bottom: 36px; }
  .accordion { height: min(60vh, 560px); }
}
.stages-hint { margin-top: 16px; font-size: var(--s-small); color: var(--muted); transition: opacity 300ms ease; }
.stages.is-done .stages-hint { opacity: 0; }
.stage-tab { transition: color 300ms ease; }
.stage-photo { overflow: hidden; }
.stage-photo img { transform: scale(1.08); transition: transform 1200ms var(--ease-out); }
.stage.is-open .stage-photo img { transform: scale(1); }
.blinds { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(7, 1fr); pointer-events: none; }
.slat { display: block; background: var(--tone); transform-origin: top; transform: scaleY(1.02); }
.stage.is-open .slat { transform: scaleY(0); transition: transform 650ms var(--ease-in-out); transition-delay: calc(140ms + var(--s) * 55ms); }
.stage-photo-mark img { transform: rotate(-90deg) scale(0.9); transition: transform 1400ms var(--ease-out); }
.stage.is-open .stage-photo-mark img { transform: rotate(0deg) scale(1); }

/* Rhythm chart: bars answer the pointer */
.rb { transition: transform 380ms var(--ease-out); }
.rhythm-chart { cursor: default; }

/* =========================================================
   Pitch price: spray paint and highlighter
   ========================================================= */
.fx-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.price-card { position: relative; background: #13261f; }
.price-row { background: transparent !important; }
.price-row + .price-row { border-top: 0; }
.price-amt { display: flex; align-items: center; flex-wrap: wrap; gap: 0.3em; }
.price-amt .amt { color: var(--paper-ink); }
.strike { position: relative; display: inline-block; }
.strike s { text-decoration: none; color: var(--paper-muted); font-size: 0.5em; font-weight: 500; letter-spacing: -0.02em; }
.strike-x s { font-size: 0.62em; }
.strike svg { position: absolute; left: -12%; top: 0; width: 124%; height: 100%; overflow: visible; }
.strike path { fill: none; stroke: #ff3d6e; stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: url(#spray); stroke-dasharray: 100; stroke-dashoffset: 0; }
.hl { position: relative; z-index: 0; display: inline-block; padding: 0 0.16em; color: var(--deep) !important; }
.hl::before { content: ""; position: absolute; z-index: -1; inset: 0.06em -0.1em 0 -0.08em; background: var(--hl); border-radius: 4px 18px 6px 14px; transform: rotate(-2.2deg) skewX(-8deg); filter: url(#rough); }
.hl-yellow { --hl: #ffe14d; }
.hl-lime { --hl: #c6f24e; }
.hl-orange { --hl: #ff9a3d; }
.sticker { grid-column: 2; justify-self: end; position: relative; z-index: 0; padding: 10px 18px; color: #2a0a1a; font-weight: 700; font-size: var(--s-small); transform: rotate(-5deg); }
.sticker::before { content: ""; position: absolute; z-index: -1; inset: 0; background: #ff6fb0; border-radius: 6px 3px 7px 4px; filter: url(#rough); }
.price-total { background: transparent; color: var(--paper-ink); padding-top: 36px; padding-bottom: 40px; }
.price-total span { color: var(--paper-ink); }
.price-total strong { font-size: clamp(44px, 5vw, 80px); }
.rb { height: calc(var(--h) * var(--g, 1)); transform: none !important; transition: height 380ms var(--ease-out); }
@media (min-width: 761px) {
  .stages { height: calc(100svh + 4 * 38svh); }
  .stages-pin { height: 100svh; }
}
.hl { color: var(--paper-ink) !important; transition: color 300ms ease var(--hd, 600ms); }
.price.in .hl { color: var(--deep) !important; }
.sticker { color: var(--paper-ink); transition: color 200ms ease 1300ms; }
.price.in .sticker { color: #2a0a1a; }
/* A solid colour sits under each highlighter stroke, so the dark text is always readable */
.hl { background-clip: content-box; transition: color 250ms ease calc(var(--hd, 600ms) + 300ms), background-color 0ms linear calc(var(--hd, 600ms) + 300ms); }
.hl::before { inset: -0.04em -0.1em -0.02em -0.08em; }
.price.in .hl { background-color: var(--hl); }
.sticker { background-color: transparent; transition: color 200ms ease 1300ms, background-color 0ms linear 1300ms; }
.sticker::before { inset: -3px; }
.price.in .sticker { background-color: #ff6fb0; }

/* Bar chart entrance: each bar springs up in turn, then the idle breath begins */
.rhythm-chart.is-waiting .rb { transition: none; }
.rhythm-chart.is-growing .rb { transition: height 900ms cubic-bezier(0.34, 1.45, 0.64, 1); transition-delay: calc(var(--i) * 70ms); }
.rhythm-chart.is-waiting .rb, .rhythm-chart.is-growing .rb { animation-play-state: paused; }
.rhythm-labels span { transition: opacity 500ms ease, transform 600ms var(--ease-out); }
.rhythm:has(.rhythm-chart.is-waiting) .rhythm-labels span { opacity: 0; transform: translateY(12px); }
.rhythm-labels span:nth-child(2) { transition-delay: 500ms; }
.rhythm-labels span:nth-child(3) { transition-delay: 1000ms; }
/* Bars start as round dots and grow into bars */
.rhythm-chart { container-type: inline-size; }
.rb { min-height: calc((100cqw - 15 * clamp(8px, 1.4vw, 22px)) / 16); }
@media (max-width: 760px) { .rb { min-height: calc((100cqw - 60px) / 16); } }

.compare-desktop { aspect-ratio: 1405 / 658; }
.cmp-tab[hidden] { display: none; }
.compare-tabs[hidden] { display: none; }

/* Family and friends discount, spelled out */
.price-row .sticker { grid-column: 2; }
.sticker-2 { transform: rotate(3deg); }
.sticker-2::before { background: #c6f24e; }
.price.in .sticker-2 { background-color: #c6f24e; color: #12210a; }
.discount { padding: 28px 36px 32px; background: #1c3a2e; }
.discount h3 { display: flex; align-items: center; gap: 12px; font-size: clamp(22px, 1.8vw, 26px); margin-bottom: 16px; color: var(--paper-ink); }
.discount h3::before { content: ""; width: 10px; height: 1.1em; border-radius: 999px; background: #ff6fb0; }
.discount ul { display: grid; gap: 10px; }
.discount li { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; color: var(--paper-ink); }
.discount b { flex: none; color: #ff8fc2; font-weight: 700; }
.savings { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 4px 36px 36px; }
.savings-tag { position: relative; z-index: 0; padding: 12px 22px; color: #2a0a1a; font-weight: 700; font-size: var(--s-lead); transform: rotate(-3deg); background-color: #ff6fb0; }
.savings-tag::before { content: ""; position: absolute; z-index: -1; inset: -3px; background: #ff6fb0; border-radius: 6px 3px 7px 4px; filter: url(#rough); }
.savings-tag b { font-size: 1.3em; letter-spacing: -0.02em; }
.savings-note { max-width: 34ch; font-size: var(--s-small); color: var(--paper-muted); text-align: right; }
.savings-tag { width: max-content; max-width: 100%; white-space: nowrap; padding: 10px 20px; line-height: 1.2; }
@media (max-width: 760px) { .savings-tag { white-space: normal; } }
.price-amt { position: relative; z-index: 2; }
.price-row .sticker { margin-top: 10px; z-index: 1; }
.discount { margin-top: 0; }

/* Pitch: the 20-minute walkthrough */
.walk { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; padding: var(--gap) var(--m); background: var(--surface); }
.walk-head { grid-column: 1 / span 5; }
.walk-head h2 { font-size: var(--s-head); margin-bottom: 24px; }
.walk-head p + p { margin-top: 14px; }
.walk-head .button { margin-top: 32px; }
.walk-list { grid-column: 7 / span 6; display: grid; gap: 14px; }
.walk-list li { display: grid; grid-template-columns: 12px 1fr; column-gap: 22px; padding: 26px 28px; background: var(--bg); transition: transform 300ms var(--ease-out); }
.walk-list li::before { content: ""; grid-row: 1 / span 2; width: 12px; border-radius: 999px; background: var(--bar); }
.walk-list h3 { font-size: clamp(22px, 1.8vw, 26px); margin-bottom: 6px; }
@media (hover: hover) and (pointer: fine) { .walk-list li:hover { transform: translateX(8px); } }
.walk-note { margin-top: 12px; font-size: var(--s-small); color: var(--muted); }
/* Nothing may push a page wider than the screen (clip keeps sticky sections working) */
html, body { overflow-x: clip; }
.about-home { overflow-x: clip; }
.cmp-under { display: none; }
.compare-handle::after { content: none !important; display: none !important; }
