:root {
      --ink: #171411;
      --ink-soft: #564d45;
      --paper: #f3ece3;
      --paper-deep: #e7ddd0;
      --accent: #a67c52;
      --accent-dark: #6f4d2a;
      --wine: #5f2332;
      --panel: rgba(255, 252, 248, 0.7);
      --line: rgba(23, 20, 17, 0.12);
      --shadow: 0 30px 80px rgba(41, 23, 12, 0.12);
      --font-body: "Manrope", sans-serif;
      --font-display: "Bodoni Moda", serif;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: var(--font-body);
      color: var(--ink);
      background:
        radial-gradient(circle at top left, rgba(166, 124, 82, 0.18), transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(95, 35, 50, 0.18), transparent 18%),
        linear-gradient(180deg, #f8f3ed 0%, #efe5d7 52%, #f7f1e9 100%);
    }

    html[lang="ka"] {
      --font-body: "Noto Sans Georgian", "Segoe UI", sans-serif;
      --font-display: "Noto Serif Georgian", "Sylfaen", serif;
    }

    html[lang="ka"] .brand,
    html[lang="ka"] nav,
    html[lang="ka"] .button,
    html[lang="ka"] .service-label,
    html[lang="ka"] .section-kicker,
    html[lang="ka"] .metric-item strong,
    html[lang="ka"] .hero-meta span,
    html[lang="ka"] .contact-list strong,
    html[lang="ka"] .magazine-cover-badge {
      letter-spacing: 0.02em;
    }

    html[lang="ka"] h1,
    html[lang="ka"] h2,
    html[lang="ka"] h3,
    html[lang="ka"] .hero-quote,
    html[lang="ka"] .stat strong,
    html[lang="ka"] .metric-item span,
    html[lang="ka"] .brand-mark {
      font-weight: 600;
      letter-spacing: -0.02em;
      line-height: 1.1;
    }

    html[lang="ka"] h1 {
      font-size: clamp(2.15rem, 4.25vw, 3.9rem);
      line-height: 1;
    }

    html[lang="ka"] h2 {
      font-size: clamp(1.42rem, 2.6vw, 2.05rem);
    }

    html[lang="ka"] .editorial-title {
      font-size: clamp(1.22rem, 1.8vw, 1.7rem);
      line-height: 1.14;
    }

    html[lang="ka"] h3 {
      font-size: clamp(0.98rem, 1.28vw, 1.24rem);
      line-height: 1.18;
    }

    html[lang="ka"] .hero-copy p,
    html[lang="ka"] .section-copy,
    html[lang="ka"] .service-card p,
    html[lang="ka"] .magazine-card p,
    html[lang="ka"] .contact p,
    html[lang="ka"] footer p,
    html[lang="ka"] .stat span {
      font-size: 0.79rem;
      line-height: 1.72;
      font-weight: 400;
      letter-spacing: 0;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .nowrap {
      white-space: nowrap;
    }

    .page-shell {
      width: min(1200px, calc(100% - 40px));
      margin: 24px auto;
      border: 1px solid rgba(255, 255, 255, 0.7);
      background: rgba(255, 248, 241, 0.78);
      backdrop-filter: blur(18px);
      box-shadow: var(--shadow);
      overflow: hidden;
      position: relative;
    }

    .page-shell::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
      background-size: 100% 120px, 120px 100%;
      opacity: 0.18;
      pointer-events: none;
    }

    .page-shell::after {
      content: "";
      position: absolute;
      top: -140px;
      right: -80px;
      width: 420px;
      height: 420px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 228, 196, 0.5), rgba(255, 228, 196, 0));
      opacity: 0.55;
      pointer-events: none;
      filter: blur(14px);
    }

    header,
    section,
    footer {
      position: relative;
      z-index: 1;
    }

    .topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 22px 34px;
      border-bottom: 1px solid var(--line);
    }

    .topbar-actions {
      display: flex;
      align-items: center;
      gap: 18px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      font-size: 0.74rem;
    }

    .brand-mark {
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      border: 1px solid rgba(23, 20, 17, 0.18);
      font-family: var(--font-display);
      font-size: 1.25rem;
      background: rgba(255, 255, 255, 0.55);
    }

    nav {
      display: flex;
      gap: 24px;
      font-size: 0.87rem;
      color: var(--ink-soft);
      text-transform: uppercase;
      letter-spacing: 0.12em;
    }

    .lang-switcher {
      display: flex;
      gap: 8px;
      padding: 6px;
      border: 1px solid rgba(23, 20, 17, 0.1);
      background: rgba(255, 255, 255, 0.5);
      border-radius: 999px;
      box-shadow: 0 10px 24px rgba(23, 20, 17, 0.08);
    }

    .lang-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 46px;
      height: 40px;
      padding: 0;
      border: none;
      background: transparent;
      border-radius: 999px;
      color: var(--ink-soft);
      font: inherit;
      cursor: pointer;
      transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
    }

    .lang-button:hover {
      transform: translateY(-1px);
    }

    .lang-button.active {
      background: linear-gradient(135deg, rgba(95, 35, 50, 0.95), rgba(58, 28, 36, 0.95));
      color: #f8f0e8;
    }

    .flag {
      display: inline-block;
      width: 22px;
      height: 15px;
      border: 1px solid rgba(23, 20, 17, 0.14);
      box-shadow: 0 2px 6px rgba(23, 20, 17, 0.12);
      overflow: hidden;
      position: relative;
      flex: 0 0 auto;
    }

    .flag-en {
      background-color: #012169;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='t'%3E%3Cpath d='M0,0 v30 h60 v-30 z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23t)'%3E%3Cpath d='M0,0 60,30 M60,0 0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0 60,30 M60,0 0,30' stroke='%23c8102e' stroke-width='3'/%3E%3Cpath d='M30,0 v30 M0,15 h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0 v30 M0,15 h60' stroke='%23c8102e' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
    }

    .flag-ka {
      background-color: #ffffff;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23ffffff'/%3E%3Crect x='13' width='4' height='20' fill='%23e41e26'/%3E%3Crect y='8' width='30' height='4' fill='%23e41e26'/%3E%3Crect x='6' y='2' width='2' height='5' fill='%23e41e26'/%3E%3Crect x='4' y='4' width='6' height='2' fill='%23e41e26'/%3E%3Crect x='22' y='2' width='2' height='5' fill='%23e41e26'/%3E%3Crect x='20' y='4' width='6' height='2' fill='%23e41e26'/%3E%3Crect x='6' y='13' width='2' height='5' fill='%23e41e26'/%3E%3Crect x='4' y='15' width='6' height='2' fill='%23e41e26'/%3E%3Crect x='22' y='13' width='2' height='5' fill='%23e41e26'/%3E%3Crect x='20' y='15' width='6' height='2' fill='%23e41e26'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
    }

    .hero {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 28px;
      padding: 64px 34px 38px;
    }

    .eyebrow,
    .section-kicker {
      text-transform: uppercase;
      letter-spacing: 0.26em;
      font-size: 0.74rem;
      color: var(--accent-dark);
    }

    h1,
    h2,
    h3 {
      font-family: var(--font-display);
      font-weight: 500;
      margin: 0;
      line-height: 0.95;
    }

    h1 {
      font-size: clamp(3.8rem, 8vw, 7rem);
      margin-top: 18px;
      max-width: 9ch;
    }


    .hero-copy p,
    .section-copy,
    .service-card p,
    .magazine-card p,
    .contact p,
    footer p {
      color: var(--ink-soft);
      line-height: 1.7;
      font-size: 1rem;
    }

    .hero-copy p {
      max-width: 62ch;
      margin: 28px 0 0;
    }

    .hero-actions {
      display: flex;
      gap: 14px;
      margin-top: 30px;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 170px;
      padding: 15px 24px;
      border: 1px solid rgba(23, 20, 17, 0.14);
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
    }

    .button.primary {
      background: linear-gradient(135deg, var(--wine), #2d171f);
      color: #f8f0e8;
      border: none;
    }

    .button.secondary {
      background: rgba(255, 255, 255, 0.5);
    }

    .button:hover {
      transform: translateY(-2px);
    }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 18px;
    }

    .hero-meta span {
      padding: 9px 12px;
      border: 1px solid rgba(23, 20, 17, 0.1);
      background: rgba(255, 255, 255, 0.45);
      font-size: 0.76rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--ink-soft);
    }

    .hero-panel {
      padding: 24px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 250, 245, 0.44)),
        linear-gradient(140deg, rgba(166, 124, 82, 0.14), rgba(95, 35, 50, 0.12));
      border: 1px solid rgba(23, 20, 17, 0.1);
      min-height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .hero-quote {
      font-family: var(--font-display);
      font-size: clamp(1.7rem, 2.8vw, 2.8rem);
      line-height: 1.15;
      margin: 18px 0 26px;
      max-width: 12ch;
    }

    html[lang="ka"] .hero-quote {
      font-size: clamp(1.1rem, 1.85vw, 1.55rem);
      line-height: 1.22;
      max-width: 15ch;
    }

    html[lang="ka"] [data-i18n="statEventsTitle"],
    html[lang="ka"] [data-i18n="statEditorialTitle"] {
      font-size: clamp(0.9rem, 1.1vw, 1.12rem);
      line-height: 1.1;
      letter-spacing: -0.01em;
    }

    html[lang="ka"] [data-i18n="statEditorialTitle"] {
      white-space: pre-line;
    }

    html[lang="ka"] [data-i18n="statEventsTitle"] {
      white-space: nowrap;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .stat {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      padding: 16px;
      background: rgba(255, 255, 255, 0.52);
      border: 1px solid rgba(23, 20, 17, 0.08);
      min-height: 248px;
    }

    .stat strong {
      display: block;
      font-family: var(--font-display);
      font-size: clamp(1.2rem, 1.5vw, 1.72rem);
      line-height: 1.06;
      margin-bottom: 8px;
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    .stat span {
      display: block;
      font-size: 0.82rem;
      line-height: 1.52;
      color: var(--ink-soft);
      overflow-wrap: anywhere;
      word-break: break-word;
      hyphens: auto;
    }

    .section {
      padding: 34px;
      border-top: 1px solid var(--line);
    }

    .metrics-strip {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      background: linear-gradient(90deg, rgba(255, 255, 255, 0.42), rgba(255, 248, 241, 0.2));
    }

    .metric-item {
      padding: 22px 34px;
      border-right: 1px solid var(--line);
    }

    .metric-item:last-child {
      border-right: none;
    }

    .metric-item strong {
      display: block;
      margin-bottom: 6px;
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.22em;
      color: var(--accent-dark);
    }

    .metric-item span {
      font-family: var(--font-display);
      font-size: 1.45rem;
      line-height: 1.2;
    }

    .section-head {
      display: grid;
      grid-template-columns: 0.7fr 1.3fr;
      gap: 28px;
      margin-bottom: 32px;
      align-items: start;
    }

    h2 {
      font-size: clamp(2.2rem, 5vw, 4rem);
    }

    .editorial-title {
      font-size: clamp(1.85rem, 3.4vw, 3rem);
      line-height: 1.08;
    }

    .about-layout {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 20px;
      align-items: start;
    }

    .manifesto-card {
      padding: 28px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 251, 247, 0.4)),
        linear-gradient(135deg, rgba(166, 124, 82, 0.11), rgba(95, 35, 50, 0.06));
      border: 1px solid rgba(23, 20, 17, 0.08);
      box-shadow: 0 16px 40px rgba(35, 24, 17, 0.06);
    }

    .manifesto-card h3 {
      font-size: 1.8rem;
      margin-bottom: 14px;
    }

    .manifesto-card p {
      color: var(--ink-soft);
      line-height: 1.7;
      margin: 0;
    }

    .services {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .service-card,
    .magazine-card,
    .contact-card {
      padding: 24px;
      background: var(--panel);
      border: 1px solid rgba(23, 20, 17, 0.08);
      box-shadow: 0 16px 40px rgba(35, 24, 17, 0.06);
    }

    .service-card h3,
    .magazine-card h3,
    .contact-card h3 {
      font-size: 1.5rem;
      margin-bottom: 14px;
    }

    .service-card h3 {
      font-size: clamp(1.7rem, 2.8vw, 2.6rem);
      line-height: 1.05;
      margin-bottom: 18px;
      overflow-wrap: anywhere;
      word-break: break-word;
      hyphens: auto;
    }

    .service-card p {
      margin: 0;
      font-size: 0.98rem;
      line-height: 1.72;
    }

    .service-card {
      position: relative;
      overflow: hidden;
    }

    .service-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, rgba(95, 35, 50, 0.95), rgba(166, 124, 82, 0.75));
    }

    .proof-stack {
      display: grid;
      gap: 28px;
    }

    .subsection-block {
      display: grid;
      gap: 18px;
    }

    .subsection-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 18px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--line);
    }

    .subsection-label {
      font-size: 0.76rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: var(--accent-dark);
    }

    .subsection-title {
      font-family: var(--font-display);
      font-size: clamp(1.45rem, 2.2vw, 2.2rem);
      line-height: 1.08;
      margin: 0;
    }

    [data-i18n="collabTitle"] {
      white-space: pre-line;
    }

    .subsection-note {
      max-width: 52ch;
      color: var(--ink-soft);
      line-height: 1.72;
      margin: 0;
    }

    .partners-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 18px;
    }

    .partner-card,
    .collab-lead,
    .collab-item {
      padding: 22px;
      border: 1px solid rgba(23, 20, 17, 0.08);
      border-radius: 22px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 251, 247, 0.4)),
        linear-gradient(135deg, rgba(166, 124, 82, 0.1), rgba(95, 35, 50, 0.05));
      box-shadow: 0 18px 38px rgba(35, 24, 17, 0.07);
    }

    .partner-card {
      min-height: 136px;
      display: grid;
      align-content: end;
      position: relative;
      overflow: hidden;
    }

    .partner-card::before {
      content: "";
      position: absolute;
      inset: 0 auto auto 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, rgba(95, 35, 50, 0.92), rgba(166, 124, 82, 0.72));
    }

    .partner-tag {
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--accent-dark);
      margin-bottom: 10px;
      white-space: nowrap;
    }

    .partner-name {
      font-family: var(--font-display);
      font-size: clamp(1.12rem, 1.4vw, 1.5rem);
      line-height: 1.1;
      margin: 0;
    }

    .partner-list {
      margin: 0;
      color: var(--ink-soft);
      line-height: 1.7;
      font-size: 0.94rem;
    }

    html[lang="ka"] .partner-list {
      font-size: 0.82rem;
      line-height: 1.66;
    }

    .placeholder-text {
      color: rgba(23, 20, 17, 0.62);
      font-style: italic;
    }

    .placeholder-text::before {
      content: "[";
      color: rgba(166, 124, 82, 0.9);
    }

    .placeholder-text::after {
      content: "]";
      color: rgba(166, 124, 82, 0.9);
    }

    .collab-layout {
      display: grid;
      grid-template-columns: 0.95fr 1.05fr;
      gap: 18px;
      align-items: start;
    }

    .collab-lead {
      gap: 16px;
      display: grid;
      height: 100%;
    }

    .collab-grid {
      display: grid;
      gap: 18px;
    }

    .collab-item h4,
    .gallery-card h4 {
      margin: 0 0 10px;
      font-family: var(--font-display);
      font-size: clamp(1.12rem, 1.45vw, 1.5rem);
      line-height: 1.12;
    }

    .collab-item p,
    .collab-lead p {
      margin: 0;
      color: var(--ink-soft);
      line-height: 1.72;
    }

    .gallery-carousel {
      overflow: hidden;
      position: relative;
    }

    .gallery-grid {
      display: flex;
      gap: 18px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      scrollbar-width: none;
      padding-bottom: 4px;
    }

    .gallery-grid::-webkit-scrollbar {
      display: none;
    }

    .gallery-card {
      flex: 0 0 100%;
      min-height: 320px;
      padding: 20px;
      border: 1px solid rgba(23, 20, 17, 0.08);
      border-radius: 22px;
      display: flex;
      flex-direction: column;
      justify-content: end;
      position: relative;
      overflow: hidden;
      color: #f7efe7;
      box-shadow: 0 18px 38px rgba(35, 24, 17, 0.08);
      background-color: #2b1d1c;
      scroll-snap-align: start;
    }

    .gallery-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(17, 11, 9, 0.08), rgba(17, 11, 9, 0.72));
    }

    .gallery-card > * {
      position: relative;
      z-index: 1;
    }

    .gallery-card p {
      margin: 0;
      color: rgba(247, 239, 231, 0.84);
      line-height: 1.65;
    }

    .gallery-1 {
      background:
        linear-gradient(180deg, rgba(17, 11, 9, 0.12), rgba(17, 11, 9, 0.76)),
        url("IMG_6908.jpeg") center / cover no-repeat,
        linear-gradient(145deg, #5b2931, #231716 62%, #9c784d);
    }

    .gallery-2 {
      background:
        linear-gradient(180deg, rgba(17, 11, 9, 0.12), rgba(17, 11, 9, 0.76)),
        url("IMG_7666.jpeg") center / cover no-repeat,
        linear-gradient(145deg, #332329, #171312 58%, #8d6f4e);
    }

    .gallery-3 {
      background:
        linear-gradient(180deg, rgba(17, 11, 9, 0.12), rgba(17, 11, 9, 0.76)),
        url("IMG_7672.jpeg") center / cover no-repeat,
        linear-gradient(145deg, #44312b, #181415 56%, #6f4d2a);
    }

    .service-label {
      display: inline-block;
      margin-bottom: 16px;
      font-size: 0.75rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--accent-dark);
    }

    .editorial {
      display: grid;
      grid-template-columns: 0.95fr 1.05fr;
      gap: 24px;
      align-items: stretch;
    }

    .editorial > * {
      min-width: 0;
    }

    .magazine-cover {
      display: grid;
      gap: 14px;
      align-content: start;
      height: 100%;
      margin: 0;
      padding: 20px;
      border: 1px solid rgba(23, 20, 17, 0.08);
      border-radius: 24px;
      box-shadow: 0 20px 44px rgba(35, 24, 17, 0.09);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 251, 247, 0.38)),
        linear-gradient(135deg, rgba(166, 124, 82, 0.12), rgba(95, 35, 50, 0.06));
    }

    .magazine-cover-badge {
      display: inline-flex;
      width: fit-content;
      padding: 8px 14px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.75);
      border: 1px solid rgba(23, 20, 17, 0.08);
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: var(--accent-dark);
    }

    .magazine-cover-frame {
      padding: 12px;
      border-radius: 18px;
      background: linear-gradient(145deg, #f9f5ef, #eadfce);
      border: 1px solid rgba(23, 20, 17, 0.08);
      box-shadow:
        0 20px 40px rgba(35, 24, 17, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
      overflow: hidden;
    }

    .magazine-cover img {
      display: block;
      width: 100%;
      height: auto;
      aspect-ratio: 2 / 3;
      object-fit: cover;
      background: #1c1413;
      border-radius: 12px;
      box-shadow: 0 18px 36px rgba(20, 12, 9, 0.18);
    }

    .magazine-cover-note {
      margin: 0;
      font-size: 0.82rem;
      line-height: 1.6;
      color: var(--ink-soft);
    }

    .magazine-cover {
      min-height: unset;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 251, 247, 0.38)),
        linear-gradient(135deg, rgba(166, 124, 82, 0.12), rgba(95, 35, 50, 0.06));
    }

    .magazine-card {
      display: grid;
      height: 100%;
      gap: 18px;
      align-content: start;
      padding: 24px;
      border: 1px solid rgba(23, 20, 17, 0.08);
      border-radius: 24px;
      box-shadow: 0 20px 44px rgba(35, 24, 17, 0.09);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 251, 247, 0.42)),
        linear-gradient(135deg, rgba(166, 124, 82, 0.1), rgba(95, 35, 50, 0.05));
    }

    .magazine-list {
      display: grid;
      gap: 16px;
      margin-top: 4px;
      padding-top: 16px;
      border-top: 1px solid var(--line);
    }

    .magazine-list strong {
      display: block;
      font-size: 0.95rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      margin-bottom: 6px;
      color: var(--ink);
    }

    .contact {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      align-items: center;
    }

    .contact-card {
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 251, 247, 0.38)),
        linear-gradient(135deg, rgba(166, 124, 82, 0.14), rgba(95, 35, 50, 0.09));
    }

    .contact-list {
      display: grid;
      gap: 14px;
      margin: 18px 0 24px;
      padding-top: 16px;
      border-top: 1px solid var(--line);
    }

    .contact-list strong {
      display: block;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-size: 0.74rem;
      margin-bottom: 5px;
      color: var(--accent-dark);
    }

    footer {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      padding: 22px 34px 28px;
      border-top: 1px solid var(--line);
      font-size: 0.86rem;
      color: var(--ink-soft);
    }

    .fade-in {
      opacity: 0;
      transform: translateY(18px);
      animation: rise 700ms ease forwards;
    }

    .fade-in.delay-1 {
      animation-delay: 120ms;
    }

    .fade-in.delay-2 {
      animation-delay: 240ms;
    }

    .fade-in.delay-3 {
      animation-delay: 360ms;
    }

    @keyframes rise {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (max-width: 960px) {
      .hero,
      .section-head,
      .about-layout,
      .editorial,
      .collab-layout,
      .contact,
      footer,
      .metrics-strip {
        grid-template-columns: 1fr;
      }

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

      .partners-grid,
      .gallery-grid {
        gap: 16px;
      }

      .metric-item {
        border-right: none;
        border-bottom: 1px solid var(--line);
      }

      .metric-item:last-child {
        border-bottom: none;
      }

      nav {
        display: none;
      }

      .topbar-actions {
        width: auto;
      }

      h1 {
        max-width: none;
      }

      .magazine-cover {
        min-height: 380px;
      }
    }

    @media (max-width: 640px) {
      .page-shell {
        width: calc(100% - 20px);
        margin: 10px auto;
      }

      .topbar,
      .hero,
      .section,
      footer {
        padding-left: 20px;
        padding-right: 20px;
      }

      .hero-actions {
        flex-direction: column;
      }

      .button {
        width: 100%;
      }

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

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

      .subsection-head {
        align-items: start;
        flex-direction: column;
      }
    }

/* Multi-page refinements
   These rules extend the original visual system without changing it. */

body {
  min-height: 100vh;
}

body.is-leaving .page-shell {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

img {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  background: rgba(255, 248, 241, 0.78);
  backdrop-filter: blur(18px);
}

nav a {
  position: relative;
  padding-block: 8px;
  transition: color 180ms ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
}

nav a:hover::after,
nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(23, 20, 17, 0.12);
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.page-intro {
  display: grid;
  grid-template-columns: 0.66fr 1.34fr;
  gap: 42px;
  align-items: end;
  padding: 76px 34px 54px;
}

.page-intro h1 {
  max-width: 10ch;
  margin-top: 16px;
}

.page-intro-copy {
  max-width: 60ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.78;
}

.page-intro-meta {
  margin-top: 24px;
}

.magazine-page-intro {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.magazine-page-intro h1 {
  max-width: 9ch;
  font-size: clamp(3.6rem, 6vw, 5.45rem);
  line-height: 0.96;
}

.magazine-page-intro .page-intro-copy {
  max-width: 56ch;
  justify-self: end;
}

.editorial-image {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(23, 20, 17, 0.08);
  background: #2b1d1c;
  box-shadow: 0 20px 44px rgba(35, 24, 17, 0.1);
}

.editorial-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2, .7, .2, 1);
}

.editorial-image:hover img {
  transform: scale(1.018);
}

.editorial-image figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 8px 11px;
  background: rgba(23, 20, 17, 0.72);
  color: rgba(255, 248, 241, 0.9);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.split-editorial {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.split-editorial.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-editorial.reverse > :first-child {
  order: 2;
}

.editorial-copy-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border: 1px solid rgba(23, 20, 17, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 251, 247, 0.4)),
    linear-gradient(135deg, rgba(166, 124, 82, 0.11), rgba(95, 35, 50, 0.06));
  box-shadow: 0 16px 40px rgba(35, 24, 17, 0.06);
}

