/* ==========================================================================
   Motive & Method
   A quiet, editorial design system for a marketing philosophy practice.

   Contents
   01. Tokens
   02. Reset & base
   03. Accessibility helpers
   04. Layout
   05. Typography
   06. Header & navigation
   07. Buttons & links
   08. Hero
   09. Sections & components
   10. Essay cards & article pages
   11. Forms
   12. Footer
   13. Motion
   14. Print
   ========================================================================== */

/* 00. Fonts — self-hosted, SIL Open Font License 1.1 ----------------------- */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 01. Tokens ---------------------------------------------------------------- */

:root {
  color-scheme: light;

  --paper: #f5f1e9;
  --paper-2: #faf7f1;
  --surface: #fffdf9;

  --ink: #191512;
  --ink-2: #3d3630;
  --muted: #6a6158;

  --line: #ddd4c6;
  --line-2: #c6baa8;

  --accent: #7b2d26;
  --accent-2: #a3463a;
  --accent-soft: #f1e3de;
  --on-accent: #fffaf4;

  --focus: #1d5f8a;
  --shadow: 0 1px 2px rgba(25, 21, 18, 0.05), 0 18px 40px -24px rgba(25, 21, 18, 0.22);

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1180px;
  --measure: 68ch;
  --radius: 3px;

  --space-section: clamp(3.75rem, 8vw, 7.5rem);
  --header-h: 4.5rem;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.28s;
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --paper: #12100e;
  --paper-2: #171411;
  --surface: #1b1815;

  --ink: #f3eee6;
  --ink-2: #d8d0c5;
  --muted: #a89e92;

  --line: #2f2924;
  --line-2: #453d34;

  --accent: #e0907f;
  --accent-2: #efb1a2;
  --accent-soft: #2a1c18;
  --on-accent: #1a1210;

  --focus: #8fc6ee;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 40px -24px rgba(0, 0, 0, 0.6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    --paper: #12100e;
    --paper-2: #171411;
    --surface: #1b1815;

    --ink: #f3eee6;
    --ink-2: #d8d0c5;
    --muted: #a89e92;

    --line: #2f2924;
    --line-2: #453d34;

    --accent: #e0907f;
    --accent-2: #efb1a2;
    --accent-soft: #2a1c18;
    --on-accent: #1a1210;

    --focus: #8fc6ee;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 40px -24px rgba(0, 0, 0, 0.6);
  }
}

/* 02. Reset & base ---------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button {
  font: inherit;
  color: inherit;
}

:target {
  scroll-margin-top: calc(var(--header-h) + 2rem);
}

/* 03. Accessibility helpers ------------------------------------------------- */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 1px;
}

/* Remove the default outline only when :focus-visible is supported. */
:focus:not(:focus-visible) {
  outline: none;
}

/* 04. Layout ---------------------------------------------------------------- */

.container {
  width: min(100% - clamp(2.5rem, 10vw, 5rem), var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - clamp(2.5rem, 10vw, 5rem), 860px);
  margin-inline: auto;
}

.section {
  padding-block: var(--space-section);
}

.section--ruled {
  border-top: 1px solid var(--line);
}

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section--paper2 {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}

/* Contact journey ---------------------------------------------------------- */

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.path-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1.25rem, 3vw, 1.85rem);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
}

.path-card h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  line-height: 1.2;
}

.path-card > p:not(.eyebrow):not(.meta) {
  color: var(--muted);
  font-size: 0.98rem;
}

.path-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.stack > * + * {
  margin-top: 1.15rem;
}

.stack--tight > * + * {
  margin-top: 0.65rem;
}

/* Small layout utilities. Kept here so the CSP does not need to allow
   inline style attributes. */
.mt-0 { margin-top: 0; }
.mt-04 { margin-top: 0.4rem; }
.mt-1 { margin-top: 1rem; }
.mt-125 { margin-top: 1.25rem; }
.mt-15 { margin-top: 1.5rem; }
.mt-175 { margin-top: 1.75rem; }
.mt-2 { margin-top: 2rem; }
.panel-pad { padding: clamp(2rem, 5vw, 3rem); }
.display-sm { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.flush-top { margin-top: 0; border-top: 0; }

/* 05. Typography ------------------------------------------------------------ */

.display,
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  color: var(--ink);
  text-wrap: balance;
}

h1,
.h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
}

h2,
.h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

h3,
.h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.22;
  letter-spacing: -0.008em;
}

