/*
Theme Name: Prosperiam Studio
Theme URI: https://www.prosperiam.com/
Author: Prosperiam
Author URI: https://www.prosperiam.com/
Description: A lightweight custom theme for Prosperiam, an independent strategy and innovation studio.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prosperiam-studio
Tags: custom-logo, custom-menu, featured-images, editor-style, block-styles, wide-blocks
*/

:root {
  --paper: #f3efe7;
  --paper-deep: #e9e1d5;
  --card: #faf7f0;
  --ink: #151513;
  --copy: #49453f;
  --muted: #59554f;
  --teal: #006271;
  --teal-deep: #003f49;
  --pink: #f6a1ba;
  --pink-hot: #ed6f97;
  --gold: #c8942d;
  --focus: #f6a1ba;
  --container: 1480px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section: clamp(5rem, 10vw, 10rem);
  --section-tight: clamp(3.5rem, 7vw, 7rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--ink); background: var(--pink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  display: block;
  height: auto;
  left: 1rem;
  padding: .8rem 1rem;
  top: 1rem;
  width: auto;
  z-index: 100000;
  color: var(--ink);
  background: var(--pink);
  font-weight: 800;
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }
.section-tight { padding-block: var(--section-tight); }
.display {
  margin: 0;
  font-size: clamp(4.2rem, 11vw, 10.5rem);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .83;
}
.hero-display { font-size: clamp(2.7rem, 7vw, 7.5rem); }
.headline {
  margin: 0;
  font-size: clamp(2.75rem, 6vw, 6.75rem);
  font-weight: 750;
  letter-spacing: -.06em;
  line-height: .92;
}
.subhead {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
}
.editorial,
em.editorial,
.display em,
.headline em,
.subhead em {
  font-family: "Newsreader", ui-serif, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.035em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin: 0;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; }
.body-large { margin: 0; font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1.48; letter-spacing: -.025em; }
.body-copy { font-size: 1rem; line-height: 1.75; color: var(--copy); }
.ink-panel { color: var(--paper); background: var(--ink); }
.teal-panel { color: #fffaf5; background: var(--teal); }
.pink-panel { color: var(--ink); background: var(--pink); }
.paper-panel { color: var(--ink); background: var(--paper); }
.grid-lines { background-image: linear-gradient(rgba(21,21,19,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(21,21,19,.08) 1px, transparent 1px); background-size: 32px 32px; }
.icon { width: 1.05rem; height: 1.05rem; flex: 0 0 auto; }
.button-primary,
.button-secondary,
.wp-block-button__link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3.2rem;
  border-radius: 0;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms cubic-bezier(.23,1,.32,1), background-color 220ms cubic-bezier(.23,1,.32,1), color 220ms cubic-bezier(.23,1,.32,1);
}
.button-primary,
.is-style-prosperiam-primary .wp-block-button__link { padding: .9rem 1.25rem; color: var(--ink); background: var(--pink); border: 1px solid var(--pink); }
.button-primary:hover,
.is-style-prosperiam-primary .wp-block-button__link:hover { background: #ffb1c8; transform: translateY(-2px); }
.button-secondary,
.is-style-prosperiam-outline .wp-block-button__link { padding: .9rem 1.25rem; color: inherit; background: transparent; border: 1px solid currentColor; }
.button-secondary:hover,
.is-style-prosperiam-outline .wp-block-button__link:hover { color: var(--paper); background: var(--ink); transform: translateY(-2px); }
.text-link { min-height: auto; padding-bottom: .2rem; border-bottom: 2px solid currentColor; }
.text-link:hover { color: var(--pink-hot); }
.image-frame { overflow: hidden; background: var(--paper-deep); }
.image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.23,1,.32,1); }
.image-frame:hover img { transform: scale(1.025); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(21,21,19,.18);
  background: rgba(243,239,231,.96);
  backdrop-filter: blur(18px);
}
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand img { display: block; width: auto; height: 2rem; }
.primary-nav { margin-left: auto; }
.primary-nav ul,
.footer-nav ul { margin: 0; padding: 0; list-style: none; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); }
.primary-nav a { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: var(--teal); }
.primary-nav .menu-item:last-child { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-toggle-lines { position: relative; }
.menu-toggle-lines::before,
.menu-toggle-lines::after { content: ""; position: absolute; left: 0; }
.menu-toggle-lines::before { top: -6px; }
.menu-toggle-lines::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { top: 0; transform: rotate(-45deg); }

.home-hero-wrap { position: relative; min-height: calc(100vh - 76px); overflow: hidden; border-bottom: 1px solid var(--ink); }
.home-hero-wrap::after { content: ""; position: absolute; inset: 0 0 0 56%; z-index: 0; background: var(--teal); }
.home-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 6vw, 7rem); min-height: calc(100vh - 76px); align-items: center; padding-block: clamp(3rem, 6vw, 6rem); }
.home-hero { max-width: 800px; }
.home-hero .eyebrow { margin-bottom: 2rem; color: var(--teal); }
.home-hero h1 em { color: var(--teal); }
.home-hero .body-large { max-width: 38rem; margin-top: 2.25rem; }
.home-hero .wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }
.home-hero-art { position: relative; }
.home-hero-art .image-frame { aspect-ratio: 4/3; border: 1px solid var(--ink); box-shadow: 18px 18px 0 var(--pink); transform: rotate(-2deg); }
.home-hero-art-note { position: absolute; bottom: -2.25rem; left: -2.5rem; z-index: 2; margin: 0; padding: .8rem 1rem; border: 1px solid var(--ink); background: var(--paper); font-size: .72rem; font-weight: 800; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }

