/* bananana.marketing — built by build.py. No inline styles anywhere (strict CSP). */

/* Bananana: the brand face (Estedad, OFL, with diamond dots and 45° cut ascenders; see tools/font/derive.py).
   "Bananana Red" is the same letters with red Persian dots, for headings. */
@font-face { font-family: "Bananana"; src: url("fonts/Bananana-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bananana"; src: url("fonts/Bananana-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bananana"; src: url("fonts/Bananana-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Bananana Red"; src: url("fonts/BanananaRed-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bananana Red"; src: url("fonts/BanananaRed-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("fonts/PlayfairDisplay-latin-wght.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("fonts/PlayfairDisplay-latin-wght-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-400-latin.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --ink: #000;
  --ink-1: #0a090a;
  --ink-2: #141214;
  --panel: #1c1a1c;
  --line: #2c292c;
  --cream: #f7f4e8;
  --cream-2: #ebe5d2;
  --text: #f7f4e8;
  --text-2: #c2bcad;
  --text-3: #8f897d;
  --red: #ea212b;
  --red-hot: #ff2b2b;
  --red-btn: #d0161f;
  --fa: "Bananana", Tahoma, sans-serif;
  --fa-head: "Bananana Red", "Bananana", Tahoma, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 22px;
  --sec: clamp(88px, 11vw, 150px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 17px/1.9 var(--fa); font-variation-settings: normal;
  overflow-x: clip; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--red-btn); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- shared bits ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: 8px 20px;
  border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.3;
  border: 1.5px solid transparent; transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.pill:hover { transform: translateY(-2px); }
.pill-red { background: var(--red-btn); color: #fff; }
.pill-red:hover { background: #e01d26; }
.pill-ghost { border-color: #4a464a; color: var(--text); }
.pill-ghost:hover { border-color: var(--cream); }
.pill-ink { background: #000; color: var(--cream); }
.pill-lg { min-height: 54px; padding: 12px 26px; font-size: 16.5px; }
.pill-ico { font-size: 15px; }

.suit { color: var(--cream); font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", sans-serif; }
.suit.red { color: var(--red); }

.ttl { position: relative; font: 900 clamp(34px, 5.2vw, 66px)/1.2 var(--fa); letter-spacing: -.01em; padding-top: .42em; text-wrap: balance; }
.ttl-en {
  position: absolute; top: .1em; inset-inline-start: 0; max-width: 100%; overflow: hidden;
  font: 500 clamp(11px, 1.15vw, 15px)/1 var(--mono); letter-spacing: .62em; color: var(--red-hot);
  white-space: nowrap; text-transform: none; pointer-events: none;
}
.ttl-fa { position: relative; }
.ttl-md { font-size: clamp(30px, 3.8vw, 48px); }

.head { display: grid; gap: 22px; max-width: 780px; margin-bottom: clamp(44px, 6vw, 72px); }
.lede { color: var(--text-2); font-size: clamp(16.5px, 1.35vw, 19px); line-height: 2; max-width: 62ch; }
.tag { color: var(--cream); font-weight: 600; font-size: 18px; }
.sec { padding-block: var(--sec); position: relative; }
.serif-line { font: 700 clamp(13px, 1.4vw, 17px)/1.4 var(--serif); letter-spacing: .06em; color: var(--cream); }

.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 18px 6px 18px;
  border-radius: 999px; background: var(--red-btn); color: #fff; font: 500 13px/1 var(--mono); letter-spacing: .08em;
}
.chip-sm { min-height: 32px; font-size: 12px; padding-inline: 14px; }

/* catalog box: red label, red triangle, dark gradient panel with red dots */
.box { display: grid; grid-template-columns: 116px 1fr; align-items: center; gap: 0; }
.box-label { position: relative; color: var(--red-hot); font-weight: 800; font-size: 16px; line-height: 1.5; padding-inline-end: 26px; }
.box-label::after {
  content: ""; position: absolute; inset-inline-end: 0; top: 50%; translate: 0 -50%;
  border-block: 13px solid transparent; border-inline-end: 0; border-inline-start: 16px solid var(--red);
}
.dots {
  background: linear-gradient(to left, #262326, #0e0d0e); border-radius: 18px; padding: 18px 24px;
  display: grid; gap: 6px; font-size: 15px; color: var(--text-2);
}
.dots li { position: relative; padding-inline-start: 20px; }
.dots li::before { content: ""; position: absolute; inset-inline-start: 0; top: .78em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* ---------- header & rail ---------- */
.top {
  position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, .78);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease;
}
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; color: var(--cream); text-decoration: none; }
.logo { height: 38px; width: auto; }
.nav { display: flex; gap: 6px; margin-inline-start: auto; }
.nav a { text-decoration: none; color: var(--text-2); font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 10px; transition: color .2s ease; }
.nav a:hover, .nav a.on { color: var(--cream); }
.nav a.on { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 8px; text-decoration-thickness: 2px; }
.top-call { min-height: 40px; padding-inline: 16px; }

.rail { position: fixed; left: 26px; top: 110px; bottom: 34px; z-index: 5; width: 14px; display: none; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.rail-heart { color: var(--red); font-size: 16px; line-height: 1; }
.rail-dots { display: grid; gap: 5px; }
.rail-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.rail-text {
  flex: 1; writing-mode: vertical-rl; transform: rotate(180deg); font: 400 11px/1 var(--mono); letter-spacing: .5em;
  color: #6d6860; text-align: center; border-inline: 0; position: relative;
}
.rail::after { content: ""; position: absolute; left: 50%; top: 58px; bottom: 0; width: 1px; background: linear-gradient(#3a3639, transparent); z-index: -1; }
@media (min-width: 1360px) { .rail { display: flex; } }

/* ---------- mobile menu: the deck ----------
   A three-card deck button; open, it deals the menu onto a felt table as playing cards.
   <details>/<summary>, so it works with no JavaScript (site.js adds close-on-tap and Escape). */
.deck { display: none; }
.deck-btn {
  position: relative; z-index: 2; list-style: none; cursor: pointer; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid #3a363a; background: #0e0d0e;
  transition: border-color .2s ease, background-color .2s ease;
}
.deck-btn::-webkit-details-marker { display: none; }
.deck-btn, .dcard { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.deck-btn:focus:not(:focus-visible), .dcard:focus:not(:focus-visible) { outline: none; }
.deck-btn:hover { border-color: var(--cream); }
.deck-ico { position: relative; width: 22px; height: 26px; }
.deck-ico i {
  position: absolute; inset: 0; margin: auto; width: 16px; height: 22px; border-radius: 3px;
  background: var(--cream); border: 1.5px solid #0e0d0e;
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.2), width .3s ease, height .3s ease, background-color .2s ease, opacity .2s ease;
}
.deck-ico i:nth-child(1) { transform: translate(-6px, 2px) rotate(-22deg); }
.deck-ico i:nth-child(2) { transform: translate(6px, 2px) rotate(20deg); }
.deck-ico i:nth-child(3) { background: var(--red); transform: translateY(-1px); }
.deck-btn:hover .deck-ico i:nth-child(1) { transform: translate(-8px, 2px) rotate(-30deg); }
.deck-btn:hover .deck-ico i:nth-child(2) { transform: translate(8px, 2px) rotate(28deg); }
.deck[open] .deck-btn { background: var(--red-btn); border-color: var(--red-btn); }
.deck[open] .deck-ico i { width: 3px; height: 26px; border: 0; border-radius: 2px; background: #fff; }
.deck[open] .deck-ico i:nth-child(1) { transform: rotate(45deg); }
.deck[open] .deck-ico i:nth-child(2) { transform: rotate(-45deg); }
.deck[open] .deck-ico i:nth-child(3) { opacity: 0; transform: scale(.3); }

.deck-panel {
  position: fixed; inset: 0; z-index: 1; overflow-y: auto; overscroll-behavior: contain;
  padding: 96px var(--gut) 34px; display: grid; align-content: start; justify-items: center; gap: 22px;
  background: radial-gradient(120% 70% at 50% 18%, #2a0b0e 0, #0b0a0b 55%, #000 100%);
  animation: deck-fade .25s ease both;
}
.deck-panel::before {          /* the casino rings behind the table */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background: url("img/rings.webp") center 30% / min(140vw, 760px) auto no-repeat;
}
.deck-k { font: 400 12px/1 var(--mono); letter-spacing: .5em; color: var(--red-hot); text-transform: uppercase; }
.deck-nav { width: min(100%, 420px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 12px; }
.dcard {
  position: relative; aspect-ratio: 5 / 7; display: grid; place-items: center; padding: 10px 6px;
  border-radius: 12px; background: var(--cream); color: var(--ink); text-decoration: none;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(0, 0, 0, .08);
  animation: deal .55s cubic-bezier(.2, .9, .25, 1.15) both;
  transition: transform .2s ease, box-shadow .2s ease;
}
.dcard::after {                /* the inner frame of the catalogue cards */
  content: ""; position: absolute; inset: 7px; border: 1px solid rgba(14, 13, 14, .22); border-radius: 7px; pointer-events: none;
}
.dc-t { font: 900 17px/1.35 var(--fa-head); text-align: center; position: relative; z-index: 1; }
.dc-i { position: absolute; top: 9px; inset-inline-start: 10px; display: grid; justify-items: center; line-height: 1; }
.dc-i b { font: 700 15px/1 var(--serif); }
.dc-i i { font-style: normal; font-size: 13px; margin-top: 2px; font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", sans-serif; }
.dc-i-b { top: auto; bottom: 9px; inset-inline-start: auto; inset-inline-end: 10px; rotate: 180deg; }
.dcard.red .dc-i { color: var(--red); }
.dcard:hover, .dcard:focus-visible { transform: translateY(-6px) rotate(0deg) !important; box-shadow: 0 22px 34px rgba(0, 0, 0, .6), 0 0 0 2px var(--red); }
/* tossed on the table: every card lands a little crooked, one after another */
.dcard:nth-child(1) { rotate: -3deg; animation-delay: .04s; }
.dcard:nth-child(2) { rotate: 2deg; animation-delay: .1s; }
.dcard:nth-child(3) { rotate: -1.5deg; animation-delay: .16s; }
.dcard:nth-child(4) { rotate: 2.5deg; animation-delay: .22s; }
.dcard:nth-child(5) { rotate: -2deg; animation-delay: .28s; }
.dcard:nth-child(6) { rotate: 1.5deg; animation-delay: .34s; }
.dcard:nth-child(7) { rotate: -2.5deg; animation-delay: .4s; }
.dcard:nth-child(8) { rotate: 2deg; animation-delay: .46s; }
.dcard:last-child:nth-child(3n + 1) { grid-column: 2; }
.deck-foot { display: grid; justify-items: center; gap: 12px; margin-top: 8px; animation: deck-fade .4s .45s ease both; }
.deck-ig { color: var(--text-2); font: 400 14px var(--mono); text-decoration: none; }
.deck-ig:hover { color: var(--cream); }
@keyframes deal {
  from { opacity: 0; transform: translate(-38vw, -46vh) rotate(-38deg) scale(.55); }
  to { opacity: 1; transform: none; }
}
@keyframes deck-fade { from { opacity: 0; } to { opacity: 1; } }
/* backdrop-filter would trap the fixed panel inside the header, and the page must not scroll under it */
.top:has(.deck[open]), html.deck-open .top { -webkit-backdrop-filter: none; backdrop-filter: none; background: #000; }
html:has(.deck[open]), html.deck-open { overflow: hidden; }
@media (max-width: 900px) {
  .deck { display: block; }
  .top:has(.deck[open]) .brand, html.deck-open .top .brand { position: relative; z-index: 2; }
}
@media (max-width: 360px) {
  .deck-nav { gap: 10px 8px; }
  .dc-t { font-size: 15px; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(36px, 6vw, 80px) clamp(64px, 8vw, 110px); overflow: clip; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero-h { display: grid; gap: 8px; font-weight: 400; }
.hero-kicker { color: var(--red-hot); font-weight: 800; font-size: clamp(17px, 1.6vw, 21px); }
.hero-big { position: relative; display: grid; white-space: nowrap; font: 900 clamp(40px, 4.9vw, 72px)/1.3 var(--fa); letter-spacing: -.02em; padding-top: .3em; }
.hero-big i { color: var(--red); font-style: normal; }
.hero-big .l2 { padding-inline-start: .55em; }
.hero-en {
  position: absolute; top: .14em; inset-inline-start: 0; font: 500 clamp(12px, 1.35vw, 17px)/1 var(--mono);
  letter-spacing: .62em; color: var(--red-hot); white-space: nowrap;
}
.hero-sub { margin-top: 26px; color: var(--text-2); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.95; max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 5vw, 60px); border-top: 1px solid var(--line); max-width: 600px; }
.stats > div { padding: 18px 0 0; padding-inline-end: 18px; }
.stats > div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 18px; }
.stats dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.stats dd { display: grid; gap: 2px; }
.stats b { font: 900 clamp(28px, 3vw, 40px)/1.2 var(--fa); color: var(--cream); }
.stats span { color: var(--text-3); font-size: 14px; line-height: 1.6; }

.hero-art { position: relative; display: grid; place-items: center; }
.fan { position: relative; width: min(560px, 100%); aspect-ratio: 1 / 1.02; }
.rings {
  position: absolute; inset: -22%; background: url("img/rings.webp") center / contain no-repeat;
  opacity: .45; animation: spin 160s linear infinite;
}
.fan-card {
  position: absolute; left: 50%; bottom: 13%; width: 39%; translate: -50% 0; transform-origin: 50% 128%;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)); transition: rotate .6s cubic-bezier(.2, .8, .2, 1), translate .6s cubic-bezier(.2, .8, .2, 1);
}
.fan-k { rotate: -30deg; }
.fan-g { rotate: -15deg; }
.fan-p { rotate: 15deg; }
.fan-b { rotate: 30deg; }
.fan-j { rotate: 0deg; width: 43%; z-index: 2; }
.fan:hover .fan-k { rotate: -38deg; }
.fan:hover .fan-g { rotate: -19deg; }
.fan:hover .fan-p { rotate: 19deg; }
.fan:hover .fan-b { rotate: 38deg; }
.fan:hover .fan-j { translate: -50% -14px; }
.fan-card { opacity: 0; animation: deal .9s cubic-bezier(.2, .8, .2, 1) forwards; }
.fan-k { animation-delay: .05s; }
.fan-g { animation-delay: .15s; }
.fan-p { animation-delay: .25s; }
.fan-b { animation-delay: .35s; }
.fan-j { animation-delay: .5s; }
@keyframes deal { from { opacity: 0; transform: translateY(40px) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- marquee ---------- */
/* ltr on the section, not just the strip: in an rtl block the max-content strip is pinned to the
   right edge and overflows leftwards, so translateX(-50%) would empty the right side and break the loop */
.marquee { direction: ltr; border-block: 1px solid var(--line); background: var(--ink-1); padding-block: 22px 26px; overflow: hidden; }
.mq-label { text-align: center; font: 400 11px/1 var(--mono); letter-spacing: .55em; color: var(--text-3); margin-bottom: 18px; }
.mq-view { display: flex; width: max-content; direction: ltr; animation: marquee 48s linear infinite; }
.marquee:hover .mq-view { animation-play-state: paused; }
.mq-track { display: flex; align-items: center; flex-shrink: 0; direction: rtl; }
.mq-track li { display: flex; align-items: center; gap: clamp(6px, 1vw, 14px); padding-inline-end: clamp(6px, 1vw, 14px); white-space: nowrap; }
.mq-logo { height: clamp(66px, 7.4vw, 100px); width: auto; opacity: .92; }
.mq-suit { font-size: clamp(18px, 2vw, 26px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- about ---------- */
.about-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.about-copy { display: grid; gap: 22px; }
.about-copy .ttl { margin-bottom: 6px; }
.about-art { justify-self: center; width: min(460px, 100%); }
.tunnel { width: 100%; -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent); mask-image: linear-gradient(to bottom, #000 78%, transparent); }

/* ---------- campaign steps ---------- */
.campaign { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-1) 100%); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step {
  position: relative; background: linear-gradient(to left, #221f22, #0f0e0f); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 26px 30px; display: grid; gap: 10px; align-content: start; min-height: 290px; overflow: hidden;
}
.step-suit { font-size: 64px; line-height: 1; margin-bottom: 18px; }
.step-n { position: absolute; top: 26px; inset-inline-end: 26px; font: 500 13px/1 var(--mono); letter-spacing: .3em; color: var(--text-3); }
.step h3 { font-size: 23px; font-weight: 800; line-height: 1.4; }
.step p { color: var(--text-2); font-size: 15.5px; line-height: 1.9; }

/* ---------- services ---------- */
.head-wide { max-width: none; grid-template-columns: auto 1fr; align-items: end; gap: clamp(24px, 5vw, 70px); }
.serif-big { font: 800 clamp(56px, 8vw, 116px)/.92 var(--serif); color: var(--cream); letter-spacing: -.01em; text-align: left; order: 2; }
.head-wide > div { display: grid; gap: 22px; order: 1; }

.feat {
  display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 5vw, 80px); align-items: center;
  padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line);
}
.feat.flip { grid-template-columns: 1.18fr .82fr; }
.feat.flip .feat-art { order: 2; }
.feat-art { position: relative; display: grid; justify-items: center; gap: 22px; }
.feat-card { width: min(360px, 82%); filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .6)); transition: rotate .5s ease, translate .5s ease; }
.feat:hover .feat-card { rotate: -3deg; translate: 0 -8px; }
.feat-copy { display: grid; gap: 18px; }
.feat-body { display: grid; gap: 12px; color: var(--text-2); line-height: 2; }
.boxes { display: grid; gap: 14px; margin-top: 10px; }

.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.svc {
  display: grid; align-content: start; gap: 10px; background: linear-gradient(to left, #221f22, #0f0e0f);
  border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 28px; transition: border-color .3s ease, transform .3s ease;
}
.svc:hover { border-color: #4a2226; transform: translateY(-4px); }
.svc-art { height: 250px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.svc-card { height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .6)); transition: rotate .5s ease; }
.svc:nth-child(odd) .svc-card { rotate: -4deg; }
.svc:nth-child(even) .svc-card { rotate: 4deg; }
.svc:hover .svc-card { rotate: 0deg; }
.svc-en { font: 500 11.5px/1.4 var(--mono); letter-spacing: .32em; color: var(--red-hot); justify-self: start; text-align: right; }
.svc h3 { font-size: 23px; font-weight: 900; line-height: 1.4; }
.svc .tag { font-size: 16px; }
.svc-body { color: var(--text-2); font-size: 15px; line-height: 1.95; }
.svc .chip { justify-self: start; margin-top: 8px; }

/* ---------- custom projects (white, like the catalog divider) ---------- */
.custom { background: #fff; color: #111; }
.custom .lede { color: #3d3a36; }
.custom .tag { color: #111; }
.custom .ttl-fa { color: #000; }
.custom-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.custom-head { display: grid; gap: 22px; justify-items: start; background: #000; color: var(--cream); padding: clamp(28px, 4vw, 52px); border-radius: 4px; clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 100%); }
.custom-head .ttl-fa { color: var(--cream); }
.custom-head .lede { color: var(--text-2); }
.custom-head .pill-ink { background: var(--red-btn); color: #fff; }
.custom-art { justify-self: center; width: min(520px, 100%); }
.cst-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(48px, 6vw, 80px); }
.cst { display: grid; gap: 10px; align-content: start; }
.cst-art { height: 280px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.cst-card { height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .22)); transition: rotate .5s ease, translate .5s ease; }
.cst:hover .cst-card { rotate: -3deg; translate: 0 -6px; }
.cst h3 { font-size: 24px; font-weight: 900; line-height: 1.4; }
.cst p:last-child { color: #3d3a36; font-size: 15.5px; line-height: 1.95; }
.custom .svc-en { color: #d0161f; }

/* ---------- clients ---------- */
.work-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.wcard {
  position: relative; aspect-ratio: 5 / 7; background: var(--cream); color: #0b0b0b; border-radius: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 18px 10px; text-align: center; box-shadow: 0 18px 34px rgba(0, 0, 0, .45);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.wcard::before { content: ""; position: absolute; inset: 12px; border: 1px solid #d9d2bd; border-radius: 10px; pointer-events: none; }
.wcard:nth-child(odd) { transform: rotate(-1.4deg); }
.wcard:nth-child(even) { transform: rotate(1.4deg); }
.wcard:hover { transform: rotate(0) translateY(-8px); }
.wc-logo { position: relative; width: 110%; max-width: none; height: auto; margin-inline: -5%; }
.wc-name { position: relative; font: 600 13px/1.5 var(--fa); color: #6f6a60; text-wrap: balance; padding-inline: 8px; }
.wc-idx { position: absolute; top: 18px; inset-inline-start: 20px; display: grid; justify-items: center; line-height: 1; gap: 4px; }
.wc-idx b { font: 500 12px/1 var(--mono); letter-spacing: .06em; }
.wc-idx i { font-style: normal; font-size: 20px; font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", sans-serif; }
.wc-idx-b { top: auto; bottom: 18px; inset-inline-start: auto; inset-inline-end: 20px; rotate: 180deg; }
.wcard.red .wc-idx { color: var(--red); }
.ig-band {
  display: flex; align-items: center; gap: 18px; margin-top: 40px; padding: 20px 26px; border-radius: 999px;
  border: 1.5px solid var(--red); text-decoration: none; transition: background-color .25s ease;
}
.ig-band:hover { background: rgba(234, 33, 43, .1); }
.ig-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--red-btn); color: #fff; flex-shrink: 0; }
.ig-text { display: grid; gap: 2px; }
.ig-text b { font-size: 17.5px; }
.ig-text span { color: var(--text-2); font: 500 14px/1.4 var(--mono); letter-spacing: .04em; justify-self: start; }
.ig-arrow { margin-inline-start: auto; font-size: 24px; color: var(--red-hot); transition: translate .25s ease; }
.ig-band:hover .ig-arrow { translate: -6px 0; }

/* ---------- team ---------- */
.team { background: var(--ink-1); }
.aces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.ace { display: grid; gap: 8px; justify-items: start; }
.ace-card {
  position: relative; width: 100%; aspect-ratio: 5 / 7; background: var(--cream); color: #0b0b0b; border-radius: 22px;
  box-shadow: 0 26px 44px rgba(0, 0, 0, .55); margin-bottom: 18px; overflow: hidden; transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.ace:nth-child(1) .ace-card { transform: rotate(-2deg); }
.ace:nth-child(3) .ace-card { transform: rotate(2deg); }
.ace:hover .ace-card { transform: rotate(0) translateY(-8px); }
.ace-card::before { content: ""; position: absolute; inset: 16px; border: 1px solid #d9d2bd; border-radius: 12px; z-index: 1; pointer-events: none; }
.ace-idx { position: absolute; top: 22px; inset-inline-start: 26px; z-index: 2; display: grid; justify-items: center; gap: 4px; line-height: 1; }
.ace-idx b { font: 700 38px/1 var(--serif); }
.ace-idx i { font-style: normal; font-size: 26px; font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", sans-serif; }
.ace-idx-b { top: auto; bottom: 22px; inset-inline-start: auto; inset-inline-end: 26px; rotate: 180deg; }
.ace-card.red .ace-idx { color: var(--red); }
.ace-face { position: absolute; inset: 0; display: grid; place-items: center; }
.ace-mono { font-size: clamp(120px, 14vw, 190px); line-height: 1; font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", sans-serif; color: #0b0b0b; }
.ace-mono.red { color: var(--red); }
.ace-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.ace h3 { font-size: 26px; font-weight: 900; line-height: 1.35; }
.ace-role { color: var(--text-2); font-size: 16px; }
.backing {
  margin-top: clamp(56px, 7vw, 90px); display: grid; grid-template-columns: auto 1fr; gap: 12px 32px; align-items: baseline;
  border-top: 1px solid var(--line); padding-top: 32px; color: var(--text-2); line-height: 2;
}
.backing-label { font: 500 12px/1.6 var(--mono); letter-spacing: .4em; color: var(--red-hot); }
.backing a { color: var(--cream); font-weight: 700; text-decoration-color: var(--red); text-underline-offset: 6px; }

/* ---------- contact ---------- */
.contact { overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 900px; height: 900px; left: -300px; bottom: -420px;
  background: url("img/rings.webp") center / contain no-repeat; opacity: .12; pointer-events: none;
}
.ct-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr 1.3fr; gap: 16px; }
.ct {
  display: grid; align-content: start; gap: 10px; padding: 30px 28px; border-radius: var(--r); text-decoration: none;
  background: linear-gradient(to left, #221f22, #0f0e0f); border: 1px solid var(--line); transition: transform .25s ease, border-color .25s ease;
}
a.ct:hover { transform: translateY(-4px); border-color: #55272b; }
.ct-call { background: var(--red-btn); border-color: var(--red-btn); color: #fff; }
a.ct-call:hover { border-color: #fff; }
.ct-k { font-size: 15px; font-weight: 700; opacity: .85; }
.ct-v { font: 900 clamp(30px, 3.2vw, 44px)/1.2 var(--fa); justify-self: start; }
.ct-v-sm { font: 500 clamp(18px, 1.7vw, 22px)/1.4 var(--mono); letter-spacing: .02em; color: var(--cream); }
.ct-s { font-size: 14.5px; opacity: .8; }
.ct-addr address { color: var(--text-2); font-size: 15.5px; line-height: 2; }
.maps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--text-3); }
.maps a { padding: 5px 14px; border: 1px solid #45414a; border-radius: 999px; text-decoration: none; color: var(--cream); font-weight: 600; }
.maps a:hover { border-color: var(--red); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 40px 48px; }
.foot-in { display: grid; grid-template-columns: auto auto 1fr; gap: 12px 30px; align-items: center; }
.foot .logo { height: 34px; }
.foot-tag { font-weight: 800; color: var(--red-hot); }
.foot-legal { justify-self: end; color: var(--text-3); font-size: 14px; }
.foot-legal a { color: var(--text-2); text-underline-offset: 5px; }

/* ---------- 404 ---------- */
.nf { padding-block: clamp(60px, 10vw, 140px); }
.nf-in { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.nf-in > div { display: grid; gap: 24px; justify-items: start; }
.nf-card { width: min(300px, 60vw); rotate: -6deg; filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .6)); }

/* ---------- reveal (only elements below the fold at load get hidden, by site.js) ---------- */
.rv-wait { opacity: 0; transform: translateY(28px); }
.rv-in { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.wcard.rv-in:nth-child(odd) { transform: rotate(-1.4deg); }
.wcard.rv-in:nth-child(even) { transform: rotate(1.4deg); }
.wcard.rv-in:hover { transform: rotate(0) translateY(-8px); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ct-grid { grid-template-columns: 1fr 1fr; }
  .ct-addr { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .top-call { margin-inline-start: auto; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { order: -1; margin-bottom: -8px; }
  .fan { width: min(420px, 92%); }
  .hero-sub { max-width: none; }
  .about-in, .custom-top { grid-template-columns: 1fr; }
  .about-art { width: min(380px, 90%); }
  .head-wide { grid-template-columns: 1fr; }
  .serif-big { order: 0; text-align: right; }
  .feat, .feat.flip { grid-template-columns: 1fr; }
  .feat.flip .feat-art { order: 0; }
  .feat-card { width: min(280px, 70%); }
  .cst-grid { grid-template-columns: 1fr; gap: 56px; }
  .aces { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; gap: 56px; }
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nf-in { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; justify-items: start; }
  .foot-legal { justify-self: start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .logo { height: 32px; }
  .top-in { min-height: 62px; }
  .hero-big { font-size: clamp(34px, 13.6vw, 60px); }
  .hero-big .l1 > span { display: block; }
  .hero-big .l2 { padding-inline-start: .3em; }
  .hero-en { letter-spacing: .42em; }
  .ttl-en { letter-spacing: .4em; }
  .hero-cta .pill { flex: 1 1 100%; justify-content: center; }
  .stats > div { padding-inline-end: 10px; }
  .stats > div + div { padding-inline-start: 10px; }
  .stats span { font-size: 12.5px; }
  .steps, .svc-grid { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .box { grid-template-columns: 1fr; gap: 10px; }
  .box-label { padding-inline-end: 0; }
  .box-label::after { display: none; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .wcard { border-radius: 14px; }
  .ct-grid { grid-template-columns: 1fr; }
  .ig-band { border-radius: 22px; padding: 16px 18px; }
  .ig-text b { font-size: 16px; }
  .backing { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .mq-view { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .mq-dup { display: none; }
  .mq-track { flex-wrap: wrap; justify-content: center; row-gap: 6px; }
  .rv-wait { opacity: 1; transform: none; }
}

/* headings take the red-dot cut of the face; last, so the font shorthands above keep their sizes but not the family */
.ttl, .hero-big, .stats b, .step h3, .svc h3, .cst h3, .ace h3, .ct-v, .tag, .ig-text b { font-family: var(--fa-head); }
