/*
Theme Name: Riamona Studio
Theme URI: https://riamona.com/
Author: Riamona
Author URI: https://riamona.com/
Description: A creative studio theme for Riamona — three disciplines, one roof. App, MVP & AI development for tech founders, plus catalog and Shopify work for product brands. Pixora-inspired editorial layout with bold typography, dark sections, and a glowing footer wordmark. Drop-in: activate and the homepage is ready.
Version: 2.5.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: riamona
Tags: portfolio, creative, agency, dark-style, custom-colors, custom-menu, full-width-template, sticky-post, threaded-comments, blog, one-column
*/

/* ============================================================
       DESIGN TOKENS — Pixora Creative Studio
       ============================================================ */
    :root {
      --red: #E60012;
      --red-deep: #C20010;
      --red-bright: #FF1A2D;
      --red-glow: #FF1F35;
      --yellow: #F5DC00;

      --bg: #FAFAF8;
      --bg-soft: #F2F2EE;
      --black: #0A0A0A;
      --black-soft: #141414;
      --black-mid: #1F1F1F;
      --pill-dark: #1C1C1C;
      --pill-dark-2: #262626;

      --text: #0A0A0A;
      --text-light: #FAFAF8;
      --muted: #6E6E6E;
      --muted-soft: #9A9A9A;
      --muted-dark: #888;

      --line: rgba(10,10,10,0.10);
      --line-strong: rgba(10,10,10,0.18);
      --line-dark: rgba(250,250,248,0.10);
      --line-dark-strong: rgba(250,250,248,0.20);

      --ff: 'Inter', system-ui, -apple-system, sans-serif;

      --max: 1440px;
      --gutter: clamp(1.5rem, 4vw, 4rem);

      --ease: cubic-bezier(0.22, 1, 0.36, 1);
      --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* ============================================================
       RESET & BASE
       ============================================================ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html {
      -webkit-text-size-adjust: 100%;
      scroll-behavior: smooth;
      overflow-x: clip;
    }

    body {
      font-family: var(--ff);
      font-weight: 400;
      font-size: 16px;
      line-height: 1.55;
      color: var(--text);
      background: var(--bg);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x: clip;
      max-width: 100vw;
      position: relative;
    }

    img { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
    ul, ol { list-style: none; }

    ::selection { background: var(--red); color: #fff; }

    /* ============================================================
       LOADING SCREEN — full red, white counter
       ============================================================ */
    .loader {
      position: fixed;
      inset: 0;
      z-index: 9999;
      background: var(--red);
      display: grid;
      place-items: center;
      transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
    }
    .loader.is-done { opacity: 0; visibility: hidden; }
    .loader-num {
      font-family: var(--ff);
      font-size: clamp(80px, 12vw, 180px);
      font-weight: 900;
      color: #fff;
      letter-spacing: -0.04em;
      line-height: 1;
    }
    .loader-bar {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 3px;
      background: rgba(255,255,255,0.18);
    }
    .loader-bar-fill {
      position: absolute;
      top: 0; left: 0; bottom: 0;
      width: 0;
      background: #fff;
      transition: width 0.05s linear;
    }

    /* ============================================================
       LAYOUT PRIMITIVES
       ============================================================ */
    .container {
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 var(--gutter);
      position: relative;
      z-index: 2;
    }
    .container-wide { max-width: 1600px; }

    /* ============================================================
       NAVIGATION — transparent over hero, white text
       ============================================================ */
    .nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 1.75rem 0;
      transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease);
    }
    .nav.scrolled {
      padding: 1rem 0;
      background: rgba(10, 10, 10, 0.85);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
    }
    .nav-inner {
      max-width: 1600px;
      margin: 0 auto;
      padding: 0 var(--gutter);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
    }
    .logo {
      font-weight: 800;
      font-size: 22px;
      color: #fff;
      letter-spacing: -0.01em;
    }
    .nav-links {
      display: flex;
      gap: 2.5rem;
      align-items: center;
    }
    .nav-link {
      font-size: 14px;
      font-weight: 500;
      color: #fff;
      letter-spacing: 0.01em;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      transition: opacity 0.3s var(--ease);
      padding: 0.4rem 0;
      cursor: pointer;
    }
    .nav-link:hover { opacity: 0.7; }
    .nav-link svg { width: 12px; height: 12px; opacity: 0.7; }

    .nav-burger {
      width: 56px; height: 24px;
      display: inline-flex;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
      padding: 6px 0;
    }
    .nav-burger span {
      display: block;
      width: 100%;
      height: 1.5px;
      background: #fff;
      transition: background 0.3s var(--ease);
    }
    .nav-burger:hover span { background: var(--red-bright); }

    @media (max-width: 980px) {
      .nav-links { display: none; }
    }

    /* ============================================================
       OFF-CANVAS PANEL — slides from right, cream bg
       ============================================================ */
    .offcanvas {
      position: fixed;
      top: 0; right: 0;
      width: min(440px, 92vw);
      height: 100vh;
      background: var(--bg);
      z-index: 200;
      transform: translateX(100%);
      transition: transform 0.55s var(--ease-out-expo);
      display: none;
      flex-direction: column;
      padding: 2rem 2.5rem;
      overflow-y: auto;
    }
    .offcanvas.is-mounted { display: flex; }
    .offcanvas.is-open { transform: translateX(0); }
    .offcanvas-overlay {
      position: fixed;
      inset: 0;
      background: rgba(10, 10, 10, 0);
      z-index: 199;
      pointer-events: none;
      transition: background 0.5s var(--ease);
    }
    .offcanvas-overlay.is-open {
      background: rgba(10, 10, 10, 0.6);
      pointer-events: auto;
    }
    .offcanvas-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-bottom: 2rem;
    }
    .offcanvas-logo {
      font-weight: 900;
      font-size: 26px;
      color: var(--red);
      letter-spacing: -0.01em;
    }
    .offcanvas-close {
      width: 36px; height: 36px;
      border-radius: 50%;
      display: grid; place-items: center;
      transition: background 0.3s var(--ease), transform 0.3s var(--ease);
    }
    .offcanvas-close:hover { background: var(--bg-soft); transform: rotate(90deg); }
    .offcanvas-close svg { width: 16px; height: 16px; }
    .offcanvas-greeting {
      margin-top: 1rem;
    }
    .offcanvas-greeting h3 {
      font-size: 32px;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.02em;
    }
    .offcanvas-greeting p {
      margin-top: 0.6rem;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.6;
    }
    .offcanvas-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0.5rem;
      margin: 2rem 0;
    }
    .offcanvas-thumb {
      aspect-ratio: 1;
      border-radius: 6px;
      background-size: cover;
      background-position: center;
      position: relative;
      overflow: hidden;
    }
    .offcanvas-thumb-1 { background: linear-gradient(135deg, #1F4458 0%, #0E1F2C 100%); }
    .offcanvas-thumb-2 { background: linear-gradient(135deg, #C45F30 0%, #6B2A10 100%); }
    .offcanvas-thumb-3 { background: linear-gradient(135deg, #BCAA88 0%, #6B5934 100%); }
    .offcanvas-thumb-4 { background: linear-gradient(135deg, #C42030 0%, #6B0E14 100%); }

    .offcanvas-block {
      margin-top: 1.5rem;
      padding-top: 1.5rem;
      border-top: 1px solid var(--line);
    }
    .offcanvas-block h4 {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--text);
      margin-bottom: 1rem;
    }
    .offcanvas-info p {
      font-size: 14px;
      color: var(--muted);
      padding: 0.3rem 0;
    }
    .offcanvas-info a { color: var(--text); }
    .offcanvas-info a:hover { color: var(--red); }
    .offcanvas-social {
      display: flex;
      gap: 0.5rem;
    }
    .offcanvas-social a {
      width: 36px; height: 36px;
      border-radius: 50%;
      border: 1px solid var(--line-strong);
      display: grid; place-items: center;
      transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
    }
    .offcanvas-social a:hover { background: var(--text); color: #fff; border-color: var(--text); }
    .offcanvas-social svg { width: 14px; height: 14px; }

    /* ============================================================
       HERO — full-bleed dramatic photo background
       ============================================================ */
    .hero {
      position: relative;
      min-height: 820px;
      height: 100vh;
      max-height: 1000px;
      width: 100%;
      overflow: hidden;
      color: #fff;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: clamp(6rem, 10vh, 8rem) 0 3rem;
    }
    /* Hero background — sunset/portrait gradient placeholder */
    .hero-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      background:
        radial-gradient(ellipse 60% 80% at 60% 40%, rgba(20, 20, 30, 0.55) 0%, transparent 60%),
        linear-gradient(180deg, #B07A8C 0%, #C66375 30%, #D1525C 55%, #C95040 80%, #A23824 100%);
    }
    /* Suggest a portrait silhouette */
    .hero-bg::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 30% 50% at 60% 55%, rgba(0, 0, 0, 0.6) 0%, transparent 70%),
        radial-gradient(ellipse 20% 35% at 60% 75%, rgba(0, 0, 0, 0.85) 0%, transparent 75%);
    }
    /* Red motion blur streak — Pixora signature */
    .hero-bg::after {
      content: '';
      position: absolute;
      top: 38%;
      left: 35%;
      right: 0;
      height: 14%;
      background: linear-gradient(90deg,
        transparent 0%,
        rgba(230, 0, 18, 0.4) 10%,
        rgba(255, 30, 50, 0.85) 35%,
        rgba(230, 0, 18, 0.55) 70%,
        transparent 100%);
      filter: blur(8px);
      transform: skewY(-1deg);
    }
    /* Subtle film grain */
    .hero-bg-grain {
      position: absolute;
      inset: 0;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.07 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
      mix-blend-mode: overlay;
      pointer-events: none;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1fr 380px;
      gap: 3rem;
      align-items: end;
      width: 100%;
      max-width: 1600px;
      margin: 0 auto;
      padding: 0 var(--gutter);
    }
    .hero-eyebrow {
      font-size: 14px;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.85);
      margin-bottom: 1.25rem;
      letter-spacing: 0;
    }
    .hero-headline {
      font-size: clamp(48px, 8vw, 132px);
      font-weight: 800;
      line-height: 1;
      letter-spacing: -0.025em;
      text-transform: uppercase;
      color: #fff;
    }
    .hero-headline span { display: block; }

    .hero-side {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      align-items: flex-end;
    }
    .hero-tagline {
      font-size: 16px;
      color: #fff;
      font-weight: 500;
      line-height: 1.4;
      max-width: 220px;
      text-align: left;
      align-self: flex-end;
    }
    .hero-card-yellow {
      background: var(--yellow);
      color: var(--black);
      padding: 1.4rem 1.6rem 1.6rem;
      border-radius: 4px;
      font-weight: 900;
      font-size: clamp(15px, 1.3vw, 19px);
      line-height: 1.05;
      letter-spacing: -0.01em;
      text-transform: uppercase;
      width: 280px;
      max-width: 100%;
    }
    .hero-card-yellow .hl-small { font-size: 0.7em; font-weight: 800; }
    .hero-card-yellow .hl-big { font-size: 1.3em; font-weight: 900; display: block; margin-top: 0.2em; }

    .hero-bottom-row {
      position: relative;
      z-index: 2;
      max-width: 1600px;
      margin: 4rem auto 0;
      padding: 0 var(--gutter);
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
      border-top: 1px solid rgba(255,255,255,0.18);
      padding-top: 2rem;
    }
    .hero-bottom-num {
      font-size: 12px;
      font-weight: 500;
      color: rgba(255,255,255,0.6);
      margin-bottom: 0.5rem;
      letter-spacing: 0.02em;
    }
    .hero-bottom-label {
      font-size: 16px;
      color: rgba(255,255,255,0.95);
      font-weight: 500;
    }

    @media (max-width: 880px) {
      .hero-content { grid-template-columns: 1fr; gap: 2rem; }
      .hero-side { flex-direction: row; flex-wrap: wrap; align-items: flex-start; align-self: stretch; }
      .hero-tagline { align-self: flex-start; }
      .hero-bottom-row { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
      .hero-card-yellow { width: auto; }
    }

    /* ============================================================
       MARQUEE TICKER (light bg)
       ============================================================ */
    .marquee {
      padding: 2rem 0;
      overflow: hidden;
      contain: paint;
      background: var(--bg);
      border-bottom: 1px solid var(--line);
    }
    .marquee-track {
      display: flex;
      gap: 4rem;
      width: max-content;
      animation: scroll 40s linear infinite;
      align-items: center;
    }
    .marquee:hover .marquee-track { animation-play-state: paused; }
    .marquee-item {
      font-size: clamp(40px, 6vw, 88px);
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.02em;
      line-height: 1;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      gap: 4rem;
      padding-right: 4rem;
      text-transform: uppercase;
    }
    .marquee-item::after {
      content: '';
      width: 18px; height: 18px;
      border-radius: 50%;
      background: var(--red);
      display: inline-block;
    }
    @keyframes scroll {
      from { transform: translateX(0); }
      to { transform: translateX(-50%); }
    }

    /* ============================================================
       MANIFESTO / USP — full red impact section
       ============================================================ */
    .manifesto {
      background: var(--red);
      color: #fff;
      padding: clamp(5rem, 9vw, 9rem) 0;
      position: relative;
      overflow: hidden;
    }
    .manifesto::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 0.5 0 0 0 0 0.4 0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
      mix-blend-mode: overlay;
      pointer-events: none;
    }
    .manifesto-inner {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(2rem, 5vw, 5rem);
      align-items: end;
    }
    .manifesto-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.55rem 1.1rem 0.55rem 0.75rem;
      border-radius: 999px;
      background: rgba(0, 0, 0, 0.18);
      color: #fff;
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.01em;
      margin-bottom: 2rem;
    }
    .manifesto-eyebrow::before {
      content: '+';
      width: 22px; height: 22px;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.22);
      display: grid; place-items: center;
      font-weight: 400;
      font-size: 16px;
    }
    .manifesto-title {
      font-size: clamp(40px, 6vw, 96px);
      font-weight: 800;
      letter-spacing: -0.035em;
      line-height: 0.98;
      color: #fff;
      text-transform: none;
    }
    .manifesto-title em {
      font-style: normal;
      color: var(--black);
      display: inline-block;
    }
    .manifesto-body {
      font-size: clamp(16px, 1.4vw, 19px);
      line-height: 1.55;
      color: rgba(255,255,255,0.95);
      max-width: 540px;
    }
    .manifesto-body strong {
      color: #fff;
      font-weight: 700;
    }
    .manifesto-actions {
      margin-top: 2rem;
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
    }
    .manifesto .pill-cta-light {
      background: var(--black);
      color: #fff;
    }
    .manifesto .pill-cta-light:hover {
      background: #fff;
      color: var(--black);
    }
    .manifesto-ghost {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.85rem 1.5rem;
      border-radius: 999px;
      background: transparent;
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      border: 1.5px solid rgba(255,255,255,0.4);
      transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
    }
    .manifesto-ghost:hover { background: rgba(0,0,0,0.18); border-color: #fff; }

    @media (max-width: 880px) {
      .manifesto-inner { grid-template-columns: 1fr; gap: 2rem; }
    }

    /* ============================================================
       SERVICES SECTION — pure black, accordion
       ============================================================ */
    .services {
      background: var(--black);
      color: var(--text-light);
      padding: clamp(5rem, 9vw, 9rem) 0;
      position: relative;
    }
    .services-head {
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 2rem;
      margin-bottom: clamp(3rem, 6vw, 5rem);
    }
    .pill-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.55rem 1.1rem 0.55rem 0.75rem;
      border-radius: 999px;
      background: var(--pill-dark);
      font-size: 13px;
      font-weight: 500;
      color: rgba(255,255,255,0.88);
      letter-spacing: 0.01em;
    }
    .pill-eyebrow::before {
      content: '+';
      width: 22px; height: 22px;
      border-radius: 50%;
      background: var(--pill-dark-2);
      display: grid; place-items: center;
      font-weight: 400;
      font-size: 16px;
      color: rgba(255,255,255,0.88);
    }
    .services-title {
      grid-column: 2;
      text-align: center;
      font-size: clamp(64px, 10vw, 168px);
      font-weight: 800;
      letter-spacing: -0.035em;
      line-height: 0.95;
      color: #fff;
    }
    .pill-cta-light {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.85rem 1.5rem 0.85rem 1.5rem;
      border-radius: 999px;
      background: #fff;
      color: var(--black);
      font-size: 14px;
      font-weight: 600;
      transition: transform 0.3s var(--ease), background 0.3s var(--ease);
    }
    .pill-cta-light:hover { background: var(--red); color: #fff; }

    .accordion { list-style: none; }
    .accordion-item {
      border-top: 1px solid var(--line-dark);
      transition: background 0.4s var(--ease);
    }
    .accordion-item:last-child { border-bottom: 1px solid var(--line-dark); }
    .accordion-head {
      display: grid;
      grid-template-columns: 100px 1fr 60px;
      align-items: center;
      padding: 2.2rem 0;
      cursor: pointer;
      gap: 2rem;
    }
    .accordion-num {
      font-size: 14px;
      color: var(--muted-soft);
      font-weight: 500;
    }
    .accordion-title {
      font-size: clamp(22px, 2.4vw, 32px);
      font-weight: 600;
      letter-spacing: -0.01em;
      color: #fff;
      transition: color 0.3s var(--ease);
    }
    .accordion-item:hover .accordion-title { color: var(--red-bright); }
    .accordion-toggle {
      width: 44px; height: 44px;
      border-radius: 50%;
      border: 1px solid var(--line-dark-strong);
      display: grid; place-items: center;
      justify-self: end;
      position: relative;
      transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
    }
    .accordion-toggle::before, .accordion-toggle::after {
      content: '';
      position: absolute;
      background: #fff;
      border-radius: 1px;
    }
    .accordion-toggle::before { width: 14px; height: 1.5px; }
    .accordion-toggle::after {
      width: 1.5px; height: 14px;
      transition: transform 0.3s var(--ease);
    }
    .accordion-item.is-open .accordion-toggle { background: #fff; border-color: #fff; }
    .accordion-item.is-open .accordion-toggle::before { background: var(--black); }
    .accordion-item.is-open .accordion-toggle::after { transform: scale(0); }

    .accordion-body {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.5s var(--ease);
    }
    .accordion-item.is-open .accordion-body { max-height: 600px; }
    .accordion-body-inner {
      display: grid;
      grid-template-columns: 100px minmax(220px, 280px) 1fr auto;
      gap: 2rem;
      align-items: start;
      padding: 0 0 2.5rem;
    }
    .accordion-image {
      aspect-ratio: 4 / 3;
      border-radius: 6px;
      overflow: hidden;
      position: relative;
    }
    .accordion-image-1 {
      background: linear-gradient(135deg, #1F4488 0%, #0E2148 100%);
    }
    .accordion-image-1::after {
      content: 'BC';
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%) rotate(-8deg);
      color: #fff;
      font-weight: 800;
      font-size: 38px;
      letter-spacing: -0.01em;
      filter: drop-shadow(0 6px 14px rgba(0,0,0,0.45));
    }
    .accordion-image-2 {
      background:
        repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 14px),
        linear-gradient(135deg, #2A1F44 0%, #0E0E1A 100%);
    }
    .accordion-image-2::after {
      content: '</>';
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      color: var(--red-bright);
      font-weight: 700;
      font-size: 42px;
      font-family: 'Courier New', monospace;
    }
    .accordion-image-3 {
      background: linear-gradient(135deg, #0E2148 0%, #050810 100%);
    }
    .accordion-image-3::after {
      content: 'AI';
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      color: #fff;
      font-weight: 800;
      font-size: 56px;
      letter-spacing: -0.04em;
    }
    .accordion-image-4 {
      background:
        radial-gradient(ellipse at 35% 35%, rgba(149, 191, 71, 0.4) 0%, transparent 60%),
        linear-gradient(135deg, #2D4A20 0%, #0E1A08 100%);
    }
    .accordion-image-4::after {
      content: 'Sh';
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      color: #fff;
      font-weight: 800;
      font-size: 44px;
    }
    .accordion-image-5 {
      background: linear-gradient(135deg, #6B2410 0%, #1A0A04 100%);
    }
    .accordion-image-5::after {
      content: '◴';
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      color: var(--red-bright);
      font-size: 56px;
    }

    .accordion-desc {
      color: rgba(255,255,255,0.7);
      font-size: 15px;
      line-height: 1.55;
      max-width: 420px;
    }
    .accordion-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      max-width: 320px;
    }
    .pill-tag {
      padding: 0.5rem 1rem;
      border-radius: 999px;
      background: var(--pill-dark-2);
      color: rgba(255,255,255,0.85);
      font-size: 13px;
      font-weight: 500;
    }

    @media (max-width: 880px) {
      .services-head { grid-template-columns: 1fr; text-align: left; gap: 1.5rem; }
      .services-title { grid-column: 1; text-align: left; }
      .accordion-head { grid-template-columns: 50px 1fr 44px; gap: 1rem; padding: 1.5rem 0; }
      .accordion-body-inner { grid-template-columns: 1fr; gap: 1.25rem; }
      .accordion-image { max-width: 240px; }
    }

    /* ============================================================
       RECENT CASE — light section, project cards
       ============================================================ */
    .recent {
      background: var(--bg);
      padding: clamp(5rem, 9vw, 9rem) 0;
    }
    .recent-head {
      text-align: center;
      margin-bottom: clamp(3rem, 6vw, 5rem);
      position: relative;
    }
    .recent-head .pill-eyebrow {
      background: rgba(10,10,10,0.06);
      color: var(--text);
      margin-bottom: 1rem;
    }
    .recent-head .pill-eyebrow::before {
      background: rgba(10,10,10,0.10);
      color: var(--text);
    }
    .recent-title {
      font-size: clamp(64px, 11vw, 200px);
      font-weight: 800;
      letter-spacing: -0.04em;
      line-height: 0.92;
      color: var(--text);
      margin-bottom: 1.25rem;
    }
    .recent-sub {
      font-size: 15px;
      color: var(--muted);
      max-width: 540px;
      margin: 0 auto;
      line-height: 1.55;
    }
    .recent-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }
    .project-card {
      background: var(--bg);
      border-radius: 6px;
      overflow: hidden;
      border: 1px solid var(--line);
      transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    }
    .project-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 30px 60px -30px rgba(10,10,10,0.18);
    }
    .project-card-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.25rem 1.5rem;
      border-bottom: 1px solid var(--line);
    }
    .project-card-title {
      font-size: 17px;
      font-weight: 600;
      letter-spacing: -0.005em;
      color: var(--text);
    }
    .project-card-year {
      font-size: 14px;
      color: var(--muted);
      font-weight: 400;
    }
    .project-card-media {
      aspect-ratio: 16 / 11;
      position: relative;
      overflow: hidden;
    }
    .project-card-media-1 {
      background: var(--red);
      display: grid;
      place-items: center;
    }
    .project-card-media-1-text {
      color: var(--black);
      font-weight: 900;
      font-size: clamp(20px, 2.4vw, 36px);
      line-height: 1;
      letter-spacing: -0.02em;
      text-transform: uppercase;
      text-align: center;
    }
    .project-card-media-2 {
      background: linear-gradient(135deg, #F2EBDC 0%, #D8CCB0 100%);
      display: grid;
      place-items: center;
    }
    .project-card-media-2::after {
      content: '';
      width: 60%;
      aspect-ratio: 1;
      background:
        repeating-radial-gradient(circle at center, rgba(180, 140, 80, 0.4) 0 4px, transparent 4px 12px),
        radial-gradient(circle at center, rgba(180,140,80,0.5) 0%, transparent 70%);
      border-radius: 50%;
      filter: blur(0.5px);
    }
    .project-card-media-3 {
      background: linear-gradient(135deg, #1A1A1A 0%, #050505 100%);
      display: grid;
      place-items: center;
    }
    .project-card-media-3::after {
      content: '';
      width: 70%; height: 70%;
      background:
        linear-gradient(0deg, rgba(255,255,255,0.07) 1px, transparent 1px) 0 0 / 100% 12%,
        linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px) 0 0 / 22% 100%,
        radial-gradient(circle at center, rgba(230,0,18,0.35) 0%, transparent 50%);
      border-radius: 4px;
    }
    .project-card-media-4 {
      background: linear-gradient(135deg, #C19868 0%, #6B4625 100%);
      display: grid;
      place-items: center;
    }
    .project-card-media-4::after {
      content: '';
      width: 55%;
      aspect-ratio: 1;
      background:
        repeating-conic-gradient(from 0deg at center, rgba(20,10,5,0.25) 0deg 8deg, transparent 8deg 16deg),
        radial-gradient(circle at center, rgba(245, 220, 0, 0.3) 0%, transparent 60%);
      border-radius: 50%;
    }

    @media (max-width: 880px) {
      .recent-grid { grid-template-columns: 1fr; }
    }

    /* ============================================================
       BLOG / JOURNAL — light section
       ============================================================ */
    .blog {
      background: var(--bg-soft);
      padding: clamp(5rem, 9vw, 9rem) 0;
    }
    .blog-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 2rem;
      flex-wrap: wrap;
      margin-bottom: clamp(2.5rem, 5vw, 4rem);
    }
    .blog-title {
      font-size: clamp(48px, 7vw, 110px);
      font-weight: 800;
      letter-spacing: -0.035em;
      line-height: 0.95;
      color: var(--text);
    }
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }
    .blog-card {
      background: var(--bg);
      border-radius: 6px;
      overflow: hidden;
      transition: transform 0.4s var(--ease);
      border: 1px solid var(--line);
    }
    .blog-card:hover { transform: translateY(-4px); }
    .blog-card-media {
      aspect-ratio: 16 / 11;
      position: relative;
    }
    .blog-card-media-1 {
      background: linear-gradient(135deg, #1A2A2C 0%, #050505 100%);
    }
    .blog-card-media-1::after {
      content: '';
      position: absolute;
      inset: 25% 30%;
      background:
        linear-gradient(0deg, var(--red-bright) 1px, transparent 1px) 0 0 / 100% 18%,
        linear-gradient(90deg, var(--red-bright) 1px, transparent 1px) 0 0 / 18% 100%;
      opacity: 0.4;
    }
    .blog-card-media-2 {
      background: linear-gradient(135deg, #C19868 0%, #6B4625 100%);
    }
    .blog-card-media-2::after {
      content: '';
      position: absolute;
      inset: 28%;
      background: repeating-radial-gradient(circle at center, rgba(20,10,5,0.4) 0 4px, transparent 4px 13px);
      border-radius: 50%;
    }
    .blog-card-media-3 {
      background: linear-gradient(135deg, var(--red) 0%, #6B0010 100%);
    }
    .blog-card-media-3::after {
      content: '';
      position: absolute;
      inset: 20%;
      background:
        repeating-linear-gradient(45deg, rgba(255,255,255,0.16) 0 1px, transparent 1px 10px),
        repeating-linear-gradient(-45deg, rgba(255,255,255,0.16) 0 1px, transparent 1px 10px);
    }
    .blog-card-cat {
      position: absolute;
      top: 1rem; left: 1rem;
      padding: 0.4rem 0.85rem;
      border-radius: 999px;
      background: rgba(250,250,248,0.95);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--black);
      backdrop-filter: blur(8px);
    }
    .blog-card-body { padding: 1.25rem 1.5rem 1.5rem; }
    .blog-card-title {
      font-size: 19px;
      font-weight: 600;
      letter-spacing: -0.01em;
      line-height: 1.25;
      color: var(--text);
      transition: color 0.3s var(--ease);
    }
    .blog-card:hover .blog-card-title { color: var(--red); }
    .blog-card-meta {
      margin-top: 0.6rem;
      font-size: 13px;
      color: var(--muted);
    }

    @media (max-width: 880px) {
      .blog-grid { grid-template-columns: 1fr; }
    }

    /* ============================================================
       CLIENTS MARQUEE
       ============================================================ */
    .clients {
      background: var(--black);
      padding: 3rem 0;
      overflow: hidden;
      contain: paint;
      color: var(--text-light);
    }
    .clients-head {
      text-align: center;
      margin-bottom: 2rem;
    }
    .clients-eyebrow {
      font-size: 13px;
      font-weight: 500;
      color: rgba(255,255,255,0.5);
      letter-spacing: 0.01em;
    }
    .clients-track-wrap {
      mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
      -webkit-mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
    }
    .clients-track {
      display: flex;
      gap: 4rem;
      width: max-content;
      animation: scroll 36s linear infinite;
      align-items: center;
    }
    .client-mark {
      flex-shrink: 0;
      padding: 0 1.5rem;
      font-size: 22px;
      font-weight: 700;
      color: #fff;
      opacity: 0.55;
      letter-spacing: -0.01em;
      transition: opacity 0.3s var(--ease);
      white-space: nowrap;
    }
    .client-mark:hover { opacity: 1; }
    .client-mark--badge {
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      border: 1.5px solid rgba(255,255,255,0.85);
      padding: 0.5rem 0.9rem;
      border-radius: 4px;
    }
    .client-mark--mono { font-family: monospace; font-size: 18px; }
    .client-mark--circle::before {
      content: '';
      display: inline-block;
      width: 12px; height: 12px;
      background: currentColor;
      border-radius: 50%;
      margin-right: 0.6rem;
      vertical-align: middle;
    }

    /* ============================================================
       FOOTER — pure black, mega glowing wordmark
       ============================================================ */
    .footer {
      background: var(--black);
      color: #fff;
      padding: clamp(4rem, 7vw, 6rem) 0 0;
      position: relative;
      overflow: hidden;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.2fr 1.1fr 1fr;
      gap: clamp(2rem, 4vw, 4rem);
      padding-bottom: clamp(3rem, 5vw, 5rem);
      align-items: start;
    }
    .footer-headline {
      font-size: clamp(40px, 5.5vw, 80px);
      font-weight: 800;
      letter-spacing: -0.025em;
      line-height: 1.05;
      color: #fff;
      max-width: 7ch;
    }
    .footer-headline span { display: block; }
    .footer-social {
      margin-top: 2rem;
      display: flex;
      gap: 0.5rem;
    }
    .footer-social a {
      width: 36px; height: 36px;
      border-radius: 50%;
      background: var(--pill-dark);
      display: grid; place-items: center;
      transition: background 0.3s var(--ease);
    }
    .footer-social a:hover { background: var(--red); }
    .footer-social svg { width: 14px; height: 14px; color: #fff; }

    .footer-col h4 {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 14px;
      font-weight: 600;
      color: rgba(255,255,255,0.9);
      margin-bottom: 1.25rem;
    }
    .footer-col h4::before {
      content: '';
      width: 7px; height: 7px;
      background: var(--red-bright);
      border-radius: 50%;
    }
    .footer-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
    .footer-pills a {
      padding: 0.55rem 1.1rem;
      border-radius: 999px;
      background: var(--pill-dark);
      color: rgba(255,255,255,0.9);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      transition: background 0.3s var(--ease);
    }
    .footer-pills a:hover { background: var(--red); color: #fff; }

    .footer-info p {
      font-size: 15px;
      color: rgba(255,255,255,0.85);
      padding: 0.3rem 0;
    }
    .footer-info a { color: rgba(255,255,255,0.85); }
    .footer-info a:hover { color: var(--red-bright); }

    /* Mega glowing wordmark */
    .footer-mega {
      text-align: center;
      padding: 2rem 0 clamp(2rem, 5vw, 4rem);
      position: relative;
      overflow: hidden;
    }
    .footer-mega-wordmark {
      font-size: clamp(50px, 12vw, 188px);
      font-weight: 900;
      color: var(--red-glow);
      letter-spacing: -0.07em;
      line-height: 0.85;
      text-shadow:
        0 0 30px rgba(255, 31, 53, 0.5),
        0 0 80px rgba(255, 31, 53, 0.45),
        0 0 140px rgba(230, 0, 18, 0.45);
      filter: blur(0.4px);
      white-space: nowrap;
    }

    .footer-bottom {
      padding: 1.5rem 0;
      border-top: 1px solid var(--line-dark);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
      font-size: 12px;
      color: rgba(255,255,255,0.55);
    }
    .footer-bottom-links { display: flex; gap: 1.5rem; }
    .footer-bottom-links a:hover { color: #fff; }

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

    /* ============================================================
       REVEAL ANIMATIONS
       ============================================================ */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
    }
    .reveal.is-visible { opacity: 1; transform: translateY(0); }
    .reveal.delay-1 { transition-delay: 0.1s; }
    .reveal.delay-2 { transition-delay: 0.2s; }
    .reveal.delay-3 { transition-delay: 0.3s; }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
      }
      .marquee-track, .clients-track { animation: none !important; }
      .reveal { opacity: 1; transform: none; }
    }

/* ============================================================
   POST NAVIGATION (prev/next post arrows)
   ============================================================ */
.post-nav {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.post-nav-item {
  display: block;
  text-decoration: none;
}
.post-nav-item--next { text-align: right; }
.post-nav-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
  transition: color 0.3s var(--ease);
}
.post-nav-title {
  display: block;
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
  transition: color 0.3s var(--ease);
}
.post-nav-item:hover .post-nav-label { color: var(--red); }
.post-nav-item:hover .post-nav-title { color: var(--red); }

@media (max-width: 640px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-item--next { text-align: left; }
}

/* ============================================================
   COMMENTS — single post
   ============================================================ */
.comments-area {
  margin-top: clamp(4rem, 8vw, 6rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.comments-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 2.5rem;
}

.comment-list {
  list-style: none;
  margin: 0 0 4rem;
  padding: 0;
}
.comment-list ol,
.comment-list ul,
.comment-list .children {
  list-style: none;
  padding-left: clamp(1rem, 3vw, 3rem);
}
.comment-body {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}
.comment-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.comment-author .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: block;
}
.comment-author .fn {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.comment-author .says { display: none; }
.comment-metadata {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.comment-metadata a { color: var(--muted); }
.comment-metadata a:hover { color: var(--red); }
.comment-content {
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
}
.comment-content p + p { margin-top: 0.75rem; }
.reply { margin-top: 0.75rem; }
.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(10,10,10,0.06);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.comment-reply-link:hover { background: var(--red); color: #fff; }
.comment-awaiting-moderation {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

/* The reply form */
.comment-respond {
  margin-top: 1rem;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--bg-soft);
  border-radius: 8px;
}
.comment-reply-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.comment-reply-title small {
  display: block;
  margin-top: 0.5rem;
  font-size: 14px;
  font-weight: 500;
}
.comment-reply-title small a {
  color: var(--red);
  font-weight: 600;
}
.comment-notes {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 2rem;
}
.required, .required-field-message { color: var(--red); }
.logged-in-as {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 2rem;
}
.logged-in-as a { color: var(--text); font-weight: 600; }
.logged-in-as a:hover { color: var(--red); }

.comment-form {
  display: grid;
  gap: 1.25rem;
}
.comment-form p { margin: 0; }
.comment-form-comment { grid-column: 1 / -1; }
.comment-form label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--ff);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.10);
}
.comment-form textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.55;
}
.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.comment-form-cookies-consent input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
  flex-shrink: 0;
}
.comment-form-cookies-consent label {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  margin: 0;
}
.form-submit { margin-top: 0.5rem; }
.form-submit .submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  background: var(--black);
  color: #fff;
  border-radius: 999px;
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.form-submit .submit:hover {
  background: var(--red);
  transform: translateY(-1px);
}

.no-comments {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  padding: 1rem 0;
}

@media (max-width: 640px) {
  .form-row-grid { grid-template-columns: 1fr; }
  .comment-respond { padding: 1.5rem; }
}

/* ============================================================
   TOP ANCHORING FIX
   Eliminates the white gap above the hero on the homepage.
   Handles WordPress admin bar + any wrapper margins from
   plugins or block-editor defaults.
   ============================================================ */

/* Reset any default html/body margins */
html, body {
  margin: 0 !important;
  padding: 0 !important;
}

/* Push the nav below the WordPress admin bar when logged in */
body.admin-bar .nav {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .nav {
    top: 46px;
  }
}

/* Strip default WordPress block / theme.json wrapper spacing */
.wp-site-blocks,
.is-layout-flow,
.is-layout-constrained,
#page,
#content,
.site-main,
.entry-content {
  margin: 0;
  padding: 0;
  background: transparent;
}

/* Make the homepage body background dark — any residual gap above
   the hero will blend into the same dark tone instead of flashing
   cream. Other pages (blog, single, etc.) keep the light background. */
body.home {
  background: var(--black);
}

/* Force the hero to anchor to the top of its container */
.hero {
  margin-top: 0 !important;
}

/* ============================================================
   FOOTER FIX — eliminate the white band below the footer
   The PHP filter adds data-page="home" to <html> on the homepage.
   This rule paints the html element dark there, so any admin-bar
   offset or below-footer gap blends with the black footer.
   ============================================================ */
html[data-page="home"] {
  background: var(--black);
}

/* ============================================================
   CONTACT FORM — light section before footer
   ============================================================ */
.contact {
  background: var(--bg);
  color: var(--text);
  padding: clamp(5rem, 9vw, 9rem) 0;
  position: relative;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.contact-pitch .pill-eyebrow.contact-eyebrow {
  background: rgba(10,10,10,0.06);
  color: var(--text);
  margin-bottom: 1.5rem;
}
.contact-pitch .pill-eyebrow.contact-eyebrow::before {
  background: rgba(10,10,10,0.10);
  color: var(--text);
}
.contact-title {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.contact-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 0;
}
.contact-side {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.contact-side h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.contact-side p {
  font-size: 15px;
  color: var(--text);
  padding: 0.25rem 0;
}
.contact-side a { color: var(--text); transition: color 0.3s var(--ease); }
.contact-side a:hover { color: var(--red); }
.contact-side .meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 0.4rem;
}

/* Form */
.contact-form {
  background: #fff;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 32px -10px rgba(10,10,10,0.10);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.contact-field { display: block; }
.contact-field--full {
  grid-column: 1 / -1;
  margin-bottom: 1.5rem;
}
.contact-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--ff);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.10);
}
.contact-field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.55;
}
.contact-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6E6E' stroke-width='1.5'%3e%3cpolyline points='6,9 12,15 18,9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px;
  padding-right: 2.5rem;
  cursor: pointer;
}
/* Force option visibility in native dropdown */
.contact-field select option {
  background-color: #ffffff;
  color: #0A0A0A;
  padding: 0.5rem 1rem;
  font-size: 15px;
}
.contact-field select option:checked,
.contact-field select option:hover {
  background-color: #f4f4f4;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--muted-soft);
}

.contact-honey {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.8rem;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.contact-submit:hover {
  background: var(--red-deep);
  transform: translateY(-1px);
}
.contact-submit:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}
.contact-submit .arrow { transition: transform 0.3s var(--ease); display: inline-block; }
.contact-submit:hover:not(:disabled) .arrow { transform: translateX(3px); }
.contact-submit.is-loading .arrow {
  animation: riamona-spin 0.8s linear infinite;
}
@keyframes riamona-spin {
  to { transform: rotate(360deg); }
}

.contact-feedback {
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
  flex: 1 1 220px;
}
.contact-feedback.is-success {
  color: #1a7a3f;
  font-weight: 600;
}
.contact-feedback.is-error {
  color: var(--red-deep);
  font-weight: 600;
}

@media (max-width: 880px) {
  .contact-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   OFF-CANVAS REDESIGN — CTA pill, work feed, inline contact icons
   These styles were added in v1.6.0 markup but never shipped.
   ============================================================ */

/* "Start a project" pill button under the greeting */
.offcanvas-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--black);
  color: #fff;
  border-radius: 999px;
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.offcanvas-cta::after {
  content: '→';
  transition: transform 0.3s var(--ease);
  display: inline-block;
}
.offcanvas-cta:hover {
  background: var(--red);
  transform: translateY(-1px);
}
.offcanvas-cta:hover::after {
  transform: translateX(3px);
}

/* "Currently building" feed */
.offcanvas-work-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.offcanvas-work-item {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  padding: 0.5rem 0;
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}
.offcanvas-work-item::before {
  content: '→';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

/* Override existing offcanvas-info p to use flex layout with icons */
.offcanvas-info p {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 14px;
  color: var(--text);
  padding: 0.4rem 0;
  line-height: 1.4;
  flex-wrap: wrap;
}
.offcanvas-info .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
  flex-shrink: 0;
  display: inline-block;
}
.offcanvas-info .meta {
  color: var(--muted);
  font-size: 13px;
}

/* ============================================================
   NAV ON NON-HOMEPAGE PAGES — RE-ADDED IN v1.12.0
   (Was inadvertently removed during the v1.8.0 contact section
   rewrite — that's why blog pages have been showing white-on-white
   nav since then.)
   Uses both the html[data-page] attribute AND body.home class
   as fallbacks so this never silently breaks again.
   ============================================================ */
html:not([data-page="home"]) .logo,
html:not([data-page="home"]) .nav-link,
body:not(.home) .logo,
body:not(.home) .nav-link {
  color: var(--text);
}
html:not([data-page="home"]) .nav-burger span,
body:not(.home) .nav-burger span {
  background: var(--text);
}
html:not([data-page="home"]) .nav.scrolled,
body:not(.home) .nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* ============================================================
   BLOG POST CONTENT — proper magazine-style prose typography
   Fills in spacing/styling for paragraphs, headings, lists,
   blockquotes etc. inside .entry-content (single.php + page.php).
   ============================================================ */
.entry-content {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.7;
  color: var(--body);
}
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }

.entry-content p {
  margin: 0 0 1.5em;
  line-height: 1.7;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.entry-content h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 2.5em 0 0.8em;
  letter-spacing: -0.02em;
}
.entry-content h3 {
  font-size: clamp(20px, 2.3vw, 26px);
  margin: 2em 0 0.6em;
}
.entry-content h4 {
  font-size: clamp(18px, 1.8vw, 20px);
  margin: 1.75em 0 0.5em;
}

.entry-content strong,
.entry-content b {
  font-weight: 700;
  color: var(--text);
}
.entry-content em,
.entry-content i { font-style: italic; }

.entry-content a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease);
}
.entry-content a:hover { color: var(--red-deep); }

.entry-content ul,
.entry-content ol {
  margin: 0 0 1.5em 1.5em;
  padding-left: 1em;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li {
  margin-bottom: 0.5em;
  line-height: 1.65;
  display: list-item;
}
.entry-content li > ul,
.entry-content li > ol { margin-top: 0.5em; }

.entry-content blockquote {
  margin: 2em 0;
  padding: 0.25em 0 0.25em 1.5em;
  border-left: 3px solid var(--red);
  font-size: 1.08em;
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
}
.entry-content blockquote p { margin-bottom: 0.5em; }
.entry-content blockquote p:last-child { margin-bottom: 0; }

.entry-content code {
  font-family: 'SF Mono', Menlo, Consolas, 'Courier New', monospace;
  font-size: 0.88em;
  padding: 0.15em 0.4em;
  background: var(--bg-soft);
  border-radius: 4px;
  color: var(--text);
}
.entry-content pre {
  margin: 1.5em 0;
  padding: 1.25em;
  background: var(--black);
  color: var(--text-light);
  border-radius: 6px;
  overflow-x: auto;
  font-size: 0.9em;
  line-height: 1.55;
}
.entry-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
  border-radius: 0;
}

