@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-var.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

/* Core WordPress shell — no dependency on legacy stylesheets. */
.container { width: min(calc(100% - var(--gutter) * 2), var(--shell)); max-width: none; margin-inline: auto; padding: 0; }
.site-header { top: 0; }
.admin-bar .site-header { top: 32px; }
.site-header .brand { min-width: 0; }
.brand__logo { display: block; width: auto; height: 25px; max-width: 170px; }
.brand__text { display: grid; gap: 2px; }
.brand__name { font-size: 15px; font-weight: 750; letter-spacing: -.035em; }
.brand__role { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.brand__mark { font-family: "Playfair Display", Georgia, serif; font-size: 27px; }
.nav-links { display: flex; align-items: center; }
.nav-links__link { position: relative; }
.nav-links__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.nav-links__link:hover::after, .nav-links__link--active::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 6px; }
.nav-toggle__bar { display: block; width: 22px; height: 1px; background: var(--ink); transition: transform .25s; }
.nav-toggle.is-active .nav-toggle__bar:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle__bar:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: none; }
.mobile-menu.is-open { display: block; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__link { color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu__cta { display: flex; justify-content: center; padding: 13px; color: var(--white); }
.arrow { font-style: normal; }
.btn { display: inline-flex; align-items: center; gap: 15px; padding: 13px 17px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--text { padding-inline: 0; border-bottom: 1px solid currentColor; }
.pagination { margin-top: 65px; }
.pagination ul { display: flex; gap: 8px; padding: 0; list-style: none; }
.pagination a, .pagination .current { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 11px; }
.pagination .current { background: var(--ink); color: var(--white); }
.empty-state { padding: 80px 0; color: var(--muted); }
.site-footer__brand .brand__logo { filter: brightness(0) invert(1); }
.site-footer__brand .brand__name { color: var(--white); }
.site-footer__copyright, .site-footer__tagline { color: #777b73; }
.site-footer a { color: inherit; }
.contact-form-embed input:not([type="submit"]), .contact-form-embed textarea, .contact-form-embed select { width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; }
.contact-form-embed textarea { min-height: 140px; resize: vertical; }
.contact-form-embed input[type="submit"], .contact-form-direct .btn { padding: 14px 18px; border: 0; background: var(--ink); color: var(--white); font-weight: 700; }
.contact-form-embed label { display: block; margin-bottom: 22px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .mobile-menu { position: fixed; inset: 70px 0 auto; padding: 18px var(--gutter) 28px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .admin-bar .mobile-menu { top: 116px; }
  .mobile-menu__link { padding: 13px 0; font-size: 18px; }
  .mobile-menu__cta { margin-top: 15px; background: var(--ink); }
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-italic-var.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --bg: #f1eee6;
  --paper: #f8f6f0;
  --ink: #171713;
  --muted: #66675f;
  --line: rgba(23, 23, 19, 0.17);
  --accent: #c84d34;
  --night: #171713;
  --white: #f7f5ef;
  --shell: 1320px;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.2, .75, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; background: var(--bg); }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font: 16px/1.55 "DM Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.shell { width: min(calc(100% - var(--gutter) * 2), var(--shell)); margin-inline: auto; }
::selection { background: var(--accent); color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; padding: 10px 14px; background: var(--accent); color: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.is-scrolled { background: rgba(241, 238, 230, .92); border-color: var(--line); backdrop-filter: blur(16px); }
.header-inner { height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 14px; width: max-content; }
.brand strong { font-size: 15px; letter-spacing: -.035em; }
.brand span { padding-left: 14px; border-left: 1px solid currentColor; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .11em; }
.desktop-nav { display: flex; gap: 32px; font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .09em; }
.desktop-nav a, .footer-links a { transition: opacity .2s; }
.desktop-nav a:hover, .footer-links a:hover { opacity: .55; }
.header-contact { justify-self: end; display: flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 650; text-transform: uppercase; letter-spacing: .09em; }
.header-contact i { width: 7px; height: 7px; border-radius: 50%; background: #3ba45a; box-shadow: 0 0 0 4px rgba(59, 164, 90, .13); }
.header-contact span { margin-left: 5px; font-size: 14px; }
.menu-toggle, .mobile-menu { display: none; }

.eyebrow, .section-label { margin: 0; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.hero { min-height: 100svh; padding: 130px 0 30px; display: flex; flex-direction: column; }
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .72fr); gap: clamp(55px, 7vw, 110px); align-items: center; }
.hero-content { padding: 40px 0; }
.hero h1 { max-width: 820px; margin: 44px 0 0; font-size: clamp(55px, 6.25vw, 94px); line-height: .95; font-weight: 560; letter-spacing: -.068em; }
.hero h1 em, .section-head h2 em, .approach h2 em, .about h2 em, .contact h2 em { color: var(--accent); font-family: "Playfair Display", Georgia, serif; font-weight: 500; }
.hero-intro { max-width: 720px; margin-top: 50px; display: grid; grid-template-columns: 1fr .65fr; gap: 55px; align-items: end; }
.hero-intro p { max-width: 440px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.line-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 7px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 700; }
.line-link span { transition: transform .25s var(--ease); }
.line-link:hover span { transform: translate(3px, -3px); }

.hero-feature { display: block; align-self: center; }
.feature-meta, .feature-title { display: flex; justify-content: space-between; gap: 15px; font-size: 9px; text-transform: uppercase; letter-spacing: .11em; }
.feature-meta { margin-bottom: 12px; color: var(--muted); }
.feature-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd9cf; }
.feature-image img { height: 100%; object-fit: cover; object-position: top; transition: transform .7s var(--ease); }
.hero-feature:hover img { transform: scale(1.025); }
.feature-view { position: absolute; right: 14px; bottom: 14px; padding: 10px 12px; background: var(--paper); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.feature-title { margin-top: 13px; }
.feature-title strong { font-size: 14px; text-transform: none; letter-spacing: -.02em; }
.feature-title span { color: var(--muted); }
.hero-foot { min-height: 65px; margin-top: 35px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 25px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .11em; }

.work { padding: 135px 0 155px; background: var(--night); color: var(--white); }
.section-head { display: grid; grid-template-columns: 1.35fr .5fr; gap: 90px; align-items: end; margin-bottom: 90px; }
.section-head h2, .approach h2, .about h2 { max-width: 850px; margin: 24px 0 0; font-size: clamp(50px, 6vw, 86px); line-height: .93; font-weight: 550; letter-spacing: -.065em; }
.section-head > p { max-width: 440px; margin: 0 0 5px; color: #a3a69e; font-size: 13px; line-height: 1.75; }
.work .section-label { color: #8d9188; }
.work .section-head h2 em { color: #d87963; }

.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 100px clamp(36px, 6vw, 86px); }
.project-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr); gap: 38px; align-items: end; }
.project-last { grid-column: 1 / -1; width: 73%; }
.project-offset { margin-top: 120px; }
.project-image { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #272823; }
.project-image-tall { aspect-ratio: 16 / 9; }
.project-image-wide { aspect-ratio: 16 / 9; }
.project-image::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .09); pointer-events: none; }
.project-image img { height: 100%; object-fit: cover; object-position: top center; filter: saturate(.92); transition: transform .75s var(--ease), filter .4s; }
.project-image:hover img { transform: scale(1.025); filter: saturate(1.05); }
.project-image > span { position: absolute; right: 16px; bottom: 16px; padding: 11px 13px; background: var(--white); color: var(--ink); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; transform: translateY(7px); opacity: 0; transition: opacity .3s, transform .3s var(--ease); }
.project-image:hover > span { opacity: 1; transform: none; }
.project-copy { margin-top: 22px; display: grid; grid-template-columns: 62px 1fr; gap: 20px; }
.project-wide .project-copy { margin: 0; }
.project-number, .project-copy p { color: #858980; font-size: 9px; text-transform: uppercase; letter-spacing: .11em; }
.project-copy p { margin: 0 0 10px; }
.project-copy h3 { margin: 0 0 12px; font-size: clamp(32px, 3.8vw, 56px); line-height: .98; font-weight: 530; letter-spacing: -.052em; }
.project-copy small { display: block; max-width: 430px; color: #a3a69e; font-size: 12px; line-height: 1.65; }

.services { padding: 140px 0; }
.services-head > p { color: var(--muted); }
.service-list { border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); }
.service button { width: 100%; min-height: 124px; padding: 0; border: 0; background: transparent; display: grid; grid-template-columns: 78px 1fr 36px; gap: 24px; align-items: center; text-align: left; cursor: pointer; }
.service button > span { color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.service button strong { font-size: clamp(30px, 3.7vw, 53px); line-height: 1; font-weight: 530; letter-spacing: -.05em; transition: transform .35s var(--ease); }
.service button:hover strong { transform: translateX(10px); }
.service button i { position: relative; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; }
.service button i::before, .service button i::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 1px; background: currentColor; transition: transform .3s; }
.service button i::after { transform: rotate(90deg); }
.service.is-open button i::after { transform: none; }
.service-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.service.is-open .service-panel { grid-template-rows: 1fr; }
.service-panel > div { overflow: hidden; display: grid; grid-template-columns: 78px 1fr .65fr auto; gap: 24px; }
.service-panel p { grid-column: 2; max-width: 500px; margin: 0 0 35px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.service-panel ul { margin: 0 0 35px; padding: 0; list-style: none; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.service-panel li { margin-bottom: 7px; }
.service-panel li::before { content: "—"; margin-right: 8px; }
.service-panel a { align-self: start; padding-bottom: 6px; border-bottom: 1px solid currentColor; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }

.approach { padding: 140px 0; background: var(--paper); border-block: 1px solid var(--line); }
.approach-head { display: grid; grid-template-columns: .4fr 1.6fr; gap: 60px; align-items: start; }
.approach h2 { margin-top: 0; }
.approach-list { margin-top: 90px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.approach-list article { min-height: 260px; padding: 28px 35px 20px 0; border-right: 1px solid var(--line); }
.approach-list article + article { padding-left: 35px; }
.approach-list article:last-child { border-right: 0; }
.approach-list span { color: var(--accent); font-size: 10px; font-weight: 700; }
.approach-list h3 { margin: 55px 0 15px; font-size: clamp(25px, 2.5vw, 36px); line-height: 1; font-weight: 540; letter-spacing: -.045em; }
.approach-list p { max-width: 360px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.about { padding: 150px 0; }
.about-grid { display: grid; grid-template-columns: minmax(320px, .7fr) minmax(0, 1.3fr); gap: clamp(70px, 10vw, 155px); align-items: start; }
.about-portrait { margin: 0; }
.about-portrait img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; filter: grayscale(1); }
.about-portrait figcaption { margin-top: 13px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .11em; }
.about-content { padding-top: 38px; }
.about h2 { max-width: 780px; margin-top: 30px; font-size: clamp(47px, 5.7vw, 80px); }
.about-intro { max-width: 610px; margin: 36px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.facts { max-width: 650px; margin: 44px 0 35px; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.facts div { padding: 19px 20px 19px 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts strong { display: block; margin-bottom: 6px; font-size: 31px; font-weight: 560; letter-spacing: -.05em; }
.facts span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.about .line-link { width: 180px; }

.contact { padding: 125px 0 105px; background: var(--night); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: .38fr 1.62fr; gap: 70px; }
.contact-label { display: flex; flex-direction: column; justify-content: space-between; }
.contact .section-label { color: #92968d; }
.contact-label > p:last-child { display: flex; align-items: center; gap: 10px; margin: 0; color: #8c9087; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.contact-label i { width: 7px; height: 7px; border-radius: 50%; background: #3ba45a; }
.contact h2 { max-width: 900px; margin: 0; font-size: clamp(70px, 9.5vw, 136px); line-height: .82; font-weight: 540; letter-spacing: -.075em; }
.contact h2 em { color: #d87963; }
.contact-bottom { margin-top: 80px; padding-top: 25px; border-top: 1px solid #41423c; display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; }
.contact-bottom p { max-width: 470px; margin: 0; color: #a4a79f; font-size: 13px; line-height: 1.7; }
.contact-bottom a { min-width: 245px; display: flex; justify-content: space-between; gap: 25px; padding-bottom: 8px; border-bottom: 1px solid #73766e; font-size: 14px; font-weight: 650; }

.site-footer { padding: 65px 0 25px; background: var(--night); color: var(--white); border-top: 1px solid #2c2d29; }
.site-footer .brand span { color: #777b73; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .5fr .5fr; gap: 60px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; color: #92958e; font-size: 11px; }
.footer-bottom { grid-column: 1 / -1; margin-top: 55px; padding-top: 20px; border-top: 1px solid #2c2d29; display: flex; justify-content: space-between; color: #74776f; font-size: 8px; text-transform: uppercase; letter-spacing: .11em; }
.footer-bottom a { color: var(--white); }

.js .hero-content, .js .hero-feature { opacity: 0; transform: translateY(20px); }
.js.is-ready .hero-content, .js.is-ready .hero-feature { opacity: 1; transform: none; transition: opacity .7s, transform .7s var(--ease); }
.js.is-ready .hero-feature { transition-delay: .12s; }

@media (max-width: 1050px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr .7fr; gap: 45px; }
  .hero h1 { font-size: clamp(51px, 7vw, 70px); }
  .hero-intro { grid-template-columns: 1fr; gap: 28px; }
  .hero-intro .line-link { width: 180px; }
  .section-head { grid-template-columns: 1fr .6fr; gap: 50px; }
  .project-wide { grid-template-columns: 1fr; }
  .project-wide .project-copy { margin-top: 22px; }
  .project-last { width: 100%; }
  .about-grid { gap: 70px; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .header-inner { height: 70px; }
  .brand span, .header-contact { display: none; }
  .menu-toggle { justify-self: end; display: flex; align-items: center; gap: 10px; padding: 8px 0; border: 0; background: transparent; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
  .menu-toggle i { width: 18px; height: 10px; border-block: 1px solid currentColor; }
  .mobile-menu { position: fixed; z-index: 99; inset: 70px 0 auto; padding: 18px var(--gutter) 28px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; transform: translateY(-125%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
  .mobile-menu.is-open { display: flex; transform: none; visibility: visible; }
  .mobile-menu a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 18px; }

  .hero { min-height: auto; padding: 112px 0 30px; }
  .hero-grid { display: flex; flex-direction: column; gap: 58px; }
  .hero-content { padding: 0; }
  .hero h1 { margin-top: 32px; font-size: clamp(43px, 12.2vw, 58px); line-height: .96; }
  .hero-intro { margin-top: 34px; }
  .hero-feature { width: 100%; }
  .feature-image { aspect-ratio: 4 / 3; }
  .hero-foot { margin-top: 45px; flex-wrap: wrap; }
  .hero-foot span:last-child { width: 100%; }

  .work, .services, .approach, .about { padding-block: 88px; }
  .section-head { display: block; margin-bottom: 52px; }
  .section-head h2, .approach h2, .about h2 { margin-top: 22px; font-size: clamp(42px, 12vw, 56px); }
  .section-head > p { margin-top: 28px; }
  .projects { grid-template-columns: 1fr; gap: 68px; }
  .project-wide, .project-last { grid-column: auto; display: block; width: 100%; }
  .project-offset { margin-top: 0; }
  .project-image, .project-image-tall, .project-image-wide { aspect-ratio: 4 / 3; }
  .project-image > span { display: none; }
  .project-copy, .project-wide .project-copy { margin-top: 18px; grid-template-columns: 46px 1fr; gap: 10px; }
  .project-copy h3 { font-size: 34px; }

  .service button { min-height: 92px; grid-template-columns: 30px 1fr 32px; gap: 10px; }
  .service button strong { font-size: 26px; }
  .service button i { width: 30px; height: 30px; }
  .service-panel > div { display: block; padding-left: 40px; }
  .service-panel p, .service-panel ul { margin-bottom: 20px; }
  .service-panel a { display: inline-block; margin-bottom: 28px; }

  .approach-head { display: block; }
  .approach h2 { margin-top: 22px; }
  .approach-list { margin-top: 55px; grid-template-columns: 1fr; }
  .approach-list article, .approach-list article + article { min-height: 0; padding: 27px 0 32px; border-right: 0; border-bottom: 1px solid var(--line); }
  .approach-list h3 { margin: 28px 0 12px; font-size: 30px; }

  .about-grid { grid-template-columns: 1fr; gap: 55px; }
  .about-portrait { width: 85%; margin-left: auto; }
  .about-content { padding-top: 0; }
  .facts { grid-template-columns: 1fr; }
  .facts div, .facts div + div { padding: 15px 0; border-left: 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
  .facts div:last-child { border-bottom: 0; }

  .contact { padding: 88px 0 75px; }
  .contact-grid { display: block; }
  .contact-label { gap: 38px; }
  .contact h2 { margin-top: 65px; font-size: clamp(62px, 18vw, 82px); }
  .contact-bottom { margin-top: 55px; flex-direction: column; align-items: flex-start; gap: 35px; }
  .contact-bottom a { width: 100%; min-width: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-footer .brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .footer-bottom span:nth-child(2) { display: none; }
}

/* The posts index also receives WordPress' `home` class, so use the explicit
   v5-inner class to keep its shell consistent with every other inner page. */
body.v5-inner .site-header { position: fixed; padding: 0; background: rgba(241,238,230,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
body.v5-inner .site-header .nav { width: min(calc(100% - var(--gutter) * 2), var(--shell)); height: 78px; margin-inline: auto; padding: 0; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 36px; }
body.v5-inner main { padding-top: 78px; }
body.v5-inner .hero { min-height: 0; padding: 115px 0 105px; display: block; border-bottom: 1px solid var(--line); }
body.v5-inner .hero .container { width: min(calc(100% - var(--gutter) * 2), var(--shell)); max-width: none; padding: 0; }
body.v5-inner .hero-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(300px,.55fr); gap: clamp(60px,9vw,140px); align-items: end; }
body.v5-inner .hero--archive .hero-grid { grid-template-columns: minmax(0,1fr); }
body.v5-inner .hero h1 { max-width: 1000px; margin: 24px 0 0; font-size: clamp(58px,7.5vw,108px); line-height: .9; font-weight: 550; letter-spacing: -.07em; }
body.v5-inner .hero-copy { max-width: 650px; margin: 34px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
body.v5-inner .cta { padding: 110px 0 95px; background: var(--night); color: var(--white); }
body.v5-inner .cta .container { width: min(calc(100% - var(--gutter) * 2), var(--shell)); max-width: none; padding: 0; }
body.v5-inner .cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: end; }
body.v5-inner .cta h2 { max-width: 820px; margin: 20px 0 28px; color: var(--white); font-size: clamp(64px,8vw,118px); line-height: .84; font-weight: 540; letter-spacing: -.075em; }
body.v5-inner .cta p { max-width: 560px; color: #a4a79f; }
body.v5-inner .cta-button { min-width: 240px; display: flex; justify-content: space-between; padding: 16px 0; border-block: 1px solid #565951; color: var(--white); font-size: 14px; font-weight: 650; }
body.v5-inner .site-footer { padding: 65px 0 25px; background: var(--night); border-top: 1px solid #2c2d29; }
body.v5-inner .cursor, body.v5-inner .mobile-nav { display: none !important; }

@media (max-width: 760px) {
  body.v5-inner .site-header .nav { height: 70px; grid-template-columns: 1fr auto; }
  body.v5-inner .nav-links, body.v5-inner .nav-cta, body.v5-inner .brand__role { display: none; }
  body.v5-inner .nav-toggle { display: flex; }
  body.v5-inner main { padding-top: 70px; }
  body.v5-inner .hero { padding: 78px 0 70px; }
  body.v5-inner .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  body.v5-inner .hero h1 { font-size: clamp(48px,14vw,68px); }
  body.v5-inner .cta-inner { grid-template-columns: 1fr; gap: 45px; }
}

/* V5 system for every WordPress template. */
body:not(.home) .site-header {
  position: fixed;
  padding: 0;
  background: rgba(241, 238, 230, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

body:not(.home) .site-header .nav {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  height: 78px;
  margin-inline: auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 36px;
}

body:not(.home) .site-header .brand__logo { height: 25px; max-width: 170px; }
body:not(.home) .site-header .brand__name { color: var(--ink); font-size: 15px; font-weight: 750; }
body:not(.home) .site-header .brand__role { color: var(--muted); font-size: 9px; }
body:not(.home) .nav-links { gap: 30px; font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .09em; }
body:not(.home) .nav-cta { padding: 11px 15px; background: var(--ink); color: var(--white); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

body:not(.home) main { padding-top: 78px; }
body:not(.home) .hero { min-height: 0; padding: 115px 0 105px; display: block; border-bottom: 1px solid var(--line); }
body:not(.home) .hero .container { width: min(calc(100% - var(--gutter) * 2), var(--shell)); max-width: none; padding: 0; }
body:not(.home) .hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .55fr); gap: clamp(60px, 9vw, 140px); align-items: end; }
body:not(.home) .hero--archive .hero-grid { grid-template-columns: minmax(0, 1fr); }
body:not(.home) .hero h1 { max-width: 1000px; margin: 24px 0 0; font-size: clamp(58px, 7.5vw, 108px); line-height: .9; font-weight: 550; letter-spacing: -.07em; }
body:not(.home) .hero-copy { max-width: 650px; margin: 34px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
body:not(.home) .hero-media { max-width: 470px; justify-self: end; }
body:not(.home) .hero-image img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; filter: grayscale(1); }
body:not(.home) .hero-note { margin-top: 13px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }

body:not(.home) .section-kicker, body:not(.home) .eyebrow { color: var(--accent); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
body:not(.home) .section-title { font-size: clamp(48px, 6vw, 84px); line-height: .95; font-weight: 550; letter-spacing: -.06em; }

/* Shared inner-page call to action. */
body:not(.home) .cta { padding: 110px 0 95px; background: var(--night); color: var(--white); }
body:not(.home) .cta .container { width: min(calc(100% - var(--gutter) * 2), var(--shell)); max-width: none; padding: 0; }
body:not(.home) .cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: end; }
body:not(.home) .cta h2 { max-width: 820px; margin: 20px 0 28px; color: var(--white); font-size: clamp(64px, 8vw, 118px); line-height: .84; font-weight: 540; letter-spacing: -.075em; }
body:not(.home) .cta p { max-width: 560px; color: #a4a79f; }
body:not(.home) .cta-button { min-width: 240px; display: flex; justify-content: space-between; padding: 16px 0; border-block: 1px solid #565951; color: var(--white); font-size: 14px; font-weight: 650; }

/* Portfolio archive. */
.post-type-archive-portfolio .work--archive { padding: 105px 0 130px; }
.post-type-archive-portfolio .work--archive .container { width: min(calc(100% - var(--gutter) * 2), var(--shell)); max-width: none; padding: 0; }
.work-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.17); }
.work-list__item { border-bottom: 1px solid rgba(255,255,255,.17); }
.work-item { position: relative; min-height: 130px; padding: 22px 0; display: grid; grid-template-columns: 70px 1.2fr .7fr 30px; gap: 25px; align-items: center; color: var(--white); }
.work-item__num, .work-item__meta { color: #8d9188; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.work-item__title { font-size: clamp(30px, 4vw, 56px); font-weight: 530; letter-spacing: -.05em; }
.work-item__arrow { color: #d87963; font-size: 20px; }
.work-item__thumb { display: none; }

/* Single case studies. */
.single-project__header { padding: 115px 0 0; }
.single-project__header > .container, .single-project__meta > .container, .single-project__body, .single-project__nav-wrap { width: min(calc(100% - var(--gutter) * 2), var(--shell)); max-width: none; padding-inline: 0; }
.btn-back { display: inline-flex; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.single-project__eyebrow { margin: 75px 0 20px; color: var(--accent); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.single-project__title { max-width: 1050px; margin: 0; font-size: clamp(72px, 10vw, 148px); line-height: .82; font-weight: 540; letter-spacing: -.08em; }
.single-project__lead { max-width: 650px; margin: 35px 0 55px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.single-project__media { aspect-ratio: 16 / 9; overflow: hidden; background: #dedbd2; }
.single-project__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.single-project__meta { padding: 32px 0; border-bottom: 1px solid var(--line); }
.single-project__meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.single-project__meta-item { padding-right: 25px; }
.single-project__meta-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.single-project__meta-value { font-size: 14px; }
.single-project__body { padding-block: 120px; }
.single-project__section { max-width: 800px; margin: 0 auto 110px; }
.single-project__section-title { margin: 20px 0 28px; font-size: clamp(46px, 6vw, 78px); line-height: .95; font-weight: 550; letter-spacing: -.06em; }
.single-project__text { color: var(--muted); font-size: 17px; line-height: 1.85; }
.single-project__figure { margin: 0 0 120px; }
.single-project__figure--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.single-project__figure-img { width: 100%; }
.single-project__caption { margin-top: 12px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.single-project__nav-wrap { padding-bottom: 110px; }

/* Journal archive and articles. */
.journal-section { padding: 105px 0 130px; }
.journal-section > .container, .single-article .container { width: min(calc(100% - var(--gutter) * 2), var(--shell)); max-width: none; padding-inline: 0; }
.journal-list { border-top: 1px solid var(--line); }
.journal-card { border-bottom: 1px solid var(--line); }
.journal-card__link { min-height: 190px; padding: 28px 0; display: grid; grid-template-columns: 150px 1fr .6fr auto; gap: 30px; align-items: center; }
.journal-card__date { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.journal-card__title { margin: 0; font-size: clamp(30px, 4vw, 54px); line-height: 1; font-weight: 540; letter-spacing: -.05em; }
.journal-card__excerpt { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.journal-card__cta { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.single-article__header { padding: 120px 0 80px; }
.single-article__header .container--narrow, .single-article__content.container--narrow, .single-article__nav.container--narrow { max-width: 900px; }
.single-article__category { margin: 65px 0 20px; color: var(--accent); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.single-article__title { margin: 0; font-size: clamp(58px, 8vw, 104px); line-height: .9; font-weight: 550; letter-spacing: -.07em; }
.single-article__meta { margin-top: 28px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.single-article__content { padding-block: 75px; font-size: 17px; line-height: 1.85; }
.single-article__content h2 { margin-top: 65px; font-size: 42px; letter-spacing: -.04em; }
.single-article__nav { padding-bottom: 110px; }

/* About page. */
.story, .capabilities, .values, .process { padding: 120px 0; }
.story .container, .capabilities .container, .values .container, .process .container { width: min(calc(100% - var(--gutter) * 2), var(--shell)); max-width: none; padding: 0; }
.story-grid, .values-grid, .process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(70px, 10vw, 150px); }
.story-intro h2, .values h2, .process h2 { margin: 22px 0 0; font-size: clamp(48px, 6vw, 82px); line-height: .95; font-weight: 550; letter-spacing: -.06em; }
.story-copy { color: var(--muted); font-size: 16px; line-height: 1.85; }
.quote { margin-top: 45px; padding-top: 30px; border-top: 1px solid var(--line); color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 27px; }
.capabilities { background: var(--night); color: var(--white); }
.capabilities-head { display: grid; grid-template-columns: 1.2fr .6fr; gap: 70px; align-items: end; }
.capability-list { margin-top: 70px; border-top: 1px solid rgba(255,255,255,.17); }
.capability { min-height: 125px; display: grid; grid-template-columns: 60px 1fr 1fr 30px; gap: 25px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.17); }
.capability h3 { margin: 0; color: var(--white); font-size: clamp(28px, 3.5vw, 48px); font-weight: 530; letter-spacing: -.05em; }
.capability p { color: #a4a79f; font-size: 13px; }
.values { background: var(--paper); }
.value, .step { padding: 28px 0; display: grid; grid-template-columns: 55px 1fr auto; gap: 20px; border-bottom: 1px solid var(--line); }
.value h3, .step h3 { margin: 0 0 10px; font-size: 28px; letter-spacing: -.04em; }
.value p, .step p, .values-intro, .process-intro { color: var(--muted); line-height: 1.75; }

/* Contact and generic pages. */
.contact-section { padding: 110px 0 130px; }
.contact-section > .container { width: min(calc(100% - var(--gutter) * 2), var(--shell)); max-width: none; padding: 0; }
.contact-section .contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(70px, 10vw, 145px); }
.contact-info__title, .contact-form-wrap__title { margin: 22px 0 25px; font-size: clamp(38px, 4.5vw, 62px); line-height: .98; letter-spacing: -.055em; }
.contact-details-list { margin-top: 45px; border-top: 1px solid var(--line); }
.contact-detail { padding: 18px 0; display: flex; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); }
.contact-detail__label { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.contact-form-wrap { padding: 45px; background: var(--paper); border: 1px solid var(--line); }
.generic-page__header { padding: 150px 0 80px; }
.generic-page__title { margin: 0; font-size: clamp(62px, 8vw, 110px); line-height: .9; letter-spacing: -.07em; }
.generic-page__content { max-width: 900px; padding-bottom: 130px; font-size: 17px; line-height: 1.85; }
.hero--404 { min-height: calc(100svh - 78px) !important; display: flex !important; align-items: center; }

body:not(.home) .site-footer { padding: 65px 0 25px; background: var(--night); border-top: 1px solid #2c2d29; }
body:not(.home) .site-footer .container { width: min(calc(100% - var(--gutter) * 2), var(--shell)); max-width: none; padding: 0; }
body:not(.home) .site-footer__top { display: grid; grid-template-columns: 1.5fr .5fr .5fr; align-items: start; gap: 60px; padding-bottom: 55px; border-bottom: 1px solid #2c2d29; }
body:not(.home) .site-footer__links, body:not(.home) .site-footer__socials { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font-size: 11px; }
body:not(.home) .site-footer__dot { display: none; }
body:not(.home) .site-footer__bottom { padding-top: 20px; border: 0; font-size: 8px; text-transform: uppercase; letter-spacing: .11em; }
body:not(.home) .cursor, body:not(.home) .mobile-nav { display: none !important; }

@media (max-width: 760px) {
  body:not(.home) .site-header .nav { height: 70px; grid-template-columns: 1fr auto; }
  body:not(.home) .site-header .brand__role, body:not(.home) .nav-links, body:not(.home) .nav-cta { display: none; }
  body:not(.home) .nav-toggle { display: flex; }
  body:not(.home) main { padding-top: 70px; }
  body:not(.home) .hero { padding: 78px 0 70px; }
  body:not(.home) .hero-grid, .story-grid, .values-grid, .process-grid, .contact-section .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  body:not(.home) .hero h1 { font-size: clamp(48px, 14vw, 68px); }
  body:not(.home) .hero-media { max-width: 85%; margin-left: auto; }
  body:not(.home) .cta-inner { grid-template-columns: 1fr; gap: 45px; }
  body:not(.home) .cta h2 { font-size: 62px; }
  .work-item { grid-template-columns: 36px 1fr auto; min-height: 95px; }
  .work-item__meta { display: none; }
  .single-project__header { padding-top: 80px; }
  .single-project__eyebrow { margin-top: 55px; }
  .single-project__title { font-size: clamp(58px, 18vw, 82px); }
  .single-project__media { aspect-ratio: 4 / 3; }
  .single-project__meta-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .single-project__body { padding-block: 80px; }
  .single-project__figure--pair { grid-template-columns: 1fr; }
  .journal-card__link { grid-template-columns: 1fr; gap: 13px; padding: 28px 0; }
  .journal-card__excerpt { max-width: 500px; }
  .capabilities-head { grid-template-columns: 1fr; }
  .capability { grid-template-columns: 35px 1fr auto; padding: 25px 0; }
  .capability p { grid-column: 2 / -1; margin: 0; }
  .contact-form-wrap { padding: 28px 20px; }
  body:not(.home) .site-footer__top { grid-template-columns: 1fr 1fr; }
  body:not(.home) .site-footer__brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .hero-content, .js .hero-feature { opacity: 1; transform: none; }
}

/* WordPress theme adapters — front page only. */
body.home .site-header {
  position: fixed;
  padding: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
}

body.home .site-header.is-scrolled {
  background: rgba(241, 238, 230, .92);
  border-color: var(--line);
}

body.home .site-header .nav {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  height: 78px;
  margin-inline: auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
}

body.home .site-header .brand__logo { height: 25px; max-width: 170px; }
body.home .site-header .brand__mark { color: var(--ink); }
body.home .site-header .brand__name { color: var(--ink); font-size: 15px; font-weight: 750; letter-spacing: -.035em; }
body.home .site-header .brand__role { color: var(--muted); font-size: 9px; }
body.home .nav-links { gap: 32px; font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .09em; }
body.home .nav-links__link::after { bottom: -5px; height: 1px; }
body.home .nav-cta {
  justify-self: end;
  padding: 0;
  background: transparent;
  color: var(--ink);
  gap: 9px;
  font-size: 10px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .09em;
}
body.home .nav-cta:hover { background: transparent; color: var(--ink); transform: none; opacity: .65; }
body.home .nav-cta i { width: 7px; height: 7px; border-radius: 50%; background: #3ba45a; box-shadow: 0 0 0 4px rgba(59, 164, 90, .13); }

body.home .site-footer { padding: 65px 0 25px; background: var(--night); border-top: 1px solid #2c2d29; }
body.home .site-footer .container { width: min(calc(100% - var(--gutter) * 2), var(--shell)); max-width: none; padding: 0; }
body.home .site-footer__top { display: grid; grid-template-columns: 1.5fr .5fr .5fr; align-items: start; gap: 60px; padding-bottom: 55px; border-bottom: 1px solid #2c2d29; }
body.home .site-footer__links, body.home .site-footer__socials { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font-size: 11px; }
body.home .site-footer__dot { display: none; }
body.home .site-footer__bottom { padding-top: 20px; border: 0; font-size: 8px; text-transform: uppercase; letter-spacing: .11em; }
body.home .cursor, body.home .mobile-nav { display: none !important; }

@media (max-width: 1050px) {
  body.home .site-header .nav { grid-template-columns: 1fr auto; }
  body.home .nav-links { display: none; }
}

@media (max-width: 760px) {
  body.home .site-header .nav { height: 70px; }
  body.home .site-header .brand__role, body.home .nav-cta { display: none; }
  body.home .nav-toggle { display: flex; justify-self: end; }
  body.home .mobile-menu { position: fixed; inset: 70px 0 auto; padding: 18px var(--gutter) 28px; background: var(--bg); border-bottom: 1px solid var(--line); }
  body.home .mobile-menu__link { padding: 13px 0; font-size: 18px; }
  body.home .mobile-menu__cta { margin-top: 15px; background: var(--ink); }
  body.home .site-footer__top { grid-template-columns: 1fr 1fr; }
  body.home .site-footer__brand { grid-column: 1 / -1; }
  body.home .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  body.home .site-footer__tagline { display: none; }
}

/* Final shared header: identical markup and behaviour on every route. */
.site-header,
body.home .site-header,
body.v5-inner .site-header,
body:not(.home) .site-header {
  position: fixed !important;
  z-index: 100;
  inset: 0 0 auto;
  width: 100%;
  height: 76px;
  padding: 0 !important;
  background: rgba(241, 238, 230, .96) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  backdrop-filter: blur(16px);
}

.admin-bar .site-header { top: 32px; }
.header-shell {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  height: 76px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 32px;
}
.site-brand { display: inline-flex; align-items: center; gap: 14px; width: max-content; min-width: 0; }
.site-brand strong { font-size: 15px; font-weight: 750; line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.site-brand span { padding-left: 14px; border-left: 1px solid currentColor; color: var(--muted); font-size: 9px; line-height: 1.2; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 32px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.primary-nav a { position: relative; padding: 8px 0; }
.primary-nav a::after { content: ""; position: absolute; inset: auto 0 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.primary-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { justify-self: end; display: inline-flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; white-space: nowrap; }
.header-cta i { width: 7px; height: 7px; border-radius: 50%; background: #3ba45a; box-shadow: 0 0 0 4px rgba(59,164,90,.13); }
.header-cta span { margin-left: 4px; font-size: 14px; }
.site-header .nav-toggle { display: none; justify-self: end; }
.site-header .mobile-menu { position: fixed; inset: 76px 0 auto; display: block; padding: 16px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line); transform: translateY(-125%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
.site-header .mobile-menu.is-open { transform: none; visibility: visible; }
.site-header .mobile-menu__nav { width: min(100%, var(--shell)); margin-inline: auto; }

/* Content is never hidden when JavaScript or cache fails. */
.js .hero-content,
.js .hero-feature,
.hero-content,
.hero-feature { opacity: 1 !important; transform: none !important; }

@media (max-width: 960px) {
  .header-shell { grid-template-columns: 1fr auto; }
  .primary-nav, .header-cta { display: none; }
  .site-header .nav-toggle { display: flex; }
}

@media (max-width: 760px) {
  .site-header,
  body.home .site-header,
  body.v5-inner .site-header,
  body:not(.home) .site-header,
  .header-shell { height: 70px; }
  .site-brand span { display: none; }
  .site-header .mobile-menu { inset-block-start: 70px; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .site-header .mobile-menu { inset-block-start: 116px; }
}