.split-intro { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 7vw, 8rem); }
.split-intro .eyebrow { color: var(--teal); }
.two-column-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.two-column-copy > * { margin-top: 0; }
.capability-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 3rem; margin-bottom: 4rem; }
.capability-head .eyebrow { color: var(--pink); margin-bottom: 1.75rem; }
.capability-head .body-large { color: rgba(255,255,255,.72); }
.capability-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.25); border-left: 1px solid rgba(255,255,255,.25); }
.capability-card { padding: clamp(1.75rem, 3vw, 2.5rem); border-right: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.capability-card .number { color: var(--pink); font: italic 1.4rem "Newsreader", serif; }
.capability-card h3 { margin: 3rem 0 .75rem; font-size: clamp(2.8rem, 4vw, 4rem); letter-spacing: -.055em; }
.capability-card .label { color: var(--pink); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.capability-card .line { min-height: 6rem; margin-top: 1.75rem; color: rgba(255,255,255,.75); font-size: 1.1rem; line-height: 1.55; }
.capability-card ul { margin: 2rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid rgba(255,255,255,.2); list-style: none; color: rgba(255,255,255,.68); font-size: .9rem; line-height: 1.8; }
.feature-split { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.feature-split .image-frame { aspect-ratio: 4/3; border: 1px solid var(--ink); }
.feature-split .eyebrow { color: var(--teal); }
.feature-split .subhead { margin-top: 1.75rem; }
.feature-split blockquote { margin: 2.25rem 0 0; padding-left: 1.5rem; border-left: 4px solid var(--pink); color: var(--teal); font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1.05; }

.work-overview { background: var(--paper-deep); }
.section-heading { display: grid; grid-template-columns: 1fr .8fr; gap: 3rem; align-items: end; }
.section-heading .eyebrow { margin-bottom: 1.75rem; color: var(--teal); }
.work-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; margin-top: 3.5rem; }
.work-card { display: flex; min-height: 480px; padding: clamp(1.75rem, 3vw, 2.5rem); flex-direction: column; justify-content: space-between; border: 1px solid var(--ink); text-decoration: none; transition: transform .25s; }
.work-card:hover { transform: translateY(-4px); }
.work-card.teal { color: #fff; background: var(--teal); }
.work-card.pink { background: var(--pink); }
.work-card.ink { color: var(--paper); background: var(--ink); }
.work-card.paper { background: var(--paper-deep); }
.work-card .label { margin: 0; opacity: .68; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.work-card .title { margin: 3.5rem 0 .8rem; font-size: 1.15rem; font-weight: 650; }
.work-card h3 { margin: 0; font-size: clamp(2.3rem, 3.5vw, 3.4rem); line-height: .98; letter-spacing: -.05em; }
.work-card .summary { max-width: 38rem; margin: 1.5rem 0 0; opacity: .78; line-height: 1.72; }
.work-card .tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 3rem; }
.work-card .tags span { padding: .42rem .7rem; border: 1px solid currentColor; opacity: .75; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.experience-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 3rem; border: 1px solid var(--ink); }
.experience-column { padding: clamp(1.75rem, 3vw, 2.5rem); }
.experience-column + .experience-column { border-left: 1px solid var(--ink); }
.experience-column .label { color: var(--pink-hot); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.experience-column:nth-child(2) .label { color: var(--teal); }
.name-cloud { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.name-cloud span { font-size: 1.2rem; font-weight: 650; letter-spacing: -.03em; }
.founder-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.founder-grid .eyebrow { color: var(--pink); }
.founder-grid .headline { margin-top: 1.75rem; }
.founder-grid .body-large { margin-top: 2rem; color: rgba(255,255,255,.8); }
.founder-grid .image-frame { aspect-ratio: 4/5; border: 1px solid rgba(255,255,255,.35); box-shadow: 18px 18px 0 var(--pink); }
.founder-grid .image-frame img { object-position: 52% 30%; }
.proof-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 7vw, 8rem); }
.proof-grid .eyebrow { color: var(--teal); }
.testimonial { padding-top: 1.75rem; border-top: 1px solid var(--ink); }
.testimonial + .testimonial { margin-top: 2rem; }
.testimonial blockquote { margin: 0; font-size: clamp(1.5rem, 2.3vw, 2.1rem); font-weight: 650; letter-spacing: -.035em; line-height: 1.35; }
.testimonial cite { display: block; margin-top: 1.25rem; font-size: .85rem; font-style: normal; font-weight: 800; }
.thinking-preview { background: var(--card); }
.article-card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3rem; }
.article-card { border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.article-card a { text-decoration: none; }
.article-card .meta { margin: 0; color: var(--teal); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.article-card h3,
.article-card h2 { margin: 1.25rem 0 0; font-size: 1.55rem; line-height: 1.2; letter-spacing: -.04em; }
.article-card a:hover h3,
.article-card a:hover h2 { color: var(--teal); }
.article-card .read { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.75rem; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.problem-cta { border-block: 1px solid var(--ink); background: var(--pink); }
.problem-cta .eyebrow { margin-bottom: 1.75rem; }
.problem-cta-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 3rem; }
.problem-cta p { max-width: 45rem; margin: 1.75rem 0 0; font-size: 1.25rem; line-height: 1.7; }
.problem-cta .editorial { margin-top: 1rem; font-size: 2.4rem; }
.problem-cta .button-secondary { padding-inline: 1.5rem; color: var(--paper); background: var(--ink); }
.problem-cta .button-secondary:hover { background: var(--teal); }

.page-intro { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 3rem; min-height: 62vh; padding: clamp(4rem, 7vw, 6rem) var(--gutter); border-bottom: 1px solid rgba(21,21,19,.2); }
.entry-content > .page-intro { width: min(100%, var(--container)); margin-inline: auto; }
.page-intro .eyebrow { margin-bottom: 2rem; }
.page-intro .headline { grid-column: 1; }
.page-intro .body-large { grid-column: 2; grid-row: 1 / span 2; color: var(--copy); }
.page-intro.teal-panel .body-large,
.page-intro.ink-panel .body-large { color: rgba(255,255,255,.78); }
.page-intro-shell { border-bottom: 1px solid var(--ink); }
.page-intro-shell .page-intro { border-bottom: 0; }
.operating-principle { border-bottom: 1px solid var(--ink); }
.service-band { border-bottom: 1px solid rgba(255,255,255,.25); }
.service-band.pink-panel,
.service-band.paper-panel { border-color: rgba(21,21,19,.25); }
.service-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 7vw, 8rem); }
.service-number { opacity: .6; font: italic 1.4rem "Newsreader", serif; }
.service-grid .display { margin-top: 2rem; }
.service-close { margin: 2rem 0 0; opacity: .75; font: italic 1.8rem "Newsreader", serif; }
.service-copy .body-large { margin-top: 1.75rem; opacity: .78; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2.5rem; border-top: 1px solid currentColor; }
.service-list span { display: flex; gap: .75rem; padding: 1rem 0; border-bottom: 1px solid currentColor; opacity: .8; font-size: .9rem; font-weight: 650; }
.service-list span:nth-child(odd) { padding-right: 1rem; }
.service-list span:nth-child(even) { padding-left: 1rem; }
.service-list span::before { content: "✓"; }
.engagement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 8rem); }
.engagement-grid .body-large + .body-large { margin-top: 1.5rem; }