.editorial-copy-card h2,
.editorial-copy-card h3 {
  line-height: 1.04;
}

.editorial-copy-card h3 {
  margin-top: 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.editorial-copy-card p {
  color: var(--ink-soft);
  line-height: 1.78;
}

.numbered-list {
  display: grid;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.numbered-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.numbered-item > span {
  color: var(--accent-dark);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.numbered-item h3,
.numbered-item h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.38rem;
  line-height: 1.15;
}

.numbered-item p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.68;
}

.trust-marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.26);
}

.trust-track {
  display: flex;
  width: max-content;
  animation: trust-scroll 34s linear infinite;
}

.trust-track span {
  padding: 20px 26px;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 1.12rem;
  white-space: nowrap;
}

.trust-track span::after {
  content: "·";
  margin-left: 52px;
  color: var(--accent);
}

@keyframes trust-scroll {
  to {
    transform: translateX(-50%);
  }
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 30px;
  align-items: end;
  padding: 42px;
  border: 1px solid rgba(23, 20, 17, 0.08);
  background:
    linear-gradient(120deg, rgba(95, 35, 50, 0.96), rgba(45, 23, 31, 0.97)),
    var(--wine);
  color: #f8f0e8;
  box-shadow: 0 24px 54px rgba(56, 26, 32, 0.18);
}

