/* Don't Do It Yourself - site v2. One shared stylesheet for every page.
   Colours and the serif are the live site's own (docs/brand_tokens_2026-11-10.md).
   Composition: smb-website-studio "Editorial Magazine". Locked: no new colour or font below. */

:root {
  --cream: hsl(40, 60%, 96.08%);
  --sand: hsl(36.52, 58.97%, 92.35%);
  --olive: hsl(62.86, 11.35%, 36.27%);
  --espresso: hsl(27, 27.03%, 14.51%);
  --ink-brand: hsl(16.36, 18.64%, 11.57%);

  --ground: var(--cream);
  --surface: var(--sand);
  --ink: var(--ink-brand);
  --muted: #6B5F55;                 /* ink mixed toward cream; 5.8:1 on cream */
  --accent: var(--espresso);
  --accent-ink: var(--cream);
  --field: var(--espresso);
  --field-ink: var(--cream);
  --rule: hsl(36, 30%, 82%);
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-text: "Work Sans", "Helvetica Neue", Arial, sans-serif;

  --step-hero: clamp(3.1rem, 1.4rem + 6.2vw, 7rem);
  --step-1: clamp(2.4rem, 1.5rem + 3.6vw, 4.5rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
  --step-small: 0.9rem;
  --gutter: clamp(1.15rem, 0.5rem + 2.6vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 7vw, 9.5rem);
  --bar-h: 60px;
  --head-h: 68px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 1rem); }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--font-text);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.55; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; line-height: 1; letter-spacing: -0.015em; text-wrap: balance; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
p { max-width: 62ch; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 600; }

.wrap { width: min(100% - 2 * var(--gutter), 82rem); margin-inline: auto; }
.section { padding-block: var(--section); }
.surface { background: var(--surface); }
.field { background: var(--field); color: var(--field-ink); }
.muted { color: var(--muted); }
.h-sec { font-size: var(--step-1); margin-bottom: clamp(2rem, 1rem + 3vw, 4rem); }

:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; }
.field :focus-visible, .head :focus-visible { outline-color: var(--cream); }
::selection { background: var(--espresso); color: var(--cream); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 0.5rem; z-index: 100; background: var(--cream); color: var(--ink); padding: 0.5rem 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0.75em 1.6em;
  background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 0; text-decoration: none; cursor: pointer;
  font-family: var(--font-text); font-weight: 500; font-size: 1.0625rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--olive); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--sand); }
.link { font-weight: 500; font-size: 1.0625rem; }
.link:hover { color: var(--olive); }
.field .link:hover { color: var(--sand); text-decoration-thickness: 2px; }

