/* =====================================================================
   NONA FRAGNIÈRE — nonafragniere.com
   Static rebuild. Black / white / signal green. Roc Grotesk Wide.
   ===================================================================== */

@font-face {
  font-family: 'Roc Grotesk Wide';
  src: url('../fonts/RocGroteskWide-Variable.otf') format('opentype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face { font-family: 'Roc Grotesk Wide Static'; src: url('../fonts/RocGroteskWide-Light.otf') format('opentype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Roc Grotesk Wide Static'; src: url('../fonts/RocGroteskWide-Medium.otf') format('opentype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Roc Grotesk Wide Static'; src: url('../fonts/RocGroteskWide-Bold.otf') format('opentype'); font-weight: 700; font-display: swap; }

:root {
  --bg: #FCFCFC;
  --fg: #0E0E0E;
  --accent: #00FF00;
  --line: #0E0E0E;
  --muted: #0E0E0E;
  --card: #FCFCFC;
  --invert: 0;
  --font: 'Roc Grotesk Wide', 'Roc Grotesk Wide Static', 'Helvetica Neue', Arial, sans-serif;
  --easing: cubic-bezier(.76, 0, .24, 1);
  --max: 1400px;
  --gutter: clamp(16px, 4vw, 48px);
  --h1: clamp(3rem, 9.5vw, 7.6rem);
  --h2: clamp(2.1rem, 5.6vw, 4.4rem);
  --h3: clamp(1.25rem, 2.6vw, 2.2rem);
  --p: clamp(1.02rem, 1.45vw, 1.45rem);
  --small: clamp(.78rem, 1vw, .95rem);
}
:root[data-theme="dark"] {
  --bg: #14062E;
  --fg: #F3EDFF;
  --accent: #CDAEFF;
  --line: #F3EDFF;
  --muted: #F3EDFF;
  --card: #14062E;
  --invert: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a, button { transition: transform .2s ease, opacity .2s ease; }
a:active, button:active { transform: scale(.97); }
::selection { background: var(--accent); color: #000; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(48px, 8vw, 120px) 0; }
.section--tight { padding: clamp(24px, 4vw, 56px) 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #000; padding: 8px 16px; z-index: 9999; }
.skip:focus { left: 16px; top: 16px; }

/* ---------- type ---------- */
h1, h2, h3, h4, .display { font-weight: 400; text-transform: uppercase; letter-spacing: -.08em; line-height: .92; margin: 0 0 .5em; }
h1, .h1 { font-size: var(--h1); }
h2, .h2 { font-size: var(--h2); }
h3, .h3 { font-size: var(--h3); letter-spacing: -.06em; line-height: 1.05; }
h4, .h4 { font-size: clamp(1.1rem, 1.8vw, 1.55rem); letter-spacing: -.04em; line-height: 1.15; font-weight: 400; text-transform: none; }
p, li { font-size: var(--p); }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; }
.dot { color: var(--accent); }
.accent { color: var(--accent); }
.upper { text-transform: uppercase; }
.lead { font-size: clamp(1.2rem, 2vw, 1.8rem); text-transform: uppercase; letter-spacing: 0; line-height: 1.1; font-weight: 400; max-width: 22ch; }
.eyebrow { font-size: var(--small); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.rich a { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.rich a:hover { color: var(--accent); }
.rich ul { padding-left: 1.2em; margin: 0 0 1em; }
.rich blockquote { margin: 0 0 1em; padding-left: 1em; border-left: 2px solid var(--accent); }
.rich code { font: inherit; }
.rich em { font-style: italic; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: .9em 1.8em; border-radius: 999px;
  font-size: clamp(.8rem, 1.1vw, 1rem); font-weight: 500; text-transform: uppercase; letter-spacing: -.02em;
  background: var(--fg); color: var(--bg); border: 1px solid var(--fg); white-space: nowrap;
  transition: transform .2s ease, background .2s ease, color .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--accent); color: #000; border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--fg); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--accent { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 700; }
.btn--accent:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--wide { padding-left: 2.6em; padding-right: 2.6em; }
.center { text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.actions--center { justify-content: center; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 50; }
.site-header .wrap { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-top: clamp(16px, 2.5vw, 32px); padding-bottom: clamp(12px, 2vw, 24px); }
.logo { display: block; width: clamp(56px, 7vw, 92px); flex-shrink: 0; }
.logo img { width: 100%; filter: invert(var(--invert)); transition: filter .3s ease, transform .4s var(--easing); }
.logo:hover img { transform: rotate(-6deg); }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 28px); flex-wrap: wrap; justify-content: flex-end; padding-top: .55em; }
.nav a { font-size: clamp(1rem, 1.5vw, 1.45rem); text-transform: uppercase; letter-spacing: -.05em; font-weight: 400; position: relative; padding-bottom: 2px; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .35s var(--easing); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.theme-toggle { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; margin-top: 0; }
.theme-toggle svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
.theme-toggle:hover { color: var(--accent); }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 7px; }
.menu-btn span { display: block; width: 28px; height: 1px; background: currentColor; transition: transform .3s ease, opacity .3s ease; }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 0; background: var(--bg); flex-direction: column; justify-content: center; align-items: flex-start; gap: 6vh; padding: 0 var(--gutter); opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 40; }
  .nav a { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .nav .theme-toggle { position: absolute; bottom: 32px; left: var(--gutter); }
  body.menu-open .nav { opacity: 1; pointer-events: auto; }
  body.menu-open { overflow: hidden; }
  .header-right { display: flex; align-items: center; gap: 8px; position: relative; z-index: 45; }
}
@media (min-width: 761px) { .header-right { display: flex; align-items: flex-start; gap: 12px; } }

/* ---------- footer ---------- */
.site-footer { background: #000; color: #FCFCFC; margin-top: clamp(48px, 8vw, 120px); }
.site-footer .wrap { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px 32px; }
.site-footer .f-brand .h2 { font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: .2em; font-weight: 700; }
.site-footer .f-brand p { text-transform: uppercase; letter-spacing: -.02em; font-weight: 500; font-size: clamp(.9rem, 1.2vw, 1.1rem); margin-bottom: 1.6em; }
.site-footer .btn { background: #FCFCFC; color: #000; border-color: #FCFCFC; }
.site-footer .btn:hover { background: var(--accent); border-color: var(--accent); }
.f-right { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 18px; }
.f-nav { display: flex; flex-wrap: wrap; gap: 0 .6em; font-size: clamp(.9rem, 1.2vw, 1.05rem); text-transform: uppercase; letter-spacing: -.03em; justify-content: flex-end; }
.f-nav a:hover, .f-legal a:hover, .f-social:hover { color: var(--accent); }
.f-legal { display: flex; gap: 1.4em; font-size: var(--small); }
.f-legal a { text-decoration: underline; text-underline-offset: .2em; }
.f-social { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; }
.f-social svg { width: 20px; height: 20px; fill: currentColor; }
.f-copy { grid-column: 1 / -1; font-size: var(--small); opacity: .7; border-top: 1px solid rgba(252,252,252,.25); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 700px) {
  .site-footer .wrap { grid-template-columns: 1fr; }
  .f-right { align-items: flex-start; text-align: left; }
  .f-nav { justify-content: flex-start; }
}

/* ---------- custom cursor ---------- */
#custom-cursor { position: fixed; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; z-index: 2147483647; transform: translate(-50%, -50%) scale(1); transition: transform .12s ease-out; will-change: transform; opacity: 0; }
body.has-cursor #custom-cursor { opacity: 1; }
body.has-cursor.cursor-hover #custom-cursor { transform: translate(-50%, -50%) scale(2.4); }
@media (hover: none), (pointer: coarse) { #custom-cursor { display: none !important; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s var(--easing); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* =====================================================================
   HOME
   ===================================================================== */
.hero { padding-top: clamp(24px, 4vw, 64px); position: relative; z-index: 2; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(4rem, 15vw, 12.5rem); font-weight: 700; letter-spacing: -.09em; line-height: .8; margin: 0 0 .15em; }
.hero .hero-sub { font-size: clamp(1.6rem, 4.6vw, 3.9rem); font-weight: 700; letter-spacing: -.07em; line-height: .95; text-transform: uppercase; margin: 0; }
.hero .hero-sub .designer { color: var(--accent); font-weight: 400; display: block; }
.hero .tag { margin-top: 1.4em; font-size: clamp(.95rem, 1.3vw, 1.2rem); letter-spacing: -.01em; }
.hero-media { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
:root[data-theme="dark"] .hero-media video, :root[data-theme="dark"] .hero-media img { mix-blend-mode: normal; filter: invert(1) hue-rotate(180deg); }
@media (max-width: 760px) { .hero .wrap { grid-template-columns: 1fr; } .hero-media { order: -1; max-width: 70vw; margin: 0 auto; } }

.swirl { position: relative; text-align: center; padding: clamp(24px, 4vw, 64px) 0; min-height: clamp(300px, 44vw, 520px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.swirl .swirl-img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(820px, 92vw); opacity: .95; pointer-events: none; z-index: 0; }
:root[data-theme="dark"] .swirl .swirl-img { mix-blend-mode: screen; }
.swirl .swirl-text { position: relative; z-index: 1; display: inline-block; }
.swirl .swirl-text > span { display: block; font-size: clamp(1.4rem, 3.6vw, 3rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.06em; line-height: 1.05; color: var(--fg); -webkit-text-stroke: .6px var(--fg); paint-order: stroke fill; }

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 0; animation: marquee 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-size: clamp(1.3rem, 2.6vw, 2.2rem); text-transform: uppercase; letter-spacing: -.05em; padding: 0 .55em; }
.marquee__track span.sep { color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.intro-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(24px, 3vw, 48px); }
.intro-row h2 { margin: 0; }
.intro-row .h4 { max-width: 34ch; margin: 0; }
@media (max-width: 760px) { .intro-row { grid-template-columns: 1fr; align-items: start; } }

/* work cards (home + work grid) */
.hw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.hw-card { display: flex; flex-direction: column; color: var(--fg); position: relative; }
.hw-img-box { width: 100%; aspect-ratio: 1; background: var(--card); margin-bottom: 20px; overflow: hidden; border-radius: 4px; }
.hw-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: transform .8s var(--easing), filter .6s ease; }
.hw-card:hover .hw-img { filter: grayscale(0); transform: scale(1.05); }
.hw-card-title { font-size: 1.4rem; font-weight: 900; margin: 0 0 5px; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; transition: letter-spacing .5s var(--easing); }
.hw-card:hover .hw-card-title { letter-spacing: .05em; }
.hw-card-cat { font-size: .8rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 900px) { .hw-grid { grid-template-columns: 1fr; gap: 56px; } }

/* expertise cards */
.home-grid { display: flex; justify-content: space-between; gap: clamp(32px, 5vw, 70px); align-items: flex-start; }
.home-card { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 0; min-width: 0; color: var(--fg); transition: flex .6s var(--easing), transform .4s var(--easing); }
.home-card:hover { flex: 1.25; transform: translateY(-10px); }
.home-img-box { width: 100%; max-width: 340px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; margin-bottom: 35px; transition: transform .5s var(--easing); }
.home-img { width: 100%; height: 100%; object-fit: contain; animation: spin 20s linear infinite, colorPulse 4s ease-in-out infinite alternate; will-change: transform, filter; mix-blend-mode: multiply; }
:root[data-theme="dark"] .home-img { mix-blend-mode: screen; }
.home-card:hover .home-img-box { transform: scale(1.1); }
.home-card:hover .home-img { filter: invert(1); }
.home-card-title { font-size: clamp(32px, 3.8vw, 65px); font-weight: 900; -webkit-text-stroke: 2.5px var(--fg); paint-order: stroke fill; letter-spacing: -.08em; margin: 0 0 12px; line-height: .85; text-transform: uppercase; white-space: nowrap; transition: all .6s var(--easing); }
.home-card-title .dot { -webkit-text-stroke: 2.5px var(--accent); }
.home-card:hover .home-card-title { letter-spacing: .04em; padding-left: 10px; opacity: .8; -webkit-text-stroke: 1.5px var(--fg); }
.home-card-sub { font-size: clamp(14px, 1.3vw, 18px); font-weight: 900; -webkit-text-stroke: .8px var(--accent); paint-order: stroke fill; color: var(--accent); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes colorPulse { 0% { filter: none; } 100% { filter: sepia(1) hue-rotate(80deg) saturate(3) brightness(1.1) drop-shadow(0 0 10px rgba(0,255,0,.5)); } }
@media (max-width: 1100px) {
  .home-grid { flex-direction: column; gap: 72px; }
  .home-card { width: 100%; flex: none; }
  .home-card:hover { flex: none; transform: translateY(-5px); }
  .home-img-box { max-width: 260px; margin-bottom: 25px; }
  .home-card-title { font-size: clamp(36px, 12vw, 55px); white-space: normal; -webkit-text-stroke: 1.5px var(--fg); }
}

.about-teaser .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.portrait { width: min(380px, 70vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 0 auto; }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .6s ease; }
.portrait:hover img { filter: grayscale(0); }
.about-teaser p { font-size: clamp(1.1rem, 1.7vw, 1.6rem); }
@media (max-width: 760px) { .about-teaser .wrap { grid-template-columns: 1fr; } }

/* =====================================================================
   WORK INDEX
   ===================================================================== */
.work-intro p { max-width: 60ch; }
.filter-bar { margin: 40px 0; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); padding: 20px 0; position: sticky; top: 0; background: var(--bg); z-index: 30; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.filter-container { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-label { font-size: .9rem; font-weight: 900; text-transform: uppercase; margin-right: 15px; min-width: 110px; }
.filter-btn { font-size: .72rem; font-weight: 700; text-transform: uppercase; padding: 6px 14px; border: 1px solid var(--line); border-radius: 50px; background: transparent; color: var(--fg); white-space: nowrap; transition: all .2s ease; }
.filter-btn:hover, .filter-btn.active { background: var(--accent); border-color: var(--accent); color: #000; }
.reset-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; flex-shrink: 0; transition: all .3s ease; }
.reset-btn:hover { background: var(--accent); color: #000; transform: rotate(90deg); }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px 40px; align-items: start; }
.project-card { display: flex; flex-direction: column; cursor: pointer; width: 100%; position: relative; scroll-margin-top: 200px; }
.project-card.hidden { display: none; }
.project-card.open { grid-column: 1 / -1; display: block; }
.project-image-box { width: 100%; aspect-ratio: 1; background: var(--card); margin-bottom: 20px; overflow: hidden; border-radius: 4px; transition: all .8s var(--easing); }
.project-card.open .project-image-box { width: 50%; margin: 0 auto 50px; }
.project-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: transform .8s var(--easing), filter .6s ease; }
.project-card:hover .project-img, .project-card.open .project-img { filter: grayscale(0); }
.project-header { display: flex; justify-content: space-between; align-items: flex-start; border-top: 2px solid var(--line); padding-top: 15px; width: 100%; }
.project-card.open .project-header { display: none; }
.project-title { font-size: 1.15rem; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; margin: 0; max-width: 60%; line-height: 1.1; }
.project-meta-tags { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.meta-tag-main { font-size: .8rem; font-weight: 800; color: var(--accent); text-transform: uppercase; }
.meta-tag-sub { font-size: .72rem; font-weight: 700; color: var(--accent); text-transform: uppercase; opacity: .8; }
.project-details { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .8s var(--easing), opacity .5s ease .2s; }
.project-card.open .project-details { max-height: 5000px; opacity: 1; }
.detail-content { padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.case-col { display: flex; flex-direction: column; gap: 40px; }
.case-h3 { font-size: 1.1rem; font-weight: 900; text-transform: uppercase; margin: 0 0 10px; letter-spacing: .05em; }
.case-p { font-size: 1.15rem; font-weight: 350; line-height: 1.4; margin: 0; }
.testimonial { background: var(--fg); color: var(--bg); border-radius: 20px; padding: 25px; text-align: center; font-style: italic; font-size: .95rem; margin-top: 20px; line-height: 1.4; }
.visit-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 900; color: #000; background: var(--accent); padding: 15px 30px; border-radius: 50px; font-size: .9rem; text-transform: uppercase; margin: 20px auto 0; width: fit-content; }
.visit-btn:hover { transform: translateY(-3px); }
.arrow-css { width: 12px; height: 12px; border-top: 2.5px solid #000; border-right: 2.5px solid #000; transform: rotate(45deg); margin-left: 2px; margin-bottom: 2px; }
@media (max-width: 900px) {
  .filter-bar { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); }
  .filter-container { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .filter-row { display: contents; }
  .filter-label { display: none; }
  .filter-row.services-row { display: none; }
  .filter-btn { font-size: .6rem; padding: 6px 10px; }
  .reset-wrapper { position: absolute; top: 15px; right: 0; background: var(--bg); padding-left: 10px; }
  .reset-btn { width: 30px; height: 30px; font-size: 12px; }
  .work-grid { display: flex; flex-direction: column; gap: 60px; padding-top: 10px; }
  .project-card { scroll-margin-top: 10px; }
  .project-card.open .project-image-box { width: 100%; margin-bottom: 30px; }
  .case-grid { display: flex; flex-direction: column; gap: 30px; }
  .project-card.open .project-header { display: flex; margin-bottom: 30px; }
  .project-header { flex-direction: column; gap: 10px; }
  .project-title { max-width: 100%; }
  .project-meta-tags { width: 100%; align-items: flex-start; text-align: left; }
  .visit-btn { display: flex; width: 100%; }
}

/* =====================================================================
   CASE STUDY PAGES
   ===================================================================== */
.case-hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.case-hero h1 { font-weight: 700; letter-spacing: -.08em; margin-bottom: .25em; }
.case-hero h1 small { display: block; font-size: .42em; font-weight: 400; letter-spacing: -.05em; margin-top: .25em; }
.case-hero .tags { font-size: var(--h3); text-transform: uppercase; letter-spacing: -.06em; line-height: 1.05; }
.case-hero .cover { aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--card); }
.case-hero .cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .case-hero .wrap { grid-template-columns: 1fr; } .case-hero .cover { max-width: 420px; } }

.gallery { position: relative; }
.gallery__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter); -webkit-overflow-scrolling: touch; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track > figure { flex: 0 0 min(560px, 78vw); margin: 0; scroll-snap-align: center; background: var(--card); border-radius: 4px; overflow: hidden; }
.gallery__track > figure img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery--tall .gallery__track > figure { flex-basis: min(440px, 70vw); }
.gallery--tall .gallery__track > figure img { aspect-ratio: 4 / 5; }
.gallery__nav { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.gallery__nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.gallery__nav button:hover { background: var(--accent); border-color: var(--accent); color: #000; }

.case-block { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(16px, 3vw, 48px); padding: clamp(28px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.case-block:first-of-type { border-top: 0; }
.case-block h2 { margin: 0; position: sticky; top: 24px; }
.case-block .rich p:last-child { margin-bottom: 0; }
.case-block .rich { max-width: 70ch; }
@media (max-width: 760px) { .case-block { grid-template-columns: 1fr; } .case-block h2 { position: static; } }

.deeper { border-top: 2px solid var(--line); padding-top: clamp(32px, 5vw, 72px); }
.deeper .sub { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(16px, 3vw, 48px); padding: clamp(24px, 3vw, 40px) 0; }
.deeper .sub h3, .deeper .sub .h2 { margin: 0; font-weight: 700; }
.deeper .sub .rich { max-width: 70ch; }
.deeper .sub .impact { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; }
.deeper .sub .impact p { margin: 0 0 .4em; font-size: clamp(1rem, 1.3vw, 1.25rem); }
@media (max-width: 760px) { .deeper .sub { grid-template-columns: 1fr; } }

.img-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin: 24px 0; }
.img-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; background: var(--card); }
.img-grid--4 { grid-template-columns: repeat(4, 1fr); }
.img-grid--3 { grid-template-columns: repeat(3, 1fr); }
.img-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .img-grid--4, .img-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .img-grid--4, .img-grid--3, .img-grid--2 { grid-template-columns: 1fr; } }

.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.impact-grid > div { border-top: 2px solid var(--line); padding-top: 16px; }
.impact-grid .k { font-size: var(--h3); text-transform: uppercase; letter-spacing: -.06em; font-weight: 700; line-height: 1; margin: 0 0 .5em; }
.impact-grid p { font-size: clamp(1rem, 1.3vw, 1.25rem); margin: 0 0 .4em; }
@media (max-width: 760px) { .impact-grid { grid-template-columns: 1fr; } }

.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 16px; }
.video-grid figure { margin: 0; }
.video-grid video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--card); }
.video-grid figcaption { margin-top: 10px; font-size: clamp(.95rem, 1.2vw, 1.15rem); text-transform: uppercase; letter-spacing: -.03em; }
.video-grid figcaption a { text-decoration: underline; text-underline-offset: .18em; }
.video-grid figcaption a:hover { color: var(--accent); }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .video-grid { grid-template-columns: 1fr; } }

.video-feature { margin: clamp(24px, 4vw, 56px) 0; }
.video-feature video { width: 100%; aspect-ratio: 4 / 3; border-radius: 4px; background: var(--card); }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0 48px; }
.pair figure { margin: 0; }
.pair figcaption { margin-bottom: 10px; }
.pair figcaption a, .pair figcaption span { font-size: var(--h3); text-transform: uppercase; letter-spacing: -.06em; }
.pair figcaption a:hover { color: var(--accent); }
.pair img { width: 100%; border-radius: 4px; border: 1px solid var(--line); }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; } }
.meta-list p { margin: 0 0 .8em; font-size: clamp(1rem, 1.3vw, 1.25rem); }
.meta-list strong { display: block; font-size: .8em; letter-spacing: .06em; }

.quote { border-top: 2px solid var(--line); padding-top: clamp(28px, 4vw, 56px); }
.quote blockquote { margin: 0; font-size: clamp(1.3rem, 2.6vw, 2.4rem); line-height: 1.15; letter-spacing: -.03em; max-width: 30ch; }
.quote cite { display: block; margin-top: 1.2em; font-style: normal; font-size: var(--small); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.quote-row { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(16px, 3vw, 48px); }
@media (max-width: 760px) { .quote-row { grid-template-columns: 1fr; } }

.back { margin-top: clamp(32px, 5vw, 72px); }

/* =====================================================================
   ABOUT (architecture block)
   ===================================================================== */
.arch-header { margin-bottom: 80px; }
.intro-layout { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-top: 40px; }
.intro-text-block { flex: 1; }
.arch-intro { font-size: clamp(1.3rem, 2.4vw, 2.2rem); text-transform: uppercase; line-height: 1.05; max-width: 900px; }
.arch-image-container { width: 100%; max-width: 375px; flex-shrink: 0; }
.arch-image-container img { width: 100%; border-radius: 50%; filter: grayscale(100%); transition: filter .6s ease; }
.arch-image-container:hover img { filter: grayscale(0); }
.arch-section { margin-top: 80px; padding-top: 40px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.story-text-h { font-size: clamp(1.1rem, 1.7vw, 1.5rem); font-weight: 400; text-transform: uppercase; letter-spacing: -.04em; line-height: 1.15; margin-bottom: 1em; }
.story-label { display: block; font-size: 1rem; text-transform: uppercase; letter-spacing: -.04em; margin-bottom: 15px; font-weight: 300; }
.brand-list { display: flex; flex-wrap: wrap; gap: 12px; }
.brand-tag { padding: 10px 20px; border: 2px solid var(--line); border-radius: 50px; font-size: .95rem; font-weight: 500; text-transform: uppercase; letter-spacing: -.04em; transition: all .2s ease; }
.brand-tag.active-link:hover { background: var(--accent); border-color: var(--accent); color: #000; }
.brand-tag.disabled-link { background: var(--accent); border-color: var(--accent); color: #000; pointer-events: none; }
.timeline-wrapper { margin: 120px auto 140px; position: relative; }
.timeline-track { display: flex; justify-content: space-between; position: relative; padding-top: 40px; gap: 10px; }
.timeline-line-bg { position: absolute; top: 20px; left: 0; width: 100%; height: 2px; background: var(--accent); box-shadow: 0 0 5px rgba(0,255,0,.2); }
.timeline-point { flex: 1; position: relative; cursor: pointer; padding-right: 15px; text-align: left; }
.timeline-point:last-child { padding-right: 0; }
.t-dot { position: absolute; top: -26px; left: 0; width: 14px; height: 14px; background: var(--fg); border-radius: 50%; border: 2px solid var(--bg); transition: all .4s cubic-bezier(.25, 1, .5, 1); z-index: 2; }
.timeline-point:hover .t-dot { transform: scale(1.2); }
.timeline-point.accumulated .t-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 8px var(--accent); }
.timeline-point.active .t-dot { transform: scale(1.3); box-shadow: 0 0 12px var(--accent); }
.timeline-point.active .t-year { color: var(--accent); }
.t-year { display: block; margin-bottom: 10px; font-weight: 700; font-size: .85rem; }
.t-title { font-size: 1rem; text-transform: uppercase; letter-spacing: -.04em; font-weight: 300; }
.t-details { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s cubic-bezier(.25, 1, .5, 1), opacity .4s ease .1s; }
.timeline-point.active .t-details { max-height: 500px; opacity: 1; margin-top: 15px; }
.t-desc { font-size: .9rem; line-height: 1.4; margin: 0; }
.skill-pills-container { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.skill-pill { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 4px 10px; border-radius: 50px; background: var(--accent); color: #000; }
.philo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 20px; }
.philo-item { display: flex; flex-direction: column; cursor: pointer; border-bottom: 1px solid var(--line); }
.philo-trigger { padding: 30px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.arch-philo-header { font-size: 1.1rem; font-weight: 700; display: block; letter-spacing: -.06em; text-transform: uppercase; }
.arch-h3 { font-size: 1.2rem; font-weight: 400; margin: 0; color: var(--accent); letter-spacing: -.06em; text-transform: uppercase; }
.plus-icon { font-size: 28px; color: var(--accent); transition: transform .4s var(--easing); }
.philo-item.active .plus-icon { transform: rotate(45deg); }
.philo-content { max-height: 0; overflow: hidden; transition: max-height .5s ease; }
.philo-item.active .philo-content { max-height: 1000px; }
.philo-p { font-size: 1.05rem; line-height: 1.35; padding-bottom: 30px; }
.faq-container { margin-top: 100px; }
.typo3-item { border-bottom: 1px solid var(--line); overflow: hidden; }
.typo3-trigger { padding: 25px 15px; cursor: pointer; }
.typo3-title-group { text-align: center; }
.typo3-num { display: block; font-weight: 900; font-size: 1.4rem; margin-bottom: .3em; }
.typo3-big-title { font-size: clamp(2rem, 6vw, 4rem); font-weight: 700; text-transform: uppercase; letter-spacing: -.08em; line-height: .95; margin: 0; transition: letter-spacing .6s var(--easing); }
.typo3-trigger:hover .typo3-big-title, .typo3-item.active .typo3-big-title { letter-spacing: .02em; }
.typo3-subtitle { display: block; margin-top: 10px; font-size: 1rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: -.04em; }
.typo3-content { max-height: 0; overflow: hidden; transition: max-height .8s cubic-bezier(.4, 0, .2, 1); }
.typo3-inner { padding: 30px 20px 60px; opacity: 0; transform: translateY(15px); transition: opacity .6s ease .1s, transform .6s ease .1s; }
.typo3-item.active .typo3-content { max-height: 2000px; }
.typo3-item.active .typo3-inner { opacity: 1; transform: none; }
.typo3-main-desc { font-size: 1.15rem; line-height: 1.35; margin-bottom: 30px; }
.typo3-detail-list .detail-item { margin-bottom: 30px; }
.detail-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.detail-marker { color: var(--accent); font-weight: 900; font-size: 18px; }
.detail-title { font-size: 1rem; text-transform: uppercase; letter-spacing: -.04em; font-weight: 500; margin: 0; }
.detail-body { font-size: .95rem; line-height: 1.4; }
.package-cta-bar { padding: 80px 0 20px; display: flex; justify-content: center; }
@media (max-width: 900px) {
  .intro-layout { flex-direction: column; gap: 30px; }
  .arch-image-container { max-width: 220px; margin: 0 auto; }
  .story-grid, .philo-grid { grid-template-columns: 1fr; gap: 30px; }
  .timeline-wrapper { margin: 80px auto; }
  .timeline-track { flex-direction: column; padding-top: 0; padding-left: 40px; gap: 40px; }
  .timeline-line-bg { width: 2px; height: 100%; left: 15px; top: 0; }
  .t-dot { top: 0; left: -31px; }
  .timeline-point { padding-right: 0; }
}

/* =====================================================================
   SERVICES
   ===================================================================== */
.svc-item { position: relative; margin-bottom: 120px; }
.svc-item:last-child { margin-bottom: 0; }
.svc-trigger { display: flex; flex-direction: column; justify-content: center; padding: 50px 20px 200px; cursor: pointer; width: 100%; position: relative; z-index: 2; transition: padding .8s var(--easing); text-align: center; }
.svc-item.active .svc-trigger { padding: 40px 20px 20px; }
.svc-num { display: block; font-size: clamp(16px, 4vw, 24px); font-weight: 900; letter-spacing: .05em; margin-bottom: 10px; }
.svc-title { font-size: clamp(28px, 8vw, 80px); font-weight: 900; line-height: .9; letter-spacing: -.03em; margin: 0; text-transform: uppercase; transition: all .6s var(--easing); }
.svc-trigger:hover .svc-title { letter-spacing: .05em; padding-left: 20px; opacity: .75; }
.svc-item.active .svc-title { letter-spacing: .05em; padding-left: 0; }
.svc-sub { display: block; margin-top: 15px; font-size: clamp(14px, 3vw, 24px); font-weight: 700; color: var(--accent); letter-spacing: .05em; text-transform: uppercase; }
.flying-image-wrapper { position: absolute; z-index: 1; top: 250px; left: 50%; transform: translateX(-50%); width: 250px; cursor: pointer; transition: top .8s cubic-bezier(.5, 0, .2, 1), left .8s cubic-bezier(.2, .8, .4, 1), width .8s var(--easing), transform .8s var(--easing); }
.svc-item.active .flying-image-wrapper { top: 200px; left: 20px; transform: none; width: 28%; }
.svc-img { width: 100%; object-fit: contain; animation: spin 20s linear infinite, colorPulse 4s ease-in-out infinite alternate; mix-blend-mode: multiply; }
:root[data-theme="dark"] .svc-img { mix-blend-mode: screen; }
#aesthetics .svc-img { animation-delay: -1.3s; }
#resonance .svc-img { animation-delay: -2.6s; }
.svc-content { max-height: 0; overflow: hidden; visibility: hidden; opacity: 0; transition: max-height 1.2s var(--easing), opacity .5s ease; }
.svc-item.active .svc-content { max-height: 5000px; visibility: visible; opacity: 1; transition: max-height 1.2s var(--easing), opacity .8s ease .3s; }
.svc-inner { padding: 40px 20px 80px; display: grid; grid-template-columns: 1.5fr 3fr; gap: 80px; align-items: start; opacity: 0; transform: translateY(20px); transition: opacity .5s ease .2s, transform .5s ease .2s; }
.svc-item.active .svc-inner { opacity: 1; transform: none; }
.svc-text-col { display: flex; flex-direction: column; gap: 30px; }
.svc-main-desc { font-size: clamp(18px, 4vw, 28px); line-height: 1.3; font-weight: 500; }
.svc-main-desc strong { font-weight: 900; text-transform: uppercase; display: block; margin-bottom: 15px; }
.contact-cta-bar { display: flex; justify-content: flex-end; padding-bottom: 30px; }
.contact-cta { background: var(--accent); color: #000; padding: 15px 40px; font-size: 20px; font-weight: 900; border-radius: 50px; display: inline-flex; align-items: center; gap: 10px; letter-spacing: .05em; white-space: nowrap; }
.contact-cta:hover { transform: translateY(-2px); opacity: .9; }
.svc-detail .detail-head { align-items: flex-start; cursor: pointer; margin-bottom: 15px; }
.svc-detail .detail-marker { font-size: 20px; margin-right: 4px; display: inline-block; animation: spin 10s linear infinite; }
.svc-detail.open .detail-marker { animation: none; transform: rotate(45deg); }
.svc-detail .detail-title { font-size: 20px; font-weight: 900; letter-spacing: .05em; }
.svc-detail .detail-body { font-size: 16px; line-height: 1.5; font-weight: 500; padding-left: 34px; max-width: 650px; max-height: 0; overflow: hidden; opacity: 0; transition: all .5s ease; }
.svc-detail.open .detail-body { max-height: 500px; opacity: 1; margin-top: 10px; }
.svc-detail { margin-bottom: 40px; }
.service-menu { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.service-pill { font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 8px 16px; border: 1px solid var(--line); border-radius: 50px; background: transparent; color: var(--fg); cursor: pointer; transition: all .2s ease; }
.service-pill:hover { border-color: var(--accent); background: var(--accent); color: #000; }
.service-pill.selected { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pricing-wrapper { padding-top: 100px; }
.pricing-header { text-align: center; margin-bottom: 50px; }
.pricing-header h2 { font-size: clamp(40px, 6vw, 80px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 10px; }
.section-subtitle { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin: 0; }
.pricing-tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 60px; flex-wrap: wrap; }
.tab-btn { border: 1px solid var(--line); padding: 12px 35px; border-radius: 50px; font-weight: 900; font-size: 14px; text-transform: uppercase; transition: all .2s ease; }
.tab-btn:hover, .tab-btn.active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.tab-content { display: none; animation: fadeIn .5s; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.package-card { border: 1px solid var(--line); padding: 40px 30px; display: flex; flex-direction: column; border-radius: 15px; background: var(--bg); transition: transform .3s ease, box-shadow .3s ease; }
.package-card:hover { transform: translateY(-5px); box-shadow: 8px 8px 0 var(--accent); }
.package-card.featured { border-width: 2px; }
.pack-level { font-size: 12px; color: var(--accent); font-weight: 900; margin-bottom: 15px; letter-spacing: .05em; text-transform: uppercase; }
.pack-name { font-size: 24px; font-weight: 900; margin: 0 0 10px; text-transform: uppercase; letter-spacing: -.02em; }
.pack-price { font-size: 32px; font-weight: 900; margin-bottom: 25px; white-space: nowrap; letter-spacing: -.02em; }
.pack-price small { font-size: 12px; }
.approx { color: var(--accent); font-weight: 900; margin-right: 2px; }
.pack-desc { font-size: 15px; line-height: 1.4; margin: 0 0 30px; font-weight: 300; min-height: 45px; }
.pack-list { list-style: none; padding: 0; margin: 0 0 30px; flex-grow: 1; }
.pack-list li { font-size: 13px; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; display: flex; align-items: flex-start; gap: 8px; }
.plus { color: var(--accent); font-weight: 900; font-size: 16px; line-height: 1; }
.pack-btn { color: var(--fg); border: 1px solid var(--line); padding: 15px; text-align: center; font-weight: 900; font-size: 14px; border-radius: 50px; text-transform: uppercase; width: 100%; transition: all .2s ease; }
.pack-btn:hover, .pack-btn.selected { background: var(--fg); color: var(--bg); }
.all-inclusive-block { margin-top: 80px; background: #000; color: #FCFCFC; padding: 50px; display: flex; justify-content: space-between; align-items: center; gap: 30px; border-radius: 15px; }
:root[data-theme="dark"] .all-inclusive-block { border: 1px solid var(--line); }
.ai-content h3 { margin: 0 0 10px; font-size: clamp(24px, 4vw, 40px); color: var(--accent); font-weight: 900; letter-spacing: -.03em; }
.ai-content p { margin: 0; font-size: 16px; max-width: 500px; line-height: 1.5; font-weight: 300; }
.ai-action { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.ai-price { font-size: 32px; font-weight: 900; white-space: nowrap; }
.ai-btn { background: #FCFCFC; color: #000; padding: 15px 30px; font-weight: 900; border-radius: 50px; text-transform: uppercase; font-size: 14px; }
.ai-btn:hover { transform: scale(1.05); background: var(--accent); }
@media (max-width: 1024px) {
  .svc-inner { grid-template-columns: 1fr; gap: 40px; padding: 20px 0 60px; }
  .svc-item { margin-bottom: 60px; }
  .svc-trigger { padding: 50px 10px 300px; }
  .svc-sub { font-size: 17px; }
  .flying-image-wrapper { width: 310px; top: 220px; }
  .svc-item.active .flying-image-wrapper { left: 50%; transform: translateX(-50%); top: 170px; width: 310px; }
  .svc-item.active .svc-inner { padding-top: 240px; }
  .svc-ghost-col { display: none; }
  .svc-detail .detail-body { padding-left: 0; padding-top: 10px; }
  .contact-cta-bar { justify-content: center; }
  .packages-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .all-inclusive-block { flex-direction: column; text-align: center; padding: 40px 20px; }
  .ai-action { flex-direction: column; gap: 20px; }
}

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-aside p { font-size: clamp(1rem, 1.3vw, 1.2rem); }
.contact-aside .big { font-size: clamp(1.3rem, 2.4vw, 2.2rem); text-transform: uppercase; letter-spacing: -.06em; line-height: 1.05; max-width: 16ch; }
.contact-aside a { text-decoration: underline; text-underline-offset: .2em; }
.contact-aside a:hover { color: var(--accent); }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.form { display: flex; flex-direction: column; gap: 26px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-size: clamp(1rem, 1.3vw, 1.2rem); margin-bottom: 8px; text-transform: uppercase; letter-spacing: -.04em; }
.field label small, .field .label small { font-size: .7em; letter-spacing: 0; text-transform: none; opacity: .6; margin-left: .4em; }
.field .desc { font-size: var(--small); margin: -4px 0 10px; opacity: .7; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--fg); background: transparent;
  border: 1px solid var(--line); border-radius: 999px; padding: 14px 20px; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { border-radius: 22px; min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,255,0,.25); }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .95rem; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-group label { position: relative; cursor: pointer; }
.pill-group input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.pill-group span { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 9px 16px; border: 1px solid var(--line); border-radius: 50px; transition: all .2s ease; }
.pill-group input:hover + span { border-color: var(--accent); background: var(--accent); color: #000; }
.pill-group input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill-group input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0,255,0,.4); }
.group-title { font-size: clamp(1.1rem, 1.6vw, 1.4rem); text-transform: uppercase; letter-spacing: -.05em; margin: 0 0 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.form-ok { display: none; border: 1px solid var(--accent); padding: 20px 24px; border-radius: 22px; }
.form-ok.show { display: block; }

/* =====================================================================
   LEGAL
   ===================================================================== */
.legal .rich { max-width: 72ch; }
.legal .rich p { font-size: clamp(.98rem, 1.25vw, 1.15rem); }
.legal .rich strong { display: inline; }

/* =====================================================================
   KREMENA DIAGRAMS (ported)
   ===================================================================== */
.kremena-workflow { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 900px; margin: 0 auto; padding: 40px 0; text-transform: uppercase; letter-spacing: .04em; }
.wf-box { border: 1px solid var(--line); padding: 16px 24px; text-align: center; background: var(--bg); position: relative; z-index: 10; min-width: 220px; }
.wf-box.invert { background: var(--fg); color: var(--bg); }
.wf-box.soft { background: var(--card); }
.wf-title { display: block; font-weight: 800; font-size: 14px; margin-bottom: 6px; line-height: 1.2; }
.wf-sub { display: block; font-size: 10px; font-weight: 500; line-height: 1.4; opacity: .85; }
.wf-tag { font-size: 9px; border: 1px solid var(--line); padding: 2px 6px; margin-bottom: 8px; display: inline-block; }
.wf-line-vert { width: 1px; height: 40px; background: var(--line); }
.wf-branch-container { display: flex; justify-content: space-between; width: 100%; position: relative; padding-top: 30px; }
.wf-crossbar { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 50%; height: 1px; background: var(--line); }
.wf-branch-stem-left, .wf-branch-stem-right { position: absolute; top: 0; height: 30px; width: 1px; background: var(--line); }
.wf-branch-stem-left { left: 25%; } .wf-branch-stem-right { right: 25%; }
.wf-col { width: 48%; display: flex; flex-direction: column; align-items: center; }
.wf-merge-container { position: relative; width: 100%; height: 40px; }
.wf-merge-crossbar { position: absolute; bottom: 0; left: 25%; width: 50%; height: 1px; background: var(--line); }
.wf-merge-stem-left, .wf-merge-stem-right { position: absolute; top: 0; height: 40px; width: 1px; background: var(--line); }
.wf-merge-stem-left { left: 25%; } .wf-merge-stem-right { right: 25%; }
@media (max-width: 768px) {
  .wf-branch-container { flex-direction: column; align-items: center; padding-top: 0; }
  .wf-crossbar, .wf-branch-stem-left, .wf-branch-stem-right, .wf-merge-container { display: none; }
  .wf-col { width: 100%; }
  .wf-col::after { content: ''; display: block; width: 1px; height: 30px; background: var(--line); margin: 0 auto; }
}
.seo-wrapper { padding: 40px 0; width: 100%; max-width: 900px; margin: 0 auto; text-transform: uppercase; }
.seo-container { display: flex; justify-content: space-between; align-items: stretch; width: 100%; }
.seo-box { flex: 1; border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.box-right { background: var(--fg); color: var(--bg); }
.seo-title { font-weight: 800; font-size: 13px; margin-bottom: 15px; display: block; letter-spacing: .05em; text-decoration: underline; text-underline-offset: 4px; }
.seo-list { font-size: 11px; line-height: 1.6; list-style: none; padding: 0; margin: 0; font-weight: 500; }
.seo-list li { margin-bottom: 4px; font-size: 11px; }
.seo-bridge { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; position: relative; padding: 0 10px; min-width: 250px; }
.seo-bridge-line { position: absolute; left: 0; right: 0; height: 1px; background: var(--line); top: 50%; z-index: 1; }
.seo-pill { background: var(--fg); color: var(--bg); font-size: 10px; padding: 8px 12px; position: relative; z-index: 2; border: 4px solid var(--bg); font-weight: bold; text-align: center; white-space: nowrap; }
@media (max-width: 768px) {
  .seo-container { flex-direction: column; }
  .seo-bridge { min-width: 0; padding: 20px 0; height: 60px; }
  .seo-bridge-line { width: 1px; height: 100%; left: 50%; top: 0; right: auto; }
}
.rebrand-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 30px; padding: 40px 0; text-transform: uppercase; }
.rebrand-col { display: flex; flex-direction: column; gap: 20px; }
.rebrand-col.past { opacity: .6; }
.rebrand-year { font-size: 32px; font-weight: 900; line-height: 1; display: block; margin-bottom: 8px; letter-spacing: -.02em; }
.rebrand-desc { font-size: 11px; line-height: 1.4; font-weight: 600; opacity: .6; min-height: 30px; }
.rebrand-desc.now { opacity: 1; }
.rebrand-frame { border-radius: 8px; overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,.12); background: #fff; transition: transform .4s cubic-bezier(.25, 1, .5, 1), box-shadow .4s ease; }
.rebrand-frame:hover { transform: translateY(-10px); box-shadow: 0 40px 80px rgba(0,0,0,.2); }
.rebrand-arrow { font-size: 40px; opacity: .2; padding-top: 100px; }
@media (max-width: 1100px) { .rebrand-grid { grid-template-columns: 1fr; gap: 60px; max-width: 600px; margin: 0 auto; } .rebrand-arrow { display: none; } }
.evo-wrapper { padding: 40px 0; width: 100%; max-width: 900px; margin: 0 auto; text-transform: uppercase; }
.evo-head { font-size: 10px; border-bottom: 1px solid var(--line); padding-bottom: 5px; margin-bottom: 30px; }
.evo-container { display: flex; flex-direction: column; align-items: center; gap: 40px; position: relative; }
.evo-spine { position: absolute; left: 50%; top: 20px; bottom: 20px; width: 1px; background: var(--line); transform: translateX(-50%); }
.evo-card { background: var(--bg); border: 1px solid var(--line); padding: 25px; width: 100%; max-width: 500px; position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.evo-card-v1 { margin-right: auto; transform: translateX(-20px); border-style: dashed; opacity: .7; }
.evo-card-v2 { margin-left: auto; transform: translateX(20px); }
.evo-card-v3 { background: var(--fg); color: var(--bg); transform: scale(1.05); box-shadow: 10px 10px 0 rgba(0,255,0,.35); }
.evo-right { text-align: right; }
.evo-version { font-size: 10px; font-weight: bold; display: block; margin-bottom: 5px; letter-spacing: .1em; }
.evo-title { font-size: 18px; font-weight: 800; line-height: 1; display: block; margin-bottom: 10px; }
.evo-meta { font-size: 10px; list-style: none; padding: 0; margin: 0; line-height: 1.4; }
.evo-meta li { font-size: 10px; }
.evo-dot { width: 10px; height: 10px; background: var(--fg); position: absolute; left: 50%; transform: translateX(-50%); z-index: 3; }
.dot-1 { top: 15%; } .dot-2 { top: 50%; } .dot-3 { bottom: 15%; background: var(--bg); border: 2px solid var(--line); }
@media (max-width: 768px) { .evo-card { margin: 0 !important; transform: none !important; max-width: 100%; } .evo-spine, .evo-dot { display: none; } }

/* =====================================================================
   V2 — trilingual, new work grid, stats, language switcher
   ===================================================================== */
.lang-switch { display: inline-flex; gap: 2px; align-items: center; font-size: clamp(.8rem, 1vw, .95rem); text-transform: uppercase; letter-spacing: 0; padding-top: .7em; }
.lang-switch a { padding: 4px 6px; border-radius: 999px; line-height: 1; }
.lang-switch a::after { display: none; }
.lang-switch a[aria-current="true"] { background: var(--fg); color: var(--bg); }
.lang-switch a:hover { color: var(--accent); }
.lang-switch a[aria-current="true"]:hover { color: var(--bg); }
@media (max-width: 760px) { .nav .lang-switch { padding-top: 0; position: absolute; bottom: 32px; right: var(--gutter); } .nav .lang-switch a { font-size: 1rem; } }

.hero .claim { margin-top: 1.6em; font-size: clamp(1.25rem, 2.3vw, 2rem); text-transform: uppercase; letter-spacing: -.05em; line-height: 1.05; font-weight: 400; max-width: 18ch; }
.hero .claim-sub { margin-top: .6em; font-size: clamp(.95rem, 1.3vw, 1.2rem); letter-spacing: -.01em; max-width: 44ch; }

.langs { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.langs .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(32px, 5vw, 64px); }
.langs .codes { display: grid; grid-template-columns: repeat(2, auto); gap: 8px; }
.langs .codes span { font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; letter-spacing: -.06em; line-height: .9; border: 2px solid var(--line); border-radius: 999px; padding: .18em .35em; text-align: center; min-width: 2.6em; }
.langs .codes span:nth-child(2) { background: var(--accent); color: #000; border-color: var(--accent); }
.langs h2 { font-size: clamp(1.6rem, 3.6vw, 3rem); margin-bottom: .4em; }
.langs p { max-width: 58ch; margin: 0; }
@media (max-width: 700px) { .langs .wrap { grid-template-columns: 1fr; } .langs .codes { grid-template-columns: repeat(4, auto); justify-content: start; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: clamp(24px, 3vw, 40px) 0 0; }
.stats div { border-top: 2px solid var(--line); padding-top: 12px; }
.stats .n { font-size: clamp(1.6rem, 3.4vw, 3rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; display: block; margin-bottom: 6px; }
.stats .l { font-size: var(--small); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.stats .s { display: block; font-size: var(--small); opacity: .65; margin-top: 2px; }
.stats--6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .stats, .stats--6 { grid-template-columns: repeat(2, 1fr); } }
.case-hero .stats { grid-column: 1 / -1; }

/* work index v2 */
.wfilter { position: sticky; top: 0; z-index: 30; background: var(--bg); border-top: 2px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin: 24px 0 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.wfilter .lbl { font-size: var(--small); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 0 6px 0 0; opacity: .6; }
.wfilter .sep { width: 1px; height: 22px; background: var(--line); opacity: .4; margin: 0 6px; }
.chip { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; padding: 7px 14px; border: 1px solid var(--line); border-radius: 50px; background: transparent; color: var(--fg); white-space: nowrap; transition: all .2s ease; }
.chip:hover { background: var(--accent); border-color: var(--accent); color: #000; }
.chip.active { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.chip.active:hover { background: var(--accent); border-color: var(--accent); color: #000; }
.wfilter .count { margin-left: auto; font-size: var(--small); opacity: .6; white-space: nowrap; }
.wfilter .reset { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 12px; transition: all .3s ease; }
.wfilter .reset:hover { background: var(--accent); color: #000; transform: rotate(90deg); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.pcard { display: flex; flex-direction: column; color: var(--fg); position: relative; transition: opacity .35s ease, transform .35s var(--easing); }
.pcard.hide { display: none; }
.pcard .cov { aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--card); margin-bottom: 18px; }
.pcard .cov img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: transform .8s var(--easing), filter .6s ease; }
.pcard:hover .cov img { filter: grayscale(0); transform: scale(1.04); }
.pcard .meta { display: flex; justify-content: space-between; gap: 12px; font-size: var(--small); text-transform: uppercase; letter-spacing: .05em; opacity: .6; margin-bottom: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.pcard h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 900; letter-spacing: -.03em; margin: 0 0 .35em; transition: letter-spacing .5s var(--easing); }
.pcard:hover h3 { letter-spacing: .02em; }
.pcard .tz { font-size: clamp(.95rem, 1.2vw, 1.1rem); margin: 0 0 12px; line-height: 1.35; }
.pcard .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.pcard .tags span { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 4px 9px; border-radius: 50px; border: 1px solid var(--line); }
.pcard .tags span.dim { background: var(--accent); border-color: var(--accent); color: #000; }
.pcard .go { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); color: var(--fg); display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(6px); transition: all .3s var(--easing); font-size: 1.1rem; }
.pcard:hover .go { opacity: 1; transform: none; }
@media (max-width: 960px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr; } .wfilter { position: static; } .wfilter .count { margin-left: 0; width: 100%; } }

/* transcreation band on services */
.band { background: var(--fg); color: var(--bg); border-radius: 15px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin: clamp(32px, 5vw, 72px) 0; }
.band h2 { font-size: clamp(1.8rem, 4vw, 3.4rem); margin: 0; color: var(--accent); font-weight: 900; letter-spacing: -.05em; }
.band p { margin: 0 0 1.2em; font-size: clamp(1rem, 1.3vw, 1.2rem); }
.band .btn { background: var(--bg); color: var(--fg); border-color: var(--bg); }
.band .btn:hover { background: var(--accent); border-color: var(--accent); color: #000; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* contact select */
.field select { width: 100%; font: inherit; font-size: 1rem; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 14px 20px; outline: none; appearance: none; -webkit-appearance: none; }
.field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,255,0,.25); }

/* tall images */
.tall-wrap { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; max-height: 70vh; overflow-y: auto; scrollbar-width: thin; }
.tall-wrap img { width: 100%; display: block; }
figcaption.cap { font-size: var(--small); opacity: .7; margin-top: 8px; }
.footer-move { font-size: var(--small); opacity: .8; }
.footer-move:hover { color: var(--accent); opacity: 1; }

.gallery--wide .gallery__track > figure { flex-basis: min(760px, 86vw); background: transparent; }
.gallery--wide .gallery__track > figure img { aspect-ratio: auto; height: auto; border: 1px solid var(--line); border-radius: 4px; }

/* phone frame with screen recording */
.feed-duo { display: grid; grid-template-columns: minmax(160px, 230px) 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.phone-frame { position: sticky; top: 24px; width: 100%; aspect-ratio: 9 / 19.5; border: 10px solid #111; border-radius: 36px; background: #111; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.phone-frame::before { content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 36%; height: 20px; background: #111; border-radius: 12px; z-index: 2; }
.phone-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.feed-duo .tall-wrap { max-height: 78vh; }
@media (max-width: 1000px) { .feed-duo { grid-template-columns: 1fr; } .phone-frame { position: static; max-width: 240px; margin: 0 auto 24px; } }

/* ===================================================================== V3 — content redirection */
.hero .hero-lines { margin: .3em 0 0; }
.hero .hero-lines > span { display: block; font-size: clamp(1.5rem, 3.9vw, 3.3rem); font-weight: 700; letter-spacing: -.07em; line-height: 1; text-transform: uppercase; }
.hero .hero-lines > span:first-child { color: var(--accent); }
.hero .hero-lines > span + span { opacity: .55; font-weight: 400; }
.svc-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 16px; align-items: stretch; }
.svc-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 15px; padding: clamp(20px, 2.4vw, 32px); color: var(--fg); min-height: 320px; transition: transform .3s ease, box-shadow .3s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 var(--accent); }
.svc-card.is-lead { background: var(--fg); color: var(--bg); border-color: var(--fg); grid-row: span 1; }
.svc-card .num { font-size: var(--small); font-weight: 700; letter-spacing: .08em; opacity: .6; }
.svc-card h3 { font-size: clamp(1.25rem, 1.8vw, 1.7rem); font-weight: 900; letter-spacing: -.04em; margin: .6em 0 .3em; }
.svc-card.is-lead h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); color: var(--accent); }
.svc-card .sub { font-size: var(--small); text-transform: uppercase; letter-spacing: .05em; opacity: .7; margin-bottom: 1em; }
.svc-card p { font-size: clamp(.95rem, 1.15vw, 1.1rem); margin: 0 0 1.2em; }
.svc-card .from { margin-top: auto; font-size: var(--small); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.svc-card .from b { display: block; font-size: clamp(1.2rem, 1.8vw, 1.6rem); letter-spacing: -.03em; font-weight: 900; margin-top: 4px; }
.svc-card .codes { display: flex; gap: 6px; margin: 4px 0 12px; }
.svc-card .codes span { font-size: .8rem; font-weight: 900; border: 1px solid var(--accent); color: var(--accent); border-radius: 999px; padding: 4px 10px; }
.svc-card .thumb { width: 90px; aspect-ratio: 1; margin-bottom: 4px; mix-blend-mode: multiply; animation: spin 24s linear infinite; }
:root[data-theme="dark"] .svc-card .thumb { mix-blend-mode: screen; }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc-card.is-lead { grid-column: 1 / -1; min-height: 0; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }
.work3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.work3 .hw-card .lines { font-size: clamp(.9rem, 1.1vw, 1rem); margin-top: 10px; display: grid; gap: 6px; }
.work3 .hw-card .lines span { display: block; }
.work3 .hw-card .lines b { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-right: 6px; }
@media (max-width: 900px) { .work3 { grid-template-columns: 1fr; } }
.about-one .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.about-one p { font-size: clamp(1.1rem, 1.6vw, 1.5rem); line-height: 1.3; }
@media (max-width: 760px) { .about-one .wrap { grid-template-columns: 1fr; } }
.testi { border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.testi blockquote { margin: 0; font-size: clamp(1.4rem, 3vw, 2.8rem); line-height: 1.15; letter-spacing: -.04em; max-width: 34ch; }
.testi cite { display: block; margin-top: 1em; font-style: normal; font-size: var(--small); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.testi .tr { font-size: clamp(.95rem, 1.1vw, 1.05rem); opacity: .7; margin-top: 1em; max-width: 60ch; }
.talk .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.talk h2 { font-size: clamp(3rem, 9vw, 7rem); font-weight: 700; margin: 0; }
.talk p { font-size: clamp(1.05rem, 1.4vw, 1.3rem); }
.talk a { text-decoration: underline; text-underline-offset: .2em; }
.talk a.btn, .talk a.btn:hover { text-decoration: none; }
@media (max-width: 760px) { .talk .wrap { grid-template-columns: 1fr; } }
.f-legal-line { font-size: var(--small); opacity: .75; margin: 8px 0 0; }
/* services page v3 */
.sv-terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: clamp(24px, 3vw, 40px) 0 clamp(40px, 6vw, 80px); }
.sv-terms div { border-top: 2px solid var(--line); padding-top: 12px; font-size: clamp(.95rem, 1.15vw, 1.1rem); }
@media (max-width: 760px) { .sv-terms { grid-template-columns: 1fr; } }
.sv-block { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(20px, 3vw, 56px); padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--line); }
.sv-block.is-lead { border-top: 2px solid var(--line); }
.sv-block .num { font-size: var(--small); font-weight: 700; letter-spacing: .08em; opacity: .6; display: block; margin-bottom: 8px; }
.sv-block h2 { margin: 0 0 .25em; font-weight: 700; }
.sv-block.is-lead h2 { font-size: clamp(2.4rem, 6.4vw, 5rem); }
.sv-block .sub { font-size: var(--small); text-transform: uppercase; letter-spacing: .06em; color: var(--accent); font-weight: 700; }
.sv-block .desc { font-size: clamp(1.05rem, 1.4vw, 1.35rem); margin: 0 0 1.4em; }
.sv-packs { display: grid; gap: 14px; }
.sv-pack { border: 1px solid var(--line); border-radius: 15px; padding: clamp(18px, 2vw, 28px); display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: start; transition: box-shadow .3s ease, transform .3s ease; }
.sv-pack:hover { transform: translateY(-3px); box-shadow: 6px 6px 0 var(--accent); }
.sv-pack h3 { margin: 0; font-size: clamp(1.1rem, 1.5vw, 1.4rem); font-weight: 900; letter-spacing: -.03em; }
.sv-pack .price { font-size: clamp(1rem, 1.3vw, 1.2rem); font-weight: 900; letter-spacing: -.02em; white-space: nowrap; text-align: right; }
.sv-pack .dur { font-size: var(--small); text-transform: uppercase; letter-spacing: .06em; opacity: .6; text-align: right; }
.sv-pack p { grid-column: 1 / -1; margin: 6px 0 0; font-size: clamp(.95rem, 1.15vw, 1.1rem); }
.sv-pack .ask { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
.sv-from { margin-top: 24px; font-size: clamp(1rem, 1.3vw, 1.2rem); font-weight: 500; }
.sv-proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sv-proof a { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }
.sv-proof a:hover { background: var(--accent); border-color: var(--accent); color: #000; }
@media (max-width: 760px) { .sv-block { grid-template-columns: 1fr; } .sv-pack { grid-template-columns: 1fr; } .sv-pack .price, .sv-pack .dur { text-align: left; } }
/* video slideshow (Localsearch) */
.gallery--video .gallery__track > figure { flex-basis: min(640px, 84vw); background: transparent; }
.gallery--video video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--card); display: block; }
.gallery--video figcaption { margin-top: 10px; font-size: clamp(.95rem, 1.2vw, 1.15rem); text-transform: uppercase; letter-spacing: -.03em; }
.gallery--video figcaption a { text-decoration: underline; text-underline-offset: .18em; }

/* ===================================================================== V4 — motion layer & typography tokens */
:root { --p: clamp(1rem, 1.1vw, 1.125rem); --h1: clamp(5rem, 9.5vw, 10rem); }
.section { padding: clamp(120px, 10vw, 160px) 0; }
.section--tight { padding: clamp(48px, 6vw, 96px) 0; }
h1, h2, .display { letter-spacing: -.09em; }
.btn { transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s ease, color .25s ease, border-color .25s ease; }
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn:active { transform: scale(.97); }
/* word masks */
.wm { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.wm .w { display: inline-block; will-change: transform; }
/* page transition overlay */
#pt { position: fixed; inset: 0; background: #000; z-index: 2147483000; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
#pt.on { opacity: 1; pointer-events: auto; transition: opacity .2s ease; }
html:not(.pt-init) #pt { display: none; }
/* green cursor */
#custom-cursor { display: none; }
#cursor { position: fixed; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); border: 2px solid var(--accent); pointer-events: none; z-index: 2147483001; opacity: 0; transition: width .2s ease, height .2s ease, background .2s ease, opacity .2s ease; will-change: transform; }
body.has-cursor #cursor { opacity: 1; }
body.cursor-hover #cursor { width: 24px; height: 24px; background: transparent; }
@media (hover: none), (pointer: coarse) { #cursor { display: none !important; } }
/* parallax containers clip the scaled image */
.hw-img-box, .pcard .cov, .wrow .cov, .case-hero .cover, .gallery--wide figure { overflow: hidden; }
/* lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ===================================================================== V5 — work index */
.wfilter--index { border-top: 0; border-bottom: 1px solid var(--line); padding: 10px 0 18px; margin: 0 0 clamp(24px, 3vw, 40px); }
.wlist { display: flex; flex-direction: column; }
.wrow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 72px); align-items: center; padding: clamp(40px, 6vw, 96px) 0; border-top: 1px solid var(--line); color: var(--fg); }
.wrow:first-child { border-top: 0; padding-top: clamp(8px, 2vw, 24px); }
.wrow:nth-child(even) .cov { order: 2; }
.wrow.hide { display: none; }
.wrow .cov { aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--card); }
.wrow .cov img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .6s ease; }
.wrow:hover .cov img { filter: grayscale(0); }
.wrow .meta { display: flex; gap: 1.2em; font-size: var(--small); text-transform: uppercase; letter-spacing: .06em; opacity: .55; margin-bottom: 1.2em; }
.wrow h2 { font-size: clamp(2.2rem, 5.4vw, 5rem); overflow-wrap: anywhere; font-weight: 700; margin: 0 0 .25em; transition: letter-spacing .5s var(--easing); }
.wrow:hover h2 { letter-spacing: -.04em; }
.wrow .label { font-size: var(--small); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--accent); margin: 0 0 1.4em; }
.wrow .line { font-size: clamp(1.02rem, 1.35vw, 1.3rem); margin: 0 0 .6em; max-width: 42ch; }
.wrow .line.res { opacity: .7; }
.wrow .more { display: inline-block; margin-top: 1.2em; font-size: var(--small); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .2s ease, border-color .2s ease; }
.wrow:hover .more { color: var(--accent); border-color: var(--accent); }
@media (max-width: 760px) { .wrow { grid-template-columns: 1fr; gap: 20px; } .wrow:nth-child(even) .cov { order: 0; } .wrow h2 { font-size: clamp(2.2rem, 11vw, 3.4rem); } }
/* clarity: fewer keyword chips on home services */
.svc-card .sub { display: none; }
.pcard .tags span:nth-child(n+3) { display: none; }

.arch-image-container { overflow: visible; } .arch-image-container img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.portrait { overflow: hidden; border-radius: 50%; }

/* ===================================================================== V8 — mobile */
@media (max-width: 760px) {
  .hero h1 { font-size: clamp(4rem, 22vw, 6rem); }
  .hero .hero-lines span { font-size: clamp(1.3rem, 6.2vw, 1.8rem); }
  .hero .actions .btn { width: 100%; }
  .section { padding: clamp(64px, 14vw, 96px) 0; }
  .case-hero h1 { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .case-hero .tags { font-size: clamp(1rem, 4.4vw, 1.3rem); }
  .stats .n { font-size: clamp(1.4rem, 7vw, 2rem); }
  .sv-block.is-lead h2, .sv-block h2 { font-size: clamp(1.9rem, 9vw, 2.8rem); }
  .svc-card { min-height: 0; }
  .svc-card h3, .svc-card.is-lead h3 { font-size: clamp(1.3rem, 6vw, 1.7rem); }
  .talk h2 { font-size: clamp(2.4rem, 13vw, 4rem); }
  .testi blockquote { font-size: clamp(1.2rem, 5.6vw, 1.6rem); }
  .intro-row h2 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .wrow .meta { flex-wrap: wrap; gap: .4em 1em; }
  .wfilter .count { order: 9; }
  .all-inclusive-block { padding: 28px 20px; }
  .ai-price { font-size: 22px; }
  .f-copy { flex-direction: column; }
}

/* ===================================================================== V9 — strict palette, violet night, typographic index */
:root { --bg: #FFFFFF; --fg: #000000; --line: #000000; }
:root[data-theme="dark"] { --bg: #14062E; --fg: #F3EDFF; --line: #F3EDFF; --accent: #CDAEFF; }
:root[data-theme="dark"] .hero-media video, :root[data-theme="dark"] .hero-media img { filter: none; mix-blend-mode: normal; }
:root[data-theme="dark"] ::selection { background: var(--accent); color: #14062E; }
:root[data-theme="dark"] .btn:hover, :root[data-theme="dark"] .chip:hover, :root[data-theme="dark"] .chip.active:hover, :root[data-theme="dark"] .filter-btn:hover, :root[data-theme="dark"] .service-pill:hover, :root[data-theme="dark"] .pill-group input:hover + span, :root[data-theme="dark"] .visit-btn, :root[data-theme="dark"] .contact-cta, :root[data-theme="dark"] .skill-pill, :root[data-theme="dark"] .brand-tag.disabled-link, :root[data-theme="dark"] .btn--accent, :root[data-theme="dark"] .ai-btn:hover, :root[data-theme="dark"] .f-social:hover, :root[data-theme="dark"] .site-footer .btn:hover, :root[data-theme="dark"] .pcard .tags span.dim, :root[data-theme="dark"] .sv-proof a:hover, :root[data-theme="dark"] .gallery__nav button:hover, :root[data-theme="dark"] .wfilter .reset:hover { color: #14062E; }
:root[data-theme="dark"] .site-footer { background: #0B0319; color: #F3EDFF; }
:root[data-theme="dark"] .site-footer .btn { background: #F3EDFF; color: #14062E; border-color: #F3EDFF; }
:root[data-theme="dark"] .all-inclusive-block, :root[data-theme="dark"] .svc-card.is-lead, :root[data-theme="dark"] .testimonial, :root[data-theme="dark"] .band { background: #0B0319; color: #F3EDFF; border-color: #F3EDFF; }
:root[data-theme="dark"] .band .btn { background: #F3EDFF; color: #14062E; border-color: #F3EDFF; }
:root[data-theme="dark"] .phone-frame, :root[data-theme="dark"] .phone-frame::before { background: #F3EDFF; border-color: #F3EDFF; }
/* no gray: every secondary text is full ink */
.muted, .meta, .cap, .count, .wfilter .lbl, .wfilter .count, .svc-card .num, .sv-block .num, .sv-pack .dur, .wrow .meta, .wrow .line.res, .rebrand-desc, .rebrand-desc.now, .rebrand-col.past, .rebrand-arrow, .evo-card-v1, .hero .hero-lines > span + span, .footer-move, .f-copy, .f-legal-line, .testi .tr, .stats .s, .pcard .meta, .sv-terms div, .form .desc, .field .desc, .field label small, .field .label small, .wf-sub, .seo-list, .contact-aside .muted, .svc-card .sub, .pack-desc, .t-desc, .detail-body, .evo-version, .lang-switch a, .wix .y, .wix .b { opacity: 1 !important; color: inherit; }
.testimonial { background: var(--fg); color: var(--bg); }
.rebrand-frame, .phone, .phone-frame, .package-card, .sv-pack, .svc-card { box-shadow: none !important; }
.rebrand-frame:hover, .package-card:hover, .sv-pack:hover, .svc-card:hover { box-shadow: 8px 8px 0 var(--accent) !important; }
.phone-frame, .phone-frame::before { background: #000; border-color: #000; }
.hero .hero-lines { margin: 0 0 .4em; font-weight: 700; letter-spacing: -.07em; line-height: .95; }
.hero .hero-lines > span { font-size: clamp(2.2rem, 6.4vw, 5.4rem); display: block; font-weight: 700; }
.hero .hero-lines > span:first-child { color: var(--accent); }
.hero .hero-lines > span + span { font-weight: 400; }
.hero .claim-sub { font-size: clamp(1rem, 1.4vw, 1.25rem); max-width: 40ch; }
.marquee { border-color: var(--line); }
.hero-media video { mix-blend-mode: normal; }
/* typographic work index */
.wix-list { display: flex; flex-direction: column; border-top: 2px solid var(--line); }
.wix { display: grid; grid-template-columns: 3.5rem 1fr auto; align-items: baseline; gap: clamp(12px, 2vw, 32px); padding: clamp(22px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); color: var(--fg); position: relative; }
.wix.hide { display: none; }
.wix .n { font-size: var(--small); font-weight: 700; letter-spacing: .08em; }
.wix h2 { margin: 0; font-size: clamp(2.2rem, 7vw, 6.4rem); font-weight: 700; letter-spacing: -.08em; line-height: .9; transition: letter-spacing .5s var(--easing), transform .5s var(--easing); display: inline-block; }
.wix:hover h2 { letter-spacing: -.03em; transform: translateX(.3em); }
.wix .t { display: flex; flex-direction: column; gap: 6px; }
.wix .l { font-size: var(--small); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.wix .b { font-size: clamp(.95rem, 1.2vw, 1.15rem); max-width: 56ch; max-height: 0; overflow: hidden; transition: max-height .5s var(--easing), margin .5s var(--easing); }
.wix:hover .b { max-height: 6em; margin-top: 6px; }
.wix .y { font-size: var(--small); font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.wix .cov-m { display: none; }
.wix-float { position: fixed; top: 0; left: 0; width: min(380px, 32vw); aspect-ratio: 1; pointer-events: none; z-index: 20; opacity: 0; transform: translate3d(-9999px, -9999px, 0); transition: opacity .25s ease; border: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.wix-float.on { opacity: 1; }
.wix-float img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (hover: none), (max-width: 760px) {
  .wix { grid-template-columns: 2.4rem 1fr; }
  .wix .y { grid-column: 2; }
  .wix .b { max-height: none; margin-top: 6px; }
  .wix .cov-m { display: block; grid-column: 1 / -1; margin-top: 14px; }
  .wix .cov-m img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(100%); }
  .wix-float { display: none; }
}

.quote blockquote .tr { display: block; margin-top: .8em; font-size: .62em; line-height: 1.25; }

/* ===================================================================== V11 — coherent index: one line per project, four columns */
.wix { grid-template-columns: 2.5rem 1fr minmax(0, 18ch) 7ch; align-items: center; padding: clamp(18px, 2.4vw, 30px) 0; }
.wix h2 { font-size: clamp(1.6rem, 4.2vw, 3.6rem); letter-spacing: -.06em; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wix h2 .dot { display: none; }
.wix:hover h2 { letter-spacing: -.02em; transform: translateX(.25em); }
.wix .l { color: var(--fg); text-align: right; font-weight: 500; letter-spacing: .04em; font-size: var(--small); }
.wix .y { text-align: right; font-weight: 500; }
.wix-list { border-top: 2px solid var(--line); margin-top: clamp(24px, 4vw, 56px); }
.wix h2 .wm { padding-bottom: 0; margin-bottom: 0; }
@media (max-width: 760px) {
  .wix { grid-template-columns: 2rem 1fr; row-gap: 4px; }
  .wix h2 { white-space: normal; font-size: clamp(1.5rem, 8vw, 2.2rem); }
  .wix .l, .wix .y { grid-column: 2; text-align: left; }
  .wix .cov-m { margin-top: 10px; }
}

.wix { grid-template-columns: 2.5rem 1fr minmax(0, 22ch) 7ch; }
.wix h2 { white-space: normal; overflow: visible; text-overflow: clip; font-size: clamp(1.5rem, 3.6vw, 3.2rem); }

.sv-line { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); color: var(--fg); font-size: clamp(1rem, 1.3vw, 1.2rem); }
.sv-line span:nth-child(1) { font-weight: 700; letter-spacing: -.02em; }
.sv-line span:nth-child(2) { font-size: var(--small); text-transform: uppercase; letter-spacing: .06em; }
.sv-line span:nth-child(3) { font-weight: 700; white-space: nowrap; }
.sv-line:hover span:nth-child(1) { color: var(--accent); }
.sv-packs .sv-line:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 560px) { .sv-line { grid-template-columns: 1fr auto; } .sv-line span:nth-child(2) { display: none; } }

/* ===================================================================== V14 — colour-coded work grid */
:root { --c-transcreation: #00FF00; --c-brand: #CDAEFF; --c-social: #000000; --c-web: #FFFFFF; }
:root[data-theme="dark"] { --c-transcreation: #CDAEFF; --c-brand: #00FF00; --c-social: #F3EDFF; --c-web: #14062E; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--fg); }
.tag--transcreation, .gcard--transcreation .tag { background: var(--c-transcreation); border-color: var(--c-transcreation); color: #000; }
.tag--brand, .gcard--brand .tag { background: var(--c-brand); border-color: var(--c-brand); color: #000; }
.tag--social, .gcard--social .tag { background: var(--c-social); border-color: var(--c-social); color: var(--bg); }
.tag--web, .gcard--web .tag { background: var(--c-web); border-color: var(--line); color: var(--fg); }
:root[data-theme="dark"] .tag--social, :root[data-theme="dark"] .gcard--social .tag { color: #14062E; }
.ggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.gcard { display: flex; flex-direction: column; gap: 10px; color: var(--fg); }
.gcard .cov { aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); }
.gcard .cov img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .5s ease, transform .8s var(--easing); }
.gcard:hover .cov img { filter: none; transform: scale(1.03); }
.gcard .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 2px solid var(--line); padding-top: 10px; }
.gcard h2 { margin: 0; font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 700; letter-spacing: -.04em; }
.gcard .y { font-size: var(--small); font-weight: 700; white-space: nowrap; }
.gcard .tag { align-self: flex-start; }
@media (max-width: 900px) { .ggrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ggrid { grid-template-columns: 1fr; } }

.tours { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tours figure { margin: 0; }
.tours iframe { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); display: block; background: var(--bg); }
.tours figcaption { margin-top: 8px; font-size: var(--small); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
@media (max-width: 600px) { .tours { grid-template-columns: 1fr; } }

.tourlist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 2px solid var(--line); }
.tourlist a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: clamp(.95rem, 1.2vw, 1.1rem); font-weight: 500; }
.tourlist a span:last-child { font-size: var(--small); font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.tourlist a:hover { color: var(--accent); }
@media (max-width: 600px) { .tourlist { grid-template-columns: 1fr; } }
