/* LAS Digital · site styles
   Type trio: Archivo 125% / 800 (wide caps) · Marck Script (handwritten accent) · Instrument Sans (text)
   Themes on <body data-theme>: ink · paper · pink. Sections switch it on scroll (site.js). */

@font-face { font-family: "Archivo"; src: url(../fonts/archivo-latin-wdth-normal.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Archivo"; src: url(../fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; src: url(../fonts/instrument-sans-latin-wght-normal.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Instrument Sans"; src: url(../fonts/instrument-sans-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Marck Script"; src: url(../fonts/marck-script-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+20AC; }
@font-face { font-family: "Marck Script"; src: url(../fonts/marck-script-latin-ext-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF,U+1E00-1EFF,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --ink: #14171c;
  --ink-2: #1e2229;
  --paper: #fffdf7;
  --paper-2: #f3efe4;
  --pink: #ff4f7b;
  --pink-deep: #e23b67;

  --bg: var(--ink);
  --fg: var(--paper);
  --muted: rgba(255, 253, 247, .68);
  --line: rgba(255, 253, 247, .18);
  --card: var(--ink-2);
  --accent: var(--pink);

  --f-caps: "Archivo", "Arial Black", sans-serif;
  --f-script: "Marck Script", "Brush Script MT", cursive;
  --f-text: "Instrument Sans", system-ui, sans-serif;

  /* fluid scale 390 -> 1440 */
  --t-display: clamp(1.42rem, .6rem + 3.4vw, 3.95rem);
  --t-display-lg: clamp(1.75rem, .7rem + 4.6vw, 5.4rem);
  --t-display-md: clamp(1.4rem, .9rem + 2.2vw, 3.2rem);
  --t-display-sm: clamp(1.25rem, .95rem + 1.4vw, 2.3rem);
  --t-script: clamp(3.4rem, 2.2rem + 5vw, 6.8rem);
  --t-lead-lg: clamp(1.3rem, 1.06rem + 1vw, 1.95rem);
  --t-lead: clamp(1.06rem, 1rem + .3vw, 1.28rem);
  --t-body: clamp(1rem, .97rem + .12vw, 1.08rem);
  --t-small: .84rem;

  --m: clamp(1.25rem, .82rem + 1.75vw, 2.4rem);   /* page margin */
  --sec: clamp(6rem, 4.1rem + 7.8vw, 10.5rem);     /* section spacing */
  --r: 10px;
  --r-lg: 14px;
  --ease: cubic-bezier(.625, .05, 0, 1);
  --spring: cubic-bezier(.35, 1.75, .6, 1);
  --nav-h: 76px;
}

body[data-theme="paper"] { --bg: var(--paper); --fg: var(--ink); --muted: rgba(20, 23, 28, .68); --line: rgba(20, 23, 28, .16); --card: var(--paper-2); }
/* paper sections are white on their own, no fade from dark while scrolling in */
[data-theme-to="paper"] { --bg: var(--paper); --fg: var(--ink); --muted: rgba(20, 23, 28, .68); --line: rgba(20, 23, 28, .16); --card: var(--paper-2); background: var(--paper); color: var(--fg); }
body[data-theme="pink"]  { --bg: var(--pink); --fg: var(--ink); --muted: rgba(20, 23, 28, .78); --line: rgba(20, 23, 28, .2); --card: #ff6a90; --accent: var(--ink); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 450 var(--t-body)/1.5 var(--f-text);
  transition: background-color .6s var(--ease), color .6s var(--ease);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
p, li { text-wrap: pretty; }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--paper); color: var(--ink); padding: .6rem 1rem; border-radius: 10px; }
.skip:focus { top: 1rem; }

/* ---------------------------------------------------------------- type */
.display {
  font: 800 expanded var(--t-display)/.9 var(--f-caps); text-transform: uppercase; letter-spacing: -.025em;
  text-wrap: balance; text-align: center; overflow-wrap: break-word;
}
.display-lg { font-size: var(--t-display-lg); }
.display-md { font-size: var(--t-display-md); line-height: 1; }
.display-sm { font-size: var(--t-display-sm); line-height: 1.02; }
.script {
  font-family: var(--f-script); font-weight: 400; text-transform: none; color: var(--accent);
  letter-spacing: 0; line-height: .6;
}
.display .script { display: inline-block; font-size: 1.3em; letter-spacing: 0; transform: rotate(-5deg) translateY(.06em); margin: 0 .05em; position: relative; z-index: 1; }
.lead { font-size: var(--t-lead); line-height: 1.45; color: var(--muted); max-width: 40rem; }
.lead-lg { font: 560 var(--t-lead-lg)/1.25 var(--f-text); max-width: 34rem; letter-spacing: -.01em; }
.label { font: 700 expanded .78rem/1.2 var(--f-caps); text-transform: uppercase; letter-spacing: .02em; margin-bottom: .7rem; }
.tag { font: 600 var(--t-small)/1.2 var(--f-text); color: var(--muted); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; height: 46px; padding: 0 1.15rem;
  background: var(--pink); color: var(--ink); border-radius: var(--r);
  font: 650 .95rem/1 var(--f-text); white-space: nowrap;
  transition: transform .5s var(--spring), background-color .3s;
}
.btn:hover { transform: scale(1.05) rotate(-1deg); background: var(--pink-deep); }
.btn .arr { width: 20px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .arr { animation: wiggle .3s steps(2) infinite; }
.btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { background: var(--card); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #2a2f37; }
body[data-theme="pink"] .btn:not(.btn-ghost) { background: var(--ink); color: var(--paper); }
@keyframes wiggle { 0% { transform: translateX(0) rotate(0) } 100% { transform: translateX(2px) rotate(-6deg) } }

/* ---------------------------------------------------------------- line motif */
.squiggle { position: absolute; pointer-events: none; overflow: visible; z-index: 0; }
.squiggle path { fill: none; stroke: var(--pink); stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.squiggle[data-color="ink"] path { stroke: var(--ink); }
body[data-theme="pink"] .squiggle path { stroke: var(--ink); }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--m);
  color: var(--fg); transition: transform .5s var(--ease), color .6s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav-logo { display: block; width: 150px; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.logo { width: 100%; height: auto; }
.nav-links { display: flex; gap: 1.4rem; font: 600 1rem/1 var(--f-text); padding: .7rem 1.1rem; border-radius: 999px; transition: background-color .4s; }
.nav.is-scrolled .nav-links { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-links a { position: relative; padding: .2rem 0; transition: opacity .3s; }
.nav-links:hover a:not(:hover) { opacity: .45; }
.uline { position: absolute; left: -4%; bottom: -.45rem; width: 108%; height: 9px; overflow: visible; }
.uline path { fill: none; stroke: var(--pink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 110; stroke-dashoffset: 110; transition: stroke-dashoffset .6s var(--ease); }
.nav-links a:hover .uline path, .nav-links a[aria-current] .uline path { stroke-dashoffset: 0; }
body[data-theme="pink"] .uline path { stroke: var(--ink); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--card); position: relative; z-index: 3; }
.nav-toggle i { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.nav-toggle i:first-child { top: 19px; } .nav-toggle i:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] i:first-child { top: 22.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-child { top: 22.5px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 2; background: rgba(10, 12, 15, .5); }
.menu[hidden] { display: none; }
.menu-card {
  position: absolute; left: 10px; right: 10px; top: 10px; padding: calc(var(--nav-h) + .5rem) 1.5rem 1.6rem;
  background: var(--ink-2); color: var(--paper); border-radius: var(--r-lg);
}
.menu-card nav { display: grid; gap: .2rem; }
.menu-card nav a { font: 800 expanded clamp(1.4rem, 1rem + 2vw, 1.9rem)/1.25 var(--f-caps); text-transform: uppercase; }
.nav-dd { position: relative; display: flex; }
.nav-sub { position: absolute; left: 50%; top: 100%; padding-top: .9rem; transform: translate(-50%, -6px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s; }
.nav-dd:hover .nav-sub, .nav-dd:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .3s, transform .3s var(--ease); }
.nav-sub-card { display: grid; gap: .1rem; min-width: 12rem; padding: .6rem; border-radius: var(--r-lg); background: var(--ink-2); color: var(--paper); }
.nav-sub-card a { padding: .55rem .8rem; border-radius: var(--r); font-weight: 600; white-space: nowrap; opacity: 1 !important; transition: background-color .25s; }
.nav-sub-card a:hover, .nav-sub-card a[aria-current] { background: rgba(255,253,247,.08); }
.nav-links:hover .nav-sub-card a { opacity: 1; }
.menu-sub { display: grid; gap: .1rem; padding: .1rem 0 .6rem 1rem; }
.menu-card nav .menu-sub a { font: 600 1.05rem/1.5 var(--f-text); color: rgba(255,253,247,.75); }
.menu-foot { display: grid; gap: .3rem; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,253,247,.15); color: rgba(255,253,247,.7); }
.menu-open .nav { color: var(--paper); }

/* ---------------------------------------------------------------- layout */
main { position: relative; }
.section { padding: var(--sec) var(--m); position: relative; }

/* hero */
.hero {
  position: relative; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  padding: 12px; gap: var(--m);
}
.hero-media { height: calc(100svh - 24px); border-radius: var(--r-lg); overflow: hidden; background: #0d1a26; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-copy { display: grid; justify-items: center; text-align: center; gap: 1.4rem; padding: 0 var(--m); }
.hero-title { letter-spacing: -.025em; display: grid; justify-items: center; font: 800 expanded clamp(1.55rem, 1.1rem + 1.6vw, 2.6rem)/.95 var(--f-caps); text-transform: uppercase; }
.hero-title .script { letter-spacing: 0; font-size: 1.12em; line-height: .85; margin: .12em 0 .26em; transform: rotate(-4deg); position: relative; z-index: 1; max-width: 100%; text-wrap: balance; }
.hero-lead { max-width: 25rem; color: var(--muted); font-size: var(--t-lead); line-height: 1.45; }
.hero-actions { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }

/* scroll zoom statement: grow (pinned), copy scrolls over the locked video, then all leaves */
.zoom { position: relative; margin-top: calc(var(--sec) * .7); --zf: clamp(2rem, .9rem + 4vw, 5rem); }
.zoom-pin { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.zoom-frame { position: relative; height: 58svh; aspect-ratio: 1000 / 1120; border-radius: var(--r-lg); overflow: hidden; will-change: height; }
.zoom-frame video { width: 100%; height: 100%; object-fit: cover; }
.zoom-shade { position: absolute; inset: 0; background: rgba(10,12,15,.62); opacity: 0; }
.zoom-grow { height: 60svh; }
.zoom-copy { position: relative; z-index: 2; display: grid; justify-items: center; gap: 1.4rem; text-align: center; padding: 0 var(--m) 75svh; }
.zoom-copy .display { font-size: var(--zf); max-width: min(16ch, 100%); color: var(--paper); }
.zoom-copy .lead { max-width: 44ch; color: rgba(255,253,247,.85); }

/* services deck */
.deck { position: relative; height: 520vh; }
.deck-pin { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: var(--nav-h) var(--m) 0; overflow: hidden; }
.deck-intro { display: grid; justify-items: center; text-align: center; gap: 1.3rem; max-width: 27rem; justify-self: center; position: relative; z-index: 2; }
.deck-intro p { color: var(--muted); }
.deck-stack { position: relative; width: min(23rem, 30vw); aspect-ratio: 3 / 4.1; justify-self: center; z-index: 2; }
.deck-card {
  position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); color: var(--paper);
  display: flex; flex-direction: column; justify-content: flex-end; transform-origin: 50% 110%;
  transition: transform .5s var(--spring);
  z-index: calc(10 - var(--i)); transform: translateY(calc(var(--i) * 10px)) scale(calc(1 - var(--i) * .04));
}
.deck-card:hover { transform: scale(1.03) rotate(-.5deg); }
.deck-media { position: absolute; inset: 0; }
.deck-media img { width: 100%; height: 100%; object-fit: cover; }
.deck-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(10,12,15,.55) 58%, rgba(10,12,15,.94)); }
.deck-web img { object-position: top; }
.deck-text { position: relative; padding: 1.3rem 1.3rem 1.4rem; display: grid; gap: .4rem; }
.deck-text h3 { font: 800 expanded clamp(1.05rem, .9rem + .5vw, 1.35rem)/1 var(--f-caps); text-transform: uppercase; }
.deck-text p { font-size: .94rem; line-height: 1.35; color: rgba(255,253,247,.82); }
.deck-card > .arr { display: none; }
.deck-line { right: -4vw; top: 30%; width: 22vw; height: 30vh; }

/* about teaser */
.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: var(--m); align-items: center; }
.about-photos { position: relative; width: min(28rem, 80%); aspect-ratio: 4 / 5; justify-self: center; }
.about-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: var(--r-lg); opacity: 0; z-index: 1; }
.about-photos img.is-on { opacity: 1; }
.about-line { left: -30%; top: -12%; width: 160%; height: 125%; z-index: 0; }
.about-copy { display: grid; gap: 1.6rem; justify-items: start; }

/* featured slider */
.feat { position: relative; height: 100svh; min-height: 620px; overflow: hidden; color: var(--paper); }
.feat-slide { position: absolute; inset: 0; display: block; visibility: hidden; }
.feat-slide.is-active, .feat-slide.is-leaving { visibility: visible; }
.feat-slide.is-leaving { z-index: 2; }
.feat-bg { position: absolute; inset: 0; background: var(--ink-2); }
.feat-bg > img { width: 100%; height: 100%; object-fit: cover; }
.feat-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,15,.78), rgba(10,12,15,.15) 60%), linear-gradient(transparent 40%, rgba(10,12,15,.85)); }
.feat-bg .shot { position: absolute; inset: 10% 6% 18% 38%; border-radius: var(--r-lg); overflow: hidden; }
.feat-bg .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-web .feat-bg, .feat-slide:has(.shot) .feat-bg { background: #262b33; }
.feat-copy { position: absolute; left: var(--m); top: 30%; max-width: 30rem; display: grid; gap: .8rem; z-index: 3; }
.feat-copy .tag { color: rgba(255,253,247,.78); }
.feat-copy h3 { font: 800 expanded var(--t-display-md)/.95 var(--f-caps); text-transform: uppercase; }
.feat-copy p { font-size: var(--t-lead); color: rgba(255,253,247,.86); }
.feat-ui { position: absolute; inset: auto var(--m) var(--m); display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; z-index: 4; pointer-events: none; }
.feat-ui > * { pointer-events: auto; }
.feat-head { display: grid; gap: .6rem; justify-items: start; }
.feat-head .btn { margin-top: 15px; }
.why-script { white-space: nowrap; }
.feat-script { font-size: clamp(2.6rem, 2rem + 2vw, 3.8rem); color: var(--pink); transform: rotate(-4deg); margin-left: -.1em; }
.feat-sub { font: 560 var(--t-lead)/1.3 var(--f-text); }
.feat-thumbs { display: flex; gap: .5rem; position: relative; padding-bottom: 14px; }
.feat-thumb { width: 92px; text-align: left; opacity: .55; transition: opacity .3s, transform .5s var(--spring); }
.feat-thumb:hover { opacity: .9; transform: translateY(-4px) rotate(-1deg); }
.feat-thumb.is-active { opacity: 1; }
.feat-thumb img { width: 92px; height: 66px; object-fit: cover; border-radius: 6px; }
.feat-thumb span { display: block; font: 600 .74rem/1.2 var(--f-text); margin-top: .35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,253,247,.2); border-radius: 3px; overflow: hidden; }
.feat-progress i { display: block; height: 100%; width: 100%; background: var(--pink); transform-origin: left; transform: scaleX(0); }

/* why pills */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: var(--m); align-items: start; overflow: hidden; }
.why-list { align-self: start; padding-top: 2rem; }
.why-list { display: grid; gap: .55rem; justify-items: center; max-width: 30rem; justify-self: center; width: 100%; position: relative; z-index: 2; }
.why-script { font-size: var(--t-script); transform: rotate(-5deg); margin-bottom: 1.2rem; }
.pill { width: 100%; background: var(--card); border-radius: var(--r-lg); overflow: hidden; transition: background-color .4s; }
.pill-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; font: 800 expanded .98rem/1.1 var(--f-caps); text-transform: uppercase; text-align: left; }
.pill-head i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; position: relative; flex: none; transition: transform .5s var(--spring); }
.pill-head i::before, .pill-head i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.pill-head i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.pill-head[aria-expanded="true"] i::after { transform: translate(-50%, -50%) rotate(0); }
.pill-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.pill-body > p { overflow: hidden; padding: 0 1.2rem; color: var(--muted); }
.pill-head[aria-expanded="true"] + .pill-body { grid-template-rows: 1fr; }
.pill-head[aria-expanded="true"] + .pill-body > p { padding-bottom: 1.15rem; }
.why-media { width: min(32rem, 90%); aspect-ratio: 1; justify-self: center; border-radius: var(--r-lg); overflow: hidden; position: relative; z-index: 2; }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.why-line { left: 48%; top: 4%; width: 50%; height: 92%; }