.entry-content hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2.5em 0;
}

.entry-content img,
.entry-content figure {
  margin: 1.75em 0;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.entry-content figure figcaption {
  font-size: 0.85em;
  color: var(--muted);
  margin-top: 0.6em;
  text-align: center;
}

.entry-content table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: collapse;
  font-size: 0.95em;
}
.entry-content th,
.entry-content td {
  padding: 0.6em 0.8em;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.entry-content th {
  font-weight: 700;
  background: var(--bg-soft);
}

/* ============================================================
   MULTI-PAGE: page hero, page body, child-page cards
   ============================================================ */
.page-article { background: var(--bg); }

.page-hero {
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(3rem, 5vw, 5rem);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.page-hero-eyebrow a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.page-hero-eyebrow a:hover { color: var(--red); }
.page-hero-eyebrow::before {
  content: '← ';
  color: var(--red);
}
.page-hero-title {
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--text);
  max-width: 14ch;
}

.page-body {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
}
.container-prose { max-width: 800px; }

/* Lead paragraph (first big intro paragraph on each page) */
.entry-content .lead,
.entry-content > p:first-of-type {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--text);
  font-weight: 400;
  margin-bottom: 2em;
}

/* CTA pill in page content */
.entry-content .cta-pill,
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  margin-top: 1rem;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.entry-content .cta-pill:hover,
.cta-pill:hover {
  background: var(--red-deep);
  color: #fff;
  transform: translateY(-1px);
}

