/*!
 * Blush — Creative Designer Portfolio HTML Template
 * Version: 1.0.0
 * Author: Markanda Themes
 * ------------------------------------------------------------------
 * TABLE OF CONTENTS
 *  01. Design tokens (light / dark)
 *  02. Reset & base
 *  03. Typography
 *  04. Layout helpers
 *  05. Buttons, pills, links
 *  06. Preloader, cursor, page transition
 *  07. Header, navigation, mobile menu
 *  08. Decorative: blobs, curve lines, grain
 *  09. Hero variants (Home 1 / 2 / 3)
 *  10. Marquee
 *  11. Project rows (case list)
 *  12. Poster wall
 *  13. Stats, services, process
 *  14. Testimonials, clients
 *  15. Hover reveal list, horizontal scroll
 *  16. Works grid & filter
 *  17. Inner pages: page hero, about, project single, blog, contact, 404
 *  18. CTA "Thank you" & footer
 *  19. Animations & reveal states
 *  20. Responsive
 * ------------------------------------------------------------------ */

/* 01. DESIGN TOKENS ------------------------------------------------ */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f5f4;
  --surface: #ffffff;
  --ink: #0c0c0d;
  --ink-2: #2b2b2e;
  --muted: #6e6e73;
  --line: #e7e5e4;
  --pink: #ff5c9a;
  --pink-2: #ff9cc2;
  --pink-soft: #ffe1ec;
  --glow: rgba(255, 92, 154, .55);
  --inverse-bg: #0c0c0d;
  --inverse-ink: #ffffff;

  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --shadow: 0 20px 50px -20px rgba(12, 12, 13, .25);
  --shadow-s: 0 8px 24px -12px rgba(12, 12, 13, .2);

  --container: 1320px;
  --gutter: clamp(18px, 3vw, 36px);
  --section: clamp(80px, 11vw, 160px);
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
}

[data-theme="dark"] {
  --bg: #0b0b0c;
  --bg-soft: #141416;
  --surface: #161618;
  --ink: #f5f3f2;
  --ink-2: #d9d6d4;
  --muted: #9a979b;
  --line: #262628;
  --pink-soft: #3a1626;
  --glow: rgba(255, 92, 154, .42);
  --inverse-bg: #f5f3f2;
  --inverse-ink: #0b0b0c;
  --shadow: 0 30px 60px -25px rgba(0, 0, 0, .7);
  --shadow-s: 0 10px 30px -12px rgba(0, 0, 0, .6);
}

/* 02. RESET & BASE ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; background: var(--bg-soft); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; background: none; border: 0; outline: none; }
button { cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 03. TYPOGRAPHY --------------------------------------------------- */
.display, .h1, .h2, .h3, .h4, h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 72%;
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.035em;
  color: var(--ink);
}
.display { font-size: clamp(64px, 14vw, 220px); line-height: .9; letter-spacing: -.045em; }
.h1, h1 { font-size: clamp(52px, 8.4vw, 132px); }
.h2, h2 { font-size: clamp(40px, 5.6vw, 88px); }
.h3, h3 { font-size: clamp(28px, 3vw, 44px); line-height: 1; }
.h4, h4 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.1; letter-spacing: -.02em; }
.lead { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.small { font-size: 13px; line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.italic { font-style: italic; font-weight: 300; font-stretch: 100%; letter-spacing: -.04em; padding-right: .06em; }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.accent { color: var(--pink); }
.label { font-family: var(--font-display); font-stretch: 85%; font-weight: 700; font-size: 18px; letter-spacing: -.01em; color: var(--ink); margin-bottom: 6px; display: block; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px var(--pink-soft); }
.num { font-family: var(--font-display); font-stretch: 70%; font-weight: 800; font-size: clamp(36px, 3.4vw, 54px); line-height: 1; letter-spacing: -.04em; }
.prose p { margin-bottom: 1.2em; color: var(--ink-2); }
.prose h2, .prose h3 { margin: 1.4em 0 .5em; }
.prose blockquote {
  margin: 2em 0; padding: 28px 32px; border-left: 3px solid var(--pink);
  background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display); font-stretch: 80%; font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em;
}
.prose ul { margin: 0 0 1.4em 1.2em; list-style: disc; color: var(--ink-2); }
.prose img { border-radius: var(--radius); margin: 2em 0; }

/* 04. LAYOUT HELPERS ----------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1600px; }
.section { position: relative; padding-block: var(--section); }
.section-sm { padding-block: calc(var(--section) * .6); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 6vw, 80px); flex-wrap: wrap; }
.section-head .lead { margin: 0; }
.grid { display: grid; gap: var(--gutter); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.center { text-align: center; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-1 { margin-bottom: 12px; } .mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.rounded { border-radius: var(--radius); overflow: hidden; }
.rounded-l { border-radius: var(--radius-l); overflow: hidden; }
.bg-soft { background: var(--bg-soft); }
.bg-dark { background: var(--inverse-bg); color: var(--inverse-ink); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark .h2, .bg-dark .h3 { color: var(--inverse-ink); }
.overflow-hidden { overflow: hidden; }
.divider { height: 1px; background: var(--line); border: 0; }
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.ratio { position: relative; overflow: hidden; }
.ratio > img, .ratio > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ratio-1 { aspect-ratio: 1; } .ratio-34 { aspect-ratio: 3/4; } .ratio-43 { aspect-ratio: 4/3; } .ratio-169 { aspect-ratio: 16/9; } .ratio-45 { aspect-ratio: 4/5; } .ratio-23 { aspect-ratio: 2/3; }

/* 05. BUTTONS, PILLS, LINKS ---------------------------------------- */
.btn {
  --btn-bg: var(--ink); --btn-ink: var(--bg);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 28px; border-radius: 100px;
  background: var(--btn-bg); color: var(--btn-ink);
  font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .5s var(--ease), color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--pink); border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: #fff; }
.btn .arrow { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translate(3px, -3px) rotate(0deg); }
.btn-outline { --btn-bg: transparent; --btn-ink: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--pink); }
.btn-pink { --btn-bg: var(--pink); --btn-ink: #fff; }
.btn-pink::before { background: var(--ink); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn-circle {
  width: 150px; height: 150px; padding: 0; border-radius: 50%; justify-content: center; text-align: center;
  flex-direction: column; gap: 4px; font-size: 14px;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px;
  border-radius: 100px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-2);
  background: var(--surface); transition: .3s var(--ease);
}
.pill:hover, .pill.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #2bd576; box-shadow: 0 0 0 0 rgba(43, 213, 118, .6); animation: pulse 2s infinite; }
.link-line { position: relative; display: inline-block; }
.link-line::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.link-line:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.link-arrow svg { width: 16px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* 06. PRELOADER, CURSOR, TRANSITION -------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--bg);
  display: grid; place-items: center; overflow: hidden;
  transition: transform 1.1s var(--ease-in-out);
}
.preloader.is-done { transform: translateY(-100%); }
.preloader .blob { width: 60vmin; height: 60vmin; left: 50%; top: 50%; translate: -50% -50%; }
.preloader-inner { position: relative; text-align: center; transition: opacity .5s var(--ease), transform 1.1s var(--ease-in-out); }
.preloader.is-done .preloader-inner { opacity: 0; transform: translateY(-60px); }
.preloader-count { font-family: var(--font-display); font-stretch: 70%; font-weight: 800; font-size: clamp(90px, 18vw, 240px); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; min-width: 3ch; }
.preloader-bar { width: min(260px, 60vw); height: 2px; margin: 18px auto 0; background: var(--line); overflow: hidden; border-radius: 2px; }
.preloader-bar i { display: block; height: 100%; background: var(--pink); transform: scaleX(0); transform-origin: left; }
.preloader-word { margin-top: 16px; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
html.is-nav .preloader, html.is-return .preloader { display: none; }

.cursor { position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none; mix-blend-mode: normal; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 9998; will-change: transform; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--pink); }
.cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid var(--ink);
  display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #fff;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease), opacity .3s;
}
.cursor-ring span { opacity: 0; transition: opacity .3s; }
.cursor-ring.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--pink); background: rgba(255, 92, 154, .12); }
.cursor-ring.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--pink); border-color: var(--pink); }
.cursor-ring.is-view span { opacity: 1; }
@media (hover: none), (max-width: 1024px) { .cursor-dot, .cursor-ring { display: none; } }

