/* ARCFORM Theme — Main Stylesheet */
/* Extracted from prototype HTML and adapted for WordPress */


  :root {
    --cream: #f5f5f5;
    --ink: #1f1a17;
    --warm-mid: #6f655d;
    --accent: #e8482b;
    --light-warm: #fbf7f1;
    --muted: #847a72;
    --white: #fffdf9;
  }

  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--ink);
    overflow-x: hidden;
    cursor: none;
  }

  /* Custom Cursor */
  .cursor {
    position: fixed;
    width: 10px; height: 10px;
    background: var(--ink);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, background 0.2s ease;
    transform: translate(-50%, -50%);
  }
  .cursor-ring {
    position: fixed;
    width: 36px; height: 36px;
    border: 1px solid rgba(0,0,0,0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.35s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    transform: translate(-50%, -50%);
    opacity: 0.7;
  }
  .cursor.hovered { transform: translate(-50%,-50%) scale(2.5); background: var(--ink); }
  .cursor-ring.hovered { width: 60px; height: 60px; opacity: 0.3; }

  /* NAV */
  #navbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 28px 60px;
    mix-blend-mode: normal;
    transition: background 0.4s ease, padding 0.4s ease;
  }
  #navbar.scrolled {
    background: rgba(255,253,249,0.96);
    backdrop-filter: blur(12px);
    padding: 18px 60px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  body:not(.home) #navbar {
    background: rgba(255,253,249,0.96);
    backdrop-filter: blur(12px);
    padding: 18px 60px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  .nav-logo {
    --logo-desktop-max-width: min(320px, 24vw);
    --logo-desktop-max-height: 48px;
    --logo-mobile-max-width: min(176px, 52vw);
    --logo-mobile-max-height: 28px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 22px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
  }
  .nav-logo .custom-logo-link,
  .nav-logo .custom-logo {
    display: block;
  }
  .nav-logo img {
    display: block;
    width: auto;
    height: auto;
    image-rendering: auto;
    backface-visibility: hidden;
    transform: translateZ(0);
  }
  .nav-logo-desktop,
  .nav-logo-mobile {
    display: block;
  }
  .nav-logo-mobile {
    display: none;
  }
  .nav-logo-mobile img {
    max-width: var(--logo-mobile-max-width);
    max-height: var(--logo-mobile-max-height);
  }
  .nav-logo .custom-logo {
    max-width: var(--logo-desktop-max-width);
    max-height: var(--logo-desktop-max-height);
    transition: opacity 0.3s ease;
  }
  .nav-logo span { color: var(--muted); font-weight: 400; }
  .nav-links { display: flex; gap: 40px; list-style: none; }
  .nav-links > li {
    position: relative;
    list-style: none;
  }
  .nav-item-has-children::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 24px;
  }
  .nav-links a {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    font-weight: 400;
    position: relative;
    padding-bottom: 3px;
  }
  .nav-links a::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.35s ease;
  }
  .nav-links a:hover::after { width: 100%; }
  .nav-item-has-children:hover .nav-submenu,
  .nav-item-has-children:focus-within .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
  .nav-submenu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    z-index: 220;
    transform: translateX(-50%) translateY(8px);
    min-width: 260px;
    padding: 12px;
    background: rgba(255,253,249,0.98);
    border: 1px solid rgba(31,26,23,0.1);
    box-shadow: 0 18px 40px rgba(31,26,23,0.08);
    display: grid;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }
  .nav-submenu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    width: 16px;
    height: 16px;
    background: rgba(255,253,249,0.98);
    border-left: 1px solid rgba(31,26,23,0.1);
    border-top: 1px solid rgba(31,26,23,0.1);
    transform: translateX(-50%) rotate(45deg);
  }
  .nav-submenu a {
    padding: 10px 12px;
    font-size: 10px;
    letter-spacing: 0.18em;
    color: rgba(31,26,23,0.74);
    background: transparent;
  }
  .nav-submenu a::after { display: none; }
  .nav-submenu a:hover {
    background: rgba(31,26,23,0.04);
    color: var(--ink);
  }
  .nav-submenu-all {
    border-bottom: 1px solid rgba(31,26,23,0.08);
    margin-bottom: 4px;
    padding-bottom: 12px !important;
  }
  .nav-cta {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--ink);
    padding: 12px 28px;
    text-decoration: none;
    transition: background 0.3s ease;
  }
  .nav-cta:hover { background: #4a4039; }

  /* =====================
     HERO — FULLSCREEN VIDEO
  ===================== */
  .hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    isolation: isolate;   /* own stacking context — nothing leaks out */
    z-index: 0;
  }
  .hero-bg { position: absolute; inset: 0; z-index: 0; }
  .hero-slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1.4s cubic-bezier(0.4,0,0.2,1);
    will-change: opacity;
  }
  .hero-slide.active { opacity: 1; }
  .hero-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; z-index: 1;
  }
  .hero-slide-fallback { position: absolute; inset: 0; z-index: 0; }
  .hero-slide-img {
    position: absolute; inset: 0; z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.08);
    transition: transform 8s cubic-bezier(0.25,0.46,0.45,0.94);
  }
  .hero-slide.active .hero-slide-img { transform: scale(1); }
  .hero-overlay {
    position: absolute; inset: 0; z-index: 2;
    background:
      linear-gradient(180deg, rgba(20,16,13,0.08) 0%, rgba(20,16,13,0.06) 34%, rgba(20,16,13,0.18) 68%, rgba(20,16,13,0.46) 100%),
      linear-gradient(90deg, rgba(255,249,241,0.12) 0%, rgba(255,249,241,0.04) 30%, rgba(255,249,241,0) 100%);
  }
  .hero-content {
    position: relative; z-index: 10;
    padding: 0 80px 88px;
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-brandline {
    color: rgba(255,253,249,0.82);
    margin-bottom: 18px;
    justify-content: center;
    text-shadow: 0 8px 28px rgba(0,0,0,0.18);
  }
  .hero-brandline::before {
    background: rgba(232,72,43,0.72);
  }
  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(42px, 5.6vw, 72px);
    font-weight: 300; line-height: 0.98; color: #fffdf9;
    margin-bottom: 28px; opacity: 0; animation: fadeUp 1s ease 0.6s forwards;
    width: 100%;
    max-width: 10.2em;
    margin-inline: auto;
    text-align: center;
    text-shadow: 0 8px 28px rgba(0,0,0,0.22);
  }
  .hero-title-line {
    white-space: nowrap;
  }
  .hero-title em { font-style: italic; color: #f4dfd6; }
  .hero-subtitle {
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,253,249,0.78);
    margin: 0 0 24px;
    max-width: 54rem;
    text-shadow: 0 8px 28px rgba(0,0,0,0.16);
  }
  .hero-cta-group {
    display: flex; align-items: center; justify-content: center; gap: 18px;
    opacity: 0; animation: fadeUp 1s ease 1s forwards;
  }
  .btn-primary {
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--ink); background: var(--white); padding: 16px 34px;
    text-decoration: none; font-weight: 500; transition: all 0.3s ease; display: inline-block;
  }
  .btn-primary:hover { background: #efe6d8; }
  .btn-ghost {
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(255,253,249,0.92); text-decoration: none; font-weight: 400;
    display: flex; align-items: center; gap: 10px; transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255,253,249,0.26);
    padding: 15px 28px;
    background: rgba(255,253,249,0.08);
    backdrop-filter: blur(6px);
  }
  .btn-ghost::after { content: '→'; transition: transform 0.3s ease; }
  .btn-ghost:hover { color: #fffdf9; background: rgba(255,253,249,0.14); border-color: rgba(255,253,249,0.4); }
  .btn-ghost:hover::after { transform: translateX(5px); }

  /* =====================
     MOTION SYSTEM
  ===================== */
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 0; transform: translateY(52px);
    transition: opacity 0.95s cubic-bezier(0.16,1,0.3,1), transform 0.95s cubic-bezier(0.16,1,0.3,1);
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-left {
    opacity: 0; transform: translateX(-52px);
    transition: opacity 0.95s cubic-bezier(0.16,1,0.3,1), transform 0.95s cubic-bezier(0.16,1,0.3,1);
  }
  .reveal-left.visible { opacity: 1; transform: translateX(0); }
  .reveal-right {
    opacity: 0; transform: translateX(52px);
    transition: opacity 0.95s cubic-bezier(0.16,1,0.3,1), transform 0.95s cubic-bezier(0.16,1,0.3,1);
  }
  .reveal-right.visible { opacity: 1; transform: translateX(0); }
  .reveal-scale {
    opacity: 0; transform: scale(0.9);
    transition: opacity 0.95s cubic-bezier(0.16,1,0.3,1), transform 0.95s cubic-bezier(0.16,1,0.3,1);
  }
  .reveal-scale.visible { opacity: 1; transform: scale(1); }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.22s; }
  .reveal-delay-3 { transition-delay: 0.34s; }
  .reveal-delay-4 { transition-delay: 0.46s; }
  .reveal-delay-5 { transition-delay: 0.58s; }

  .draw-line {
    width: 0; height: 1px; background: rgba(0,0,0,0.12);
    transition: width 1.4s cubic-bezier(0.16,1,0.3,1);
  }
  .draw-line.visible { width: 100%; }

  /* MARQUEE */
  .marquee-strip {
    background: var(--white);
    border-top: 1px solid rgba(31,26,23,0.08);
    border-bottom: 1px solid rgba(31,26,23,0.08);
    padding: 14px 0; overflow: hidden; display: flex;
  }
  .marquee-inner {
    display: flex; gap: 0;
    animation: marquee 22s linear infinite; white-space: nowrap;
  }
  .marquee-item {
    font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
    color: rgba(31,26,23,0.52); font-weight: 400; padding: 0 48px;
    display: flex; align-items: center; gap: 48px;
  }
  .marquee-item::before { content: '◆'; font-size: 7px; color: rgba(232,72,43,0.45); }



  /* ABOUT STRIP */
  .about-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    position: relative;   /* keeps section in normal flow */
    z-index: 1;           /* sits above hero stacking context */
    isolation: isolate;   /* prevents hero children bleeding through */
  }
  .about-img {
    background: linear-gradient(160deg, #f0e8db 0%, #e2d4c2 50%, #d5c2af 100%);
    position: relative;
    overflow: hidden;     /* clips the parallax translateY */
    min-height: 500px;
    /* Do NOT apply transform here — only the inner img gets parallax */
  }
  /* Inner image wrapper for parallax — transform applied here, not on .about-img */
  .about-img-inner {
    position: absolute;
    inset: -8%;           /* pre-extend so translateY never shows gaps */
    background-size: cover;
    background-position: center;
    will-change: transform;
  }
  .about-content {
    background: var(--cream);
    padding: 100px 80px;
    display: flex; flex-direction: column; justify-content: center;
  }
  .section-label {
    font-size: 10px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    display: flex; align-items: center; gap: 16px;
  }
  .section-label::before {
    content: '';
    width: 32px; height: 1px;
    background: var(--accent);
  }
  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 28px;
    color: var(--ink);
  }
  .section-title em { font-style: italic; color: var(--muted); }
  .about-text {
    font-size: 15px;
    line-height: 1.9;
    color: var(--muted);
    font-weight: 300;
    margin-bottom: 48px;
  }
  .stats-row {
    display: flex; gap: 48px;
    border-top: 1px solid rgba(0,0,0,0.12);
    padding-top: 40px;
  }
  .stat-item {}
  .stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 300;
    color: var(--ink);
    line-height: 1;
  }
  .stat-num span { font-size: 24px; color: var(--muted); }
  .stat-label {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 6px;
  }

  .service-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    color: #fffdf9;
    overflow: hidden;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
  }
  .service-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .service-hero-overlay {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(14,12,10,0.12) 0%, rgba(14,12,10,0.08) 28%, rgba(14,12,10,0.22) 55%, rgba(14,12,10,0.68) 100%),
      linear-gradient(90deg, rgba(14,12,10,0.5) 0%, rgba(14,12,10,0.12) 40%, rgba(14,12,10,0) 72%);
  }
  .service-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 760px;
    padding: 0 80px 88px;
  }
  .service-kicker {
    color: rgba(255,253,249,0.82);
    margin-bottom: 18px;
    text-shadow: 0 8px 28px rgba(0,0,0,0.16);
  }
  .service-kicker::before {
    background: rgba(232,72,43,0.72);
  }
  .service-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 6vw, 82px);
    font-weight: 300;
    line-height: 0.98;
    margin: 0 0 24px;
    max-width: 12ch;
    text-shadow: 0 10px 34px rgba(0,0,0,0.18);
  }
  .service-hero-copy {
    font-size: 16px;
    line-height: 1.85;
    color: rgba(255,253,249,0.84);
    max-width: 42rem;
    margin: 0 0 28px;
  }
  .service-hero-actions {
    display: flex;
    gap: 18px;
    align-items: center;
  }
  .service-intro,
  .service-process-band {
    padding: 96px 80px;
    background: var(--white);
  }
  .service-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
  }
  .service-richtext p {
    font-size: 16px;
    line-height: 1.95;
    color: var(--muted);
    margin: 0 0 18px;
  }
  .service-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    min-height: 78vh;
    background: var(--cream);
  }
  .service-showcase-reverse {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  }
  .service-showcase-media {
    position: relative;
    min-height: 560px;
    overflow: hidden;
  }
  .service-showcase-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .service-showcase-content {
    padding: 88px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .service-feature-list {
    display: grid;
    gap: 28px;
  }
  .service-feature {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(31,26,23,0.12);
  }
  .service-feature:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .service-feature h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 300;
    line-height: 1.05;
    color: var(--ink);
    margin: 0 0 10px;
  }
  .service-feature p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--muted);
    margin: 0;
  }
  .service-process-band {
    background: var(--light-warm);
  }
  .service-process-header {
    max-width: 760px;
    margin-bottom: 42px;
  }
  .service-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
  .service-process-step {
    padding: 28px 26px 30px;
    border-top: 1px solid rgba(31,26,23,0.18);
    background: rgba(255,255,255,0.42);
  }
  .service-process-step span {
    display: block;
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
  }
  .service-process-step h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 300;
    line-height: 1.08;
    color: var(--ink);
    margin: 0 0 12px;
  }
  .service-process-step p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--muted);
  }
  .service-cta-panel {
    padding: 88px 24px 92px;
    text-align: center;
    background: var(--white);
    border-top: 1px solid rgba(31,26,23,0.08);
  }
  .service-cta-panel .section-title {
    max-width: 900px;
    margin: 0 auto 18px;
  }
  .service-cta-copy {
    max-width: 700px;
    margin: 0 auto 28px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--muted);
  }

  /* PORTFOLIO */
  .portfolio-section {
    padding: 120px 60px;
    background: var(--white);
  }
  .portfolio-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 64px;
  }
  .portfolio-header-left {}
  .portfolio-filter {
    display: flex; gap: 4px;
  }
  .filter-btn {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    background: none;
    border: 1px solid rgba(0,0,0,0.2);
    padding: 10px 20px;
    cursor: none;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
  }
  .filter-btn:hover, .filter-btn.active {
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
  }
  .portfolio-filter[hidden] { display: none !important; }

  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
  }

  .project-card {
    position: relative;
    overflow: hidden;
    cursor: none;
    isolation: isolate;
  }
  .project-card:nth-child(1) { grid-column: span 7; grid-row: span 2; min-height: 580px; }
  .project-card:nth-child(2) { grid-column: span 5; min-height: 280px; }
  .project-card:nth-child(3) { grid-column: span 5; min-height: 280px; }
  .project-card:nth-child(4) { grid-column: span 4; min-height: 320px; }
  .project-card:nth-child(5) { grid-column: span 4; min-height: 320px; }
  .project-card:nth-child(6) { grid-column: span 4; min-height: 320px; }

  .project-card[data-hidden="true"] { display: none; }

  .card-img {
    position: absolute; inset: 0;
    overflow: hidden;
  }
  .card-photo {
    position: absolute; inset: 0;
    transform: scale(1.06);
    transition: transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
    background-color: #111;
  }
  .card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .project-card:hover .card-photo { transform: scale(1); }
  .card-line-svg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
    pointer-events: none;
    display: none;
  }
  .project-card:hover .card-line-svg { opacity: 0; }

  .card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    transition: opacity 0.4s ease;
  }
  .card-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 28px;
    transform: translateY(12px);
    transition: transform 0.4s ease;
    z-index: 3;
    width: min(88%, 560px);
    max-width: none;
  }
  .project-card:hover .card-content { transform: translateY(0); }
  .card-cat {
    font-size: 9px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.58);
    margin-bottom: 8px;
    font-weight: 400;
  }
  .card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 1.9vw, 24px);
    font-weight: 300;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 10px;
    max-width: none;
    text-wrap: pretty;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }
  .card-meta {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.1em;
    display: flex; align-items: center; gap: 12px;
    opacity: 0;
    transition: opacity 0.4s ease 0.1s;
  }
  .project-card:hover .card-meta { opacity: 1; }
  .card-meta::before { content: '—'; color: rgba(255,255,255,0.4); }

  .card-pattern {
    position: absolute; inset: 0; opacity: 0.4;
  }

  /* SERVICES */
  .services-section {
    background: var(--white);
    padding: 120px 60px;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(31,26,23,0.08);
    margin-top: 64px;
  }
  .service-card {
    background: var(--light-warm);
    padding: 64px 52px;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
  }
  .service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }
  .service-card:hover { background: #efe5d8; }
  .service-card:hover::before { transform: scaleX(1); }
  .service-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px;
    font-weight: 300;
    color: rgba(31,26,23,0.08);
    line-height: 1;
    margin-bottom: 32px;
  }
  .service-icon {
    width: 44px; height: 44px;
    margin-bottom: 28px;
    opacity: 0.8;
  }
  .service-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 16px;
    line-height: 1.3;
  }
  .service-desc {
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
    font-weight: 300;
    margin-bottom: 32px;
  }
  .service-link {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(31,26,23,0.58);
    text-decoration: none;
    display: flex; align-items: center; gap: 10px;
    transition: gap 0.3s ease, color 0.3s ease;
  }
  .service-link:hover { gap: 16px; color: var(--ink); }
  .service-link::after { content: '→'; }

  /* PROCESS */
  .process-section {
    padding: 120px 60px;
    background: var(--light-warm);
  }
  .process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 80px;
    position: relative;
  }
  .process-steps::before {
    content: '';
    position: absolute;
    top: 40px; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.25), transparent);
  }
  .process-step {
    text-align: center;
    padding: 0 24px;
  }
  .step-circle {
    width: 80px; height: 80px;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 28px;
    background: var(--light-warm);
    position: relative; z-index: 1;
    transition: background 0.3s ease, border-color 0.3s ease;
  }
  .process-step:hover .step-circle { background: var(--ink); border-color: var(--ink); }
  .step-circle svg { transition: stroke 0.3s ease; }
  .process-step:hover .step-circle svg { stroke: rgba(255,255,255,0.8) !important; }
  .step-num {
    position: absolute; top: -8px; right: -8px;
    width: 22px; height: 22px;
    background: var(--ink);
    border-radius: 50%;
    font-size: 10px;
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-weight: 500;
  }
  .step-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 12px;
  }
  .step-desc {
    font-size: 12px;
    line-height: 1.7;
    color: var(--muted);
    font-weight: 300;
  }

  /* TESTIMONIAL */
  .testimonial-section {
    background: linear-gradient(180deg, #f7f1e9 0%, #fdfaf5 100%);
    padding: 120px 60px;
    position: relative;
    overflow: hidden;
  }
  .testimonial-section::before {
    content: '"';
    position: absolute;
    top: -40px; left: 40px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 400px;
    font-weight: 300;
    color: rgba(31,26,23,0.04);
    line-height: 1;
    pointer-events: none;
  }
  .testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-top: 64px;
  }
  .testimonial-card {
    border: 1px solid rgba(31,26,23,0.10);
    padding: 48px 40px;
    position: relative;
    transition: border-color 0.3s ease;
  }
  .testimonial-card:hover { border-color: rgba(232,72,43,0.28); }
  .t-stars { color: var(--accent); font-size: 14px; letter-spacing: 4px; margin-bottom: 24px; }
  .t-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.7;
    color: rgba(31,26,23,0.76);
    margin-bottom: 32px;
  }
  .t-author { display: flex; align-items: center; gap: 16px; }
  .t-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(232,72,43,0.10);
    border: 1px solid rgba(232,72,43,0.16);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--ink);
  }
  .t-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.05em;
  }
  .t-role {
    font-size: 11px;
    color: rgba(31,26,23,0.42);
    letter-spacing: 0.1em;
    margin-top: 3px;
  }

  /* CONTACT */
  .contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
  }
  .contact-left {
    background: var(--cream);
    padding: 100px 80px;
    display: flex; flex-direction: column; justify-content: center;
  }
  .contact-info { margin-top: 48px; }
  .contact-item {
    display: flex; gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  .contact-icon {
    width: 20px; height: 20px;
    color: var(--ink);
    flex-shrink: 0; margin-top: 2px;
  }
  .contact-detail {}
  .contact-label {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
  }
  .contact-value {
    font-size: 15px;
    color: var(--ink);
    font-weight: 300;
    line-height: 1.6;
  }
  .contact-right {
    background: var(--white);
    padding: 100px 80px;
    display: flex; flex-direction: column; justify-content: center;
  }
  .form-group { margin-bottom: 28px; }
  .form-label {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(31,26,23,0.46);
    display: block;
    margin-bottom: 10px;
  }
  .form-input, .form-select, .form-textarea {
    width: 100%;
    background: #f8f2ea;
    border: 1px solid rgba(31,26,23,0.10);
    padding: 14px 18px;
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    outline: none;
    transition: border-color 0.3s ease;
    cursor: none;
  }
  .form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: rgba(232,72,43,0.45);
  }
  .form-select option { background: var(--white); color: var(--ink); }
  .form-textarea { resize: vertical; min-height: 100px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .btn-submit {
    width: 100%;
    background: var(--white);
    color: var(--ink);
    border: none;
    padding: 18px;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    cursor: none;
    transition: background 0.3s ease, color 0.3s ease;
    margin-top: 8px;
  }
  .btn-submit:hover { background: #efe6d8; }

  /* FOOTER */
  footer {
    background: var(--light-warm);
    padding: 60px;
    border-top: 1px solid rgba(31,26,23,0.08);
  }
  .footer-main {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(0, 1.4fr);
    gap: 72px;
    align-items: start;
  }
  .footer-brand {
    max-width: 420px;
  }
  .footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1.05;
  }
  .footer-logo span { color: rgba(31,26,23,0.48); }
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }
  .footer-block {
    min-width: 0;
  }
  .footer-label {
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 18px;
  }
  .footer-copy {
    font-size: 12px;
    color: rgba(31,26,23,0.38);
    letter-spacing: 0.06em;
    line-height: 1.9;
    margin: 0 0 8px;
  }
  .footer-copy a {
    color: inherit;
    text-decoration: none;
  }
  .footer-copy a:hover {
    text-decoration: underline;
  }
  .footer-links {
    display: grid;
    gap: 10px;
  }
  .footer-links a {
    color: rgba(31,26,23,0.6);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.06em;
  }
  .footer-links a:hover {
    color: var(--ink);
  }
  .footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
  }
  .footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: rgba(31,26,23,0.48);
    font-style: italic;
    margin: 16px 0 0;
  }
  .footer-block-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-social { display: flex; gap: 14px; }
  .social-link {
    min-width: 120px;
    height: 42px;
    border: 1px solid rgba(31,26,23,0.12);
    display: flex; align-items: center; justify-content: center;
    color: rgba(31,26,23,0.5);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: all 0.3s ease;
  }
  .social-link:hover { border-color: rgba(232,72,43,0.6); color: var(--ink); }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-top: 28px;
    margin-top: 36px;
    border-top: 1px solid rgba(31,26,23,0.08);
  }

  .legal-page-shell {
    background: var(--white);
  }
  .legal-page-hero {
    padding: 180px 80px 44px;
    border-bottom: 1px solid rgba(31,26,23,0.08);
    background: var(--white);
  }
  .legal-page-title {
    margin-bottom: 0;
    max-width: 920px;
  }
  .legal-page-content {
    padding: 56px 80px 96px;
    background: var(--cream);
  }
  .legal-richtext {
    max-width: 860px;
    color: var(--muted);
  }
  .legal-richtext h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 300;
    line-height: 1.12;
    color: var(--ink);
    margin: 40px 0 12px;
  }
  .legal-richtext p {
    font-size: 15px;
    line-height: 1.9;
    margin: 0 0 16px;
  }
  .legal-richtext a {
    color: var(--ink);
  }

  .blog-page-shell,
  .blog-post-shell {
    background: var(--white);
  }
  .blog-hero,
  .blog-post-hero {
    padding: 180px 80px 48px;
    border-bottom: 1px solid rgba(31,26,23,0.08);
    background: var(--white);
  }
  .blog-hero-title,
  .blog-post-title {
    max-width: 980px;
    margin-bottom: 16px;
  }
  .blog-hero-copy,
  .blog-post-meta {
    max-width: 760px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--muted);
  }
  .blog-index-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding: 56px 80px 96px;
    background: var(--cream);
  }
  .blog-card {
    background: var(--white);
    border: 1px solid rgba(31,26,23,0.08);
    overflow: hidden;
  }
  .blog-card-media {
    aspect-ratio: 1.3 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, #ebe4db 0%, #ddd2c3 100%);
  }
  .blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .blog-card-body {
    padding: 26px 24px 28px;
  }
  .blog-card-meta {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 12px;
  }
  .blog-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 300;
    line-height: 1.04;
    margin: 0 0 14px;
  }
  .blog-card-title a {
    color: var(--ink);
    text-decoration: none;
  }
  .blog-card-excerpt {
    font-size: 14px;
    line-height: 1.85;
    color: var(--muted);
    margin: 0 0 18px;
  }
  .blog-read-link {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
  }
  .blog-post-image {
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid rgba(31,26,23,0.08);
  }
  .blog-post-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  .blog-post-content {
    padding: 56px 80px 96px;
    background: var(--cream);
  }
  .blog-richtext {
    max-width: 860px;
  }

  /* Animations */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  @keyframes scrollLine {
    0% { left: -100%; }
    100% { left: 100%; }
  }

  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.15s; }
  .reveal-delay-2 { transition-delay: 0.3s; }
  .reveal-delay-3 { transition-delay: 0.45s; }
  .reveal-delay-4 { transition-delay: 0.6s; }

  /* Hamburger */
  .nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    z-index: 200;
  }
  .nav-hamburger span {
    display: block;
    width: 24px; height: 1.5px;
    background: var(--ink);
    transition: all 0.3s ease;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* Mobile nav drawer */
  .nav-drawer {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--ink);
    z-index: 150;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }
  .nav-drawer[hidden] {
    display: none !important;
  }
  .nav-drawer.open { opacity: 1; visibility: visible; }
  .nav-drawer-close {
    position: absolute;
    top: 22px;
    right: 24px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(232,72,43,0.45);
    border-radius: 999px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
  }
  .nav-drawer-close span {
    position: absolute;
    width: 16px;
    height: 1.5px;
    background: #e8482b;
    border-radius: 999px;
  }
  .nav-drawer-close span:first-child { transform: rotate(45deg); }
  .nav-drawer-close span:last-child { transform: rotate(-45deg); }
  .nav-drawer a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    font-weight: 300;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s ease;
  }
  .nav-drawer-parent {
    width: min(80vw, 420px);
  }
  .nav-drawer-parent-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }
  .nav-drawer-toggle {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 999px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.2s ease;
  }
  .nav-drawer-toggle span {
    width: 10px;
    height: 10px;
    border-right: 1.5px solid rgba(255,255,255,0.78);
    border-bottom: 1.5px solid rgba(255,255,255,0.78);
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.25s ease;
  }
  .nav-drawer-toggle[aria-expanded="true"] span {
    transform: rotate(225deg) translateY(-1px);
  }
  .nav-drawer-toggle:hover {
    border-color: rgba(232,72,43,0.6);
  }
  .nav-drawer-group {
    width: min(80vw, 420px);
    display: grid;
    gap: 10px;
    padding: 10px 0 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin: 12px 0 -12px;
  }
  .nav-drawer-group[hidden] {
    display: none !important;
  }
  .nav-drawer-label {
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
    text-align: center;
  }
  .nav-drawer a.nav-drawer-sub {
    font-size: 16px;
    letter-spacing: 0.14em;
    opacity: 1;
    transform: none;
    color: rgba(255,255,255,0.72);
  }
  .nav-drawer.open a { opacity: 1; transform: translateY(0); }
  .nav-drawer.open .nav-drawer-toggle { opacity: 1; transform: translateY(0); }
  .nav-drawer.open .nav-drawer-close { opacity: 1; }
  .nav-drawer.open a:nth-child(1) { transition-delay: 0.1s; }
  .nav-drawer.open a:nth-child(2) { transition-delay: 0.18s; }
  .nav-drawer.open a:nth-child(3) { transition-delay: 0.26s; }
  .nav-drawer.open a:nth-child(4) { transition-delay: 0.34s; }
  .nav-drawer a:hover { color: rgba(255,255,255,0.5); }

  /* =====================
     TABLET — 1024px
  ===================== */
  @media (max-width: 1024px) {
    #navbar { padding: 22px 32px; }
    #navbar.scrolled { padding: 16px 32px; }
    .nav-links { gap: 24px; }
    .hero {
      height: 82vh;
      min-height: 520px;
    }
    .hero-content { padding: 0 32px 76px; }
    .hero-title { font-size: clamp(42px, 5vw, 64px); }
    .hero-subtitle { font-size: 13px; max-width: 42rem; }
    .about-content { padding: 72px 48px; }
    .service-hero { min-height: 88svh; }
    .service-hero-inner { padding: 0 48px 72px; max-width: 680px; }
    .service-intro,
    .service-process-band { padding: 80px 48px; }
    .service-intro-grid { gap: 40px; grid-template-columns: 1fr; }
    .service-showcase,
    .service-showcase-reverse { grid-template-columns: 1fr; }
    .service-showcase-content { padding: 72px 48px; }
    .service-process-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-section { padding: 80px 32px; }
    .services-section { padding: 80px 32px; }
    .process-section { padding: 80px 32px; }
    .testimonial-section { padding: 80px 32px; }
    .contact-left { padding: 72px 48px; }
    .contact-right { padding: 72px 48px; }
    footer { padding: 40px 32px; }
    .blog-hero,
    .blog-post-hero { padding: 160px 48px 40px; }
    .blog-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 48px 48px 80px; }
    .blog-post-content { padding: 48px 48px 80px; }
    .footer-main { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-legal-links { justify-content: flex-start; }
    .legal-page-hero { padding: 160px 48px 40px; }
    .legal-page-content { padding: 48px 48px 80px; }
    .testimonial-grid { grid-template-columns: 1fr; gap: 24px; }
    .process-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
    .process-steps::before { display: none; }
  }

  /* =====================
     MOBILE — 768px
  ===================== */
  @media (max-width: 768px) {
    /* Hide custom cursor on touch */
    .cursor, .cursor-ring { display: none; }
    body { cursor: auto; }
    * { cursor: auto !important; }

    /* NAV */
    #navbar { padding: 20px 24px; }
    #navbar.scrolled { padding: 14px 24px; background: rgba(255,255,255,0.98); }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .nav-logo { font-size: 18px; }
    .nav-logo .custom-logo {
      max-width: var(--logo-mobile-max-width);
      max-height: var(--logo-mobile-max-height);
    }
    .nav-logo.has-mobile-logo .nav-logo-desktop {
      display: none;
    }
    .nav-logo.has-mobile-logo .nav-logo-mobile {
      display: block;
    }
    .nav-book,
    .nav-cta { display: none; }

    /* HERO */
    .hero {
      height: 76svh;
      min-height: 460px;
      align-items: flex-end;
    }
    .hero-overlay {
      background:
        linear-gradient(180deg, rgba(20,16,13,0.02) 0%, rgba(20,16,13,0.08) 34%, rgba(20,16,13,0.2) 62%, rgba(20,16,13,0.62) 100%),
        linear-gradient(90deg, rgba(255,249,241,0.04) 0%, rgba(255,249,241,0) 100%);
    }
    .hero-content {
      padding: 0 24px 36px;
      max-width: 100%;
      align-items: center;
    }
    .hero-brandline {
      margin-bottom: 12px;
      font-size: 9px;
      letter-spacing: 0.34em;
    }
    .hero-title {
      font-size: clamp(26px, 7.2vw, 34px);
      width: 100%;
      max-width: none;
      margin-bottom: 16px;
      margin-inline: auto;
      text-align: center;
      line-height: 1.06;
    }
    .hero-title-line {
      white-space: nowrap;
    }
    .hero-subtitle {
      font-size: 11px;
      letter-spacing: 0.18em;
      line-height: 1.6;
      margin-bottom: 18px;
      max-width: 24rem;
    }
    .service-hero {
      min-height: 82svh;
      align-items: flex-end;
    }
    .service-hero-inner {
      padding: 0 24px 36px;
      max-width: none;
    }
    .service-hero-title {
      font-size: clamp(34px, 10vw, 48px);
      max-width: 11ch;
      margin-bottom: 16px;
    }
    .service-hero-copy {
      font-size: 14px;
      line-height: 1.75;
      margin-bottom: 20px;
      max-width: 30rem;
    }
    .service-hero-actions {
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
      max-width: 280px;
    }
    .service-intro,
    .service-process-band { padding: 56px 24px; }
    .service-showcase-content { padding: 56px 24px; }
    .service-showcase-media { min-height: 320px; }
    .service-process-step { padding: 24px 20px 26px; }
    .service-process-step h3 { font-size: 24px; }
    .hero-cta-group {
      flex-direction: column;
      align-items: center;
      gap: 12px;
      width: 100%;
      max-width: 280px;
    }
    .btn-primary,
    .btn-ghost {
      width: 100%;
      justify-content: center;
      text-align: center;
      padding: 14px 18px;
    }

    /* MARQUEE */
    .marquee-item { padding: 0 28px; gap: 28px; font-size: 10px; }

    /* ABOUT */
    .about-strip { grid-template-columns: 1fr; }
    .about-img { min-height: 280px; display: block; }
    .about-content { padding: 56px 24px; }
    .stats-row { gap: 28px; flex-wrap: wrap; }
    .stat-num { font-size: 38px; }

    /* PORTFOLIO */
    .portfolio-section { padding: 64px 24px; }
    .portfolio-header { flex-direction: column; align-items: flex-start; gap: 28px; }
    .portfolio-filter { flex-wrap: wrap; gap: 6px; }
    .filter-btn { font-size: 10px; padding: 9px 14px; }
    .portfolio-grid {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .project-card {
      min-height: 260px !important;
      grid-column: unset !important;
      grid-row: unset !important;
    }
    .project-card:nth-child(1) { min-height: 320px !important; }
    .card-content {
      padding: 18px 16px 14px;
      transform: none;
      bottom: 0;
      width: calc(100% - 32px);
      max-width: none;
    }
    .card-cat {
      display: none;
    }
    .card-title {
      margin-bottom: 8px;
      font-size: clamp(18px, 5.2vw, 24px);
      line-height: 1.08;
    }
    .card-meta { font-size: 10px; }
    .card-meta::before { display: none; content: none; }

    /* SERVICES */
    .services-section { padding: 64px 24px; }
    .services-grid { grid-template-columns: 1fr; gap: 1px; }
    .service-card { padding: 40px 28px; }
    .service-num { font-size: 48px; margin-bottom: 20px; }

    /* PROCESS */
    .process-section { padding: 64px 24px; }
    .process-steps {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    .process-steps::before { display: none; }
    .process-step { text-align: left; display: flex; gap: 20px; align-items: flex-start; padding: 0; }
    .step-circle { flex-shrink: 0; margin: 0; }
    .step-content {}

    /* TESTIMONIALS */
    .testimonial-section { padding: 64px 24px; }
    .testimonial-grid { grid-template-columns: 1fr; gap: 20px; }
    .testimonial-card { padding: 32px 24px; }
    .t-text { font-size: 16px; }

    /* CONTACT */
    .contact-section { grid-template-columns: 1fr; }
    .contact-left { padding: 64px 24px; }
    .contact-right { padding: 64px 24px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    /* FOOTER */
    footer {
      padding: 40px 24px;
    }
    .footer-main,
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 28px;
    }
    .footer-brand,
    .footer-block,
    .footer-block-social {
      max-width: none;
      text-align: center;
      align-items: center;
    }
    .footer-logo {
      font-size: clamp(18px, 8vw, 28px);
      letter-spacing: 0.12em;
      line-height: 1.08;
    }
    .footer-tagline {
      font-size: 15px;
      margin-top: 10px;
    }
    .footer-label {
      font-size: 9px;
      margin-bottom: 12px;
      letter-spacing: 0.22em;
    }
    .footer-copy {
      font-size: 11px;
      line-height: 1.7;
      letter-spacing: 0.03em;
      margin-bottom: 6px;
    }
    .footer-links {
      gap: 8px;
    }
    .footer-links a {
      font-size: 12px;
      letter-spacing: 0.03em;
    }
    .footer-bottom {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 14px;
    }
    .blog-hero,
    .blog-post-hero { padding: 132px 24px 32px; }
    .blog-index-grid { grid-template-columns: 1fr; padding: 40px 24px 64px; }
    .blog-post-content { padding: 40px 24px 64px; }
    .footer-legal-links { gap: 8px; justify-content: center; }
    .legal-page-hero { padding: 132px 24px 32px; }
    .legal-page-content { padding: 40px 24px 64px; }

    /* Section headings */
    .section-title { font-size: clamp(30px, 8vw, 44px); }
    .about-content .section-title { font-size: clamp(32px, 8vw, 48px); }
  }

  @media (max-width: 400px) {
    .hero {
      height: 72svh;
      min-height: 420px;
    }
    .hero-title {
      font-size: 24px;
    }
  }

  /* =====================
     SMALL MOBILE — 400px
  ===================== */
  @media (max-width: 400px) {
    .hero-title {
      font-size: 28px;
      line-height: 1.02;
    }
    .nav-cta { display: none; }
    .filter-btn { font-size: 9px; padding: 8px 10px; }
  }

/* ── WordPress-specific additions ── */
.card-view-btn {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s ease, color 0.2s ease;
}
.project-card:hover .card-view-btn {
    opacity: 1;
    color: #fff;
}
.card-photo {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    transition: transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
}
.project-card:hover .card-photo { transform: scale(1); }

.card-line-svg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
    pointer-events: none;
    display: none;
}
.project-card:hover .card-line-svg { opacity: 0; }

/* WordPress body class helpers */
.page-template-page-contact .hero-scroll-line { display: none; }

/* ── Book a Meeting nav button ── */
.nav-book {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink);
    background: transparent;
    border: 1px solid rgba(0,0,0,0.25);
    padding: 11px 22px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.nav-book:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
  #navbar.scrolled .nav-book { border-color: rgba(0,0,0,0.2); }
  body:not(.home) .nav-book { border-color: rgba(0,0,0,0.2); }

  /* On top of the hero, keep the book button light until the nav scrolls */
  .home #navbar:not(.scrolled) .nav-logo {
    color: rgba(255,255,255,0.98);
  }
  .home #navbar:not(.scrolled) .nav-logo span {
    color: rgba(255,255,255,0.82);
  }
  .home #navbar:not(.scrolled) .nav-logo .custom-logo {
    filter: none;
    opacity: 1;
  }
  #navbar.scrolled .nav-logo .custom-logo {
    filter: none;
    opacity: 1;
  }
  .home #navbar:not(.scrolled) .nav-book {
    color: rgba(255,255,255,0.7);
    border-color: rgba(255,255,255,0.25);
  }
.home #navbar:not(.scrolled) .nav-book:hover {
    color: var(--ink);
    background: var(--white);
    border-color: var(--white);
}

/* ── Portfolio card as full anchor (clickable tile) ── */
a.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
}
a.project-card:focus-visible {
    outline: 2px solid rgba(255,255,255,0.5);
    outline-offset: 3px;
}
/* Remove the separate view btn when whole card is clickable */

/* ── Gallery section bottom padding for floating nav ── */
.project-gallery-section { padding-bottom: 100px; }
.project-writeup-section  { padding-bottom: 100px; }

/* ── About image: photo fills the inner parallax wrapper ── */
.about-img img {
    position: absolute;
    inset: -8%;
    width: 116%;
    height: 116%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
    display: block;
}
.about-img-inner {
    position: absolute;
    inset: -8%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}
