/* ==========================================================================
   Aisha Rain — site styles
   One stylesheet for the whole site. Sections:
   1. Tokens   2. Base   3. Layout   4. Type   5. Buttons & links
   6. Header & nav   7. Components   8. Page-specific   9. Footer
   10. Motion   11. Placeholders (.todo)
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --paper: #f4efe7;
  --paper-2: #ebe3d6;
  --paper-3: #e1d6c5;
  --ink: #1c1a17;
  --ink-2: #4b463f;
  --ink-3: #6f675c;
  --line: #d5cab8;
  --rust: #a8471f;
  --rust-2: #8b3815;
  --olive: #55583a;
  --deep: #22201c;
  --deep-2: #2e2b26;
  --on-deep: #f1ebe1;
  --on-deep-2: #b9afa1;

  --f-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Caveat", "Segoe Print", cursive;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 78rem;
  --narrow: 42rem;
  --radius: 4px;
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--rust); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--rust); color: var(--paper); }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: var(--paper); }

/* 3. Layout ------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--paper-2); }
.section--deep { background: var(--deep); color: var(--on-deep); }
.section--deep a:hover { color: #e08a5f; }
.section + .section:not(.section--alt):not(.section--deep) { border-top: 1px solid var(--line); }
.grid-2 { display: grid; gap: clamp(2rem, 5vw, 5rem); }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 5fr 7fr; align-items: start; }
  .grid-2--even { grid-template-columns: 1fr 1fr; }
  .grid-2--flip { grid-template-columns: 7fr 5fr; }
}
.stack > * + * { margin-top: 1.1em; }
.sticky { position: sticky; top: 7rem; }

/* 4. Type --------------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.08; letter-spacing: -.01em; }
.h-display, h1 { font-family: var(--f-display); font-size: clamp(2.9rem, 1.6rem + 6vw, 6.4rem); line-height: .98; letter-spacing: -.02em; }
.h-1 { font-family: var(--f-display); font-size: clamp(2.4rem, 1.5rem + 3.8vw, 4.4rem); line-height: 1.02; letter-spacing: -.015em; }
h2, .h-2 { font-family: var(--f-display); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
h3, .h-3 { font-family: var(--f-body); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
h4 { font-family: var(--f-body); font-size: 1rem; font-weight: 600; line-height: 1.4; }
em, .italic { font-style: italic; }
h1 em, h2 em, .h-1 em, .h-display em { font-style: italic; color: var(--rust); }
.section--deep h2 em { color: #e08a5f; }
p { margin: 0; }
.lead { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.section--deep .lead { color: var(--on-deep-2); }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--rust);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; }
.section--deep .eyebrow { color: #e08a5f; }
.hand { font-family: var(--f-hand); font-weight: 500; font-size: 1.45em; line-height: 1.1; color: var(--rust); }
.prose { max-width: 40rem; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); margin-top: 2.2em; scroll-margin-top: 7rem; }
.prose h3 { margin-top: 1.8em; scroll-margin-top: 7rem; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--rust); }
.prose blockquote {
  margin: 2em 0; padding: 0 0 0 1.4rem; border-left: 2px solid var(--rust);
  font-family: var(--f-display); font-size: 1.6rem; line-height: 1.25;
}
.prose a { color: var(--rust-2); }
.callout { background: var(--paper-2); border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.callout strong:first-child { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); margin-bottom: .4rem; }

/* 5. Buttons & links ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.5rem; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  font: 600 .95rem/1 var(--f-body); letter-spacing: .01em; text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  cursor: pointer;
}
.btn:hover { background: var(--rust); border-color: var(--rust); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.section--deep .btn { background: var(--on-deep); color: var(--deep); border-color: var(--on-deep); }
.section--deep .btn:hover { background: var(--rust); border-color: var(--rust); color: #fff; }
.section--deep .btn--ghost { background: transparent; color: var(--on-deep); }
.btn .arrow, .link-arrow .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .15rem;
}

/* 6. Header & nav ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
/* The blur sits on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed-position mobile menu inside the header's box. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(244, 239, 231, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand__name { font-family: var(--f-display); font-size: 1.65rem; letter-spacing: -.01em; }
.brand__role { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-top: .3rem; }
.brand:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__list a { text-decoration: none; font-size: .95rem; font-weight: 500; padding-block: .3rem; position: relative; }
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.1rem; height: 1px; background: var(--rust);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.nav__cta { padding: .75rem 1.2rem; font-size: .9rem; }
.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem; margin-right: -.5rem; cursor: pointer; color: var(--ink);
  font: 600 .85rem var(--f-body); letter-spacing: .08em; text-transform: uppercase; align-items: center; gap: .6rem;
}
.nav-toggle__bars { width: 22px; height: 12px; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle__bars::before { top: 0; } .nav-toggle__bars::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 5px; transform: rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 4.5rem 0 0 0; background: var(--paper);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2rem;
    padding: 2rem var(--gutter) 3rem; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-.5rem);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; font-family: var(--f-display); font-size: 2.4rem; font-weight: 400; padding-block: .35rem; border-bottom: 1px solid var(--line); }
  .nav__list a::after { display: none; }
  .nav__list a[aria-current] { color: var(--rust); }
  .nav__cta { align-self: flex-start; padding: 1rem 1.6rem; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* Breadcrumbs */