/* Child-page cards on parent pages (Services, Projects, About) */
.page-children {
  margin-top: clamp(4rem, 7vw, 6rem);
  padding-top: clamp(3rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.page-children-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 2rem;
}
.page-children-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.page-child-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.page-child-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -12px rgba(10,10,10,0.15);
}
.page-child-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.page-child-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 1rem;
  flex: 1;
}
.page-child-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.01em;
}

/* Project cards now wrap with <a> — kill the underline */
.project-card { text-decoration: none; }
.project-card .project-card-title { transition: color 0.25s var(--ease); }
.project-card:hover .project-card-title { color: var(--red); }

/* Recent-case section footer (View all projects button) */
.recent-footer {
  margin-top: 3rem;
  text-align: center;
}

/* Accordion "Learn more →" link inside tags row */
.accordion-more {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--red-bright);
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(230, 0, 18, 0.55);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.accordion-more:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* Manifesto ghost button — slight tweak to read as a "more" link */
.manifesto-ghost { text-decoration: none; }

/* ============================================================
   PRIMARY NAV — proper hierarchy with dropdowns
   The walker outputs <ul class="primary-menu"> with <li> items,
   sub-menus wrapped in <ul class="sub-menu">.
   ============================================================ */
.nav .primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav .primary-menu > li {
  position: relative;
  list-style: none;
}

