@font-face { font-family: "Bricolage"; src: url(fonts/bricolage-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url(fonts/bricolage-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(fonts/dmsans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(fonts/dmsans-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(fonts/dmsans-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #F2EFE9;
  --paper-2: #E8E3DA;
  --paper-3: #DDD6CA;
  --ink: #111111;
  --ink-2: #4A4642;
  --ink-soft: #1B1A19;
  --lime: #D4FF3A;
  --lilac: #C9B8FF;
  --line: rgba(17, 17, 17, .14);
  --radius: 22px;
  --radius-s: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --top: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Bricolage", "Arial Black", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
html.lock, html.lock body { overflow: hidden; }
main { overflow-x: hidden; overflow-x: clip; }
img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: .95; margin: 0; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.i { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .95em 1.5em; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid var(--ink); transition: transform .25s var(--ease), background .2s ease, color .2s ease, box-shadow .25s var(--ease); white-space: nowrap; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--lime); color: var(--ink); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--ink); color: var(--lime); box-shadow: 0 6px 0 var(--lime); }
.btn-line { background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-sm { padding: .6em 1.1em; font-size: .95rem; }
.btn-sm:hover { box-shadow: none; }
.btn-lg { padding: 1.1em 2em; font-size: 1.15rem; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(242, 239, 233, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; height: var(--top); }
.logo { font: 800 1.6rem/1 var(--display); letter-spacing: -.05em; text-decoration: none; margin-right: auto; }
.logo span { color: var(--ink); background: var(--lime); border-radius: 50%; display: inline-block; width: .42em; height: .42em; overflow: hidden; text-indent: 1em; margin-left: .06em; vertical-align: baseline; border: 2px solid var(--ink); }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.lang { display: flex; border: 2px solid var(--ink); border-radius: 999px; padding: 2px; }
.lang button { border: 0; background: none; font-weight: 700; font-size: .8rem; padding: .35em .7em; border-radius: 999px; letter-spacing: .04em; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* hero */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-id { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(18px, 2.6vw, 30px); }
.hero-photo { width: clamp(56px, 5.4vw, 76px); height: clamp(56px, 5.4vw, 76px); border-radius: 50%; object-fit: cover; border: 2.5px solid var(--ink); flex: none; background: var(--lilac); }
.hero-initials { display: grid; place-items: center; background: var(--lime); font: 800 clamp(1.3rem, 2.6vw, 2.4rem)/1 var(--display); letter-spacing: -.04em; }
.eyebrow { display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.eyebrow b { font: 800 1.15rem/1.1 var(--display); letter-spacing: -.02em; }
.eyebrow span { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--ink-2); }
.hero h1 { font-size: clamp(2.75rem, 6.1vw, 6.4rem); line-height: .9; letter-spacing: -.045em; }
mark, .contact h2 span { background: var(--lime); color: var(--ink); padding: 0 .1em; border-radius: .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 40ch; color: var(--ink-2); margin-top: clamp(20px, 2.6vw, 30px); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(22px, 3vw, 34px); }
.hero-media { position: relative; }
.reel { position: relative; margin: 0 14px 14px 0; border-radius: var(--radius); background: var(--ink); border: 2px solid var(--ink); box-shadow: 14px 14px 0 var(--lime); overflow: hidden; aspect-ratio: 16 / 9; }
.reel-v { width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.reel-tag { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--lime); padding: .38em .9em .38em .75em; border-radius: 999px; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.reel-btn { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(17, 17, 17, .78); color: var(--paper); display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s ease, color .2s ease; }
.reel-btn:hover { background: var(--lime); color: var(--ink); }
.reel-btn .off, .reel.paused .reel-btn .on { display: none; }
.reel.paused .reel-btn .off { display: block; }
.reel.paused .rec { animation: none; opacity: .4; }
.collage { position: relative; aspect-ratio: 5 / 4; }
.collage-item { position: absolute; width: 46%; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--ink); background: var(--paper-2); transition: transform .5s var(--ease); }
.collage-item img { width: 100%; height: 100%; object-fit: cover; }
.collage-item:nth-child(1) { left: 27%; top: 0; z-index: 2; box-shadow: 12px 12px 0 var(--lime); }
.collage-item:nth-child(2) { left: 0; top: 14%; transform: rotate(-7deg); }
.collage-item:nth-child(3) { right: 0; top: 14%; transform: rotate(7deg); }
.collage:hover .collage-item:nth-child(2) { transform: rotate(-10deg) translateX(-12px); }
.collage:hover .collage-item:nth-child(3) { transform: rotate(10deg) translateX(12px); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(40px, 5vw, 64px) 0 0; border-top: 2px solid var(--ink); }
.stats > div { padding: 20px 20px 0 0; }
.stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.stats dt { font: 800 clamp(2.1rem, 4vw, 3.4rem)/1 var(--display); letter-spacing: -.04em; }
.stats dd { margin: 8px 0 0; color: var(--ink-2); font-size: .95rem; }
.stars { color: var(--ink); letter-spacing: .1em; }

/* marquee */
.marquee { background: var(--ink); color: var(--lime); overflow: hidden; padding: 18px 0; transform: rotate(-1.5deg); margin: 0 -10px; }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee-track span { font: 800 clamp(1.6rem, 3.4vw, 2.8rem)/1 var(--display); letter-spacing: -.03em; white-space: nowrap; padding-right: .5em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* sections */
section { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(26px, 3.6vw, 44px); }
.sec-head h2, .process h2 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
.sec-head > p { max-width: 44ch; color: var(--ink-2); }
.kicker { display: inline-flex; flex-wrap: wrap; gap: .35em; align-items: baseline; font-weight: 500; font-size: .95rem; color: var(--ink-2); margin-bottom: 14px; }
.kicker b { font: 800 1.05rem/1 var(--display); color: var(--ink); background: var(--lime); padding: .18em .42em; border-radius: 8px; border: 2px solid var(--ink); }

/* work: tools */
.work { padding-top: clamp(72px, 9vw, 120px); }
.tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin-bottom: 14px; }
.search { position: relative; flex: 1 1 300px; display: flex; align-items: center; }
.search > .i { position: absolute; left: 18px; pointer-events: none; }
.search input { width: 100%; height: 52px; border: 2px solid var(--ink); border-radius: 999px; background: #FBFAF7; padding: 0 52px 0 50px; font-size: 1rem; outline: none; transition: box-shadow .2s ease; -webkit-appearance: none; appearance: none; }
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus { box-shadow: 0 0 0 4px var(--lime); }
.q-clear { position: absolute; right: 7px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--paper-2); display: grid; place-items: center; }
.q-clear:hover { background: var(--lime); }
.select { position: relative; flex: 0 1 260px; display: flex; align-items: center; }
.select select { width: 100%; height: 52px; border: 2px solid var(--ink); border-radius: 999px; background: #FBFAF7; padding: 0 44px 0 20px; font-weight: 500; -webkit-appearance: none; appearance: none; cursor: pointer; outline: none; text-overflow: ellipsis; }
.select select:focus { box-shadow: 0 0 0 4px var(--lime); }
.select.on select { background: var(--ink); color: var(--paper); }
.select > .i { position: absolute; right: 16px; pointer-events: none; }
.select.on > .i { color: var(--paper); }
.btn-copy { display: inline-flex; align-items: center; gap: .5em; height: 52px; padding: 0 1.2em; border: 2px solid var(--ink); border-radius: 999px; background: transparent; font-weight: 700; white-space: nowrap; transition: background .2s ease; }
.btn-copy:hover { background: var(--lime); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips button { display: inline-flex; align-items: center; gap: .45em; border: 2px solid var(--ink); background: transparent; border-radius: 999px; padding: .42em .55em .42em 1em; font-weight: 700; font-size: .92rem; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.chips button b { font-size: .74rem; min-width: 1.9em; padding: .2em .5em; border-radius: 999px; background: var(--paper-2); text-align: center; font-weight: 700; }
.chips button:hover { background: var(--lime); }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chips button[aria-pressed="true"] b { background: var(--lime); color: var(--ink); }
.status { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; margin-bottom: 18px; }
.count { font-weight: 700; }
.clear-all { display: inline-flex; align-items: center; gap: .4em; border: 0; background: none; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; padding: 8px 0; }

/* work: grid */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 26px); grid-auto-flow: row dense; }
.card { display: flex; flex-direction: column; min-width: 0; }
.card.wide { grid-column: span 2; }
.card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; border-radius: var(--radius); }
.card-link:focus-visible { outline-offset: 6px; }
.media { position: relative; display: block; flex: none; aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); isolation: isolate; }
.wide .media { aspect-ratio: 16 / 10; }
.media img, .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media img { transition: transform .8s var(--ease); }
.media video { opacity: 0; transition: opacity .5s ease; }
.media video.fit { object-fit: contain; background: rgba(17, 17, 17, .5); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.media video.on { opacity: 1; }
.media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .08); pointer-events: none; }
.card-link:hover .media img { transform: scale(1.045); }
.vbadge { position: absolute; z-index: 2; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 5px; padding: .34em .8em .34em .55em; border-radius: 999px; background: var(--ink); color: var(--lime); font-weight: 700; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.vbadge .i { width: 1.1em; height: 1.1em; }
.media::before { content: ""; position: absolute; z-index: 2; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17 17 7M9 7h8v8' fill='none' stroke='%23111' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; border: 2px solid var(--ink);
  transform: scale(.4) rotate(-45deg); opacity: 0; transition: transform .35s var(--ease), opacity .25s ease; }
.card-link:hover .media::before, .card-link:focus-visible .media::before { transform: none; opacity: 1; }
.meta { display: block; padding: 14px 4px 0; }
.title { display: block; font: 800 clamp(1.2rem, 1.7vw, 1.5rem)/1.12 var(--display); letter-spacing: -.025em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wide .title { font-size: clamp(1.3rem, 2.2vw, 1.9rem); }
.kind { display: block; margin-top: 4px; color: var(--ink-2); font-weight: 500; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-link:hover .title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.card.rise { animation: rise .7s var(--ease) both; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.empty { padding: 48px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; color: var(--ink-2); font-size: 1.1rem; }
.more { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 56px); }
.more-n { font-weight: 500; opacity: .7; }

/* services */
.services { background: var(--paper-2); }
.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.svc li { display: flex; }
.svc-card { display: flex; flex-direction: column; width: 100%; padding: 22px 22px 20px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); text-decoration: none;
  transition: transform .3s var(--ease), background .25s ease, box-shadow .3s var(--ease); }
.svc-card:hover { background: var(--lime); transform: translateY(-4px); box-shadow: 0 8px 0 var(--ink); }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.num { font: 800 .95rem/1 var(--display); display: inline-block; border: 2px solid var(--ink); border-radius: 999px; padding: .38em .7em; }
.thumbs { display: flex; }
.thumbs img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; border: 2px solid var(--ink); background: var(--paper-2); transition: transform .35s var(--ease); }
.thumbs img + img { margin-left: -14px; }
.thumbs img:nth-child(1) { transform: rotate(-6deg); }
.thumbs img:nth-child(3) { transform: rotate(6deg); }
.svc-card:hover .thumbs img:nth-child(1) { transform: rotate(-12deg) translate(-6px, -2px); }
.svc-card:hover .thumbs img:nth-child(3) { transform: rotate(12deg) translate(6px, -2px); }
.svc-card h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); }
.svc-card p { color: var(--ink-2); margin-top: 10px; font-size: .98rem; line-height: 1.5; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 20px; font-weight: 500; }
.svc-foot b { font: 800 1.1rem/1 var(--display); }
.go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); transition: transform .3s var(--ease); }
.svc-card:hover .go { transform: rotate(45deg); }

/* process */
.process { background: var(--ink); color: var(--paper); }
.process h2 { margin-bottom: clamp(32px, 5vw, 56px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps li { border-top: 2px solid rgba(242, 239, 233, .3); padding-top: 22px; }
.steps .dot { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lime); color: var(--ink); font: 800 1.3rem/1 var(--display); }
.steps h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 20px 0 8px; }
.steps p { color: rgba(242, 239, 233, .75); }

/* reviews */
.rev-grid { display: grid; grid-template-areas: "score quote quote" "score a b"; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.rev { margin: 0; border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.score { grid-area: score; background: var(--lime); display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 280px; font-weight: 500; border: 2px solid var(--ink); }
.score .big { font: 800 clamp(5rem, 11vw, 9rem)/.85 var(--display); letter-spacing: -.05em; }
.score .stars { font-size: 1.5rem; }
.quote { background: var(--lilac); }
.quote blockquote { margin: 0; font: 600 clamp(1.2rem, 2.1vw, 1.75rem)/1.28 var(--display); letter-spacing: -.02em; }
.quote figcaption { margin-top: 20px; }
.quote small { display: block; color: var(--ink-2); font-size: .85rem; margin-top: 4px; }
.quote small:empty { display: none; }
.rev-grid .small { background: var(--paper-2); display: flex; align-items: center; gap: 18px; }
.rev-grid .small figcaption b, .rev-grid .small figcaption span { display: block; }
.rev-grid .small .stars { font-size: 1.3rem; }
.rev-grid .small .icon { font: 800 2.2rem/1 var(--display); }
.rev-grid .small p { font-weight: 500; }
.quote { grid-area: quote; } .r2 { grid-area: a; } .repeat { grid-area: b; }
.more-link { display: inline-block; margin-top: 26px; font-weight: 700; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* about */
.about { background: var(--paper); }
.about-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.about-photo { position: relative; }
.about-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--lime); border-radius: var(--radius); border: 2px solid var(--ink); }
.about-photo img, .about-photo .hero-initials { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 2px solid var(--ink); }
.about-photo .hero-initials { background: var(--lilac); font-size: clamp(4rem, 12vw, 9rem); }
.about-text h2 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); margin-bottom: 24px; }
.about-text p + p { margin-top: 14px; }
.about-text p { color: var(--ink-2); max-width: 58ch; }
.about-text h3 { font: 700 .85rem/1 var(--body); text-transform: uppercase; letter-spacing: .12em; margin: 30px 0 12px; }
.chips-static { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips-static li { border: 2px solid var(--ink); border-radius: 999px; padding: .3em .9em; font-weight: 500; font-size: .95rem; }

/* contact */
.contact { background: var(--lime); }
.contact h2 { font-size: clamp(3rem, 9vw, 8.4rem); line-height: 1.02; max-width: 13ch; }
.contact h2 span { background: var(--ink); color: var(--lime); padding: 0 .1em .04em; }
.contact p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 46ch; margin: 28px 0 34px; }
.contact .btn-ink:hover { background: var(--paper); }

/* footer */
.foot { padding: 28px 0 40px; font-size: .9rem; color: var(--ink-2); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* project viewer */
.viewer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ink); color: var(--paper); overflow: hidden; }
.viewer[open] { display: flex; flex-direction: column; animation: vIn .35s var(--ease); }
@keyframes vIn { from { opacity: 0; transform: translateY(18px); } }
.viewer::backdrop { background: rgba(17, 17, 17, .8); }
.v-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; padding: 0 clamp(12px, 2.4vw, 28px); border-bottom: 1px solid rgba(242, 239, 233, .12); }
.v-count { font: 800 1rem/1 var(--display); letter-spacing: -.01em; color: rgba(242, 239, 233, .7); }
.v-count b { color: var(--lime); }
.v-btns { display: flex; gap: 8px; }
.v-btn { width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(242, 239, 233, .25); background: transparent; color: var(--paper); display: grid; place-items: center; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.v-btn:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.v-close { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.v-btn:disabled { opacity: .3; pointer-events: none; }
.viewer :focus-visible { outline-color: var(--lime); }
.v-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.v-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(20px, 3vw, 48px); padding: clamp(16px, 2.4vw, 32px) clamp(12px, 2.4vw, 32px) 32px; max-width: 1600px; margin: 0 auto; }
.v-side { position: sticky; top: 0; align-self: start; padding-top: 6px; max-height: calc(100dvh - 64px); overflow-y: auto; scrollbar-width: none; }
.v-side::-webkit-scrollbar { display: none; }
.v-kind { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: rgba(242, 239, 233, .72); font-weight: 500; }
.badge { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .32em .75em; border-radius: 999px; color: var(--ink); background: var(--lilac); white-space: nowrap; }
.badge.client { background: var(--lime); }
.badge:empty { display: none; }
.v-head h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: .98; margin-top: 12px; }
.v-info { margin-top: 22px; }
.v-text { color: rgba(242, 239, 233, .82); }
.v-info h3 { font: 700 .78rem/1 var(--body); text-transform: uppercase; letter-spacing: .12em; margin: 26px 0 10px; color: var(--lime); }
.v-deliv { font-weight: 500; }
.v-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.v-tags a { border: 2px solid rgba(242, 239, 233, .3); border-radius: 999px; padding: .28em .85em; font-weight: 700; font-size: .88rem; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.v-tags a:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.v-tags a.ind { border-style: dashed; }
.v-cta { margin-top: 30px; border-color: var(--lime); }
.v-cta:hover { border-color: var(--lime); box-shadow: none; background: var(--paper); color: var(--ink); }
.v-note { margin-top: 12px; font-size: .88rem; color: rgba(242, 239, 233, .6); max-width: 38ch; }
.v-media { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.v-fig { margin: 0; position: relative; display: flex; justify-content: center; background: var(--ink-soft); border-radius: var(--radius-s); overflow: hidden; }
.v-fig img, .v-fig video { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 112px); border-radius: var(--radius-s); background: var(--ink-soft); }
.v-fig video { max-height: calc(100dvh - 112px); }
.v-sound { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: .5em 1em; background: var(--lime); color: var(--ink); font-weight: 700; font-size: .85rem; }
.v-up-next { display: flex; align-items: center; gap: 16px; width: calc(100% - 2 * clamp(12px, 2.4vw, 32px)); max-width: 1536px; margin: 8px auto 36px; padding: 14px 20px 14px 14px; border: 2px solid rgba(242, 239, 233, .2); border-radius: var(--radius); background: transparent; color: var(--paper); text-align: left; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.v-up-next:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.v-up-img { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; flex: none; background: var(--ink-soft); }
.v-up-img img { width: 100%; height: 100%; object-fit: cover; }
.v-up-txt { flex: 1; min-width: 0; }
.v-up-txt small { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; opacity: .7; }
.v-up-txt b { display: block; font: 800 clamp(1.2rem, 2.4vw, 1.8rem)/1.1 var(--display); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-up-next > .i { width: 28px; height: 28px; }
.v-swap { animation: swap .45s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 40px)); } }