.breadcrumbs { font-size: .85rem; color: var(--ink-3); padding-top: 1.6rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs [aria-current] { color: var(--ink); }

/* 7. Components --------------------------------------------------------- */

/* Hero */
.hero { padding-block: clamp(2rem, 5vw, 4.5rem) var(--section); }
.hero__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 7fr 5fr; align-items: end; gap: 4rem; } }
.hero__title { margin-bottom: 1.6rem; }
.hero__lead { margin-bottom: 2.2rem; }
.hero__location { display: flex; align-items: center; gap: .6rem; margin-top: 2.4rem; font-size: .9rem; color: var(--ink-3); }
.hero__location svg { width: 1rem; color: var(--rust); flex: none; }
.hero__media { position: relative; }
.hero__photo { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: var(--radius); background: var(--paper-3); }
.hero__note { position: absolute; left: -1.2rem; bottom: 2.2rem; max-width: 12rem; transform: rotate(-4deg); }
@media (max-width: 899px) { .hero__media { max-width: 30rem; } .hero__note { left: auto; right: -.2rem; bottom: -1.2rem; } }
.note-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .7rem 1rem; box-shadow: 0 10px 30px -18px rgba(28, 26, 23, .45);
  font-family: var(--f-hand); font-size: 1.35rem; line-height: 1.1; color: var(--ink);
}
.note-card b { color: var(--rust); font-weight: 600; }

/* Hand-drawn underline */
.scribble { position: relative; white-space: nowrap; }
.scribble svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .35em; overflow: visible; color: var(--rust); pointer-events: none; }
.scribble path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 300; transition: stroke-dashoffset 1.1s var(--ease) .35s; }
.is-visible .scribble path, .scribble.is-visible path { stroke-dashoffset: 0; }

/* Annotation (margin note with arrow) */
.annotation { display: inline-flex; align-items: flex-start; gap: .4rem; color: var(--rust); font-family: var(--f-hand); font-size: 1.5rem; line-height: 1.05; }
.annotation svg { width: 2.6rem; flex: none; }

/* Checklist of "you already have" */
.have-list { list-style: none; margin: 1.8rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.have-list li { border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem .45rem .8rem; font-size: .95rem; display: inline-flex; align-items: center; gap: .5rem; background: var(--paper); }
.have-list li::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--olive); }
.have-list li.missing { border-style: dashed; color: var(--rust); }
.have-list li.missing::before { background: transparent; border: 1.5px solid var(--rust); }

/* Services list (homepage preview + services page) */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-row { border-bottom: 1px solid var(--line); }
.service-row > a, .service-row > div {
  display: grid; gap: .6rem 2rem; padding: clamp(1.6rem, 3vw, 2.4rem) 0; text-decoration: none; position: relative;
}
@media (min-width: 800px) { .service-row > a, .service-row > div { grid-template-columns: 4rem 1.1fr 1fr 2rem; align-items: baseline; } }
.service-row__num { font-family: var(--f-display); font-size: 1.2rem; color: var(--rust); }
.service-row__title { font-family: var(--f-display); font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); line-height: 1.05; }
.service-row__desc { color: var(--ink-2); }
.service-row__arrow { justify-self: end; transition: transform .3s var(--ease); color: var(--rust); }
.service-row > a:hover { color: var(--ink); }
.service-row > a:hover .service-row__title { color: var(--rust); }
.service-row > a:hover .service-row__arrow { transform: translateX(6px); }
.flag { display: inline-block; margin-left: .6rem; vertical-align: middle; font: 600 .66rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--paper); background: var(--rust); padding: .35rem .5rem; border-radius: 2px; position: relative; top: -.4em; }