/* ---------- header ---------- */
.head { background: var(--espresso); color: var(--cream); position: sticky; top: 0; z-index: 40; }
.head__in { display: flex; align-items: center; gap: 1rem 2rem; min-height: var(--head-h); flex-wrap: wrap; padding-block: 0.6rem; }
.wordmark { font-family: var(--font-display); font-style: italic; font-size: 1.7rem; line-height: 1; text-decoration: none; letter-spacing: -0.01em; margin-right: auto; white-space: nowrap; }
.nav { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.nav a { text-decoration: none; font-size: 1rem; padding-block: 0.6rem; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; }
.head .btn { min-height: 44px; padding: 0.5em 1.2em; font-size: 0.98rem; }
@media (max-width: 760px) {
  .head { position: static; }
  .head__in { padding-block: 0.9rem 0.35rem; gap: 0.25rem 1rem; }
  .head .btn { display: none; }               /* the bottom bar carries Call + Book on phones */
  .nav { width: 100%; justify-content: space-between; }
  .nav a { padding-block: 0.75rem; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(2.5rem, 1rem + 6vw, 6.5rem) clamp(3.5rem, 2rem + 6vw, 7rem); }
.hero__in { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.hero h1 { font-size: var(--step-hero); line-height: 0.95; letter-spacing: -0.025em; max-width: 14ch; }
.hero__line { font-size: var(--step-2); line-height: 1.3; margin-top: clamp(1.5rem, 3vw, 2.5rem); max-width: 30ch; font-family: var(--font-text); }
.hero__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: clamp(1.75rem, 3vw, 2.75rem); }
.hero__proof { margin-top: 1.5rem; font-size: var(--step-small); color: var(--muted); }
.hero__proof a { color: var(--ink); font-weight: 500; }
.hero__reel { justify-self: center; width: min(74vw, 300px); }
@media (min-width: 900px) {
  .hero__in { grid-template-columns: minmax(0, 1fr) auto; }
  .hero__reel { width: clamp(250px, 23vw, 340px); justify-self: end; margin-right: clamp(0rem, 4vw, 5rem); }
}

/* ---------- phone frame + reels ---------- */
.phone { background: var(--espresso); padding: 9px; border-radius: 34px; position: relative; }
.phone video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 26px; background: var(--ink); }
.reel { position: relative; }
.reel__play {
  position: absolute; inset: 9px; border: 0; border-radius: 26px; background: transparent; cursor: pointer;
  display: grid; place-items: center; padding: 0;
}
.reel__play span {
  width: 60px; height: 60px; border-radius: 50%; background: var(--cream); display: grid; place-items: center;
  transition: transform 0.15s ease;
}
.reel__play span::before { content: ""; border-left: 17px solid var(--ink); border-block: 11px solid transparent; margin-left: 5px; }
.reel__play:hover span { transform: scale(1.08); }
.reel.is-playing .reel__play { display: none; }
.cap { font-size: var(--step-small); line-height: 1.35; margin-top: 0.85rem; padding-inline: 0.5rem; }

.reels { display: grid; grid-auto-flow: column; grid-auto-columns: min(58vw, 230px); gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem;
  margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.reels > li { scroll-snap-align: start; }
@media (min-width: 1100px) {
  .reels { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); gap: clamp(1.25rem, 2vw, 2.25rem); overflow: visible; margin-inline: 0; padding-inline: 0; }
}
.after { margin-top: clamp(1.75rem, 3vw, 2.75rem); }

/* ---------- plans (a rate card, not boxes) ---------- */
.plans__lead { font-size: var(--step-2); line-height: 1.3; margin-top: calc(-1 * clamp(1rem, 0.4rem + 2vw, 2.5rem)); margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.plans { display: grid; gap: 0; }
.plan { padding: 2rem 0 2.25rem; border-top: 2px solid var(--ink); display: grid; gap: 1.1rem; align-content: start; }
.plan h3 { font-size: var(--step-2); }
.plan__price { font-family: var(--font-display); font-size: clamp(3.4rem, 2.4rem + 3vw, 5rem); line-height: 0.9; letter-spacing: -0.03em; }
.plan__price small { font-family: var(--font-text); font-size: 1rem; letter-spacing: 0; color: var(--muted); margin-left: 0.35rem; }
.plan ul { display: grid; gap: 0.55rem; }
.plan li { padding-left: 1.25rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.55rem; height: 2px; background: currentColor; }
.plan .link { margin-top: 0.4rem; justify-self: start; }
.plan--pick { background: var(--espresso); color: var(--cream); border-top-color: var(--espresso); padding-inline: 1.5rem; margin-inline: -1.5rem; }
.plan--pick .plan__price small { color: var(--sand); }
.plan__flag { font-size: var(--step-small); font-weight: 500; color: var(--sand); margin-bottom: -0.6rem; }
@media (max-width: 899px) { .plan--pick { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); } }
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); column-gap: clamp(1.5rem, 3vw, 3.5rem); align-items: stretch; }
  .plan { padding-top: 2.25rem; }
  .plan--pick { margin: -1.75rem 0 0; padding: 2.5rem 2rem 2.5rem; }
}
.plans__once { margin-top: clamp(2rem, 4vw, 3.5rem); font-size: var(--step-2); line-height: 1.3; max-width: 34ch; font-family: var(--font-display); }

/* ---------- what we do (contents list) ---------- */
.toc { border-top: 2px solid var(--ink); }
.toc li { display: grid; gap: 0.5rem 3rem; padding-block: clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--rule); }
.toc h3 { font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.toc p { font-size: 1.125rem; }
@media (min-width: 800px) { .toc li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: baseline; } }