/* Dropdown sub-menu */
.nav .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0.6rem 0;
  position: absolute;
  top: calc(100% + 0.6rem);
  left: -1rem;
  min-width: 220px;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 10px;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 200;
}
/* Invisible bridge so cursor can move from parent to dropdown without losing hover */
.nav .primary-menu > .menu-item-has-children::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.6rem;
}
.nav .primary-menu > li:hover > .sub-menu,
.nav .primary-menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav .sub-menu li {
  list-style: none;
}
.nav .nav-sublink {
  display: block;
  padding: 0.6rem 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.nav .nav-sublink:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Hide dropdowns on mobile — burger menu takes over */
@media (max-width: 980px) {
  .nav .sub-menu { display: none; }
}

/* ============================================================
   FOUNDER CONSOLE — meta grid + exploration tag rows
   Used inside .entry-content on the Founder Console page.
   ============================================================ */
.entry-content .founder-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem 2rem;
  margin: 2.5em 0;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.entry-content .founder-meta-item h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.45rem;
  line-height: 1.2;
}
.entry-content .founder-meta-item p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.entry-content .exploration-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: -0.5em 0 2em;
}
.entry-content .exploration-tags span {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.35rem 0.85rem;
  background: rgba(10, 10, 10, 0.06);
  color: var(--text);
  border-radius: 999px;
  white-space: nowrap;
}

