﻿:root {
    --bg: #0a0908;
    --bg-2: #100e0c;
    --ink: #e8e4db;
    --soft: rgba(232,228,219,0.54);
    --faint: rgba(232,228,219,0.30);
    --line: rgba(232,228,219,0.12);
    --line-2: rgba(232,228,219,0.24);
    --serif: "Cormorant Garamond", Georgia, serif;
    --body: "EB Garamond", Georgia, serif;
    --pad: clamp(22px, 5vw, 76px);
    --maxw: 1340px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    font-size: 19px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  ::selection { background: rgba(232,228,219,0.18); }
  a { color: inherit; text-decoration: none; }

  .micro {
    font-family: var(--body); font-size: 11.5px; letter-spacing: 0.34em;
    text-transform: uppercase; color: var(--faint); font-weight: 400;
  }

  /* ---- print marks ---- */
  .cmark { position: absolute; width: 16px; height: 16px; pointer-events: none; opacity: 0.6; }
  .cmark.tl { top: 0; left: 0; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
  .cmark.tr { top: 0; right: 0; border-top: 1px solid var(--line-2); border-right: 1px solid var(--line-2); }
  .cmark.bl { bottom: 0; left: 0; border-bottom: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
  .cmark.br { bottom: 0; right: 0; border-bottom: 1px solid var(--line-2); border-right: 1px solid var(--line-2); }
  .circ { width: 26px; height: 26px; }
  .circ circle, .circ line { stroke: var(--line-2); stroke-width: 1; fill: none; }
  .vlabel {
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-family: var(--serif); font-style: italic; font-weight: 400;
    font-size: clamp(15px, 1.5vw, 20px); letter-spacing: 0.14em; color: var(--soft); white-space: nowrap;
  }

  /* ---- centered nav ---- */
  header.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; flex-direction: row; align-items: center; justify-content: flex-end; gap: 20px;
    padding: 16px var(--pad);
    transition: opacity .35s ease, transform .35s ease;
    border-bottom: 1px solid transparent;
  }
  header.nav.nav-hidden { opacity: 0; transform: translateY(-18px); pointer-events: none; }
  .nav-logo { display: flex; align-items: center; }
  .nav-logo img { display: block; height: clamp(28px, 3vw, 38px); width: auto; opacity: 0.88; transition: opacity .4s ease; }
  .nav-logo:hover img { opacity: 1; }
  .nav-links { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 2vw, 28px); }
  .nav-links a { font-family: var(--body); font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--soft); transition: color .3s; position: relative; }
  .nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .35s ease; }
  .nav-links a:hover { color: var(--ink); }
  .nav-links a:hover::after { transform: scaleX(1); }
  .nav-links a.talk { color: var(--ink); }
  .nav-links .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
  @media (max-width: 820px) { header.nav { display: none; } }

  /* ---- hamburger + sidebar ---- */
  .menu-btn { position: fixed; top: 34px; left: 34px; z-index: 130;
    width: 54px; height: 54px; display: flex; flex-direction: column; justify-content: center; gap: 7px;
    background: rgba(183,218,243,0.30); border: 1px solid rgba(255, 255, 255, 0.144); border-radius: 999px; padding: 0 14px; cursor: pointer;
    box-shadow: 0 10px 28px rgba(0,0,0,0.18); }
  .menu-btn span { display: block; height: 2.5px; width: 100%; background: #050505; border-radius: 999px;
    transition: transform .45s cubic-bezier(.16,1,.3,1), opacity .3s ease, width .4s ease; transform-origin: center; }
  .menu-btn span:nth-child(2) { width: 62%; }
  .menu-btn:hover span:nth-child(2) { width: 100%; }
  body.menu-open .menu-btn span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
  body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); width: 100%; }
  @media (max-width: 680px) { .menu-btn { top: 22px; left: 22px; width: 50px; height: 50px; } }

  .menu-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(6,5,4,0.55); opacity: 0; pointer-events: none; transition: opacity .55s ease; }
  body.menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }

  .sidebar { position: fixed; top: 0; bottom: 0; left: clamp(50px, 6vw, 92px); width: min(360px, 74vw); z-index: 115;
    background: rgba(75,79,84,0.14); backdrop-filter: blur(18px) saturate(120%); -webkit-backdrop-filter: blur(18px) saturate(120%);
    border-right: 1px solid var(--line); border-left: 1px solid var(--line-2);
    transform: translateX(-112%); opacity: 0; visibility: hidden;
    transition: transform .6s cubic-bezier(.16,1,.3,1), opacity .4s ease, visibility 0s linear .6s;
    display: flex; flex-direction: column; padding: clamp(82px, 13vh, 130px) clamp(28px, 3.2vw, 52px) clamp(34px, 6vh, 56px); }
  body.menu-open .sidebar { transform: translateX(0); opacity: 1; visibility: visible; transition: transform .6s cubic-bezier(.16,1,.3,1), opacity .4s ease; }
  .side-head { font-family: var(--body); font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--faint); margin-bottom: clamp(22px, 3.5vh, 36px); }
  .side-links { display: flex; flex-direction: column; }
  .side-links a { display: flex; align-items: baseline; gap: 16px; padding: clamp(11px, 1.7vh, 17px) 0; border-top: 1px solid var(--line);
    font-family: var(--serif); font-weight: 300; font-size: clamp(25px, 2.9vw, 36px); letter-spacing: -0.01em; line-height: 1; color: var(--ink);
    transition: padding-left .4s cubic-bezier(.16,1,.3,1), color .3s ease; }
  .side-links a:last-child { border-bottom: 1px solid var(--line); }
  .side-links a .sidx { font-family: var(--body); font-size: 11.5px; letter-spacing: 0.1em; color: var(--faint); }
  .side-links a:hover { padding-left: 12px; }
  .side-links a:hover .sidx { color: var(--soft); }
  .side-links a.talk-row { font-style: italic; color: var(--soft); }
  .side-foot { margin-top: auto; padding-top: clamp(24px, 4vh, 40px); display: flex; flex-direction: column; gap: 16px; }
  .side-foot a { font-family: var(--body); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft); transition: color .3s; }
  .side-foot a:hover { color: var(--ink); }
  .side-foot img { height: 38px; width: 144px; opacity: 0.42; }

  /* ---- buttons ---- */
  .btn-out {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--body); font-size: 12.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink);
    border: 1px solid var(--line-2); padding: 15px 30px; transition: border-color .4s ease, letter-spacing .4s ease, background .4s ease;
  }
  .btn-out:hover { border-color: var(--ink); letter-spacing: 0.32em; background: rgba(232,228,219,0.04); }
  .btn-text { display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft); transition: color .3s, gap .3s; }
  .btn-text:hover { color: var(--ink); gap: 14px; }

  /* ---- HERO ---- */
  .hero { position: relative; min-height: 100svh; overflow: visible; background: var(--bg); }
  .hero-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #050505; }
  .hero-mosaic {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    mix-blend-mode: normal;
    transition: opacity 0.18s linear;
  }
  .hero-bg.mosaic-active .hero-mosaic { opacity: 0.78; }
  .hero-poster {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image: url("assets/hero3.jpg");
    background-size: cover;
    background-position: 60% 22%;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.18s linear;
  }
  .hero-video {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 22%;
    pointer-events: none;
    filter: blur(0px);
  }
  .hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    object-position: center center;
    transition: opacity 0.2s linear;
  }
  .hero-grad { position: fixed; inset: 0; z-index: 1;
    background:
      linear-gradient(100deg, rgba(8,7,6,0.92) 0%, rgba(8,7,6,0.62) 30%, rgba(8,7,6,0.12) 55%, rgba(8,7,6,0.05) 74%, rgba(8,7,6,0.55) 100%),
      linear-gradient(to bottom, rgba(8,7,6,0.55) 0%, rgba(8,7,6,0) 30%, rgba(8,7,6,0) 58%, rgba(8,7,6,0.8) 100%);
  }
  .hero-vig { position: fixed; inset: 0; z-index: 1; box-shadow: inset 0 0 240px 70px rgba(0,0,0,0.6); }
  .hero-frame { position: absolute; inset: 26px; z-index: 4; pointer-events: none; }
  .hero-circ { position: absolute; top: 26px; right: 26px; z-index: 5; }
  .hero-bottom-grad {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(190px, 34vh, 420px);
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to top, rgba(8,7,6,0.92) 0%, rgba(8,7,6,0.38) 42%, rgba(8,7,6,0) 100%);
  }
  .hero-sig { position: absolute; right: clamp(24px, 3.4vw, 48px); bottom: clamp(24px, 3.4vw, 48px); height: clamp(32px, 4vw, 48px); width: auto; opacity: 0.5; z-index: 7; transition: opacity .5s ease; pointer-events: none; animation: sigPulse 3.8s ease-in-out infinite; }
  @keyframes sigPulse {
    0%, 100% { opacity: 0.42; }
    18% { opacity: 0.5; }
    21% { opacity: 0.46; }
    38% { opacity: 0.54; }
    62% { opacity: 0.47; }
    78% { opacity: 0.52; }
  }
  body.stick-hero-bottom .hero-bottom-grad {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
  }
  body.stick-hero-bottom .hero-sig {
    position: fixed;
    right: clamp(24px, 3.4vw, 48px);
    bottom: clamp(24px, 3.4vw, 48px);
  }

  .hero-inner { position: relative; z-index: 6; min-height: 100svh; display: flex; align-items: flex-end; padding: 0 var(--pad) clamp(56px, 11vh, 120px); }
  .hero-vlabel { position: absolute; right: clamp(30px, 5vw, 70px); top: 50%; transform: translateY(-50%); z-index: 6; }
  .hero-vlabel .vlabel { transform: none; letter-spacing: 0.03em; }
  .hero-merge { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 6; pointer-events: none;
    display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 2.4vh, 28px); max-width: 92vw; }
  .talk-bubble {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(170px, 20vw, 248px);
    height: clamp(170px, 20vw, 248px);
    transform: translate(-50%, -50%) scale(0.92);
    border-radius: 50%;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: opacity .35s ease, transform .45s cubic-bezier(.16,1,.3,1);
    box-shadow: 0 0 0 1px rgba(232,228,219,0.1), 0 18px 60px rgba(0,0,0,0.24);
  }
  .talk-bubble::after {
    display: none;
  }
  .talk-bubble-canvas {
    display: block;
    width: 100%;
    height: 100%;
  }
  .hero-merge.talk-bubble-active .talk-bubble {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  .merge-tag { display: inline-flex; align-items: baseline; gap: 0.14em; white-space: nowrap;
    position: relative; z-index: 1;
    font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(22px, 3.2vw, 44px); letter-spacing: 0.035em;
    color: var(--ink); text-shadow: 0 2px 24px rgba(0,0,0,0.7); }
  .hero-merge .brace { font-style: normal; font-weight: 300; color: var(--faint); }
  .hero-merge .role { display: inline-block; min-width: min(62vw, 14.5em); text-align: center; transition: opacity .18s ease, transform .18s ease, filter .18s ease; }
  .hero-merge .role.is-spinning { opacity: 0.56; transform: translateY(-0.14em) scale(0.98); filter: blur(0.7px); }
  .hero-merge.conversation-active .role {
    opacity: 0;
    transform: scale(0.94);
    filter: blur(2px);
  }
  .hero-merge.conversation-active .brace {
    color: var(--ink);
    animation: bracePulse 1.25s ease-in-out infinite;
  }
  @keyframes bracePulse {
    0%, 100% { opacity: 0.58; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
  }
  .merge-cta { position: absolute; top: 71%; left: 50%; transform: translate(-50%, -50%); z-index: 6; pointer-events: auto; }
  .hero-vlabel-left { position: absolute; left: clamp(13px, 2.2vw, 30px); top: 50%; transform: translateY(-50%); z-index: 6; }
  .hero-vlabel-left .vlabel { font-style: normal; font-weight: 500; letter-spacing: 0.42em; text-transform: uppercase; font-size: clamp(12px, 1.15vw, 15px); color: var(--soft); }
  .hero-divider { position: absolute; left: clamp(50px, 6vw, 92px); top: 50%; transform: translateY(-50%); width: 1px; height: clamp(180px, 44vh, 440px); z-index: 6; pointer-events: none;
    background: linear-gradient(to bottom, transparent 0%, var(--line-2) 16%, var(--line-2) 84%, transparent 100%); }
  body.stick-hero-side .hero-vlabel-left {
    position: fixed;
    left: clamp(13px, 2.2vw, 30px);
    top: 50%;
  }
  body.stick-hero-side .hero-divider {
    position: fixed;
    left: clamp(50px, 6vw, 92px);
    top: 50%;
  }
  @media (max-width: 760px) { .hero-divider { display: none; } }
  @media (max-width: 760px) { .talk-bubble { width: 176px; height: 176px; } }
  @media (max-width: 760px) { .merge-tag { font-size: clamp(20px, 7vw, 34px); white-space: normal; justify-content: center; text-align: center; } .hero-merge .role { min-width: 0; } }
  @media (max-width: 760px) { .hero-vlabel-left { display: none; } }
  .hero-id { max-width: 30ch; }
  .hero-id .name { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6vw, 86px); line-height: 0.98; letter-spacing: -0.01em; }
  .hero-id .tag { margin-top: 18px; margin-bottom: 30px; color: var(--soft); font-size: clamp(16px, 1.6vw, 20px); font-style: italic; font-family: var(--serif); letter-spacing: 0.02em; }
  .hero-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .hero-scroll .ln { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--soft), transparent); animation: drop 2.6s ease-in-out infinite; }
  @keyframes drop { 0%,100% { opacity: .3; transform: scaleY(.6); transform-origin: top; } 50% { opacity: .9; transform: scaleY(1); } }

  /* ---- generic section ---- */
  section { position: relative; }
  #intro {
    z-index: 8;
    overflow: hidden;
  }
  .intro-video-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s linear;
  }
  #intro::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      rgba(10,9,8,0) 0%,
      rgba(10,9,8,0.08) 24%,
      rgba(10,9,8,0.24) 42%,
      rgba(10,9,8,0.56) 58%,
      rgba(10,9,8,0.82) 74%,
      rgba(10,9,8,0.96) 88%,
      #0a0908 100%
    );
  }
  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
  #intro .wrap { position: relative; z-index: 2; }
  .band { padding: clamp(120px, 22vh, 260px) 0; }
  .band.alt { background: var(--bg-2); }
  #work,
  #method,
  #contact,
  footer {
    position: relative;
    z-index: 9;
  }

  #contact.subfooter-panel {
    overflow: hidden;
    isolation: isolate;
    background: #050505;
    padding: 50px 0 170px;
  }
  #contact.subfooter-panel::before {
    content: "";
    position: absolute;
    inset: -18px;
    z-index: 0;
    background: #050505 url("assets/UltralightBeam_full.jpg") center center / cover no-repeat;
    filter: blur(7px);
    background-attachment: fixed;
  }
  #contact.subfooter-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8,7,6,0.84) 0%, rgba(8,7,6,0.58) 100%);
  }
  .secnum { font-family: var(--serif); font-weight: 300; font-size: clamp(13px, 1.3vw, 15px); letter-spacing: 0.3em; color: var(--faint); }

  /* intro */
  .intro-lines { margin: 40px 0 0; }
  .intro-lines .l { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 6vw, 92px); line-height: 1.04; letter-spacing: -0.015em; }
  .intro-lines .l em { font-style: italic; color: var(--soft); }
  .intro-lines .l.indent { padding-left: clamp(40px, 12vw, 220px); }
  .intro-foot { margin-top: clamp(56px, 9vh, 110px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); max-width: 900px; }
  .intro-foot p { color: var(--soft); font-size: 18px; }
  @media (max-width: 680px) { .intro-foot { grid-template-columns: 1fr; } .intro-lines .l.indent { padding-left: 24px; } }

  /* projects */
  .sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: clamp(40px, 6vh, 72px); border-bottom: 1px solid var(--line); padding-bottom: 22px; }
  .sec-head h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.6vw, 50px); letter-spacing: -0.01em; }
  .sec-head .micro { padding-bottom: 6px; }
  .project-band { padding: 0; margin-top: 0; }
  .project-shell { width: 100%; margin: 0; padding: 0; }
  .project-gallery-grid {
    display: flex;
    align-items: stretch;
    gap: 1px;
    overflow: hidden;
  }
  .gallery-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    flex: 1 1 0;
    min-width: 0;
    min-height: 420px;
    height: 100%;
    overflow: hidden;
    border: 0;
    background: rgba(255,255,255,0.02);
    color: var(--ink);
    text-align: left;
    transition: flex-basis .38s cubic-bezier(.16,1,.3,1), flex-grow .38s cubic-bezier(.16,1,.3,1), width .38s cubic-bezier(.16,1,.3,1);
  }
  .gallery-media,
  .gallery-card img,
  .gallery-card video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
  }
  .gallery-card:hover .gallery-media,
  .gallery-card:hover img,
  .gallery-card:hover video {
    transform: scale(1.02);
  }
  .gallery-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: clamp(14px, 1.2vw, 18px);
  }
  .project-kicker {
    font-family: var(--body);
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--faint);
  }
  .gallery-copy h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(22px, 1.65vw, 30px);
    line-height: 1.02;
    letter-spacing: -0.01em;
    max-width: 11ch;
  }
  .gallery-copy p {
    color: var(--soft);
    font-size: 14px;
    line-height: 1.42;
    max-width: 28ch;
  }
  .gallery-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 6px;
  }
  .gallery-meta span {
    color: var(--faint);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .gallery-card-note,
  .gallery-card-wide,
  .gallery-card-archive,
  .gallery-card-placeholder { background: rgba(255,255,255,0.024); }
  .project-gallery-grid:hover > .gallery-card {
    flex: 0.82 1 0;
  }
  .project-gallery-grid > .gallery-card:hover {
    flex: 1.95 1 0;
    z-index: 4;
  }
  @media (max-width: 1100px) {
    .project-gallery-grid > .gallery-card:hover {
      flex: 1.6 1 0;
    }
  }
  @media (max-width: 760px) {
    .project-gallery-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      min-height: 0;
    }
    .project-gallery-grid:hover > .gallery-card,
    .project-gallery-grid > .gallery-card:hover {
      flex: initial;
    }
    .gallery-card {
      aspect-ratio: 1 / 1;
      min-height: 0;
    }
  }
  @media (max-width: 640px) {
    .project-gallery-grid { grid-template-columns: 1fr; }
    .gallery-card { aspect-ratio: 1.08 / 1; }
    .gallery-copy h3 { max-width: 14ch; font-size: clamp(28px, 7vw, 36px); }
  }

  /* method */
  .method-intro {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
    margin-bottom: clamp(56px, 8vh, 100px);
  }
  .method-lead { position: relative; z-index: 44; font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 4.4vw, 62px); line-height: 1.12; letter-spacing: -0.01em; max-width: 22ch; margin: 0; will-change: transform; }
  .method-lead em { font-style: italic; color: var(--soft); }
  .method-aside {
    position: relative;
    z-index: 18;
    margin: 0;
    width: 100%;
    align-self: start;
    will-change: transform;
  }
  .method-aside img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-left: -400px;
  }
  #method {
    background: #0a0908;
    overflow: hidden;
    min-height: 100svh;
    padding-top: clamp(72px, 10vh, 120px);
    padding-bottom: clamp(120px, 18vh, 220px);
  }
  #method .wrap {
    position: relative;
    z-index: 2;
  }
  .method-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #050505 url("assets/UltralightBeam_full.jpg") center center / cover no-repeat;
    background-attachment: fixed;
  }
  .method-glow {
    position: absolute;
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    pointer-events: none;
    opacity: 1;
    filter: none;
    will-change: transform;
  }
  .method-glow-1 {
    top: 4%;
    right: 24%;
    width: clamp(280px, 24vw, 420px);
  }
  .method-glow-2 {
    top: 20%;
    left: 3%;
    width: clamp(160px, 13vw, 230px);
  }
  .method-glow-3 {
    bottom: -4%;
    right: -6%;
    width: clamp(340px, 32vw, 580px);
  }
  .method-glow-4 {
    top: 52%;
    left: 18%;
    width: clamp(210px, 16vw, 300px);
  }
  .method-glow-5 {
    bottom: 8%;
    left: 34%;
    width: clamp(108px, 9vw, 160px);
  }
  .method-glow-6 {
    top: 34%;
    right: 16%;
    width: clamp(250px, 22vw, 430px);
  }
  .contact-glow-field {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
  }
  .contact-glow {
    position: absolute;
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    pointer-events: none;
    opacity: 1;
    filter: none;
    will-change: transform;
  }
  .contact-glow-1 {
    top: 12%;
    left: 8%;
    width: clamp(180px, 18vw, 300px);
  }
  .contact-glow-2 {
    top: 28%;
    right: 18%;
    width: clamp(90px, 8vw, 130px);
  }
  .contact-glow-3 {
    bottom: 8%;
    right: -4%;
    width: clamp(260px, 24vw, 420px);
  }
  .contact-glow-4 {
    top: 58%;
    left: 20%;
    width: clamp(150px, 14vw, 240px);
  }
  .contact-glow-5 {
    bottom: 20%;
    left: 42%;
    width: clamp(84px, 8vw, 120px);
  }
  .contact-glow-6 {
    top: 6%;
    right: 2%;
    width: clamp(220px, 20vw, 360px);
  }
  .method-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(8,7,6,0.68) 0%, rgba(8,7,6,0.36) 32%, rgba(8,7,6,0.42) 66%, rgba(8,7,6,0.76) 100%),
      linear-gradient(90deg, rgba(8,7,6,0.42) 0%, rgba(8,7,6,0.14) 38%, rgba(8,7,6,0.14) 62%, rgba(8,7,6,0.48) 100%);
    pointer-events: none;
  }
  .mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 5vw, 80px); }
  .mcell .mn { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--faint); }
  .mcell h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 40px); margin: 16px 0 14px; padding-top: 18px; border-top: 1px solid var(--line); }
  .mcell p { color: var(--soft); font-size: 16.5px; line-height: 1.6; }
  @media (max-width: 900px) {
    .method-intro {
      grid-template-columns: 1fr;
    }
    .method-aside {
      max-width: min(420px, 100%);
    }
    .method-glow-1 {
      top: 8%;
      right: 14%;
      width: clamp(180px, 28vw, 280px);
    }
    .method-glow-2 {
      top: 24%;
      left: 0%;
    }
    .method-glow-3 {
      bottom: -2%;
      right: -10%;
      width: clamp(220px, 38vw, 380px);
    }
    .method-glow-4 {
      top: 56%;
      left: 8%;
      width: clamp(150px, 18vw, 220px);
    }
    .method-glow-5 {
      bottom: 12%;
      left: 36%;
      width: clamp(86px, 11vw, 120px);
    }
    .method-glow-6 {
      top: 38%;
      right: 10%;
      width: clamp(180px, 26vw, 280px);
    }
    .contact-glow-1 {
      left: -4%;
      width: clamp(140px, 26vw, 220px);
    }
    .contact-glow-2 {
      right: 8%;
      width: clamp(72px, 12vw, 96px);
    }
    .contact-glow-3 {
      right: -16%;
      width: clamp(200px, 42vw, 300px);
    }
    .contact-glow-4 {
      top: 62%;
      left: 10%;
      width: clamp(120px, 20vw, 180px);
    }
    .contact-glow-5 {
      left: 52%;
      width: clamp(66px, 10vw, 88px);
    }
    .contact-glow-6 {
      right: -6%;
      width: clamp(170px, 32vw, 240px);
    }
  }
  @media (max-width: 760px) {
    .mgrid { grid-template-columns: 1fr; gap: 40px; }
    .method-glow-1 {
      top: 10%;
      right: -18%;
      width: clamp(150px, 42vw, 220px);
    }
    .method-glow-2 {
      top: 24%;
      left: -10%;
      width: clamp(90px, 18vw, 130px);
    }
    .method-glow-3 {
      bottom: 2%;
      right: -24%;
      width: clamp(180px, 56vw, 300px);
    }
    .method-glow-4 {
      top: 62%;
      left: 6%;
      width: clamp(110px, 26vw, 160px);
    }
    .method-glow-5 {
      bottom: 18%;
      left: 38%;
      width: clamp(72px, 16vw, 96px);
    }
    .method-glow-6 {
      top: 42%;
      right: 6%;
      width: clamp(160px, 44vw, 240px);
    }
    .contact-glow-1 {
      left: -10%;
      width: clamp(120px, 30vw, 180px);
    }
    .contact-glow-2 {
      top: 22%;
      right: 10%;
      width: clamp(62px, 12vw, 84px);
    }
    .contact-glow-3 {
      right: -22%;
      width: clamp(170px, 52vw, 260px);
    }
    .contact-glow-4 {
      top: 64%;
      left: 6%;
      width: clamp(96px, 22vw, 140px);
    }
    .contact-glow-5 {
      left: 58%;
      width: clamp(56px, 10vw, 72px);
    }
    .contact-glow-6 {
      right: -12%;
      width: clamp(140px, 36vw, 210px);
    }
  }

  /* closing */
  .closing { text-align: center; padding: clamp(130px, 24vh, 300px) 0; }
  .closing .micro { display: block; margin-bottom: 34px; }
  .closing h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 7.5vw, 130px); line-height: 0.98; letter-spacing: -0.015em; }
  .closing h2 em { font-style: italic; color: var(--soft); }
  .closing .actions { margin-top: clamp(48px, 7vh, 80px); display: flex; gap: 26px; justify-content: center; align-items: center; flex-wrap: wrap; }

  /* subfooter contact */
  .subfooter-panel {
    position: relative;
    z-index: 13;
    margin-top: 0;
    padding: 0 clamp(18px, 3vw, 34px) 22px;
  }
  .subfooter-panel .wrap {
    position: relative;
    z-index: 2;
  }
  .subfooter-glass {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(340px, 1.05fr);
    gap: clamp(28px, 4vw, 54px);
    align-items: start;
    padding: clamp(26px, 3.8vw, 42px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%),
      rgba(8,7,6,0.56);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    box-shadow: 0 18px 44px rgba(0,0,0,0.28);
  }
  .subfooter-copy h3 {
    margin: 10px 0 20px;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(30px, 4.4vw, 60px);
    line-height: 0.96;
    letter-spacing: -0.015em;
  }
  .subfooter-meta {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
  }
  .subfooter-meta a {
    font-family: var(--body);
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--soft);
  }
  .subfooter-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  .subfooter-socials a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.04);
    color: rgba(232,228,219,0.82);
    transition: background .3s ease, border-color .3s ease, color .3s ease, transform .3s ease;
  }
  .subfooter-socials a:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.22);
    color: var(--ink);
    transform: translateY(-1px);
  }
  .subfooter-socials svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .subfooter-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .subfooter-form label {
    display: grid;
    gap: 8px;
  }
  .subfooter-form label span {
    font-family: var(--body);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--faint);
  }
  .subfooter-form-full {
    grid-column: 1 / -1;
  }
  .subfooter-form input,
  .subfooter-form textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    color: var(--ink);
    font: inherit;
    padding: 14px 16px;
    outline: none;
    transition: border-color .25s ease, background .25s ease;
  }
  .subfooter-form input:focus,
  .subfooter-form textarea:focus {
    border-color: rgba(232,228,219,0.34);
    background: rgba(255,255,255,0.05);
  }
  .subfooter-form textarea {
    min-height: 132px;
    resize: vertical;
  }
  .subfooter-form .btn-out {
    justify-self: start;
    margin-top: 4px;
  }

  /* footer */
  footer {
    position: relative;
    z-index: 14;
    margin-top: clamp(-112px, -10vw, -64px);
    padding: 33px 0px 33px 0px;
    border-top: 1px solid rgba(255,255,255,0.10);
    background:
      linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.012) 100%),
      rgba(8,7,6,0.54);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    box-shadow: 0 -18px 48px rgba(0,0,0,0.24);
  }
  .foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
  .foot .signature { display: block; height: clamp(40px, 4vw, 54px); width: auto; opacity: 0.5; margin: 0; transition: opacity .5s ease; }
  .foot .fname-group:hover .signature { opacity: 0.72; }
  .foot .fmeta { display: flex; gap: clamp(20px, 3vw, 44px); }
  .foot .fmeta a, .foot .fmeta span { font-family: var(--body); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft); transition: color .3s; }
  .foot .fmeta a:hover { color: var(--ink); }
  .foot-base { margin-top: 36px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .foot-base span { font-family: var(--body); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }

  @media (max-width: 900px) {
    .subfooter-glass {
      grid-template-columns: 1fr;
    }
  }
  @media (max-width: 640px) {
    .subfooter-panel {
      margin-top: clamp(-92px, -14vw, -52px);
      padding-bottom: 18px;
    }
    .subfooter-glass {
      padding: 22px;
      gap: 22px;
    }
    .subfooter-form {
      grid-template-columns: 1fr;
    }
    .subfooter-copy h3 {
      font-size: clamp(28px, 9vw, 42px);
    }
  }

  /* reveal — opacity only, transform reserved for parallax */
  .reveal { opacity: 0; transition: opacity 1.2s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; }
    [data-speed] { transform: none !important; }
    .hero-scroll .ln { animation: none; }
    html { scroll-behavior: auto; }
  }

  .grain { position: fixed; inset: 0; z-index: 120; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
  .petal-burst {
    position: fixed;
    inset: 0;
    z-index: 9;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.28s ease;
  }
  .petal-burst.active { opacity: 1; }