/* ---------- reviews (pull quotes) ---------- */
.quotes { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.quote blockquote { font-family: var(--font-display); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.12; letter-spacing: -0.01em; }
.quote figcaption { margin-top: 1rem; font-size: var(--step-small); }
.quote figcaption b { font-weight: 600; }
.quote details { margin-top: 0.4rem; font-size: var(--step-small); color: var(--muted); }
.quote summary { cursor: pointer; width: fit-content; text-decoration: underline; text-underline-offset: 0.2em; }
.quote details p { margin-top: 0.4rem; font-style: italic; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); column-gap: clamp(2rem, 4vw, 4.5rem); } }
.reviews__links { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.reviews__stand { font-size: var(--step-small); color: var(--muted); margin-top: calc(-1 * clamp(1.25rem, 0.5rem + 2.4vw, 3rem)); margin-bottom: clamp(2rem, 4vw, 3.5rem); }

/* ---------- how it works ---------- */
.steps { display: grid; gap: 2.25rem; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.2rem 1fr; column-gap: 0.5rem; align-items: start; }
.steps li::before { content: counter(step); font-family: var(--font-display); font-size: 3.6rem; line-height: 0.8; color: var(--olive); }
.steps h3 { font-family: var(--font-text); font-weight: 600; font-size: 1.2rem; letter-spacing: 0; line-height: 1.3; }
.steps p { margin-top: 0.3rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 3rem 4rem; } }
@media (min-width: 1200px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; } .steps li { grid-template-columns: 1fr; row-gap: 1.25rem; } }

/* ---------- questions (dropdowns) ---------- */
.qa { border-top: 2px solid var(--ink); max-width: 60rem; }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding-block: 1.4rem; font-family: var(--font-display); font-size: var(--step-2); line-height: 1.15; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--font-text); font-size: 1.6rem; line-height: 1; flex: none; }
.qa details[open] summary::after { content: "\2212"; }
.qa__a { padding-bottom: 1.75rem; display: grid; gap: 0.9rem; }
.qa__a ul { display: grid; gap: 0.45rem; }
.qa__a li { padding-left: 1.25rem; position: relative; max-width: 62ch; }
.qa__a li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.55rem; height: 2px; background: currentColor; }