.page-transition {
  position: fixed; inset: 0; z-index: 9997; background: var(--pink); pointer-events: none;
  display: grid; place-items: center;
  transform: translateY(100%); visibility: hidden;
  transition: transform .7s var(--ease-in-out), visibility 0s .7s;
}
.page-transition.is-active { transform: translateY(0); visibility: visible; pointer-events: all; transition: transform .7s var(--ease-in-out), visibility 0s; }
html.is-nav .page-transition { transform: none; visibility: visible; transition: none; }
html.is-nav .page-transition.is-out, .page-transition.is-out { transform: translateY(-100%); visibility: visible; transition: transform .9s var(--ease-in-out); }
.pt-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-family: var(--font-display); font-stretch: 75%; font-weight: 800; font-size: clamp(40px, 6vw, 72px); letter-spacing: -.04em; line-height: 1; opacity: 0; transform: translateY(20px); transition: opacity .4s .25s, transform .6s .25s var(--ease); }
.pt-logo .logo-mark { width: .7em; height: .7em; background: radial-gradient(circle at 35% 35%, #fff 0 10%, #ffd3e2 40%, #fff 100%); box-shadow: none; }
.page-transition.is-active .pt-logo, html.is-nav .page-transition .pt-logo { opacity: 1; transform: none; }
html .page-transition.is-out .pt-logo { opacity: 0; transform: translateY(-30px); transition: opacity .3s, transform .6s var(--ease); }

.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--pink); transform-origin: left; transform: scaleX(0); z-index: 1001; }

