/* =========================================================
   白噪 WHITE NOISE — personal site
   hand-written CSS · no framework · no build step
   ========================================================= */

/* ---------- tokens ---------- */
:root{
  --bg:        #0A0A0B;
  --bg-2:      #0C0C0E;
  --surface:   #121214;
  --line:      rgba(242,239,233,.11);
  --line-soft: rgba(242,239,233,.06);
  --fg:        #F2EFE9;
  --dim:       #8C877F;
  --accent:    #E1582F;
  --gold:      #C9A66B;

  --sans: "PingFang SC","HarmonyOS Sans SC","Source Han Sans SC","Noto Sans SC","Microsoft YaHei UI","Microsoft YaHei",system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono: "SF Mono",ui-monospace,"JetBrains Mono",Menlo,Consolas,"Courier New",monospace;
  --serif: "Times New Roman",Georgia,"Songti SC",serif;

  --r: 18px;
  --ease: cubic-bezier(.16,1,.3,1);
  --pad: clamp(20px,4.6vw,64px);
}

/* ---------- reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.7;
  letter-spacing:.01em;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
p{ text-wrap:pretty; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
::selection{ background:var(--accent); color:#0A0A0B; }

::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-track{ background:#0A0A0B; }
::-webkit-scrollbar-thumb{ background:#26262a; border-radius:10px; border:3px solid #0A0A0B; }
::-webkit-scrollbar-thumb:hover{ background:#3a3a40; }

body::before{
  content:""; position:fixed; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(900px 620px at 78% -10%, rgba(225,88,47,.10), transparent 66%),
    radial-gradient(760px 520px at 2% 34%, rgba(201,166,107,.045), transparent 70%);
}

/* ---------- global layers ---------- */
.grain{
  position:fixed; inset:0; z-index:60; pointer-events:none; opacity:.16;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.cursor-glow{
  position:fixed; left:0; top:0; width:620px; height:620px; z-index:1;
  pointer-events:none; border-radius:50%; opacity:0;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle,rgba(225,88,47,.11),transparent 62%);
  transition:opacity .7s ease;
  will-change:transform;
}
.cursor-glow.is-on{ opacity:1; }
.scroll-progress{
  position:fixed; top:0; left:0; height:2px; width:0; z-index:80;
  background:linear-gradient(90deg,var(--accent),var(--gold));
  transition:width .12s linear;
}

.wrap{
  width:100%; max-width:1320px; margin:0 auto; padding:0 var(--pad);
}
main{ position:relative; z-index:2; }

