/* =========================================================
   MACC Studio — style.css
   Type: Inter Tight (display/body) · Instrument Serif (accent) · Fragment Mono (labels)
   Color: ink #0B0B0A · paper #F0EFE9 · lime #CDF23F
   ========================================================= */

:root {
  --ink: #0b0b0a;
  --ink-2: #151514;
  --ink-3: #2a2a27;
  --paper: #f0efe9;
  --paper-2: #e6e5dd;
  --lime: #cdf23f;
  --lime-2: #b8dc2a;
  --grey: #8a8a83;

  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Fragment Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 3vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --fs-mono: 11px;
  --fs-body: clamp(16px, 1.15vw, 18px);
  --fs-lead: clamp(18px, 1.6vw, 24px);
  --fs-h2: clamp(42px, 6.4vw, 108px);
  --fs-hero: clamp(52px, 10.4vw, 188px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
::selection { background: var(--lime); color: var(--ink); }

.mono { font-family: var(--mono); font-size: var(--fs-mono); text-transform: uppercase; letter-spacing: .06em; font-weight: 400; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }

.section--dark { background: var(--ink); color: var(--paper); }
.section--light { background: var(--paper); color: var(--ink); }
.section--lime { background: var(--lime); color: var(--ink); }
.section--dark em { color: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 26px;
  border-radius: 999px;
  font-size: 15px; font-weight: 400; letter-spacing: -0.005em;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn .arrow { font-style: normal; display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translate(3px, -3px) rotate(0deg); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime::before { background: var(--paper); }
.btn--ghost { border: 1px solid rgba(240,239,233,.25); color: var(--paper); }
.btn--ghost::before { background: var(--paper); }
.btn--ghost:hover { color: var(--ink); border-color: var(--paper); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark::before { background: var(--paper); }
.btn--dark:hover { color: var(--ink); }
.btn--block { width: 100%; justify-content: space-between; --h: 64px; padding: 0 28px; font-size: 17px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: flex-end;
  padding: var(--gutter);
}
.no-js .loader { display: none; }
.loader__inner { width: 100%; }
.loader__mark { font-size: clamp(64px, 16vw, 280px); font-weight: 300; letter-spacing: -0.06em; line-height: .85; overflow: hidden; }
.loader__mark .serif { color: var(--lime); font-size: .55em; margin-left: .08em; letter-spacing: -0.02em; }
.loader__row { display: flex; justify-content: space-between; margin-top: 28px; color: var(--grey); }
.loader__count { color: var(--paper); }
.loader__bar { height: 1px; background: rgba(240,239,233,.12); margin-top: 14px; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--lime); }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 150;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--lime);
  pointer-events: none;
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .3s, opacity .3s;
  mix-blend-mode: normal;
  opacity: 0;
}
.cursor.is-visible { opacity: 1; }
.cursor__label { color: var(--ink); opacity: 0; transition: opacity .25s; font-size: 11px; }
.cursor.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
.cursor.is-view .cursor__label { opacity: 1; }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(205,242,63,.25); }
@media (hover: none), (pointer: coarse) { .cursor, .hover-img { display: none !important; } }

/* Floating image for services hover */
.hover-img {
  position: fixed; top: 0; left: 0; z-index: 5;
  width: clamp(220px, 20vw, 320px); aspect-ratio: 4/5;
  margin: calc(clamp(220px, 20vw, 320px) * -0.625) 0 0 calc(clamp(220px, 20vw, 320px) * -0.5);
  pointer-events: none;
  border-radius: 10px; overflow: hidden;
  opacity: 0; transform: scale(.85);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.hover-img.is-on { opacity: 1; transform: scale(1); }
.hover-img__inner { width: 100%; height: 100%; background-size: cover; background-position: center; transition: background-image .3s; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter);
  color: var(--paper);
  transition: transform .6s var(--ease), background-color .4s, backdrop-filter .4s, color .4s;
}
.header.is-scrolled { background: rgba(11,11,10,.6); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.header.is-hidden { transform: translateY(-110%); }
.header.on-light { color: var(--ink); }
.header.on-light.is-scrolled { background: rgba(240,239,233,.7); }
.logo { font-size: 22px; font-weight: 500; letter-spacing: -0.05em; justify-self: start; }
.logo .serif { font-weight: 400; margin-left: 3px; letter-spacing: -0.02em; }

.nav { display: flex; gap: 6px; }
.nav__link { position: relative; padding: 8px 12px; font-size: 14px; font-weight: 400; overflow: hidden; display: inline-block; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__right { display: flex; align-items: center; gap: 12px; justify-self: end; }
.lang { position: relative; display: flex; padding: 3px; border-radius: 999px; border: 1px solid currentColor; border-color: rgba(127,127,120,.4); }
.lang__btn { position: relative; z-index: 1; width: 38px; height: 30px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; border-radius: 999px; transition: color .4s var(--ease); }
.lang__btn[aria-pressed="true"] { color: var(--ink); }
.lang__pill { position: absolute; top: 3px; left: 3px; width: 38px; height: 30px; border-radius: 999px; background: var(--lime); transition: transform .5s var(--ease); }
.lang[data-active="pt"] .lang__pill { transform: translateX(38px); }
.header.on-light .lang__pill { background: var(--ink); }
.header.on-light .lang__btn[aria-pressed="true"] { color: var(--lime); }
.menu-open .header .lang__pill { background: var(--lime); }
.menu-open .header .lang__btn[aria-pressed="true"] { color: var(--ink); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(127,127,120,.4); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--gutter) 32px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-io);
  visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open .header { color: var(--paper) !important; background: transparent !important; backdrop-filter: none !important; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { font-size: clamp(44px, 12vw, 80px); font-weight: 300; letter-spacing: -0.05em; line-height: 1.05; padding: 4px 0; border-bottom: 1px solid var(--ink-3); transform: translateY(30px); opacity: 0; transition: transform .8s var(--ease), opacity .8s var(--ease), color .3s; }
.menu__nav a:hover { color: var(--lime); }
.menu-open .menu__nav a { transform: none; opacity: 1; }
.menu-open .menu__nav a:nth-child(2) { transition-delay: .05s; }
.menu-open .menu__nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .menu__nav a:nth-child(4) { transition-delay: .15s; }
.menu-open .menu__nav a:nth-child(5) { transition-delay: .2s; }
.menu__foot { display: flex; justify-content: space-between; color: var(--grey); gap: 16px; flex-wrap: wrap; }

/* ---------- Section heads ---------- */
.sec-head__label { display: flex; gap: 14px; align-items: center; color: var(--grey); margin-bottom: 28px; }
.sec-head__label span:first-child { color: inherit; padding: 4px 8px; border: 1px solid currentColor; border-radius: 999px; line-height: 1; }
.section--dark .sec-head__label span:first-child { color: var(--lime); }
.section--lime .sec-head__label { color: rgba(11,11,10,.6); }
.sec-title { font-size: var(--fs-h2); font-weight: 300; line-height: .95; letter-spacing: -0.05em; }
.sec-title em { letter-spacing: -0.03em; }

/* split-line helper */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; will-change: transform; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 140px var(--gutter) 0; }
.hero__meta { display: flex; justify-content: space-between; color: var(--grey); margin-bottom: clamp(32px, 6vh, 72px); gap: 16px; }
.hero__meta .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-right: 10px; vertical-align: 1px; animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.hero__title { font-size: var(--fs-hero); font-weight: 300; line-height: .9; letter-spacing: -0.06em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line__in { display: inline-block; will-change: transform; }
.hero__title .line--indent { padding-left: 9vw; }
.hero__title .line--indent2 { padding-left: 22vw; }
.hero__title .line--muted { color: #55554f; }
.hero__title em { color: var(--lime); padding-right: .06em; letter-spacing: -0.035em; }

.hero__bottom { display: grid; grid-template-columns: minmax(0, 420px) 1fr auto; align-items: end; gap: 32px; margin-top: clamp(40px, 7vh, 88px); }
.hero__sub { font-size: var(--fs-lead); line-height: 1.35; color: #c9c8c0; letter-spacing: -0.02em; }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__scroll { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--grey); }
.hero__scroll i { width: 1px; height: 54px; background: linear-gradient(var(--grey), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--lime); animation: drip 2s var(--ease-io) infinite; }
@keyframes drip { to { top: 110%; } }

.reel { margin-top: clamp(48px, 9vh, 110px); padding-bottom: var(--gutter); }
.reel__frame { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); will-change: clip-path; }
.reel__img { width: 100%; height: 120%; object-fit: cover; filter: grayscale(.35) contrast(1.05); will-change: transform; }
.reel__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,10,.05) 40%, rgba(11,11,10,.65)); }
.reel__play { position: absolute; left: 50%; top: 50%; width: clamp(84px, 9vw, 128px); aspect-ratio: 1; margin: calc(clamp(84px, 9vw, 128px) / -2) 0 0 calc(clamp(84px, 9vw, 128px) / -2); border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 20px; display: grid; place-items: center; transition: transform .5s var(--ease); }
.reel__play:hover { transform: scale(1.08); }
.reel__caption { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; color: rgba(240,239,233,.8); gap: 12px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: clamp(28px, 4vw, 56px) 0; border-top: 1px solid var(--ink-3); border-bottom: 1px solid var(--ink-3); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee span { font-size: clamp(40px, 6.5vw, 110px); font-weight: 300; letter-spacing: -0.05em; line-height: 1; padding: 0 .3em; white-space: nowrap; transition: color .4s; }
.marquee span.serif { color: var(--lime); }
.marquee b { color: var(--lime); font-weight: 300; font-size: clamp(22px, 3vw, 48px); }
.marquee:hover span:not(.serif) { color: #4a4a45; }
.marquee span:hover { color: var(--paper) !important; }

/* ---------- Work ---------- */
.work { padding: clamp(96px, 14vw, 200px) var(--gutter) clamp(80px, 10vw, 160px); border-radius: 28px 28px 0 0; position: relative; z-index: 2; margin-top: -1px; }
.work .sec-head__label span:first-child { color: var(--ink); }
.work__bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: clamp(40px, 5vw, 72px) 0 32px; flex-wrap: wrap; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(11,11,10,.18); font-size: 14px; font-weight: 400; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip__n { font-family: var(--mono); font-size: 9px; margin-left: 4px; color: var(--lime); }
.chip:not(.is-active) .chip__n { color: var(--grey); }
.work__note { color: var(--grey); }

.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(48px, 6vw, 96px); }
.card { grid-column: span 6; cursor: pointer; transition: opacity .5s var(--ease); }
.card:nth-child(6n+1) { grid-column: 1 / span 7; }
.card:nth-child(6n+2) { grid-column: 9 / span 4; margin-top: 18vw; }
.card:nth-child(6n+3) { grid-column: 2 / span 5; }
.card:nth-child(6n+4) { grid-column: 7 / span 6; margin-top: 8vw; }
.card:nth-child(6n+5) { grid-column: 1 / span 5; }
.card:nth-child(6n+6) { grid-column: 6 / span 7; margin-top: 12vw; }
.card.is-out { display: none; }
.grid.is-filtered .card { grid-column: span 6 !important; margin-top: 0 !important; }

.card__media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); aspect-ratio: 4/3; }
.card:nth-child(6n+2) .card__media, .card:nth-child(6n+5) .card__media { aspect-ratio: 4/5; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease), filter .8s; filter: grayscale(.2); }
.card:hover .card__media img { transform: scale(1.0); filter: grayscale(0); }
.card__tags { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.card__tags span { background: rgba(240,239,233,.92); color: var(--ink); padding: 6px 10px; border-radius: 999px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; transform: translateY(-8px); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.card:hover .card__tags span { transform: none; opacity: 1; }
.card:hover .card__tags span:nth-child(2) { transition-delay: .06s; }
.card__info { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; }
.card__title { font-size: clamp(22px, 2vw, 32px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.1; }
.card__title i { font-style: normal; display: inline-block; transition: transform .5s var(--ease); margin-left: 6px; color: var(--grey); }
.card:hover .card__title i { transform: translate(4px, -4px); color: var(--ink); }
.card__meta { color: var(--grey); white-space: nowrap; }
.card__idx { color: var(--grey); font-family: var(--mono); font-size: 11px; margin-bottom: 10px; display: block; }

/* ---------- Services ---------- */
.services { padding: clamp(96px, 14vw, 200px) var(--gutter); }
.services__head { display: grid; grid-template-columns: 1fr minmax(0, 380px); align-items: end; gap: 32px 48px; margin-bottom: clamp(48px, 7vw, 100px); }
.services__head .sec-head__label { grid-column: 1 / -1; margin-bottom: 0; }
.services__intro { color: #b5b4ac; font-size: var(--fs-lead); line-height: 1.35; letter-spacing: -0.02em; }

.svc { border-top: 1px solid var(--ink-3); }
.svc__row { border-bottom: 1px solid var(--ink-3); position: relative; }
.svc__row::before { content: ""; position: absolute; inset: 0; background: var(--lime); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: 0; }
.svc__head { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 80px 1fr 48px; align-items: center; text-align: left; padding: clamp(20px, 2.6vw, 38px) 0; transition: color .5s var(--ease), padding .6s var(--ease); }
.svc__n { color: var(--grey); transition: color .4s; }
.svc__t { font-size: clamp(30px, 4.6vw, 76px); font-weight: 300; letter-spacing: -0.05em; line-height: 1; transition: transform .6s var(--ease); }
.svc__plus { position: relative; width: 44px; height: 44px; border: 1px solid var(--ink-3); border-radius: 50%; justify-self: end; transition: transform .6s var(--ease), border-color .4s, background-color .4s; }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.svc__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
@media (hover: hover) {
  .svc__row:hover::before { transform: scaleY(1); }
  .svc__row:hover .svc__head { color: var(--ink); padding-left: 20px; padding-right: 20px; }
  .svc__row:hover .svc__n { color: var(--ink); }
  .svc__row:hover .svc__plus { border-color: var(--ink); }
  .svc__row:hover .svc__body { color: var(--ink); }
  .svc__row:hover .tags li { border-color: rgba(11,11,10,.3); }
}
.svc__row.is-open .svc__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.svc__row.is-open .svc__plus { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.svc__body { position: relative; z-index: 1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease), padding .6s var(--ease); padding-left: 80px; }
.svc__body > ul { overflow: hidden; }
.svc__row.is-open .svc__body { grid-template-rows: 1fr; }
.svc__row.is-open .svc__body > ul { padding-bottom: 32px; }
@media (hover: hover) { .svc__row:hover .svc__body { padding-left: 100px; } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 14px; border: 1px solid var(--ink-3); border-radius: 999px; font-size: 14px; font-weight: 400; transition: border-color .4s; }
.tags--light li { border-color: rgba(240,239,233,.3); }

/* ---------- Heavenlit ---------- */
.heaven { position: relative; min-height: 120vh; overflow: hidden; color: var(--paper); display: flex; align-items: flex-end; background: #000; }
.heaven__media { position: absolute; inset: -10% 0; }
.heaven__img { width: 100%; height: 100%; object-fit: cover; will-change: transform; filter: saturate(.9) contrast(1.05); }
.heaven__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.08) 30%, rgba(0,0,0,.6) 62%, rgba(0,0,0,.92) 100%); }
.heaven__content { position: relative; width: 100%; padding: clamp(96px, 12vw, 180px) var(--gutter) var(--gutter); }
.heaven .sec-head__label { color: rgba(240,239,233,.7); position: absolute; top: clamp(96px, 12vw, 180px); left: var(--gutter); }
.heaven .sec-head__label span:first-child { color: var(--lime); }
.heaven__word { font-size: clamp(80px, 21vw, 380px); font-weight: 300; letter-spacing: -0.07em; line-height: .8; margin: 30vh 0 clamp(32px, 4vw, 64px) -0.04em; white-space: nowrap; }
.heaven__word .serif { color: var(--lime); letter-spacing: -0.04em; }
.heaven__cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px 64px; align-items: end; padding-top: 32px; border-top: 1px solid rgba(240,239,233,.2); }
.heaven__title { font-size: clamp(32px, 3.8vw, 64px); font-weight: 300; letter-spacing: -0.045em; line-height: 1; }
.heaven__title em { color: var(--lime); }
.heaven__cols p { color: rgba(240,239,233,.8); margin-bottom: 24px; font-size: var(--fs-body); }
.heaven__fig { margin-top: 48px; color: rgba(240,239,233,.5); }

/* ---------- Process ---------- */
.process { position: relative; }
.process__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: clamp(96px, 10vw, 140px) 0 clamp(64px, 6vw, 96px); overflow: hidden; }
.process__head { padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.process__head .sec-head__label { grid-column: 1 / -1; margin-bottom: 0; }
.process__head .sec-head__label span:first-child { color: var(--ink); }
.process__progress { grid-column: 1 / -1; grid-row: 4; height: 1px; background: rgba(11,11,10,.15); margin-top: 24px; }
.process__progress span { display: block; height: 100%; width: 0; background: var(--ink); }
.process__hint { color: var(--grey); }
.process__track { display: flex; gap: clamp(14px, 1.6vw, 24px); padding: clamp(40px, 5vw, 64px) var(--gutter) 0; width: max-content; will-change: transform; }
.step { width: clamp(280px, 30vw, 440px); aspect-ratio: 4/5; flex-shrink: 0; border-radius: var(--radius); background: #fff; padding: clamp(22px, 2.2vw, 36px); display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(11,11,10,.06); transition: transform .6s var(--ease), background-color .5s, color .5s; }
.step:hover { transform: translateY(-8px); background: var(--ink); color: var(--paper); }
.step__n { font-size: clamp(72px, 8vw, 132px); font-weight: 200; letter-spacing: -0.07em; line-height: .8; color: var(--paper-2); transition: color .5s; }
.step:hover .step__n { color: var(--lime); }
.step h3 { font-size: clamp(30px, 2.8vw, 46px); font-weight: 400; letter-spacing: -0.045em; line-height: 1; margin-bottom: 14px; }
.step p { color: #6b6b64; font-size: 16px; line-height: 1.4; transition: color .5s; max-width: 30ch; }
.step:hover p { color: #b5b4ac; }
.step--lime { background: var(--lime); }
.step--lime .step__n { color: rgba(11,11,10,.15); }
.step--lime p { color: rgba(11,11,10,.7); }

/* ---------- Philosophy ---------- */
.philo { padding: clamp(120px, 16vw, 240px) var(--gutter); }
.philo__text { font-size: clamp(36px, 6.2vw, 112px); font-weight: 300; letter-spacing: -0.05em; line-height: 1; max-width: 16ch; }
.philo__text .pw { opacity: .14; transition: opacity .2s linear; }
.philo__text .pw.is-lime { color: var(--lime); font-family: var(--serif); font-style: italic; letter-spacing: -0.03em; }

/* ---------- Presence ---------- */
.presence { padding: 0 var(--gutter) clamp(96px, 12vw, 180px); }
.presence__head { display: grid; grid-template-columns: 1fr minmax(0, 360px); align-items: end; gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 80px); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--ink-3); }
.presence__head .sec-head__label { grid-column: 1 / -1; margin-bottom: 0; }
.presence__body { color: #b5b4ac; font-size: var(--fs-lead); line-height: 1.35; letter-spacing: -0.02em; }
.places { border-top: 1px solid var(--ink-3); }
.place { display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; gap: 16px; padding: clamp(18px, 2.4vw, 34px) 0; border-bottom: 1px solid var(--ink-3); transition: padding .6s var(--ease); }
.place:hover { padding-left: 16px; }
.place__code { font-size: clamp(48px, 7vw, 120px); font-weight: 200; letter-spacing: -0.06em; line-height: .85; color: #3a3a36; transition: color .5s; }
.place:hover .place__code { color: var(--lime); }
.place__name { font-size: clamp(22px, 2.4vw, 40px); font-weight: 300; letter-spacing: -0.04em; }
.place__time { color: var(--grey); text-align: right; }
.place__time b { color: var(--paper); font-weight: 400; font-size: 14px; margin-left: 8px; }

/* ---------- Testimonials ---------- */
.testi { padding: clamp(96px, 12vw, 180px) var(--gutter); }
.testi .sec-head__label span:first-child { color: var(--ink); }
.testi__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 72px); margin-top: 24px; }
.quote { position: relative; padding-top: 24px; border-top: 1px solid rgba(11,11,10,.15); }
.quote__mark { font-size: 120px; line-height: .6; color: var(--lime-2); display: block; height: 56px; }
.quote blockquote { font-size: clamp(24px, 2.4vw, 40px); font-weight: 300; letter-spacing: -0.04em; line-height: 1.12; margin-bottom: 28px; }
.quote figcaption { color: var(--grey); }

/* ---------- Contact ---------- */
.contact { padding: clamp(96px, 12vw, 180px) var(--gutter); border-radius: 28px 28px 0 0; }
.contact .sec-head__label span:first-child { color: var(--ink); }
.contact__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(48px, 6vw, 120px); align-items: start; }
.contact__title { font-size: clamp(48px, 7vw, 124px); font-weight: 300; letter-spacing: -0.06em; line-height: .92; }
.contact__title em { letter-spacing: -0.035em; }
.contact__body { font-size: var(--fs-lead); margin-top: 28px; letter-spacing: -0.02em; max-width: 26ch; }
.contact__direct { margin-top: clamp(48px, 6vw, 96px); display: flex; flex-direction: column; gap: 10px; }
.contact__direct .mono { color: rgba(11,11,10,.55); }
.contact__mail { font-size: clamp(22px, 2.4vw, 38px); letter-spacing: -0.04em; font-weight: 400; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); width: fit-content; word-break: break-all; }
.contact__mail:hover { background-size: 100% 1px; }

