:root{
  --bg:#ffffff;
  --bg-dark:#0B0D10;
  --bg-dark-2:#14171C;
  --ink:#14181F;
  --ink-soft:#5B6472;
  --ink-faint:#9AA3B0;
  --line:#E6E9ED;
  --line-dark:#262B33;
  --surface:#F5F6F8;
  --blue:#0A4AAD;
  --blue-bright:#3467E3;
  --blue-deep:#073571;
  --blue-soft:#EAF0FC;
  --white-soft:rgba(255,255,255,.72);
  --white-faint:rgba(255,255,255,.5);
  --grad-ai: linear-gradient(135deg,#6E7BFB,#33C8F0);
  --maxw:1180px;
  --site-font-family:'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  --heading-scale:1;
  --body-scale:1;
  --section-spacing-scale:1;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
@media(min-width:901px){ html{ scroll-snap-type:none; } }
body{
  font-family:var(--site-font-family);
  color:var(--ink); background:var(--bg); line-height:1.5; -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
.mono{ font-family:'IBM Plex Mono', monospace; letter-spacing:.02em; }
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
button{font-family:inherit; cursor:pointer;}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 32px;}
@media(max-width:720px){ .wrap{padding:0 24px;} }
@media(max-width:420px){ .wrap{padding:0 20px;} }

/* ---------- scroll progress ---------- */
.film-progress{ position:fixed; top:0; left:0; width:100%; height:3px; z-index:999; background:var(--line); pointer-events:none; }
.film-progress::before{ content:""; display:block; height:100%; width:var(--p, 0%); background:var(--blue); transition:width .05s linear; }

/* ---------- nav ---------- */
header{ position:fixed; top:3px; left:0; width:100%; z-index:900; background:rgba(255,255,255,.86); backdrop-filter:blur(10px); border-bottom:1px solid transparent; transition:border-color .25s, background .25s; }
header.scrolled{ border-bottom-color:var(--line); }
header.dark-mode{ background:rgba(11,13,16,.8); }
header.dark-mode.scrolled{ border-bottom-color:var(--line-dark); }
.nav-inner{ width:100%; margin:0; padding:16px 40px; display:flex; align-items:center; justify-content:space-between; box-sizing:border-box; }
.logo{ display:inline-flex; align-items:center; gap:9px; position:relative; flex:none; }
.logo img{ height:28px; width:auto; display:block; }
.logo .logo-color{ display:block; }
.logo .logo-white{ display:none; }
header.dark-mode .logo .logo-color{ display:none; }
header.dark-mode .logo .logo-white{ display:block; }
footer .logo img{ height:20px; }
.nav-links{ display:flex; align-items:center; gap:32px; flex:none; }
.nav-links a{ font-size:14px; font-weight:600; color:var(--ink-soft); position:relative; padding:4px 0; white-space:nowrap; }
header.dark-mode .nav-links a{ color:#fff; }
.nav-links a:hover{ color:var(--ink); }
header.dark-mode .nav-links a:hover{ color:#fff; }
.nav-links a.current{ color:var(--ink); }
header.dark-mode .nav-links a.current{ color:#fff; }
.nav-cta{ color:var(--ink) !important; font-size:14px; font-weight:700; padding:4px 0; position:relative; }
.nav-cta::after{ content:""; position:absolute; left:0; right:0; bottom:-2px; height:1.5px; background:currentColor; transform:scaleX(0); transform-origin:right; transition:transform .25s ease; }
.nav-cta:hover::after{ transform:scaleX(1); transform-origin:left; }
header.dark-mode .nav-cta{ color:#fff !important; }
.nav-toggle{ display:none; flex-direction:column; gap:4px; background:none; border:none; padding:6px; }
.nav-toggle span{ width:20px; height:2px; background:var(--ink); }
header.dark-mode .nav-toggle span{ background:#fff; }
@media(max-width:900px){
  .nav-links{ position:fixed; top:0; right:0; height:100vh; width:min(78vw,320px); background:#fff; flex-direction:column; align-items:flex-start; padding:100px 32px 40px; gap:26px; transform:translateX(100%); transition:transform .35s ease; box-shadow:-8px 0 40px rgba(0,0,0,.08); }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a{ font-size:17px; color:var(--ink); }
  .nav-toggle{ display:flex; }
}

section{ position:relative; }
.eyebrow{ display:inline-flex; align-items:center; gap:8px; font-family:'IBM Plex Mono', monospace; font-size:12.5px; font-weight:500; color:var(--ink-faint); letter-spacing:.06em; text-transform:uppercase; margin-bottom:18px; }
.eyebrow::before{ content:""; width:14px; height:1px; background:var(--ink-faint); }
h1,h2{ letter-spacing:-.03em; font-weight:900; }
h3{ letter-spacing:-.02em; font-weight:800; }
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in{ opacity:1; transform:translateY(0); }
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head h2{ font-size:calc(clamp(26px,3.2vw,38px) * var(--heading-scale)); line-height:1.32; }
.section-head p{ margin-top:16px; color:var(--ink-soft); font-size:calc(16px * var(--body-scale)); line-height:1.75; }

/* ---------- 01 HERO ---------- */
.hero{
  min-height:100vh; min-height:100dvh; overflow-x:hidden;
  scroll-snap-align:start;
  display:flex; flex-direction:column; justify-content:flex-end;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.05), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(255,255,255,.04), transparent 50%),
    linear-gradient(180deg,#0B0D10 0%, #0F1217 60%, #14171C 100%);
  color:#fff; padding:190px 0 60px; box-sizing:border-box;
}
.hero-reel{ position:absolute; inset:0; z-index:0; display:flex; align-items:center; justify-content:center; }
.hero-reel .frame{ position:absolute; border:1px solid rgba(255,255,255,.08); border-radius:16px; }
.hero-inner{ position:relative; z-index:2; }
.hero-tag{ font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--white-soft); letter-spacing:.08em; text-transform:uppercase; margin-bottom:22px; display:flex; align-items:center; gap:10px; }
#heroTagText{ transition:opacity .3s ease; }
.hero-tag .dot{ width:6px; height:6px; border-radius:50%; background:#fff; box-shadow:0 0 0 4px rgba(255,255,255,.18); }
.hero h1{ font-size:calc(clamp(26px, 4.2vw, 46px) * var(--heading-scale)); line-height:1.28; letter-spacing:-.02em; max-width:680px; }
.hero p{ margin-top:20px; font-size:calc(clamp(14px,1.3vw,15.5px) * var(--body-scale)); color:var(--white-soft); max-width:520px; font-weight:500; line-height:1.7; }
.hero-ctas{ margin-top:36px; display:flex; gap:14px; flex-wrap:wrap; }
.btn-primary{ background:transparent; border:1.5px solid rgba(255,255,255,.9); color:#fff; padding:13px 24px; border-radius:100px; font-size:14.5px; font-weight:700; display:inline-flex; align-items:center; gap:8px; transition:all .2s; }
.btn-primary:hover{ background:rgba(255,255,255,.1); border-color:#fff; }
.btn-text{ color:#fff; padding:13px 22px; font-size:14.5px; font-weight:700; display:inline-flex; align-items:center; gap:8px; border:1.5px solid rgba(255,255,255,.35); border-radius:100px; background:rgba(255,255,255,.12); transition:all .2s; }
.btn-text:hover{ border-color:rgba(255,255,255,.8); background:rgba(255,255,255,.2); }
.hero-stats-row{ position:relative; z-index:2; margin-top:52px; border-top:1px solid var(--line-dark); padding-top:28px; display:flex; }
.hero-stat{ flex:1; padding:0 26px; border-left:1px solid var(--line-dark); }
.hero-stat:first-child{ border-left:none; padding-left:0; }
.hero-stat .num{ font-size:clamp(22px,2.6vw,30px); font-weight:800; color:#fff; letter-spacing:-.02em; }
.hero-stat .label{ margin-top:6px; font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--white-soft); font-weight:600; letter-spacing:.02em; }
.hero-stat .sub{ margin-top:3px; font-size:12.5px; color:var(--ink-faint); }
@media(max-width:760px){ .hero-stats-row{ flex-direction:column; gap:18px; } .hero-stat{ border-left:none; padding:0; border-top:1px solid var(--line-dark); padding-top:14px; } .hero-stat:first-child{ border-top:none; padding-top:0; } }
.hero-note{ position:relative; z-index:2; margin-top:14px; font-size:11.5px; color:var(--ink-faint); font-family:'IBM Plex Mono',monospace; }
.hero-bottom{ position:relative; z-index:2; margin-top:44px; padding-bottom:72px; display:flex; justify-content:flex-end; }
.scroll-hint{ display:flex; align-items:center; gap:10px; color:var(--ink-faint); font-size:12.5px; font-family:'IBM Plex Mono',monospace; }
.scroll-hint .bar{ width:1px; height:26px; background:linear-gradient(#fff, transparent); position:relative; overflow:hidden; }

/* ---------- 02 ABOUT ---------- */
.about{ padding-top:calc(130px * var(--section-spacing-scale)); padding-bottom:calc(130px * var(--section-spacing-scale)); background:var(--bg); min-height:100vh; min-height:100dvh; scroll-snap-align:start; box-sizing:border-box; display:flex; flex-direction:column; justify-content:center; }
.about-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:70px; align-items:start; }
@media(max-width:900px){ .about-grid{ grid-template-columns:1fr; gap:34px; } .about{padding-top:90px; padding-bottom:90px;} .about-copy{ padding-top:0; } }
.about h2{ font-size:calc(clamp(26px,3.2vw,38px) * var(--heading-scale)); line-height:1.35; }
.about-copy p{ font-size:calc(17.5px * var(--body-scale)); color:var(--ink-soft); line-height:1.85; margin-bottom:26px; }
.about-copy{ padding-top:42px; }
.about-emphasis{ font-size:clamp(19px,2.2vw,23px); font-weight:800; line-height:1.55; color:var(--ink); margin-bottom:22px; }
.about-tagline{ font-size:14.5px; color:var(--ink); font-weight:800; }

/* ---------- 03 WHAT WE DO ---------- */
.wwd{ padding-top:calc(110px * var(--section-spacing-scale)); padding-bottom:calc(60px * var(--section-spacing-scale)); background:var(--bg); min-height:100vh; min-height:100dvh; scroll-snap-align:start; box-sizing:border-box; display:flex; flex-direction:column; justify-content:center; }

/* ---------- WHAT WE DO 대표 영상 쇼케이스(캐러셀) ---------- */
.showcase{ position:relative; border-radius:20px; overflow:hidden; aspect-ratio:16/8; max-height:56vh; background:#0B0D10; }
.showcase-track{ position:relative; width:100%; height:100%; }
.showcase-slide{ position:absolute; inset:0; opacity:0; visibility:hidden; pointer-events:none; }
.showcase-slide.active{ opacity:1; visibility:visible; pointer-events:auto; z-index:2; }
.showcase-slide video, .showcase-slide .showcase-img{ width:100%; height:100%; object-fit:cover; background-color:#20242c; background-size:cover; background-position:center; }
.showcase-slide::after{ content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.15) 45%, transparent 70%); }
.showcase-overlay{ position:absolute; left:0; right:0; bottom:0; z-index:2; padding:40px 48px 36px; color:#fff; }
.showcase-client{ font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:.04em; color:rgba(255,255,255,.8); margin-bottom:4px; }
.showcase-title{ font-size:clamp(19px,2.3vw,26px); font-weight:800; letter-spacing:-.01em; margin-bottom:22px; line-height:1.3; }
.showcase-feature{
  display:inline-block; font-size:12.5px; color:#fff; line-height:1.5; max-width:560px;
  border:1px solid rgba(255,255,255,.45); border-radius:100px; padding:9px 20px;
}
.showcase-numbers{
  position:absolute; left:50%; bottom:24px; transform:translateX(-50%); z-index:3; display:flex; align-items:center; gap:7px;
  font-family:'IBM Plex Mono',monospace; font-size:11px;
}
.showcase-numbers button{ appearance:none; background:none; border:none; color:rgba(255,255,255,.5); padding:2px; transition:color .2s; font-weight:600; cursor:pointer; }
.showcase-numbers button.active{ color:#fff; }
.showcase-numbers .dash{ width:14px; height:1px; background:rgba(255,255,255,.4); }
.showcase-numbers .dash.long{ width:34px; }
.showcase-numbers .showcase-num-arrow{ font-family:inherit; font-size:15px; line-height:1; color:rgba(255,255,255,.55); padding:2px 6px; margin:0; font-weight:400; }
.showcase-numbers .showcase-num-arrow:first-child{ margin-right:5px; }
.showcase-numbers .showcase-num-arrow:last-child{ margin-left:5px; }
.showcase-numbers .showcase-num-arrow:hover{ color:#fff; }
@media(max-width:760px){
  .showcase{ aspect-ratio:4/5; max-height:none; }
  .showcase-overlay{ padding:24px; padding-bottom:56px; }
  .showcase-feature{ max-width:100%; }
  .showcase-numbers{ bottom:18px; }
}

/* ---------- 04 WHY HANSOL ---------- */
.why{ padding-top:calc(110px * var(--section-spacing-scale)); padding-bottom:calc(110px * var(--section-spacing-scale)); background:var(--bg); min-height:100vh; min-height:100dvh; scroll-snap-align:start; box-sizing:border-box; display:flex; flex-direction:column; justify-content:center; }
.why-top{ display:grid; grid-template-columns:.8fr 1.2fr; gap:44px; align-items:start; margin-bottom:56px; }
@media(max-width:820px){ .why-top{ grid-template-columns:1fr; gap:24px; } }
.why-top .shot{ aspect-ratio:16/9; border-radius:16px; background-color:var(--surface); background-size:cover; background-position:center; background-repeat:no-repeat; position:relative; overflow:hidden; display:flex; align-items:center; justify-content:center; color:var(--ink-faint); font-size:13px; font-family:'IBM Plex Mono',monospace; text-align:center; padding:10px; }
.why-list{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:18px; overflow:hidden; }
@media(max-width:900px){ .why-list{ grid-template-columns:1fr 1fr; } }
@media(max-width:560px){ .why-list{ grid-template-columns:1fr; } }
.why-item{ background:#fff; padding:32px 26px; }
.why-item .ic{ width:38px; height:38px; border-radius:10px; background:var(--blue-soft); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.why-item .ic svg{ width:19px; height:19px; }
.why-item .num{ font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--ink-faint); font-weight:600; margin-bottom:8px; display:block; }
.why-item h3{ font-size:15.5px; margin-bottom:10px; line-height:1.4; }
.why-item p{ font-size:calc(13px * var(--body-scale)); color:var(--ink-soft); line-height:1.75; }

/* ---------- 05 CLIENTS ---------- */
.clients{ padding-top:calc(90px * var(--section-spacing-scale)); padding-bottom:calc(90px * var(--section-spacing-scale)); background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); min-height:100vh; min-height:100dvh; scroll-snap-align:start; box-sizing:border-box; display:flex; flex-direction:column; justify-content:center; }
.clients-row{ margin-bottom:50px; text-align:center; max-width:640px; margin-left:auto; margin-right:auto; }
.clients-logo-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:16px; overflow:hidden; }
@media(max-width:900px){ .clients-logo-grid{ grid-template-columns:repeat(3,1fr); } }
@media(max-width:560px){ .clients-logo-grid{ grid-template-columns:repeat(2,1fr); } }
.client-logo{ background:#fff; aspect-ratio:2.4/1; display:flex; align-items:center; justify-content:center; padding:14px; }
.client-logo .name{ font-weight:700; font-size:14px; color:var(--ink-soft); letter-spacing:-.01em; text-align:center; }
.client-logo .ph{ font-size:9.5px; font-family:'IBM Plex Mono',monospace; color:var(--ink-faint); margin-top:4px; text-align:center; }
.clients-cta{ margin-top:46px; text-align:center; }
.clients-cta p{ font-size:15.5px; font-weight:700; color:var(--ink); line-height:1.7; margin-bottom:18px; }
.btn-dark{ background:var(--ink); color:#fff; padding:13px 22px; border-radius:100px; font-size:14px; font-weight:700; display:inline-flex; align-items:center; gap:8px; transition:background .2s; }
.btn-dark:hover{ background:#333; }
.btn-outline-dark{ border:1px solid var(--line); color:var(--ink); padding:13px 22px; border-radius:100px; font-size:14px; font-weight:700; display:inline-flex; align-items:center; gap:8px; transition:all .2s; background:#fff; }
.btn-outline-dark:hover{ border-color:var(--ink); color:var(--ink); }

/* ---------- WORKS (portfolio page) ---------- */
.works-hero{ padding-top:calc(150px * var(--section-spacing-scale)); padding-bottom:calc(60px * var(--section-spacing-scale)); background:var(--bg); border-bottom:1px solid var(--line); }
.works-hero .eyebrow{ margin-bottom:18px; }
.works-hero h1{ font-size:calc(clamp(28px,4vw,44px) * var(--heading-scale)); line-height:1.3; }
.works-hero p{ margin-top:16px; color:var(--ink-soft); font-size:calc(16px * var(--body-scale)); max-width:560px; line-height:1.75; }
.work{ padding-top:calc(60px * var(--section-spacing-scale)); padding-bottom:calc(130px * var(--section-spacing-scale)); background:var(--bg); }
.work-tabs{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:44px; }
.work-tab{ padding:10px 18px; border-radius:100px; font-size:13.5px; font-weight:700; background:var(--surface); border:1px solid var(--line); color:var(--ink-soft); transition:all .2s; }
.work-tab.active{ background:var(--ink); border-color:var(--ink); color:#fff; }
.work-tab:hover:not(.active){ border-color:var(--ink); color:var(--ink); }
.work-grid-light{ display:flex; flex-wrap:wrap; justify-content:center; gap:20px; }
@media(max-width:560px){ .work-grid-light{ gap:16px; } }
.work-item{ flex:1 1 260px; max-width:280px; }
.work-grid-light.count-1 .work-item.show{ flex-basis:440px; max-width:480px; }
.work-grid-light.count-2 .work-item.show{ flex-basis:340px; max-width:360px; }
.work-item{ display:none; }
.work-item.show{ display:block; }
.work-card{ display:block; }
.work-thumb{
  aspect-ratio:16/9; border-radius:16px; position:relative; overflow:hidden;
  background-color:#EEF0F3;
  background-image:radial-gradient(circle at 25% 20%, rgba(0,0,0,.03), transparent 45%);
  background-size:cover; background-position:center; background-repeat:no-repeat;
  background-origin:content-box; background-clip:content-box; padding:12px;
  display:flex; align-items:center; justify-content:center; border:1px solid var(--line);
}
.work-thumb .play{ width:48px; height:48px; border-radius:50%; background:rgba(20,24,31,.5); display:flex; align-items:center; justify-content:center; transition:transform .25s, background .25s; }
.work-card:hover .work-thumb .play{ transform:scale(1.08); background:var(--ink); }
.work-thumb .play::after{ content:""; width:0; height:0; margin-left:3px; border-top:7px solid transparent; border-bottom:7px solid transparent; border-left:11px solid #fff; }
.work-thumb .ph-badge{ position:absolute; top:14px; left:14px; font-family:'IBM Plex Mono',monospace; font-size:10px; color:var(--ink-faint); background:#fff; border:1px solid var(--line); padding:4px 9px; border-radius:100px; letter-spacing:.04em; }
.work-thumb .thumb-overlay{
  position:absolute; left:0; right:0; bottom:0; padding:16px 14px 12px;
  background:linear-gradient(to top, rgba(10,12,15,.82), transparent 75%);
  color:#fff; text-align:left;
}
.work-thumb .thumb-overlay .client{ font-weight:700; font-size:14.5px; }
.work-thumb .thumb-overlay .title{ font-size:12px; color:rgba(255,255,255,.75); margin-top:2px; }
.work-meta{ margin-top:10px; }
.work-meta .tags{ display:flex; gap:6px; flex-wrap:wrap; }
.work-meta .tags span{ font-size:11px; font-family:'IBM Plex Mono',monospace; color:var(--ink-soft); background:var(--surface); border:1px solid var(--line); border-radius:100px; padding:3px 9px; }

/* ---------- CONTACT ---------- */
.contact{ padding-top:calc(100px * var(--section-spacing-scale)); padding-bottom:calc(50px * var(--section-spacing-scale)); background:var(--bg-dark); color:#fff; min-height:100vh; min-height:100dvh; scroll-snap-align:start; box-sizing:border-box; display:flex; flex-direction:column; justify-content:center; }
.contact .eyebrow{ color:var(--white-faint); }
.contact .eyebrow::before{ background:var(--white-faint); }
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:70px; }
@media(max-width:900px){ .contact-grid{ grid-template-columns:1fr; gap:44px; } }
.contact h2{ font-size:calc(clamp(32px,4.6vw,56px) * var(--heading-scale)); line-height:1.18; }
.contact-copy{ color:var(--white-soft); margin-top:20px; font-size:calc(16px * var(--body-scale)); line-height:1.85; max-width:440px; }
.contact-note{ margin-top:22px; font-size:14px; font-weight:700; color:#fff; }
.contact-info{ margin-top:40px; display:grid; gap:20px; }
.contact-info .row{ display:flex; justify-content:space-between; border-top:1px solid var(--line-dark); padding-top:16px; }
.contact-info .row .k{ font-size:13px; color:var(--ink-faint); font-family:'IBM Plex Mono',monospace; }
.contact-info .row .v{ font-size:14.5px; font-weight:600; text-align:right; }
.contact-info .row .v.todo{ color:var(--ink-faint); font-weight:500; font-style:italic; }
.form-card{ background:var(--bg-dark-2); border:1px solid var(--line-dark); border-radius:20px; padding:36px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
@media(max-width:520px){ .form-row{ grid-template-columns:1fr; } }
.form-card input, .form-card select, .form-card textarea{ width:100%; background:#0F1216; border:1px solid var(--line-dark); border-radius:10px; padding:13px 14px; color:#fff; font-size:14px; font-family:inherit; }
.form-card select{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA3B0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; background-size:16px; padding-right:40px;
}
.form-card label{ font-size:12.5px; color:var(--ink-faint); margin-bottom:7px; display:block; font-family:'IBM Plex Mono',monospace; }
.form-card textarea{ min-height:96px; resize:vertical; margin-bottom:22px; }
.form-card ::placeholder{ color:#4E5560; }
.submit-btn{ width:100%; background:var(--blue-bright); color:#fff; border:none; padding:16px; border-radius:12px; font-size:15px; font-weight:700; display:flex; align-items:center; justify-content:center; gap:8px; transition:background .2s; }
.submit-btn:hover{ background:var(--blue-deep); }

footer{ background:var(--bg-dark); border-top:1px solid var(--line-dark); padding:36px 0; color:var(--ink-faint); scroll-snap-align:start; }
.footer-inner{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; font-size:12.5px; }

::selection{ background:var(--ink); color:#fff; }
:focus-visible{ outline:2px solid var(--ink); outline-offset:3px; }
@media (prefers-reduced-motion: reduce){ *{ animation:none !important; transition:none !important; } html{ scroll-behavior:auto; } }

/* ---------- mobile spacing tune-up ---------- */
@media(max-width:760px){
  .wwd{ padding-bottom:80px; }
  .why{ padding-top:80px; padding-bottom:80px; }
  .clients{ padding-top:64px; padding-bottom:64px; }
  .work{ padding-top:50px; padding-bottom:80px; }
  .works-hero{ padding-top:120px; padding-bottom:40px; }
  .contact{ padding-top:80px; padding-bottom:60px; }
  .why-item{ padding:24px 20px; }
  .client-logo{ padding:12px; }
  .form-card{ padding:24px; }
  .section-head{ margin-bottom:36px; }
  .wwd-footnote{ font-size:12px; }
}

/* ---------- design pass: custom cursor, grain, marquee ---------- */
.cursor-ring{
  position:fixed; top:0; left:0; width:9px; height:9px; border-radius:50%;
  background:#fff; pointer-events:none; z-index:9999; opacity:0;
  transition:width .3s cubic-bezier(.2,.8,.3,1), height .3s cubic-bezier(.2,.8,.3,1), opacity .2s, background .3s, border-color .3s;
  mix-blend-mode:difference; display:flex; align-items:center; justify-content:center;
}
.cursor-ring.hover{ width:46px; height:46px; background:transparent; border:1px solid #fff; }
@media(pointer:coarse){ .cursor-ring{ display:none !important; } }
.work-card, .showcase{ cursor:none; }
@media(pointer:coarse){ .work-card, .showcase{ cursor:pointer; } }

.grain-overlay{
  position:fixed; inset:0; z-index:1000; pointer-events:none; opacity:.045; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* clients marquee */
.clients-marquee{ overflow:hidden; position:relative; }
.clients-marquee::before, .clients-marquee::after{ content:""; position:absolute; top:0; bottom:0; width:90px; z-index:2; pointer-events:none; }
.clients-marquee::before{ left:0; background:linear-gradient(90deg, var(--surface), transparent); }
.clients-marquee::after{ right:0; background:linear-gradient(270deg, var(--surface), transparent); }
.marquee-track{ display:flex; gap:16px; width:max-content; animation:marquee 32s linear infinite; }
.marquee-track:hover{ animation-play-state:paused; }
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
.marquee-track .client-logo{ flex:0 0 220px; width:220px; border-radius:14px; border:1px solid var(--line); }
@media(max-width:560px){ .marquee-track .client-logo{ flex:0 0 170px; width:170px; } }

/* ---------- design pass 2: sound toggle, hero tag rotation, odometer, contact copy, back-to-top ---------- */
.sound-toggle{
  position:absolute; right:32px; bottom:100px; z-index:3; width:40px; height:40px; border-radius:50%;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.25); color:#fff;
  display:flex; align-items:center; justify-content:center; cursor:pointer; transition:background .2s, border-color .2s;
}
.sound-toggle:hover{ background:rgba(255,255,255,.16); border-color:rgba(255,255,255,.5); }
.sound-toggle svg{ width:17px; height:17px; }

/* odometer digits */
.odometer{ display:inline-flex; vertical-align:bottom; }
.odometer-digit{ position:relative; height:1em; width:0.62em; overflow:hidden; display:inline-block; }
.odometer-digit .strip{ position:absolute; top:0; left:0; display:flex; flex-direction:column; transition:transform 1.6s cubic-bezier(.16,.84,.2,1); }
.odometer-digit .strip span{ height:1em; line-height:1; display:block; text-align:center; }

/* back to top */
.back-to-top{
  display:inline-flex; align-items:center; gap:6px; color:var(--ink-faint); font-size:12px;
  font-family:'IBM Plex Mono',monospace; letter-spacing:.04em; transition:color .2s;
}
.back-to-top:hover{ color:var(--ink); }
.back-to-top svg{ width:13px; height:13px; }
footer.dark .back-to-top, footer .back-to-top{ color:var(--ink-faint); }
footer .back-to-top:hover{ color:#fff; }

/* ---------- borderless image arrow button (restored) ---------- */
.img-arrow-btn{
  position:absolute; right:14px; bottom:14px; width:38px; height:38px; border-radius:50%;
  background:rgba(255,255,255,.9); display:flex; align-items:center; justify-content:center;
  transition:transform .25s ease, background .2s ease; z-index:2;
}
.img-arrow-btn svg{ width:15px; height:15px; }
a:hover .img-arrow-btn{ transform:scale(1.08); background:#fff; }
.work-thumb .img-arrow-btn{ background:rgba(255,255,255,.16); }
.work-thumb .img-arrow-btn svg{ stroke:#fff; }
.work-card:hover .work-thumb .img-arrow-btn{ background:rgba(255,255,255,.3); }
