/* ═══════════════════════════════════════════════════════════
   NOKTA — portfolio
   Angled screenshots on tinted paper. Depth, weight, warmth.
   Display: Bricolage Grotesque · Text: Inter Tight
   ═══════════════════════════════════════════════════════════ */

/* ── palette ───────────────────────────────────────────────
   Swap this block to reskin the whole site.                  */
:root {
  --bg:      #e9dfd2;   /* sand */
  --bg-2:    #f2ebe1;   /* lighter band */
  --frame:   #fffdfa;   /* photo frame / cards */
  --ink:     #1c1714;
  --ink-2:   #5f544c;
  --ink-3:   #948779;
  --accent:  #dc4a1e;   /* hot rust - display type, rules, glyphs (3:1 is enough) */
  --accent-text: #b13c18;  /* small bold TEXT on sand: 4.52:1 */
  --accent-solid: #d2471d; /* behind white text: 4.5:1 */
  --ink-3-text: #6d6257;   /* muted running TEXT: 4.51:1 (--ink-3 is 2.66:1) */
  --accent-2:#1f5e57;   /* deep petrol, used sparingly */
  --line:    rgba(28,23,20,.14);
  --line-2:  rgba(28,23,20,.07);
  --shadow:  0 30px 60px -24px rgba(40,28,18,.45);
  --shadow-lg: 0 44px 80px -28px rgba(40,28,18,.5);

  --wrap: 1180px;
  --pad: 30px;
  --ease: cubic-bezier(.2,.7,.3,1);
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: only light;   /* the palette is fixed; don't let browsers auto-invert it */
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; }

h1, h2, h3, .display {
  font-family: 'Bricolage Grotesque', 'Inter Tight', sans-serif;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .98;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-3-text);
}
.accent { color: var(--accent); }

/* ── header ────────────────────────────────────────────────── */

.top {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border-bottom: 1px solid var(--line-2);
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }

.logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.045em;
  margin-right: auto;
}
.logo span { color: var(--accent); }

.top nav { display: flex; gap: 24px; }
.top nav a { font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .2s var(--ease); }
.top nav a:hover, .top nav a.on { color: var(--ink); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  padding: 8px 15px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--bg);
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: #67d99a; flex: none; }

/* ── the angled photo frame ────────────────────────────────── */

.shot {
  display: block;          /* used on <figure> and on <span> inside .fig */
  margin: 0;
  background: var(--frame);
  padding: 9px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transform: rotate(var(--rot, 0deg));
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.shot img { border-radius: 5px; }
a.shot:hover, .feat:hover .shot--main { transform: rotate(0deg) translateY(-6px) scale(1.012); box-shadow: var(--shadow-lg); }

/* ── hero ──────────────────────────────────────────────────── */

.hero { padding: 76px 0 90px; }
.hero__in {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 56px;
  align-items: center;
}
.hero .label { display: block; margin-bottom: 22px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 72px); }
.hero__sub { margin-top: 24px; color: var(--ink-2); font-size: 17px; max-width: 42ch; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--bg);
  font-size: 15px; font-weight: 600;
  border: 1px solid var(--ink);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* project-page hero: intro left, meta table right */
.hero__grid {
  margin-top: 32px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 52px;
  align-items: start;
}
.hero--doc { padding-bottom: 30px; }   /* project pages: the meta table already carries the height */
.hero__grid p { color: var(--ink-2); font-size: 19px; max-width: 44ch; }
.hero__grid .btn { margin-top: 26px; }
.hero__grid p strong { color: var(--ink); font-weight: 700; }

/* the overlapping composition */
.stage { position: relative; padding-top: 92%; }
.stage .shot { position: absolute; }
.stage .s1 { --rot: -5deg; width: 80%; left: 0; top: 10%; z-index: 2; }
.stage .s2 { --rot: 4.5deg; width: 58%; right: 1%; top: 47%; z-index: 3; }
.stage .s3 { --rot: 7deg; width: 44%; right: 3%; top: 0; z-index: 1; }