/* toast */
.toast { position: fixed; z-index: 2147483647; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 140%); background: var(--ink); color: var(--lime); padding: .8em 1.3em; border-radius: 999px; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .35s var(--ease); pointer-events: none; max-width: calc(100vw - 32px); text-align: center; border: 2px solid var(--lime); }
.toast.on { transform: translate(-50%, 0); }
.toast:empty { display: none; }

/* reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1099px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.7rem, 9.4vw, 5.4rem); }
  .lead { max-width: 52ch; }
  .reel { margin-right: 10px; box-shadow: 10px 10px 0 var(--lime); }
  .collage { max-width: 520px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rev-grid { grid-template-areas: "score quote" "a b"; grid-template-columns: 1fr 2fr; }
  .score { min-height: 0; }
  .v-body { grid-template-columns: 1fr; display: flex; flex-direction: column; gap: 18px; }
  .v-side { display: contents; }
  .v-head { order: 1; }
  .v-media { order: 2; }
  .v-info { order: 3; margin-top: 4px; }
  .v-fig img, .v-fig video { max-height: 82dvh; }
}
@media (max-width: 760px) {
  :root { --top: 60px; --radius: 18px; }
  .nav { display: none; }
  .top-in { gap: 10px; }
  .logo { font-size: 1.4rem; }
  .hero { padding-top: 22px; }
  .hero h1 { line-height: .93; }
  .actions .btn { flex: 1 1 auto; }
  .stats { grid-template-columns: 1fr; margin-top: 36px; }
  .stats > div, .stats > div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 16px; }
  .stats dt { min-width: 2.6em; }
  .stats dd { margin: 0; }
  .tools { gap: 8px; }
  .search { flex-basis: 100%; }
  .select { flex: 1 1 0; min-width: 0; }
  .btn-copy { padding: 0 1em; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 12px; padding: 2px var(--gutter) 6px; scrollbar-width: none; scroll-padding: 0 var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 28px), transparent); }
  .chips::-webkit-scrollbar { display: none; }
  .status { margin-bottom: 12px; }
  .grid { gap: 22px 12px; }
  .media { border-radius: 14px; }
  .meta { padding: 9px 2px 0; }
  .title { font-size: 1.02rem; line-height: 1.15; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.3em; }
  .wide .title { font-size: 1.3rem; min-height: 0; -webkit-line-clamp: 1; }
  .kind { font-size: .84rem; }
  .vbadge { left: 8px; top: 8px; font-size: .66rem; padding: .3em .65em .3em .45em; }
  .media::before { display: none; }
  .svc { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scrollbar-width: none; scroll-padding: 0 var(--gutter); }
  .svc::-webkit-scrollbar { display: none; }
  .svc li { flex: 0 0 82%; scroll-snap-align: start; }
  .svc-card:hover { transform: none; box-shadow: none; }
  .steps { grid-template-columns: 1fr; }
  .rev-grid { grid-template-areas: "score" "quote" "a" "b"; grid-template-columns: 1fr; }
  .about-in { grid-template-columns: 1fr; }
  .about-photo { max-width: 340px; margin-right: 18px; }
  .v-bar { height: 58px; }
  .v-btn { width: 42px; height: 42px; }
  .v-body { padding-top: 18px; }
  .v-head h2 { font-size: 2rem; }
  .v-fig { border-radius: 12px; }
  .v-up-img { width: 56px; height: 56px; }
}
@media (max-width: 400px) {
  .btn-sm { padding: .5em .8em; font-size: .85rem; }
  .lang button { padding: .3em .5em; }
  .btn-copy span { display: none; }
  .v-btns { gap: 6px; }
}
@media (hover: none) {
  .card-link:hover .media img { transform: none; }
  .card-link:hover .title { text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .rec { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card.rise, .viewer[open], .v-swap { animation: none; }
  .media img, .btn, .svc-card, .thumbs img, .go, .media::before, .collage-item { transition: none; }
}