.cta-panel .section-kicker,
.cta-panel p {
  color: rgba(248, 240, 232, 0.72);
}

.cta-panel h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
  line-height: 1;
}

.cta-panel p {
  max-width: 58ch;
  margin: 18px 0 0;
  line-height: 1.72;
}

.cta-panel .button {
  color: var(--ink);
  background: var(--paper);
  border-color: transparent;
}

.gallery-masonry {
  columns: 3 280px;
  column-gap: 18px;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #261b1a;
  color: #fff;
  cursor: zoom-in;
  break-inside: avoid;
  text-align: left;
  box-shadow: 0 18px 38px rgba(35, 24, 17, 0.09);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 650ms cubic-bezier(.2, .7, .2, 1), filter 350ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(17, 11, 9, 0.78));
  opacity: 0.78;
  transition: opacity 300ms ease;
}

.gallery-item:hover img {
  transform: scale(1.025);
  filter: saturate(1.04);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 20px;
  transform: translateY(4px);
  transition: transform 250ms ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.gallery-caption span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 248, 241, 0.78);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(17, 12, 11, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-inner {
  position: relative;
  width: min(1120px, 100%);
  max-height: 92vh;
}

.lightbox img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.lightbox-caption {
  margin: 12px 54px 0 0;
  color: rgba(255, 248, 241, 0.82);
}

.lightbox-caption strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.lightbox-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(23, 20, 17, 0.72);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 24px;
  align-items: start;
}