/* ── sections ──────────────────────────────────────────────── */

.sec { padding: 84px 0; }
.sec--line { border-top: 1px solid var(--line); }
.sec--band { background: var(--bg-2); }
.sec--lead { padding-top: 44px; padding-bottom: 24px; }   /* lead figure sits close to the text around it */
section[id] { scroll-margin-top: 64px; }

.sec__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; margin-bottom: 44px;
}
.sec__head h2 { font-size: clamp(30px, 4vw, 46px); }

/* ── project features ──────────────────────────────────────── */

.feats { display: flex; flex-direction: column; gap: 96px; }

.feat { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.feat--flip .feat__stage { order: -1; }

.feat__stage { position: relative; padding-top: 74%; }
.feat__stage .shot { position: absolute; }
.feat__stage .shot--main { --rot: -3.5deg; width: 88%; left: 0; top: 0; z-index: 2; }
.feat__stage .shot--sub  { --rot: 5deg; width: 52%; right: 0; bottom: 0; z-index: 3; }
.feat--flip .feat__stage .shot--main { --rot: 3.5deg; left: auto; right: 0; }
.feat--flip .feat__stage .shot--sub { --rot: -5deg; right: auto; left: 0; }

.feat__no { font-size: 13px; font-weight: 700; color: var(--accent-text); letter-spacing: .04em; }
.feat h3 { margin: 12px 0 0; font-size: clamp(30px, 3.8vw, 46px); }
.feat__kind { margin-top: 12px; font-size: 14px; color: var(--ink-3-text); font-weight: 500; }
.feat__desc { margin-top: 18px; color: var(--ink-2); max-width: 44ch; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.chips li {
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  padding: 6px 12px; border-radius: 100px;
}

.link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 26px;
  font-size: 15px; font-weight: 700;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.link:hover { color: var(--accent); gap: 13px; }

/* ── trio ──────────────────────────────────────────────────── */

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trio > li {
  background: var(--frame);
  border-radius: 16px;
  padding: 26px 24px 28px;
  box-shadow: 0 16px 34px -26px rgba(40,28,18,.5);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.trio > li:hover { transform: translateY(-4px); box-shadow: 0 26px 48px -28px rgba(40,28,18,.55); }
.trio b { font-size: 13px; font-weight: 700; color: var(--accent-text); }
.trio h3 { margin: 14px 0 10px; font-size: 22px; letter-spacing: -.035em; }
.trio p { color: var(--ink-2); font-size: 15px; }

/* ── numbered ──────────────────────────────────────────────── */

.numbered li {
  display: grid; grid-template-columns: 46px 1fr; gap: 2px 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line-2);
}
.numbered li:first-child { padding-top: 2px; }
.numbered b { font-size: 13px; font-weight: 700; color: var(--accent-text); padding-top: 6px; }
.numbered h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -.035em; line-height: 1.25; }
.numbered p { grid-column: 2; color: var(--ink-2); font-size: 15.5px; margin-top: 3px; }

/* ── editorial columns ─────────────────────────────────────── */

.cols { display: grid; grid-template-columns: 190px 1fr; gap: 40px; padding: 36px 0; border-top: 1px solid var(--line); }
.cols > h2 { font-size: 15px; font-weight: 700; letter-spacing: -.02em; color: var(--ink-3-text); padding-top: 4px; }
.cols__body { max-width: 60ch; }
.cols__body p { color: var(--ink-2); }
.cols__body p + p { margin-top: 14px; }
.cols__body strong { color: var(--ink); font-weight: 700; }
.cols__body em { font-style: italic; color: var(--ink); }

/* ── project page meta ─────────────────────────────────────── */

.pmeta { border-top: 1px solid var(--line); }
.pmeta div {
  display: grid; grid-template-columns: 130px 1fr; gap: 18px;
  padding: 11px 0; border-bottom: 1px solid var(--line-2);
  font-size: 14px;
}
.pmeta div > span:first-child { color: var(--ink-3-text); }
.pmeta div > span:last-child { font-weight: 600; }
.pmeta a { border-bottom: 2px solid var(--accent); padding-bottom: 1px; }
.pmeta a:hover { color: var(--accent); }

/* ── figures ───────────────────────────────────────────────── */

.fig { margin: 0; }
.fig .shot { --rot: 0deg; }
.fig figcaption { margin-top: 14px; font-size: 13.5px; color: var(--ink-3-text); display: flex; gap: 9px; }
.fig figcaption b { color: var(--accent); font-weight: 700; flex: none; }

.figs2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.figs2 .fig:first-child .shot { --rot: -2deg; }
.figs2 .fig:last-child .shot { --rot: 2deg; }

/* ── testimonial ───────────────────────────────────────────── */

.quote {
  position: relative; margin: 0;
  background: var(--frame);
  border-radius: 16px;
  border-left: 4px solid var(--accent);
  padding: 32px 34px 28px;
  box-shadow: 0 18px 40px -30px rgba(40,28,18,.5);
}
.quote__tag {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text);
  background: color-mix(in srgb, var(--accent-text) 12%, transparent);
  padding: 4px 9px; border-radius: 4px; margin-bottom: 16px;
}
.quote blockquote {
  margin: 0;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(19px, 2.1vw, 25px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -.035em;
}
.quote figcaption { margin-top: 16px; font-size: 14px; color: var(--ink-3-text); font-weight: 600; }
.quote--empty blockquote { color: var(--ink-3); }

/* ── pager ─────────────────────────────────────────────────── */

.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pager a { padding: 26px 0; transition: color .2s var(--ease); }
.pager a:hover { color: var(--accent); }
.pager a + a { text-align: right; border-left: 1px solid var(--line-2); padding-left: 30px; }
.pager span { display: block; font-size: 13px; color: var(--ink-3-text); margin-bottom: 8px; }
.pager b { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.04em; }

/* ── contact ───────────────────────────────────────────────── */

.contact { background: var(--ink); color: var(--bg); padding: 92px 0 86px; }
.contact h2 { font-size: clamp(38px, 6.4vw, 82px); }
.contact h2 .accent { color: var(--accent); }
.contact__row {
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid rgba(233,223,210,.18);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center;
}
.contact__row p { color: rgba(233,223,210,.66); max-width: 46ch; }
.mail {
  display: inline-flex; align-items: center; gap: 10px;
  justify-self: start;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(17px, 2.1vw, 24px); font-weight: 700; letter-spacing: -.035em;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 6px;
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.mail:hover { color: var(--accent); gap: 16px; }
.contact .note { margin-top: 30px; font-size: 14px; color: rgba(233,223,210,.62); }

/* ── footer ────────────────────────────────────────────────── */

.foot { background: var(--ink); color: rgba(233,223,210,.62); padding: 22px 0; border-top: 1px solid rgba(233,223,210,.12); }
.foot .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13px; }

/* ── responsive ────────────────────────────────────────────── */

@media (max-width: 1000px) {
  .hero__in, .hero__grid, .feat { grid-template-columns: 1fr; gap: 44px; }
  .feat--flip .feat__stage { order: 0; }
  .feats { gap: 64px; }
  .stage { padding-top: 86%; }
  .trio { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; gap: 14px; }
  .figs2 { grid-template-columns: 1fr; gap: 34px; }
  .contact__row { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 720px) {
  :root { --pad: 20px; }
  .top .wrap > nav { display: none; }   /* the desktop nav only - not the menu panel, which is also a <nav> */
  .hero { padding: 46px 0 62px; }
  .sec { padding: 58px 0; }

  /* stacks unwind: no absolute positioning, gentler tilt */
  .stage, .feat__stage { padding-top: 0; display: flex; flex-direction: column; gap: 22px; }
  .stage .shot, .feat__stage .shot {
    position: static; width: 100% !important;
    left: auto; right: auto; top: auto; bottom: auto;
  }
  .stage .s1, .feat__stage .shot--main { --rot: -1.5deg; }
  .stage .s2, .feat__stage .shot--sub { --rot: 1.5deg; }
  .stage .s3 { display: none; }

  .pager { grid-template-columns: 1fr; }
  .pager a + a { text-align: left; border-left: 0; border-top: 1px solid var(--line-2); padding-left: 0; }
  .quote { padding: 28px 22px 24px; }
  .contact { padding: 66px 0 60px; }

  /* 16px stops iOS Safari zooming on focus */
  .field input, .field select, .field textarea { font-size: 16px; }
  /* heading and its label interleaved into two ragged columns */
  .sec__head, .after__head { flex-direction: column; align-items: flex-start; gap: 6px; }
  /* the stack is flattened at this width, so the hint is a lie */
  .hover-hint { display: none; }
  /* 12px text with no padding is well under the 24px minimum target */
  .hero .label a { display: inline-block; padding: 12px 6px; margin: -12px -6px; }
  .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; }
  .shot { transform: none; }
}

/* ── pricing ───────────────────────────────────────────────── */

.sec__lead { color: var(--ink-2); max-width: 58ch; margin: -18px 0 34px; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tiers > li {
  position: relative;
  background: var(--frame);
  border-radius: 16px;
  padding: 28px 26px 30px;
  box-shadow: 0 16px 34px -26px rgba(40,28,18,.5);
  display: flex; flex-direction: column;
}
.tiers > li.is-featured { outline: 2px solid var(--accent); outline-offset: -2px; }
.tier__flag {
  position: absolute; top: -11px; left: 26px;
  background: var(--accent-solid); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
}
.tier__name { font-size: 13px; font-weight: 700; color: var(--accent-text); letter-spacing: .04em; }
.tier__price {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; letter-spacing: -.04em;
  font-size: 34px; line-height: 1.05;
  margin: 12px 0 2px;
}
.tier__price small { font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.tier__tag {
  display: inline-block;
  font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 3px 7px; border-radius: 4px; margin-bottom: 12px;
}
.tiers p { color: var(--ink-2); font-size: 15px; margin-bottom: 16px; }
.ticks { margin-top: auto; }
.ticks li {
  font-size: 14px; color: var(--ink-2);
  padding: 7px 0 7px 22px; position: relative;
  border-top: 1px solid var(--line-2);
}
.ticks li::before {
  content: '→'; position: absolute; left: 0; top: 7px;
  color: var(--accent); font-size: 13px;
}
.pricenote {
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line);
  color: var(--ink-2); font-size: 15px;   /* was ink-3: 2.66:1, under AA */
}
.pricenote > span { display: block; max-width: 70ch; }   /* rule spans, text does not */

/* ── contact form (on the ink band) ────────────────────────── */

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; color: rgba(233,223,210,.7); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px;
  color: var(--bg);
  background: rgba(233,223,210,.06);
  border: 1px solid rgba(233,223,210,.2);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(233,223,210,.1);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(233,223,210,.58); }
.field select {
  appearance: none; cursor: pointer;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e9dfd2' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form--light .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235f544c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.field select option { background: var(--ink); color: var(--bg); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__send {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 30px; border-radius: 100px;
  background: var(--accent-solid); color: #fff;
  font-size: 15px; font-weight: 700; font-family: inherit;
  border: 0; cursor: pointer;
  transition: transform .25s var(--ease), filter .25s;
}
.form__send:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.08); }
.form__send:disabled { opacity: .6; cursor: default; }
.form__row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__msg { font-size: 14px; color: rgba(233,223,210,.7); }
.form__msg.ok { color: #67d99a; }
.form__msg.err { color: #ff9478; }
.form__alt { font-size: 14px; color: rgba(233,223,210,.66); margin-top: 18px; }
.form__alt a { border-bottom: 1px solid rgba(233,223,210,.3); }
.form__alt a:hover { color: var(--accent); border-bottom-color: var(--accent); }

@media (max-width: 1000px) { .tiers { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .form { grid-template-columns: 1fr; }
  .form__send { width: 100%; }
}

/* ── after launch: recurring plans + add-ons ───────────────── */

.after { margin-top: 26px; }
.after__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 18px; margin-bottom: 16px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.after__head h3 { font-size: 22px; letter-spacing: -.035em; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan {
  background: var(--frame);
  border-radius: 16px;
  padding: 24px 26px 26px;
  box-shadow: 0 16px 34px -26px rgba(40,28,18,.5);
}
.plan--dark { background: var(--ink); color: var(--bg); box-shadow: none; }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan__name { font-size: 13px; font-weight: 700; color: var(--accent-text); letter-spacing: .04em; }
.plan__req {
  font-size: 10.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; white-space: nowrap;
}
.plan__req--yes { background: var(--accent-solid); color: #fff; }
.plan__req--no  { border: 1px solid rgba(233,223,210,.28); color: rgba(233,223,210,.62); }
.plan__price {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; letter-spacing: -.04em;
  font-size: 30px; line-height: 1.05;
  margin: 10px 0 4px;
}
.plan__price small { font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.plan--dark .plan__price small { color: rgba(233,223,210,.66); }
.plan > p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 14px; }
.plan--dark > p { color: rgba(233,223,210,.65); }
.plan--dark .ticks li { color: rgba(233,223,210,.85); border-top-color: rgba(233,223,210,.14); }

.addon {
  margin-top: 16px;
  display: grid; grid-template-columns: minmax(160px, auto) 1fr auto;
  gap: 26px; align-items: center;
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 18px 26px;
}
.addon b { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 18px; letter-spacing: -.035em; display: block; }
.addon span { font-size: 12.5px; color: var(--ink-3-text); }
.addon p { font-size: 14.5px; color: var(--ink-2); }
.addon__price {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 26px; letter-spacing: -.04em;
  white-space: nowrap;
}

@media (max-width: 800px) {
  .plans { grid-template-columns: 1fr; }
  .addon { grid-template-columns: 1fr; gap: 12px; padding: 20px 22px; }
}

/* ── homepage pull quote ───────────────────────────────────── */

.quote--lead { padding: 38px 42px 34px; }
.quote--lead blockquote { font-size: clamp(21px, 2.5vw, 29px); line-height: 1.28; }
.quote--lead figcaption { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.quote--lead figcaption a {
  font-weight: 700; color: var(--ink);
  border-bottom: 2px solid var(--accent); padding-bottom: 2px;
  transition: color .2s var(--ease);
}
.quote--lead figcaption a:hover { color: var(--accent); }

@media (max-width: 720px) { .quote--lead { padding: 28px 22px 24px; } }

/* ── testimonial page ──────────────────────────────────────── */

.tm { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.tm__h { font-size: 21px; letter-spacing: -.035em; margin-bottom: 16px; }
.tm__prompts li {
  font-size: 15.5px; color: var(--ink-2);
  padding: 11px 0 11px 22px; position: relative;
  border-bottom: 1px solid var(--line-2);
}
.tm__prompts li::before { content: '?'; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }
.tm__prompts b { color: var(--ink); font-weight: 700; }
.tm__note { margin-top: 18px; font-size: 14.5px; color: var(--ink-3-text); }

/* the shared form, restyled for a light background */
.form--light .field label { color: var(--ink-2); }
.form--light .field input,
.form--light .field select,
.form--light .field textarea {
  color: var(--ink);
  background: var(--frame);
  border-color: var(--line);
}
.form--light .field input::placeholder,
.form--light .field textarea::placeholder { color: var(--ink-3); }
.form--light .field input:focus,
.form--light .field select:focus,
.form--light .field textarea:focus { background: #fff; border-color: var(--accent); }
.form--light .form__msg { color: var(--ink-2); }
.form--light .form__msg.ok { color: #1f7a4d; }
.form--light .form__msg.err { color: var(--accent); }

.check {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  background: var(--frame);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  cursor: pointer;
}
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin-top: 2px; cursor: pointer; }
.check span { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.check b { color: var(--ink); font-weight: 700; display: block; margin-bottom: 2px; }

@media (max-width: 900px) {
  .tm { grid-template-columns: 1fr; gap: 34px; }
}

/* ── testimonial stack ─────────────────────────────────────────
   Full-width cards fanned like paint swatches: each one overlaps
   the last, leaving its top edge showing. Hovering (or tabbing to)
   a card lifts it clear of the others so it can be read.          */

.stack { position: relative; padding-bottom: 12px; }

.stack .quote--lead {
  position: relative;
  padding: 26px 34px 24px;
  margin-top: -100px;                /* fallback; script.js recomputes so exactly the attribution peeks */
  margin-left: var(--nudge, 0px);    /* slight side offset so the edges read as a stack */
  transform: rotate(var(--rot, 0deg));
  transform-origin: 50% 100%;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), margin .4s var(--ease);
  will-change: transform;
}
.stack .quote--lead:first-child { margin-top: 0; }

/* earlier cards paint ON TOP, so each card below peeks out by its
   bottom edge - the attribution - and no quote ever runs into
   someone else's name. */
.stack .quote--lead:nth-child(1) { --rot: -1deg;  --nudge: 0px;  z-index: 4; }
.stack .quote--lead:nth-child(2) { --rot: .8deg;  --nudge: 22px; z-index: 3; }
.stack .quote--lead:nth-child(3) { --rot: -.5deg; --nudge: 44px; z-index: 2; }

.stack .quote--lead blockquote { font-size: clamp(19px, 2vw, 24px); line-height: 1.34; }

/* the selected swatch: straighten, lift, and paint above the rest */
.stack .quote--lead:hover,
.stack .quote--lead:focus-within {
  z-index: 9;
  transform: rotate(0deg) translateY(-14px) scale(1.008);
  box-shadow: 0 34px 60px -26px rgba(40,28,18,.55);
}

/* no hover on touch, and no room to fan - lay them out plainly */
@media (max-width: 900px), (hover: none) {
  .stack .quote--lead {
    margin-top: 16px;
    margin-left: 0;
    transform: none;
  }
  .stack .quote--lead:first-child { margin-top: 0; }
  .stack .quote--lead:hover,
  .stack .quote--lead:focus-within { transform: none; }
}

/* ── call to action inside the pricing cards ───────────────── */

.tier__cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-size: 14.5px; font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.tier__cta:hover { color: var(--accent); gap: 13px; }
.addon .tier__cta { margin-top: 6px; font-size: 13.5px; }

/* ── mobile menu ───────────────────────────────────────────────
   A <details> disclosure: opens with no JavaScript, closes with
   Escape for free, and is keyboard operable by default.          */

.menu { display: none; margin-left: auto; position: relative; }

.menu summary {
  list-style: none;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  padding: 9px 16px; border-radius: 100px;
  background: var(--ink); color: var(--bg);
  cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after {
  content: ''; width: 9px; height: 9px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s var(--ease);
}
.menu[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }

.menu__panel {
  position: absolute; right: 0; top: calc(100% + 12px);
  min-width: 210px;
  display: flex; flex-direction: column;

  background: var(--frame);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 24px 48px -24px rgba(40,28,18,.5);
}
.top .menu__panel { gap: 2px; }   /* beats .top nav gap:24px on specificity */
.menu__panel a {
  padding: 12px 14px;          /* comfortable tap target */
  border-radius: 9px;
  font-size: 15.5px; font-weight: 600;
  color: var(--ink);
}
.menu__panel a:hover, .menu__panel a:focus-visible { background: var(--bg-2); color: var(--accent); }

@media (max-width: 720px) {
  .menu { display: block; }
}