/* Process (Audit → Independence) */
.process { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(6, 1fr); } }
.process__step { counter-increment: step; position: relative; }
.process__btn {
  all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer;
  padding: 1.2rem 1rem 1.2rem 0; border-top: 1px solid rgba(241, 235, 225, .25);
  transition: border-color .3s;
}
.process__btn:focus-visible { outline: 2px solid #e08a5f; outline-offset: 2px; }
.process__btn::before { content: "0" counter(step); display: block; font-size: .78rem; letter-spacing: .12em; color: var(--on-deep-2); margin-bottom: .4rem; }
.process__label { font-family: var(--f-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); line-height: 1.1; transition: color .3s; }
.process__step:not(:last-child) .process__btn::after {
  content: "→"; position: absolute; right: .9rem; top: 2.55rem; color: var(--on-deep-2); font-size: 1.1rem;
}
@media (max-width: 899px) { .process__step:not(:last-child) .process__btn::after { content: "↓"; right: 0; top: 1.9rem; } }
.process__btn[aria-selected="true"] { border-top: 2px solid #e08a5f; }
.process__btn[aria-selected="true"] .process__label, .process__btn:hover .process__label { color: #e08a5f; }
.process__panel { margin-top: 2rem; min-height: 7rem; max-width: 44rem; }
.process__panel p { font-size: 1.15rem; color: var(--on-deep); }
.process__panel[hidden] { display: none; }
/* Light variant for pages with paper background */
.process--light .process__btn { border-top-color: var(--line); }
.process--light .process__btn::before, .process--light .process__step:not(:last-child) .process__btn::after { color: var(--ink-3); }
.process--light .process__btn[aria-selected="true"] { border-top-color: var(--rust); }
.process--light .process__btn[aria-selected="true"] .process__label, .process--light .process__btn:hover .process__label { color: var(--rust); }
.process--light + .process__panels .process__panel p { color: var(--ink-2); }

/* Scrolling bars (services under the hero, logos in Experience).
   Each list scrolls by its own width, so three copies loop seamlessly. */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; }
.marquee__list { display: flex; align-items: center; flex-shrink: 0; list-style: none; margin: 0; padding: 0; animation: marquee var(--marquee-speed, 45s) linear infinite; }
.marquee:hover .marquee__list { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee--services { border-bottom: 1px solid var(--line); padding-block: 1.15rem; }
.marquee--services li { display: flex; align-items: center; white-space: nowrap; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.marquee--services li::after { content: "·"; margin-inline: 1.6rem; color: var(--rust); font-size: 1.2em; }
.marquee--logos { --marquee-speed: 40s; margin-top: 1.4rem; }
.marquee--logos li { display: flex; align-items: center; height: 5rem; padding-inline: clamp(1.6rem, 3vw, 2.8rem); }
.marquee--logos img { height: var(--h, 40px); width: auto; opacity: .5; }
.logo-bar__title { margin-top: clamp(3rem, 6vw, 4.5rem); font-family: var(--f-body); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; }
  .marquee__list { animation: none; flex-wrap: wrap; justify-content: center; flex-shrink: 1; }
  .marquee__list[aria-hidden="true"] { display: none; }
}

/* Testimonials side by side */
.testimonial-pair { display: grid; gap: 3rem clamp(2rem, 5vw, 5rem); margin-top: 1.6rem; }
@media (min-width: 900px) { .testimonial-pair { grid-template-columns: 1fr 1fr; } }

/* Work cards */
.work-grid { display: grid; gap: clamp(2.2rem, 4vw, 3.4rem) clamp(1.5rem, 3vw, 2.5rem); margin-top: 3rem; }
@media (min-width: 760px) { .work-grid { grid-template-columns: 1fr 1fr; } }
.work-card { display: flex; flex-direction: column; text-decoration: none; }
.work-card:hover { color: var(--ink); }
.work-card__media { overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 9; margin-bottom: 1.2rem; }
.work-card .cover__word { font-size: clamp(2.1rem, 1.7rem + 1.8vw, 3.4rem); }
.work-card .cover__hand { font-size: 1.2rem; }
.work-card__media > * { transition: transform .8s var(--ease); height: 100%; width: 100%; object-fit: cover; }
.work-card:hover .work-card__media > * { transform: scale(1.03); }
.work-card__client { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.work-card__title { font-family: var(--f-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.1; margin: .35rem 0 .6rem; }
.work-card:hover .work-card__title { color: var(--rust); }
.work-card__desc { color: var(--ink-2); max-width: 32rem; }
.work-card[hidden] { display: none; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: .9rem 0 0; }
.tags li, .tag { font-size: .75rem; font-weight: 500; letter-spacing: .02em; border: 1px solid var(--line); border-radius: 999px; padding: .25rem .7rem; color: var(--ink-2); }

/* Typographic project covers — swap for real project imagery when ready */
.cover {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(1rem, 2.4vw, 1.8rem); color: var(--on-deep); background: var(--deep); overflow: hidden;
  isolation: isolate;
}
.cover::after { /* paper grain */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cover__top { display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.cover__word { font-family: var(--f-display); font-size: clamp(2.6rem, 2rem + 3vw, 4.6rem); line-height: .9; letter-spacing: -.02em; }
.cover__word em { font-style: italic; }
.cover__hand { font-family: var(--f-hand); font-size: 1.4rem; transform: rotate(-3deg); align-self: flex-end; }
.cover--rust { background: #9c4320; }
.cover--olive { background: #4f5236; }
.cover--sand { background: #d9ccb8; color: var(--ink); }
.cover--sand .cover__hand { color: var(--rust); }
.cover--ink { background: #1f2a2e; }
.cover--slate { background: #3d5260; }
.cover--clay { background: #c98b62; color: var(--ink); }
.cover--clay .cover__hand { color: #5a2410; }
.cover--lg { aspect-ratio: 16 / 9; border-radius: var(--radius); }
@media (min-width: 760px) { .cover--lg { aspect-ratio: 21 / 9; } }
.cover--lg .cover__word { font-size: clamp(2.4rem, 1.6rem + 4vw, 5.6rem); }

/* Filter chips */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.chip {
  font: 500 .88rem/1 var(--f-body); padding: .6rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-status { margin-top: 1rem; font-size: .85rem; color: var(--ink-3); }

/* Testimonials */
.testimonial { margin: 0; max-width: 50rem; }
.testimonial__tag { display: inline-block; margin-bottom: 1.2rem; }
.testimonial blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.2; }
.testimonial blockquote p::before { content: "“"; color: var(--rust); margin-left: -.45em; }
.testimonial blockquote p::after { content: "”"; color: var(--rust); }
.testimonial figcaption { display: flex; align-items: center; gap: .9rem; margin-top: 1.6rem; font-size: .95rem; }
.testimonial__photo { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; background: var(--paper-3); }
.testimonial__name { font-weight: 600; display: block; }
.testimonial__role { color: var(--ink-3); }
/* Long, multi-paragraph testimonial: one set of quote marks around the whole thing */
.testimonial--long blockquote { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); line-height: 1.4; }
.testimonial--long blockquote p + p { margin-top: 1em; }
.testimonial--long blockquote p::before, .testimonial--long blockquote p::after { content: none; }
.testimonial--long blockquote p:first-child::before { content: "“"; color: var(--rust); margin-left: -.45em; }
.testimonial--long blockquote p:last-child::after { content: "”"; color: var(--rust); }
.testimonial--compact blockquote { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.section--deep .testimonial__role { color: var(--on-deep-2); }

/* About preview */
.about-preview__photo { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: var(--radius); }
.path { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin: 1.8rem 0; font-family: var(--f-display); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.path span[aria-hidden] { color: var(--rust); font-family: var(--f-body); font-size: 1rem; }

/* Principles */
.principles { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); margin-top: 3rem; counter-reset: pr; list-style: none; padding: 0; }
@media (min-width: 760px) { .principles { grid-template-columns: 1fr 1fr; } }
.principle { background: var(--paper); padding: 2rem 1.6rem 2.2rem 0; counter-increment: pr; }
@media (min-width: 760px) { .principle:nth-child(even) { padding-left: 2rem; } }
.principle::before { content: "0" counter(pr); font-family: var(--f-display); color: var(--rust); font-size: 1.2rem; }
.principle h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); margin: .4rem 0 .6rem; }
.principle p { color: var(--ink-2); }

/* Service detail blocks (services page) */
.service-detail { padding-block: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid var(--line); scroll-margin-top: 5rem; }
.service-detail:first-of-type { border-top: 0; }
.service-detail__num { font-family: var(--f-display); font-size: 1.3rem; color: var(--rust); }
.service-detail h2 { margin: .4rem 0 1.2rem; }
.scope { columns: 2 14rem; column-gap: 2rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.scope li { break-inside: avoid; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; display: flex; gap: .6rem; }
.scope li::before { content: "+"; color: var(--rust); font-weight: 600; }
.label { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 2rem; }
.fit { background: var(--paper-2); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-top: 2rem; }
.fit ul { margin: .6rem 0 0; padding-left: 1.1em; }
.fit li + li { margin-top: .35rem; }

/* Not-for list */
.not-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.not-list li { font-size: .9rem; padding: .35rem .8rem; border-radius: 999px; border: 1px dashed var(--ink-3); color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--rust); }

/* Case study */
.case-hero { padding-block: 1.5rem clamp(2.5rem, 5vw, 4rem); }
.case-hero h1 { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5.2rem); margin: .4rem 0 1.4rem; max-width: 16ch; }
.meta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2rem; margin: 3rem 0 0; padding: 1.6rem 0 0; border-top: 1px solid var(--line); }
@media (min-width: 800px) { .meta-grid { grid-template-columns: repeat(4, 1fr); } }
.meta-grid dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.meta-grid dd { margin: .3rem 0 0; }
.case-section { display: grid; gap: 1rem 3rem; padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .case-section { grid-template-columns: 3fr 8fr; } }
.case-section__label { font-family: var(--f-body); line-height: 1.4; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); padding-top: .4rem; }
.deliverables { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin-top: 1.4rem; }
.deliverable { border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.deliverable figcaption { font-size: .85rem; color: var(--ink-3); padding: .7rem .9rem; }
.deliverable .cover { aspect-ratio: 4 / 3; }
/* Real images crop to the same 4:3 tile, so mixed sizes still line up */
.deliverable img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.deliverable img.is-contain { object-fit: contain; background: var(--paper-2); padding: 1rem; }
.deliverable .cover__word { font-size: clamp(1.8rem, 1.5rem + 1.2vw, 2.4rem); }
.outcomes { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); margin-top: 1.4rem; }
.outcome__num { font-family: var(--f-display); font-size: clamp(2.4rem, 2rem + 1.6vw, 3.4rem); line-height: 1; color: var(--rust); }
.outcome p { font-size: .95rem; color: var(--ink-2); margin-top: .4rem; }
.case-section__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 1.35rem + 1.3vw, 2.4rem); line-height: 1.1; letter-spacing: -.01em; max-width: 24ch; margin: 0 0 1rem; }
.prose .case-section__title { margin-top: 0; }
.prose h4 { margin-top: 1.9em; }
.prose h4 + p { margin-top: .5em; }
.work-num { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; color: var(--rust); margin-bottom: .25rem; }
/* Highlighted case study section (e.g. AEO & AI search) */
.case-section--feature { background: var(--paper-2); border-top: 0; border-radius: var(--radius); padding-inline: clamp(1.4rem, 3vw, 2.6rem); margin-block: 1.5rem; }
.case-section--feature + .case-section { border-top: 0; }
.feature-note { border-left: 2px solid var(--rust); padding-left: 1.1rem; font-family: var(--f-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); line-height: 1.35; color: var(--ink); }
.case-hero__sub { max-width: 44rem; margin-top: 1rem; color: var(--ink-2); }
.deliverable__title { display: block; color: var(--ink); font-weight: 600; font-size: .95rem; margin-bottom: .25rem; }
.outcomes__intro { max-width: 44rem; color: var(--ink-2); }
.outcomes--text { grid-template-columns: 1fr; gap: 1.6rem 2.2rem; }
@media (min-width: 700px) {
  .outcomes--text { grid-template-columns: repeat(2, 1fr); }
  /* Four deliverables sit as a tidy 2 x 2 rather than 3 + 1 */
  .deliverables:has(> .deliverable:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
}
.outcomes--text .outcome { border-top: 2px solid var(--rust); padding-top: 1rem; }
.outcome__title { font-size: 1.05rem; }

/* Photo gallery (case studies): two per row, widths follow each image's shape so heights match */
.photo-gallery { display: grid; gap: clamp(1rem, 2vw, 1.4rem); margin-top: .4rem; }
.photo-row { display: grid; gap: clamp(1rem, 2vw, 1.4rem); }
.photo { margin: 0; }
.photo img, .photo video { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--paper-2); }
.photo video { cursor: pointer; }
.photo figcaption { font-size: .85rem; color: var(--ink-3); margin-top: .6rem; line-height: 1.45; }
.photo__title { display: block; color: var(--ink); font-weight: 600; font-size: .92rem; margin-bottom: .1rem; }
@media (min-width: 700px) {
  .photo-row { display: flex; align-items: flex-start; }
  .photo { flex: var(--r, 1) 1 0; min-width: 0; }
}
@media (min-width: 900px) { .case-section--gallery .photo-gallery { grid-column: 1 / -1; } }

/* Proof gallery (case studies): editorial mix of images and short videos */
.proof-gallery { display: grid; gap: clamp(2.2rem, 4vw, 3.5rem); margin-top: 1.4rem; }
.proof { margin: 0; }
.proof img, .proof video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.proof video { cursor: pointer; }
.proof figcaption { font-size: .92rem; color: var(--ink-2); margin-top: .9rem; max-width: 40rem; }
.proof__title { display: block; color: var(--ink); font-weight: 600; font-size: 1rem; margin-bottom: .2rem; }
@media (min-width: 900px) {
  .case-section--gallery .case-section__title { grid-column: 2; }
  .proof-gallery { grid-column: 1 / -1; }
  /* Offset item lines up with the text column, caption sits beside it */
  .proof--offset { display: grid; grid-template-columns: 3fr 8fr; gap: 0 3rem; align-items: end; }
  .proof--offset > img, .proof--offset > video { grid-column: 2; grid-row: 1; }
  .proof--offset figcaption { grid-column: 1; grid-row: 1; margin-top: 0; }
}
.next-project { display: block; text-decoration: none; padding-block: clamp(3rem, 6vw, 5rem); }
.next-project:hover { color: var(--ink); }
.next-project .h-1 { transition: color .3s; }
.next-project:hover .h-1 { color: var(--rust); }

/* Articles */
.article-list { list-style: none; margin: 2.5rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.article-item { border-bottom: 1px solid var(--line); }
.article-item[hidden] { display: none; }
.article-item a { display: grid; gap: .5rem 2rem; padding-block: 2rem; text-decoration: none; }
@media (min-width: 800px) { .article-item a { grid-template-columns: 11rem 1fr 2rem; align-items: baseline; } }
.article-item__meta { font-size: .82rem; color: var(--ink-3); display: flex; flex-direction: column; gap: .2rem; }
.article-item__cat { font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rust); font-size: .74rem; }
.article-item__title { font-family: var(--f-display); font-size: clamp(1.7rem, 1.35rem + 1.2vw, 2.4rem); line-height: 1.08; }
.article-item__title { display: block; }
.article-item__excerpt { display: block; color: var(--ink-2); margin-top: .6rem; max-width: 40rem; }
.article-item a:hover { color: var(--ink); }
.article-item a:hover .article-item__title { color: var(--rust); }
.article-header { padding-block: 1.5rem clamp(2rem, 4vw, 3rem); }
.article-header h1 { font-size: clamp(2.5rem, 1.6rem + 3.8vw, 4.6rem); max-width: 18ch; margin: .6rem 0 1.4rem; }
.byline { display: flex; align-items: center; gap: .9rem; font-size: .9rem; color: var(--ink-3); margin-top: 2rem; }
.byline img { width: 2.8rem; height: 2.8rem; border-radius: 50%; object-fit: cover; }
.byline strong { color: var(--ink); font-weight: 600; display: block; }
.byline a { text-decoration: none; }
.byline a:hover { color: var(--rust); text-decoration: underline; }
.article-body { display: grid; gap: 3rem; padding-bottom: var(--section); }
@media (min-width: 1000px) { .article-body { grid-template-columns: 1fr 15rem; gap: 5rem; } .article-body .toc { order: 2; } }
.toc { font-size: .9rem; }
.toc details summary { cursor: pointer; font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); list-style: none; }
.toc details summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; padding: 0; margin: 1rem 0 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: .35rem 0 .35rem 1rem; text-decoration: none; color: var(--ink-3); margin-left: -1px; border-left: 1px solid transparent; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--rust); }
@media (min-width: 1000px) { .toc { position: sticky; top: 7rem; align-self: start; } }
.article-cta { margin-top: 3.5rem; padding: 2rem; background: var(--deep); color: var(--on-deep); border-radius: var(--radius); }
.article-cta h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); margin: 0 0 .8rem !important; }
.article-cta p { color: var(--on-deep-2); margin-bottom: 1.4rem; }
.article-cta .btn { background: var(--on-deep); color: var(--deep); border-color: var(--on-deep); }
.article-cta .btn:hover { background: var(--rust); border-color: var(--rust); color: #fff; }
.article-cta p.article-cta__more { margin: 1.4rem 0 0; font-size: .92rem; }
.article-cta__more a { color: var(--on-deep); }
.article-cta__more a:hover { color: #fff; }

/* Related links (case studies, services) */
.related { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; gap: .9rem; justify-items: start; }

/* Page intro */
.page-intro { padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem); }
.page-intro h1 { max-width: 14ch; margin-bottom: 1.6rem; }

/* CTA band */
.cta-band h2 { font-size: clamp(2.4rem, 1.5rem + 4vw, 5rem); max-width: 16ch; margin-bottom: 1.4rem; }
.cta-band .lead { margin-bottom: 2.2rem; }

/* Form */
.form { display: grid; gap: 1.4rem; }
@media (min-width: 700px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; } }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label, .field legend { font-weight: 600; font-size: .92rem; }
.field .hint { font-size: .85rem; color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .85rem 1rem; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 10rem; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231c1a17' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(168, 71, 31, .18); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: .85rem; min-height: 0; }
.field__error:empty { display: none; }
.radio-pills { display: flex; flex-direction: row; flex-wrap: wrap; gap: .5rem; border: 0; padding: 0; margin: 0; }
.radio-pills legend { margin-bottom: .6rem; padding: 0; }
.radio-pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-pills label { font-weight: 500; font-size: .9rem; border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.radio-pills input:checked + label { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.radio-pills input:focus-visible + label { outline: 2px solid var(--rust); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.contact-aside { font-size: .95rem; }
.contact-aside h2 { font-size: 1.6rem; margin-bottom: .8rem; }
.contact-aside ol { padding-left: 1.2em; color: var(--ink-2); }
.contact-aside ol li + li { margin-top: .6rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  padding: 1.3rem 0; font-weight: 600; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rust); font-size: 1.4rem; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.4rem; color: var(--ink-2); max-width: 38rem; }

/* Scale strip (Smartfix growth timeline) */
.scale { list-style: none; margin: 2.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); border-top: 1px solid var(--line); }
.scale li { padding: 1.2rem 1rem 1.2rem 0; border-bottom: 1px solid var(--line); }
.scale__year { font-size: .75rem; font-weight: 600; letter-spacing: .14em; color: var(--rust); }
.scale__num { display: block; font-family: var(--f-display); font-size: clamp(1.8rem, 1.5rem + 1vw, 2.4rem); line-height: 1.05; margin: .3rem 0 .2rem; }
.scale__note { font-size: .88rem; color: var(--ink-2); }
.prose .scale { padding-left: 0; }
.prose .scale li + li { margin-top: 0; }
.scale li.is-peak .scale__num { color: var(--rust); }
/* Stat version (case study outcomes): no year label, even 2 or 3 per row */
.scale--stats { grid-template-columns: repeat(2, 1fr); margin-top: .6rem; }
@media (min-width: 700px) { .scale--stats { grid-template-columns: repeat(3, 1fr); } }
.scale--stats .scale__num { margin-top: 0; }

/* Strengths bars (About) */
.strengths { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.strength { display: grid; grid-template-columns: 7rem 1fr 2.6rem; gap: 1rem; align-items: center; font-size: .95rem; }
.strength__bar { height: 6px; background: var(--paper-3); border-radius: 999px; overflow: hidden; }
.strength__bar span { display: block; height: 100%; width: var(--v); background: var(--rust); border-radius: inherit; transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) .2s; }
.is-visible .strength__bar span { transform: scaleX(1); }
.strength__val { text-align: right; color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .strength__bar span { transform: none; } }

/* Compact "more work" list */
.more-work { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; gap: 0 3rem; border-top: 1px solid var(--line); }
@media (min-width: 800px) { .more-work { grid-template-columns: 1fr 1fr; } }
.more-work > li { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.more-work h3 { margin-bottom: .35rem; }
.more-work p { color: var(--ink-2); font-size: .97rem; }
.more-work .tags { margin-top: .7rem; }

/* Tools & systems */
.tools { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .tools { grid-template-columns: repeat(5, 1fr); } }
.tool { background: var(--paper); display: flex; flex-direction: column; }
.tool__name { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: .95rem; line-height: 1.3; padding: 1.1rem 1.2rem .9rem; flex: 1; }
.tool__name svg { width: 1.45rem; height: 1.45rem; flex: none; fill: var(--ink); color: var(--ink); transition: fill .3s var(--ease), color .3s var(--ease); }
.tool:hover .tool__name svg { fill: var(--brand, var(--rust)); color: var(--brand, var(--rust)); }
.tool__use { font-size: .88rem; color: var(--ink-2); padding: .9rem 1.2rem 1.1rem; border-top: 1px solid var(--line); }

/* Note to the in-house marketer (team development page) */
.pitch-box { margin-top: 2.2rem !important; padding: 1.6rem 1.7rem; border: 1px solid rgba(244, 239, 231, .2); border-radius: var(--radius); }
.pitch-box__title { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.15; color: var(--on-deep); margin-bottom: .6rem; }
.pitch-box p { color: var(--on-deep-2); }
.pitch-box p + p { margin-top: 1rem; }
.pitch-box .btn { margin-top: .4rem; }

/* Interests */
.interests { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.interests li { border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font-size: .95rem; background: var(--paper); }

/* 8. Page-specific ------------------------------------------------------ */
.intro-quote { font-family: var(--f-display); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); line-height: 1.3; }
.split-list { display: grid; gap: 1.4rem; margin-top: 2.4rem; }
@media (min-width: 760px) { .split-list { grid-template-columns: 1fr 1fr; } }
.split-list > div { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.split-list h3 { margin-bottom: .5rem; }
.split-list p { color: var(--ink-2); }
.who { display: grid; gap: 0; margin-top: 2.6rem; list-style: none; padding: 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .who { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; } }
.who li { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.who strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.55rem; line-height: 1.15; margin-bottom: .35rem; }
.who span { color: var(--ink-2); font-size: .97rem; }

/* 9. Footer ------------------------------------------------------------- */
.site-footer { background: var(--deep); color: var(--on-deep); padding-block: clamp(3.5rem, 7vw, 6rem) 2rem; font-size: .95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #e08a5f; }
.footer__top { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(241, 235, 225, .15); }
@media (min-width: 800px) { .footer__top { grid-template-columns: 2fr 1fr 1fr; } }
.footer__name { font-family: var(--f-display); font-size: clamp(2.4rem, 2rem + 2vw, 3.6rem); line-height: 1; }
.footer__role { color: var(--on-deep-2); margin-top: .6rem; }
.footer__heading { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-deep-2); margin-bottom: 1rem; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: .82rem; color: var(--on-deep-2); }
.footer__bottom ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }

/* 10. Motion ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .scribble path { stroke-dashoffset: 0; }
}

/* 11. Placeholders -------------------------------------------------------
   Anything wrapped in .todo still needs real content from Aisha.
   Search the project for "todo" to find them all. Remove before launch. */
.todo {
  background: repeating-linear-gradient(-45deg, rgba(232, 184, 60, .28) 0 8px, rgba(232, 184, 60, .16) 8px 16px);
  outline: 1px dashed #b98a12; outline-offset: 2px; border-radius: 2px;
}
.todo-block { padding: 1rem 1.2rem; }
.todo-block::before { content: "To confirm · "; font: 600 .72rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: #8a6508; }

/* Print */
@media print {
  .site-header, .site-footer, .nav-toggle, .btn, .filters, .toc { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}
