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

  :root {
    --gold: #c9a961;
    --gold-deep: #a88a4a;
    --gold-soft: #d4b876;
    --bg: #faf7f1;
    --bg-warm: #f4eee3;
    --ink: #1a1a1a;
    --ink-soft: #5a564e;
    --line: rgba(26, 26, 26, 0.1);
  }

  html { scroll-behavior: smooth; }
  section[id] { scroll-margin-top: 72px; }

  body {
    font-family: 'Inter', -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    background: var(--bg);
    color: var(--ink);
    overflow-x: hidden;
  }

  .display { font-family: 'Fraunces', serif; }
  .gold { color: var(--gold-deep); }
  .italic { font-style: italic; }

  /* ============ NAV ============ */
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 60px;
    z-index: 100;
    transition: all 0.4s ease;
  }

  .nav.scrolled {
    padding: 16px 60px;
    background: rgba(250, 247, 241, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
  }

  .logo {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #f5f0e6;
    transition: color 0.4s ease;
    text-decoration: none;
    cursor: pointer;
  }
  .nav.scrolled .logo { color: var(--ink); }
  .logo .dot { color: var(--gold); }
  .nav.scrolled .logo .dot { color: var(--gold-deep); }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.02em;
  }
  .nav-links a {
    text-decoration: none;
    color: #f5f0e6;
    opacity: 0.75;
    transition: opacity 0.3s, color 0.4s ease;
  }
  .nav.scrolled .nav-links a { color: var(--ink); opacity: 0.6; }
  .nav-links a:hover { opacity: 1; }

  .nav-cta {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-decoration: none;
    color: var(--gold);
    border: 1px solid rgba(201,169,97,0.6);
    padding: 9px 20px;
    border-radius: 100px;
    transition: all 0.35s ease;
    white-space: nowrap;
  }
  .nav.scrolled .nav-cta {
    color: var(--gold-deep);
    border-color: var(--gold-deep);
  }
  .nav-cta:hover {
    background: var(--gold);
    color: #0b0805;
    border-color: var(--gold);
  }
  .nav.scrolled .nav-cta:hover {
    background: var(--ink);
    color: var(--gold);
    border-color: var(--ink);
  }

  /* ---- Hamburger (hidden on desktop) ---- */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 120;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #f5f0e6;
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.6,0.05,0.2,1), opacity 0.3s ease, background 0.3s ease;
    margin: 0 auto;
  }
  .nav.scrolled .hamburger span { background: var(--ink); }
  /* X state when menu open */
  body.menu-open .hamburger span { background: #f5f0e6; }
  body.menu-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
  body.menu-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  body.menu-open .nav.scrolled {
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
  }
  body.menu-open .nav .logo { color: #f5f0e6; }

  /* ---- Mobile fullscreen menu ---- */
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(11,8,5,0.97);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
  .mobile-menu ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 26px;
  }
  .mobile-menu li {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: calc(var(--i) * 0.06s);
  }
  body.menu-open .mobile-menu li { opacity: 1; transform: translateY(0); }
  .mobile-menu a {
    font-family: 'Fraunces', serif;
    font-size: 30px;
    font-weight: 300;
    color: #f5f0e6;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
  }
  .mobile-menu a:hover, .mobile-menu a:active { color: var(--gold); }
  .mobile-menu .mm-cta {
    color: var(--gold);
    font-style: italic;
  }
  .mobile-menu .mm-foot {
    font-size: 13px;
    letter-spacing: 0.1em;
    color: rgba(245,240,230,0.55);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: calc(var(--i) * 0.06s);
  }
  body.menu-open .mobile-menu .mm-foot { opacity: 1; transform: translateY(0); }

  /* ============ HERO (dark) ============ */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 40px;
    overflow: hidden;
    background:
      radial-gradient(ellipse 60% 80% at 78% 50%, rgba(201,169,97,0.06) 0%, transparent 60%),
      #0b0805;
  }

  /* particle-flow canvas lives on the RIGHT (machine side) only */
  #heroCanvas {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to left, #000 35%, transparent 100%);
            mask-image: linear-gradient(to left, #000 35%, transparent 100%);
    pointer-events: none;
  }

  /* side image layers — human (left) and machine (right) */
  .hero-side {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 42%;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    overflow: hidden;
  }
  .hero-human {
    left: 0;
    width: 48%;
    animation: sideIn 2s ease 0.4s forwards;
  }
  @keyframes sideIn { to { opacity: 1; } }

  .face-img {
    position: absolute;
    left: -6%;
    top: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    min-width: 70%;
    object-fit: cover;
    object-position: left bottom;
    z-index: 0;
    /* long, soft fade on the inner (right) edge so there's no visible cut */
    -webkit-mask-image: linear-gradient(to right, #000 22%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.12) 78%, transparent 100%);
            mask-image: linear-gradient(to right, #000 22%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.12) 78%, transparent 100%);
    filter: contrast(0.98) brightness(1.08) saturate(1.05);
    opacity: 1;
  }
  /* warm gold wash so the photo lives in the same gold world */
  .hero-human::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(201,169,97,0.06), transparent 55%);
    pointer-events: none;
  }
  /* deepen the bottom + inner edge into the hero black */
  .hero-human::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(to right, transparent 58%, rgba(11,8,5,0.42) 100%),
      linear-gradient(to bottom, transparent 85%, rgba(11,8,5,0.28) 100%);
    pointer-events: none;
  }

  .hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
      radial-gradient(ellipse 65% 80% at center, rgba(11,8,5,0) 0%, rgba(11,8,5,0.25) 75%, rgba(11,8,5,0.5) 100%),
      linear-gradient(to right, rgba(11,8,5,0) 30%, rgba(11,8,5,0.3) 50%, rgba(11,8,5,0) 70%);
  }

  .hero-content {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: rgba(245,240,230,0.6);
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    animation: fadeUp 1.2s ease forwards;
  }
  .eyebrow::before, .eyebrow::after {
    content: '';
    width: 30px; height: 1px;
    background: var(--gold);
    opacity: 0.6;
  }

  .headline {
    font-family: 'Fraunces', serif;
    font-size: clamp(46px, 8vw, 100px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.035em;
    text-align: center;
    max-width: 1100px;
    margin-bottom: 30px;
    color: #f5f0e6;
    opacity: 0;
    animation: fadeUp 1.4s ease 0.2s forwards;
    text-shadow: 0 2px 40px rgba(0,0,0,0.5);
  }
  .headline .gold { font-style: italic; font-weight: 400; color: var(--gold); }

  .sub {
    font-family: 'Fraunces', serif;
    font-size: 19px;
    font-style: italic;
    font-weight: 300;
    color: rgba(245,240,230,0.72);
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 1.4s ease 0.4s forwards;
  }

  .hero-explain {
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
    color: rgba(245,240,230,0.62);
    max-width: 600px;
    text-align: center;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeUp 1.4s ease 0.55s forwards;
  }
  .hero-explain strong {
    font-weight: 500;
    color: #f5f0e6;
  }

  .hero-stats {
    display: flex;
    align-items: center;
    gap: 36px;
    opacity: 0;
    animation: fadeUp 1.4s ease 0.7s forwards;
  }
  .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .stat-num {
    font-family: 'Fraunces', serif;
    font-size: 38px;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
  }
  .stat-label {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245,240,230,0.55);
  }
  .stat-div {
    width: 1px;
    height: 38px;
    background: rgba(245,240,230,0.18);
  }

  .cta-row {
    display: flex;
    gap: 16px;
    opacity: 0;
    animation: fadeUp 1.4s ease 0.6s forwards;
  }

  .cta {
    padding: 16px 36px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .cta-primary {
    background: var(--ink);
    color: var(--gold);
    border: 1px solid var(--ink);
  }
  .cta-primary:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 14px 34px -12px rgba(0,0,0,0.45);
  }
  .cta-secondary {
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
    opacity: 0.55;
  }
  .cta-secondary:hover { opacity: 1; transform: translateY(-2px); }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ============ SECTION SHARED ============ */
  section { position: relative; }

  .section-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 140px 40px;
  }

  .section-tag {
    font-size: 11px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .section-tag::before {
    content: '';
    width: 24px; height: 1px;
    background: var(--gold-deep);
  }

  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
  }
  .reveal.in { opacity: 1; transform: translateY(0); }

  /* staggered reveal for grid/step children once parent is in view */
  .caps-grid .cap,
  .team-grid .member,
  .steps .step {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .caps-grid.in .cap,
  .team-grid.in .member,
  .steps.in .step {
    opacity: 1;
    transform: translateY(0);
  }
  .caps-grid.in .cap:nth-child(2),
  .team-grid.in .member:nth-child(2) { transition-delay: 0.08s; }
  .caps-grid.in .cap:nth-child(3),
  .team-grid.in .member:nth-child(3),
  .steps.in .step:nth-child(2) { transition-delay: 0.16s; }
  .caps-grid.in .cap:nth-child(4),
  .team-grid.in .member:nth-child(4),
  .steps.in .step:nth-child(3) { transition-delay: 0.24s; }
  .team-grid.in .member:nth-child(5),
  .steps.in .step:nth-child(4) { transition-delay: 0.32s; }
  .team-grid.in .member:nth-child(6) { transition-delay: 0.40s; }

  /* card hover lift */
  .cap, .member {
    transition: background 0.5s ease, transform 0.4s ease, box-shadow 0.4s ease;
  }
  .cap:hover, .member:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -22px rgba(26,26,26,0.3);
    z-index: 2;
  }

  /* tool chips subtle hover */
  .tools span { transition: background 0.3s ease, border-color 0.3s ease; }
  .member:hover .tools span {
    background: rgba(201,169,97,0.2);
    border-color: rgba(201,169,97,0.5);
  }

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

  /* ============ MANIFESTO ============ */
  .manifesto {
    background: var(--bg-warm);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .manifesto .section-inner { padding: 160px 40px; }
  .manifesto h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 300;
    line-height: 1.18;
    letter-spacing: -0.02em;
    max-width: 900px;
  }
  .manifesto h2 .gold { font-style: italic; }
  .manifesto p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--ink-soft);
    max-width: 620px;
    margin-top: 40px;
    font-weight: 300;
  }

  /* ============ CAPABILITIES ============ */
  .caps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 60px;
  }
  .cap {
    background: linear-gradient(180deg, #1a1410 0%, #0e0a06 100%);
    border-radius: 6px;
    padding: 44px 40px 40px;
    color: rgba(245, 240, 230, 0.95);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.25,0.1,0.25,1), box-shadow 0.5s ease;
    min-height: 360px;
    display: flex;
    flex-direction: column;
  }
  .cap:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px -25px rgba(0,0,0,0.4);
  }
  /* subtle gold radial in top-right corner */
  .cap::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(201,169,97,0.15) 0%, transparent 65%);
    pointer-events: none;
  }
  .cap-num {
    font-family: 'Fraunces', serif;
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 0.05em;
    position: relative;
    margin-bottom: 22px;
  }
  .cap-icon {
    width: 56px; height: 56px;
    margin-bottom: 22px;
    position: relative;
    color: var(--gold);
  }
  .cap-icon svg {
    width: 100%; height: 100%;
    stroke: currentColor;
    stroke-width: 1;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .cap h3 {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 400;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: rgba(245, 240, 230, 0.95);
  }
  .cap .cap-hu {
    font-size: 11px;
    color: rgba(201, 169, 97, 0.85);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 26px;
  }
  /* Human / Machine split with vertical gold rule */
  .cap-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
    flex: 1;
    margin-bottom: 26px;
  }
  .cap-split::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(201,169,97,0.5) 0%, rgba(201,169,97,0.15) 100%);
  }
  .cap-col {
    padding: 0 20px 0 0;
  }
  .cap-col + .cap-col {
    padding: 0 0 0 24px;
  }
  .cap-col .label {
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(201, 169, 97, 0.75);
    margin-bottom: 10px;
    display: block;
  }
  .cap-col p {
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(245, 240, 230, 0.75);
    font-weight: 300;
  }
  .cap-quote {
    padding-top: 22px;
    border-top: 1px solid rgba(201, 169, 97, 0.18);
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 14px;
    color: rgba(201, 169, 97, 0.85);
    line-height: 1.5;
  }

  /* ============ TEAM ============ */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
  }
  .member {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 36px 32px 32px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .member:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -20px rgba(26,26,26,0.15);
    border-color: rgba(201, 169, 97, 0.45);
  }
  /* avatar circle with monogram */
  .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1410 0%, #2a2018 100%);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: 22px;
    position: relative;
    border: 1px solid var(--gold);
  }
  /* gold ring around avatar (matching monogram color) */
  .avatar::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    opacity: 0.45;
  }
  .member-num {
    position: absolute;
    top: 22px; right: 22px;
    font-family: 'Fraunces', serif;
    font-size: 11px;
    color: rgba(168, 138, 74, 0.55);
    letter-spacing: 0.1em;
  }
  .member h3 {
    font-family: 'Fraunces', serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 4px;
    letter-spacing: -0.01em;
  }
  .member-role {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 18px;
  }
  .member-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--ink-soft);
    font-weight: 300;
    margin-bottom: 24px;
    flex-grow: 1;
  }
  .member-tools {
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }
  .tool-label {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-deep);
    display: block;
    margin-bottom: 10px;
  }
  .tools {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .tools span {
    font-size: 11px;
    padding: 4px 10px;
    background: var(--bg-warm);
    border: 1px solid rgba(201, 169, 97, 0.18);
    border-radius: 100px;
    color: var(--ink-soft);
    letter-spacing: 0.02em;
  }

  /* ============ PROCESS ============ */
  .process { background: var(--ink); color: var(--bg); }
  .process .section-tag { color: var(--gold); }
  .process .section-tag::before { background: var(--gold); }
  .process h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(30px, 4.5vw, 50px);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
  }
  .process h2 .gold { font-style: italic; color: var(--gold); }
  .process-intro {
    font-size: 16px;
    color: rgba(245, 240, 230, 0.6);
    max-width: 560px;
    margin-bottom: 70px;
    font-weight: 300;
    line-height: 1.7;
  }
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
  .step {
    padding: 36px 28px 36px 0;
    border-top: 1px solid rgba(245, 240, 230, 0.15);
    position: relative;
  }
  .step-num {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 40px;
    color: var(--gold);
    opacity: 0.5;
    margin-bottom: 20px;
  }
  .step h4 {
    font-family: 'Fraunces', serif;
    font-size: 21px;
    font-weight: 400;
    margin-bottom: 12px;
  }
  .step p {
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(245, 240, 230, 0.55);
    font-weight: 300;
  }

  /* ============ CONTACT ============ */
  .contact { background: var(--bg-warm); }
  .contact .section-inner {
    padding: 160px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(34px, 5.5vw, 68px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 820px;
    margin-bottom: 22px;
  }
  .contact h2 .gold { font-style: italic; }
  .contact .sub-c {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 18px;
    color: var(--ink-soft);
    margin-bottom: 46px;
    max-width: 540px;
    line-height: 1.5;
  }
  .contact-mail {
    font-size: 14px;
    color: var(--ink-soft);
    margin-top: 26px;
    font-weight: 300;
  }
  .contact-mail a {
    color: var(--gold-deep);
    text-decoration: none;
    border-bottom: 1px solid rgba(168, 138, 74, 0.4);
    transition: border-color 0.3s;
  }
  .contact-mail a:hover { border-color: var(--gold-deep); }

  /* ============ FOOTER ============ */
  footer {
    background: var(--bg);
    border-top: 1px solid var(--line);
    padding: 50px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--ink-soft);
    letter-spacing: 0.04em;
  }
  footer .logo { font-size: 18px; color: var(--ink); }
  footer .foot-right { font-style: italic; font-family: 'Fraunces', serif; }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 900px) {
    .nav, .nav.scrolled { padding: 18px 26px; }
    .nav-links { display: none; }
    .nav-right { display: none; }
    .hamburger { display: flex; }
    .section-inner { padding: 90px 26px; }
    .manifesto .section-inner, .contact .section-inner { padding: 110px 26px; }
    .caps-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .cta-row { flex-direction: column; width: 100%; max-width: 300px; }
    .cta { justify-content: center; }
    footer { flex-direction: column; gap: 18px; text-align: center; }
  }

  /* ---- MOBILE HERO: keep the face as a strong left visual, text to the right ---- */
  @media (max-width: 640px) {
    .hero {
      justify-content: flex-start;
      padding: 0;
    }
    /* face stays vivid, anchored to the left, spanning enough width that the fade completes before the image ends */
    .hero-human { width: 75%; opacity: 1 !important; }
    .face-img {
      left: -10%;
      min-width: 90%;
      filter: contrast(1.02) brightness(1.06) saturate(1.05);
      opacity: 0.97;
      /* fade toward the text column on the right */
      -webkit-mask-image: linear-gradient(to right, #000 30%, rgba(0,0,0,0.45) 60%, transparent 92%);
              mask-image: linear-gradient(to right, #000 30%, rgba(0,0,0,0.45) 60%, transparent 92%);
    }
    /* subtle warm gradient over the image, normal blend (no greying) */
    .hero-human::after {
      background:
        linear-gradient(135deg, rgba(201,169,97,0.10) 0%, transparent 40%),
        linear-gradient(to right, rgba(201,169,97,0.06), transparent 55%);
    }
    .hero-human::before {
      background:
        linear-gradient(to right, transparent 35%, rgba(11,8,5,0.85) 95%),
        linear-gradient(to bottom, transparent 80%, rgba(11,8,5,0.4) 100%);
    }
    /* particle stream narrower / behind text on the right edge */
    #heroCanvas { width: 70%; }

    .hero-vignette {
      background:
        linear-gradient(to right, rgba(11,8,5,0) 30%, rgba(11,8,5,0.55) 62%, rgba(11,8,5,0.2) 100%),
        radial-gradient(ellipse 90% 70% at 75% 50%, rgba(11,8,5,0) 0%, rgba(11,8,5,0.35) 100%);
    }

    /* text column: pushed right, right-aligned, tightened */
    .hero-content {
      align-items: flex-end;
      text-align: right;
      width: 100%;
      padding: 100px 22px 60px 36%;
      min-height: 100vh;
      justify-content: center;
    }
    .eyebrow { margin-bottom: 22px; font-size: 9.5px; letter-spacing: 0.3em; }
    .eyebrow::before { display: none; }   /* drop left rule so it hugs the right */
    .headline {
      font-size: clamp(34px, 12vw, 52px);
      margin-bottom: 20px;
      text-shadow: 0 2px 30px rgba(0,0,0,0.7);
    }
    .sub { font-size: 16px; margin-bottom: 20px; }
    .hero-explain {
      font-size: 14px;
      margin-bottom: 32px;
      max-width: 100%;
      text-align: right;
    }
    .hero-stats {
      gap: 18px;
      align-self: flex-end;
    }
    .stat-num { font-size: 26px; }
    .stat-label { font-size: 9px; letter-spacing: 0.12em; }
    .stat-div { height: 30px; }
  }

  @media (max-width: 900px) and (min-width: 641px) {
    /* tablet: face still strong but composition stays centered */
    .hero-side { width: 52%; opacity: 0.9 !important; }
  }

  @media (max-width: 540px) {
    .steps { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .cap-split { grid-template-columns: 1fr; gap: 18px; }
    .cap-split::before { display: none; }
    .cap-col, .cap-col + .cap-col { padding: 0; }
  }
  @media (max-width: 640px) {
    .nav:not(.scrolled) .logo {
      text-shadow: 0 1px 12px rgba(11,8,5,0.7);
    }
  }


  /* ============================================================
     SELECTED WORK SECTION (added)
     ============================================================ */

  /* ============ SELECTED WORK SECTION ============ */
  #work {
    background: var(--bg);
  }
  .section-headline {
    font-family: 'Fraunces', serif;
    font-size: clamp(30px, 4.5vw, 50px);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.15;
    max-width: 760px;
    margin-bottom: 24px;
  }
  .section-headline .gold { color: var(--gold-deep); font-style: italic; }
  .section-intro {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 580px;
    font-weight: 300;
    margin-bottom: 70px;
  }

  /* ---- Cards stack ---- */
  .cases { display: flex; flex-direction: column; gap: 50px; }

  .case {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.5s ease, transform 0.5s ease;
  }
  .case:hover {
    box-shadow: 0 30px 60px -30px rgba(26,26,26,0.25);
    transform: translateY(-3px);
  }
  /* alternate layout: image right on even rows */
  .case.reverse { grid-template-columns: 1fr 1.05fr; }
  .case.reverse .case-visual { order: 2; }
  .case.reverse .case-body { order: 1; }

  /* ---- Visual ---- */
  .case-visual {
    position: relative;
    background: #0b0805;
    min-height: 460px;
    overflow: hidden;
  }
  .case-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25,0.1,0.25,1);
  }
  .case:hover .case-visual img { transform: scale(1.04); }

  /* ---- Video frame (Gemenc) — replaces phone mockup ---- */
  .case-visual-gemenc {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 0 30px;
  }
  .video-frame {
    position: relative;
    height: auto;
    width: 50%;
    max-width: 220px;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    overflow: hidden;
    z-index: 2;
    box-shadow:
      0 30px 60px -20px rgba(0,0,0,0.55),
      0 0 0 1px rgba(201,169,97,0.18);
    background: #0a0807;
  }
  .video-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0a0807;
    cursor: pointer;
  }
  .video-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background:
      radial-gradient(ellipse at center, rgba(90,56,28,0.35) 0%, transparent 65%),
      linear-gradient(180deg, #1a120a 0%, #0a0807 100%);
    transition: opacity 0.5s ease;
  }
  .video-poster.hidden { opacity: 0; pointer-events: none; }

  /* play button */
  .play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 70px; height: 70px;
    background: rgba(11,8,5,0.55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(201,169,97,0.55);
    border-radius: 50%;
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    transition: opacity 0.4s ease, background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
  }
  .play-btn svg { width: 28px; height: 28px; margin-left: 3px; }
  .play-btn:hover {
    background: rgba(201,169,97,0.95);
    color: #0a0807;
    box-shadow: 0 12px 30px -8px rgba(201,169,97,0.5);
  }
  .play-btn::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(201,169,97,0.25);
    animation: playPulse 2.4s ease-out infinite;
    pointer-events: none;
  }
  @keyframes playPulse {
    0% { transform: scale(0.85); opacity: 0.9; }
    100% { transform: scale(1.25); opacity: 0; }
  }
  .play-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
  }

  .case-visual .label-tag {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 2;
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(11,8,5,0.55);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(201,169,97,0.35);
    padding: 7px 14px;
    border-radius: 100px;
  }

  /* ---- Body ---- */
  .case-body {
    padding: 50px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .case-meta {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .case-meta::before {
    content: '';
    width: 18px; height: 1px;
    background: var(--gold-deep);
  }
  .case h3 {
    font-family: 'Fraunces', serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
  }
  .case-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-soft);
    font-weight: 300;
    margin-bottom: 32px;
    max-width: 42ch;
  }

  /* ---- Numbers ---- */
  .case-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
  }
  .num { display: flex; flex-direction: column; gap: 4px; }
  .num-val {
    font-family: 'Fraunces', serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--gold-deep);
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .num-val sup {
    font-size: 0.5em;
    margin-left: 2px;
    font-weight: 400;
  }
  .num-label {
    font-size: 10.5px;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
    line-height: 1.4;
    text-transform: uppercase;
  }
  .placeholder-note {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-deep);
    opacity: 0.7;
    margin-bottom: 12px;
    font-style: italic;
  }

  /* ---- Link ---- */
  .case-link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--ink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    transition: gap 0.3s ease, color 0.3s ease;
  }
  .case-link:hover { color: var(--gold-deep); gap: 16px; }
  .case-link::after { content: '→'; }

  /* ---- Gemenc cooper rings / wood grain background ---- */
  .case-visual-gemenc {
    background:
      radial-gradient(ellipse 70% 70% at 50% 50%, rgba(110,70,30,0.45) 0%, transparent 65%),
      linear-gradient(180deg, #1f1410 0%, #0e0805 100%);
  }
  .gemenc-anim {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
  }

  /* warm central glow behind everything */
  .ring-glow {
    position: absolute;
    left: 50%; top: 50%;
    width: 60%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(220, 150, 70, 0.35) 0%, transparent 65%);
    filter: blur(20px);
    animation: ringGlow 7s ease-in-out infinite;
  }
  @keyframes ringGlow {
    0%,100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.7; }
    50%     { transform: translate(-50%, -50%) scale(1.1);  opacity: 1;   }
  }

  /* concentric rings (barrel cross-section / wood grain) */
  .rings {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .rings ellipse {
    transform-origin: center;
    transform-box: fill-box;
  }
  /* breathing pulse — eltolt fázisokkal hullámzó hatás */
  .rings .breath {
    animation: ringBreathe 8s ease-in-out infinite;
  }
  .rings .breath.b2 { animation-delay: -1.5s; }
  .rings .breath.b3 { animation-delay: -3s; }
  .rings .breath.b4 { animation-delay: -4.5s; }
  .rings .breath.b5 { animation-delay: -6s; }
  @keyframes ringBreathe {
    0%,100% { transform: scale(1);    opacity: var(--op-base, 0.5); }
    50%     { transform: scale(1.02); opacity: var(--op-peak, 0.9); }
  }

  /* glowing arc traveling around a ring */
  .rings .traveler {
    stroke: rgba(230, 195, 130, 0.95);
    stroke-width: 1.4;
    stroke-dasharray: 24 600;
    stroke-dashoffset: 0;
    animation: ringTravel 9s linear infinite;
    filter: drop-shadow(0 0 4px rgba(230, 195, 130, 0.6));
  }
  .rings .traveler.t2 {
    animation-duration: 12s;
    animation-delay: -3s;
    stroke: rgba(220, 180, 110, 0.85);
  }
  @keyframes ringTravel {
    from { stroke-dashoffset: 624; }
    to   { stroke-dashoffset: 0; }
  }

  /* small amber accent dots — aged wood knots */
  .ring-knots {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .ring-knots span {
    position: absolute;
    border-radius: 50%;
    background: rgba(220, 170, 90, 0.85);
    box-shadow: 0 0 6px rgba(220, 170, 90, 0.5);
    animation: ringKnotPulse 5s ease-in-out infinite;
  }
  .ring-knots span:nth-child(1) { left: 18%; top: 28%; width: 3px;   height: 3px;   animation-delay: 0s;    }
  .ring-knots span:nth-child(2) { left: 82%; top: 22%; width: 2.5px; height: 2.5px; animation-delay: -1.3s; }
  .ring-knots span:nth-child(3) { left: 8%;  top: 62%; width: 4px;   height: 4px;   animation-delay: -2.6s; }
  .ring-knots span:nth-child(4) { left: 88%; top: 70%; width: 3px;   height: 3px;   animation-delay: -0.9s; }
  .ring-knots span:nth-child(5) { left: 22%; top: 86%; width: 2.5px; height: 2.5px; animation-delay: -3.5s; }
  .ring-knots span:nth-child(6) { left: 76%; top: 88%; width: 3px;   height: 3px;   animation-delay: -2s;   }
  @keyframes ringKnotPulse {
    0%,100% { opacity: 0.4; transform: scale(0.9); }
    50%     { opacity: 1;   transform: scale(1.15); }
  }

  /* Gemenc brand title in bottom-left, mirrors HerbaTherapy/AI-1 */
  .gemenc-title {
    position: absolute;
    left: 36px;
    bottom: 30px;
    text-align: left;
    pointer-events: none;
    z-index: 3;
  }
  .gemenc-name {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 300;
    color: rgba(245, 232, 210, 0.95);
    letter-spacing: -0.01em;
  }
  .gemenc-sub {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(212, 169, 97, 0.78);
    margin-top: 6px;
  }

  /* ---- HerbaTherapy animated background ---- */
  .case-visual-herba {
    background:
      radial-gradient(ellipse 70% 80% at 50% 100%, rgba(78,110,84,0.55) 0%, transparent 60%),
      linear-gradient(180deg, #1a2820 0%, #0e1612 100%);
  }
  .herba-anim {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  .herba-aura {
    position: absolute;
    width: 70%;
    aspect-ratio: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(155,184,146,0.18) 0%, transparent 65%);
    animation: herbaBreath 8s ease-in-out infinite;
    filter: blur(2px);
    pointer-events: none;
  }
  @keyframes herbaBreath {
    0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.7; }
    50%      { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
  }
  .herba-flora {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  .sway { animation: sway 9s ease-in-out infinite; }
  .sway-1 { animation-duration: 9s; animation-delay: 0s; }
  .sway-2 { animation-duration: 11s; animation-delay: -3s; }
  .sway-3 { animation-duration: 10s; animation-delay: -6s; }
  @keyframes sway {
    0%, 100% { transform: rotate(-2deg); }
    50%      { transform: rotate(2deg); }
  }
  .herba-specks {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .herba-specks span {
    position: absolute;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: rgba(200,220,190,0.7);
    animation: speckRise linear infinite;
    opacity: 0;
  }
  .herba-specks span:nth-child(1) { left: 12%; animation-duration: 16s; animation-delay: -2s; }
  .herba-specks span:nth-child(2) { left: 22%; animation-duration: 19s; animation-delay: -8s;  width: 2px; height: 2px; }
  .herba-specks span:nth-child(3) { left: 35%; animation-duration: 22s; animation-delay: -1s; }
  .herba-specks span:nth-child(4) { left: 47%; animation-duration: 17s; animation-delay: -12s; width: 2px; height: 2px; }
  .herba-specks span:nth-child(5) { left: 58%; animation-duration: 21s; animation-delay: -5s; }
  .herba-specks span:nth-child(6) { left: 66%; animation-duration: 18s; animation-delay: -14s; }
  .herba-specks span:nth-child(7) { left: 75%; animation-duration: 24s; animation-delay: -3s;  width: 2px; height: 2px; }
  .herba-specks span:nth-child(8) { left: 83%; animation-duration: 20s; animation-delay: -10s; }
  .herba-specks span:nth-child(9) { left: 90%; animation-duration: 23s; animation-delay: -7s; }
  .herba-specks span:nth-child(10){ left: 6%;  animation-duration: 25s; animation-delay: -16s; width: 2px; height: 2px; }
  @keyframes speckRise {
    0%   { transform: translateY(105%) translateX(0);    opacity: 0;   }
    15%  { opacity: 0.9; }
    50%  { transform: translateY(50%)  translateX(8px);  opacity: 0.7; }
    85%  { opacity: 0.5; }
    100% { transform: translateY(-10%) translateX(-6px); opacity: 0;   }
  }
  /* foreground image (transparent PNG of product/brand) overlays the animation */
  .case-visual img.herba-foreground {
    position: absolute;
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    max-width: 72%;
    max-height: 78%;
    width: auto;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    z-index: 2;
    /* gentle float to feel alive */
    animation: herbaFgFloat 6s ease-in-out infinite;
  }
  @keyframes herbaFgFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50%      { transform: translate(-50%, -50%) translateY(-14px); }
  }
  /* brand title in bottom-left corner (mirrors AI-1 pattern) */
  .herba-title {
    position: absolute;
    left: 36px;
    bottom: 30px;
    text-align: left;
    pointer-events: none;
    z-index: 3;
  }
  .ht-name {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 300;
    color: rgba(220, 230, 210, 0.95);
    letter-spacing: -0.01em;
  }
  .ht-sub {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(155,184,146,0.75);
    margin-top: 6px;
  }

  /* ---- AI-1 animated background ---- */
  .case-visual-ai1 {
    background:
      radial-gradient(ellipse 70% 70% at 50% 50%, rgba(40,70,110,0.45) 0%, transparent 65%),
      linear-gradient(180deg, #121826 0%, #0a0f18 100%);
  }
  .ai1-anim {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  /* subtle ambient glow at center */
  .ai1-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(168,197,224,0.30) 0%, transparent 65%);
    animation: ai1Breathe 4s ease-in-out infinite;
    filter: blur(10px);
    pointer-events: none;
  }
  @keyframes ai1Breathe {
    0%, 100% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.6; }
    50%      { transform: translate(-50%, -50%) scale(1.18); opacity: 1;   }
  }

  /* foreground image (transparent PNG of foot/ankle) overlays the network */
  .case-visual img.ai1-foreground {
    position: absolute;
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    max-width: 70%;
    max-height: 78%;
    width: auto;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    z-index: 2;
    /* gentle float to feel alive */
    animation: ai1FgFloat 5.5s ease-in-out infinite;
  }
  @keyframes ai1FgFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50%      { transform: translate(-50%, -50%) translateY(-16px); }
  }

  .ai1-net {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  /* node twinkles */
  .ai1-nodes .node {
    transform-origin: center;
    transform-box: fill-box;
    animation: nodeTwinkle 4s ease-in-out infinite;
  }
  .ai1-nodes .n1  { animation-delay: 0s;    }
  .ai1-nodes .n2  { animation-delay: -0.8s; }
  .ai1-nodes .n3  { animation-delay: -1.4s; }
  .ai1-nodes .n4  { animation-delay: -2.1s; }
  .ai1-nodes .n5  { animation-delay: -2.7s; }
  .ai1-nodes .n6  { animation-delay: -0.4s; }
  .ai1-nodes .n7  { animation-delay: -1.7s; }
  .ai1-nodes .n8  { animation-delay: -3.2s; }
  .ai1-nodes .n9  { animation-delay: -1.1s; }
  .ai1-nodes .n10 { animation-delay: -2.4s; }
  @keyframes nodeTwinkle {
    0%, 100% { opacity: 0.4; filter: drop-shadow(0 0 0 rgba(200,225,245,0));   }
    50%      { opacity: 1;   filter: drop-shadow(0 0 6px rgba(200,225,245,0.85)); }
  }
  /* data-flow pulses traveling along lines */
  .pulse {
    stroke-dasharray: 18 200;
    stroke-dashoffset: 218;
    animation: pulseFlow 3s linear infinite;
  }
  .pulse.p1 { animation-delay: 0s;   }
  .pulse.p2 { animation-delay: -0.7s; }
  .pulse.p3 { animation-delay: -1.4s; }
  .pulse.p4 { animation-delay: -2.1s; }
  .pulse.p5 { animation-delay: -0.4s; }
  @keyframes pulseFlow {
    from { stroke-dashoffset: 218; }
    to   { stroke-dashoffset: 0;   }
  }
  .ai1-title {
    position: absolute;
    left: 36px;
    bottom: 30px;
    text-align: left;
    pointer-events: none;
    z-index: 3;
  }
  .ai1-name {
    font-family: 'Fraunces', serif;
    font-size: 52px;
    font-weight: 300;
    color: rgba(220, 232, 245, 0.95);
    letter-spacing: -0.01em;
  }
  .ai1-sub {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(168,197,224,0.75);
    margin-top: 10px;
  }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 800px) {
    #work { padding: 90px 24px; }
    .cases { gap: 32px; }
    .case, .case.reverse { grid-template-columns: 1fr; }
    .case.reverse .case-visual { order: 0; }
    .case.reverse .case-body { order: 1; }
    .case-visual { min-height: 280px; }
    .case-visual-gemenc { padding: 26px 0; min-height: 380px; }
    .video-frame { max-height: 340px; height: 340px; }
    .play-btn { width: 56px; height: 56px; }
    .play-btn svg { width: 22px; height: 22px; }
    .ai1-name { font-size: 36px; }
    .ai1-sub { font-size: 10px; }
    .ai1-title { left: 22px; bottom: 22px; }
    .ht-name { font-size: 22px; }
    .ht-sub { font-size: 10px; }
    .herba-title { left: 22px; bottom: 22px; }
    .gemenc-name { font-size: 22px; }
    .gemenc-sub { font-size: 10px; }
    .gemenc-title { left: 22px; bottom: 22px; }
    .case-body { padding: 34px 28px; }
    .case h3 { font-size: 24px; }
    .num-val { font-size: 26px; }
    .case-numbers { gap: 10px; }
  }
