:root {
  --page: #ffffff;
  --surface: #f7f7f5;
  --surface-warm: #fbf7f5;
  --ink: #20211f;
  --muted: #61645f;
  --quiet: #858882;
  --line: #dedfdb;
  --line-strong: #c9cbc5;
  --accent: #b94724;
  --accent-hover: #8f3218;
  --accent-soft: #f7e8e2;
  --success: #23633f;
  --error: #9d2c25;
  --radius: 16px;
  --radius-small: 10px;
  --shadow: 0 18px 50px rgba(27, 29, 26, 0.08);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--page); font-family: "Space Grotesk", "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.62; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: inherit; font-weight: 650; letter-spacing: -0.04em; }
h1 { max-width: 13ch; font-size: clamp(3rem, 5.2vw, 4.8rem); line-height: 1.02; }
h2 { max-width: 18ch; font-size: clamp(2.15rem, 3.4vw, 3.15rem); line-height: 1.08; }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; }
h4 { font-size: 1.05rem; line-height: 1.3; letter-spacing: -0.015em; }
p { margin: 0; }
p + p { margin-top: 1rem; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding-left: 1.15rem; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(185, 71, 36, 0.28); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.container.narrow, .narrow { max-width: 780px; }

.site-header { position: sticky; top: 0; z-index: 30; height: 76px; border-bottom: 1px solid rgba(222, 223, 219, 0.9); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(18px); }
.nav-wrap { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; min-width: 0; flex: 0 1 244px; align-items: center; }
.brand .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.brand img, .brand .custom-logo { display: block; width: auto; max-width: min(244px, 100%); height: auto; max-height: 48px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: 1.45rem; }
.site-nav a { position: relative; color: var(--muted); font-size: 0.98rem; font-weight: 600; line-height: 1; white-space: nowrap; transition: color 180ms ease; }
.site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; right: 0; bottom: -0.55rem; left: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.site-nav > a:not(.nav-cta):hover, .site-nav > a:not(.nav-cta).active { color: var(--ink); }
.site-nav > a:not(.nav-cta):hover::after, .site-nav > a:not(.nav-cta).active::after { transform: scaleX(1); }
.nav-cta, .site-nav .nav-cta { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 0.7rem 1rem; border-radius: var(--radius-small); color: #ffffff; background: var(--accent); box-shadow: 0 8px 22px rgba(143, 50, 24, 0.18); transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.nav-cta:hover, .site-nav .nav-cta:hover { color: #ffffff; background: var(--accent-hover); box-shadow: 0 12px 28px rgba(143, 50, 24, 0.22); transform: translateY(-1px); }
.nav-cta:active, .site-nav .nav-cta:active { transform: translateY(1px); }
.menu-toggle { display: none; min-width: 74px; min-height: 42px; padding: 0.6rem 0.85rem; border: 1px solid var(--line-strong); border-radius: var(--radius-small); color: var(--ink); background: var(--page); font-size: 0.95rem; font-weight: 650; cursor: pointer; }

main { overflow: clip; }
/*
 * Classic themes add an inner wrapper to every rendered Group block. The
 * approved layouts put their grid/flex classes on the Group itself, so make
 * that compatibility wrapper transparent to layout. This keeps the editor's
 * block hierarchy without introducing an extra grid item on the front end.
 */
main .wp-block-group__inner-container { display: contents; }
.hero, .page-hero { border-bottom: 1px solid var(--line); }
.hero { padding: clamp(4.25rem, 7vw, 6.75rem) 0 clamp(4rem, 7vw, 6rem); }
.page-hero { padding: clamp(3.75rem, 6vw, 5.75rem) 0 clamp(3.5rem, 5vw, 5rem); }
.hero-grid, .page-hero-grid, .split-grid, .about-grid, .form-grid, .case-study-grid { display: grid; gap: clamp(2.5rem, 6vw, 6.5rem); align-items: center; }
.hero-grid, .page-hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr); }
.hero-copy, .page-hero-copy { max-width: 650px; }
.hero-copy h1, .page-hero-copy h1 { margin-top: 0.75rem; }
.hero .lead, .page-hero .lead { margin-top: 1.35rem; }
.eyebrow { color: var(--accent); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.09em; line-height: 1.2; text-transform: uppercase; }
.lead { max-width: 58ch; color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.55; }
.section { padding: clamp(4.5rem, 7vw, 6.5rem) 0; }
.section-compact { padding: clamp(2.75rem, 5vw, 4.5rem) 0; }
.section-rule { border-top: 1px solid var(--line); }
.section-band, .split-section, .section-accent { color: var(--ink); background: var(--surface); }
.section-band, .split-section, .section-accent { border-block: 1px solid var(--line); }
.section-accent p { color: var(--muted); }
.section-heading { display: grid; max-width: 760px; gap: 1rem; margin-bottom: clamp(2.25rem, 4vw, 3.75rem); }
.section-heading p { max-width: 62ch; color: var(--muted); font-size: 1.08rem; }
.center-text { text-align: center; }
.center-text h2, .center-text .lead, .center-text p { margin-inline: auto; }
.center-text .cta-row { justify-content: center; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.75rem; }
.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0.85rem 1.25rem; border: 1px solid transparent; border-radius: var(--radius-small); font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer; transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-primary { color: #ffffff; background: var(--accent); box-shadow: 0 10px 26px rgba(143, 50, 24, 0.18); }
.btn-primary:hover { color: #ffffff; background: var(--accent-hover); box-shadow: 0 14px 32px rgba(143, 50, 24, 0.22); }
.btn-secondary, .btn-ghost { border-color: var(--line-strong); color: var(--ink); background: var(--page); }
.btn-secondary:hover, .btn-ghost:hover { border-color: var(--ink); color: var(--page); background: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1rem; color: var(--accent-hover); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.text-link::after { content: "\2192"; text-decoration: none; transition: transform 180ms ease; }
.text-link:hover::after { transform: translateX(4px); }
.back-link::before { content: "\2190"; }
.back-link::after { display: none; }

.placeholder-media, .photo-placeholder { position: relative; display: grid; min-height: 260px; overflow: hidden; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, transparent 0 49.7%, rgba(32, 33, 31, 0.055) 49.8% 50.2%, transparent 50.3%), linear-gradient(45deg, transparent 0 49.7%, rgba(32, 33, 31, 0.04) 49.8% 50.2%, transparent 50.3%), var(--surface); color: var(--muted); text-align: center; }
.placeholder-media::before, .photo-placeholder::before { display: none; }
.placeholder-media > span, .photo-placeholder > span { display: grid; max-width: 26ch; gap: 0.35rem; padding: 1.5rem; font-size: 0.88rem; font-weight: 700; letter-spacing: 0.035em; line-height: 1.35; text-transform: uppercase; }
.placeholder-media small, .photo-placeholder small { color: var(--quiet); font-size: 0.78rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.site-managed-image { overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.site-managed-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.editor-image-slot { position: relative; display: grid; min-height: 260px; margin: 0; overflow: hidden; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.editor-image-slot:empty { background: linear-gradient(135deg, transparent 0 49.7%, rgba(32, 33, 31, 0.055) 49.8% 50.2%, transparent 50.3%), linear-gradient(45deg, transparent 0 49.7%, rgba(32, 33, 31, 0.04) 49.8% 50.2%, transparent 50.3%), var(--surface); }
.editor-image-slot:empty::after { content: "Add image in WordPress"; color: var(--quiet); font-size: 0.8rem; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; }
.editor-image-slot img { width: 100%; height: 100%; object-fit: cover; }
.editor-image-slot .wp-element-caption { position: absolute; inset: 50% auto auto 50%; display: grid; width: min(80%, 320px); gap: 0.35rem; margin: 0; color: var(--muted); font-size: 0.88rem; font-style: normal; font-weight: 700; letter-spacing: 0.035em; line-height: 1.35; text-align: center; text-transform: uppercase; transform: translate(-50%, -50%); }
.editor-image-slot .wp-element-caption small { color: var(--quiet); font-size: 0.78rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.site-managed-image.hero-media img, .site-managed-image.wide-media img { aspect-ratio: 16 / 10; }
.site-managed-image.portrait-media img, .site-managed-image.contact-image img { aspect-ratio: 4 / 5; }
.hero-media { aspect-ratio: 4 / 3; min-height: 0; }
.portrait-media { aspect-ratio: 4 / 5; min-height: 0; }
.wide-media { aspect-ratio: 16 / 9; min-height: 0; }
.media-tall { aspect-ratio: 4 / 5; min-height: 0; }
.media-square { aspect-ratio: 1; min-height: 0; }

.logo-carousel { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--page); }
.logo-carousel-head { display: flex; align-items: center; gap: 1.5rem; padding-top: 1.35rem; }
.logo-carousel-head p { flex: 0 0 auto; color: var(--ink); font-size: clamp(0.9rem, 1.3vw, 1.05rem); font-weight: 650; letter-spacing: -0.015em; }
.logo-carousel-head::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.logo-track { display: flex; width: max-content; align-items: center; padding: 1.25rem 0 1.5rem; animation: logo-slide 42s linear infinite; will-change: transform; }
.logo-sequence { display: flex; align-items: center; gap: 1rem; padding-right: 1rem; }
.logo-placeholder { display: grid; width: 176px; height: 176px; flex: 0 0 176px; padding: 1.25rem; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-small); color: var(--quiet); background: var(--surface); font-size: 0.76rem; font-weight: 650; letter-spacing: 0.04em; text-align: center; text-transform: uppercase; }
.logo-item img { width: 72%; height: 72%; max-width: none; max-height: none; object-fit: contain; filter: grayscale(1); }
@keyframes logo-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.service-rail { border-top: 1px solid var(--line-strong); }
.service-row, .service-rail article { display: grid; grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1.3fr) auto; gap: 2rem; align-items: center; min-height: 138px; padding: 1.9rem 1rem; border-bottom: 1px solid var(--line); transition: background 200ms ease, padding 200ms ease; }
.service-row:hover, .service-rail article:hover { padding-inline: 1.4rem; background: var(--surface-warm); }
.service-row h3, .service-rail h3 { margin: 0; font-size: clamp(1.55rem, 2.4vw, 2.15rem); }
.service-row p, .service-rail p { max-width: 54ch; color: var(--muted); }
.service-arrow { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--accent); font-size: 1.25rem; transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease; }
.service-row:hover .service-arrow, .service-rail article:hover .service-arrow { border-color: var(--accent); color: #ffffff; background: var(--accent); transform: translate(2px, -2px); }

.proof-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr); gap: clamp(2.75rem, 7vw, 7rem); align-items: center; }
.proof-layout .post-thumbnail { display: block; overflow: hidden; border-radius: var(--radius); }
.proof-layout .post-thumbnail img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.proof-copy { max-width: 520px; }
.proof-copy h2 { margin-bottom: 1.25rem; }
.proof-copy p { color: var(--muted); }
.testimonial-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0; margin-top: clamp(3rem, 5vw, 4.5rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.testimonial-strip blockquote, .testimonial-list blockquote { margin: 0; padding: 2rem; color: var(--ink); font-size: clamp(1.08rem, 1.8vw, 1.3rem); line-height: 1.48; }
.testimonial-strip blockquote + blockquote { border-left: 1px solid var(--line); }
.testimonial-strip cite, .testimonial-list cite { display: block; margin-top: 1rem; color: var(--muted); font-size: 0.9rem; font-style: normal; font-weight: 600; }

.project-grid, .portfolio-grid, .article-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.25rem; }
.project-card, .article-card, .portfolio-grid > article { grid-column: span 6; min-width: 0; }
.project-card.featured, .portfolio-grid > article:first-child { grid-column: span 7; }
.project-card.side, .portfolio-grid > article:nth-child(2) { grid-column: span 5; }
.project-card.full, .portfolio-grid > article:nth-child(3) { grid-column: 3 / span 8; }
.project-card .placeholder-media, .article-card .placeholder-media, .portfolio-grid .placeholder-media { margin-bottom: 1.35rem; transition: border-color 200ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms ease; }
.project-card:hover .placeholder-media, .article-card:hover .placeholder-media, .portfolio-grid > article:hover .placeholder-media { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-4px); }
.project-card h3, .article-card h3, .portfolio-grid h3 { max-width: 20ch; margin-bottom: 0.65rem; }
.project-card p, .article-card p, .portfolio-grid article > p { max-width: 55ch; color: var(--muted); }
.article-card-meta, .article-meta { margin-bottom: 0.7rem; color: var(--accent-hover) !important; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

.about-snapshot { display: grid; grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr); gap: clamp(2.75rem, 7vw, 7rem); align-items: center; }
.stat-line { display: grid; grid-template-columns: 150px 1fr; gap: 1.5rem; align-items: baseline; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.stat-line strong { color: var(--accent); font-size: clamp(2.75rem, 5vw, 4.25rem); letter-spacing: -0.06em; line-height: 1; }
.stat-line span { max-width: 34ch; color: var(--muted); }
.process-list, .principle-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.process-list article, .principle-list article, .principle-list .principle-item { padding: 2rem; }
.process-list article + article, .principle-list article + article, .principle-list .principle-item + .principle-item { border-left: 1px solid var(--line); }
.process-list h3, .principle-list h3 { margin-bottom: 0.75rem; }
.process-list p, .principle-list p { color: var(--muted); }

.cta-panel { display: grid; max-width: 980px; gap: 1.25rem; justify-items: center; margin-inline: auto; padding: clamp(2.5rem, 6vw, 5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--page); text-align: center; box-shadow: 0 16px 46px rgba(27, 29, 26, 0.06); }
.cta-panel h2 { max-width: 17ch; }
.cta-panel p { max-width: 58ch; color: var(--muted); font-size: 1.08rem; }

.service-detail { display: grid; grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr); gap: clamp(3rem, 7vw, 7.25rem); align-items: start; }
.service-detail + .service-detail { margin-top: clamp(4rem, 8vw, 7rem); padding-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.service-intro { position: sticky; top: 116px; }
.service-intro h2 { margin-bottom: 1rem; }
.service-intro p { color: var(--muted); }
.service-content { display: grid; gap: 2.5rem; }
.service-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.service-copy > div,
.service-copy > .wp-block-group__inner-container > div { padding-top: 1rem; border-top: 1px solid var(--line-strong); }
.service-copy h3 { margin-bottom: 0.75rem; font-size: 1.15rem; letter-spacing: -0.02em; }
.service-copy p, .service-copy li { color: var(--muted); }
.service-copy ul { display: grid; gap: 0.35rem; }
.pricing-list { display: grid; max-width: 900px; margin-top: 2.5rem; border-top: 1px solid var(--line-strong); }
.pricing-row { display: grid; grid-template-columns: 1fr auto; gap: 2rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.pricing-row span:last-child, .pricing-row p:last-child { color: var(--accent-hover); font-weight: 700; white-space: nowrap; }

.form-grid { grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr); align-items: start; }
.contact-intro { position: sticky; top: 116px; }
.contact-intro h2 { margin-bottom: 1rem; }
.contact-intro > p { color: var(--muted); }
.contact-points { display: grid; gap: 0; margin-top: 2rem; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact-points li { padding: 0.9rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.contact-image { min-height: 190px; margin-top: 2rem; }
.contact-form { display: grid; gap: 1.25rem; padding: clamp(1.5rem, 3.5vw, 2.75rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.form-heading { display: grid; gap: 0.55rem; margin-bottom: 0.25rem; }
.form-heading h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.form-heading p { color: var(--muted); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-form label, .field-label { display: grid; gap: 0.45rem; color: var(--ink); font-size: 0.94rem; font-weight: 650; }
.field-help { color: var(--muted); font-size: 0.82rem; font-weight: 450; }
.input { width: 100%; min-height: 51px; padding: 0.78rem 0.9rem; border: 1px solid var(--line-strong); border-radius: var(--radius-small); color: var(--ink); background: var(--page); transition: border-color 160ms ease, box-shadow 160ms ease; }
textarea.input { min-height: 132px; resize: vertical; }
.input::placeholder { color: #70736d; opacity: 1; }
.input:hover { border-color: #a9aca5; }
.input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px rgba(185, 71, 36, 0.15); }
.conditional-intro, .note-box { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-small); color: var(--muted); background: var(--page); }
.conditional { display: grid; gap: 1rem; margin: 0; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--page); animation: conditional-in 220ms cubic-bezier(0.16, 1, 0.3, 1); }
.conditional legend { padding: 0 0.35rem; color: var(--accent-hover); font-size: 0.92rem; font-weight: 700; }
.conditional.hidden, .note-box.hidden, .conditional-intro.hidden, .hidden { display: none !important; }
@keyframes conditional-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.note-box { border-left: 4px solid var(--accent); color: var(--ink); }
.inline-label { display: flex !important; grid-template-columns: none; gap: 0.6rem !important; align-items: flex-start; margin-top: 0.75rem; }
.inline-label input { margin-top: 0.3rem; }
.form-message { min-height: 1.5em; color: var(--success); font-weight: 650; }
.form-message[role="alert"] { color: var(--error); }

.case-study-grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); align-items: start; }
.case-study-grid + .case-study-grid { margin-top: 3.5rem; padding-top: 3.5rem; border-top: 1px solid var(--line); }
.case-study-grid h2 { font-size: clamp(1.65rem, 2.7vw, 2.25rem); }
.case-study-grid p, .case-study-grid li { color: var(--muted); }
.case-study-grid ul { display: grid; gap: 0.45rem; }
.results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.75rem; margin-top: 2.25rem; }
.results-grid article { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.results-grid h3 { margin-bottom: 0.55rem; font-size: 1.2rem; }
.results-grid p { color: var(--muted); }

.article-shell { max-width: 780px; }
.article-header { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
.article-header h1 { max-width: 15ch; font-size: clamp(2.8rem, 5vw, 4.35rem); }
.article-body, .entry-content { display: grid; max-width: 68ch; gap: 1.2rem; color: #353733; font-size: 1.08rem; }
.article-body h2, .entry-content h2 { max-width: 22ch; margin-top: 2rem; font-size: clamp(1.8rem, 3vw, 2.45rem); }
.article-body h3, .entry-content h3 { margin-top: 1.2rem; }
.article-body .placeholder-media, .entry-content .placeholder-media { margin-block: 1rem 1.5rem; }
.entry-content .wp-block-image { margin: 1.25rem 0 1.75rem; }
.entry-content .wp-block-image img { width: 100%; height: auto; border-radius: var(--radius); }
.entry-content .wp-block-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 1.25rem 0 1.75rem; }
.entry-content .wp-block-columns .wp-block-image { margin: 0; }
.entry-content .wp-block-quote { margin: 1.5rem 0; padding: 1.25rem 1.5rem; border-left: 4px solid var(--accent); background: var(--surface-warm); }
.entry-content .wp-block-quote cite { display: block; margin-top: 0.8rem; color: var(--muted); font-size: 0.9rem; font-style: normal; font-weight: 600; }
.callout { margin-block: 0.75rem; padding: 1.15rem 1.25rem; border-left: 4px solid var(--accent); border-radius: 0 var(--radius-small) var(--radius-small) 0; background: var(--accent-soft); }
.quote, blockquote.quote { max-width: 32ch; margin: 0; color: var(--ink); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 550; line-height: 1.35; letter-spacing: -0.025em; }
.legal-shell { padding-top: clamp(3.5rem, 6vw, 5.5rem); }
.legal-shell h1 { margin-block: 0.75rem 1.5rem; }
.legal-shell .article-body h2 { margin-top: 2.4rem; }

.site-footer { padding: 3.25rem 0 2rem; border-top: 1px solid var(--line); background: var(--page); }
.footer-wrap { display: grid; grid-template-columns: minmax(240px, 1.1fr) minmax(180px, 0.6fr) minmax(220px, 0.8fr); gap: 2.5rem; align-items: start; }
.footer-brand { display: grid; gap: 1rem; }
.footer-brand img { width: 210px; }
.footer-brand p, .footer-meta, .footer-contact p { color: var(--muted); font-size: 0.9rem; }
.footer-links, .footer-contact { display: grid; gap: 0.6rem; }
.footer-links h3, .footer-contact h3 { margin-bottom: 0.3rem; font-size: 0.95rem; letter-spacing: 0; }
.footer-links a, .footer-contact a { color: var(--muted); font-size: 0.92rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent-hover); }
.footer-meta { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.footer-meta p { margin: 0; }
.footer-meta-links { display: flex; gap: 1rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .page-hero-copy { animation: rise-in 520ms cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero-media, .page-hero .placeholder-media { animation: rise-in 620ms 80ms cubic-bezier(0.16, 1, 0.3, 1) both; }
  @keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 1080px) {
  .container { width: min(var(--container), calc(100% - 48px)); }
  .brand img { width: 200px; }
  .site-nav { gap: 1rem; }
  .site-nav a { font-size: 0.93rem; }
}

@media (max-width: 900px) {
  .site-header, .nav-wrap { height: 70px; min-height: 70px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { position: absolute; top: 70px; right: 0; left: 0; display: grid; max-height: 0; gap: 0; overflow: hidden; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.99); opacity: 0; transition: max-height 260ms ease, opacity 180ms ease; }
  .site-nav.open { max-height: calc(100dvh - 70px); padding: 0.75rem 24px 1.25rem; opacity: 1; }
  .site-nav > a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.05rem; }
  .site-nav > a::after { display: none; }
  .site-nav .nav-cta { display: inline-flex; margin-top: 0.9rem; border-bottom: 0; }
  .hero-grid, .page-hero-grid, .proof-layout, .about-snapshot, .form-grid, .service-detail, .case-study-grid { grid-template-columns: 1fr; }
  .hero-copy, .page-hero-copy, .proof-copy { max-width: 720px; }
  .hero-media { max-width: 760px; }
  .service-intro, .contact-intro { position: static; }
  .project-card.featured, .portfolio-grid > article:first-child, .project-card.side, .portfolio-grid > article:nth-child(2), .project-card.full, .portfolio-grid > article:nth-child(3), .article-card, .project-card, .portfolio-grid > article { grid-column: span 6; }
  .footer-wrap { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .brand img { width: 184px; }
  .entry-content .wp-block-columns { grid-template-columns: 1fr; }
  .hero, .page-hero { padding-block: 3.25rem; }
  .section { padding-block: 4rem; }
  h1 { max-width: 14ch; font-size: clamp(2.65rem, 13vw, 3.65rem); }
  h2 { font-size: clamp(2rem, 9vw, 2.75rem); }
  .service-row, .service-rail article { grid-template-columns: 1fr auto; gap: 0.75rem 1rem; min-height: 0; padding: 1.5rem 0; }
  .service-row:hover, .service-rail article:hover { padding-inline: 0; background: transparent; }
  .service-row p, .service-rail p { grid-column: 1 / -1; }
  .testimonial-strip, .process-list, .principle-list, .service-copy, .form-row, .results-grid { grid-template-columns: 1fr; }
  .testimonial-strip blockquote, .process-list article, .principle-list article, .principle-list .principle-item { padding: 1.5rem 0; }
  .testimonial-strip blockquote + blockquote, .process-list article + article, .principle-list article + article, .principle-list .principle-item + .principle-item { border-top: 1px solid var(--line); border-left: 0; }
  .project-card.featured, .portfolio-grid > article:first-child, .project-card.side, .portfolio-grid > article:nth-child(2), .project-card.full, .portfolio-grid > article:nth-child(3), .article-card, .project-card, .portfolio-grid > article { grid-column: 1 / -1; }
  .project-grid, .portfolio-grid, .article-grid { gap: 3rem; }
  .stat-line { grid-template-columns: 1fr; gap: 0.75rem; }
  .pricing-row { grid-template-columns: 1fr; gap: 0.25rem; }
  .cta-row { display: grid; }
  .cta-row .btn { width: 100%; }
  .logo-placeholder { width: 148px; height: 148px; flex-basis: 148px; padding: 1rem; }
  .contact-form { padding: 1.25rem; }
  .footer-wrap { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-meta { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .logo-track { width: auto; transform: none !important; }
  .logo-sequence { flex-wrap: wrap; }
  .logo-sequence + .logo-sequence { display: none; }
}

/* WordPress fallback and Oxygen editor integration. */
.site-nav .menu,
.footer-nav .menu {
  display: flex;
  align-items: center;
  gap: 1.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav .menu a {
  position: relative;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.site-nav .menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.55rem;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav .menu a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: var(--ink);
}

.site-nav .menu a:hover::after,
.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after {
  transform: scaleX(1);
}

.cards,
.post-grid,
.case-study-list {
  display: grid;
  gap: 2.25rem;
}

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

.post-grid > article {
  grid-column: span 6;
}

.post-grid > article:first-child {
  grid-column: span 7;
}

.post-grid > article:nth-child(2) {
  grid-column: span 5;
}

.post-grid > article:nth-child(3n) {
  grid-column: 3 / span 8;
}

.card,
.case-study {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.card .placeholder-media,
.card .post-thumbnail {
  margin-bottom: 1.35rem;
}

.card .post-thumbnail img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  object-fit: cover;
}

.card > p {
  max-width: 55ch;
  color: var(--muted);
}

.card h3 {
  max-width: 20ch;
  margin-bottom: 0.65rem;
}

.empty-state {
  max-width: 700px;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pagination {
  margin-top: 3rem;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pagination a,
.pagination .current {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

.pagination .current {
  border-color: var(--accent);
  color: #ffffff;
  background: var(--accent);
}

.wp-block-button__link {
  min-height: 50px;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-small);
  color: #ffffff;
  background: var(--accent);
  font-weight: 700;
}

.wp-block-button__link:hover {
  color: #ffffff;
  background: var(--accent-hover);
}

.footer-nav .menu {
  gap: 1rem;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  .site-nav .menu { gap: 1rem; }
  .site-nav .menu a { font-size: 0.93rem; }
}

@media (max-width: 900px) {
  .site-nav .menu {
    display: grid;
    gap: 0;
  }

  .site-nav .menu a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 1.05rem;
  }

  .site-nav .menu a::after { display: none; }
  .post-grid > article,
  .post-grid > article:first-child,
  .post-grid > article:nth-child(2),
  .post-grid > article:nth-child(3n) { grid-column: span 6; }
}

@media (max-width: 700px) {
  .post-grid > article,
  .post-grid > article:first-child,
  .post-grid > article:nth-child(2),
  .post-grid > article:nth-child(3n) { grid-column: 1 / -1; }
}
