/*
  Five Creative site wireframe on Untitled UI v8.0 (01/11/2026). Layout and values only: the full
  design pass comes later.

  Sources, recorded in docs/design-basics.md:
  - Tokens: the Untitled UI PRO VARIABLES Figma file (type, spacing, radius, widths, buttons).
  - Section layouts: Untitled UI's live React previews, measured at 1440 px.

  Fluid sizes: each clamp() runs from the Untitled UI mobile value at 320 px to the desktop value
  at 1280 px, so sizes scale between the two measured ends instead of jumping at a breakpoint.
  Formula: clamp(min, min - (max - min) / 3 + (max - min) / 9.6 * 1vw, max), in rem.
  theme.json produces the same output from fluid font sizes and clamp spacing presets.

  Token names match what theme.json outputs, so this file converts to the block theme as is.
*/

@font-face {
  font-family: "Inter";
  src: url("../../assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Colour: Untitled UI neutrals, Five navy as the brand colour */
  --wp--preset--color--text-primary: #171717;
  --wp--preset--color--text-secondary: #404040;
  --wp--preset--color--text-tertiary: #525252;
  --wp--preset--color--border-primary: #d4d4d4;
  --wp--preset--color--border-secondary: #e5e5e5;
  --wp--preset--color--bg-primary: #ffffff;
  --wp--preset--color--bg-secondary: #fafafa;
  --wp--preset--color--bg-tertiary: #f5f5f5;
  --wp--preset--color--brand-solid: #1f3142;

  /* Type: Untitled UI scale. Fixed sizes, then fluid ones (mobile value to desktop value) */
  --wp--preset--font-family--body: "Inter", system-ui, sans-serif;
  --wp--preset--font-size--display-xs: 1.5rem;    /* 24 / 32 */
  --wp--preset--font-size--text-xl: 1.25rem;      /* 20 / 30 */
  --wp--preset--font-size--text-lg: 1.125rem;     /* 18 / 28 */
  --wp--preset--font-size--text-md: 1rem;         /* 16 / 24 */
  --wp--preset--font-size--text-sm: 0.875rem;     /* 14 / 20 */
  --wp--preset--font-size--text-xs: 0.75rem;      /* 12 / 18 */
  --wp--preset--font-size--hero: clamp(2.25rem, 1.75rem + 2.5vw, 3.75rem);              /* 36 to 60 */
  --wp--preset--font-size--page-title: clamp(2.25rem, 2rem + 1.25vw, 3rem);             /* 36 to 48 */
  --wp--preset--font-size--section-title: clamp(1.875rem, 1.75rem + 0.625vw, 2.25rem);  /* 30 to 36 */
  --wp--preset--font-size--quote: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);             /* 24 to 36 */
  --wp--preset--font-size--lead: clamp(1.5rem, 1.375rem + 0.625vw, 1.875rem);           /* 24 to 30 */
  --wp--preset--font-size--supporting: clamp(1.125rem, 1.0833rem + 0.2083vw, 1.25rem);  /* 18 to 20 */

  /* Spacing: Untitled UI scale, then fluid section spacing */
  --wp--preset--spacing--xxs: 0.125rem;  /* 2 */
  --wp--preset--spacing--xs: 0.25rem;    /* 4 */
  --wp--preset--spacing--sm: 0.375rem;   /* 6 */
  --wp--preset--spacing--md: 0.5rem;     /* 8 */
  --wp--preset--spacing--lg: 0.75rem;    /* 12 */
  --wp--preset--spacing--xl: 1rem;       /* 16 */
  --wp--preset--spacing--2xl: 1.25rem;   /* 20 */
  --wp--preset--spacing--3xl: 1.5rem;    /* 24 */
  --wp--preset--spacing--4xl: 2rem;      /* 32 */
  --wp--preset--spacing--5xl: 2.5rem;    /* 40 */
  --wp--preset--spacing--6xl: 3rem;      /* 48 */
  --wp--preset--spacing--7xl: 4rem;      /* 64 */
  --wp--preset--spacing--9xl: 6rem;      /* 96 */
  --wp--preset--spacing--section: clamp(4rem, 3.3333rem + 3.3333vw, 6rem);     /* 64 to 96 */
  --wp--preset--spacing--gutter: clamp(1rem, 0.6667rem + 1.6667vw, 2rem);      /* 16 to 32 */
  --wp--preset--spacing--header-gap: clamp(3rem, 2.6667rem + 1.6667vw, 4rem);  /* 48 to 64 */
  --wp--preset--spacing--grid-row: clamp(3rem, 2.6667rem + 1.6667vw, 4rem);    /* 48 to 64 */

  /* Layout, radius and shadow */
  --wp--custom--container--max: 80rem;      /* 1280 */
  --wp--custom--width--header: 48rem;       /* 768, section header */
  --wp--custom--width--prose: 45rem;        /* 720, paragraph max */
  --wp--custom--width--quote: 67.5rem;      /* 1080, testimonial */
  --wp--custom--width--text: 36rem;         /* 576, alternating layout text */
  --wp--custom--radius--md: 0.5rem;         /* 8 */
  --wp--custom--radius--xl: 0.75rem;        /* 12 */
  --wp--custom--radius--2xl: 1rem;          /* 16 */
  --wp--custom--radius--full: 9999px;
  --wp--custom--border--width: 1px;
  --wp--custom--border--accent: 2px;
  --wp--custom--shadow--xs: 0 1px 2px rgb(0 0 0 / 0.05);
  --wp--custom--shadow--xs-skeuomorphic: 0 1px 2px rgb(0 0 0 / 0.05), inset 0 -2px 0 rgb(0 0 0 / 0.05), inset 0 0 0 1px rgb(0 0 0 / 0.18);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--wp--preset--spacing--9xl); }