/* ============================================================
   FOUNDER CONSOLE — editorial layout (v2.5.0)
   Newspaper-style sections in Riamona's palette (red/black/cream)
   with Inter as primary type and Fraunces italic-serif as accent
   for em emphasis, chapter numerals, drop-cap, and pull-quote.
   Triggered by body.slug-founder-console.
   ============================================================ */

/* Hide the default page-hero title since the lead block has its own
   editorial headline. Keep the breadcrumb / parent link visible. */
body.slug-founder-console .page-hero {
  padding: clamp(5rem, 9vw, 7rem) 0 0.5rem;
  border-bottom: 0;
}
body.slug-founder-console .page-hero-title { display: none; }
body.slug-founder-console .page-body { padding-top: 1rem; }

/* Wider container override for the case-study pages already set in page.php */
body.slug-founder-console .entry-content { font-size: 17px; }

/* Every <em> on Founder Console renders as Fraunces serif italic in red */
body.slug-founder-console .entry-content em {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  font-feature-settings: "ss01";
}

/* === LEAD BLOCK === */
body.slug-founder-console .fc-lead {
  text-align: center;
  margin: 0 auto;
  padding: 3rem 0 0;
  max-width: 760px;
}
body.slug-founder-console .fc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 2rem;
}
body.slug-founder-console .fc-eyebrow::before,
body.slug-founder-console .fc-eyebrow::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--red);
}
body.slug-founder-console .fc-editorial-title {
  font-size: clamp(44px, 7vw, 90px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--text);
  margin: 0 0 1.75rem;
}
body.slug-founder-console .fc-editorial-title em {
  font-size: 1.05em;
  letter-spacing: -0.02em;
}
body.slug-founder-console .fc-sub {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto;
}