h4,
.h4 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.4;
}

.lede {
  font-size: clamp(1.1rem, 1.7vw, 1.32rem);
  line-height: 1.62;
  color: var(--ink-2);
  text-wrap: pretty;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.9rem;
  line-height: 1.6;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-2);
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.prose {
  max-width: var(--measure);
}

.prose p + p {
  margin-top: 1.15em;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* 06. Header & navigation --------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px -20px rgba(25, 21, 18, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  width: 27px;
  height: 27px;
  overflow: visible;
}

.brand-mark circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.brand-mark circle:last-child {
  stroke: var(--accent);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.16rem;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}

.brand-name .amp {
  color: var(--accent);
  font-style: italic;
}

.site-nav {
  margin-left: auto;
}

.nav-mobile-only {
  display: none;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.9rem);
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-block;
  padding-block: 0.35rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink-2);
  transition: color var(--dur) var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--ink-2);
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--line-2);
  background: var(--paper-2);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}

.nav-toggle-icon {
  display: grid;
  gap: 4px;
  width: 16px;
}

.nav-toggle-icon span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

/* 07. Buttons & links ------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  padding: 0.78rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.btn .arrow {
  transition: transform var(--dur) var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--paper-2);
}

.btn--on-dark {
  border-color: color-mix(in srgb, var(--paper) 30%, transparent);
  color: var(--paper);
}

.btn--on-dark:hover {
  border-color: var(--paper);
  background: color-mix(in srgb, var(--paper) 10%, transparent);
  color: var(--paper);
}

.btn--inverse {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn--inverse:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.btn--sm {
  min-height: 2.4rem;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 0.15rem;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.link-arrow:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.link-arrow .arrow {
  transition: transform var(--dur) var(--ease);
}

.link-arrow:hover .arrow {
  transform: translateX(3px);
}

/* 08. Hero ------------------------------------------------------------------ */

.hero {
  padding-block: clamp(3.25rem, 7vw, 6.5rem) clamp(2.75rem, 5vw, 4.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 0.58fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: end;
}

.hero-copy {
  max-width: 44ch;
}

.hero h1 {
  margin-top: 1.1rem;
}

.hero .lede {
  margin-top: 1.6rem;
  max-width: 48ch;
}

.hero .btn-row {
  margin-top: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 2.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-meta span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-2);
}

.field-note {
  position: relative;
  padding: 1.6rem 1.5rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.field-note::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
}

.field-note .eyebrow {
  font-size: 0.66rem;
  color: var(--muted);
}

.field-note blockquote {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.field-note figcaption {
  margin-top: 1.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.page-hero {
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2.25rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}

.page-hero .lede {
  margin-top: 1.4rem;
  max-width: 58ch;
}

.page-hero .meta {
  margin-top: 1.5rem;
}

/* 09. Sections & components ------------------------------------------------- */

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head > div {
  max-width: 60ch;
}

.section-head h2 {
  margin-top: 0.6rem;
}

.section-lead {
  max-width: 46ch;
  color: var(--muted);
  font-size: 1rem;
}

.pullquote {
  margin: 0;
  padding-left: clamp(1.1rem, 2.5vw, 1.75rem);
  border-left: 2px solid var(--accent);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.28;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}

.pullquote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-style: normal;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.principle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: clamp(1.5rem, 2.5vw, 2rem);
  border-top: 1px solid var(--line);
}

.principle:last-child {
  border-bottom: 1px solid var(--line);
}

.principle-num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent);
  padding-top: 0.2rem;
  font-variant-numeric: tabular-nums;
}

.principle h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.principle p {
  margin-top: 0.5rem;
  color: var(--muted);
  max-width: 54ch;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) auto;
  gap: 1.5rem 2.5rem;
  align-items: start;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background-color var(--dur) var(--ease);
}

.service-row:last-of-type {
  border-bottom: 1px solid var(--line);
}

.service-row h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
}

.service-row .service-price {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.service-row p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 52ch;
}

.service-row .arrow {
  font-size: 1.1rem;
  color: var(--accent);
  transition: transform var(--dur) var(--ease);
}

.service-row:hover .arrow {
  transform: translateX(4px);
}

.service-row:hover h3 {
  color: var(--accent);
}

.cta-band {
  background: var(--ink);
  color: var(--paper);
}

.cta-band h2 {
  color: var(--paper);
}

.cta-band .eyebrow {
  color: inherit;
  opacity: 0.72;
}

