:root {
      color-scheme: light;
      --bg: #f6f7f2;
      --surface: #ffffff;
      --text: #20241d;
      --muted: #6f756a;
      --muted-strong: #4e5548;
      --line: #e2e6dc;
      --soft-surface: #edf0e8;
      --accent: #c9f36b;
      --accent-dark: #8eae48;
      --dark: #20211e;
      --nav-surface: rgba(246, 247, 242, .88);
      --nav-line: rgba(226, 230, 220, .8);
      --surface-shadow: rgba(31, 40, 25, .08);
      --hero-shadow: rgba(32, 38, 27, .16);
      --container: 1160px;
    }

    html[data-theme="dark"] {
      color-scheme: dark;
      --bg: #0b1321;
      --surface: #111c2c;
      --text: #eef2f6;
      --muted: #aab4c3;
      --muted-strong: #c5cfdd;
      --line: #283548;
      --soft-surface: #162235;
      --accent-dark: #a8db50;
      --dark: #142033;
      --nav-surface: rgba(11, 19, 33, .88);
      --nav-line: rgba(40, 53, 72, .8);
      --surface-shadow: rgba(0, 0, 0, .22);
      --hero-shadow: rgba(0, 0, 0, .4);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 96px;
    }

    @view-transition {
      navigation: auto;
    }

    ::view-transition-old(root) {
      animation: page-transition-out .18s ease both;
    }

    ::view-transition-new(root) {
      animation: page-transition-in .36s cubic-bezier(.2, .7, .2, 1) both;
    }

    @keyframes page-transition-out {
      to { opacity: 0; }
    }

    @keyframes page-transition-in {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    body {
      min-width: 320px;
      background: var(--bg);
      color: var(--text);
      font-family: "DM Sans", sans-serif;
      font-size: 16px;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      transition: background-color .25s ease, color .25s ease;
    }

    body, button, a {
      -webkit-tap-highlight-color: transparent;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button {
      color: inherit;
      font: inherit;
    }

    img {
      display: block;
      max-width: 100%;
    }

    :focus-visible {
      outline: 3px solid var(--accent-dark);
      outline-offset: 4px;
    }

    .container {
      width: min(var(--container), calc(100% - 64px));
      margin-inline: auto;
    }

    .nav-wrap {
      position: sticky;
      z-index: 100;
      top: 0;
      border-bottom: 1px solid var(--nav-line);
      background: var(--nav-surface);
      box-shadow: 0 5px 24px rgba(20, 32, 28, .035);
      -webkit-backdrop-filter: blur(18px);
      backdrop-filter: blur(18px);
    }

    .nav-wrap {
      animation: navigation-enter .55s cubic-bezier(.2, .7, .2, 1) both;
    }

    @keyframes navigation-enter {
      from { opacity: 0; translate: 0 -12px; }
      to { opacity: 1; translate: 0 0; }
    }

    html[data-theme="dark"] .nav-wrap {
      box-shadow: 0 5px 24px rgba(0, 0, 0, .12);
    }

    .nav {
      position: relative;
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      display: inline-flex;
      flex: 0 0 auto;
      align-items: center;
      gap: 10px;
      font-family: "Manrope", sans-serif;
      font-size: 19px;
      font-weight: 800;
      letter-spacing: -1px;
    }

    .brand-logo {
      width: 48px;
      height: 48px;
      flex: 0 0 48px;
      border-radius: 11px;
      object-fit: cover;
      transform: perspective(500px) rotateX(0) rotateY(0);
      transition: transform .45s cubic-bezier(.2, .7, .2, 1),
        filter .45s ease;
      will-change: transform;
    }

    .brand:hover .brand-logo,
    .brand:focus-visible .brand-logo {
      transform: perspective(500px) rotateX(8deg) rotateY(-14deg) scale(1.06);
      filter: drop-shadow(0 10px 8px rgba(32, 33, 30, .2));
    }

    .brand-dot { color: var(--accent-dark); }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 8px;
      list-style: none;
    }

    .nav-links a:not(.nav-cta) {
      min-height: 42px;
      display: inline-flex;
      align-items: center;
      padding-inline: 12px;
      border-radius: 999px;
      color: var(--muted-strong);
      font-size: 14px;
      font-weight: 600;
      transition: background-color .2s ease, color .2s ease;
    }

    .nav-links a:not(.nav-cta):hover,
    .nav-links a:not(.nav-cta)[aria-current="page"] {
      background: var(--soft-surface);
      color: var(--text);
    }

    .nav-cta {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 18px;
      border-radius: 999px;
      background: var(--text);
      color: var(--bg);
      font-size: 14px;
      font-weight: 700;
      transition: transform .2s ease, box-shadow .2s ease;
      animation: nav-cta-glow 3.2s ease-in-out infinite;
    }

    .nav-cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 18px var(--surface-shadow);
      animation-play-state: paused;
    }

    .nav-cta:focus-visible {
      animation-play-state: paused;
    }

    @keyframes nav-cta-glow {
      0%, 72%, 100% {
        box-shadow: 0 0 0 0 rgba(168, 219, 80, 0);
      }

      84% {
        box-shadow: 0 0 0 5px rgba(168, 219, 80, .16),
          0 0 18px rgba(168, 219, 80, .28);
      }
    }

    .menu-toggle {
      display: none;
      width: 42px;
      height: 42px;
      place-items: center;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: var(--surface);
      color: var(--text);
      cursor: pointer;
    }

    .mobile-language-item,
    .mobile-whatsapp-item {
      display: none;
    }

    .nav-controls {
      display: flex;
      flex: 0 0 auto;
      align-items: center;
      gap: 8px;
    }

    .language-control {
      display: inline-flex;
      align-items: center;
    }

    .language-select {
      min-width: 82px;
      height: 42px;
      padding: 0 25px 0 12px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: var(--surface);
      color: var(--muted-strong);
      font: inherit;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
    }

    .language-select:hover { border-color: var(--accent-dark); }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      clip-path: inset(50%);
      border: 0;
    }

    .theme-toggle {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border: 1px solid var(--line);
      border-radius: 50%;
      background: var(--surface);
      color: var(--text);
      cursor: pointer;
      transition: background-color .2s ease, border-color .2s ease,
        transform .2s ease;
    }

    .theme-toggle:hover {
      transform: translateY(-1px);
      border-color: var(--accent-dark);
    }

    .theme-toggle svg {
      width: 19px;
      height: 19px;
    }

    .theme-toggle .theme-icon-moon {
      width: 22px;
      height: 22px;
    }

    .theme-icon-sun { display: none; }
    html[data-theme="dark"] .theme-icon-moon { display: none; }
    html[data-theme="dark"] .theme-icon-sun { display: block; }
    .project-hero {
      position: relative;
      isolation: isolate;
      padding-block: clamp(42px, 6vw, 72px) 42px;
    }

    .project-hero > * {
      animation: project-hero-enter .65s cubic-bezier(.2, .7, .2, 1) both;
    }

    .project-hero > :nth-child(2) { animation-delay: .06s; }
    .project-hero > :nth-child(3) { animation-delay: .12s; }
    .project-hero > :nth-child(4) { animation-delay: .18s; }
    .project-hero > :nth-child(5) { animation-delay: .24s; }

    @keyframes project-hero-enter {
      from { opacity: 0; translate: 0 18px; }
      to { opacity: 1; translate: 0 0; }
    }

    .project-hero::before {
      position: absolute;
      z-index: -1;
      top: 22px;
      right: max(0px, calc((100vw - var(--container)) / 2 - 110px));
      width: clamp(230px, 34vw, 430px);
      aspect-ratio: 1;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(201, 243, 107, .14), transparent 68%);
      content: "";
      pointer-events: none;
    }

    html[data-theme="dark"] .project-hero::before {
      background: radial-gradient(circle, rgba(168, 219, 80, .1), transparent 70%);
    }

    .back-link {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      width: max-content;
      min-height: 40px;
      padding: 0 13px;
      margin-bottom: clamp(42px, 7vw, 76px);
      border: 1px solid var(--line);
      border-radius: 999px;
      background: var(--surface);
      color: var(--muted-strong);
      font-size: 13px;
      font-weight: 600;
      transition: transform .2s ease, border-color .2s ease;
    }

    .back-link:hover {
      transform: translateX(-3px);
      border-color: var(--accent-dark);
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 20px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 1.8px;
      text-transform: uppercase;
    }

    .eyebrow::before {
      width: 8px;
      height: 8px;
      flex: 0 0 8px;
      border-radius: 50%;
      background: var(--accent-dark);
      content: "";
    }

    .project-hero h1 {
      max-width: 1000px;
      font-family: "Manrope", sans-serif;
      font-size: clamp(48px, 7.4vw, 86px);
      font-weight: 700;
      letter-spacing: -.075em;
      line-height: 1.05;
      overflow-wrap: anywhere;
    }

    .project-hero h1 span {
      position: relative;
      z-index: 0;
      white-space: nowrap;
    }

    .project-hero h1 span::after {
      position: absolute;
      z-index: -1;
      right: -2px;
      bottom: 8%;
      left: -2px;
      height: .2em;
      background: var(--accent);
      content: "";
      transform: rotate(-1deg);
    }

    .hero-description {
      max-width: 650px;
      margin-top: 22px;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.85;
    }

    .project-status {
      width: fit-content;
      max-width: 650px;
      padding: 8px 13px;
      margin-top: 14px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: var(--soft-surface);
      color: var(--muted-strong);
      font-size: 13px;
      font-weight: 700;
      line-height: 1.5;
    }

    .project-status[hidden] { display: none; }

    .project-headline {
      max-width: 820px;
      margin-top: 14px;
      color: var(--text);
      font-family: "Manrope", sans-serif;
      font-size: clamp(22px, 3vw, 34px);
      font-weight: 600;
      letter-spacing: -.045em;
      line-height: 1.35;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      margin-top: 27px;
    }

    .button {
      min-height: 50px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 12px 20px;
      border: 1px solid transparent;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 700;
      transition: transform .2s ease, background-color .2s ease,
        border-color .2s ease;
    }

    #project-live-link[hidden] { display: none; }

    .button:hover { transform: translateY(-2px); }

    .button-primary {
      background: var(--text);
      color: var(--bg);
    }

    .button-secondary {
      border-color: var(--line);
      background: var(--surface);
      color: var(--text);
    }

    .button-secondary:hover { border-color: var(--accent-dark); }

    .cover {
      overflow: hidden;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 28px;
      background: var(--surface);
      box-shadow: 0 18px 50px var(--surface-shadow);
    }

    .cover img {
      width: 100%;
      aspect-ratio: 1.21 / 1;
      border-radius: 20px;
      background: var(--soft-surface);
      object-fit: contain;
    }

    .project-info {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
      padding-block: 24px 64px;
    }

    .info-card {
      min-width: 0;
      padding: 20px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: var(--surface);
      box-shadow: 0 6px 22px var(--surface-shadow);
    }

    .info-label {
      display: block;
      margin-bottom: 8px;
      color: var(--muted);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
    }

    .info-value {
      color: var(--text);
      font-size: 14px;
      font-weight: 600;
      line-height: 1.6;
    }

    .tag-list {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .tag {
      display: inline-flex;
      align-items: center;
      padding: 6px 9px;
      border: 1px solid var(--line);
      border-radius: 999px;
      color: var(--muted-strong);
      font-size: 11px;
      font-weight: 600;
      line-height: 1.3;
    }

    .story-section {
      display: grid;
      grid-template-columns: .8fr 1.2fr;
      gap: clamp(36px, 7vw, 86px);
      padding-block: clamp(64px, 8vw, 96px);
      border-top: 1px solid var(--line);
    }

    .section-heading {
      max-width: 410px;
      margin-top: 14px;
      font-family: "Manrope", sans-serif;
      font-size: clamp(34px, 4vw, 50px);
      font-weight: 700;
      letter-spacing: -.07em;
      line-height: 1.12;
    }

    .story-copy {
      max-width: 690px;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.9;
    }

    .story-copy p + p { margin-top: 18px; }

    .story-copy h3 {
      margin: 28px 0 8px;
      color: var(--text);
      font-family: "Manrope", sans-serif;
      font-size: 20px;
      font-weight: 700;
      letter-spacing: -.04em;
    }

    .gallery-section {
      padding-block: clamp(70px, 9vw, 108px);
      border-top: 1px solid var(--line);
    }

    .gallery-heading {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 30px;
    }

    .gallery-heading h2 {
      margin-top: 12px;
      font-family: "Manrope", sans-serif;
      font-size: clamp(36px, 5vw, 58px);
      font-weight: 700;
      letter-spacing: -.07em;
      line-height: 1.1;
    }

    .gallery-heading p {
      max-width: 380px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.8;
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .gallery-item {
      min-width: 0;
      margin: 0;
      padding: 9px;
      border: 1px solid var(--line);
      border-radius: 23px;
      background: var(--surface);
      box-shadow: 0 6px 22px var(--surface-shadow);
    }

    .gallery-item:first-child { grid-column: 1 / -1; }

    .gallery-item img {
      width: 100%;
      aspect-ratio: 1.21 / 1;
      border-radius: 16px;
      background: var(--soft-surface);
      object-fit: contain;
    }

    .gallery-item figcaption {
      padding: 12px 8px 4px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 600;
    }

    .outcome {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      padding: clamp(36px, 6vw, 68px);
      margin-bottom: clamp(70px, 9vw, 100px);
      border: 1px solid var(--line);
      border-radius: 28px;
      background: var(--soft-surface);
    }

    .outcome::after {
      position: absolute;
      z-index: -1;
      top: -150px;
      right: -70px;
      width: 360px;
      aspect-ratio: 1;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(201, 243, 107, .22), transparent 70%);
      content: "";
      pointer-events: none;
    }

    html[data-theme="dark"] .outcome::after {
      background: radial-gradient(circle, rgba(168, 219, 80, .12), transparent 70%);
    }

    .outcome h2 {
      max-width: 700px;
      margin-top: 12px;
      font-family: "Manrope", sans-serif;
      font-size: clamp(36px, 5vw, 60px);
      font-weight: 700;
      letter-spacing: -.07em;
      line-height: 1.1;
    }

    .outcome p {
      max-width: 650px;
      margin-top: 16px;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.85;
    }

    .next-project {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding-block: 32px 76px;
      border-top: 1px solid var(--line);
    }

    .next-project h2 {
      margin-top: 8px;
      font-family: "Manrope", sans-serif;
      font-size: clamp(30px, 4vw, 46px);
      font-weight: 700;
      letter-spacing: -.065em;
      line-height: 1.15;
    }

    .next-arrow {
      width: 56px;
      height: 56px;
      display: grid;
      flex: 0 0 auto;
      place-items: center;
      border-radius: 50%;
      background: var(--accent);
      color: #20241d;
      font-size: 23px;
      transition: transform .2s ease;
    }

    .next-project a:hover .next-arrow { transform: rotate(45deg); }

    footer {
      padding: 42px 0 18px;
      border-top: 1px solid var(--line);
      background: linear-gradient(180deg, var(--soft-surface), var(--bg) 90%);
    }

    .footer-inner {
      display: grid;
      min-width: 0;
      gap: 28px;
    }

    .footer-main {
      display: grid;
      min-width: 0;
      grid-template-areas: "identity explore connect";
      grid-template-columns: minmax(220px, 1fr) minmax(110px, .45fr) minmax(370px, auto);
      align-items: start;
      gap: clamp(30px, 5vw, 70px);
    }

    .footer-identity {
      grid-area: identity;
      display: grid;
      justify-items: start;
      gap: 13px;
    }

    .footer-nav { grid-area: explore; display: grid; justify-self: center; justify-items: start; }
    .footer-connect { grid-area: connect; min-width: 0; justify-self: end; }

    .footer-identity .brand-logo {
      width: 42px;
      height: 42px;
      flex-basis: 42px;
      border-radius: 12px;
    }

    .footer-copy { color: var(--muted); font-size: 13px; }

    .footer-group-title {
      margin-bottom: 14px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
    }

    .footer-socials {
      display: flex;
      min-width: 0;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
    }

    .footer-social-link {
      width: 40px;
      height: 40px;
      display: grid;
      place-items: center;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: var(--surface);
      color: var(--muted);
      opacity: .68;
      transition: transform .25s ease, color .25s ease, background-color .25s ease,
        border-color .25s ease, box-shadow .25s ease, opacity .25s ease;
    }

    .footer-social-link:hover {
      transform: translateY(-4px) rotate(-5deg) scale(1.06);
      border-color: var(--accent);
      background: var(--accent);
      color: var(--dark);
      opacity: 1;
      box-shadow: 0 8px 18px var(--surface-shadow);
    }

    .footer-social-link svg { width: 18px; height: 18px; fill: currentColor; }

    .footer-whatsapp {
      min-height: 40px;
      max-width: 100%;
      display: flex;
      width: fit-content;
      align-items: center;
      gap: 8px;
      margin-top: 12px;
      padding: 0 13px;
      border: 1px solid transparent;
      border-radius: 12px;
      background: var(--accent);
      color: var(--dark);
      font-size: 13px;
      font-weight: 700;
      transition: transform .2s ease, box-shadow .2s ease;
    }

    .footer-whatsapp svg { width: 17px; height: 17px; flex: 0 0 auto; }

    .footer-whatsapp:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 18px var(--surface-shadow);
    }

    .footer-links {
      display: grid;
      justify-items: start;
      gap: 9px;
    }

    .footer-links a,
    .footer-back-to-top {
      color: var(--muted-strong);
      font-size: 14px;
      font-weight: 600;
      transition: color .2s ease, transform .2s ease;
    }

    .footer-links a:hover,
    .footer-back-to-top:hover {
      color: var(--text);
      transform: translateX(2px);
    }

    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding-top: 16px;
      border-top: 1px solid var(--line);
    }

    @media (max-width: 900px) {
      .nav { gap: 14px; }
      .nav-links a:not(.nav-cta) { padding-inline: 9px; }
      .nav-cta { padding-inline: 14px; }
      .project-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .story-section { grid-template-columns: .9fr 1.1fr; gap: 36px; }
    }

    @media (min-width: 681px) and (max-width: 900px) {
      .footer-main {
        grid-template-areas:
          "identity connect"
          "explore explore";
        grid-template-columns: minmax(140px, 1fr) minmax(370px, auto);
        gap: 28px;
      }
    }

    @media (max-width: 680px) {
      html { scroll-padding-top: 78px; }
      .container { width: calc(100% - 36px); }
      .nav { min-height: 70px; }
      .brand { gap: 8px; font-size: 18px; }
      .brand-logo { width: 42px; height: 42px; flex-basis: 42px; }
      .nav {
        display: grid;
        grid-template-areas: "brand controls";
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 12px;
        padding-block: 8px;
      }

      .brand { grid-area: brand; }
      .nav-controls { grid-area: controls; justify-self: end; gap: 6px; }
      .desktop-language-slot { display: none; }
      .theme-toggle,
      .menu-toggle { width: 40px; height: 40px; }
      .menu-toggle { display: grid; }

      .nav-links {
        position: absolute;
        z-index: 2;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 12px 18px 20px;
        border-bottom: 1px solid var(--line);
        background: var(--bg);
        box-shadow: 0 12px 24px var(--surface-shadow);
      }

      .nav-links.open { display: flex; }
      .nav-links a:not(.nav-cta) { width: 100%; justify-content: flex-start; }
      .nav-cta { width: 100%; margin-top: 8px; }
      .mobile-language-item,
      .mobile-whatsapp-item { display: block; }
      .mobile-language-item { padding: 10px 0 4px; }
      .mobile-language-item .language-control { display: flex; width: 100%; }
      .mobile-language-item .language-select {
        width: 100%;
        height: 44px;
        padding-inline: 12px 36px;
      }
      .mobile-whatsapp-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        margin-top: 8px;
        padding: 10px 16px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: var(--surface);
        color: var(--text);
        font-size: 14px;
        font-weight: 700;
      }
      .mobile-whatsapp-link svg { width: 18px; height: 18px; }

      .project-hero { padding-block: 38px 32px; }
      .project-hero::before { top: 38px; right: 0; width: min(280px, 85vw); }
      .back-link { margin-bottom: 43px; }
      .eyebrow { margin-bottom: 16px; font-size: 11px; }
      .project-hero h1 { font-size: clamp(44px, 12vw, 66px); }
      .hero-description { margin-top: 18px; font-size: 15px; }
      .hero-actions { align-items: stretch; flex-direction: column; }
      .button { width: 100%; }

      .cover { padding: 7px; border-radius: 22px; }
      .cover img { aspect-ratio: 1.21 / 1; border-radius: 16px; }
      .project-info { gap: 9px; padding-block: 16px 52px; }
      .info-card { padding: 15px 13px; border-radius: 15px; }
      .info-label { font-size: 10px; }
      .info-value { font-size: 13px; }

      .story-section {
        grid-template-columns: 1fr;
        gap: 19px;
        padding-block: 58px;
      }

      .section-heading { font-size: clamp(34px, 9vw, 45px); }
      .story-copy { font-size: 14px; }

      .gallery-section { padding-block: 62px; }
      .gallery-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
      .gallery-heading h2 { font-size: clamp(36px, 10vw, 48px); }
      .gallery { grid-template-columns: 1fr; gap: 12px; }
      .gallery-item:first-child { grid-column: auto; }
      .gallery-item { padding: 7px; border-radius: 19px; }
      .gallery-item img { border-radius: 13px; }

      .outcome { padding: 34px 24px; margin-bottom: 64px; border-radius: 23px; }
      .outcome h2 { font-size: clamp(34px, 9vw, 45px); }
      .outcome p { font-size: 14px; }
      .next-project { padding-block: 25px 58px; }
      .next-arrow { width: 48px; height: 48px; }

      .footer-inner { gap: 22px; }
      .footer-main {
        grid-template-columns: 1fr;
        grid-template-areas:
          "identity"
          "explore"
          "connect";
        gap: 24px;
      }
      .footer-connect,
      .footer-nav { justify-self: stretch; }
      .footer-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
      .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
    }

    @media (max-width: 380px) {
      .project-info { grid-template-columns: 1fr; }
    }

    html[dir="rtl"] .project-hero,
    html[dir="rtl"] .project-info,
    html[dir="rtl"] .story-section,
    html[dir="rtl"] .gallery-section,
    html[dir="rtl"] .outcome,
    html[dir="rtl"] .next-project {
      text-align: right;
    }

    html[dir="rtl"] .project-hero::before { right: auto; left: max(0px, calc((100vw - var(--container)) / 2 - 110px)); }
    html[dir="rtl"] .footer-identity,
    html[dir="rtl"] .footer-nav { justify-items: end; }
    html[dir="rtl"] .footer-links { direction: rtl; justify-items: end; }
    html[dir="rtl"] .back-link span { display: inline-block; transform: scaleX(-1); }

    @media (max-width: 680px) {
      html[dir="rtl"] .project-hero::before { left: 0; }
      html[dir="rtl"] .footer-bottom { align-items: flex-end; }
    }

    html.motion-ready [data-reveal] {
      opacity: 0;
      translate: 0 22px;
      transition: opacity .65s ease, translate .65s cubic-bezier(.2, .7, .2, 1);
    }

    html.motion-ready [data-reveal].is-visible {
      opacity: 1;
      translate: 0 0;
    }

    .project-info [data-reveal]:nth-child(2) { transition-delay: .06s; }
    .project-info [data-reveal]:nth-child(3) { transition-delay: .12s; }
    .project-info [data-reveal]:nth-child(4) { transition-delay: .18s; }

    @media (prefers-reduced-motion: reduce) {
      ::view-transition-old(root),
      ::view-transition-new(root),
      .nav-wrap,
      .project-hero > * {
        animation: none !important;
      }

      html.motion-ready [data-reveal] {
        opacity: 1;
        translate: none;
        transition: none;
      }

      .footer-social-link:hover { transform: none; }

      .nav-cta {
        animation: none;
      }

      .brand:hover .brand-logo,
      .brand:focus-visible .brand-logo {
        transform: none;
        filter: none;
      }

      *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
      }
    }