/* === META STRIP — 4 columns with internal vertical hairlines === */
body.slug-founder-console .fc-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 4.5rem auto 0;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  max-width: 900px;
}
body.slug-founder-console .fc-meta-item {
  padding: 0 1.5rem;
  border-right: 1px solid var(--line);
}
body.slug-founder-console .fc-meta-item:last-child { border-right: 0; }
body.slug-founder-console .fc-meta-item h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.55rem;
}
body.slug-founder-console .fc-meta-item p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
@media (max-width: 720px) {
  body.slug-founder-console .fc-meta {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 0;
  }
  body.slug-founder-console .fc-meta-item { border-right: 0; }
}

/* === CHAPTER SECTIONS === */
body.slug-founder-console .fc-chapter {
  margin: 6rem auto;
  max-width: 760px;
}
body.slug-founder-console .fc-chapter-head {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: baseline;
  margin-bottom: 2rem;
}
body.slug-founder-console .fc-chapter-num {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  color: var(--red);
  line-height: 1;
  text-align: left;
}
body.slug-founder-console .fc-chapter-title {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text);
  margin: 0;
}
body.slug-founder-console .fc-chapter-body {
  padding-left: calc(80px + 1.5rem);
}
body.slug-founder-console .fc-chapter-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 1.5em;
}
body.slug-founder-console .fc-chapter-body p:last-child { margin-bottom: 0; }