/* ---------- type helpers ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--mono); font-size:10.5px; letter-spacing:.22em;
  text-transform:uppercase; color:var(--dim);
}
.sec-title{
  margin-top:22px;
  font-size:clamp(1.9rem,4.1vw,3.35rem);
  line-height:1.12; letter-spacing:-.035em; font-weight:700;
}
.only-desktop{ display:inline; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:50;
  transition:background .4s ease, backdrop-filter .4s ease, border-color .4s ease;
  border-bottom:1px solid transparent;
}
.site-header.is-scrolled{
  background:rgba(10,10,11,.72);
  -webkit-backdrop-filter:blur(20px) saturate(150%);
  backdrop-filter:blur(20px) saturate(150%);
  border-bottom-color:var(--line-soft);
}
.header-inner{
  max-width:1320px; margin:0 auto;
  padding:18px var(--pad);
  display:flex; align-items:center; justify-content:space-between; gap:28px;
}
.brand{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--mono); font-size:11.5px; letter-spacing:.2em;
  color:var(--fg); white-space:nowrap;
}
.brand-dot{
  width:7px; height:7px; border-radius:50%; background:var(--accent);
  box-shadow:0 0 14px rgba(225,88,47,.9);
  animation:pulse 3.2s ease-in-out infinite;
}
.brand-text em{
  font-style:normal; color:var(--dim); margin-left:9px;
  letter-spacing:.12em; font-size:10.5px;
}
@keyframes pulse{
  0%,100%{ opacity:1; box-shadow:0 0 14px rgba(225,88,47,.9); }
  50%{ opacity:.55; box-shadow:0 0 4px rgba(225,88,47,.5); }
}

.nav{ display:flex; align-items:center; gap:clamp(18px,2.4vw,36px); }
.nav a{
  position:relative; font-size:13px; color:rgba(242,239,233,.66);
  transition:color .3s ease; padding:4px 0;
}
.nav a span{
  font-family:var(--mono); font-size:9.5px; color:rgba(242,239,233,.28);
  margin-right:6px; letter-spacing:.08em;
}
.nav a::after{
  content:""; position:absolute; left:0; bottom:0; width:100%; height:1px;
  background:var(--fg); transform:scaleX(0); transform-origin:right;
  transition:transform .45s var(--ease);
}
.nav a:hover{ color:var(--fg); }
.nav a:hover::after{ transform:scaleX(1); transform-origin:left; }

.header-cta{
  display:inline-flex; align-items:center; gap:8px;
  height:38px; padding:0 18px; border-radius:999px;
  border:1px solid rgba(242,239,233,.20);
  font-size:12.5px; letter-spacing:.04em;
  transition:border-color .4s ease, background .4s ease, color .4s ease;
  white-space:nowrap;
}
.header-cta svg{ width:13px; height:13px; stroke:currentColor; fill:none; stroke-width:1.8; }
.header-cta:hover{ background:var(--fg); color:#0A0A0B; border-color:var(--fg); }

.nav-toggle{
  display:none; width:40px; height:40px; align-items:center; justify-content:center;
  flex-direction:column; gap:6px; position:relative; z-index:75;
}
.nav-toggle span{
  display:block; width:20px; height:1.5px; background:var(--fg);
  transition:transform .4s var(--ease), opacity .3s ease;
}
.nav-toggle.is-open span:nth-child(1){ transform:translateY(3.75px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ transform:translateY(-3.75px) rotate(-45deg); }

section[id]{ scroll-margin-top:86px; }

/* mobile menu */
.mobile-menu{
  position:fixed; inset:0; z-index:70;
  background:rgba(9,9,10,.97);
  -webkit-backdrop-filter:blur(24px); backdrop-filter:blur(24px);
  display:flex; flex-direction:column; justify-content:center;
  padding:0 var(--pad);
  opacity:0; visibility:hidden; transition:opacity .5s ease, visibility .5s;
}
.mobile-menu.is-open{ opacity:1; visibility:visible; }
.mobile-menu nav{ display:flex; flex-direction:column; gap:6px; }
.mobile-menu nav a{
  display:flex; align-items:baseline; gap:14px;
  font-size:clamp(1.9rem,9vw,2.8rem); font-weight:600; letter-spacing:-.02em;
  padding:10px 0; border-bottom:1px solid var(--line-soft);
  opacity:0; transform:translateY(16px);
  transition:opacity .5s ease, transform .6s var(--ease);
}
.mobile-menu.is-open nav a{ opacity:1; transform:none; }
.mobile-menu.is-open nav a:nth-child(1){ transition-delay:.08s; }
.mobile-menu.is-open nav a:nth-child(2){ transition-delay:.14s; }
.mobile-menu.is-open nav a:nth-child(3){ transition-delay:.20s; }
.mobile-menu.is-open nav a:nth-child(4){ transition-delay:.26s; }
.mobile-menu.is-open nav a:nth-child(5){ transition-delay:.32s; }
.mobile-menu nav i{
  font-family:var(--mono); font-style:normal; font-size:11px;
  color:var(--accent); letter-spacing:.1em;
}
.mobile-menu-foot{
  position:absolute; left:var(--pad); right:var(--pad); bottom:36px;
  display:flex; justify-content:space-between;
  font-family:var(--mono); font-size:10.5px; letter-spacing:.12em; color:var(--dim);
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative; min-height:100svh;
  display:flex; align-items:center;
  padding:132px 0 48px; overflow:hidden;
}
.hero-bg{ position:absolute; inset:0; z-index:0; pointer-events:none; }
.orb{ position:absolute; border-radius:50%; filter:blur(80px); }
.orb-a{
  width:56vw; height:56vw; right:-14vw; top:-16vw;
  background:radial-gradient(circle,rgba(225,88,47,.32),transparent 64%);
  animation:float 20s ease-in-out infinite;
}
.orb-b{
  width:44vw; height:44vw; left:-16vw; bottom:-18vw;
  background:radial-gradient(circle,rgba(201,166,107,.16),transparent 66%);
  animation:float 26s ease-in-out infinite reverse;
}
@keyframes float{
  0%,100%{ transform:translate3d(0,0,0) scale(1); }
  50%{ transform:translate3d(-3%,4%,0) scale(1.08); }
}
.hero-grid{
  position:absolute; inset:0;
  background-image:linear-gradient(to right,var(--line-soft) 1px,transparent 1px);
  background-size:calc(100% / 6) 100%;
  -webkit-mask-image:radial-gradient(120% 90% at 50% 40%,#000 20%,transparent 78%);
  mask-image:radial-gradient(120% 90% at 50% 40%,#000 20%,transparent 78%);
}

.hero-wrap{ position:relative; z-index:2; }

.hero-top{
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  padding-bottom:16px; border-bottom:1px solid var(--line-soft);
  font-family:var(--mono); font-size:10.5px; letter-spacing:.16em;
  text-transform:uppercase; color:var(--dim);
}
.status{ display:inline-flex; align-items:center; gap:9px; }
.status i{
  width:6px; height:6px; border-radius:50%; background:#7BC47F;
  box-shadow:0 0 10px rgba(123,196,127,.8);
  animation:pulse 2.6s ease-in-out infinite;
}
.hero-top-right{ color:rgba(242,239,233,.4); }

.hero-stage{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) clamp(228px,25vw,350px);
  gap:clamp(22px,4vw,56px);
  align-items:end;
  margin-top:clamp(24px,4.4vh,52px);
}
.hero-copy{ position:relative; min-width:0; }



.hero-title{
  margin:clamp(16px,2.8vh,34px) 0 0;
  font-size:clamp(2.35rem,6.85vw,6.1rem);
  line-height:1.02; letter-spacing:-.034em; font-weight:700;
}
.hero-title .line{ display:block; white-space:nowrap; }

/* 描边字：标题里的关键词 */
.hollow{
  color:transparent;
  -webkit-text-stroke:1.8px var(--accent);
}
@supports not ((-webkit-text-stroke:1px #000)){
  .hollow{ color:var(--accent); }
}

.hero-sub{
  max-width:478px; margin-top:clamp(20px,3.2vh,34px);
  color:rgba(242,239,233,.58);
  font-size:clamp(12.8px,1.04vw,15px); line-height:1.9;
}
.hero-actions{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top:clamp(18px,2.8vh,30px);
}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  height:50px; padding:0 26px; border-radius:999px;
  font-size:13.5px; letter-spacing:.02em;
  transition:background .4s ease, color .4s ease, border-color .4s ease, transform .4s var(--ease);
  white-space:nowrap;
}
.btn svg{ width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:1.7; transition:transform .4s var(--ease); }
.btn-solid{ background:var(--fg); color:#0A0A0B; font-weight:600; }
.btn-solid:hover{ background:var(--accent); color:#0A0A0B; transform:translateY(-2px); }
.btn-solid:hover svg{ transform:translateX(3px); }
.btn-line{ border:1px solid rgba(242,239,233,.20); color:var(--fg); }
.btn-line:hover{ border-color:rgba(242,239,233,.55); background:rgba(242,239,233,.05); transform:translateY(-2px); }

/* ---------- 首屏人像位 ---------- */
.hero-portrait{
  position:relative; margin:0;
  display:flex; flex-direction:column; gap:11px;
}
.hp-frame{
  position:relative; overflow:hidden;
  aspect-ratio:3/4.15;
  border-radius:999px 999px 16px 16px;
  border:1px solid var(--line);
  background:
    radial-gradient(ellipse 88% 58% at 54% -4%, rgba(232,104,60,.72), transparent 60%),
    radial-gradient(ellipse 60% 40% at 82% 34%, rgba(255,196,140,.16), transparent 62%),
    linear-gradient(180deg,#1e1e21 0%,#0a0a0b 72%);
  isolation:isolate;
}
.hp-glow{
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 78% 10%, rgba(255,226,186,.30), transparent 44%),
    radial-gradient(circle at 18% 42%, rgba(118,148,190,.16), transparent 48%);
}
.hp-fig{ position:absolute; left:50%; bottom:-20%; width:110%; height:auto; }
.hp-fig-back{
  fill:url(#rimFade); opacity:.95;
  transform:translateX(-50%) translate(10px,-10px);
}
.hp-fig-front{ fill:#0E0E11; transform:translateX(-50%); }
.hp-img{
  position:absolute; inset:0; z-index:1;
  width:100%; height:100%; object-fit:cover;
  transition:transform 1.2s var(--ease);
}
.hp-frame:hover .hp-img{ transform:scale(1.03); }
.hp-dots{
  position:absolute; inset:0; z-index:2;
  background-image:radial-gradient(circle, rgba(255,255,255,.13) 1px, transparent 1.3px);
  background-size:5px 5px;
  mix-blend-mode:screen;
  opacity:.40;
}
.hp-frame:has(.hp-img) .hp-dots{ opacity:.16; }

.hp-meta{
  position:absolute; left:0; right:0; bottom:0; z-index:3;
  display:flex; justify-content:space-between;
  padding:16px 18px 13px;
  font-family:var(--mono); font-size:8.5px; letter-spacing:.16em;
  color:rgba(242,239,233,.60);
  background:linear-gradient(to top,rgba(6,6,7,.92),rgba(6,6,7,0));
}
.hero-portrait figcaption{
  font-family:var(--mono); font-size:9px; letter-spacing:.12em;
  color:rgba(242,239,233,.32); text-align:right;
}

.hero-foot{
  display:flex; align-items:center; flex-wrap:wrap; gap:clamp(14px,2.4vw,32px);
  margin-top:clamp(30px,4.8vh,58px);
  padding-top:16px;
  border-top:1px solid var(--line-soft);
  font-family:var(--mono); font-size:9.5px; letter-spacing:.18em;
  color:rgba(242,239,233,.34);
}
.hero-foot-item{ position:relative; }
.hero-foot-item::after{
  content:"·"; position:absolute; right:calc(-1 * clamp(7px,1.2vw,16px)); color:rgba(242,239,233,.18);
}
.hero-foot-item:last-of-type::after{ display:none; }
.hero-clock{ margin-left:auto; color:rgba(225,88,47,.75); letter-spacing:.14em; }

/* 贴在人像上的旋转印章 */
.badge{
  position:absolute; left:-40px; top:42%;
  width:92px; height:92px; z-index:4; pointer-events:none;
  border-radius:50%;
  border:1px solid rgba(242,239,233,.13);
  background:rgba(10,10,11,.62);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
}
.badge > svg{ width:100%; height:100%; animation:spin 26s linear infinite; }
.badge text{
  fill:rgba(242,239,233,.46);
  font-family:var(--mono); font-size:9px; letter-spacing:.3em;
}
.badge-core{
  position:absolute; inset:0; display:grid; place-items:center;
}
.badge-core svg{
  width:15px; height:15px; fill:none; stroke:var(--accent); stroke-width:1.6;
}
@keyframes spin{ to{ transform:rotate(360deg); } }

/* split chars */
.split .ch{ display:inline-block; }
.split.is-splitting .ch{
  opacity:0; transform:translateY(.5em);
  transition:opacity .85s var(--ease), transform .95s var(--ease);
  transition-delay:calc(var(--i) * 26ms + 80ms);
}
.split.is-splitting.is-ready .ch{ opacity:1; transform:none; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee{
  position:relative; z-index:2;
  overflow:hidden; padding:20px 0;
  border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft);
  background:rgba(255,255,255,.012);
}
.marquee-track{
  display:flex; align-items:center; gap:clamp(24px,3.4vw,52px);
  width:max-content; animation:marquee 46s linear infinite;
}
.marquee-track span{
  font-size:clamp(13px,1.35vw,16px); letter-spacing:.02em;
  color:rgba(242,239,233,.62); white-space:nowrap;
}
.marquee-track i{ color:var(--accent); font-style:normal; font-size:11px; opacity:.8; }
@keyframes marquee{ to{ transform:translateX(-50%); } }
.marquee:hover .marquee-track{ animation-play-state:paused; }

/* =========================================================
   STATS
   ========================================================= */
.stats-section{
  position:relative; z-index:2;
  padding:clamp(52px,7.5vw,88px) 0;
  border-bottom:1px solid var(--line-soft);
}
.stats-grid{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:clamp(14px,2.6vw,36px);
}
.stat{
  padding-left:clamp(12px,1.6vw,20px);
  border-left:1px solid var(--line);
}
.stat b{
  display:block; font-family:var(--mono); font-weight:300;
  font-size:clamp(1.9rem,3.3vw,2.9rem); line-height:1; letter-spacing:-.045em;
}
.stat b em{
  font-style:normal; font-size:.42em; color:var(--accent);
  margin-left:4px; vertical-align:.42em; letter-spacing:0;
}
.stat-label{
  display:block; margin-top:14px;
  font-size:11.5px; letter-spacing:.06em; color:var(--dim);
}

/* =========================================================
   SECTION SHELL
   ========================================================= */
.section{ position:relative; padding:clamp(76px,10.5vw,148px) 0; }
.section-alt{
  border-top:1px solid var(--line-soft);
  border-bottom:1px solid var(--line-soft);
  background:linear-gradient(180deg,rgba(255,255,255,.018),transparent 42%);
}

.sec-head{
  display:grid; grid-template-columns:1.12fr .88fr;
  gap:clamp(22px,5vw,80px); align-items:end;
  margin-bottom:clamp(38px,5.6vw,70px);
}
.sec-head-desc{
  color:var(--dim); font-size:14px; line-height:1.95; padding-bottom:6px;
}

/* reveal */
.reveal{
  transition:opacity .95s var(--ease), transform .95s var(--ease);
  transition-delay:var(--d,0s);
}
.js .reveal{ opacity:0; transform:translateY(26px); }
.reveal.in{ opacity:1; transform:none; }

/* =========================================================
   SERVICES
   ========================================================= */
.service-list{ border-top:1px solid var(--line); }
.service{
  position:relative;
  display:grid; grid-template-columns:72px 1fr 36px;
  gap:clamp(10px,2.2vw,36px);
  align-items:start;
  padding:clamp(24px,3.2vw,38px) 0;
  border-bottom:1px solid var(--line);
}
.service::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(90deg,rgba(225,88,47,.10),rgba(225,88,47,.02) 42%,transparent 72%);
  opacity:0; transition:opacity .55s ease;
}
.service:hover::before{ opacity:1; }
.svc-num{
  font-family:var(--mono); font-size:11px; letter-spacing:.1em;
  color:rgba(242,239,233,.38); padding-top:8px;
  transition:color .4s ease;
}
.service:hover .svc-num{ color:var(--accent); }
.svc-main h3{
  font-size:clamp(1.22rem,2.15vw,1.72rem);
  font-weight:600; letter-spacing:-.02em; line-height:1.35;
  transition:transform .55s var(--ease), color .4s ease;
}
.service:hover .svc-main h3{ transform:translateX(10px); color:#fff; }
.svc-main p{
  margin-top:11px; max-width:700px;
  color:var(--dim); font-size:14px; line-height:1.88;
  transition:transform .55s var(--ease), color .4s ease;
}
.service:hover .svc-main p{ transform:translateX(10px); color:rgba(242,239,233,.74); }
.svc-tags{
  display:flex; flex-wrap:wrap; gap:7px; margin-top:16px;
  transition:transform .55s var(--ease);
}
.service:hover .svc-tags{ transform:translateX(10px); }
.svc-tags li{
  padding:4px 11px; border:1px solid var(--line); border-radius:999px;
  font-size:11px; letter-spacing:.04em; color:rgba(242,239,233,.55);
}
.svc-mark{
  justify-self:end; padding-top:6px;
  font-size:16px; color:var(--accent);
  opacity:0; transform:translate(-8px,8px);
  transition:opacity .5s ease, transform .55s var(--ease);
}
.service:hover .svc-mark{ opacity:1; transform:none; }

/* =========================================================
   PROCESS
   ========================================================= */
.process-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:var(--line); border:1px solid var(--line);
}
.step{
  background:var(--bg-2); padding:clamp(20px,2.5vw,32px);
  transition:background .5s ease;
  display:flex; flex-direction:column;
}
.step:hover{ background:#141417; }
.step-top{
  display:flex; justify-content:space-between; align-items:baseline;
  font-family:var(--mono); font-size:10px; letter-spacing:.16em;
  color:rgba(242,239,233,.32); text-transform:uppercase;
}
.step-num{ color:var(--accent); }
.step h3{
  margin-top:clamp(22px,2.8vw,40px);
  font-size:clamp(1.1rem,1.55vw,1.36rem); font-weight:600; letter-spacing:-.01em;
}
.step p{
  margin-top:11px; font-size:13px; line-height:1.85; color:var(--dim); flex:1;
}
.step-out{
  display:block; margin-top:22px; padding-top:13px;
  border-top:1px solid var(--line-soft);
  font-family:var(--mono); font-size:10px; letter-spacing:.1em;
  color:rgba(242,239,233,.42);
}

/* =========================================================
   WORK
   ========================================================= */
.work-grid{
  display:grid; grid-template-columns:repeat(12,1fr);
  gap:clamp(30px,4vw,56px) clamp(18px,2.4vw,40px);
  align-items:start;
}
.case{ grid-column:span 7; --h:18; }
.case-sm{ grid-column:span 5; }
.case:nth-child(2){ margin-top:clamp(0px,3.6vw,52px); }

.case-cover{
  position:relative; overflow:hidden;
  border-radius:var(--r); border:1px solid var(--line-soft);
  aspect-ratio:16/10; background:#0d0d0f;
  isolation:isolate;
}
.case-sm .case-cover{ aspect-ratio:4/3.4; }
.cover-art{
  position:absolute; inset:-28%;
  transition:transform 1.2s var(--ease);
  background:
    radial-gradient(circle at 30% 32%, hsl(var(--h) 48% 42% / .46), transparent 52%),
    radial-gradient(circle at 76% 74%, hsl(calc(var(--h) + 40) 52% 36% / .26), transparent 50%),
    linear-gradient(155deg,#161618 0%,#0a0a0b 100%);
}
.cover-art::after{
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);
  background-size:54px 54px;
  -webkit-mask-image:radial-gradient(circle at 50% 50%,#000 10%,transparent 76%);
  mask-image:radial-gradient(circle at 50% 50%,#000 10%,transparent 76%);
}
.case:hover .cover-art{ transform:scale(1.07); }
.case-cover::after{
  content:""; position:absolute; inset:0; z-index:3;
  background:linear-gradient(to top,rgba(6,6,7,.55),transparent 55%);
  opacity:.9; transition:opacity .5s ease;
}
.case:hover .case-cover::after{ opacity:.55; }
.case-img{
  position:absolute; inset:0; z-index:1;
  width:100%; height:100%; object-fit:cover;
  transition:transform 1.2s var(--ease);
}
.case:hover .case-img{ transform:scale(1.05); }
.case-cover{ cursor:pointer; }
.case-cover:focus-visible{ outline:2px solid var(--accent); outline-offset:4px; }

.case-video{
  position:absolute; inset:0; z-index:2;
  width:100%; height:100%; object-fit:cover;
  opacity:0; transition:opacity .55s ease;
  pointer-events:none;
}
.case-cover.is-playing .case-video{ opacity:1; }
.case-cover.is-playing::after{ opacity:.35; }

.case-play{
  position:absolute; right:16px; bottom:16px; z-index:5;
  width:44px; height:44px; border-radius:50%;
  display:grid; place-items:center;
  border:1px solid rgba(242,239,233,.55);
  background:rgba(242,239,233,.90);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  transition:background .4s ease, border-color .4s ease, transform .4s var(--ease);
}
.case-play svg{ width:13px; height:13px; fill:#0A0A0B; margin-left:2px; transition:fill .4s ease; }
.case:hover .case-play{ background:var(--accent); border-color:var(--accent); transform:scale(1.08); }

.case-tag{
  position:absolute; left:16px; top:16px; z-index:4;
  padding:5px 11px; border-radius:999px;
  border:1px solid rgba(242,239,233,.18);
  background:rgba(10,10,11,.42);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  font-family:var(--mono); font-size:9.5px; letter-spacing:.14em;
  color:rgba(242,239,233,.82);
}

.case-body{ padding-top:20px; }
.case-body h3{
  display:flex; flex-wrap:wrap; align-items:baseline; gap:10px 12px;
  font-size:clamp(1.08rem,1.55vw,1.32rem); font-weight:600; letter-spacing:-.015em;
}
.case-body h3 span{
  font-family:var(--mono); font-size:10px; letter-spacing:.12em;
  color:var(--dim); font-weight:400;
}
.case-body > p{
  margin-top:9px; padding-right:3%;
  color:var(--dim); font-size:13.5px; line-height:1.8;
}
.case-stats{
  display:flex; flex-wrap:wrap; gap:clamp(18px,3vw,34px);
  margin-top:18px; padding-top:15px;
  border-top:1px solid var(--line-soft);
}
.case-stats b{
  display:block; font-family:var(--mono); font-size:1rem;
  font-weight:400; letter-spacing:-.02em; color:rgba(242,239,233,.92);
}
.case-stats span{ display:block; margin-top:2px; font-size:10.5px; color:rgba(242,239,233,.40); letter-spacing:.04em; }

.work-note{
  margin-top:clamp(40px,6vw,68px);
  font-size:13.5px; color:var(--dim);
}
.work-note a{
  color:var(--fg); border-bottom:1px solid rgba(225,88,47,.6);
  padding-bottom:2px; transition:color .3s ease;
}
.work-note a:hover{ color:var(--accent); }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid{
  display:grid; grid-template-columns:.92fr 1.08fr;
  gap:clamp(36px,6vw,88px); align-items:start;
}
.about-side{ position:relative; }

.dossier{
  position:relative;
  border:1px solid var(--line);
  border-radius:var(--r);
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.008));
  overflow:hidden;
}
.dossier::before{
  content:""; position:absolute; left:0; right:0; top:0; height:1px;
  background:linear-gradient(90deg,var(--accent),rgba(225,88,47,.15) 46%,transparent 78%);
}
.dossier-head{
  display:flex; justify-content:space-between; align-items:center;
  padding:16px 20px;
  border-bottom:1px solid var(--line);
  font-family:var(--mono); font-size:9px; letter-spacing:.2em;
  color:rgba(242,239,233,.32);
}
.dossier-list li{
  display:flex; align-items:baseline; justify-content:space-between; gap:18px;
  padding:14px 20px;
  border-bottom:1px solid var(--line-soft);
  transition:background .4s ease;
}
.dossier-list li:last-child{ border-bottom:0; }
.dossier-list li:hover{ background:rgba(255,255,255,.024); }
.dossier-list li > span{
  font-family:var(--mono); font-size:10px; letter-spacing:.16em;
  color:rgba(242,239,233,.38); flex-shrink:0;
}
.dossier-list li > b{
  font-weight:500; font-size:13px; letter-spacing:-.005em;
  color:rgba(242,239,233,.86); text-align:right;
}
.dossier-foot{
  display:flex; align-items:center; gap:8px;
  padding:15px 20px;
  border-top:1px solid var(--line);
  font-size:11.5px; color:rgba(123,196,127,.82);
}
.dossier-foot i{
  width:5px; height:5px; border-radius:50%; background:#7BC47F;
  box-shadow:0 0 8px rgba(123,196,127,.9);
  animation:pulse 2.6s ease-in-out infinite;
}


.about-copy .sec-title{ margin-top:20px; }
.about-text{ margin-top:26px; display:flex; flex-direction:column; gap:15px; }
.about-text p{
  color:rgba(242,239,233,.66); font-size:14.5px; line-height:1.95; max-width:56ch;
}
.about-text p:first-child{ color:rgba(242,239,233,.9); font-size:15.5px; }

.skill-list{ display:flex; flex-wrap:wrap; gap:8px; margin-top:30px; }
.skill-list li{
  padding:7px 14px; border:1px solid var(--line); border-radius:999px;
  font-size:12px; letter-spacing:.03em; color:rgba(242,239,233,.68);
  transition:border-color .4s ease, color .4s ease, background .4s ease;
}
.skill-list li:hover{ border-color:rgba(225,88,47,.5); color:var(--fg); background:rgba(225,88,47,.06); }

.about-links{
  display:flex; flex-wrap:wrap; gap:22px;
  margin-top:32px; padding-top:22px; border-top:1px solid var(--line-soft);
}
.about-links a{
  font-size:12.5px; color:var(--dim); letter-spacing:.04em;
  transition:color .3s ease, transform .3s var(--ease);
  display:inline-block;
}
.about-links a:hover{ color:var(--accent); transform:translateY(-2px); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact{
  position:relative; overflow:hidden;
  padding:clamp(88px,12vw,168px) 0 clamp(64px,8vw,110px);
  border-top:1px solid var(--line-soft);
}
.contact::before{
  content:""; position:absolute; left:50%; top:-10%; width:70vw; height:70vw;
  max-width:900px; max-height:900px; transform:translateX(-50%);
  background:radial-gradient(circle,rgba(225,88,47,.13),transparent 62%);
  filter:blur(70px); pointer-events:none;
}
.contact .wrap{ position:relative; z-index:2; }
.contact-title{
  margin:22px 0 clamp(46px,7vw,80px);
  font-size:clamp(2.35rem,6.8vw,5.8rem);
  line-height:1.02; letter-spacing:-.034em; font-weight:700;
}

.contact-grid{
  display:grid; grid-template-columns:1.45fr 1fr 1fr;
  border-top:1px solid var(--line);
}
.contact-item{
  position:relative;
  display:flex; flex-direction:column; gap:9px;
  padding:clamp(20px,2.8vw,32px) clamp(14px,2.6vw,34px);
  border-left:1px solid var(--line);
  border-bottom:1px solid var(--line);
  transition:background .45s ease;
}
.contact-item:first-child{ border-left:0; padding-left:0; }
a.contact-item:hover{ background:rgba(255,255,255,.022); }
.ci-label{
  font-family:var(--mono); font-size:9.5px; letter-spacing:.2em;
  color:rgba(242,239,233,.34); text-transform:uppercase;
}
.ci-value{
  font-size:clamp(.95rem,1.5vw,1.2rem); letter-spacing:-.01em;
  color:var(--fg);
}
.ci-arrow{
  position:absolute; right:clamp(14px,2.6vw,34px); top:clamp(20px,2.8vw,32px);
  color:var(--accent); font-size:14px;
  opacity:0; transform:translate(-6px,6px);
  transition:opacity .4s ease, transform .45s var(--ease);
}
a.contact-item:hover .ci-arrow{ opacity:1; transform:none; }
.ci-copy{
  align-self:flex-start;
  padding:3px 11px; border:1px solid var(--line); border-radius:999px;
  font-size:10.5px; letter-spacing:.06em; color:var(--dim);
  transition:color .3s ease, border-color .3s ease, background .3s ease;
}
.ci-copy:hover{ color:var(--fg); border-color:rgba(242,239,233,.4); background:rgba(255,255,255,.05); }
.ci-copy.is-done{ color:var(--accent); border-color:rgba(225,88,47,.5); }
.ci-status{
  display:inline-flex; align-items:center; gap:7px;
  font-size:11.5px; color:rgba(123,196,127,.85);
}
.ci-status i{
  width:5px; height:5px; border-radius:50%; background:#7BC47F;
  box-shadow:0 0 8px rgba(123,196,127,.9);
}
.contact-note{
  margin-top:26px; color:var(--dim); font-size:13px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  border-top:1px solid var(--line-soft);
  padding:26px 0 30px;
}
.footer-inner{
  display:flex; justify-content:space-between; align-items:center; gap:18px;
  flex-wrap:wrap;
  font-family:var(--mono); font-size:10.5px; letter-spacing:.1em;
  color:rgba(242,239,233,.34);
}
.footer-mid{ color:rgba(242,239,233,.2); }


/* =========================================================
   LIGHTBOX
   ========================================================= */
.lb{
  position:fixed; inset:0; z-index:120;
  display:grid; place-items:center;
  padding:clamp(16px,4vw,64px);
  background:rgba(6,6,7,.95);
  -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px);
  opacity:0; visibility:hidden;
  transition:opacity .4s ease, visibility .4s;
}
.lb.is-open{ opacity:1; visibility:visible; }
.lb-body{ display:grid; place-items:center; max-width:100%; max-height:100%; }
.lb-body video,.lb-body img{
  max-width:100%; max-height:86vh;
  border-radius:10px;
  background:#000;
  box-shadow:0 30px 90px rgba(0,0,0,.65);
}
.lb-close{
  position:absolute; top:clamp(14px,3vw,28px); right:clamp(14px,3vw,28px);
  width:44px; height:44px; border-radius:50%;
  display:grid; place-items:center;
  border:1px solid rgba(242,239,233,.24);
  background:rgba(10,10,11,.6);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  transition:background .35s ease, border-color .35s ease, transform .35s var(--ease);
}
.lb-close svg{ width:16px; height:16px; stroke:var(--fg); fill:none; stroke-width:1.8; }
.lb-close:hover{ background:var(--accent); border-color:var(--accent); transform:rotate(90deg); }
.lb-close:hover svg{ stroke:#0A0A0B; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1080px){
  .badge{ width:96px; height:96px; }
  .hero-title{ font-size:clamp(2.4rem,7.8vw,5rem); }
  .process-grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:900px){
  .nav{ display:none; }
  .header-cta{ display:none; }
  .nav-toggle{ display:flex; }
  .header-inner{ padding-top:14px; padding-bottom:14px; }

  .hero{ padding:104px 0 52px; min-height:auto; }
  .hero-stage{ grid-template-columns:1fr; gap:26px; align-items:start; }
  .hero-portrait{ order:-1; width:100px; gap:0; margin-bottom:2px; }
  .hp-frame{ aspect-ratio:1/1; border-radius:50%; }
  .hp-fig{ width:148%; top:-1%; bottom:auto; }
  .hp-fig-back{ transform:translateX(-50%) translate(3px,-4px); opacity:.8; }
  .hp-glow{ opacity:.8; }
  .hp-meta,.badge,.hero-portrait figcaption{ display:none; }
  .hero-foot{ gap:14px; }
  .hero-foot-item:nth-child(4),.hero-foot-item:nth-child(5){ display:none; }

  .sec-head{ grid-template-columns:1fr; align-items:start; gap:18px; }
  .sec-head-desc{ padding-bottom:0; }

  .service{ grid-template-columns:48px 1fr; }
  .svc-mark{ display:none; }
  .service:hover .svc-main h3,
  .service:hover .svc-main p,
  .service:hover .svc-tags{ transform:none; }

  .process-grid{ grid-template-columns:repeat(2,1fr); }

  .case,.case-sm{ grid-column:span 12; }
  .case:nth-child(2){ margin-top:0; }
  .case-cover,.case-sm .case-cover{ aspect-ratio:16/10; }

  .about-grid{ grid-template-columns:1fr; gap:32px; }
  .about-copy{ order:-1; }

  .contact-grid{ grid-template-columns:1fr; }
  .contact-item{ border-left:0; padding-left:0; }
  .ci-arrow{ right:0; }
}

@media (max-width:720px){
  .stats-grid{ grid-template-columns:repeat(2,1fr); gap:26px 18px; }
  .stat b{ font-size:2rem; }
  .stats-section{ padding:44px 0; }
  .split .ch{ animation-delay:calc(var(--i) * 18ms + 80ms); }
  .only-desktop{ display:none; }
}

@media (max-width:560px){
  .hero-title{ font-size:clamp(2rem,9.2vw,2.7rem); letter-spacing:-.032em; }
  .hollow{ -webkit-text-stroke-width:1.2px; }
  .hero-sub{ font-size:13px; }
  .hero-actions{ width:100%; }
  .btn{ flex:1; height:46px; padding:0 16px; font-size:13px; }
  .hero-foot-item::after{ display:none; }
  .hero-clock{ margin-left:0; }

  .process-grid{ grid-template-columns:1fr; }
  .step h3{ margin-top:18px; }
  .case-stats{ gap:18px; }
  .case-stats b{ font-size:.92rem; }

  .footer-inner{ flex-direction:column; align-items:flex-start; gap:8px; }
  .footer-mid{ display:none; }
}

/* =========================================================
   MOTION / PRINT
   ========================================================= */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
  .reveal{ opacity:1; transform:none; }
  .split .ch{ opacity:1; transform:none; }
}

@media print{
  .site-header,.grain,.cursor-glow,.badge,.marquee,.scroll-progress{ display:none !important; }
  body{ background:#fff; color:#111; }
}