/* ---------- closing (back cover) ---------- */
.close h2 { font-size: var(--step-hero); line-height: 0.95; letter-spacing: -0.025em; max-width: 12ch; }
.close p { font-size: var(--step-2); line-height: 1.3; margin-top: 1.75rem; }
.close__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }
.close__acts .link { font-size: 1.15rem; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--cream); padding-block: clamp(3rem, 5vw, 4.5rem); font-size: 1rem; }
.foot__in { display: grid; gap: 2.25rem; }
.foot .wordmark { font-size: 2rem; display: inline-block; margin-bottom: 0.6rem; }
.foot ul { display: grid; gap: 0.5rem; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
@media (min-width: 800px) { .foot__in { grid-template-columns: 5fr 3fr 2fr 2fr; gap: 3rem; } }

/* ---------- phone action bar ---------- */
.actionbar {
  position: fixed; inset: auto 0 0 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1.4fr;
  min-height: var(--bar-h); padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink); transform: translateY(110%); transition: transform 0.25s ease;
  border-top: 1px solid var(--espresso);
}
.actionbar.is-on { transform: none; }
.actionbar a { display: grid; place-items: center; color: var(--cream); text-decoration: none; font-weight: 600; }
.actionbar a:last-child { background: var(--cream); color: var(--ink); }
body.has-actionbar { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
@media (min-width: 761px) { .actionbar { display: none; } body.has-actionbar { padding-bottom: 0; } }

/* ---------- motion: one moment (the hero phone settles), plus control feedback ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__reel { animation: settle 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes settle { from { transform: scale(1.04) translateY(10px); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ================= inner pages ================= */
.page-head { padding-block: clamp(3rem, 1.5rem + 6vw, 6.5rem) clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.page-head h1 { font-size: clamp(2.9rem, 1.4rem + 5.4vw, 6rem); line-height: 0.97; letter-spacing: -0.025em; max-width: 16ch; }
.page-head p { font-size: var(--step-2); line-height: 1.3; margin-top: 1.5rem; max-width: 36ch; }
.page-head .stamp { font-size: var(--step-small); color: var(--muted); margin-top: 1rem; }
.section--tight { padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.h-sub { font-size: var(--step-2); margin-bottom: 1.5rem; }

/* plans page: full rate card */
.plan details { font-size: var(--step-small); }
.plan summary { cursor: pointer; width: fit-content; text-decoration: underline; text-underline-offset: 0.2em; }
.plan details p { margin-top: 0.5rem; }
.plan .btn { justify-self: start; margin-top: 0.5rem; }
.plan--pick .btn { background: var(--cream); color: var(--ink); }
.plan--pick .btn:hover { background: var(--sand); }
.plans--full { align-items: start; }
.plans--full .plan--pick { margin-top: 0; }
@media (min-width: 900px) { .plans--full .plan--pick { margin-top: -1.75rem; } }

.pair { display: grid; gap: 2.5rem; border-top: 2px solid var(--ink); padding-top: 2rem; }
.pair h3 { font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.pair h3 b { font-weight: 400; color: var(--olive); }
.pair p { margin-top: 0.75rem; font-size: 1.125rem; max-width: 38ch; }
@media (min-width: 800px) { .pair { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.dash { display: grid; gap: 0.55rem; }
.dash li { padding-left: 1.25rem; position: relative; max-width: 62ch; }
.dash li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.55rem; height: 2px; background: currentColor; }
.split { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 800px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .split .h-sec { margin-bottom: 0; } }

.tablewrap { overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.cmp { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 1rem; }
.cmp th, .cmp td { text-align: left; padding: 0.9rem 0.75rem 0.9rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.cmp thead th { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; border-bottom: 2px solid var(--ink); }
.cmp tbody th { font-weight: 400; width: 44%; }
.cmp td { font-weight: 500; }
.cmp .no { color: var(--muted); font-weight: 400; }

/* work page */
.shots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: end; }
.shots img { border: 1px solid var(--rule); }
.shots__phone { width: min(46vw, 220px); border-radius: 26px; border: 8px solid var(--espresso) !important; }
@media (min-width: 800px) { .shots { grid-template-columns: minmax(0, 1fr) auto; gap: 2.5rem; } .shots__phone { width: 220px; } }
.quotes--4 { row-gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .quotes--4 { grid-template-columns: repeat(2, 1fr); } }

/* answers page */
.answers { max-width: 46rem; }
.answer { padding-block: clamp(2rem, 4vw, 3.25rem); border-top: 1px solid var(--rule); display: grid; gap: 1rem; }
.answer:first-child { border-top: 2px solid var(--ink); }
.answer h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.75rem); line-height: 1.05; }
.answer > p { font-size: 1.15rem; }

/* contact + small pages */
.contact { display: grid; gap: 3rem; }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; } }
.contact__call { font-family: var(--font-display); font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.75rem); line-height: 1; margin-top: 2rem; display: inline-block; text-decoration-thickness: 2px; }
.form { display: grid; gap: 1.15rem; max-width: 34rem; }
.form label { display: grid; gap: 0.4rem; font-weight: 500; }
.form input, .form textarea { width: 100%; min-height: 52px; padding: 0.75em 0.9em; background: #fff; color: var(--ink); border: 1px solid var(--muted); border-radius: 0; }
.form textarea { min-height: 8rem; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline-offset: 0; }
.form .hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; min-width: 10rem; }
.form-status { font-weight: 500; min-height: 1.5em; }
.prose { display: grid; gap: 1rem; max-width: 44rem; font-size: 1.15rem; }
.note-page { min-height: 55vh; }

/* Phone: the comparison fits the screen, no sideways scroll. */
@media (max-width: 560px) {
  .cmp { min-width: 0; font-size: 0.875rem; table-layout: fixed; }
  .cmp th, .cmp td { padding: 0.75rem 0.4rem 0.75rem 0; overflow-wrap: anywhere; }
  .cmp thead th { font-size: 1.15rem; }
  .cmp tbody th { width: 40%; }
}