.back-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 900; width: 54px; height: 54px; border-radius: 50%;
  background: var(--ink); color: var(--bg); display: grid; place-items: center;
  opacity: 0; transform: translateY(20px); transition: .5s var(--ease);
}
.back-top.is-visible { opacity: 1; transform: none; }
.back-top:hover { background: var(--pink); color: #fff; }
.back-top svg { width: 18px; }

/* 07. HEADER & NAVIGATION ------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
  display: flex; align-items: center;
  transition: transform .5s var(--ease), background .4s, box-shadow .4s, height .4s var(--ease);
}
.site-header.is-scrolled {
  height: 70px; background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-stretch: 75%; font-weight: 800; font-size: 28px; letter-spacing: -.04em; line-height: 1; }
.logo-mark { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff 0 8%, var(--pink-2) 30%, var(--pink) 70%); box-shadow: 0 6px 20px -6px var(--glow); }
.logo sup { font-size: 11px; font-weight: 600; letter-spacing: 0; color: var(--muted); top: -1em; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > li { position: relative; }
.nav > li > a {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 100px;
  font-size: 15px; font-weight: 500; transition: background .3s, color .3s;
}
.nav > li > a:hover, .nav > li.is-current > a { background: var(--bg-soft); }
.nav > li > a .caret { width: 10px; transition: transform .3s; }
.nav > li:hover > a .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 230px; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: .35s var(--ease);
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.nav > li:hover .dropdown, .nav > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 10px; font-size: 14px; transition: .25s; }
.dropdown a:hover { background: var(--bg-soft); padding-left: 18px; }
.dropdown a small { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); transition: .3s var(--ease);
}
.icon-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 6px; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: .4s var(--ease); }
body.menu-open .menu-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
body.menu-open .menu-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: var(--bg);
  padding: calc(var(--header-h) + 30px) var(--gutter) 40px; overflow-y: auto;
  clip-path: circle(0% at calc(100% - 44px) 42px); transition: clip-path .8s var(--ease-in-out);
  display: flex; flex-direction: column; justify-content: space-between;
}
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 42px); }
.mobile-menu .blob { right: -20%; bottom: -10%; width: 80vw; height: 80vw; }
.mobile-nav > li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mobile-nav > li > a, .mobile-nav > li > button {
  display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 0;
  font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: clamp(36px, 9vw, 56px); letter-spacing: -.04em; line-height: 1;
  transform: translateY(100%); transition: transform .8s var(--ease);
}
body.menu-open .mobile-nav > li > a, body.menu-open .mobile-nav > li > button { transform: none; }
.mobile-nav .sub { display: none; padding: 0 0 16px; }
.mobile-nav .sub a { display: block; padding: 6px 0; color: var(--muted); font-size: 17px; }
.mobile-nav li.is-open .sub { display: block; }
.mobile-nav button svg { width: 22px; transition: transform .3s; }
.mobile-nav li.is-open button svg { transform: rotate(45deg); }
.mobile-meta { position: relative; margin-top: 40px; display: grid; gap: 6px; }

/* 08. DECORATIVE --------------------------------------------------- */
.blob {
  position: absolute; z-index: 0; pointer-events: none; border-radius: 50%;
  width: clamp(320px, 48vw, 760px); aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, var(--glow) 0%, rgba(255, 140, 185, .32) 30%, rgba(255, 200, 220, .12) 55%, transparent 70%);
  filter: blur(10px); animation: blobFloat 14s ease-in-out infinite alternate;
}
.blob.sm { width: clamp(220px, 28vw, 420px); }
.blob.lg { width: clamp(420px, 70vw, 1100px); }
.blob.alt { animation-duration: 18s; animation-direction: alternate-reverse; }
.curve {
  position: absolute; z-index: 1; pointer-events: none; overflow: visible;
  width: 100%; height: 100%; inset: 0;
}
.curve path { fill: none; stroke: var(--ink); stroke-opacity: .28; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.curve.pink path { stroke: var(--pink); stroke-opacity: .6; }
.grain::after {
  content: ""; position: fixed; inset: -50%; z-index: 9990; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
.z-1 { position: relative; z-index: 2; }
.sticker {
  position: absolute; display: grid; place-items: center; width: 130px; height: 130px; border-radius: 50%;
  background: var(--pink); color: #fff; z-index: 3;
}
.sticker svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.sticker svg.ring text { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; fill: #fff; }
.sticker .center-icon { width: 30px; }

/* 09. HERO VARIANTS ------------------------------------------------ */
.hero { position: relative; min-height: 100svh; padding-top: calc(var(--header-h) + 40px); padding-bottom: 60px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }

/* Home 1 — studio */
.hero-studio .hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 80px); align-items: end; position: relative; z-index: 2; }
.hero-studio .blob { top: 5%; right: -8%; }
.hero-studio .display span { display: block; }
.hero-studio .hero-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 48px; margin-top: 48px; }
.hero-studio .hero-meta strong { display: block; font-family: var(--font-display); font-stretch: 72%; font-size: 40px; line-height: 1; letter-spacing: -.04em; }
.hero-portrait { position: relative; }
.hero-portrait .ratio { border-radius: var(--radius-l); box-shadow: var(--shadow); }
.hero-portrait .sticker { left: -60px; bottom: 40px; }
.hero-portrait .float-card {
  position: absolute; right: -20px; top: 30px; z-index: 3; padding: 14px 18px; border-radius: 16px;
  background: var(--surface); box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; font-size: 13px;
  animation: floatY 5s ease-in-out infinite;
}
.float-card img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.float-card strong { display: block; font-size: 14px; }
.hero-scroll { position: absolute; left: var(--gutter); bottom: 30px; z-index: 2; display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero-scroll i { display: block; width: 1px; height: 48px; background: var(--line); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--pink); animation: scrollLine 2s var(--ease-in-out) infinite; }

/* Home 2 — poster */
.hero-poster { text-align: center; align-items: center; }
.hero-poster .blob { left: 50%; top: 50%; translate: -50% -50%; }
.hero-poster .display { position: relative; z-index: 2; }
.hero-poster .lead { margin: 28px auto 0; text-align: center; position: relative; z-index: 2; }
.hero-poster .actions { justify-content: center; margin-top: 36px; position: relative; z-index: 2; }
.float-posters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.float-posters .fp {
  position: absolute; width: clamp(110px, 13vw, 210px); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 3/4; will-change: transform; transition: transform .2s linear;
}
.float-posters .fp img { width: 100%; height: 100%; object-fit: cover; }
.fp-1 { left: 5%; top: 18%; rotate: -8deg; }
.fp-2 { left: 14%; bottom: 10%; rotate: 6deg; }
.fp-3 { right: 6%; top: 16%; rotate: 9deg; }
.fp-4 { right: 15%; bottom: 8%; rotate: -5deg; }
.fp-5 { left: 30%; top: 10%; width: clamp(80px, 8vw, 130px) !important; rotate: 4deg; opacity: .9; }
.fp-6 { right: 32%; bottom: 4%; width: clamp(80px, 8vw, 130px) !important; rotate: -10deg; opacity: .9; }

/* Home 3 — editorial dark */
.hero-editorial { justify-content: flex-end; padding-bottom: 50px; }
.hero-editorial .blob { left: -10%; bottom: -30%; }
.hero-editorial .blob.alt { left: auto; right: -15%; top: -20%; bottom: auto; }
.hero-editorial .display { font-size: clamp(64px, 15.5vw, 260px); }
.hero-editorial .rotator { display: inline-block; position: relative; vertical-align: top; height: 1.1em; margin-top: -.1em; overflow: hidden; color: var(--pink); }
.hero-editorial .rotator span { display: block; height: 1.1em; line-height: 1.1em; padding-right: .1em; transition: transform .8s var(--ease); }
.hero-editorial .hero-bottom { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: end; margin-top: 50px; position: relative; z-index: 2; }
.hero-editorial .hero-bottom .ratio { width: 200px; border-radius: 120px 120px var(--radius) var(--radius); }
.hero-editorial .hero-bottom .right { justify-self: end; text-align: right; }
.avatars { display: flex; }
.avatars img { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--bg); margin-left: -12px; object-fit: cover; }
.avatars img:first-child { margin-left: 0; }