body {
  margin: 0;
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--wp--preset--font-size--text-md);
  line-height: 1.5;
  color: var(--wp--preset--color--text-primary);
  background: var(--wp--preset--color--bg-primary);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible {
  outline: var(--wp--custom--border--accent) solid var(--wp--preset--color--brand-solid);
  outline-offset: var(--wp--custom--border--accent);
  border-radius: var(--wp--custom--radius--md);
}
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: absolute; left: var(--wp--preset--spacing--xl); top: -10rem; }
.skip-link:focus { top: var(--wp--preset--spacing--xl); z-index: 10; }

/* Layout */
.container {
  max-width: var(--wp--custom--container--max);
  margin-inline: auto;
  padding-inline: var(--wp--preset--spacing--gutter);
}
.section { padding-block: var(--wp--preset--spacing--section); }
.section.is-tinted { background: var(--wp--preset--color--bg-secondary); }
.section.is-tight-top { padding-top: 0; }
.split { display: grid; gap: var(--wp--preset--spacing--header-gap); }
@media (min-width: 64rem) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split.is-1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}

/* Section header: features sections. H2 36/44, supporting 20/30, max 768, 64 to content */
.section-header { max-width: var(--wp--custom--width--header); }
.section-header.is-centred { margin-inline: auto; text-align: center; }
.section-header h2 {
  font-size: var(--wp--preset--font-size--section-title);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.section-header p {
  margin-top: var(--wp--preset--spacing--2xl);
  font-size: var(--wp--preset--font-size--supporting);
  line-height: 1.5;
  color: var(--wp--preset--color--text-tertiary);
}
.section-header + *, .section-header-row + * { margin-top: var(--wp--preset--spacing--header-gap); }
.section-header-row {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: var(--wp--preset--spacing--3xl);
}
.section-footer-link { margin-top: var(--wp--preset--spacing--6xl); }

/* Item text: H3 18/28 semibold, body 16/24 tertiary, 4 apart */
.item h3 { font-size: var(--wp--preset--font-size--text-lg); line-height: 1.556; font-weight: 600; }
.item p { margin-top: var(--wp--preset--spacing--xs); color: var(--wp--preset--color--text-tertiary); }
.item .text-link { display: inline-block; margin-top: var(--wp--preset--spacing--2xl); }
.text-link { font-weight: 600; color: var(--wp--preset--color--brand-solid); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Buttons: Untitled UI sm 36, md 40, lg 44 */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--lg); }
.wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0;
  border-radius: var(--wp--custom--radius--md);
  font: inherit; font-weight: 600;
  text-decoration: none;
  box-shadow: var(--wp--custom--shadow--xs-skeuomorphic);
  white-space: nowrap;
  cursor: pointer;
}
.wp-block-button__link.is-size-sm {
  padding: var(--wp--preset--spacing--md) calc(var(--wp--preset--spacing--lg) + var(--wp--preset--spacing--xxs));
  font-size: var(--wp--preset--font-size--text-sm); line-height: 1.25rem;
}
.wp-block-button__link.is-size-md {
  padding: calc(var(--wp--preset--spacing--md) + var(--wp--preset--spacing--xxs)) calc(var(--wp--preset--spacing--lg) + var(--wp--preset--spacing--xxs));
  font-size: var(--wp--preset--font-size--text-sm); line-height: 1.25rem;
}
.wp-block-button__link.is-size-lg {
  padding: calc(var(--wp--preset--spacing--md) + var(--wp--preset--spacing--xxs)) calc(var(--wp--preset--spacing--xl) + var(--wp--preset--spacing--xxs));
  font-size: var(--wp--preset--font-size--text-md); line-height: 1.5rem;
}
.wp-block-button__link.is-style-primary { background: var(--wp--preset--color--brand-solid); color: var(--wp--preset--color--bg-primary); }
.wp-block-button__link.is-style-secondary { background: var(--wp--preset--color--bg-primary); color: var(--wp--preset--color--text-secondary); }