/* result statement */
.result { display: grid; justify-items: center; gap: 1.6rem; text-align: center; padding-top: 0; }
.result-text { max-width: min(18ch, 100%); }

/* tips */
.tips-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2.4rem; flex-wrap: wrap; }
.tips-head .display { text-align: left; }
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.post-card { background: var(--card); border-radius: var(--r-lg); padding: 1.5rem 1.4rem; display: grid; grid-template-rows: auto 1fr auto; gap: 1rem; min-height: 15rem; transition: transform .5s var(--spring); }
.post-card:hover { transform: scale(1.02) rotate(-.6deg); }
.post-card h3 { font: 600 1.18rem/1.28 var(--f-text); letter-spacing: -.005em; }
.post-date { font: 600 var(--t-small)/1 var(--f-text); color: var(--muted); }
.post-more { display: inline-flex; align-items: center; gap: .5rem; font-weight: 650; color: var(--accent); }
.post-more .arr { width: 20px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
body[data-theme="paper"] .post-more { color: var(--pink-deep); }

/* footer */
.foot { position: relative; padding: 0 var(--m) 1.4rem; overflow: hidden; }
.foot-cta { overflow: hidden; position: relative; display: grid; justify-items: center; gap: 1.8rem; padding: calc(var(--sec) * .35) 0 calc(var(--sec) * .9); text-align: center; }
.foot-cta .display { max-width: min(15ch, 100%); position: relative; z-index: 1; }
.foot-photo { width: 150px; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; display: block; transform: rotate(-3deg); transition: transform .5s var(--spring); }
.foot-photo:hover { transform: scale(1.05) rotate(1deg); }
.foot-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 15%; }
.foot-actions { position: relative; z-index: 1; }
.foot-line { left: -3%; bottom: 8%; width: 30vw; height: 34%; }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 2.4rem 0; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.foot-grid p:not(.label) { color: var(--muted); line-height: 1.6; }
.foot-grid a:hover { color: var(--fg); }
.foot-mark { color: var(--fg); opacity: .1; padding: 1rem 0 2rem; position: relative; z-index: 1; }
.foot-logo { width: 100%; height: auto; }
.deck-card:has(.deck-web) > .arr { display: none; }
.foot-bar { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--t-small); color: var(--muted); position: relative; z-index: 1; }
.foot-bar span:last-child { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.foot-bar a:hover { color: var(--fg); }

/* page hero (inner pages) */
.page-hero { position: relative; display: grid; justify-items: center; gap: 1.6rem; text-align: center; padding: calc(var(--nav-h) + var(--sec) * .75) var(--m) calc(var(--sec) * .6); }
.page-hero .display, .page-hero .lead { position: relative; z-index: 1; }
.hero-line { right: -5vw; top: 18%; width: 34vw; height: 55%; }

/* services page */
.svc-group { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem var(--m); align-items: center; scroll-margin-top: var(--nav-h); }
.svc-head { display: grid; gap: 1.2rem; justify-items: start; }
.svc-head .display { text-align: left; font-size: clamp(1.15rem, .55rem + 2.4vw, 2.6rem); line-height: .98; }
.svc-accent { font-size: clamp(2.6rem, 2rem + 2vw, 3.8rem); transform: rotate(-4deg); margin-bottom: -.4rem; }
.svc-cases { display: flex; gap: .6rem; flex-wrap: wrap; }
.svc-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.4; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.svc-laptop { position: relative; aspect-ratio: 1200 / 1020; }
.svc-laptop img { position: absolute; inset: 0; object-position: 50% 50%; }
.svc-laptop img { opacity: 0; animation: laptop-swap 12s var(--d) infinite; }
.svc-laptop img:first-child { opacity: 1; }
@keyframes laptop-swap { 0% { opacity: 0; } 3%, 25% { opacity: 1; } 28%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .svc-laptop img { animation: none; } .svc-laptop img + img { opacity: 0; } }
.svc-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.svc-panel { display: grid; gap: 1.2rem; align-content: start; }
.svc-panel .svc-media { aspect-ratio: 4 / 5; }
.svc-panel .svc-media img { transition: transform .8s var(--ease); }
.svc-panel:hover .svc-media img { transform: scale(1.05); }
.svc-panel-copy { display: grid; gap: .7rem; justify-items: start; }
.svc-panel-copy .display { font-size: clamp(1.3rem, .8rem + 1.6vw, 2.2rem); text-align: left; }
.svc-panel-copy p:not(.script) { color: var(--muted); max-width: 34ch; }
.svc-panel-copy .svc-accent { margin-bottom: -.6rem; }
.proj-row, .ps-row { display: flex; gap: 12px; overflow-x: auto; padding: 0 var(--m) 1rem; margin: 0 calc(var(--m) * -1); scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.proj-row::-webkit-scrollbar, .ps-row::-webkit-scrollbar { display: none; }
.proj-row.is-drag, .ps-row.is-drag { cursor: grabbing; scroll-snap-type: none; }
.proj-row .case-card { flex: 0 0 min(34rem, 78vw); scroll-snap-align: start; }
.proj-row img, .ps-row img { pointer-events: none; user-select: none; }
.ps-item { flex: 0 0 auto; margin: 0; display: grid; gap: .8rem; scroll-snap-align: start; scroll-margin-left: var(--m); }
.ps-item img { height: min(62vh, 560px); width: auto; max-width: none; border-radius: var(--r-lg); }
.ps-item figcaption { display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.ps-item figcaption strong { font: 800 expanded .95rem/1.2 var(--f-caps); text-transform: uppercase; }
.ps-item figcaption span { color: var(--muted); font-size: .95rem; }
.svc-more { display: grid; justify-items: center; gap: 1rem; padding-top: 0; }
.svc-more-links { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.case-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cases + .cases { padding-top: 0; }
.cases-title { text-align: left; margin-bottom: 2rem; font-size: clamp(1.4rem, .8rem + 2.4vw, 2.8rem); }
.svc-list { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem var(--m); align-items: baseline; padding: 1.6rem 0 1.7rem; border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc { min-width: 0; }
.svc h3, .display-sm, .case-info h3, .deck-text h3 { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 13 6 6; }
.svc h3 { font: 800 expanded clamp(1rem, .7rem + 1vw, 1.55rem)/1.05 var(--f-caps); text-transform: uppercase; }
.svc p { color: var(--muted); max-width: 46ch; font-size: 1.05rem; }

/* work grid */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem 12px; }
.case-card { display: grid; gap: 1rem; }
.case-media { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--card); position: relative; }
.case-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case-card:hover .case-media > img { transform: scale(1.06); }
.case-media .shot { position: absolute; inset: 7% 7% 0; border-radius: 8px 8px 0 0; overflow: hidden; transition: transform .8s var(--ease); }
.case-media .shot img { width: 100%; height: auto; }
.case-card:hover .case-media .shot { transform: translateY(-3%); }
.case-web .case-media { background: #2a2f37; }
.case-info { display: grid; gap: .35rem; }
.case-info h3 { font: 800 expanded var(--t-display-sm)/1 var(--f-caps); text-transform: uppercase; }
.case-info p { color: var(--muted); font-size: var(--t-lead); }

/* case detail */
.case-hero { position: relative; min-height: 100svh; display: grid; align-items: end; }
.case-hero-img { position: absolute; inset: 0; }
.case-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.case-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 25%, rgba(10,12,15,.6) 60%, rgba(10,12,15,.92)); }
.case-title { position: relative; z-index: 2; display: grid; justify-items: center; gap: 2rem; padding: 0 var(--m) 2.4rem; color: var(--paper); }
.case-meta { display: grid; grid-template-columns: repeat(3, auto); gap: 1rem 3.5rem; text-align: center; }
.case-meta dt { font: 800 expanded .72rem/1 var(--f-caps); text-transform: uppercase; margin-bottom: .4rem; }
.case-meta dd { font-size: .92rem; color: rgba(255,253,247,.8); max-width: 20rem; }
.case-hero-web { padding: calc(var(--nav-h) + 2rem) var(--m) 0; display: grid; justify-items: center; }
.case-hero-web + .case-title { padding-top: 3rem; color: var(--fg); }
.case-hero-web + .case-title .case-meta dd { color: var(--muted); }
.case-hero-web { min-height: auto; }
.case-hero-web { position: relative; }
.case-hero-web .browser { width: min(1100px, 100%); border-radius: var(--r-lg); overflow: hidden; background: #2a2f37; padding: 30px 0 0; position: relative; }
.case-hero-web .browser::before { content: ""; position: absolute; left: 16px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,253,247,.35); box-shadow: 14px 0 rgba(255,253,247,.35), 28px 0 rgba(255,253,247,.35); }
.case-hero-web .browser img { width: 100%; height: auto; }
.case-hero-web.case-hero, .case-hero-web ~ * { }
.case-hero.case-hero-web { min-height: auto; align-items: start; }
.case-text { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem var(--m); }
.case-gallery { padding-left: 0; padding-right: 0; }
.block-label { font-size: clamp(2.6rem, 2rem + 2vw, 3.8rem); transform: rotate(-4deg); text-align: center; margin-bottom: 2rem; position: relative; z-index: 1; }
.g-row { display: flex; gap: 12px; overflow-x: auto; padding: 0 var(--m) 1rem; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.g-row::-webkit-scrollbar { display: none; }
.g-row.is-drag { cursor: grabbing; scroll-snap-type: none; }
.g-item { flex: 0 0 auto; height: min(70vh, 640px); scroll-snap-align: center; border-radius: var(--r-lg); overflow: hidden; }
.g-item img { height: 100%; width: auto; max-width: none; pointer-events: none; user-select: none; }

.case-concl { max-width: min(24ch, 100%); margin: var(--sec) auto 0; }
.web-pages { display: grid; justify-items: center; gap: 0; }
.web-full { width: min(1100px, 100%); height: min(82svh, 760px); border-radius: var(--r-lg); overflow: hidden auto; background: #2a2f37; border-top: 30px solid #2a2f37; margin-bottom: var(--sec); overscroll-behavior: contain; scrollbar-width: thin; }
.web-full img { width: 100%; height: auto; }
.web-mobile { width: min(390px, 86vw); height: min(80svh, 780px); border-radius: 34px; overflow: hidden; background: #2a2f37; padding: 12px; }
.web-mobile-scroll { height: 100%; overflow: hidden auto; border-radius: 24px; overscroll-behavior: contain; scrollbar-width: none; }
.web-mobile-scroll::-webkit-scrollbar { display: none; }
.web-mobile img { width: 100%; height: auto; }
.scroll-hint { font-size: var(--t-small); color: var(--muted); margin: -1.2rem 0 1.6rem; text-align: center; }
.web-visit { margin-top: 3rem; }
.next { padding-top: 0; }
.next-card { display: block; position: relative; height: 90svh; border-radius: var(--r-lg); overflow: hidden; color: var(--paper); background: #2a2f37; }
.next-media { position: absolute; inset: 0; }
.next-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.next-media .shot { position: absolute; inset: 8% 8% 0; border-radius: 14px 14px 0 0; overflow: hidden; }
.next-media .shot img { width: 100%; height: auto; }
.next-card:hover .next-media > img { transform: scale(1.05); }
.next-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(10,12,15,.6) 62%, rgba(10,12,15,.92)); }
.next-copy { position: absolute; inset: auto 0 2.4rem; display: grid; justify-items: center; gap: .4rem; z-index: 2; }
.next-copy .script { font-size: clamp(2.4rem, 2rem + 1.6vw, 3.4rem); transform: rotate(-4deg); }

/* story */
.story-hero { position: relative; display: grid; justify-items: center; gap: 1.6rem; text-align: center; padding: calc(var(--nav-h) + 3rem) var(--m) calc(var(--sec) * .6); }
.story-photo { width: min(20rem, 62vw); aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; transform: rotate(-3deg); position: relative; z-index: 1; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.story-hero .display { margin-top: -1.2rem; position: relative; z-index: 2; }
.story-hero .lead { position: relative; z-index: 1; }
.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem var(--m); align-items: center; }
.chapter-flip .chapter-media { order: 2; }
.chapter-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 13 / 11; }
.chapter-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.chapter-copy, .chapter-media, .svc-head, .ct-block { min-width: 0; }
.chapter-copy { display: grid; gap: 1.4rem; max-width: 34rem; }
.chapter-copy .display { text-align: left; font-size: clamp(1.15rem, .55rem + 2vw, 2.15rem); }

/* contact */
.contact { position: relative; min-height: 100svh; display: grid; justify-items: center; align-content: center; gap: 1.6rem; text-align: center; padding: calc(var(--nav-h) + 3rem) var(--m) var(--sec); overflow: hidden; }
.contact-fan { position: relative; width: 22rem; height: 12rem; margin-bottom: 1rem; }
.contact-fan img { position: absolute; left: 50%; top: 0; width: 8.4rem; height: 11rem; object-fit: cover; border-radius: var(--r); transform-origin: 50% 120%; transition: transform .6s var(--spring); }
.contact-fan img:nth-child(1) { transform: translateX(-50%) rotate(-24deg); }
.contact-fan img:nth-child(2) { transform: translateX(-50%) rotate(-12deg); }
.contact-fan img:nth-child(3) { transform: translateX(-50%) rotate(0); z-index: 2; object-position: 50% 15%; }
.contact-fan img:nth-child(4) { transform: translateX(-50%) rotate(12deg); }
.contact-fan img:nth-child(5) { transform: translateX(-50%) rotate(24deg); }
.contact-fan:hover img:nth-child(1) { transform: translateX(-50%) rotate(-32deg); }
.contact-fan:hover img:nth-child(2) { transform: translateX(-50%) rotate(-16deg); }
.contact-fan:hover img:nth-child(4) { transform: translateX(-50%) rotate(16deg); }
.contact-fan:hover img:nth-child(5) { transform: translateX(-50%) rotate(32deg); }
.contact .display, .contact .lead, .contact-actions, .contact-where { position: relative; z-index: 1; }
.contact-actions { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.contact-note { opacity: 0; font-size: var(--t-small); color: var(--muted); transition: opacity .3s; min-height: 1em; }
.contact-note.is-on { opacity: 1; }
.contact-where { display: flex; gap: 4rem; margin-top: 2rem; text-align: left; }
.contact-where p:not(.label) { color: var(--muted); }
.contact-line { left: -6%; bottom: -8%; width: 30vw; height: 26%; }

/* post + legal */
.post { max-width: 50rem; margin: 0 auto; padding-top: calc(var(--nav-h) + 5rem); }
.post-head { display: grid; gap: 1.3rem; margin-bottom: 3rem; text-align: center; justify-items: center; }
.prose { font-size: var(--t-lead); line-height: 1.6; color: var(--muted); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { color: var(--fg); font: 800 expanded 1.15rem/1.2 var(--f-caps); text-transform: uppercase; margin-top: 2em; }
.prose strong, .prose b { color: var(--fg); font-weight: 650; }
.prose a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose td, .prose th { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal .prose { font-size: var(--t-body); }
.post-foot { display: flex; justify-content: space-between; gap: .6rem; flex-wrap: wrap; margin-top: 4rem; }

/* page transition */
.transition { position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.transition svg { width: 100%; height: 100%; overflow: visible; }
.transition path { fill: none; stroke: var(--pink); stroke-linecap: round; stroke-linejoin: round; stroke-width: 0; visibility: hidden; }

/* reveal defaults (JS adds .js on <html>) */
.js [data-reveal], .js [data-enter] { opacity: 0; }
.no-motion [data-reveal], .no-motion [data-enter] { opacity: 1 !important; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .case-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tips-grid { grid-template-columns: repeat(2, 1fr); }
  .tips-grid .post-card:nth-child(3) { display: none; }
  .tips .tips-grid:not(:has(.post-card:nth-child(4))) .post-card:nth-child(3) { display: grid; }
}
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-logo { width: 130px; }

  .hero { padding: calc(var(--nav-h) + .5rem) var(--m) 3rem; min-height: auto; gap: 2.2rem; }
  .hero-media { height: auto; aspect-ratio: 1000 / 1120; width: 78%; justify-self: center; }
  .hero-copy { padding: 0; }

  .zoom { margin-top: 3rem; --zf: clamp(1.6rem, 1rem + 4vw, 2.4rem); }
  .zoom-pin { position: relative; height: auto; padding: 0 var(--m); }
  .zoom-frame { height: auto; width: 86vw; }
  .zoom-grow { display: none; }
  .zoom-copy { padding: 1.8rem var(--m) 0; }
  .zoom-copy .display { color: var(--fg); }
  .zoom-copy .lead { color: var(--muted); }

  .deck { height: auto; }
  .deck-pin { position: relative; height: auto; gap: 2.4rem; padding: var(--sec) 0; overflow: visible; }
  .deck-intro { padding: 0 var(--m); }
  .deck-stack { width: 100%; aspect-ratio: auto; display: flex; gap: 12px; overflow-x: auto; padding: 0 var(--m) .5rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .deck-stack::-webkit-scrollbar { display: none; }
  .deck-card { position: relative; inset: auto; flex: 0 0 74vw; aspect-ratio: 3 / 4.1; transform: none; scroll-snap-align: center; }
  .deck-line, .why-line, .foot-line, .contact-line { display: none; }

  .about-teaser, .why, .svc-group, .chapter, .case-text, .hero, .deck-pin { grid-template-columns: minmax(0, 1fr); }
  .hero-line { display: none; }
  .svc-head .display, .chapter-copy .display { font-size: clamp(1.15rem, .6rem + 2.6vw, 1.6rem); }
  .about-copy { justify-items: center; text-align: center; }
  .about-copy .lead-lg { margin: 0 auto; }
  .why-media { order: -1; width: 100%; }
  .chapter-flip .chapter-media { order: 0; }
  .svc-media { order: 2; }

  .feat { height: 92svh; }
  .feat-copy { top: auto; bottom: 46%; right: var(--m); }
  .feat-bg .shot { inset: 9% 6% 52% 6%; }
  .feat-ui { flex-direction: column; align-items: flex-start; }
  .feat-thumbs { overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .feat-thumb, .feat-thumb img { width: 76px; }
  .feat-thumb img { height: 54px; }

  .case-grid, .case-grid-3, .svc-overview { grid-template-columns: 1fr; }
  .svc-overview { gap: 3rem; }
  .ps-item img { height: 46vh; }
  .case-meta { grid-template-columns: 1fr; gap: 1rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .contact-where { flex-direction: column; gap: 1.4rem; text-align: center; }
}
@media (max-width: 600px) {
  .tips-grid { grid-template-columns: 1fr; }
  .svc { grid-template-columns: minmax(0, 1fr); padding: 1.3rem 0 1.4rem; }
  .tips-grid .post-card:nth-child(3) { display: grid; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .contact-fan { width: 18rem; height: 10rem; }
  .contact-fan img { width: 6.6rem; height: 8.8rem; }
  .g-item { height: 62vh; }
  .hero-media { width: 86%; }
  .post-foot { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-enter] { opacity: 1; }
  .deck { height: auto; }
}

/* project sliders: arrows + counter */
.slider-ctrl { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 1.6rem; }
.slider-btn { width: 3rem; height: 3rem; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--fg); display: grid; place-items: center; cursor: pointer; transition: background-color .25s, border-color .25s, opacity .25s; }
.slider-btn:hover { border-color: var(--pink); background: var(--pink); color: var(--ink); }
.slider-btn[disabled] { opacity: .3; pointer-events: none; }
.slider-btn .arr { width: 1.2rem; height: auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.slider-btn[data-prev] .arr { transform: scaleX(-1); }
.slider-count { font: 600 1rem/1 var(--f-text); font-variant-numeric: tabular-nums; min-width: 3.5rem; text-align: center; }
/* less gap between a service group and its project slider */
.svc-group + .svc-proj { padding-top: calc(var(--sec) * .25); }
.svc-group:has(+ .svc-proj) { padding-bottom: calc(var(--sec) * .6); }
.proj-row .case-card { align-content: start; }