.contact-details {
  padding: 30px;
  border: 1px solid rgba(23, 20, 17, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 251, 247, 0.4)),
    linear-gradient(135deg, rgba(166, 124, 82, 0.11), rgba(95, 35, 50, 0.06));
  box-shadow: 0 16px 40px rgba(35, 24, 17, 0.06);
}

.contact-details h2 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.contact-details p {
  color: var(--ink-soft);
  line-height: 1.72;
}

.detail-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.detail-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-form {
  padding: 30px;
  border: 1px solid rgba(23, 20, 17, 0.08);
  background: var(--panel);
  box-shadow: 0 18px 42px rgba(35, 24, 17, 0.07);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-field {
  display: grid;
  gap: 9px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--accent-dark);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(23, 20, 17, 0.2);
  border-radius: 0;
  padding: 13px 2px;
  background: transparent;
  color: var(--ink);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--wine);
  background: rgba(255, 255, 255, 0.3);
}

.field-error {
  min-height: 1em;
  color: var(--wine);
  font-size: 0.76rem;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.55;
}

.form-status {
  display: none;
  padding: 15px 18px;
  margin-bottom: 20px;
  border-left: 3px solid var(--accent);
  background: rgba(166, 124, 82, 0.1);
}

.form-status.is-visible {
  display: block;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.team-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.78fr) minmax(0, 1.22fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 20, 17, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 251, 247, 0.42)),
    linear-gradient(135deg, rgba(166, 124, 82, 0.1), rgba(95, 35, 50, 0.05));
  box-shadow: 0 18px 42px rgba(35, 24, 17, 0.075);
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 54px rgba(35, 24, 17, 0.12);
}