/* Header: 64 tall on mobile, 72 on desktop. Mobile menu is a details element, so it works without JavaScript */
.five-header { position: relative; z-index: 5; background: var(--wp--preset--color--bg-primary); border-bottom: var(--wp--custom--border--width) solid var(--wp--preset--color--border-secondary); }
.five-header .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--wp--preset--spacing--xl);
  min-height: 4rem;
}
.five-header .content { display: flex; align-items: center; gap: var(--wp--preset--spacing--2xl); }
.five-header .logo img { height: 1.25rem; width: auto; }
.five-header .main-nav { display: none; }
.five-header nav ul { display: flex; gap: var(--wp--preset--spacing--xxs); }
.five-header nav a {
  display: inline-flex;
  padding: var(--wp--preset--spacing--xs) calc(var(--wp--preset--spacing--sm) + var(--wp--preset--spacing--xxs));
  border-radius: var(--wp--custom--radius--md);
  font-size: var(--wp--preset--font-size--text-sm); line-height: 1.25rem; font-weight: 600;
  color: var(--wp--preset--color--text-secondary);
  text-decoration: none;
}
.five-header nav a:hover, .five-header nav a[aria-current] { background: var(--wp--preset--color--bg-secondary); }
.five-header .actions { display: flex; gap: var(--wp--preset--spacing--lg); }
.five-header .actions .is-desktop { display: none; }
.mobile-menu summary { list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.five-header .mobile-menu ul { display: grid; gap: var(--wp--preset--spacing--xs); }
.mobile-menu nav a { font-size: var(--wp--preset--font-size--text-md); line-height: 1.5rem; padding: var(--wp--preset--spacing--lg) var(--wp--preset--spacing--xl); display: flex; }
.mobile-menu .wp-block-buttons { margin-top: var(--wp--preset--spacing--3xl); }
@media (min-width: 64rem) {
  .five-header .container { min-height: 4.5rem; }
  .five-header .main-nav { display: block; }
  .five-header .actions .is-desktop { display: inline-flex; }
  .mobile-menu { display: none; }
}

/* Breadcrumbs: 14/20, tertiary, slash separators */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--md); }
.breadcrumbs li { font-size: var(--wp--preset--font-size--text-sm); line-height: 1.25rem; font-weight: 500; color: var(--wp--preset--color--text-tertiary); }
.breadcrumbs li + li::before { content: "/"; margin-right: var(--wp--preset--spacing--md); color: var(--wp--preset--color--border-primary); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--wp--preset--color--brand-solid); font-weight: 600; }