/* 10. MARQUEE ------------------------------------------------------ */
.marquee { position: relative; overflow: hidden; padding-block: 28px; border-block: 1px solid var(--line); white-space: nowrap; user-select: none; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 30s linear infinite; padding-right: 48px; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 48px; font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: clamp(40px, 6vw, 90px); letter-spacing: -.04em; line-height: 1; }
.marquee-item .star { width: .5em; color: var(--pink); animation: spin 8s linear infinite; }
.marquee-item.outline { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.marquee.tilt { transform: rotate(-2.5deg); margin-block: 40px; background: var(--ink); color: var(--bg); border: 0; }
.marquee.tilt .marquee-item .star { color: var(--pink); }
.marquee.small .marquee-item { font-size: clamp(22px, 2.4vw, 32px); }

/* 11. PROJECT ROWS ------------------------------------------------- */
.project-row {
  position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 5vw, 80px);
  align-items: center; padding-block: clamp(40px, 6vw, 80px);
}
.project-row + .project-row { border-top: 1px solid var(--line); }
.project-row .pr-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 8px; }
.project-row .pr-title { font-size: clamp(34px, 3.6vw, 56px); }
.project-row .pr-cat { font-size: 12px; color: var(--muted); margin-bottom: 26px; display: block; }
.project-row .pr-text { font-size: 14px; color: var(--muted); max-width: 40ch; margin-bottom: 24px; }
.project-row .pr-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.project-row .pr-media { position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/10; }
.project-row .pr-media img { width: 100%; height: 115%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project-row:hover .pr-media img { transform: scale(1.05); }
.project-row.flip { grid-template-columns: 1.18fr .82fr; }
.project-row.flip .pr-body { order: 2; }
.pr-media .badge {
  position: absolute; left: 18px; top: 18px; z-index: 2; height: 30px; padding: 0 14px; border-radius: 100px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); color: #0c0c0d; display: inline-flex; align-items: center; font-size: 12px; font-weight: 600;
}
.pr-media .multi { position: absolute; right: 18px; bottom: 18px; width: 30%; aspect-ratio: 9/16; border-radius: 18px; overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow); z-index: 2; }
.pr-media .multi img { height: 100%; }
.showcase-wide { position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 21/9; margin-block: 20px; }
.showcase-wide img { width: 100%; height: 120%; object-fit: cover; }

/* 12. POSTER WALL -------------------------------------------------- */
.poster-wall { position: relative; }
.poster-wall .wall { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 60px); max-width: 980px; margin-inline: auto; }
.poster { position: relative; aspect-ratio: 3/4; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); background: var(--bg-soft); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.poster:hover { transform: translateY(-10px) rotate(-1.5deg); box-shadow: 0 40px 70px -30px rgba(12, 12, 13, .45); }
.poster:hover img { transform: scale(1.06); }
.poster .poster-cap {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 14px; border-radius: 10px;
  background: rgba(12, 12, 13, .72); backdrop-filter: blur(10px); color: #fff; font-size: 13px;
  display: flex; justify-content: space-between; align-items: center; transform: translateY(130%); transition: transform .5s var(--ease);
}
.poster:hover .poster-cap { transform: none; }
.wall .poster:nth-child(3n+2) { margin-top: 60px; }
.wall .poster:nth-child(3n+3) { margin-top: -20px; }
.poster-title-block { position: relative; text-align: center; padding-block: clamp(60px, 9vw, 140px); }
.poster-title-block .blob { left: 50%; top: 50%; translate: -50% -50%; }
.poster-title-block h2 { position: relative; z-index: 2; }
.mockup-strip { display: grid; grid-template-columns: repeat(3, 1fr); }
.mockup-strip .ratio { aspect-ratio: 3/4; }
.mockup-strip img { transition: transform 1.2s var(--ease); }
.mockup-strip .ratio:hover img { transform: scale(1.06); }

