﻿
    /* ─── Tokens ─────────────────────────────────────────────────────────── */
    :root {
      --ink:        #0e0e0c;
      --ink-60:     rgba(14,14,12,.6);
      --ink-30:     rgba(14,14,12,.3);
      --ink-10:     rgba(14,14,12,.1);
      --cream:      #f5f2ed;
      --cream-dark: #ede9e2;
      --ivory:      #faf8f5;
      --gold:       #1E5548;
      --gold-light: #3A8A75;
      --brand:      #1E5548;
      --brand-light:#3A8A75;
      --white:      #ffffff;
      --white-80:   rgba(255,255,255,.80);
      --white-50:   rgba(255,255,255,.50);
      --white-20:   rgba(255,255,255,.20);
      --white-10:   rgba(255,255,255,.10);

      /* Persian fonts — IRANSans for all text */
      --ff-serif:   'IRANSans', 'Tahoma', 'Arial', sans-serif;
      /* Labels, logo, eyebrows */
      --ff-sc:      'IRANSans', 'Tahoma', 'Arial', sans-serif;
      /* Body text */
      --ff-body:    'IRANSans', 'Tahoma', 'Arial', sans-serif;

      --ease:       cubic-bezier(.22,1,.36,1);
      --ease-in:    cubic-bezier(.55,.055,.675,.19);

      --h-nav:      72px;
      --nav-top:    1.35rem;
      --section-v:  clamp(6rem, 10vw, 9rem);
      --quote-v:    clamp(3.75rem, 6vw, 5rem);
      --gutter:     clamp(1.5rem, 5vw, 4rem);
      --max-w:      1560px;
    }

    /* ─── Reset ──────────────────────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; }
    /* Ivory shell theme — skip WooCommerce (shop/category/product use dark theme in style.css) */
    body:not(.woocommerce-page) {
      font-family: var(--ff-body);
      font-weight: 300;
      background: var(--ivory);
      color: var(--ink);
      line-height: 1.7;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      cursor: auto;
    }
    img { display: block; max-width: 100%; height: auto; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; cursor: pointer; border: none; background: none; }
    ul { list-style: none; }


    /* ─── Utils ──────────────────────────────────────────────────────────── */
    .wrap {
      width: min(var(--max-w), calc(100% - var(--gutter) * 2));
      margin-inline: auto;
    }
    .wrap--narrow { width: min(940px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }

    .eyebrow {
      display: inline-block;
      font-family: var(--ff-sc);
      font-size: .65rem;
      font-weight: 400;
      letter-spacing: .3em;
      text-transform: uppercase;
      color: var(--ink-60);
    }
    .eyebrow--light { color: var(--white-50); }
    .eyebrow--gold  { color: var(--gold); }

    /* ─── Preloader ──────────────────────────────────────────────────────── */
    .preloader {
      position: fixed; inset: 0; z-index: 9999;
      background: var(--ink);
      display: flex; flex-direction: column;
      align-items: center; justify-content: center; gap: 2rem;
      transition: opacity .9s var(--ease), visibility .9s;
    }
    .preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }

    .preloader__logo {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .preloader__logo img {
      height: clamp(30px, 5vw, 50px);
      width: auto;
      filter: brightness(0) invert(1);
    }
    .preloader__bar {
      width: 120px; height: 1px;
      background: var(--white-20);
      overflow: hidden;
    }
    .preloader__bar::after {
      content: '';
      display: block;
      height: 100%;
      width: 0;
      background: var(--gold);
      animation: barLoad 1.6s var(--ease) forwards;
    }
    @keyframes barLoad { to { width: 100%; } }

    /* ─── Navigation ─────────────────────────────────────────────────────── */
    .nav {
      position: fixed; top: var(--nav-top); left: 0; right: 0; z-index: 900;
      height: var(--h-nav);
      transition: top .45s var(--ease), color .5s var(--ease);
      border-bottom: 1px solid transparent;
      isolation: isolate;
    }
    .nav::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: -1;
      opacity: 0;
      transition: opacity .55s var(--ease), box-shadow .55s var(--ease), border-color .55s;
      pointer-events: none;
    }
    .nav::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 8%;
      right: 8%;
      height: 1px;
      z-index: -1;
      background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(58, 138, 117, .55) 50%,
        transparent 100%
      );
      opacity: 0;
      transition: opacity .55s var(--ease);
      pointer-events: none;
    }
    .nav.over-dark::before {
      opacity: 1;
      background: linear-gradient(
        165deg,
        rgba(8, 14, 12, .78) 0%,
        rgba(14, 14, 12, .58) 55%,
        rgba(10, 18, 15, .72) 100%
      );
      backdrop-filter: blur(22px) saturate(1.45);
      -webkit-backdrop-filter: blur(22px) saturate(1.45);
      border-bottom: 1px solid rgba(255, 255, 255, .14);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .1),
        0 10px 40px rgba(0, 0, 0, .22);
    }
    .nav.over-dark::after { opacity: 1; }
    .nav.scrolled {
      top: 0;
    }
    .nav.scrolled::before {
      opacity: 1;
      background: linear-gradient(
        180deg,
        rgba(252, 250, 247, .94) 0%,
        rgba(245, 242, 237, .9) 100%
      );
      backdrop-filter: blur(20px) saturate(1.35);
      -webkit-backdrop-filter: blur(20px) saturate(1.35);
      border-bottom: 1px solid var(--ink-10);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .85),
        0 8px 28px rgba(14, 14, 12, .08);
    }
    .nav.scrolled::after {
      opacity: .65;
      background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(30, 85, 72, .35) 50%,
        transparent 100%
      );
    }
    .nav.over-dark { color: var(--white); }
    .nav.over-dark.scrolled::before {
      background: linear-gradient(
        165deg,
        rgba(6, 10, 9, .9) 0%,
        rgba(14, 14, 12, .84) 100%
      );
      border-bottom: 1px solid var(--white-10);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 12px 36px rgba(0, 0, 0, .28);
    }
    .nav.over-dark .nav__link,
    .nav.over-dark .nav__logo {
      text-shadow: 0 1px 14px rgba(0, 0, 0, .4);
    }
    .nav.over-dark .nav__logo img {
      filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(0, 0, 0, .35));
    }
    .nav.scrolled:not(.over-dark) {
      color: var(--ink);
    }
    .nav.scrolled:not(.over-dark) .nav__link,
    .nav.scrolled:not(.over-dark) .nav__logo {
      text-shadow: none;
    }
    .nav.scrolled:not(.over-dark) .nav__logo img {
      filter: none;
    }

    .nav__inner {
      height: 100%;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: 1rem;
    }
    .nav__links {
      display: flex; gap: 2.5rem; align-items: center;
    }
    .nav__links--end { justify-content: flex-end; }

    .nav__link {
      font-family: var(--ff-sc);
      font-size: .92rem;
      letter-spacing: .14em;
      position: relative;
      padding-block: .25rem;
      transition: opacity .3s;
    }
    .nav__link::after {
      content: '';
      position: absolute; bottom: 0; right: 0;
      width: 0; height: 1px;
      background: currentColor;
      transition: width .45s var(--ease);
    }
    .nav__link:hover::after { width: 100%; }

    .nav__logo {
      display: flex;
      align-items: center;
      justify-content: center;
      transition: opacity .3s;
    }
    .nav__logo img {
      height: 35px;
      width: auto;
      display: block;
    }
    .nav__logo:hover { opacity: .7; }

    .nav__burger {
      display: none;
      justify-self: end;
      width: 30px; height: 20px;
      position: relative;
      flex-direction: column;
      justify-content: space-between;
    }
    .nav__burger span {
      display: block; height: 1px;
      background: currentColor;
      transition: transform .4s var(--ease), top .4s, opacity .3s, width .4s var(--ease);
    }
    .nav__burger span:last-child { width: 60%; align-self: flex-end; }
    .nav__burger:hover span:last-child { width: 100%; }
    .nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(6px,6px); }
    .nav__burger.open span:nth-child(2) { opacity: 0; }
    .nav__burger.open span:nth-child(3) { width: 100%; transform: rotate(-45deg) translate(6px,-6px); }

    .nav__center {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .nav__mobile-actions {
      display: none;
      align-items: center;
    }
    .nav__icon {
      display: none;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      color: currentColor;
      transition: opacity .3s;
    }
    .nav__icon svg { width: 20px; height: 20px; }
    .nav__icon:hover { opacity: .7; }

    /* ─── Mobile overlay menu ─────────────────────────────────────────────── */
    .overlay-menu {
      position: fixed; inset: 0; z-index: 800;
      background: var(--ink);
      color: var(--white);
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      opacity: 0; visibility: hidden;
      transition: opacity .6s var(--ease), visibility .6s;
    }
    .overlay-menu.open { opacity: 1; visibility: visible; }

    .overlay-menu__inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2.5rem;
    }

    .overlay-menu__close {
      position: absolute;
      top: clamp(1.25rem, 4vw, 2rem);
      inset-inline-start: clamp(1.25rem, 4vw, 2rem);
      z-index: 2;
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--white);
      opacity: 0;
      transition: opacity .45s var(--ease), color .3s, transform .3s var(--ease);
    }
    .overlay-menu.open .overlay-menu__close {
      opacity: 1;
      transition-delay: .05s;
    }
    .overlay-menu__close:hover {
      color: var(--gold-light);
      transform: rotate(90deg);
    }
    .overlay-menu__close svg {
      width: 26px;
      height: 26px;
    }

    .overlay-menu__link {
      font-family: var(--ff-serif);
      font-size: clamp(2rem, 6vw, 3rem);
      font-weight: 300;
      letter-spacing: .06em;
      opacity: 0;
      transform: translateY(24px);
      transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
    }
    .overlay-menu.open .overlay-menu__link { opacity: 1; transform: none; }
    .overlay-menu.open .overlay-menu__link:nth-child(1) { transition-delay: .08s; }
    .overlay-menu.open .overlay-menu__link:nth-child(2) { transition-delay: .12s; }
    .overlay-menu.open .overlay-menu__link:nth-child(3) { transition-delay: .16s; }
    .overlay-menu.open .overlay-menu__link:nth-child(4) { transition-delay: .20s; }
    .overlay-menu.open .overlay-menu__link:nth-child(5) { transition-delay: .24s; }
    .overlay-menu.open .overlay-menu__link:nth-child(6) { transition-delay: .28s; }
    .overlay-menu__link:hover { color: var(--gold-light); }

    /* ─── Hero Slideshow ─────────────────────────────────────────────────── */
    .hero {
      position: relative;
      height: 100svh;
      min-height: 620px;
      overflow: hidden;
    }

    .hero__slides {
      position: absolute; inset: 0;
    }
    .hero__slide {
      position: absolute; inset: 0;
      opacity: 0;
      transition: opacity 1.8s var(--ease);
    }
    .hero__slide.active { opacity: 1; }

    .hero__slide img {
      width: 100%;
      height: 100%;
      max-height: none;
      object-fit: cover;
      object-position: center;
      transform: scale(1.06);
      transition: transform 8s ease-out;
    }
    .hero__slide.active img { transform: scale(1); }

    .hero__overlay {
      position: absolute; inset: 0;
      background: linear-gradient(
        160deg,
        rgba(14,14,12,.55) 0%,
        rgba(14,14,12,.2) 55%,
        rgba(14,14,12,.55) 100%
      );
    }

    .hero__content {
      position: absolute; inset: 0; z-index: 2;
      display: flex; flex-direction: column; justify-content: flex-end;
      padding: 0 var(--gutter) clamp(5.5rem, 12vh, 9rem);
      color: var(--white);
      pointer-events: none;
    }
    .hero__eyebrow {
      opacity: 0;
      transform: translateY(20px);
      animation: riseIn 1.2s var(--ease) .4s forwards;
    }
    .hero__title {
      font-family: var(--ff-serif);
      font-size: clamp(1.85rem, 4.2vw, 3.25rem);
      font-weight: 300;
      line-height: 1.12;
      letter-spacing: .02em;
      max-width: 22ch;
      margin-top: .75rem;
      opacity: 0;
      transform: translateY(40px);
      animation: riseIn 1.4s var(--ease) .65s forwards;
    }
    .hero__title em { font-style: italic; color: var(--gold-light); }
    .hero__title .highlight { color: var(--gold-light); font-style: normal; }
    .hero__sub {
      font-size: clamp(.9rem, 1.4vw, 1.05rem);
      font-weight: 300;
      color: var(--white-80);
      max-width: 58ch;
      margin-top: 1.5rem;
      opacity: 0;
      transform: translateY(30px);
      animation: riseIn 1.4s var(--ease) .9s forwards;
    }
    .hero__actions {
      display: flex; gap: 1.5rem; align-items: center;
      margin-top: 2.5rem;
      pointer-events: all;
      opacity: 0;
      transform: translateY(20px);
      animation: riseIn 1.2s var(--ease) 1.1s forwards;
    }

    .btn-ghost {
      display: inline-flex; align-items: center; gap: .75rem;
      font-family: var(--ff-sc);
      font-size: .65rem;
      letter-spacing: .22em;
      padding: .9rem 2rem;
      border: 1px solid currentColor;
      transition: background .4s var(--ease), color .4s;
    }
    .btn-ghost--light { color: var(--white); }
    .btn-ghost--light:hover { background: var(--white); color: var(--ink); }
    .btn-ghost--dark { color: var(--ink); }
    .btn-ghost--dark:hover { background: var(--ink); color: var(--white); }
    .btn-ghost--gold { color: var(--gold); border-color: var(--gold); }
    .btn-ghost--gold:hover { background: var(--gold); color: var(--white); }
    .btn-ghost svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
    .btn-ghost:hover svg { transform: translateX(-4px); }

    .btn-text {
      display: inline-flex; align-items: center; gap: .6rem;
      font-family: var(--ff-sc);
      font-size: .65rem;
      letter-spacing: .22em;
      color: var(--white-80);
      padding-bottom: 2px;
      border-bottom: 1px solid var(--white-20);
      transition: border-color .3s, color .3s, gap .4s var(--ease);
    }
    .btn-text:hover { color: var(--white); border-color: var(--white); gap: 1rem; }

    /* Hero counter + controls */
    .hero__controls {
      position: absolute; bottom: clamp(2rem, 5vh, 4rem); left: var(--gutter);
      z-index: 3;
      display: flex; align-items: center; gap: 1.5rem;
      color: var(--white-50);
    }
    .hero__controls--hidden { display: none; }
    .hero__counter {
      font-family: var(--ff-sc);
      font-size: .65rem;
      letter-spacing: .2em;
    }
    .hero__dots {
      display: flex; gap: .5rem;
    }
    .hero__dot {
      width: 20px; height: 1px;
      background: var(--white-30, rgba(255,255,255,.3));
      transition: background .4s, width .4s var(--ease);
    }
    .hero__dot.active {
      width: 40px;
      background: var(--white);
    }
    .hero__scroll-hint {
      position: absolute; bottom: clamp(2rem, 5vh, 4rem); left: 50%; transform: translateX(-50%);
      z-index: 3;
      display: flex; flex-direction: column; align-items: center; gap: .5rem;
      color: var(--white-50);
      font-family: var(--ff-sc);
      font-size: .6rem;
      letter-spacing: .25em;
    }
    .hero__scroll-line {
      width: 1px; height: 44px;
      background: linear-gradient(to bottom, var(--white-50), transparent);
      animation: scrollBounce 2s ease-in-out infinite;
    }
    @keyframes scrollBounce {
      0%,100% { transform: scaleY(1); opacity: 1; }
      50% { transform: scaleY(.5); opacity: .4; }
    }

    @keyframes riseIn {
      to { opacity: 1; transform: none; }
    }

    /* ─── Brand statement ────────────────────────────────────────────────── */
    .statement {
      padding-block: var(--quote-v);
      text-align: center;
    }
    .statement__eyebrow {
      font-size: clamp(.95rem, 1.8vw, 1.2rem);
      letter-spacing: .28em;
      color: var(--brand);
      font-weight: 500;
    }
    .statement__text {
      font-family: var(--ff-serif);
      font-size: clamp(1.85rem, 4.2vw, 3.25rem);
      font-weight: 300;
      line-height: 1.55;
      color: var(--ink);
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
    }
    .statement__text.visible { opacity: 1; transform: none; }
    .statement__text em { font-style: italic; color: var(--gold); }
    .statement__divider {
      width: 40px; height: 1px;
      background: var(--gold);
      margin: 1.75rem auto;
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 1s var(--ease) .3s;
    }
    .statement__divider.visible { transform: scaleX(1); }

    /* ─── Focus — products ───────────────────────────────────────────────── */
    .focus {
      padding-bottom: clamp(4rem, 8vw, 6rem);
      background: var(--ivory);
    }

    .focus__row {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 1.25rem;
      padding-inline: max(var(--gutter), calc((100% - var(--max-w)) / 2 + var(--gutter)));
      align-items: start;
    }

    .focus__header {
      padding-block: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 1.75rem);
      background: var(--ivory);
    }
    .focus__title {
      font-family: var(--ff-serif);
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 300;
      color: var(--ink);
    }

    .focus__card {
      position: relative;
      display: block;
      width: 100%;
      overflow: hidden;
      background: var(--cream-dark);
      color: var(--white);
    }
    .focus__card-img {
      width: 100%;
      height: auto;
      display: block;
      transition: transform 1.4s var(--ease);
    }
    .focus__card:hover .focus__card-img { transform: scale(1.02); }
    .focus__card-info {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 1.75rem;
      background: linear-gradient(to top, rgba(14,14,12,.72) 0%, transparent 45%);
      color: var(--white);
      pointer-events: none;
    }
    .focus__card-name {
      font-family: var(--ff-serif);
      font-size: clamp(1.4rem, 2.2vw, 1.85rem);
      font-weight: 400;
      margin-top: .4rem;
      transform: translateY(6px);
      transition: transform .5s var(--ease);
    }
    .focus__card:hover .focus__card-name { transform: none; }
    .focus__card-cta {
      display: flex; align-items: center; gap: .5rem;
      font-family: var(--ff-sc);
      font-size: .6rem;
      letter-spacing: .2em;
      margin-top: 1rem;
      opacity: 0;
      transform: translateY(8px);
      transition: opacity .5s var(--ease) .05s, transform .5s var(--ease) .05s;
    }
    .focus__card:hover .focus__card-cta { opacity: 1; transform: none; }
    .focus__card-cta svg { width: 12px; height: 12px; }

    /* ─── Selected projects — grid ─────────────────────────────────────── */
    .inspired {
      padding-block: var(--quote-v) var(--section-v);
      background: var(--ivory);
    }
    .inspired__header {
      margin-bottom: 2.5rem;
    }
    .inspired__title {
      font-family: var(--ff-serif);
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 300;
      color: var(--ink);
    }
    .inspired__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem;
    }
    .inspired__cell {
      position: relative;
      overflow: hidden;
      aspect-ratio: 3 / 4;
      background: var(--cream-dark);
    }

    .inspired__cell img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform 1.6s var(--ease);
    }
    .inspired__cell:hover img { transform: scale(1.05); }
    .inspired__caption {
      position: absolute; inset: 0;
      display: flex; flex-direction: column; justify-content: flex-end;
      padding: 1.75rem;
      background: linear-gradient(to top, rgba(14,14,12,.65) 0%, transparent 55%);
      color: var(--white);
    }
    .inspired__caption h3 {
      font-family: var(--ff-serif);
      font-size: clamp(1.2rem, 2vw, 1.65rem);
      font-weight: 400;
      margin-top: .35rem;
    }
    .inspired__footer {
      margin-top: 2.5rem;
      text-align: center;
    }
    .inspired__footer--hidden {
      display: none;
    }

    /* ─── Manifesto — full-width quote before factory ────────────────────── */
    .manifesto {
      width: 100%;
      padding-block: var(--quote-v);
      background: linear-gradient(
        180deg,
        var(--ivory) 0%,
        var(--cream) 45%,
        var(--ivory) 100%
      );
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .manifesto::before,
    .manifesto::after {
      content: '';
      position: absolute;
      left: var(--gutter);
      right: var(--gutter);
      height: 1px;
      background: linear-gradient(
        90deg,
        transparent,
        var(--ink-10) 18%,
        var(--ink-10) 82%,
        transparent
      );
    }
    .manifesto::before { top: 0; }
    .manifesto::after { bottom: 0; }
    .manifesto__inner {
      position: relative;
      padding-inline: var(--gutter);
      max-width: 920px;
      margin-inline: auto;
    }
    .manifesto__quote {
      margin: 0;
      border: none;
    }
    .manifesto__row {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: clamp(.85rem, 2.2vw, 1.35rem);
      flex-wrap: nowrap;
      font-size: clamp(1.45rem, 3.2vw, 2.35rem);
    }
    .manifesto__gem {
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 1.15em;
      height: 1.15em;
      min-width: 22px;
      min-height: 22px;
      color: var(--gold);
    }
    .manifesto__gem svg {
      display: block;
      width: 100%;
      height: 100%;
    }
    .manifesto__quote p {
      font-family: var(--ff-serif);
      font-size: inherit;
      font-weight: 300;
      line-height: 1.65;
      letter-spacing: -.01em;
      color: var(--ink);
    }
    .manifesto__quote em {
      font-style: normal;
      color: var(--gold);
      font-weight: 400;
    }
    .manifesto__line {
      width: 40px;
      height: 2px;
      background: var(--gold);
      margin: 1.75rem auto 0;
    }

    /* ─── Factory — majestic full-bleed ──────────────────────────────────── */
    .factory {
      background: var(--ink);
      color: var(--white);
    }
    .factory__hero {
      position: relative;
      min-height: clamp(520px, 88vh, 920px);
      display: flex;
      align-items: flex-end;
      overflow: hidden;
    }
    .factory__media {
      position: absolute;
      inset: 0;
    }
    .factory__media::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 1;
      background:
        radial-gradient(ellipse 120% 90% at 50% 100%, rgba(14,14,12,.55) 0%, transparent 55%),
        radial-gradient(ellipse 70% 55% at 85% 20%, rgba(30,85,72,.28), transparent 65%);
      pointer-events: none;
    }
    .factory__media::after {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 1;
      box-shadow: inset 0 0 120px rgba(14,14,12,.45);
      pointer-events: none;
    }
    .factory__media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 42%;
      transform: scale(1.1);
      filter: brightness(0.88) contrast(1.1) saturate(1.08);
      transition: transform 10s var(--ease), filter 3s var(--ease);
    }
    .factory__hero:hover .factory__media img {
      transform: scale(1.02);
      filter: brightness(0.94) contrast(1.06) saturate(1.14);
    }
    .factory__veil {
      position: absolute;
      inset: 0;
      z-index: 2;
      background: linear-gradient(
        195deg,
        rgba(14,14,12,.72) 0%,
        rgba(14,14,12,.28) 38%,
        rgba(14,14,12,.52) 68%,
        rgba(14,14,12,.94) 100%
      );
    }
    .factory__veil::after {
      content: '';
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(14,14,12,.35) 0%, transparent 42%),
        radial-gradient(ellipse 55% 45% at 78% 35%, rgba(58,138,117,.2), transparent 70%);
    }
    .factory__content {
      position: relative;
      z-index: 3;
      width: 100%;
      padding-block: clamp(4rem, 10vw, 8rem);
      padding-inline: max(var(--gutter), calc((100% - var(--max-w)) / 2 + var(--gutter)));
    }
    .factory__title {
      font-family: var(--ff-serif);
      font-size: clamp(3rem, 8vw, 7rem);
      font-weight: 300;
      line-height: 1.08;
      letter-spacing: .02em;
      max-width: 14ch;
      margin-top: 1rem;
    }
    .factory__title em {
      font-style: normal;
      color: var(--gold-light);
    }
    .factory__lead {
      font-size: clamp(1rem, 1.6vw, 1.15rem);
      font-weight: 300;
      color: var(--white-80);
      line-height: 2;
      max-width: 52ch;
      margin-top: 2rem;
    }
    .factory__actions {
      margin-top: 2.5rem;
    }

    /* ─── Contact ─────────────────────────────────────────────────────────── */
    .contact {
      position: relative;
      min-height: 75vh;
      display: grid;
      grid-template-columns: 1fr 1fr;
      overflow: hidden;
    }
    .contact__media {
      position: relative; overflow: hidden;
    }
    .contact__media img {
      width: 100%; height: 100%;
      object-fit: cover;
      filter: brightness(.85);
    }
    .contact__body {
      background: var(--ink);
      color: var(--white);
      display: flex; flex-direction: column; justify-content: center;
      padding: clamp(3rem, 8vw, 8rem);
    }
    .contact__title {
      font-family: var(--ff-serif);
      font-size: clamp(2.4rem, 4.5vw, 4rem);
      font-weight: 300;
      line-height: 1.2;
      margin-top: .75rem;
    }
    .contact__tagline {
      font-size: .9rem;
      color: var(--white-80);
      max-width: 36ch;
      margin-top: 1.5rem;
      line-height: 1.9;
    }
    .contact__info-grid {
      margin-top: 3rem;
      display: flex; flex-direction: column; gap: 1.75rem;
    }
    .contact__row {}
    .contact__row-val {
      font-family: var(--ff-serif);
      font-size: 1.3rem;
      font-weight: 400;
      margin-top: .2rem;
      transition: color .3s;
    }
    .contact__row-val[dir="ltr"] {
      direction: ltr;
      unicode-bidi: isolate;
      text-align: left;
      display: inline-block;
    }
    a.contact__row-val:hover { color: var(--gold-light); }
    .contact__actions { margin-top: 3rem; }
    .contact__actions .btn-ghost {
      font-size: clamp(.82rem, 1.35vw, 1rem);
      letter-spacing: .16em;
      padding: 1.1rem 2.5rem;
    }
    .contact__actions .btn-ghost svg {
      width: 16px;
      height: 16px;
    }

    /* ─── Footer ──────────────────────────────────────────────────────────── */
    .footer {
      background: var(--ink);
      color: var(--white-50);
      padding-top: 5rem;
      padding-bottom: 2rem;
      border-top: 1px solid var(--white-10);
    }
    .footer__top {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 3rem;
      padding-bottom: 4rem;
      border-bottom: 1px solid var(--white-10);
    }
    .footer__brand {
      margin-bottom: 1rem;
    }
    .footer__brand img {
      height: 40px;
      width: auto;
      filter: brightness(0) invert(1);
    }
    .footer__desc {
      font-size: .85rem;
      line-height: 1.9;
      max-width: 28ch;
    }
    .footer__col-label {
      font-family: var(--ff-sc);
      font-size: .62rem;
      letter-spacing: .22em;
      color: var(--white);
      margin-bottom: 1.5rem;
    }
    .footer__col-links { display: flex; flex-direction: column; gap: .75rem; }
    .footer__col-links a {
      font-size: .85rem;
      transition: color .3s;
    }
    .footer__col-links a:hover { color: var(--white); }

    .footer__bottom {
      padding-top: 2rem;
      display: flex; justify-content: space-between; align-items: center;
      font-size: .72rem;
      letter-spacing: .05em;
    }
    .footer__social { display: flex; gap: 2rem; }
    .footer__social a {
      font-family: var(--ff-sc);
      font-size: .62rem;
      letter-spacing: .18em;
      transition: color .3s;
    }
    .footer__social a:hover { color: var(--white); }

    /* ─── Reveal ─────────────────────────────────────────────────────────── */
    .reveal {
      opacity: 0; transform: translateY(32px);
      transition: opacity 1s var(--ease), transform 1s var(--ease);
    }
    .reveal.visible { opacity: 1; transform: none; }
    .reveal-left {
      opacity: 0; transform: translateX(-32px);
      transition: opacity 1s var(--ease), transform 1s var(--ease);
    }
    .reveal-left.visible { opacity: 1; transform: none; }
    .reveal-right {
      opacity: 0; transform: translateX(32px);
      transition: opacity 1s var(--ease), transform 1s var(--ease);
    }
    .reveal-right.visible { opacity: 1; transform: none; }

    /* ─── Responsive ─────────────────────────────────────────────────────── */
    @media (max-width: 1100px) {
      .contact { grid-template-columns: 1fr; }
      .contact__media { aspect-ratio: 16/9; }
      .footer__top { grid-template-columns: 1fr 1fr; }
      .inspired__grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 768px) {
      .nav__links { display: none; }

      .nav__inner {
        direction: ltr;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
      }
      .nav__center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 0;
      }
      .nav__mobile-actions {
        display: flex;
        z-index: 1;
      }
      .nav__icon--search,
      .nav__icon--contact { display: flex; }
      .nav__burger {
        display: flex;
        z-index: 1;
      }

      /* Scrolled mobile header: light bar + dark icons (over hero and inner pages) */
      .nav.scrolled {
        color: var(--ink);
      }
      .nav.scrolled .nav__link,
      .nav.scrolled .nav__logo {
        text-shadow: none;
      }
      .nav.scrolled .nav__logo img {
        filter: none;
      }
      .nav.over-dark.scrolled::before {
        background: linear-gradient(
          180deg,
          rgba(252, 250, 247, .94) 0%,
          rgba(245, 242, 237, .9) 100%
        );
        border-bottom: 1px solid var(--ink-10);
        box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, .85),
          0 8px 28px rgba(14, 14, 12, .08);
      }

      .focus__row {
        grid-template-columns: 1fr;
      }

      .inspired__grid { grid-template-columns: 1fr; }

      .footer__top { grid-template-columns: 1fr; gap: 2rem; }
      .footer__bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
    }

    @media (max-width: 480px) {
      .hero__actions { flex-direction: column; align-items: flex-start; gap: 1rem; }
    }

/* ─── WordPress integration ───────────────────────────────────────────── */
body:not(.has-hero) .nav.over-dark::before {
    opacity: 1;
}

body:not(.has-hero) .nav.over-dark::after {
    opacity: 1;
}

body:not(.has-hero) .nav.scrolled {
    top: 0;
}

.romak-page-content {
    padding-block: calc(var(--h-nav) + var(--nav-top) + 2rem) clamp(4rem, 8vw, 6rem);
    min-height: 50vh;
}

.mobile-bottom-nav {
    display: none !important;
}

.search-modal {
    z-index: 10000;
}

.overlay-menu {
    z-index: 950;
}

.nav__link.current-menu-item::after,
.nav__link.current-menu-ancestor::after {
    width: 100%;
}

.overlay-menu__link.current-menu-item {
    color: var(--gold-light);
}