.team-portrait {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: var(--paper-deep);
}

.team-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(23, 20, 17, 0.12));
  pointer-events: none;
}

.team-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 700ms cubic-bezier(.2, .7, .2, 1);
}

.team-card:hover .team-portrait img {
  transform: scale(1.018);
}

.team-card-body {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 24px;
}

.team-role {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-transform: uppercase;
}

.team-card h3 {
  font-size: clamp(1.55rem, 2.3vw, 2.25rem);
  line-height: 1.02;
}

.team-links {
  display: grid;
  gap: 10px;
  justify-items: start;
  width: 100%;
}

.team-contact-link,
.team-social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  transition: color 180ms ease;
}

.team-contact-link svg,
.team-social-link svg {
  display: block;
  width: 17px !important;
  height: 17px !important;
  max-width: 17px;
  max-height: 17px;
  flex: 0 0 auto;
  color: var(--accent-dark);
}

.team-contact-link:hover,
.team-social-link:hover {
  color: var(--wine);
}

.team-social-link {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(95, 35, 50, 0.26);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

.reveal-delay-3 {
  transition-delay: 270ms;
}

.page-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.page-footer-nav a:hover {
  color: var(--ink);
}

.topbar nav {
  gap: 17px;
  font-size: 0.76rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  display: grid;
  min-width: 0;
  border: 1px solid rgba(23, 20, 17, 0.08);
  background: var(--panel);
  box-shadow: 0 18px 42px rgba(35, 24, 17, 0.07);
  overflow: hidden;
}

.project-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #241918;
}