.cta-band .lede {
  color: color-mix(in srgb, var(--paper) 78%, transparent);
}

.cta-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.cta-band .form-note,
.cta-band .small {
  color: color-mix(in srgb, var(--paper) 70%, transparent);
}

.cta-band .field label {
  color: color-mix(in srgb, var(--paper) 85%, transparent);
}

.cta-band .field .hint {
  color: color-mix(in srgb, var(--paper) 72%, transparent);
}

.cta-band input[type="email"] {
  background: color-mix(in srgb, var(--paper) 10%, transparent);
  border-color: color-mix(in srgb, var(--paper) 28%, transparent);
  color: var(--paper);
}

.cta-band input[type="email"]::placeholder {
  color: color-mix(in srgb, var(--paper) 55%, transparent);
}

.cta-band input[type="email"]:focus-visible {
  outline-color: var(--paper);
}

.callout {
  padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(1.2rem, 3vw, 1.9rem);
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
}

.callout h2,
.callout h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.callout p {
  margin-top: 0.6rem;
  max-width: 60ch;
}

.callout p:first-of-type {
  margin-top: 0.5rem;
}

.faq {
  max-width: 760px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding-block: 1.15rem;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.02rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq details p {
  margin-top: 0.85rem;
  max-width: 62ch;
  color: var(--muted);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-block: 1px solid var(--line);
}

.stat .stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat .stat-label {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.steps {
  counter-reset: step;
  list-style: none;
  display: grid;
  gap: 0;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps li::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--accent);
  padding-top: 0.2rem;
}

.steps h3 {
  font-size: 1.2rem;
}

.steps p {
  margin-top: 0.35rem;
  color: var(--muted);
  max-width: 58ch;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-2);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.55rem;
  height: 0.3rem;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* Testimonials ------------------------------------------------------------- */

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
}

.testimonial blockquote {
  flex: 1;
}

.testimonial blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink);
  text-wrap: pretty;
}