.form { display: flex; flex-direction: column; gap: 6px; }
.form__interest { margin-bottom: 18px; }
.form__interest > .mono { display: block; color: rgba(11,11,10,.55); margin-bottom: 12px; }
.form__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.form__chips label { cursor: pointer; }
.form__chips input { position: absolute; opacity: 0; pointer-events: none; }
.form__chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(11,11,10,.3); font-size: 14px; font-weight: 400; transition: background-color .35s var(--ease), color .35s; }
.form__chips label:hover span { border-color: var(--ink); }
.form__chips input:checked + span { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.form__chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.field { position: relative; display: block; padding-top: 22px; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(11,11,10,.3); padding: 12px 0 14px; font: inherit; font-size: 20px; color: var(--ink); letter-spacing: -0.02em; outline: none; resize: none; transition: border-color .3s; border-radius: 0; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field span { position: absolute; left: 0; top: 36px; font-size: 20px; color: rgba(11,11,10,.5); pointer-events: none; transform-origin: left top; transition: transform .4s var(--ease), color .3s; letter-spacing: -0.02em; }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-26px) scale(.62); color: var(--ink); }
.field.is-error input { border-color: #b3261e; }
.form .btn { margin-top: 28px; }
.form__status { min-height: 1em; margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { padding: clamp(80px, 10vw, 140px) var(--gutter) 24px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1fr auto; gap: 48px; }
.footer__tag { font-size: clamp(32px, 4vw, 64px); font-weight: 300; letter-spacing: -0.05em; line-height: 1; max-width: 12ch; }
.footer__cols { display: flex; gap: clamp(48px, 7vw, 120px); }
.footer__cols div { display: flex; flex-direction: column; gap: 8px; }
.footer__h { color: var(--grey); margin-bottom: 10px; }
.footer__cols a { font-size: 17px; width: fit-content; transition: color .3s; }
.footer__cols a:hover { color: var(--lime); }
.footer__mark { font-size: 25.5vw; font-weight: 300; letter-spacing: -0.075em; line-height: .78; margin: clamp(64px, 8vw, 120px) 0 24px -0.05em; white-space: nowrap; color: var(--paper); }
.footer__mark .serif { color: var(--lime); font-size: .42em; letter-spacing: -0.03em; margin-left: .05em; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; color: var(--grey); padding-top: 20px; border-top: 1px solid var(--ink-3); flex-wrap: wrap; }
.to-top:hover { color: var(--lime); }

/* ---------- Project overlay ---------- */
.pv { position: fixed; inset: 0; z-index: 120; pointer-events: none; visibility: hidden; }
.pv.is-open { pointer-events: auto; visibility: visible; }
.pv__clip { position: absolute; inset: 0; background: var(--ink); clip-path: inset(50% 50% 50% 50% round 14px); }
.pv__scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; color: var(--paper); opacity: 0; }
.pv__close { position: fixed; top: 20px; right: var(--gutter); z-index: 3; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--lime); color: var(--ink); transition: transform .4s var(--ease); }
.pv__close:hover { transform: rotate(-3deg) scale(1.04); }
.pv__hero { height: 78vh; overflow: hidden; }
.pv__hero img { width: 100%; height: 100%; object-fit: cover; }
.pv__body { padding: clamp(40px, 6vw, 96px) var(--gutter) clamp(64px, 8vw, 120px); }
.pv__meta { display: flex; gap: 14px; color: var(--grey); margin-bottom: 20px; flex-wrap: wrap; }
.pv__meta span:first-child { color: var(--lime); }
.pv__title { font-size: clamp(48px, 9vw, 160px); font-weight: 300; letter-spacing: -0.06em; line-height: .9; margin-bottom: clamp(32px, 4vw, 56px); }
.pv__desc { font-size: clamp(22px, 2.4vw, 38px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.15; max-width: 28ch; margin-left: auto; color: #d9d8d0; }
.pv__info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--ink-3); margin-top: clamp(40px, 5vw, 80px); padding-top: 24px; }
.pv__info div { display: flex; flex-direction: column; gap: 8px; }
.pv__info small { color: var(--grey); font-size: inherit; }
.pv__info b { font-weight: 400; color: var(--paper); text-transform: none; font-family: var(--sans); font-size: 17px; letter-spacing: -0.02em; }
.pv__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 24px); margin-top: clamp(48px, 6vw, 96px); }
.pv__gallery { align-items: start; }
.pv__gallery img { width: 100%; height: auto; border-radius: var(--radius); background: var(--ink-2); }
.pv__gallery img.is-wide { grid-column: 1 / -1; }
.pv__soon { text-align: center; color: var(--grey); margin-top: 48px; }
.pv__soon a { color: var(--lime); }
.pv__next { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; border-top: 1px solid var(--ink-3); margin-top: clamp(64px, 8vw, 120px); padding-top: 32px; text-align: left; }
.pv__next .mono { color: var(--grey); }
.pv__next-t { font-size: clamp(40px, 7vw, 120px); font-weight: 300; letter-spacing: -0.06em; line-height: .95; transition: color .4s, transform .6s var(--ease); }
.pv__next:hover .pv__next-t { color: var(--lime); transform: translateX(16px); }