.project-card-media img,
.project-card-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2, .7, .2, 1), filter 350ms ease;
}

.project-card:hover .project-card-media img,
.project-card:hover .project-card-media video {
  transform: scale(1.025);
  filter: saturate(1.04);
}

.project-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(17, 11, 9, 0.42));
  pointer-events: none;
}

.media-kind {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 18px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(23, 20, 17, 0.62);
  color: rgba(255, 248, 241, 0.92);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.project-card-body {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  color: var(--accent-dark);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-card h2,
.project-card h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.02;
}

.project-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.72;
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(95, 35, 50, 0.48);
  color: var(--ink);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.text-link::after {
  content: "↗";
  margin-left: 10px;
  transition: transform 180ms ease;
}

.text-link:hover {
  color: var(--wine);
  border-color: var(--wine);
}

.text-link:hover::after {
  transform: translate(2px, -2px);
}

.feature-project {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(23, 20, 17, 0.08);
  background: rgba(255, 255, 255, 0.44);
  box-shadow: 0 22px 48px rgba(35, 24, 17, 0.09);
}

.feature-project-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #211716;
}

.feature-project-media img,
.feature-project-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(.2, .7, .2, 1);
}

.feature-project:hover .feature-project-media img,
.feature-project:hover .feature-project-media video {
  transform: scale(1.018);
}