/* c01 Hero, variant 1 (homepage): Figma 1316:3501 */
.wp-block-five-hero { padding-block: var(--wp--preset--spacing--section); }
.wp-block-five-hero .container { display: grid; gap: var(--wp--preset--spacing--7xl); }
.wp-block-five-hero h1 { font-size: var(--wp--preset--font-size--hero); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.wp-block-five-hero .supporting {
  margin-top: var(--wp--preset--spacing--3xl);
  font-size: var(--wp--preset--font-size--supporting); line-height: 1.5;
  color: var(--wp--preset--color--text-tertiary);
}
.wp-block-five-hero .wp-block-buttons { margin-top: var(--wp--preset--spacing--header-gap); }
.wp-block-five-hero figure img {
  width: 100%;
  border-radius: var(--wp--custom--radius--2xl);
  border: var(--wp--custom--border--width) solid var(--wp--preset--color--border-secondary);
  box-shadow: var(--wp--custom--shadow--xs);
  object-fit: cover; object-position: left top;
}
@media (min-width: 64rem) {
  .wp-block-five-hero .container { grid-template-columns: 40rem 32rem; justify-content: space-between; align-items: center; }
  .wp-block-five-hero figure img { height: 40rem; }
}

/* c01 Hero, variant 2 (inner pages): header section. Breadcrumbs, H1 36 to 48, supporting 18 to 20 */
.page-hero { padding-block: var(--wp--preset--spacing--header-gap) var(--wp--preset--spacing--section); }
.page-hero h1 {
  margin-top: var(--wp--preset--spacing--4xl);
  max-width: var(--wp--custom--width--header);
  font-size: var(--wp--preset--font-size--page-title); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em;
}
.page-hero .supporting {
  margin-top: var(--wp--preset--spacing--3xl);
  max-width: var(--wp--custom--width--header);
  font-size: var(--wp--preset--font-size--supporting); line-height: 1.5;
  color: var(--wp--preset--color--text-tertiary);
}
.page-hero .wp-block-buttons, .page-hero .tag-list { margin-top: var(--wp--preset--spacing--5xl); }
.page-hero .byline { margin-top: var(--wp--preset--spacing--3xl); font-size: var(--wp--preset--font-size--text-sm); line-height: 1.25rem; color: var(--wp--preset--color--text-tertiary); }
.page-hero .byline strong { color: var(--wp--preset--color--text-primary); font-weight: 600; }
.page-hero.is-media .container { display: grid; gap: var(--wp--preset--spacing--7xl); align-items: end; }
.page-hero.is-media figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: left top; border-radius: var(--wp--custom--radius--2xl); border: var(--wp--custom--border--width) solid var(--wp--preset--color--border-secondary); }
@media (min-width: 64rem) { .page-hero.is-media .container { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* c02 Summary: answer-first paragraph, 24 to 30 */
.summary {
  max-width: var(--wp--custom--width--header);
  font-size: var(--wp--preset--font-size--lead); line-height: 1.27; font-weight: 500;
  letter-spacing: -0.01em;
}

/* c03 Text section and core text blocks: paragraph 18/28, max 720 */
.prose { max-width: var(--wp--custom--width--prose); }
.prose > * + * { margin-top: var(--wp--preset--spacing--2xl); }
.prose p, .prose li { font-size: var(--wp--preset--font-size--text-lg); line-height: 1.556; color: var(--wp--preset--color--text-tertiary); }
.prose h2 { margin-top: var(--wp--preset--spacing--6xl); font-size: var(--wp--preset--font-size--section-title); line-height: 1.22; font-weight: 600; letter-spacing: -0.02em; }
.prose h3 { margin-top: var(--wp--preset--spacing--4xl); font-size: var(--wp--preset--font-size--text-xl); line-height: 1.5; font-weight: 600; }
.prose h2 + *, .prose h3 + * { margin-top: var(--wp--preset--spacing--xl); }
.prose ul { list-style: disc; padding-left: var(--wp--preset--spacing--3xl); }
.prose ol { list-style: decimal; padding-left: var(--wp--preset--spacing--3xl); }
.prose li + li { margin-top: var(--wp--preset--spacing--md); }
.prose a { color: var(--wp--preset--color--brand-solid); font-weight: 600; }
.prose blockquote { padding-left: var(--wp--preset--spacing--2xl); border-left: var(--wp--custom--border--accent) solid var(--wp--preset--color--border-primary); }
.prose blockquote p { font-size: var(--wp--preset--font-size--text-xl); line-height: 1.5; font-weight: 500; font-style: italic; color: var(--wp--preset--color--text-primary); }
.prose figure img { width: 100%; border-radius: var(--wp--custom--radius--xl); }
.prose figcaption { margin-top: var(--wp--preset--spacing--md); font-size: var(--wp--preset--font-size--text-sm); color: var(--wp--preset--color--text-tertiary); }
.prose.is-centred { margin-inline: auto; }

/* c03 Intro (homepage): lead line then paragraph */
.wp-block-five-intro .lead { max-width: var(--wp--custom--width--header); font-size: var(--wp--preset--font-size--lead); line-height: 1.27; font-weight: 600; }
.wp-block-five-intro p + p {
  max-width: var(--wp--custom--width--header);
  margin-top: var(--wp--preset--spacing--2xl);
  font-size: var(--wp--preset--font-size--supporting); line-height: 1.5;
  color: var(--wp--preset--color--text-tertiary);
}

/* Tag list (NEW): Untitled UI badge md, 2 by 10 padding, 14/20 medium, pill */
.tag-list { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--md); }
.tag-list li > *, .tag-list li:not(:has(> *)) {
  display: inline-flex;
  padding: var(--wp--preset--spacing--xxs) calc(var(--wp--preset--spacing--md) + var(--wp--preset--spacing--xxs));
  border: var(--wp--custom--border--width) solid var(--wp--preset--color--border-secondary);
  border-radius: var(--wp--custom--radius--full);
  background: var(--wp--preset--color--bg-secondary);
  font-size: var(--wp--preset--font-size--text-sm); line-height: 1.25rem; font-weight: 500;
  color: var(--wp--preset--color--text-secondary);
  text-decoration: none;
}
.tag-list a:hover { border-color: var(--wp--preset--color--border-primary); }
.tag-list a[aria-current] { background: var(--wp--preset--color--brand-solid); border-color: var(--wp--preset--color--brand-solid); color: var(--wp--preset--color--bg-primary); }
.tag-list.is-filters li > * { padding: var(--wp--preset--spacing--sm) var(--wp--preset--spacing--lg); }
.filters { display: grid; gap: var(--wp--preset--spacing--xl); }
.filters h2 { font-size: var(--wp--preset--font-size--text-sm); line-height: 1.25rem; font-weight: 600; color: var(--wp--preset--color--text-tertiary); }
.filters + * { margin-top: var(--wp--preset--spacing--header-gap); }

/* c08 Card grid: features-icon-cards-01. 24 apart, card padding 24 on bg-secondary */
.card-grid { display: grid; gap: var(--wp--preset--spacing--3xl); }
.card-grid > li { display: flex; flex-direction: column; padding: var(--wp--preset--spacing--3xl); background: var(--wp--preset--color--bg-secondary); }
.is-tinted .card-grid > li { background: var(--wp--preset--color--bg-primary); }
.card-grid > li .text-link { margin-top: auto; padding-top: var(--wp--preset--spacing--2xl); }
@media (min-width: 40rem) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) {
  .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* c08 Simple grid: features-simple-icons-03. Gaps 64 by 32 */
.simple-grid { display: grid; gap: var(--wp--preset--spacing--grid-row) var(--wp--preset--spacing--4xl); }
@media (min-width: 40rem) { .simple-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .simple-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* c08 Post cards (work, insights, resources): blog cards. Image 3:2, then text */
.work-grid { display: grid; gap: var(--wp--preset--spacing--grid-row) var(--wp--preset--spacing--4xl); }
@media (min-width: 40rem) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.work-grid img, .work-grid .placeholder {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: left top;
  border: var(--wp--custom--border--width) solid var(--wp--preset--color--border-secondary);
}
.work-grid .meta {
  margin-top: var(--wp--preset--spacing--2xl);
  font-size: var(--wp--preset--font-size--text-sm); line-height: 1.25rem; font-weight: 600;
  color: var(--wp--preset--color--brand-solid);
}
.work-grid h3 { margin-top: var(--wp--preset--spacing--md); font-size: var(--wp--preset--font-size--display-xs); line-height: 1.333; font-weight: 600; }
.work-grid h3 a { text-decoration: none; }
.work-grid h3 a:hover { text-decoration: underline; }
.work-grid .summary-line { margin-top: var(--wp--preset--spacing--md); color: var(--wp--preset--color--text-tertiary); }
.placeholder {
  display: grid; place-items: center; aspect-ratio: 3 / 2;
  background: var(--wp--preset--color--bg-tertiary);
  font-size: var(--wp--preset--font-size--text-sm); line-height: 1.25rem;
  color: var(--wp--preset--color--text-tertiary);
}

/* c09 Logo strip: social-proof-full-width. Line 16 medium, logos 40 tall, 32 below the line */
.wp-block-five-logo-strip { padding-block: var(--wp--preset--spacing--section); }
.wp-block-five-logo-strip h2 { text-align: center; font-size: var(--wp--preset--font-size--text-md); line-height: 1.5rem; font-weight: 500; color: var(--wp--preset--color--text-tertiary); }
.wp-block-five-logo-strip ul {
  margin-top: var(--wp--preset--spacing--4xl);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: var(--wp--preset--spacing--4xl) var(--wp--preset--spacing--6xl);
}
.wp-block-five-logo-strip img { height: 2.5rem; width: auto; }

/* c11 Steps: simple grid, numbered because it is a sequence */
.steps { counter-reset: step; }
.steps > li { counter-increment: step; }
.steps h3::before { content: counter(step) ". "; }

/* c12 Feature list and c15 commitments: items with a 2 px rule, 20 apart */
.feature-list { display: grid; gap: var(--wp--preset--spacing--2xl) var(--wp--preset--spacing--4xl); }
.feature-list > li {
  padding-left: var(--wp--preset--spacing--xl);
  border-left: var(--wp--custom--border--accent) solid var(--wp--preset--color--border-secondary);
}
.feature-list h3, .feature-list > li:not(:has(h3)) { font-size: var(--wp--preset--font-size--text-lg); line-height: 1.556; font-weight: 600; }
.feature-list p { margin-top: var(--wp--preset--spacing--xs); color: var(--wp--preset--color--text-tertiary); }
@media (min-width: 40rem) { .feature-list.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .feature-list.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 40rem) and (max-width: 63.99rem) { .feature-list.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* AI section (homepage): alternating layout text block with commitments */
.wp-block-five-ai .subline { margin-top: var(--wp--preset--spacing--md); font-size: var(--wp--preset--font-size--text-xl); line-height: 1.5; font-weight: 600; color: var(--wp--preset--color--text-secondary); }

/* c21 Partners */
.partner-list {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--wp--preset--spacing--lg) var(--wp--preset--spacing--6xl);
  font-size: var(--wp--preset--font-size--text-lg); line-height: 1.556; font-weight: 600;
}

/* c05 Testimonial: testimonial-simple-centered-01. Quote 24 to 36, max 1080, 32 to the caption */
.wp-block-five-testimonial figure { max-width: var(--wp--custom--width--quote); margin-inline: auto; text-align: center; }
.wp-block-five-testimonial blockquote { font-size: var(--wp--preset--font-size--quote); line-height: 1.25; font-weight: 500; letter-spacing: -0.02em; }
.wp-block-five-testimonial figcaption { margin-top: var(--wp--preset--spacing--4xl); }
.wp-block-five-testimonial .name { font-size: var(--wp--preset--font-size--text-lg); line-height: 1.556; font-weight: 600; }
.wp-block-five-testimonial .role { color: var(--wp--preset--color--text-tertiary); }

/* c04 Pricing (NEW): pricing-section cards. Padding 32, radius 16, price 36 to 48 */
.pricing-grid { display: grid; gap: var(--wp--preset--spacing--4xl); }
@media (min-width: 40rem) { .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) {
  .pricing-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pricing-grid.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.pricing-grid > li {
  display: flex; flex-direction: column;
  padding: var(--wp--preset--spacing--4xl);
  background: var(--wp--preset--color--bg-primary);
  border: var(--wp--custom--border--width) solid var(--wp--preset--color--border-secondary);
  border-radius: var(--wp--custom--radius--2xl);
  box-shadow: var(--wp--custom--shadow--xs);
}
.pricing-grid h3 { font-size: var(--wp--preset--font-size--text-lg); line-height: 1.556; font-weight: 600; color: var(--wp--preset--color--brand-solid); }
.pricing-grid .price { margin-top: var(--wp--preset--spacing--md); font-size: var(--wp--preset--font-size--page-title); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
.pricing-grid .price small { font-size: var(--wp--preset--font-size--text-md); line-height: 1.5; font-weight: 500; letter-spacing: 0; color: var(--wp--preset--color--text-tertiary); }
.pricing-grid .plan-note { margin-top: var(--wp--preset--spacing--lg); color: var(--wp--preset--color--text-tertiary); }
.pricing-grid ul { margin-top: var(--wp--preset--spacing--3xl); padding-top: var(--wp--preset--spacing--3xl); border-top: var(--wp--custom--border--width) solid var(--wp--preset--color--border-secondary); display: grid; gap: var(--wp--preset--spacing--lg); color: var(--wp--preset--color--text-tertiary); }
.pricing-grid .wp-block-button__link { margin-top: auto; }
.pricing-grid ul + .wp-block-button__link, .pricing-grid .plan-note + .wp-block-button__link { margin-top: var(--wp--preset--spacing--4xl); }
.pricing-details { margin-top: var(--wp--preset--spacing--6xl); }

/* c07 FAQ: faq section. Max 768, details so it works without JavaScript */
.faq { max-width: var(--wp--custom--width--header); }
.section-header.is-centred + .faq { margin-inline: auto; }
.faq details { border-top: var(--wp--custom--border--width) solid var(--wp--preset--color--border-secondary); }
.faq details:last-child { border-bottom: var(--wp--custom--border--width) solid var(--wp--preset--color--border-secondary); }
.faq summary {
  display: flex; justify-content: space-between; gap: var(--wp--preset--spacing--3xl);
  padding-block: var(--wp--preset--spacing--3xl);
  font-size: var(--wp--preset--font-size--text-lg); line-height: 1.556; font-weight: 600;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--wp--preset--color--text-tertiary); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding-bottom: var(--wp--preset--spacing--3xl); color: var(--wp--preset--color--text-tertiary); }
.faq details > div > * + * { margin-top: var(--wp--preset--spacing--lg); }

/* c06 Close: cta-simple-centered. Header then buttons 40 below */
.wp-block-five-cta .wp-block-buttons { justify-content: center; margin-top: var(--wp--preset--spacing--5xl); }
.wp-block-five-cta .text-link-row { margin-top: var(--wp--preset--spacing--3xl); text-align: center; }

/* c17 Last reviewed */
.last-reviewed { padding-block: var(--wp--preset--spacing--4xl); border-top: var(--wp--custom--border--width) solid var(--wp--preset--color--border-secondary); font-size: var(--wp--preset--font-size--text-sm); line-height: 1.25rem; color: var(--wp--preset--color--text-tertiary); }

/* Project facts (NEW): definition list, 14 label over 16 value */
.project-facts { display: grid; gap: var(--wp--preset--spacing--3xl) var(--wp--preset--spacing--4xl); padding-block: var(--wp--preset--spacing--4xl); border-block: var(--wp--custom--border--width) solid var(--wp--preset--color--border-secondary); }
@media (min-width: 40rem) { .project-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .project-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.project-facts dt { font-size: var(--wp--preset--font-size--text-sm); line-height: 1.25rem; font-weight: 600; color: var(--wp--preset--color--text-tertiary); }
.project-facts dd { margin-top: var(--wp--preset--spacing--xs); font-weight: 500; }

/* c14 Team grid: team section. Square photo, name 18/28, role 16/24 brand */
.team-grid { display: grid; gap: var(--wp--preset--spacing--grid-row) var(--wp--preset--spacing--4xl); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 64rem) { .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.team-grid img, .team-grid .placeholder { width: 100%; aspect-ratio: 1; object-fit: cover; }
.team-grid h3 { margin-top: var(--wp--preset--spacing--2xl); font-size: var(--wp--preset--font-size--text-lg); line-height: 1.556; font-weight: 600; }
.team-grid h3 a { text-decoration: none; }
.team-grid h3 a:hover { text-decoration: underline; }
.team-grid .role { color: var(--wp--preset--color--brand-solid); }
.team-grid p:not(.role) { margin-top: var(--wp--preset--spacing--lg); color: var(--wp--preset--color--text-tertiary); }

/* Person (single team member): photo beside bio */
.person { display: grid; gap: var(--wp--preset--spacing--header-gap); }
.person img, .person .placeholder { width: 100%; max-width: 24rem; aspect-ratio: 1; object-fit: cover; }
@media (min-width: 64rem) { .person { grid-template-columns: 24rem minmax(0, 1fr); } }

/* c20 Contact block and forms: inputs 10 by 14, 16 text, radius 8, labels 14/20 medium */
.contact-block { display: grid; gap: var(--wp--preset--spacing--header-gap); }
@media (min-width: 64rem) { .contact-block { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.contact-details { display: grid; gap: var(--wp--preset--spacing--4xl); align-content: start; }
.contact-details h2, .contact-details h3 { font-size: var(--wp--preset--font-size--text-lg); line-height: 1.556; font-weight: 600; }
.contact-details p, .contact-details address { margin-top: var(--wp--preset--spacing--xs); font-style: normal; color: var(--wp--preset--color--text-tertiary); }
.contact-details a { color: var(--wp--preset--color--brand-solid); font-weight: 600; }
.form { display: grid; gap: var(--wp--preset--spacing--3xl); }
.form .row { display: grid; gap: var(--wp--preset--spacing--3xl); }
@media (min-width: 40rem) { .form .row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form label, .form legend { display: block; font-size: var(--wp--preset--font-size--text-sm); line-height: 1.25rem; font-weight: 500; color: var(--wp--preset--color--text-secondary); }
.form fieldset { margin: 0; padding: 0; border: 0; }
.form input:not([type="checkbox"]):not([type="radio"]), .form select, .form textarea {
  display: block; width: 100%;
  margin-top: var(--wp--preset--spacing--sm);
  padding: calc(var(--wp--preset--spacing--md) + var(--wp--preset--spacing--xxs)) calc(var(--wp--preset--spacing--lg) + var(--wp--preset--spacing--xxs));
  font: inherit; font-size: var(--wp--preset--font-size--text-md); line-height: 1.5rem;
  color: var(--wp--preset--color--text-primary);
  background: var(--wp--preset--color--bg-primary);
  border: var(--wp--custom--border--width) solid var(--wp--preset--color--border-primary);
  border-radius: var(--wp--custom--radius--md);
  box-shadow: var(--wp--custom--shadow--xs);
}
.form textarea { min-height: 8rem; resize: vertical; }
.form .hint { margin-top: var(--wp--preset--spacing--sm); font-size: var(--wp--preset--font-size--text-sm); line-height: 1.25rem; color: var(--wp--preset--color--text-tertiary); }
.form .checks { display: grid; gap: var(--wp--preset--spacing--lg); margin-top: var(--wp--preset--spacing--lg); }
.form .checks label { display: flex; gap: var(--wp--preset--spacing--md); align-items: center; font-size: var(--wp--preset--font-size--text-md); line-height: 1.5rem; }
.form .wp-block-button__link { justify-self: start; }
.form-panel { padding: var(--wp--preset--spacing--4xl); background: var(--wp--preset--color--bg-secondary); border-radius: var(--wp--custom--radius--2xl); }
.form-panel > h2 { font-size: var(--wp--preset--font-size--display-xs); line-height: 1.333; font-weight: 600; }
.form-panel > h2 + * { margin-top: var(--wp--preset--spacing--3xl); }

/* c18 Support route (health): kept in view near the top */
.support-route { padding: var(--wp--preset--spacing--3xl); background: var(--wp--preset--color--bg-tertiary); border-radius: var(--wp--custom--radius--2xl); }
.support-route h2 { font-size: var(--wp--preset--font-size--text-lg); line-height: 1.556; font-weight: 600; }
.support-route p { margin-top: var(--wp--preset--spacing--xs); color: var(--wp--preset--color--text-tertiary); }

/* Pagination: page links 40 square, radius 8 */
.pagination { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--wp--preset--spacing--lg); margin-top: var(--wp--preset--spacing--header-gap); padding-top: var(--wp--preset--spacing--2xl); border-top: var(--wp--custom--border--width) solid var(--wp--preset--color--border-secondary); }
.pagination ol { display: flex; gap: var(--wp--preset--spacing--xxs); }
.pagination ol a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--wp--custom--radius--md); font-size: var(--wp--preset--font-size--text-sm); font-weight: 500; text-decoration: none; color: var(--wp--preset--color--text-tertiary); }
.pagination ol a[aria-current] { background: var(--wp--preset--color--bg-secondary); color: var(--wp--preset--color--text-primary); }

/* Author box (articles) */
.author-box { display: flex; gap: var(--wp--preset--spacing--xl); align-items: center; padding-top: var(--wp--preset--spacing--4xl); border-top: var(--wp--custom--border--width) solid var(--wp--preset--color--border-secondary); }
.author-box img, .author-box .placeholder { width: 3.5rem; height: 3.5rem; aspect-ratio: 1; border-radius: var(--wp--custom--radius--full); object-fit: cover; }
.author-box .name { font-weight: 600; }
.author-box .role { color: var(--wp--preset--color--text-tertiary); }

/* Footer: footer-large-01. 64 top padding, column headings 14/20 semibold, columns 32 apart */
.five-footer { padding-block: var(--wp--preset--spacing--7xl) var(--wp--preset--spacing--6xl); border-top: var(--wp--custom--border--width) solid var(--wp--preset--color--border-secondary); }
.five-footer .columns { display: grid; gap: var(--wp--preset--spacing--6xl) var(--wp--preset--spacing--4xl); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.five-footer .about { grid-column: 1 / -1; }
@media (min-width: 64rem) {
  .five-footer .columns { grid-template-columns: 2fr repeat(5, minmax(0, 1fr)); }
  .five-footer .about { grid-column: auto; }
}
.five-footer h2 { font-size: var(--wp--preset--font-size--text-sm); line-height: 1.25rem; font-weight: 600; color: var(--wp--preset--color--text-tertiary); }
.five-footer ul { margin-top: var(--wp--preset--spacing--xl); display: grid; gap: var(--wp--preset--spacing--lg); }
.five-footer ul a { font-size: var(--wp--preset--font-size--text-sm); line-height: 1.25rem; font-weight: 600; color: var(--wp--preset--color--text-secondary); text-decoration: none; }
.five-footer ul a:hover { text-decoration: underline; }
.five-footer .about p { margin-top: var(--wp--preset--spacing--xl); color: var(--wp--preset--color--text-tertiary); max-width: 20rem; }
.five-footer .partner-line { margin-top: var(--wp--preset--spacing--3xl); font-size: var(--wp--preset--font-size--text-sm); line-height: 1.25rem; font-weight: 600; color: var(--wp--preset--color--text-secondary); }
.five-footer .legal {
  margin-top: var(--wp--preset--spacing--7xl); padding-top: var(--wp--preset--spacing--4xl);
  border-top: var(--wp--custom--border--width) solid var(--wp--preset--color--border-secondary);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--wp--preset--spacing--xl);
  font-size: var(--wp--preset--font-size--text-sm); line-height: 1.25rem; color: var(--wp--preset--color--text-tertiary);
}
.five-footer .legal ul { margin: 0; display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--xl); }
.five-footer .legal ul a { font-weight: 400; color: inherit; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

/* Fixes after the first render */
.prose .tag-list { list-style: none; padding-left: 0; }
.prose .tag-list li { margin-top: 0; }
.prose .tag-list li > * { font-size: var(--wp--preset--font-size--text-sm); line-height: 1.25rem; color: var(--wp--preset--color--text-secondary); font-weight: 500; }
.pricing-grid .price small { display: block; margin-top: var(--wp--preset--spacing--xs); }
.pricing-details > li { font-size: var(--wp--preset--font-size--text-md); line-height: 1.5; font-weight: 500; }

/* Mobile menu panel: drops below the header bar, full width */
.mobile-menu .panel {
  position: absolute; left: 0; right: 0; top: 100%;
  padding: var(--wp--preset--spacing--xl) var(--wp--preset--spacing--gutter) var(--wp--preset--spacing--3xl);
  background: var(--wp--preset--color--bg-primary);
  border-bottom: var(--wp--custom--border--width) solid var(--wp--preset--color--border-secondary);
  box-shadow: var(--wp--custom--shadow--xs);
}
.mobile-menu .panel .wp-block-buttons { display: grid; }

.form-panel > * + * { margin-top: var(--wp--preset--spacing--3xl); }

/* c04 Stat row: metrics-simple. Number display-md to display-lg (36 to 48), label text-lg, gaps 64 by 32 */
.stat-row { display: grid; gap: var(--wp--preset--spacing--grid-row) var(--wp--preset--spacing--4xl); }
@media (min-width: 40rem) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .stat-row.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat-row .number { font-size: var(--wp--preset--font-size--page-title); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; color: var(--wp--preset--color--brand-solid); }
.stat-row .label { margin-top: var(--wp--preset--spacing--md); font-size: var(--wp--preset--font-size--text-lg); line-height: 1.5556; font-weight: 600; color: var(--wp--preset--color--text-primary); }