/* 13. STATS, SERVICES, PROCESS ------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); border-top: 1px solid var(--line); }
.stats[style*="--cols:2"] .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
.stat { padding: 40px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat .count { font-family: var(--font-display); font-stretch: 70%; font-weight: 800; font-size: clamp(56px, 7vw, 110px); line-height: .9; letter-spacing: -.05em; }
.stat .count sup { color: var(--pink); font-size: .45em; vertical-align: top; position: relative; top: .2em; }
.stat p { margin-top: 10px; color: var(--muted); font-size: 14px; }

.service-list { border-top: 1px solid var(--line); }
.service-item { border-bottom: 1px solid var(--line); }
.service-head {
  width: 100%; display: grid; grid-template-columns: 70px 1fr auto; gap: 24px; align-items: center; padding: 30px 0; text-align: left;
  transition: padding .5s var(--ease), color .3s;
}
.service-head .idx { font-size: 13px; color: var(--muted); font-weight: 500; }
.service-head h3 { font-size: clamp(30px, 4vw, 62px); transition: color .3s; }
.service-head .plus { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .5s var(--ease); }
.service-head .plus svg { width: 18px; transition: transform .5s var(--ease); }
.service-item:hover .service-head { padding-left: 14px; }
.service-item:hover h3 { color: var(--pink); }
.service-item.is-open .plus { background: var(--pink); border-color: var(--pink); color: #fff; }
.service-item.is-open .plus svg { transform: rotate(45deg); }
.service-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.service-item.is-open .service-body { grid-template-rows: 1fr; }
.service-body > div { overflow: hidden; }
.service-body .inner { display: grid; grid-template-columns: 70px 1fr 1fr 260px; gap: 24px; padding-bottom: 36px; }
.service-body .inner p { color: var(--muted); }
.service-body ul li { padding: 4px 0; font-size: 15px; display: flex; gap: 10px; align-items: center; }
.service-body ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }
.service-body .ratio { border-radius: var(--radius); aspect-ratio: 4/3; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-card {
  position: relative; padding: 32px 28px; min-height: 300px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transition: transform .6s var(--ease), border-color .4s;
}
.process-card::after { content: ""; position: absolute; right: -40%; bottom: -40%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 65%); opacity: 0; transition: opacity .6s; }
.process-card:hover { transform: translateY(-8px); border-color: transparent; }
.process-card:hover::after { opacity: 1; }
.process-card .num { color: var(--pink); }
.process-card h4 { margin: 24px 0 10px; }
.process-card p { font-size: 14px; color: var(--muted); position: relative; z-index: 1; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { position: relative; padding: 40px 34px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; overflow: hidden; }
.price-card.featured { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.price-card.featured h3, .price-card.featured .price { color: var(--bg); }
.price-card.featured .blob { right: -50%; top: -40%; width: 110%; }
.price-card .price { font-family: var(--font-display); font-stretch: 70%; font-weight: 800; font-size: 76px; letter-spacing: -.05em; line-height: 1; margin: 24px 0 6px; }
.price-card .price small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price-card ul { margin: 28px 0 36px; display: grid; gap: 12px; flex: 1; position: relative; }
.price-card li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.price-card li svg { width: 18px; color: var(--pink); flex: none; }
.price-card .btn { justify-content: center; position: relative; }
.price-card.featured .btn { --btn-bg: var(--pink); --btn-ink: #fff; }
.price-card.featured .btn::before { background: #fff; }
.price-card.featured .btn:hover { color: #0c0c0d; }
.price-card .tag { position: absolute; top: 24px; right: 24px; }

/* 14. TESTIMONIALS, CLIENTS ---------------------------------------- */
.testimonials { position: relative; }
.t-slider { position: relative; overflow: hidden; }
.t-track { display: flex; transition: transform .9s var(--ease); }
.t-slide { flex: 0 0 100%; display: grid; grid-template-columns: 300px 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding-right: 2px; }
.t-slide .ratio { border-radius: var(--radius-l); aspect-ratio: 4/5; }
.t-quote { font-family: var(--font-display); font-stretch: 80%; font-weight: 700; font-size: clamp(26px, 3.2vw, 48px); line-height: 1.08; letter-spacing: -.03em; }
.t-quote::before { content: "\201C"; display: block; color: var(--pink); font-size: 2.4em; line-height: .6; margin-bottom: 10px; }
.t-author { margin-top: 30px; display: flex; gap: 14px; align-items: center; }
.t-author strong { display: block; }
.t-controls { display: flex; gap: 10px; align-items: center; margin-top: 40px; }
.t-controls .count { margin-left: 16px; font-size: 14px; color: var(--muted); }
.stars { display: flex; gap: 3px; color: var(--pink); }
.stars svg { width: 16px; }
.clients { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client { aspect-ratio: 16/9; display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--font-display); font-stretch: 80%; font-weight: 800; font-size: 24px; letter-spacing: -.03em; color: var(--muted); transition: .4s var(--ease); }
.client:hover { color: var(--ink); background: var(--pink-soft); }
.client em { font-style: italic; font-weight: 300; }

/* 15. HOVER REVEAL LIST, HORIZONTAL SCROLL ------------------------- */
.hover-list { border-top: 1px solid var(--line); position: relative; }
.hover-item {
  position: relative; display: grid; grid-template-columns: 80px 1fr auto auto; gap: 30px; align-items: center;
  padding: 34px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease);
}
.hover-item .idx { color: var(--muted); font-size: 14px; }
.hover-item h3 { font-size: clamp(36px, 5.6vw, 92px); transition: color .4s, transform .6s var(--ease); }
.hover-item .cat { color: var(--muted); font-size: 14px; }
.hover-item .go { width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .5s var(--ease); }
.hover-item .go svg { width: 20px; transition: transform .5s var(--ease); }
.hover-item:hover h3 { color: var(--pink); transform: translateX(14px); }
.hover-item:hover .go { background: var(--pink); border-color: var(--pink); color: #fff; }
.hover-item:hover .go svg { transform: rotate(-45deg); }
.hover-reveal {
  position: fixed; top: 0; left: 0; z-index: 50; width: 340px; aspect-ratio: 4/5; border-radius: var(--radius);
  overflow: hidden; pointer-events: none; opacity: 0; scale: .7; transition: opacity .35s var(--ease), scale .5s var(--ease);
  box-shadow: var(--shadow);
}
.hover-reveal.is-visible { opacity: 1; scale: 1; }
.hover-reveal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.hover-reveal img.is-active { opacity: 1; }

.hscroll { position: relative; }
.hscroll-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hscroll-track { display: flex; gap: 30px; padding-inline: var(--gutter); will-change: transform; }
.hs-card { flex: 0 0 clamp(280px, 32vw, 480px); }
.hs-card .ratio { border-radius: var(--radius-l); aspect-ratio: 4/5; box-shadow: var(--shadow-s); }
.hs-card .ratio img { transition: transform 1.2s var(--ease); }
.hs-card:hover .ratio img { transform: scale(1.06); }
.hs-card .meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; }
.hs-card .meta h4 { font-size: 28px; }
.hs-intro { flex: 0 0 clamp(280px, 30vw, 440px); display: flex; flex-direction: column; justify-content: center; }
.hscroll-progress { margin: 40px var(--gutter) 0; height: 2px; background: var(--line); position: relative; }
.hscroll-progress i { position: absolute; inset: 0; background: var(--pink); transform-origin: left; transform: scaleX(0); }

/* 16. WORKS GRID & FILTER ------------------------------------------ */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters .pill sup { font-size: 10px; margin-left: 2px; opacity: .6; }
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 60px) var(--gutter); }
.works-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.work-card { display: block; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.work-card.is-hidden { display: none; }
.work-card .ratio { border-radius: var(--radius-l); aspect-ratio: 4/3; }
.work-card.tall .ratio { aspect-ratio: 4/5; }
.work-card .ratio img { transition: transform 1.2s var(--ease), filter .6s; }
.work-card:hover .ratio img { transform: scale(1.06); }
.work-card .ratio::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(255, 92, 154, .35), transparent 50%); opacity: 0; transition: opacity .6s; }
.work-card:hover .ratio::after { opacity: 1; }
.work-card .meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; align-items: flex-start; }
.work-card .meta h4 { font-size: clamp(24px, 2.2vw, 34px); }
.work-card .meta span { color: var(--muted); font-size: 14px; }
.works-grid:not(.cols-3) .work-card:nth-child(even) { margin-top: clamp(0px, 8vw, 120px); }
.works-grid.no-offset .work-card { margin-top: 0 !important; }
.load-more { display: flex; justify-content: center; margin-top: 70px; }