.feature-project-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px 36px;
}

.feature-project-copy h2 {
  margin-top: 12px;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 0.98;
}

.feature-project-copy p {
  color: var(--ink-soft);
  line-height: 1.76;
}

.detail-hero {
  padding: 34px;
  border-top: 1px solid var(--line);
}

.detail-hero-media {
  position: relative;
  min-height: min(72vh, 760px);
  overflow: hidden;
  background: #211716;
  box-shadow: 0 24px 52px rgba(35, 24, 17, 0.12);
}

.detail-hero-media img,
.detail-hero-media video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.detail-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(17, 11, 9, 0.62));
  pointer-events: none;
}

.detail-hero-caption {
  position: absolute;
  z-index: 1;
  right: 30px;
  bottom: 28px;
  left: 30px;
  color: #fff8f1;
}

.detail-hero-caption span {
  display: block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.detail-hero-caption h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 6.5rem);
}

.project-overview {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 42px;
  align-items: start;
}

.project-facts {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(23, 20, 17, 0.08);
  background: var(--panel);
}

.project-facts div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.project-facts div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.project-facts strong {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-dark);
  font-size: 0.69rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.project-story h2 {
  max-width: 12ch;
}

.project-story p,
.article-body p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.86;
}

.project-story p:first-of-type::first-letter,
.article-body > p:first-of-type::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  color: var(--wine);
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.78;
}

.story-gallery {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 18px;
}

.story-gallery figure {
  margin: 0;
  overflow: hidden;
  background: #211716;
}

.story-gallery figure:first-child {
  grid-row: span 2;
}

.story-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(.2, .7, .2, 1);
}

.story-gallery figure:hover img {
  transform: scale(1.02);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(95, 35, 50, 0.86), rgba(23, 20, 17, 0.96)),
    #211716;
  box-shadow: 0 22px 48px rgba(35, 24, 17, 0.12);
}

.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 14px;
  padding: 30px;
  color: #fff8f1;
  text-align: center;
}

.play-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  font-size: 1.2rem;
}

.video-placeholder strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 500;
}

.video-placeholder span {
  color: rgba(255, 248, 241, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.press-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid rgba(23, 20, 17, 0.08);
  background: var(--panel);
  box-shadow: 0 16px 38px rgba(35, 24, 17, 0.065);
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.press-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(35, 24, 17, 0.11);
}

.press-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #211716;
}

.press-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(.2, .7, .2, 1);
}

.press-card:hover .press-card-image img {
  transform: scale(1.025);
}

.press-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
}

.press-card h2,
.press-card h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.06;
}

.press-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.68;
}

.press-card .text-link {
  margin-top: auto;
}

.article-header {
  max-width: 960px;
  padding: 76px 34px 44px;
}

.article-header h1 {
  max-width: 13ch;
  margin-top: 18px;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
}

.article-deck {
  max-width: 62ch;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.8;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 26px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: start;
}

.article-aside {
  position: sticky;
  top: 24px;
}

.article-aside-card {
  padding: 26px;
  border: 1px solid rgba(23, 20, 17, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 251, 247, 0.4)),
    linear-gradient(135deg, rgba(166, 124, 82, 0.11), rgba(95, 35, 50, 0.06));
}

.article-aside-card h2,
.article-aside-card h3 {
  margin: 12px 0 14px;
  font-size: 1.8rem;
  line-height: 1.08;
}

