/* =========================================================
   Kreative Writes — "the draft"
   A writer's notepad in the brand colours: navy ink (logo),
   lime highlighter (the pen nib), royal-blue pen notes.
   Type: Fraunces (display) · Figtree (text) · Caveat (notes)
   ========================================================= */

:root {
  /* Brand colours, sampled from the Kreative Writes logo */
  --paper: #f8faf0;      /* page background */
  --paper-2: #e8f2c4;    /* light lime tint */
  --card: #ffffff;
  --ink: #1f2f6d;        /* logo navy: text, buttons, dark bands */
  --ink-soft: #545f8a;
  --pen: #1149a8;        /* royal blue: handwritten notes */
  --pink: #9cc23a;       /* lime (nib): lines, button shadows */
  --pink-soft: #d6eb84;  /* lime highlighter */
  --leaf: #1f8a6a;
  --rule: rgba(17, 73, 168, .10);
  --line: rgba(31, 47, 109, .14);

  --display: "Fraunces", Georgia, serif;
  --text: "Figtree", "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--pink); }
:focus-visible { outline: 3px solid var(--pen); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 .4em;
}
h1 { font-size: clamp(3rem, 9vw, 7rem); }
h2 { font-size: clamp(2.1rem, 5.2vw, 3.8rem); }
h3 { font-size: 1.6rem; letter-spacing: -0.015em; line-height: 1.1; }
p { margin: 0 0 1em; max-width: 60ch; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Handwritten margin notes */
.note { font-family: var(--hand); font-weight: 600; color: var(--pen); font-size: 1.55rem; line-height: 1.1; display: inline-block; }
.note svg { stroke: var(--pen); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* The one highlighter + edits */
.hl { background: linear-gradient(104deg, transparent 0 2%, var(--pink-soft) 3% 96%, transparent 97%); padding: 0 .08em; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
del { text-decoration: none; position: relative; color: var(--ink-soft); }
del::after { content: ""; position: absolute; left: -2%; right: -2%; top: 52%; height: .09em; background: var(--pink); border-radius: 4px; transform: rotate(-4deg); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 1rem; color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline wavy var(--pink); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; font: 600 .95rem var(--text); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 700 1.02rem var(--text); padding: 14px 24px; border-radius: 999px; border: 2px solid var(--ink); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--pink); }
.btn-primary:hover { color: var(--paper); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--pink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--card); color: var(--ink); }
.nav .btn { padding: 9px 18px; box-shadow: 3px 3px 0 var(--pink); }
.nav .btn-primary, .nav .btn-primary:hover { color: var(--paper); }

/* ---------- Hero: a page of the legal pad ---------- */
.hero {
  position: relative; overflow: hidden;
  background-image: repeating-linear-gradient(to bottom, transparent 0 43px, var(--rule) 43px 44px);
  border-bottom: 2px solid var(--ink);
}
.hero::before { content: ""; position: absolute; top: 0; bottom: 0; left: max(12px, calc((100% - var(--wrap)) / 2 - 22px)); width: 2px; background: var(--pink); opacity: .55; }
.hero .wrap { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: center; padding-block: clamp(56px, 9vw, 120px) clamp(64px, 9vw, 110px); }
.hero h1 { margin-bottom: .32em; }
.hero .lede { font-size: clamp(1.15rem, 2vw, 1.35rem); max-width: 34ch; color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero .note-drafts { margin: -6px 0 18px 4px; transform: rotate(-2deg); }

/* Polaroid of the writer */
.polaroid { position: relative; background: #fff; padding: 14px 14px 18px; box-shadow: 0 18px 40px -18px rgba(31,47,109,.45); transform: rotate(3deg); width: min(100%, 300px); justify-self: center; }
.polaroid .photo { aspect-ratio: 4 / 5; background: var(--paper-2); position: relative; overflow: hidden; display: grid; place-items: center; }
.polaroid .photo img { width: 100%; height: 100%; object-fit: cover; }
.polaroid figcaption { font-family: var(--hand); font-weight: 600; font-size: 1.45rem; color: var(--ink); text-align: center; margin-top: 10px; line-height: 1.1; }
.tape { position: absolute; width: 96px; height: 28px; background: rgba(214, 235, 132, .85); top: -12px; left: 50%; transform: translateX(-50%) rotate(-5deg); }
.hero .note-hi { position: absolute; top: -54px; left: -70px; transform: rotate(-8deg); white-space: nowrap; }
.hero .note-hi svg { width: 64px; height: 40px; margin: 2px 0 0 54px; }

/* ---------- Sections ---------- */
section { padding-block: clamp(72px, 10vw, 128px); }
section.page-hero { padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 72px); }
.kicker { font-family: var(--hand); font-weight: 600; color: var(--pen); font-size: 1.6rem; margin: 0 0 6px; transform: rotate(-1.5deg); display: inline-block; }

/* Manifesto: one sentence, very large */
.manifesto { background: var(--ink); color: var(--paper); text-align: center; }
.manifesto h2 { color: var(--paper); max-width: 18ch; margin: 0 auto; font-size: clamp(2.2rem, 6vw, 4.6rem); }
.manifesto .note { color: var(--pink-soft); margin-top: 22px; transform: rotate(-2deg); }

/* Services: one line each */
.menu { list-style: none; margin: 30px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.menu li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 40px; align-items: baseline; padding: 26px 0; border-bottom: 1px dashed var(--line); }
.menu h3 { margin: 0; font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.menu h3 span { background-image: linear-gradient(var(--pink-soft), var(--pink-soft)); background-size: 0 42%; background-repeat: no-repeat; background-position: 0 85%; transition: background-size .35s ease; }
.menu li:hover h3 span { background-size: 100% 42%; }
.menu p { margin: 0; font-size: 1.2rem; color: var(--ink-soft); }

/* Sticky notes: a real sequence */
.stickies { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 0; margin: 36px 0 0; }
.stickies li { counter-increment: s; padding: 28px 26px 32px; min-height: 210px; box-shadow: 0 14px 24px -16px rgba(31,47,109,.5); }
.stickies li:nth-child(1) { background: #dcef8a; transform: rotate(-2deg); }
.stickies li:nth-child(2) { background: #cfdcff; transform: rotate(1.5deg); }
.stickies li:nth-child(3) { background: #ffffff; transform: rotate(-1deg); }
.stickies li::before { content: counter(s); font-family: var(--hand); font-weight: 700; font-size: 2.4rem; color: var(--pen); line-height: 1; display: block; margin-bottom: 10px; }
.stickies h3 { font-size: 2rem; margin-bottom: 6px; }
.stickies p { margin: 0; font-size: 1.08rem; }

/* Work: polaroid cards */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 36px; }
.work { text-decoration: none; color: inherit; background: #fff; padding: 12px 12px 18px; box-shadow: 0 14px 30px -18px rgba(31,47,109,.5); transition: transform .2s ease; }
.work:nth-child(odd) { transform: rotate(-1.2deg); }
.work:nth-child(even) { transform: rotate(1.2deg); }
.work:hover { transform: rotate(0) translateY(-4px); color: inherit; }
.work-thumb { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px; text-align: center; font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 600; font-size: 1.45rem; line-height: 1.1; }
.work-thumb[data-tone="ink"] { background: var(--ink); color: var(--paper); }
.work-thumb[data-tone="pink"] { background: var(--pink-soft); color: var(--ink); }
.work-thumb[data-tone="leaf"] { background: var(--leaf); color: #fff; }
.work-thumb[data-tone="butter"] { background: var(--paper-2); color: var(--ink); }
.work-thumb[data-tone="pen"] { background: var(--pen); color: #fff; }
.work .tag { font-family: var(--hand); font-weight: 600; font-size: 1.35rem; color: var(--pen); display: block; margin-top: 10px; }
.work p { margin: 0; font-size: .98rem; color: var(--ink-soft); }

/* Video facade */
.yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); cursor: pointer; border: 0; padding: 0; width: 100%; color: var(--paper); border-radius: 6px; }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt .play { position: absolute; inset: 0; display: grid; place-items: center; }
.yt .play span { width: 76px; height: 76px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; }
.yt .play svg { width: 26px; height: 26px; margin-left: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-empty { display: grid; place-items: center; height: 100%; font-family: var(--hand); font-size: 1.8rem; color: var(--pink-soft); }

/* FAQ */
.faq { border-top: 2px solid var(--ink); margin-top: 30px; }
.faq details { border-bottom: 1px dashed var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.6rem); letter-spacing: -0.015em; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--hand); font-size: 2.2rem; line-height: .8; color: var(--pen); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); font-size: 1.12rem; padding-bottom: 14px; }

/* Closing CTA + newsletter */
.closer { text-align: center; }
.closer h2 { max-width: 14ch; margin-inline: auto; }
.closer .hero-ctas { justify-content: center; }
.signup { margin: 64px auto 0; max-width: 640px; background: var(--card); border: 2px solid var(--ink); border-radius: 18px; padding: 28px clamp(20px, 4vw, 36px); text-align: left; box-shadow: 6px 6px 0 var(--ink); }
.signup h3 { font-size: 1.7rem; margin-bottom: 4px; }
.signup p { color: var(--ink-soft); margin-bottom: 16px; }
.field-row { display: flex; gap: 10px; flex-wrap: wrap; }
input, textarea, select { font: 500 1rem var(--text); width: 100%; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--ink); background: #fff; color: var(--ink); }
.field-row input { flex: 1 1 220px; width: auto; }
textarea { min-height: 150px; resize: vertical; }
label { display: block; font-weight: 700; font-size: .98rem; margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-note { font-weight: 600; font-size: .95rem; margin-top: 10px; min-height: 1.4em; }
.hp { position: absolute; left: -5000px; }

/* Inner pages */
.page-hero { background-image: repeating-linear-gradient(to bottom, transparent 0 43px, var(--rule) 43px 44px); border-bottom: 2px solid var(--ink); padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); max-width: 16ch; }
.page-hero p { font-size: 1.25rem; max-width: 44ch; margin: 0; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.answer { background: var(--card); border: 2px solid var(--ink); border-radius: 14px; padding: 18px 22px; margin: 0 0 1.6em; box-shadow: 4px 4px 0 var(--pink); }
.answer p { margin: 0; }
.meta { font-family: var(--hand); font-weight: 600; font-size: 1.35rem; color: var(--pen); margin: 10px 0 0; }
.post-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.post-list li { padding: 28px 0; border-bottom: 1px dashed var(--line); }
.post-list a { text-decoration: none; }
.post-list h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 8px; }
.post-list p { color: var(--ink-soft); margin: 0; }
table { border-collapse: collapse; width: 100%; font-size: .98rem; margin: 0 0 1.6em; background: var(--card); }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--paper-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d5daf0; padding-block: 64px 32px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.site-footer .sign { font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--paper); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 14px; max-width: 14ch; }
.site-footer h2 { font: 700 .95rem var(--text); color: var(--paper); letter-spacing: 0; margin-bottom: 10px; }
.site-footer a { color: #d5daf0; text-decoration: none; }
.site-footer a:hover { color: var(--pink-soft); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(248,250,240,.18); padding-top: 20px; margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .92rem; }
.site-footer .legal .note { color: var(--pink-soft); font-size: 1.35rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .polaroid { width: min(78%, 270px); margin-top: 44px; }
  .hero .note-hi { left: -18px; top: -50px; }
  .menu li { grid-template-columns: 1fr; }
  .stickies, .work-grid { grid-template-columns: 1fr; max-width: 460px; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px var(--gutter) 22px; background: var(--paper); border-bottom: 2px solid var(--ink); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 6px 0; font-size: 1.1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .work, .menu h3 span, .faq summary::after { transition: none; }
}

/* Real photos */
.polaroid .photo img, .snap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.receipts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 40px; align-items: start; }
.snap { background: #fff; padding: 12px 12px 18px; box-shadow: 0 14px 30px -18px rgba(31,47,109,.5); margin: 0; }
.snap:nth-child(odd) { transform: rotate(-1.5deg); }
.snap:nth-child(even) { transform: rotate(1.5deg); margin-top: 28px; }
.snap .pic { aspect-ratio: 4 / 3; overflow: hidden; }
.snap.tall .pic { aspect-ratio: 4 / 5; }
.snap figcaption { font-family: var(--hand); font-weight: 600; font-size: 1.4rem; line-height: 1.15; color: var(--ink); margin-top: 10px; }
.snap figcaption small { display: block; font-family: var(--text); font-weight: 500; font-size: .92rem; color: var(--ink-soft); margin-top: 4px; }
.team { display: grid; grid-template-columns: 1.3fr .7fr; gap: 44px; align-items: center; margin-top: 30px; }
.team .snap { transform: rotate(-1deg); }
.team p { font-size: 1.2rem; }
@media (max-width: 900px) { .receipts, .team { grid-template-columns: 1fr; } .snap:nth-child(even) { margin-top: 0; } }

/* ---------- Video vernacular ---------- */
.hero .kicker { margin-bottom: 10px; }
.reels { position: relative; height: 520px; }
.phone { position: absolute; width: 230px; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: var(--ink); border: 7px solid var(--ink); box-shadow: 0 24px 50px -24px rgba(31,47,109,.6); }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone.front { right: 4%; top: 30px; transform: rotate(4deg); z-index: 2; }
.phone.back { left: 2%; top: 0; transform: rotate(-6deg); filter: saturate(.85); }
.phone .rec, .phone .tc { position: absolute; top: 12px; font: 700 .72rem var(--text); color: #fff; letter-spacing: .04em; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.phone .rec { left: 12px; display: flex; align-items: center; gap: 6px; }
.phone .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; }
.phone .tc { right: 12px; font-variant-numeric: tabular-nums; }
.phone .cap { position: absolute; left: 12px; right: 12px; bottom: 30px; font: 700 1rem/1.25 var(--text); color: var(--ink); text-align: center; }
.phone .cap { background: var(--pink-soft); padding: 6px 8px; border-radius: 8px; }
.phone .bar { position: absolute; left: 12px; right: 12px; bottom: 14px; height: 3px; background: rgba(255,255,255,.35); border-radius: 3px; overflow: hidden; }
.phone .bar i { display: block; height: 100%; width: 35%; background: var(--pink-soft); }
@media (prefers-reduced-motion: no-preference) {
  .phone.front img { animation: kw-zoom 9s ease-in-out infinite alternate; }
  .phone.front .bar i { animation: kw-play 9s linear infinite; }
}
@keyframes kw-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes kw-play { from { width: 0; } to { width: 100%; } }
.reels .note-hi { position: absolute; top: auto; bottom: 10px; left: 0; transform: rotate(-6deg); }
.reels .note-hi svg { transform: rotate(-90deg) scaleX(-1); margin: 0 0 0 30px; }

.menu .fmt { display: inline-block; font: 700 .72rem var(--text); letter-spacing: .06em; border: 1.5px solid var(--ink); border-radius: 5px; padding: 1px 6px; margin-right: 10px; vertical-align: 2px; color: var(--ink); }

.work-thumb { position: relative; color: #fff; }
.work-thumb .play { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.work-thumb .play svg { width: 22px; height: 22px; fill: var(--ink); margin-left: 3px; }
.work-thumb .dur, .work-thumb .fmtag { position: absolute; font: 700 .75rem var(--text); padding: 2px 7px; border-radius: 5px; background: rgba(0,0,0,.55); color: #fff; font-variant-numeric: tabular-nums; }
.work-thumb .dur { right: 10px; bottom: 10px; }
.work-thumb .fmtag { left: 10px; top: 10px; }
.work-thumb .ttl { position: absolute; left: 12px; bottom: 10px; font-size: 1.05rem; }
.work:hover .play { background: var(--pink-soft); }
.team { grid-template-columns: .75fr 1.25fr; }
@media (max-width: 900px) {
  .reels { height: 470px; max-width: 420px; width: 100%; justify-self: center; }
  .phone { width: 200px; }
}
@media (max-width: 440px) { .phone { width: 168px; } .reels { height: 400px; } }

/* hero balance (video layout) */
section.hero { padding-block: 0; }
.hero .wrap { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.hero h1 { font-size: clamp(3rem, 7.2vw, 6.2rem); }
@media (min-width: 901px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; } }
.reels { height: 500px; }
.phone { width: 214px; }
.phone.back { left: 0; top: 10px; }
.phone.front { right: 0; top: 50px; }
.reels .note-hi { left: auto; right: 232px; bottom: -6px; top: auto; z-index: 3; }
@media (max-width: 900px) { .phone { width: 190px; } .reels .note-hi { right: auto; left: 40%; bottom: -24px; } }
@media (max-width: 440px) { .phone { width: 160px; } }
@media (max-width: 900px) { .reels { height: 400px; } }
@media (max-width: 440px) { .reels { height: 330px; } .reels .note-hi { display: none; } }

/* ---------- Service pages ---------- */
.page-hero .hero-ctas { margin-top: 26px; }
.svc-top { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.svc-top .answer { font-size: 1.18rem; margin: 0; }
.ticks { list-style: none; padding: 0; margin: 8px 0 0; }
.ticks li { padding: 9px 0 9px 32px; position: relative; border-bottom: 1px dashed var(--line); font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 16px; height: 9px; border-left: 3px solid var(--pink); border-bottom: 3px solid var(--pink); transform: rotate(-45deg); }
.term-def { color: #d5daf0; font-size: 1.2rem; max-width: 46ch; margin: 18px auto 26px; }
.btn-lime { background: var(--pink-soft); color: var(--ink); border-color: var(--pink-soft); box-shadow: 4px 4px 0 var(--paper); }
.btn-lime:hover { color: var(--ink); transform: translate(-2px, -2px); }
.related { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a { display: flex; align-items: center; gap: 10px; padding: 18px 20px; background: var(--card); border: 2px solid var(--ink); border-radius: 14px; text-decoration: none; font-weight: 700; box-shadow: 4px 4px 0 var(--pink); transition: transform .15s ease; }
.related a:hover { transform: translate(-2px, -2px); color: var(--ink); }
.related .fmt, .menu .fmt { display: inline-block; font: 700 .72rem var(--text); letter-spacing: .06em; border: 1.5px solid var(--ink); border-radius: 5px; padding: 1px 6px; margin-right: 10px; vertical-align: 2px; color: var(--ink); white-space: nowrap; }
.menu h3 a { text-decoration: none; color: var(--ink); }
.menu h3 a::after { content: " →"; font-family: var(--text); font-size: .6em; color: var(--pen); }
@media (max-width: 900px) { .svc-top, .related { grid-template-columns: 1fr; } }
@media (min-width: 901px) { .site-footer .wrap { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.nb { white-space: nowrap; }

/* ---------- Volume positioning ---------- */
.stickies.four { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stickies.four li:nth-child(4) { background: #e8f2c4; transform: rotate(2deg); }
.stickies.four h3 { font-size: 1.6rem; }
.not-for { margin-top: 26px; font-family: var(--hand); font-weight: 600; font-size: 1.5rem; color: var(--pen); max-width: none; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.plan { background: var(--card); border: 2px solid var(--ink); border-radius: 18px; padding: 26px 24px; box-shadow: 6px 6px 0 var(--pink); }
.plan:nth-child(2) { background: var(--ink); color: var(--paper); box-shadow: 6px 6px 0 var(--pink-soft); }
.plan-n { font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 700; font-size: clamp(3.4rem, 7vw, 5rem); line-height: .9; margin: 0; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan-u { font-family: var(--hand); font-weight: 600; font-size: 1.5rem; color: var(--pen); margin: 4px 0 12px; }
.plan:nth-child(2) .plan-u { color: var(--pink-soft); }
.plan p:last-child { margin: 0; }
.plans-note { margin-top: 26px; color: var(--ink-soft); }
@media (max-width: 1000px) { .stickies.four { grid-template-columns: repeat(2, 1fr); max-width: none; } }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; } }
@media (max-width: 560px) { .stickies.four { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(2.7rem, 5.8vw, 5rem); }
/* How it works: five points, not a sequence, so no numbers */
.stickies.five { grid-template-columns: repeat(5, 1fr); gap: 18px; list-style: none; }
.stickies.five li { min-height: 190px; padding: 24px 20px 26px; }
.stickies.five li::before { content: none; }
.stickies.five h3 { font-size: 1.4rem; }
.stickies.five p { font-size: 1rem; }
.stickies.five li:nth-child(4) { background: #e8f2c4; transform: rotate(1.5deg); }
.stickies.five li:nth-child(5) { background: var(--ink); color: var(--paper); transform: rotate(-1.5deg); }
.stickies.five li:nth-child(5) h3 { color: var(--pink-soft); }
@media (max-width: 1100px) { .stickies.five { grid-template-columns: repeat(3, 1fr); max-width: none; } }
@media (max-width: 760px) { .stickies.five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .stickies.five { grid-template-columns: 1fr; } }

/* ---------- Real video grids (YouTube, click to play) ---------- */
.vid-grid { display: grid; gap: 26px; margin-top: 30px; }
.vid-grid.shorts { grid-template-columns: repeat(4, 1fr); }
.vid-grid.longs { grid-template-columns: repeat(2, 1fr); }
.vid-grid.longs .vid:first-child { grid-column: 1 / -1; }
.vid { margin: 0; background: #fff; padding: 10px 10px 14px; box-shadow: 0 14px 30px -18px rgba(31,47,109,.5); min-width: 0; }
.vid-grid.shorts .vid:nth-child(odd) { transform: rotate(-1deg); }
.vid-grid.shorts .vid:nth-child(even) { transform: rotate(1deg); }
.vid figcaption { font-weight: 700; font-size: .98rem; line-height: 1.3; margin-top: 10px; }
.yt.short { aspect-ratio: 9 / 16; border-radius: 6px; }
.yt img { position: absolute; inset: 0; }
@media (max-width: 900px) { .vid-grid.shorts { grid-template-columns: repeat(2, 1fr); } .vid-grid.longs { grid-template-columns: 1fr; } }
.vid-grid.longs { grid-template-columns: repeat(3, 1fr); }
.vid-grid.longs .vid:first-child { grid-column: span 2; grid-row: span 1; }
@media (max-width: 900px) { .vid-grid.longs { grid-template-columns: 1fr; } .vid-grid.longs .vid:first-child { grid-column: auto; } }
/* keep the hand-written note clear of the phone captions */
.reels .note-hi { right: auto; left: 4px; bottom: -42px; }
@media (max-width: 900px) { .reels .note-hi { left: 4px; bottom: -40px; } }

/* ---------- Portfolio ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip { font: 700 .95rem var(--text); padding: 9px 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--card); color: var(--ink); cursor: pointer; }
.chip.on { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--pink); }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.case { background: #fff; padding: 10px 10px 18px; box-shadow: 0 14px 30px -18px rgba(31,47,109,.5); min-width: 0; display: flex; flex-direction: column; }
.case.wide { grid-column: span 2; }
.case-poster { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px; text-align: center; border-radius: 6px; color: #fff; }
.case-poster[data-tone="ink"] { background: var(--ink); }
.case-poster[data-tone="pink"] { background: var(--pink-soft); color: var(--ink); }
.case-poster[data-tone="pen"] { background: var(--pen); }
.case-poster[data-tone="leaf"] { background: var(--leaf); }
.case-poster[data-tone="butter"] { background: var(--paper-2); color: var(--ink); }
.case-big { font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 700; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.02; letter-spacing: -0.02em; }
.case-poster .fmtag { position: absolute; left: 10px; top: 10px; font: 700 .75rem var(--text); padding: 2px 7px; border-radius: 5px; background: rgba(0,0,0,.45); color: #fff; }
.case-lock { position: absolute; left: 0; right: 0; bottom: 10px; font-family: var(--hand); font-weight: 600; font-size: 1.15rem; opacity: .9; }
.case-body { padding: 14px 6px 0; }
.case-tag { font: 700 .78rem var(--text); letter-spacing: .04em; color: var(--pen); margin: 0 0 4px; }
.case h3 { font-size: 1.35rem; margin: 0 0 6px; }
.case p { font-size: .98rem; margin: 0 0 8px; color: var(--ink-soft); }
.case ul { margin: 0 0 12px; padding-left: 18px; font-size: .92rem; }
.case-link { font-weight: 700; font-size: .95rem; }
.case.own .yt.short { max-height: 520px; }
.empty-note { margin-top: 20px; font-family: var(--hand); font-size: 1.4rem; color: var(--pen); }
@media (max-width: 1000px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cases { grid-template-columns: 1fr; } .case.wide { grid-column: auto; } }
/* masonry: cards of different heights pack without gaps */
.cases { display: block; columns: 3; column-gap: 28px; }
.case { break-inside: avoid; margin-bottom: 28px; width: 100%; }
.case.wide { grid-column: auto; }
@media (max-width: 1000px) { .cases { columns: 2; } }
@media (max-width: 640px) { .cases { columns: 1; } }
.case .yt.short { aspect-ratio: 4 / 5; }