/* 17. INNER PAGES -------------------------------------------------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(60px, 9vw, 130px)) 0 clamp(50px, 7vw, 90px); overflow: hidden; }
.page-hero .blob { right: -10%; top: -20%; }
.page-hero .breadcrumb { display: flex; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 28px; position: relative; z-index: 2; }
.page-hero .breadcrumb a:hover { color: var(--pink); }
.page-hero h1 { position: relative; z-index: 2; }
.page-hero .ph-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-top: 40px; position: relative; z-index: 2; flex-wrap: wrap; }

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.about-split .sticky { position: sticky; top: 110px; }
.about-split .ratio { border-radius: var(--radius-l); aspect-ratio: 4/5; }
.about-big { font-family: var(--font-display); font-stretch: 78%; font-weight: 700; font-size: clamp(30px, 3.6vw, 56px); line-height: 1.04; letter-spacing: -.035em; }
.about-big .hl { color: var(--muted); transition: color .3s; }
.about-big img.inline { display: inline-block; width: 1.8em; height: .9em; object-fit: cover; border-radius: 100px; vertical-align: middle; margin: -.1em .1em 0; }
.timeline { border-top: 1px solid var(--line); }
.tl-item { display: grid; grid-template-columns: 180px 1fr 1fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: background .4s; }
.tl-item:hover { background: linear-gradient(90deg, var(--pink-soft), transparent); }
.tl-item .year { font-size: 14px; color: var(--muted); }
.tl-item p { color: var(--muted); font-size: 15px; }
.skills { display: grid; gap: 22px; }
.skill .top { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.skill .bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.skill .bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--pink-2), var(--pink)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.skill.is-in .bar i { transform: scaleX(1); }
.awards { border-top: 1px solid var(--line); }
.award { display: grid; grid-template-columns: 1fr 1fr 100px; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.award span:last-child { text-align: right; color: var(--muted); }
.tools { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tool { aspect-ratio: 1; border-radius: var(--radius); border: 1px solid var(--line); display: grid; place-items: center; text-align: center; font-weight: 700; font-size: 13px; transition: .4s var(--ease); }
.tool b { display: block; font-family: var(--font-display); font-stretch: 75%; font-size: 34px; letter-spacing: -.04em; line-height: 1; margin-bottom: 4px; }
.tool:hover { background: var(--ink); color: var(--bg); transform: translateY(-6px) rotate(-3deg); }

.project-hero { padding-top: calc(var(--header-h) + 80px); position: relative; overflow: hidden; }
.project-hero .blob { left: -10%; top: 0; }
.project-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 50px; position: relative; z-index: 2; }
.project-info span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 6px; }
.project-cover { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 16/8; margin-top: 60px; position: relative; z-index: 2; }
.project-cover img { width: 100%; height: 120%; object-fit: cover; }
.case-block { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 100px); }
.case-block h3 { position: sticky; top: 110px; }
.case-block p { color: var(--ink-2); margin-bottom: 1.1em; font-size: 17px; }
.gallery-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.gallery-2 .ratio { border-radius: var(--radius-l); }
.color-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.swatch { aspect-ratio: 3/4; border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; font-size: 13px; font-weight: 600; }
.next-project { position: relative; display: block; padding-block: clamp(80px, 12vw, 180px); text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.next-project .blob { left: 50%; top: 50%; translate: -50% -50%; opacity: 0; transition: opacity .8s; }
.next-project:hover .blob { opacity: 1; }
.next-project .display { position: relative; z-index: 2; transition: letter-spacing .8s var(--ease); }
.next-project:hover .display { letter-spacing: -.02em; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px var(--gutter); }
.blog-card .ratio { border-radius: var(--radius-l); aspect-ratio: 4/3; }
.blog-card .ratio img { transition: transform 1.2s var(--ease); }
.blog-card:hover .ratio img { transform: scale(1.06); }
.blog-card .meta { display: flex; gap: 14px; align-items: center; margin: 20px 0 12px; font-size: 13px; color: var(--muted); }
.blog-card h4 { font-size: clamp(24px, 2vw, 30px); transition: color .3s; }
.blog-card:hover h4 { color: var(--pink); }
.blog-card.featured { grid-column: span 3; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.blog-card.featured .ratio { aspect-ratio: 16/10; }
.blog-card.featured h4 { font-size: clamp(36px, 4vw, 60px); }
.post-hero { padding-top: calc(var(--header-h) + 80px); }
.post-wrap { display: grid; grid-template-columns: 220px 1fr 220px; gap: 50px; }
.post-wrap .aside { position: sticky; top: 110px; align-self: start; font-size: 14px; }
.post-wrap .aside .share { display: flex; gap: 8px; margin-top: 14px; }
.post-content { max-width: 720px; font-size: 18px; }
.author-box { display: flex; gap: 24px; align-items: center; padding: 30px; border-radius: var(--radius-l); background: var(--bg-soft); margin-top: 50px; }
.author-box img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 100px); }
.contact-info .item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.contact-info .item span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 6px; }
.contact-info .item a, .contact-info .item p { font-family: var(--font-display); font-stretch: 80%; font-weight: 700; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.03em; line-height: 1.15; }
.contact-info .item a:hover { color: var(--pink); }
.contact-info .socials a { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0; line-height: 1; }
.contact-info .socials a:hover { color: #fff; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 24px; }
.form .full { grid-column: span 2; }
.field { position: relative; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 0; border-bottom: 1.5px solid var(--line); font-size: 18px; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--pink); }
.field select option { color: #0c0c0d; }
.chip-group { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chip-group input { position: absolute; opacity: 0; pointer-events: none; }
.chip-group label { cursor: pointer; margin: 0; }
.chip-group input:checked + .pill { background: var(--pink); border-color: var(--pink); color: #fff; }
.form-note { font-size: 14px; margin-top: 10px; color: var(--muted); min-height: 1.4em; transition: color .3s; }
.form-note.is-success { color: #1fa463; }
.form-note.is-error { color: #e5484d; }
.site-footer .form-note.is-success { color: #4ade80; }
.site-footer .form-note.is-error { color: #ff8a8f; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading .arrow { animation: spin 1s linear infinite; }
.map { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 21/8; }
.map { position: relative; filter: none; }
.map img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.map-pin { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 5; display: flex; gap: 14px; align-items: center; padding: 16px 22px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.map-pin strong { display: block; }
.map-pin .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 6px var(--pink-soft); animation: floatY 2s ease-in-out infinite; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; font-family: var(--font-display); font-stretch: 80%; font-weight: 700; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.02em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; transition: .4s var(--ease); }
.faq-item[open] summary i { transform: rotate(45deg); background: var(--pink); border-color: var(--pink); color: #fff; }
.faq-item p { padding: 0 60px 26px 0; color: var(--muted); }

.error-page { min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; padding: 120px var(--gutter) 60px; }
.error-page .blob { left: 50%; top: 50%; translate: -50% -50%; }
.error-page .display { font-size: clamp(140px, 30vw, 420px); position: relative; z-index: 2; margin-bottom: .12em; }
.error-page .z-1 p { margin: 10px auto 34px; max-width: 40ch; }

/* 18. CTA & FOOTER ------------------------------------------------- */
.cta-thanks { position: relative; text-align: center; padding-block: clamp(110px, 15vw, 220px); overflow: hidden; }
.cta-thanks .blob { left: 50%; top: 50%; translate: -50% -50%; }
.cta-thanks .top-meta { position: absolute; top: 40px; left: 0; right: 0; z-index: 2; display: flex; justify-content: space-between; padding-inline: var(--gutter); font-size: 13px; color: var(--muted); }
.cta-thanks h2 { position: relative; z-index: 2; font-size: clamp(64px, 11vw, 180px); }
.cta-thanks p { position: relative; z-index: 2; margin: 22px auto 0; max-width: 42ch; color: var(--ink-2); }
.cta-thanks p b { color: var(--ink); }
.cta-thanks .actions { position: relative; z-index: 2; justify-content: center; margin-top: 40px; }
.site-footer { background: var(--inverse-bg); color: var(--inverse-ink); padding: clamp(60px, 8vw, 110px) 0 30px; position: relative; overflow: hidden; }
.site-footer .blob { right: -15%; bottom: -60%; opacity: .7; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; position: relative; z-index: 2; }
.footer-top h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; opacity: .5; margin-bottom: 18px; font-weight: 600; }
.footer-top li { padding: 4px 0; }
.footer-top a { opacity: .85; transition: opacity .3s, color .3s; }
.footer-top a:hover { opacity: 1; color: var(--pink); }
.footer-top .logo { color: var(--inverse-ink); }
.footer-top p { opacity: .6; margin: 18px 0 24px; max-width: 34ch; font-size: 15px; }
.newsletter { display: flex; border-bottom: 1px solid rgba(127, 127, 127, .35); max-width: 340px; }
.newsletter input { flex: 1; padding: 12px 0; }
.newsletter input::placeholder { color: inherit; opacity: .45; }
.newsletter button { width: 44px; display: grid; place-items: center; transition: color .3s; }
.newsletter button:hover { color: var(--pink); }
.newsletter button svg { width: 18px; }
.footer-big { position: relative; z-index: 2; margin-top: clamp(60px, 8vw, 110px); font-family: var(--font-display); font-stretch: 70%; font-weight: 800; font-size: clamp(32px, 8.4vw, 150px); line-height: 1; padding-inline: .04em; letter-spacing: -.055em; text-align: center; white-space: nowrap; overflow: hidden; color: var(--inverse-ink); }
.footer-big span { color: var(--pink); }
.footer-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(127, 127, 127, .25); font-size: 13px; opacity: .65; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(127, 127, 127, .35); display: grid; place-items: center; font-size: 12px; font-weight: 700; opacity: 1 !important; transition: .3s; }
.socials a:hover { background: var(--pink); border-color: var(--pink); color: #fff !important; }
.bg-light-socials .socials a { border-color: var(--line); }


/* Lightbox ---------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 9995; display: grid; place-items: center;
  background: rgba(12, 12, 13, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
body.lb-open { overflow: hidden; }
.lb-stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 80px 90px 90px; }
.lb-img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px;
  background: transparent; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  opacity: 0; transform: translateX(var(--dx, 0)) scale(.94); transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.lb-img.is-in { opacity: 1; transform: none; }
.lb-caption { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; gap: 18px; color: #fff; font-size: 14px; }
.lb-caption .lb-title { font-weight: 600; }
.lb-caption .lb-count { opacity: .6; font-variant-numeric: tabular-nums; }
.lb-btn {
  position: absolute; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); transition: background .3s, border-color .3s, transform .4s var(--ease);
}
.lb-btn svg { width: 22px; height: 22px; }
.lb-btn:hover { background: var(--pink); border-color: var(--pink); }
.lb-close { top: 22px; right: 22px; }
.lb-close:hover { transform: rotate(90deg); }
.lb-prev { left: 22px; top: 50%; margin-top: -27px; }
.lb-next { right: 22px; top: 50%; margin-top: -27px; }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next { display: none; }
@media (max-width: 720px) {
  .lb-stage { padding: 70px 14px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; margin-top: 0; width: 46px; height: 46px; }
  .lb-caption { bottom: 32px; }
}

/* 19. ANIMATIONS --------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(50px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="scale"] { transform: scale(.88); }
[data-reveal="fade"] { transform: none; }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="clip"] { opacity: 1; transform: none; position: relative; }
[data-reveal="clip"]::before { content: ""; position: absolute; inset: -1px; z-index: 4; background: var(--bg); transform-origin: top; transition: transform 1.4s var(--ease-in-out); transition-delay: var(--d, 0s); pointer-events: none; }
[data-reveal="clip"].is-in::before { transform: scaleY(0); }
.bg-soft [data-reveal="clip"]::before { background: var(--bg-soft); }
[data-reveal="clip"] img { scale: 1.3; transition: scale 1.8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="clip"].is-in img { scale: 1; }
.split-line { display: block; overflow: hidden; padding: .12em .14em .16em 0; margin: -.12em -.14em -.16em 0; }
.split-line > span { display: block; transform: translateY(110%); transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
[data-split].is-in .split-line > span { transform: none; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .08em .14em 0; margin: -.08em -.08em -.14em 0; }
.split-word > span { display: inline-block; transform: translateY(105%) rotate(4deg); transition: transform 1s var(--ease); transition-delay: var(--d, 0s); }
[data-split="words"].is-in .split-word > span { transform: none; }
[data-parallax] { will-change: transform; }

@keyframes blobFloat { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(4%, -6%) scale(1.08); } 100% { transform: translate(-5%, 4%) scale(.95); } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(43, 213, 118, .6); } 70% { box-shadow: 0 0 0 8px rgba(43, 213, 118, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 213, 118, 0); } }
@keyframes scrollLine { to { top: 100%; } }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 10% { transform: translate(-5%, -10%); } 30% { transform: translate(3%, -15%); } 50% { transform: translate(12%, 9%); } 70% { transform: translate(9%, 4%); } 90% { transform: translate(-1%, 7%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split-line > span, .split-word > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* 20. RESPONSIVE --------------------------------------------------- */
@media (max-width: 1200px) {
  .nav > li > a { padding: 0 12px; }
  .service-body .inner { grid-template-columns: 70px 1fr 1fr; }
  .service-body .inner .ratio { display: none; }
  .tools { grid-template-columns: repeat(4, 1fr); }
  .post-wrap { grid-template-columns: 1fr; }
  .post-wrap .aside { position: static; }
  .post-wrap .aside.right { display: none; }
  .post-content { margin-inline: auto; }
}
@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .hero-studio .hero-grid, .about-split, .contact-grid, .case-block, .t-slide { grid-template-columns: 1fr; }
  .hero-portrait { max-width: 520px; }
  .hero-portrait .sticker { left: auto; right: -10px; bottom: -30px; width: 110px; height: 110px; }
  .project-row, .project-row.flip { grid-template-columns: 1fr; }
  .project-row.flip .pr-body { order: 0; }
  .stats { --cols: 2 !important; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .process, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing, .grid-3, .blog-grid, .works-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .blog-card.featured { grid-column: span 2; grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .hero-editorial .hero-bottom { grid-template-columns: 1fr 1fr; }
  .hero-editorial .hero-bottom .ratio { display: none; }
  .about-split .sticky, .case-block h3 { position: static; }
  .t-slide .ratio { max-width: 320px; }
  .hover-reveal { display: none; }
  .project-info { grid-template-columns: repeat(2, 1fr); }
  .float-posters .fp-5, .float-posters .fp-6 { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .grid-2, .grid-3, .grid-4, .pricing, .blog-grid, .works-grid, .works-grid.cols-3, .process, .gallery-2, .form { grid-template-columns: 1fr; }
  .blog-card.featured { grid-column: auto; }
  .form .full { grid-column: auto; }
  .works-grid .work-card { margin-top: 0 !important; }
  .stat { padding: 28px 12px 0 0; }
  .stat + .stat { padding-left: 12px; }
  .hero-studio .hero-meta { gap: 24px; grid-template-columns: repeat(3, 1fr); }
  .hero-studio .hero-meta strong { font-size: 30px; }
  .hero-portrait .float-card { right: 10px; top: 14px; }
  .poster-wall .wall { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .wall .poster:nth-child(n) { margin-top: 0; }
  .wall .poster:nth-child(even) { margin-top: 30px; }
  .hero-scroll { display: none; }
  .wall .poster:nth-child(9) { display: none; }
  .service-head { grid-template-columns: 1fr auto; padding: 22px 0; }
  .service-head .idx { display: none; }
  .service-head .plus { width: 44px; height: 44px; }
  .service-body .inner { grid-template-columns: 1fr; }
  .service-body .inner > span { display: none; }
  .hover-item { grid-template-columns: 1fr auto; gap: 10px; padding: 24px 0; }
  .hover-item .idx, .hover-item .cat { display: none; }
  .hover-item .go { width: 46px; height: 46px; }
  .footer-top { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .tl-item { grid-template-columns: 1fr; gap: 6px; }
  .award { grid-template-columns: 1fr auto; }
  .award span:nth-child(2) { display: none; }
  .tools { grid-template-columns: repeat(3, 1fr); }
  .color-row { grid-template-columns: repeat(3, 1fr); }
  .project-info { grid-template-columns: 1fr 1fr; }
  .hero-editorial .hero-bottom { grid-template-columns: 1fr; }
  .hero-editorial .hero-bottom .right { justify-self: start; text-align: left; }
  .cta-thanks .top-meta { display: none; }
  .float-posters .fp-2, .float-posters .fp-4 { display: none; }
  .float-posters .fp { width: 90px; }
  .fp-1 { top: 12%; left: -4%; } .fp-3 { top: 12%; right: -4%; }
  .hscroll-sticky { position: relative; height: auto; padding-block: 40px; }
  .hscroll { height: auto !important; }
  .hscroll-track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 10px; }
  .hs-card, .hs-intro { flex-basis: 78vw; scroll-snap-align: start; }
  .hscroll-progress { display: none; }
  .btn-circle { width: 120px; height: 120px; }
  .sticker { width: 100px; height: 100px; }
  .section-head { margin-bottom: 36px; }
  .back-top { width: 46px; height: 46px; right: 16px; bottom: 16px; }
  .faq-item p { padding-right: 0; }
  .map { aspect-ratio: 4/3; }
}