.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.testimonial__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.testimonial__role {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* Brand guidelines page ---------------------------------------------------- */

.brand-note {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.brand-note__number {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--accent);
}

.brand-note h3 {
  margin-top: 0.4rem;
  font-size: 1.5rem;
}

.brand-note p:last-child {
  margin-top: 0.5rem;
  max-width: 32ch;
  color: var(--muted);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.brand-mark--display {
  width: clamp(3rem, 7vw, 5rem);
  height: clamp(3rem, 7vw, 5rem);
}

.brand-lockup__name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-lockup__name .amp {
  color: var(--accent);
  font-style: italic;
}

.brand-inverse {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
}

.brand-inverse > span {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.brand-inverse .amp {
  color: var(--accent);
  font-style: italic;
}

.brand-inverse small {
  margin-left: auto;
  color: var(--paper);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.checklist--dont li::before {
  content: "\00d7";
  top: -0.05em;
  width: auto;
  height: auto;
  border: 0;
  transform: none;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--muted);
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.swatch {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.swatch__chip {
  display: flex;
  align-items: flex-end;
  min-height: 5.5rem;
  padding: 0.85rem;
  background: var(--swatch);
  color: var(--swatch-on);
}

.swatch__chip span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.swatch__meta {
  padding: 0.9rem 1rem 1.1rem;
}

.swatch__name {
  font-size: 0.9rem;
  font-weight: 600;
}

.swatch__hex {
  margin-top: 0.15rem;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.swatch__use {
  margin-top: 0.55rem;
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--muted);
}

.tone-ink { --swatch: #191512; --swatch-on: #f3eee6; }
.tone-parchment { --swatch: #f5f1e9; --swatch-on: #191512; }
.tone-paper { --swatch: #faf7f1; --swatch-on: #191512; }
.tone-oxblood { --swatch: #7b2d26; --swatch-on: #fffaf4; }
.tone-clay { --swatch: #a3463a; --swatch-on: #fffaf4; }
.tone-grey { --swatch: #6a6158; --swatch-on: #fffaf4; }
.tone-rule { --swatch: #ddd4c6; --swatch-on: #191512; }
.tone-rose { --swatch: #e0907f; --swatch-on: #191512; }

.brand-colour-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.brand-colour-notes h3 {
  margin-bottom: 0.45rem;
}

.brand-colour-notes p {
  max-width: 42ch;
  color: var(--muted);
  font-size: 0.92rem;
}

.brand-subhead {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.brand-subhead h3 {
  margin-top: 0.6rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.brand-subhead .section-lead {
  margin-top: 0.75rem;
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.palette {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.palette__preview {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 13rem;
  padding: 1.25rem;
  background: var(--p-bg);
  color: var(--p-ink);
}

.palette__eyebrow {
  font-size: 0.64rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--p-muted);
}

.palette__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.palette__rule {
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--p-accent);
}

.palette__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 1.25rem 1.25rem;
}

.palette__body h3 {
  font-size: 1.15rem;
}

.palette__body p {
  color: var(--muted);
  font-size: 0.9rem;
}

.palette__tokens {
  display: grid;
  gap: 0.3rem;
  margin-top: auto;
  padding-top: 0.6rem;
  font-size: 0.76rem;
}

.palette__tokens div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}

.palette__tokens dt {
  color: var(--muted);
}

.palette__tokens dd {
  font-variant-numeric: tabular-nums;
}

.palette--teal {
  --p-bg: #f4f3ee;
  --p-ink: #14201f;
  --p-muted: #5e6b68;
  --p-accent: #145c5a;
  --p-line: #d7dcd7;
}

.palette--navy {
  --p-bg: #f5f0e6;
  --p-ink: #14171c;
  --p-muted: #5f625f;
  --p-accent: #1f3a5f;
  --p-line: #d9d3c6;
}

.palette--forest {
  --p-bg: #f4f1e7;
  --p-ink: #171c18;
  --p-muted: #5e655d;
  --p-accent: #2f5d46;
  --p-line: #d8d8c9;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.type-card {
  padding-top: 1rem;
  border-top: 2px solid var(--accent);
}

.type-display {
  margin-top: 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.type-body {
  margin-top: 0.8rem;
  font-size: clamp(1.3rem, 2.7vw, 1.9rem);
  line-height: 1.35;
}

.type-card p.small {
  margin-top: 0.9rem;
  max-width: 38ch;
}

.brand-spec {
  display: grid;
  border-top: 1px solid var(--line);
}

.brand-spec div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.brand-spec dt {
  padding-top: 0.15rem;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-spec dd {
  color: var(--ink-2);
}

.brand-rule {
  padding-top: 1rem;
  border-top: 2px solid var(--accent);
}

.brand-rule h3 {
  font-size: 1.3rem;
}

.brand-rule p {
  margin-top: 0.45rem;
  max-width: 38ch;
  color: var(--muted);
}

.brand-image-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.brand-image-notes p {
  margin-top: 0.45rem;
  max-width: 54ch;
  color: var(--muted);
}

.do-dont {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.do-dont__col {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
}

.do-dont__col--dont {
  border-top-color: var(--line-2);
}

.do-dont__col h3 {
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.do-dont__col ul {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
  list-style: none;
}

.do-dont__col li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.do-dont__col--do li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.do-dont__col--dont li::before {
  content: "\00d7";
  position: absolute;
  left: 0;
  color: var(--muted);
  font-weight: 600;
}

.deck-mock {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 1rem;
  aspect-ratio: 16 / 9;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.deck-mock__eyebrow {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.deck-mock__title {
  align-self: end;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.deck-mock__rule {
  display: block;
  width: 3rem;
  height: 2px;
  background: var(--accent);
}

.deck-mock__footer {
  font-size: 0.72rem;
  color: var(--muted);
}

.brand-deck-notes {
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.8fr;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.deck-list {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.8rem;
  list-style: none;
  counter-reset: deck;
}

.deck-list li {
  display: flex;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  counter-increment: deck;
}

.deck-list li::before {
  content: counter(deck, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--accent);
}

.deck-swatches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.25rem;
  margin-top: 0.8rem;
  list-style: none;
}

.deck-swatch {
  display: flex;
  align-items: flex-end;
  min-height: 3.5rem;
  padding: 0.35rem;
  background: var(--swatch);
  color: var(--swatch-on);
  border: 1px solid var(--line);
  border-radius: 1px;
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deck-tokens p {
  margin-top: 0.6rem;
}

/* 10. Essay cards & article pages ------------------------------------------- */

.essay-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.essay-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-block: 1px solid var(--line);
  align-items: center;
}

.essay-card h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.62rem);
  line-height: 1.18;
}

.essay-card h3 a {
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--dur) var(--ease), color var(--dur) var(--ease);
}

.essay-card h3 a:hover {
  color: var(--accent);
  background-size: 100% 1px;
}

.essay-card p {
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 48ch;
}

.essay-card .meta {
  margin-top: auto;
  padding-top: 0.4rem;
}

.essay-card--featured h3 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.essay-card--featured p {
  font-size: 1.05rem;
}

.essay-card--featured .featured-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}

.essay-card--featured .featured-mark::before,
.essay-card--featured .featured-mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line-2);
}

.essay-card--featured .featured-mark::before {
  width: 62%;
  aspect-ratio: 1;
}

.essay-card--featured .featured-mark::after {
  width: 38%;
  aspect-ratio: 1;
  border-color: var(--accent);
}

.essay-card--featured .featured-mark span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  color: var(--accent);
  background: var(--paper-2);
  padding: 0.2rem 0.5rem;
}

/* Tool directory ----------------------------------------------------------- */

.tool-criteria {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  padding-block: clamp(1.25rem, 2.5vw, 1.75rem);
  border-block: 1px solid var(--line);
}

.tool-criteria h3 {
  margin-top: 0.45rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.tool-criteria p:last-child {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.tool-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
}

.tool-featured + .tool-featured {
  margin-top: 1.5rem;
}

.tool-featured__body h3 {
  margin-top: 0.75rem;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.1;
}

.tool-featured__body h3 a {
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--dur) var(--ease), color var(--dur) var(--ease);
}

.tool-featured__body h3 a:hover {
  color: var(--accent);
  background-size: 100% 1px;
}

.tool-featured__body h3 + p {
  margin-top: 1rem;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.68;
}

.tool-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.25rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  list-style: none;
}

.tool-facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}

.tool-facts span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.tool-featured .btn-row {
  margin-top: 1.75rem;
}

.tool-featured__aside {
  align-self: stretch;
  padding-left: clamp(1rem, 2.5vw, 2rem);
  border-left: 1px solid var(--line);
}

.tool-featured__aside .checklist {
  margin-top: 1rem;
}

.tool-featured__aside .checklist li {
  font-size: 0.92rem;
  line-height: 1.55;
}

.tool-group {
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.tool-group__head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: end;
  gap: 0.75rem 3rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.tool-group__head h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.tool-group__head > p {
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.98rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem 1.15rem 1rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.tool-card:hover {
  background: var(--surface);
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}

.tool-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.tool-card h3 {
  font-size: 1.12rem;
  line-height: 1.25;
}

.tool-card h3 a {
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--dur) var(--ease), color var(--dur) var(--ease);
}

.tool-card h3 a:hover {
  color: var(--accent);
  background-size: 100% 1px;
}

.tool-license {
  flex: none;
  padding: 0.18rem 0.4rem;
  border: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.tool-desc {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.tool-card__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.tool-stars {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.article-head {
  padding-block: clamp(2.75rem, 5vw, 4.5rem) clamp(1.75rem, 3vw, 2.5rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  list-style: none;
  margin-bottom: 1.6rem;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--line-2);
}

.breadcrumb a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.breadcrumb a:hover {
  border-color: var(--line-2);
}

.article-head h1 {
  max-width: 22ch;
}

.article-head .lede {
  margin-top: 1.4rem;
  max-width: 60ch;
}

.article-head .meta {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.article-body {
  max-width: 72ch;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.article-body > p,
.article-body > ul,
.article-body > ol {
  font-size: clamp(1.05rem, 1.5vw, 1.15rem);
  line-height: 1.78;
}

.article-body > p + p {
  margin-top: 1.25em;
}

.article-body > h2 {
  margin-top: 2.4em;
  margin-bottom: 0.6em;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.article-body > h3 {
  margin-top: 1.9em;
  margin-bottom: 0.4em;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.article-body > ul,
.article-body > ol {
  margin-top: 1em;
  margin-bottom: 1.4em;
  padding-left: 1.3rem;
}

.article-body li + li {
  margin-top: 0.45em;
}

.article-body blockquote {
  margin: 2em 0;
  padding-left: clamp(1.1rem, 2.5vw, 1.6rem);
  border-left: 2px solid var(--accent);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
  line-height: 1.35;
  color: var(--ink-2);
}

.article-body blockquote cite {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-style: normal;
  color: var(--muted);
}

.article-body .callout {
  margin-block: 2em;
}

.article-body .callout p {
  font-size: 1rem;
  line-height: 1.7;
}

.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

.article-body a:hover {
  text-decoration-color: var(--accent);
}

.article-body hr {
  margin-block: 2.5rem;
}

.article-foot {
  max-width: 72ch;
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.article-foot h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-foot ul {
  margin-top: 1rem;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.article-foot li {
  font-size: 0.95rem;
  color: var(--ink-2);
}

.author-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  margin-top: 2.5rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.author-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--accent);
  background: var(--surface);
}

.author-box h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.author-box p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--ink-2);
}

.related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.concept-group {
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}

.concept-group h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
}

.concept-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
  margin-top: 1.5rem;
}

.concept {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.concept h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.concept p {
  margin-top: 0.4rem;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--muted);
}

.concept .concept-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}

/* 11. Forms ---------------------------------------------------------------- */

.form {
  display: grid;
  gap: 1.1rem;
}

/* Honeypot: present for bots, out of view and out of the tab order for people. */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label,
.field .label {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.field .hint {
  font-size: 0.8rem;
  color: var(--muted);
}

input[type="text"],
input[type="email"],
input[type="url"],
select,
textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.68rem 0.8rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--muted);
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 1.25rem, calc(100% - 0.8rem) 1.25rem;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.inline-form input[type="email"] {
  flex: 1 1 15rem;
  width: auto;
}

.form-note {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
}

.form-status {
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: 0.9rem;
}

.form-status:empty {
  display: none;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--ink-2);
}

.checkbox input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.22rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}

/* 12. Footer ---------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.footer-brand .brand {
  margin-bottom: 1.1rem;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.footer-note {
  margin-top: 0.75rem;
  max-width: 34ch;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.footer-nav ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.footer-nav a,
.footer-contact a {
  font-size: 0.92rem;
  color: var(--ink-2);
  text-decoration: none;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer-contact p {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
}

.footer-legal a {
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* 13. Motion ---------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* 14. Responsive ------------------------------------------------------------ */

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-copy {
    max-width: 52ch;
  }

  .field-note {
    max-width: 32rem;
  }

  .tool-criteria {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-featured {
    grid-template-columns: 1fr;
  }

  .tool-featured__aside {
    padding-top: 1.5rem;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-band-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1000px) {
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 1.25rem clamp(1.25rem, 5vw, 2.5rem) 1.5rem;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav li + li {
    border-top: 1px solid var(--line);
  }

  .site-nav li.nav-mobile-only {
    display: block;
  }

  .site-nav a {
    display: block;
    padding-block: 0.9rem;
    font-size: 1rem;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a[aria-current="page"] {
    color: var(--accent);
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .header-cta {
    display: none;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
  }

  .grid--3,
  .grid--2,
  .related,
  .concept-list,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-group__head {
    grid-template-columns: 1fr;
  }

  .essay-card--featured {
    grid-template-columns: 1fr;
  }

  .essay-card--featured .featured-mark {
    order: -1;
    aspect-ratio: 16 / 7;
  }

  .service-row {
    grid-template-columns: 1fr auto;
    gap: 0.5rem 1.5rem;
  }

  .service-row p {
    grid-column: 1 / -1;
  }

  .service-row .arrow {
    grid-row: 1;
    grid-column: 2;
    align-self: center;
  }

  .brand-colour-notes,
  .palette-grid,
  .type-grid,
  .brand-image-notes,
  .do-dont,
  .brand-deck-notes {
    grid-template-columns: 1fr;
  }

  .brand-deck-notes {
    gap: 1.75rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .tool-grid,
  .tool-criteria {
    grid-template-columns: 1fr;
  }

  .brand-spec div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .brand-lockup {
    flex-wrap: wrap;
  }

  .brand-inverse small {
    margin-left: 0;
    flex-basis: 100%;
  }

  .deck-swatches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tool-facts {
    gap: 1rem 1.5rem;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .path-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  .hero-meta {
    font-size: 0.7rem;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .btn {
    width: 100%;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .inline-form .btn {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .swatch-grid {
    grid-template-columns: 1fr;
  }

  .deck-swatches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-inner {
    gap: 0.5rem;
  }

  .brand-name {
    font-size: 1rem;
  }

  .nav-toggle {
    padding-inline: 0.6rem;
  }

  .nav-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}

/* 15. Print ---------------------------------------------------------------- */

@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .btn,
  .cta-band,
  .related,
  .article-foot,
  .theme-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .article-body,
  .article-head {
    max-width: none;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .article-body a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
  }
}