/* ---------- Reveal helpers ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); }

/* language swap fade */
[data-i18n], [data-i18n-html], [data-i18n-list] { transition: opacity .25s var(--ease); }
body.is-switching [data-i18n], body.is-switching [data-i18n-html], body.is-switching [data-i18n-list] { opacity: 0; }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.section--light :focus-visible, .section--lime :focus-visible { outline-color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header { grid-template-columns: 1fr auto; }
  .burger { display: block; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .services__head, .presence__head { grid-template-columns: 1fr; }
  .heaven__cols { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --radius: 10px; }
  .header__cta { display: none; }
  .hero { padding-top: 112px; }
  .hero__meta { flex-direction: column; gap: 8px; }
  .hero__title { font-size: clamp(46px, 14.5vw, 90px); }
  .hero__title .line--indent { padding-left: 0; }
  .hero__title .line--indent2 { padding-left: 12vw; }
  .reel__caption span:last-child { display: none; }
  .work { border-radius: 20px 20px 0 0; }
  .grid { grid-template-columns: 1fr; }
  .card, .card:nth-child(n), .grid.is-filtered .card { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .card:nth-child(n) .card__media { aspect-ratio: 4/3.4; }
  .card__tags span { transform: none; opacity: 1; }
  .card__info { flex-direction: column; gap: 6px; }
  .svc__head { grid-template-columns: 44px 1fr 44px; }
  .svc__body { padding-left: 44px; }
  .heaven { min-height: auto; }
  .heaven__word { margin-top: 26vh; }
  .process__pin { min-height: 0; }
  .process__head { grid-template-columns: 1fr; }
  .process__progress, .process__hint { display: none; }
  .process__track { width: auto; flex-direction: column; }
  .step { width: 100%; aspect-ratio: auto; min-height: 260px; gap: 40px; }
  .place { grid-template-columns: auto 1fr; }
  .place__time { grid-column: 1 / -1; text-align: left; }
  .testi__grid, .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .pv__info { grid-template-columns: 1fr; }
  .pv__gallery { grid-template-columns: 1fr; }
  .pv__hero { height: 52vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Brand logo ---------- */
:root { --logo-dot: var(--lime); }
.logo { display: inline-flex; align-items: center; color: inherit; }
.logo__svg { height: 22px; width: auto; display: block; }
.header.on-light { --logo-dot: var(--ink); }
.menu-open .header { --logo-dot: var(--lime); }
.loader__mark { line-height: 0; }
.loader__svg { width: min(92vw, 1400px); height: auto; color: var(--paper); }
.footer__mark { font-size: 0; line-height: 0; margin-left: 0; }
.footer__svg { width: 100%; height: auto; color: var(--paper); display: block; }

/* ---------- Studio / About ---------- */
.about { padding: clamp(96px, 14vw, 200px) var(--gutter); --logo-dot: var(--ink); }
.about .sec-head__label span:first-child { color: var(--ink); }
.about__title { font-size: clamp(40px, 6.6vw, 116px); font-weight: 300; letter-spacing: -0.055em; line-height: .95; max-width: 15ch; }
.about__title b { font-weight: 500; position: relative; }
.about__title b::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .12em; background: var(--lime); z-index: -1; }
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 112px); margin-top: clamp(56px, 7vw, 120px); align-items: start; }
.about__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--paper-2); }
.about__media img { width: 100%; height: 115%; object-fit: cover; object-position: 60% 30%; will-change: transform; }
.about__media figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.about__media figcaption span { background: rgba(240,239,233,.92); padding: 7px 11px; border-radius: 999px; font-size: 10px; }
.about__text { display: flex; flex-direction: column; gap: 22px; color: #3d3d38; max-width: 60ch; }
.about__lead { font-size: var(--fs-lead); color: var(--ink); letter-spacing: -0.025em; line-height: 1.3; }
.about__verse { margin-top: 18px; padding: 24px 26px; border-radius: var(--radius); background: var(--ink); color: var(--paper); font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; letter-spacing: -0.01em; }
.about__verse cite { display: block; margin-top: 14px; font-style: normal; color: var(--lime); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(72px, 9vw, 140px); }
.pillar { border-top: 1px solid rgba(11,11,10,.18); padding-top: 22px; }
.pillar__l { display: block; font-size: clamp(72px, 8vw, 140px); font-weight: 200; letter-spacing: -0.07em; line-height: .8; margin-bottom: 26px; transition: color .5s; }
.pillar:hover .pillar__l { color: var(--lime-2); }
.pillar h3 { font-size: clamp(24px, 2vw, 32px); font-weight: 400; letter-spacing: -0.04em; margin-bottom: 10px; }
.pillar p { color: #5f5f58; font-size: 16px; line-height: 1.45; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 72px); margin-top: clamp(64px, 8vw, 120px); padding-top: 32px; border-top: 1px solid rgba(11,11,10,.18); }
.mv__item .mono { color: var(--grey); display: block; margin-bottom: 14px; }
.mv__item p { font-size: clamp(22px, 2.1vw, 34px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.15; }
.place__city { color: var(--grey); margin-left: 10px; font-size: 11px; letter-spacing: .06em; }

@media (max-width: 1080px) {
  .pillars { grid-template-columns: 1fr 1fr; row-gap: 48px; }
}
@media (max-width: 760px) {
  .logo__svg { height: 18px; }
  .about__grid, .mv { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pv__gallery img { grid-column: auto; }
}
.pv__hero[data-fit="contain"] { background: #151514; padding: clamp(72px, 8vw, 110px) var(--gutter) 0; }
.pv__hero[data-fit="contain"] img { object-fit: contain; }

/* ---------- Heavenlit photo strip ---------- */
.heaven__strip { margin: clamp(40px, 5vw, 72px) calc(var(--gutter) * -1) 0; overflow: hidden; }
.heaven__track { display: flex; gap: clamp(10px, 1.2vw, 18px); width: max-content; padding: 0 var(--gutter); will-change: transform; }
.heaven__track img { height: clamp(220px, 26vw, 380px); width: auto; aspect-ratio: 2/3; object-fit: cover; border-radius: 10px; filter: saturate(.92); transition: filter .5s, transform .8s var(--ease); }
.heaven__track img.is-land { aspect-ratio: 3/2; }
.heaven__track img:hover { filter: saturate(1.1); transform: scale(.98); }
@media (max-width: 760px) { .heaven__strip { overflow-x: auto; scrollbar-width: none; } .heaven__track img { height: 200px; } }

/* 7th project closes the grid full-width */
.grid:not(.is-filtered) .card:nth-child(7):last-child { grid-column: 1 / -1; margin-top: 0; }
.grid:not(.is-filtered) .card:nth-child(7):last-child .card__media { aspect-ratio: 21/9; }

/* ---------- Heavenlit link ---------- */
.heaven__cta { margin-top: 28px; }

/* ---------- Team ---------- */
.team { padding: 0 var(--gutter) clamp(96px, 12vw, 180px); }
.team .sec-head__label span:first-child { color: var(--ink); }
.team__head { display: grid; grid-template-columns: 1fr minmax(0, 380px); align-items: end; gap: 24px 48px; padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid rgba(11,11,10,.18); margin-bottom: clamp(40px, 5vw, 72px); }
.team__head .sec-head__label { grid-column: 1 / -1; margin-bottom: 0; }
.team__intro { color: #4a4a44; font-size: var(--fs-lead); line-height: 1.35; letter-spacing: -0.02em; }
.crew { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.member { position: relative; }
.member__pic { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid rgba(11,11,10,.06); }
.member__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.05); transition: filter .6s var(--ease), transform 1s var(--ease); }
.member:hover .member__pic img { filter: grayscale(0); transform: scale(1.03); }
.member__mono { position: absolute; inset: 0; display: grid; place-items: center; background: var(--paper-2); font-size: clamp(72px, 9vw, 150px); font-weight: 200; letter-spacing: -0.07em; color: rgba(11,11,10,.16); transition: background-color .5s var(--ease), color .5s; }
.member:hover .member__mono { background: var(--ink); color: var(--lime); }
.member__loc { position: absolute; left: 12px; top: 12px; background: rgba(240,239,233,.92); color: var(--ink); padding: 6px 10px; border-radius: 999px; font-size: 10px; }
.member__info { padding-top: 16px; }
.member__name { font-size: clamp(22px, 1.9vw, 30px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.1; }
.member__name small { font-family: var(--serif); font-style: italic; font-size: .8em; color: var(--grey); margin-left: 4px; letter-spacing: 0; }
.member__role { color: var(--grey); margin: 8px 0 10px; display: block; }
.member__bio { color: #55554f; font-size: 15px; line-height: 1.45; max-width: 34ch; }

/* ---------- WhatsApp chat ---------- */
.wa { position: fixed; left: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 110; font-family: var(--sans); }
.wa__fab { position: relative; width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.28); transition: transform .4s var(--ease), background-color .3s; }
.wa__fab:hover { transform: scale(1.07); }
.wa__fab svg { width: 32px; height: 32px; position: relative; z-index: 1; }
.wa__ring { position: absolute; inset: 0; border-radius: 50%; background: #25d366; opacity: .55; animation: waPulse 2.2s cubic-bezier(.2,.6,.3,1) infinite; }
.wa__ring--2 { animation-delay: 1.1s; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }
.wa.is-open .wa__ring { animation: none; opacity: 0; }
.wa.is-open .wa__fab { background: var(--ink); }
.wa__tip { position: absolute; left: 74px; bottom: 14px; white-space: nowrap; background: var(--paper); color: var(--ink); padding: 9px 14px; border-radius: 999px 999px 999px 4px; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.18); opacity: 0; transform: translateX(-8px); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.wa.show-tip:not(.is-open) .wa__tip { opacity: 1; transform: none; }
.wa__panel { position: absolute; left: 0; bottom: 78px; width: min(370px, calc(100vw - 28px)); max-height: min(600px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--ink); color: var(--paper); border: 1px solid var(--ink-3); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.45); transform-origin: bottom left; animation: waIn .45s var(--ease); }
.wa__panel[hidden] { display: none; }
@keyframes waIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.wa__top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--ink-3); }
.wa__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.wa__avatar svg { width: 24px; }
.wa__name { font-weight: 500; font-size: 15px; letter-spacing: -0.02em; }
.wa__status { color: var(--grey); font-size: 10px; display: flex; align-items: center; gap: 6px; }
.wa__status i { width: 6px; height: 6px; border-radius: 50%; background: #25d366; }
.wa__x { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ink-3); font-size: 12px; }
.wa__x:hover { border-color: var(--paper); }
.wa__body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.wa__msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.4; animation: waIn .35s var(--ease); }
.wa__msg--bot { background: var(--ink-2); border: 1px solid var(--ink-3); border-bottom-left-radius: 4px; align-self: flex-start; }
.wa__msg--me { background: var(--lime); color: var(--ink); border-bottom-right-radius: 4px; align-self: flex-end; }
.wa__typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: var(--ink-2); border-radius: 16px; }
.wa__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--grey); animation: waDot 1s infinite; }
.wa__typing i:nth-child(2) { animation-delay: .15s; } .wa__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes waDot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.wa__foot { padding: 12px 14px 14px; border-top: 1px solid var(--ink-3); display: flex; flex-direction: column; gap: 10px; }
.wa__foot:empty { display: none; }
.wa__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.wa__opt { padding: 8px 13px; border-radius: 999px; border: 1px solid var(--ink-3); font-size: 13px; transition: background-color .25s, color .25s, border-color .25s; }
.wa__opt:hover { border-color: var(--lime); }
.wa__opt.is-on { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.wa__row { display: flex; gap: 8px; }
.wa__input { flex: 1; min-width: 0; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 999px; padding: 11px 15px; color: var(--paper); font: inherit; font-size: 14px; outline: none; }
.wa__input:focus { border-color: var(--lime); }
.wa__send { height: 42px; padding: 0 16px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap; }
.wa__send:disabled { opacity: .35; cursor: default; }
.wa__go { display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; border-radius: 999px; background: #25d366; color: #0b0b0a; font-weight: 500; font-size: 15px; }
.wa__go svg { width: 20px; height: 20px; }
.wa__summary { font-family: var(--mono); font-size: 11px; line-height: 1.6; color: #c9c8c0; background: var(--ink-2); border: 1px dashed var(--ink-3); border-radius: 12px; padding: 10px 12px; white-space: pre-wrap; }

@media (max-width: 1080px) { .crew { grid-template-columns: 1fr 1fr; } .team__head { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .crew { grid-template-columns: 1fr 1fr; gap: 12px; }
  .member__bio { display: none; }
  .member__name { font-size: 19px; }
  .wa__fab { width: 56px; height: 56px; }
  .wa__tip { left: 66px; bottom: 11px; }
  .wa__panel { bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) { .wa__ring { animation: none; opacity: 0; } }