.article-aside-card p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.article-body h2 {
  margin: 42px 0 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-quote {
  margin: 42px 0;
  padding: 30px 0 30px 28px;
  border-left: 2px solid var(--accent);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.15;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.reader-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 42px 34px 28px;
  border-bottom: 1px solid var(--line);
}

.reader-header h1 {
  max-width: none;
  margin-top: 10px;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.reader-frame-wrap {
  padding: 24px 34px 34px;
  background:
    linear-gradient(180deg, rgba(95, 35, 50, 0.06), transparent 18%),
    rgba(255, 255, 255, 0.22);
}

.reader-frame {
  display: block;
  width: 100%;
  height: calc(100vh - 230px);
  min-height: 720px;
  border: 1px solid rgba(23, 20, 17, 0.12);
  background: #3c3734;
  box-shadow: 0 22px 52px rgba(35, 24, 17, 0.14);
}

.reader-note {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .topbar {
    flex-wrap: wrap;
  }

  .topbar-actions {
    gap: 10px;
  }

  .menu-toggle {
    display: block;
  }

  .topbar nav {
    position: absolute;
    z-index: 20;
    top: 100%;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 0;
    padding: 12px 20px;
    border: 1px solid var(--line);
    background: rgba(248, 243, 237, 0.98);
    box-shadow: 0 24px 40px rgba(35, 24, 17, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .topbar nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .topbar nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .topbar nav a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 960px) {
  .page-intro,
  .split-editorial,
  .split-editorial.reverse,
  .cta-panel,
  .contact-layout,
  .feature-project,
  .project-overview,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .page-intro {
    align-items: start;
  }

  .page-intro h1 {
    max-width: none;
  }

  .magazine-page-intro {
    grid-template-columns: 1fr;
  }

  .magazine-page-intro h1 {
    max-width: 10ch;
  }

  .magazine-page-intro .page-intro-copy {
    justify-self: start;
  }

  .split-editorial.reverse > :first-child {
    order: initial;
  }

  .editorial-image {
    min-height: 440px;
  }

  .cta-panel .button {
    width: fit-content;
  }

  .feature-project-media {
    min-height: 520px;
  }

  .article-aside {
    position: static;
  }

  .media-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand > span:last-child {
    display: none;
  }

  .topbar {
    padding-block: 14px;
  }

  .topbar-actions {
    margin-left: auto;
    gap: 6px;
  }

  .lang-switcher {
    gap: 2px;
    padding: 3px;
  }

  .lang-button {
    width: 34px;
    height: 34px;
  }

  .page-intro {
    padding: 54px 20px 38px;
  }

  .page-intro-copy {
    font-size: 0.94rem;
  }

  .page-intro h1 {
    font-size: clamp(2.75rem, 13vw, 3.4rem);
    line-height: 0.96;
    overflow-wrap: break-word;
  }

  .editorial-image {
    min-height: 340px;
  }

  .editorial-copy-card,
  .cta-panel,
  .contact-details,
  .contact-form {
    padding: 24px 20px;
  }

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

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

  .form-field.full {
    grid-column: auto;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .team-card-body {
    padding: 24px 20px;
  }

  .team-links {
    justify-items: start;
  }

  .team-card {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .team-portrait {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .team-card-body {
    gap: 18px;
    padding: 18px 16px;
  }

  .team-card h3 {
    font-size: 1.45rem;
  }

  .team-role {
    margin-bottom: 7px;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .team-contact-link,
  .team-social-link {
    gap: 7px;
    font-size: 0.7rem;
    overflow-wrap: anywhere;
  }

  .gallery-masonry {
    columns: 1;
  }

  .portfolio-grid,
  .media-grid,
  .related-grid,
  .story-gallery {
    grid-template-columns: 1fr;
  }

  .story-gallery figure:first-child {
    grid-row: auto;
  }

  .feature-project,
  .feature-project-media {
    min-height: 0;
  }

  .feature-project-media {
    aspect-ratio: 4 / 3;
  }

  .feature-project-copy,
  .project-card-body,
  .press-card-body {
    padding: 24px 20px;
  }

  .detail-hero {
    padding: 20px;
  }

  .detail-hero-media {
    min-height: 520px;
  }

  .detail-hero-caption {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .detail-hero-caption h1,
  .article-header h1 {
    font-size: clamp(2.7rem, 13vw, 3.5rem);
    overflow-wrap: break-word;
  }

  .article-header {
    padding: 54px 20px 36px;
    min-width: 0;
    overflow: hidden;
  }

  .reader-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 34px 20px 24px;
  }

  .reader-frame-wrap {
    padding: 16px 20px 24px;
  }

  .reader-frame {
    height: calc(100vh - 190px);
    min-height: 560px;
  }

  .project-story p,
  .article-body p {
    font-size: 0.94rem;
  }

  .article-deck,
  .article-byline > * {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
  }

  .trust-track {
    animation-duration: 24s;
  }

  .numbered-item {
    grid-template-columns: 38px 1fr;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