.work-archive-header { color: var(--paper); background: var(--ink); }
.work-jump { padding-block: 1.5rem; border-bottom: 1px solid var(--ink); }
.work-jump-inner { display: flex; flex-wrap: wrap; gap: .7rem 1.75rem; align-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.work-jump strong { color: var(--teal); }
.case-section { scroll-margin-top: 90px; border-bottom: 1px solid rgba(255,255,255,.25); }
.case-section.paper-tone { color: var(--ink); background: var(--paper-deep); border-color: rgba(21,21,19,.25); }
.case-section.teal-tone { color: #fff; background: var(--teal); }
.case-section.pink-tone { color: var(--ink); background: var(--pink); border-color: rgba(21,21,19,.25); }
.case-section.ink-tone { color: var(--paper); background: var(--ink); }
.case-heading { display: grid; grid-template-columns: .7fr 1.3fr; gap: 3rem; }
.case-heading .relationship { margin: 0; opacity: .7; }
.case-heading .index { display: block; margin-top: 2rem; opacity: .55; font: italic 1.4rem "Newsreader",serif; }
.case-heading h2 { margin: 1.5rem 0 0; font-size: 1.5rem; }
.case-fields { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 4rem; border-top: 1px solid currentColor; border-left: 1px solid currentColor; }
.case-field { padding: clamp(1.5rem, 3vw, 2rem); border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.case-field h3 { margin: 0; opacity: .58; font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; }
.case-field p { margin: 1.25rem 0 0; opacity: .84; line-height: 1.75; }
.case-editable .case-fields { margin-top: 0; }

.ai-difference { border-bottom: 1px solid var(--ink); }
.ai-builds { background: var(--paper-deep); border-bottom: 1px solid var(--ink); }
.leverage-grid,
.build-grid { display: grid; border-top: 1px solid currentColor; border-left: 1px solid currentColor; }
.leverage-grid { grid-template-columns: 1fr 1fr; }
.build-grid { grid-template-columns: repeat(3,1fr); margin-top: 3rem; }
.leverage-grid span,
.build-grid span { padding: 1.5rem; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; font-size: 1.15rem; font-weight: 700; line-height: 1.5; }
.leverage-grid span::before { content: "○"; margin-right: .8rem; color: var(--pink); }
.taste-statement { border-bottom: 1px solid var(--ink); background: var(--pink); }

.about-hero-wrap { background: var(--teal); color: #fff; }
.about-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(3rem, 7vw, 7rem); min-height: 78vh; align-items: end; padding-block: clamp(4rem, 7vw, 6rem); }
.about-hero { padding: 0; }
.about-hero .eyebrow { margin-bottom: 2.25rem; color: var(--pink); }
.about-hero .editorial { margin: 2rem 0 0; color: var(--pink); font-size: clamp(2rem, 3.5vw, 3.5rem); }
.about-portrait { aspect-ratio: 4/5; border: 1px solid rgba(255,255,255,.3); box-shadow: 16px 16px 0 var(--pink); }
.about-portrait img { object-position: 52% 28%; }
.timeline { margin-top: 3.5rem; border-top: 1px solid var(--ink); }
.timeline-row { display: grid; grid-template-columns: .25fr .55fr 1.2fr; gap: 1rem; padding-block: 1.75rem; border-bottom: 1px solid var(--ink); }
.timeline-row .index { color: var(--teal); font: italic 1.4rem "Newsreader",serif; }
.timeline-row .date { margin: 0; color: var(--teal); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.timeline-row h3 { margin: .5rem 0 0; font-size: 1.2rem; letter-spacing: -.03em; }
.timeline-row p:last-child { margin: 0; color: var(--copy); line-height: 1.75; }

.thinking-list { background: var(--card); }
.thinking-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3.5rem 1.75rem; }
.thinking-card a { display: block; text-decoration: none; }
.thinking-card .image-frame { aspect-ratio: 4/3; border: 1px solid var(--ink); }
.thinking-card .meta { margin: 1.25rem 0 0; color: var(--teal); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.thinking-card h2 { margin: 1rem 0 0; font-size: 1.55rem; line-height: 1.2; letter-spacing: -.04em; }
.thinking-card .excerpt { margin: 1rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.75; }
.thinking-card .read { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.5rem; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.post-pagination { margin-top: 4rem; }
.post-pagination .nav-links { display: flex; gap: .75rem; flex-wrap: wrap; }
.post-pagination a,
.post-pagination span { display: grid; min-width: 2.8rem; height: 2.8rem; padding-inline: .8rem; place-items: center; border: 1px solid var(--ink); text-decoration: none; }
.post-pagination .current { color: #fff; background: var(--ink); }

.article-header { border-bottom: 1px solid var(--ink); }
.article-header-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: clamp(3rem, 7vw, 7rem); padding-block: clamp(3.5rem, 6vw, 5rem); }
.article-header .eyebrow { color: var(--teal); }
.article-header h1 { margin-top: 1.75rem; }
.article-header .meta { margin: 2rem 0 0; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.article-header .image-frame { aspect-ratio: 4/3; border: 1px solid var(--ink); }
.article-body-grid { display: grid; grid-template-columns: .36fr .64fr; gap: clamp(3rem, 7vw, 8rem); padding-block: clamp(4rem, 7vw, 6rem); }
.article-note { position: sticky; top: 7rem; max-width: 18rem; margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.7; }
.article-content { max-width: 760px; }
.article-content > p { margin: 1.5rem 0 0; color: #37342f; font-size: 1.08rem; line-height: 1.8; }
.article-content > p:first-child,
.article-content .article-lead { margin-top: 0; color: var(--ink); font-size: clamp(1.25rem, 1.8vw, 1.55rem); font-weight: 650; line-height: 1.55; }
.article-content h2 { margin: 3rem 0 0; font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.04em; }
.article-content h3 { margin-top: 2rem; }
.article-content blockquote { margin: 2rem 0; padding-left: 1.5rem; border-left: 4px solid var(--pink); font: italic 1.6rem/1.4 "Newsreader",serif; }
.article-original { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--ink); }

.contact-page { color: #fff; background: var(--teal); }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 7vw, 8rem); min-height: calc(100vh - 76px); padding-block: clamp(3.5rem, 6vw, 5rem); }
.contact-intro { padding: 0; }
.contact-intro .eyebrow { margin-bottom: 2.25rem; color: var(--pink); }
.contact-intro .body-large { max-width: 35rem; margin-top: 2.25rem; color: rgba(255,255,255,.78); }
.contact-next { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.8; }
.contact-next strong { display: block; color: #fff; }
.enquiry-form { align-self: start; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid rgba(255,255,255,.3); color: var(--ink); background: var(--paper); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-field { display: block; }
.form-field.full { grid-column: 1 / -1; }
.form-field span { display: block; margin-bottom: .55rem; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.form-field input,
.form-field select,
.form-field textarea { width: 100%; border: 1px solid var(--ink); border-radius: 0; color: var(--ink); background: transparent; }
.form-field input,
.form-field select { height: 3.25rem; padding-inline: 1rem; }
.form-field textarea { min-height: 8rem; padding: 1rem; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 3px solid var(--teal); outline-offset: 2px; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 1.25rem 0 0; color: var(--muted); font-size: .75rem; line-height: 1.65; }
.form-status { margin: 0 0 1.25rem; padding: 1rem; border: 1px solid var(--ink); background: var(--pink); font-size: .86rem; font-weight: 750; }
.form-status.error { color: #fff; background: #8c2330; }

.not-found { display: grid; min-height: 72vh; padding-block: 5rem; place-items: center; text-align: center; }
.not-found .number { margin: 0; color: var(--pink-hot); font: italic clamp(5rem, 10vw, 8rem) "Newsreader",serif; }
.not-found .headline { max-width: 950px; margin-top: 1rem; }
.not-found .body-large { max-width: 38rem; margin: 1.75rem auto 0; color: var(--muted); }
.not-found .button-primary { margin-top: 2.25rem; }

.site-footer { padding-block: 3.5rem 2rem; color: var(--paper); background: var(--ink); border-top: 1px solid rgba(255,255,255,.15); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; }
.footer-brand img { width: auto; height: 2.2rem; filter: brightness(0) invert(1); }
.footer-tagline { max-width: 42rem; margin: 1.75rem 0 0; color: #fff; font-size: 1.5rem; font-weight: 650; letter-spacing: -.035em; }
.footer-description { max-width: 42rem; margin: .75rem 0 0; color: rgba(255,255,255,.62); font-size: .86rem; line-height: 1.8; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer-label { margin: 0 0 .9rem; color: rgba(255,255,255,.45); font-size: .65rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-nav li + li { margin-top: .65rem; }
.footer-nav a,
.footer-connect a { color: rgba(255,255,255,.82); font-size: .86rem; text-decoration: none; }
.footer-nav a:hover,
.footer-connect a:hover { color: var(--pink); }
.footer-connect a { display: block; margin-top: .65rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.45); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }

.default-page { min-height: 60vh; }
.default-page .entry-header { padding-top: var(--section-tight); }
.default-page .entry-content { padding-bottom: var(--section); }
.default-page .entry-content > *:not(.alignwide):not(.alignfull) { max-width: 760px; margin-inline: auto; }

@media (max-width: 1100px) {
  .primary-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; margin: 0; padding: .5rem var(--gutter) 1.5rem; border-top: 1px solid rgba(21,21,19,.18); border-bottom: 1px solid var(--ink); background: var(--paper); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: block; }
  .primary-nav li { border-bottom: 1px solid rgba(21,21,19,.16); }
  .primary-nav a { display: block; padding: 1rem 0; font-size: 1.15rem; letter-spacing: -.02em; text-transform: none; }
  .primary-nav .menu-item:last-child { display: block; margin-top: 1.25rem; border: 0; }
  .primary-nav .menu-item:last-child a { display: inline-flex; padding: .9rem 1.25rem; border: 1px solid var(--pink); background: var(--pink); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
  .header-cta { display: none; }
  .menu-toggle { display: grid; }
  .home-hero-grid { gap: 3rem; }
  .hero-display { font-size: clamp(2.7rem, 7.5vw, 5.8rem); }
  .case-fields { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  .admin-bar .site-header { top: 46px; }
  .display { font-size: clamp(3.65rem, 18vw, 6rem); }
  .display.hero-display { font-size: clamp(2.7rem, 12.4vw, 3.6rem); }
  .headline { font-size: clamp(2.7rem, 13vw, 4.6rem); }
  .section { padding-block: 5rem; }
  .home-hero-wrap::after { display: none; }
  .home-hero-grid,
  .split-intro,
  .capability-head,
  .feature-split,
  .section-heading,
  .founder-grid,
  .proof-grid,
  .problem-cta-grid,
  .page-intro,
  .service-grid,
  .engagement-grid,
  .case-heading,
  .about-hero-grid,
  .article-header-grid,
  .article-body-grid,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .home-hero-grid { padding-block: 3.5rem 5rem; }
  .home-hero-art { margin-top: 1rem; }
  .home-hero-art-note { left: 0; }
  .two-column-copy,
  .experience-grid,
  .leverage-grid,
  .form-grid,
  .footer-links { grid-template-columns: 1fr; }
  .capability-grid,
  .article-card-grid,
  .thinking-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .experience-column + .experience-column { border-top: 1px solid var(--ink); border-left: 0; }
  .work-card { min-height: 420px; }
  .page-intro { min-height: auto; padding-block: 4.5rem; }
  .page-intro .body-large { grid-column: 1; grid-row: auto; }
  .case-fields,
  .build-grid { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .service-list span:nth-child(n) { padding-inline: 0; }
  .timeline-row { grid-template-columns: .2fr .8fr; }
  .timeline-row p:last-child { grid-column: 2; }
  .about-hero-grid { align-items: center; }
  .about-portrait { max-width: 560px; }
  .article-note { position: static; }
  .contact-grid { min-height: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .brand img { height: 1.65rem; }
  .home-hero-art .image-frame { box-shadow: 10px 10px 0 var(--pink); }
  .form-field.full { grid-column: auto; }
  .problem-cta .button-secondary { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (forced-colors: active) {
  :root { --focus: Highlight; }
  body::before { display: none; }
  .button-primary,
  .button-secondary,
  .work-card,
  .image-frame,
  .case-field { border: 2px solid CanvasText; }
  .eyebrow::before { background: CanvasText; }
}

@media print {
  .site-header, .site-footer, .problem-cta { display: none; }
  body { color: #000; background: #fff; }
  a { text-decoration: underline; }
}