/* Drop-cap on first paragraph of Chapter I */
body.slug-founder-console .fc-dropcap::first-letter {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 4.5em;
  float: left;
  line-height: 0.85;
  margin: 0.05em 0.12em -0.05em 0;
  color: var(--red);
}

@media (max-width: 720px) {
  body.slug-founder-console .fc-chapter-head {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  body.slug-founder-console .fc-chapter-body { padding-left: 0; }
}

/* === EXPLORATIONS GRID — newspaper-style hairline dividers === */
body.slug-founder-console .fc-explorations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 5rem auto;
  max-width: 1100px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
body.slug-founder-console .fc-exploration {
  padding: 2.5rem 2.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}
body.slug-founder-console .fc-exploration:nth-child(2n) { border-right: 0; }
body.slug-founder-console .fc-exploration:nth-last-child(-n+2) { border-bottom: 0; }

body.slug-founder-console .fc-exploration-num {
  display: block;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 0.9rem;
}
body.slug-founder-console .fc-exploration-name {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 1.1rem;
}
body.slug-founder-console .fc-exploration-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

/* Mono-style tags with red bullet separator — matches the screenshot */
body.slug-founder-console .fc-exploration-tags {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.9;
}
body.slug-founder-console .fc-exploration-tags span {
  display: inline-block;
  margin-right: 1.25rem;
}
body.slug-founder-console .fc-exploration-tags span::before {
  content: '· ';
  color: var(--red);
}

@media (max-width: 720px) {
  body.slug-founder-console .fc-explorations { grid-template-columns: 1fr; }
  body.slug-founder-console .fc-exploration {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  body.slug-founder-console .fc-exploration:last-child { border-bottom: 0; }
}

/* === OUTCOME — centered, italic pull-quote, body, rule, signature === */
body.slug-founder-console .fc-outcome {
  margin: 6rem auto;
  max-width: 900px;
  text-align: center;
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}
body.slug-founder-console .fc-pullquote {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  color: var(--text);
  margin: 0 auto 2.5rem;
  letter-spacing: -0.015em;
  max-width: 620px;
}
body.slug-founder-console .fc-quote-mark {
  color: var(--red);
  font-size: 1.1em;
  font-weight: 400;
}
body.slug-founder-console .fc-outcome-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 auto 1.25em;
  max-width: 460px;
}
body.slug-founder-console .fc-outcome-body p:last-child { margin-bottom: 0; }
body.slug-founder-console .fc-rule-short {
  width: 60px;
  height: 1px;
  background: var(--line);
  margin: 2.5rem auto 1.25rem;
}
body.slug-founder-console .fc-outcome-sig {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

/* === FINAL CTA — black uppercase pill, italic note === */
body.slug-founder-console .fc-cta {
  text-align: center;
  margin: 5rem auto 4rem;
  padding: 5rem 2rem;
  max-width: 1100px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
body.slug-founder-console .fc-cta .fc-eyebrow { margin-bottom: 2rem; }
body.slug-founder-console .fc-cta-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
  margin: 0 auto 2.5rem;
  max-width: 720px;
}
body.slug-founder-console .fc-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.1rem 2.1rem;
  background: var(--text);
  color: #fff;
  border-radius: 999px;
  font-family: var(--ff);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
body.slug-founder-console .fc-cta-pill:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-1px);
}
body.slug-founder-console .fc-cta-pill .fc-arrow {
  transition: transform 0.3s var(--ease);
}
body.slug-founder-console .fc-cta-pill:hover .fc-arrow {
  transform: translateX(3px);
}
body.slug-founder-console .fc-note {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  margin: 2rem 0 0;
  font-size: 14px;
  color: var(--muted);
}
