/* Elleven Sparks — site styles */
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #070707;
  --surface: #121212;
  --surface-2: #1b1b1b;
  --surface-3: #242424;
  --ink: #f5f3ef;
  --muted: #a8a49e;
  --paper: #f5f3ef;
  --paper-2: #e9e6e0;
  --paper-ink: #070707;
  --accent: #d9372f;
  --accent-2: #ef5a3c;
  --glow: rgba(217, 55, 47, .55);
  --line: rgba(255, 255, 255, .10);

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --text: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --t-display: clamp(64px, 11vw, 176px);
  --t-head: clamp(38px, 4.8vw, 72px);
  --t-state: clamp(22px, 2.2vw, 32px);
  --t-body: 18px;
  --t-small: 15px;

  --r: 32px;
  --r-m: 24px;
  --r-s: 16px;
  --m: clamp(16px, 2.2vw, 32px);
  --gap: clamp(104px, 12vw, 180px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
main { overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--t-body)/1.6 var(--text);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.display, .h2, .h3, .statement, .brand__word { font-optical-sizing: none; font-variation-settings: "opsz" 14; }
.display { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: .9; }
.h2 { font-family: var(--display); font-weight: 500; font-size: var(--t-head); letter-spacing: -0.025em; line-height: 1.02; }
.h2 em, .display em, .h3 em { font-style: italic; font-weight: 400; }
.h3 { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05; letter-spacing: -0.015em; }
.statement { font-family: var(--display); font-size: var(--t-state); line-height: 1.25; letter-spacing: -0.01em; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; }
.muted { color: var(--muted); }
.small { font-size: var(--t-small); }
.wrap { padding-inline: var(--m); }
.section { position: relative; padding-block: calc(var(--gap) / 2); }
.section + .section { margin-top: calc(var(--gap) / 2); }
.head-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--m); align-items: end; margin-bottom: 64px; }
.head-row > p { max-width: 40ch; justify-self: end; color: var(--muted); }

/* soft colour glows (Apple-style light behind content) */
.glow { position: absolute; z-index: -1; width: 46vw; aspect-ratio: 1; border-radius: 50%; filter: blur(110px); opacity: .5; pointer-events: none; }
.glow--red { background: var(--accent); }
.glow--orange { background: #f08a3c; }
.glow--blue { background: #2f5bd9; }
.has-glow { position: relative; isolation: isolate; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--accent); color: #fff; font: 500 16px/1 var(--text); text-decoration: none; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 10px 30px -10px var(--glow);
  transition: transform .35s var(--spring), box-shadow .35s var(--ease), background-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.22) inset, 0 16px 44px -10px var(--glow); }
.btn:active { transform: scale(.96); }
.btn--glass {
  background: rgba(255,255,255,.08); color: #fff;
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(255,255,255,.22) inset, 0 0 24px -6px rgba(140, 200, 255, .35), inset 0 -8px 18px -10px rgba(255,255,255,.25);
}
.btn--glass:hover { background: rgba(255,255,255,.14); box-shadow: 0 0 0 1px rgba(255,255,255,.34) inset, 0 0 34px -4px rgba(140, 200, 255, .5), inset 0 -8px 18px -10px rgba(255,255,255,.3); }
.btn--ink { background: var(--paper-ink); color: var(--paper); box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.btn--ink:hover { box-shadow: 0 16px 40px -12px rgba(0,0,0,.6); }
.link { text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; transition: color .2s; }
.link:hover { color: var(--accent); }
.arrow { display: inline-block; transition: transform .3s var(--spring); }
a:hover .arrow, .btn:hover .arrow { transform: translateX(4px); }

/* ---------- nav: floating glass bar ---------- */
.nav {
  position: fixed; z-index: 30; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 2 * var(--m)), 1180px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 8px 8px 8px 22px; border-radius: 999px;
  background: rgba(14,14,14,.55); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: 0 0 0 1px rgba(255,255,255,.09) inset, 0 12px 40px -18px rgba(0,0,0,.7);
  font-size: 15px; transition: transform .5s var(--ease), background-color .3s;
}
.nav.hide { transform: translate(-50%, -140%); }
.nav__side { display: flex; gap: 6px; align-items: center; }
.nav__side--r { justify-content: flex-end; }
.nav a { text-decoration: none; }
.nav__side a:not(.btn) { padding: 9px 14px; border-radius: 999px; transition: background-color .25s; }
.nav__side a:not(.btn):hover { background: rgba(255,255,255,.08); }
.nav__side a[aria-current="page"] { background: rgba(255,255,255,.12); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; margin-left: 6px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__word { font-family: var(--display); font-weight: 600; font-size: 18px; line-height: .92; }
.nav__menu { display: none; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: rgba(255,255,255,.1); color: inherit; font: 500 15px var(--text); cursor: pointer; }
.drawer {
  position: fixed; inset: 8px; z-index: 40; border-radius: var(--r);
  background: var(--paper); color: var(--paper-ink);
  padding: 20px 20px 28px; display: flex; flex-direction: column;
  transform: translateY(-110%); transition: transform .6s var(--ease); visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer .nav__menu { display: block; background: rgba(0,0,0,.07); }
.drawer__links { margin-top: auto; display: grid; gap: 2px; }
.drawer__links a { font-family: var(--display); font-size: 12vw; line-height: 1.05; letter-spacing: -0.03em; text-decoration: none; }
.drawer .btn { margin-top: 28px; width: 100%; }

/* ---------- home hero: video in a rounded window ---------- */
.hero { padding: 8px; }
.hero__win {
  position: relative; overflow: hidden; border-radius: var(--r);
  min-height: max(680px, calc(100svh - 16px));
  display: grid; grid-template-rows: 1fr auto; isolation: isolate; background: #111;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__win::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.58); }
.hero__body { align-self: center; text-align: center; padding: 120px var(--m) 40px; }
.hero__mark { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; font-size: 16px; color: rgba(255,255,255,.85); }
.hero__mark svg { width: 22px; height: 22px; }
.hero__title { font-size: clamp(66px, 10.5vw, 168px); line-height: .88; }
.hero__title span { display: block; }
.hero__lede { margin: 30px auto 0; max-width: 34ch; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: rgba(255,255,255,.9); }
.hero__cta { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__dock {
  justify-self: center; margin: 0 var(--m) 22px; padding: 8px; border-radius: 999px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center;
  background: rgba(10,10,10,.45); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset;
}
.hero__dock a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; font-size: 15px; text-decoration: none; color: #fff; transition: background-color .25s, color .25s; }
.hero__dock a:first-child { background: #fff; color: #000; }
.hero__dock a:hover { background: rgba(255,255,255,.16); }
.hero__dock a:first-child:hover { background: #fff; }
.hero__dock small { font-size: 13px; opacity: .55; }

/* ---------- page hero (inner pages) ---------- */
.phero { padding: 8px; }
.phero__win { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r); background: var(--surface); min-height: max(640px, calc(100svh - 16px)); display: grid; grid-template-rows: 1fr auto; }
.phero__body { display: grid; grid-template-columns: 1fr 1fr; gap: var(--m); align-items: end; padding: 120px clamp(20px, 3vw, 48px) 28px; }
.phero__lede { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; max-width: 36ch; }
.phero__lede + p { margin-top: 20px; max-width: 46ch; }
.phero__pic { justify-self: end; height: min(48svh, 520px); width: auto; max-width: 100%; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--r-m); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.phero__pic img { width: 100%; height: 100%; object-fit: cover; animation: drift 20s var(--ease) infinite alternate; }
@keyframes drift { from { transform: scale(1.03); } to { transform: scale(1.14) translateY(-2%); } }
.phero__name { font-size: clamp(72px, 14.5vw, 232px); white-space: nowrap; padding-inline: clamp(16px, 2.6vw, 40px); margin-bottom: -.14em; }
.phero .glow { width: 60vw; top: -20%; right: -10%; opacity: .35; }

/* ---------- intro ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: var(--m); align-items: start; }
.intro__col p + p { margin-top: 1.2em; }
.intro__col p:first-of-type { font-family: var(--display); font-size: var(--t-state); line-height: 1.25; font-optical-sizing: none; font-variation-settings: "opsz" 14; }
.intro__col p:not(:first-of-type) { color: var(--muted); max-width: 46ch; }
.quote { position: relative; overflow: hidden; border-radius: var(--r); padding: clamp(32px, 4vw, 56px); background: var(--surface); isolation: isolate; }
.quote .glow { width: 70%; right: -20%; bottom: -40%; opacity: .55; filter: blur(80px); }
.quote cite { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-style: normal; font-size: 15px; color: var(--muted); }
.quote cite img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; }

/* ---------- work: names passing a held square ---------- */
.work { position: relative; padding-block: 20px 240px; }
.work__frame {
  position: sticky; top: calc(50svh - clamp(140px, 15vw, 215px)); z-index: 0;
  width: clamp(280px, 30vw, 430px); aspect-ratio: 1; margin: 0 auto calc(-1 * clamp(280px, 30vw, 430px));
  border-radius: var(--r); background: var(--surface);
  box-shadow: 0 40px 120px -30px var(--glow);
}
.work__pics { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.work__pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .45s var(--ease), transform .8s var(--ease); }
.work__pics img.on { opacity: 1; transform: none; }
.work__pics::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.36); }
.work__facts { position: absolute; top: 50%; transform: translateY(-50%); width: clamp(160px, 17vw, 260px); font-size: 16px; line-height: 1.45; }
.work__facts--l { right: calc(100% + 48px); text-align: right; }
.work__facts--r { left: calc(100% + 48px); color: var(--muted); }
.work__list { position: relative; z-index: 1; text-align: center; padding-block: 16svh 34svh; }
.work__list li { font-size: var(--t-display); padding-block: .08em; }
.work__list li:first-child { color: var(--muted); }
.work__list a { text-decoration: none; transition: color .3s var(--ease); }
.work__list a:hover { color: var(--accent-2); }

/* ---------- showcase band ---------- */
.band { display: flex; gap: 8px; height: 68svh; min-height: 440px; padding-inline: 8px; }
.band__panel { position: relative; overflow: hidden; flex: 2; border-radius: var(--r-m); transition: flex-grow .6s var(--ease); margin: 0; }
.band__panel:nth-child(1) { flex-grow: 5; }
.band__panel:nth-child(3) { flex-grow: 3; }
.band__panel img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.band:hover .band__panel:hover { flex-grow: 6; }
.band__panel:hover img { transform: scale(1.04); }
.band__title { position: absolute; left: 16px; top: 16px; padding: 10px 16px; border-radius: 999px; font-size: 15px; color: #fff; background: rgba(0,0,0,.4); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.band__cap { padding: 18px var(--m) 0; font-size: 16px; color: var(--muted); }

/* ---------- red projects field (BBDO-style) ---------- */
.field-red { margin: 0 8px; border-radius: var(--r); background: var(--accent); color: #fff; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: clamp(20px, 3vw, 48px); overflow: hidden; }
.field-red__word { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--text); font-weight: 700; font-size: clamp(90px, 10vw, 170px); line-height: .82; letter-spacing: -0.04em; text-transform: uppercase; text-align: right; }
.field-red__intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.field-red__intro p { max-width: 42ch; color: rgba(255,255,255,.9); }
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pcard { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-m); overflow: hidden; background: #1c1c1c; color: #fff; text-decoration: none; transition: transform .45s var(--spring), box-shadow .45s var(--ease); }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); }
.pcard__pic { aspect-ratio: 4/3; overflow: hidden; background: #0b0b0b; position: relative; }
.pcard__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard__pic img { transform: scale(1.05); }
.pcard__body { position: relative; padding: 26px 26px 30px; display: grid; gap: 10px; align-content: start; }
.pcard__body h3 { font-family: var(--text); font-weight: 700; font-size: clamp(21px, 1.7vw, 27px); line-height: 1.12; letter-spacing: -0.01em; text-transform: uppercase; padding-right: 40px; }
.pcard__body p { color: rgba(255,255,255,.75); font-size: 16px; }
.pcard__body .tag { font-size: 14px; color: rgba(255,255,255,.55); }
.pcard__go { position: absolute; right: 22px; top: 24px; width: 26px; height: 26px; transition: transform .35s var(--spring); }
.pcard:hover .pcard__go { transform: translate(3px, -3px); }

/* a typeset logo card for Elleven Computers */
.typecard { position: absolute; inset: 0; display: grid; place-items: center; background: #0b0b0b; color: #fff; }
.typecard b { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 3.2vw, 52px); line-height: .9; letter-spacing: -0.02em; text-align: left; position: relative; }
.typecard b::after { content: ""; position: absolute; right: -.45em; top: -.05em; width: .28em; height: .28em; border-radius: 50%; background: var(--accent); }

/* ---------- live: LED previewer ---------- */
.led { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: var(--m); align-items: center; }
.led__ctrl { max-width: 520px; }
.led__ctrl .h2 { margin-bottom: 20px; }
.led__ctrl > p { margin-bottom: 32px; }
.field { display: grid; gap: 10px; margin-bottom: 24px; }
.field label, .field legend { font-size: 15px; color: var(--muted); padding: 0; }
.field input[type="text"] { width: 100%; min-height: 58px; padding: 0 22px; border: 0; border-radius: var(--r-s); background: var(--surface-2); color: var(--ink); font: 400 18px var(--text); box-shadow: 0 0 0 1px var(--line) inset; transition: box-shadow .2s; }
.field input[type="text"]:focus { outline: none; box-shadow: 0 0 0 2px var(--accent) inset, 0 0 24px -6px var(--glow); }
fieldset.field { border: 0; margin: 0 0 24px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--surface-2); font-size: 15px; box-shadow: 0 0 0 1px var(--line) inset; transition: background-color .2s, color .2s, transform .3s var(--spring); }
.chip:hover span { background: var(--surface-3); }
.chip input:checked + span { background: var(--paper); color: var(--paper-ink); }
.chip input:active + span { transform: scale(.95); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.led__stage { position: relative; aspect-ratio: 7/6; display: grid; place-items: center; overflow: hidden; border-radius: var(--r); background: var(--surface); }
.led__stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.led__unit { position: relative; display: grid; justify-items: center; transition: width .5s var(--ease); }
.led__screen { position: relative; width: 100%; background: #000; overflow: hidden; display: grid; place-items: center; border-radius: 10px; box-shadow: 0 0 0 6px #1a1a1a, 0 30px 80px -10px var(--screen-glow, rgba(255,255,255,.12)); transition: background-color .4s, box-shadow .4s; }
.led__screen[data-format="totem"] { aspect-ratio: 9/20; }
.led__screen[data-format="billboard"] { aspect-ratio: 16/9; }
.led__screen[data-format="cube"] { aspect-ratio: 1; }
.led__msg { position: relative; z-index: 1; padding: 8%; text-align: center; color: #fff; font-family: var(--display); font-weight: 600; line-height: .95; letter-spacing: -0.02em; overflow-wrap: anywhere; animation: pulse 3.2s var(--ease) infinite; }
.led__msg small { display: block; margin-top: .9em; font-family: var(--text); font-weight: 500; letter-spacing: 0; font-size: .26em; line-height: 1.25; opacity: .85; }
.led__pix { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .86; } }
.led__base { width: 40%; height: 16px; margin-top: 6px; border-radius: 999px; background: #232323; }
.led__unit[data-format="billboard"] .led__base { width: 5%; height: 70px; border-radius: 4px; }
.led__note { margin-top: 14px; font-size: var(--t-small); color: var(--muted); }

/* ---------- about: portrait as drop cap ---------- */
.about { display: grid; grid-template-columns: 3fr 9fr; gap: var(--m); padding-block: 120px; }
.about__facts { display: grid; gap: 10px; align-content: start; }
.about__facts p { padding: 18px 20px; border-radius: var(--r-s); background: var(--surface); font-size: 15px; line-height: 1.45; }
.about__facts b { display: block; font-weight: 500; color: var(--ink); font-size: 16px; margin-bottom: 2px; }
.about__facts span { color: var(--muted); }
.about__text p { font-family: var(--text); font-size: clamp(22px, 2.2vw, 34px); line-height: 1.32; letter-spacing: -0.015em; color: var(--muted); }
.about__text p + p { margin-top: 1.1em; }
.about__text strong { font-weight: 500; color: var(--ink); }
.about__portrait { float: left; width: 3.66em; height: 3.66em; margin: .12em .5em 0 0; border-radius: 22%; object-fit: cover; object-position: 50% 15%; }

/* ---------- vision / mission ---------- */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-inline: 8px; }
.vm__item { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r); padding: clamp(36px, 5vw, 80px) clamp(24px, 4vw, 64px); display: grid; gap: 24px; align-content: start; min-height: 60svh; background: var(--paper); color: var(--paper-ink); }
.vm__item + .vm__item { background: var(--accent); color: #fff; }
.vm__item .h2 { font-size: clamp(56px, 7vw, 112px); }
.vm__item p { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; max-width: 30ch; }

/* ---------- cards (values, steps) ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.card { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-m); padding: 28px 26px 30px; min-height: 300px; background: var(--surface); display: grid; align-content: space-between; gap: 40px; box-shadow: 0 0 0 1px var(--line) inset; transition: transform .45s var(--spring), background-color .3s; }
.card:hover { transform: translateY(-6px); background: var(--surface-2); }
.card p { color: var(--muted); font-size: 16px; }
.card .bar { display: flex; align-items: end; gap: 3px; height: 56px; }
.card .bar i { flex: 1; border-radius: 2px; background: rgba(255,255,255,.18); }
.card--hot { background: var(--accent); color: #fff; box-shadow: 0 30px 70px -30px var(--glow); }
.card--hot:hover { background: var(--accent-2); }
.card--hot p { color: rgba(255,255,255,.85); }
.card--hot .bar i { background: rgba(255,255,255,.5); }

/* ---------- split: text + picture ---------- */
.split { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--m); align-items: center; }
.split__pic { aspect-ratio: 4/5; overflow: hidden; border-radius: var(--r); background: var(--surface); position: relative; }
.split__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.split__pic:hover img { transform: scale(1.04); }
.split__text { max-width: 540px; justify-self: center; }
.split__text .h2 { margin-bottom: 24px; }
.split__text p + p { margin-top: 1em; }
.split__text ul { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.split__text li { padding: 10px 16px; border-radius: 999px; background: var(--surface-2); font-size: 15px; box-shadow: 0 0 0 1px var(--line) inset; }
.split--rev .split__pic { order: 2; }

/* ---------- LED offer: rent / supply ---------- */
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.offer__item { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r); min-height: 640px; display: grid; align-content: end; padding: clamp(28px, 3.4vw, 48px); color: #fff; }
.offer__item > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.offer__item:hover > img { transform: scale(1.04); }
.offer__item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.5); }
.offer__item .h2 { margin-bottom: 16px; }
.offer__item p { max-width: 38ch; color: rgba(255,255,255,.88); }
.offer__item ul { margin: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.offer__item li { padding: 9px 15px; border-radius: 999px; font-size: 15px; background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.offer__item .btn { justify-self: start; }

/* ---------- mosaic ---------- */
.mosaic { display: grid; grid-template-columns: 7fr 5fr; gap: 12px; }
.mosaic figure { overflow: hidden; border-radius: var(--r-m); background: var(--surface); position: relative; }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic figcaption { position: absolute; left: 14px; bottom: 14px; padding: 9px 15px; border-radius: 999px; font-size: 15px; background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; }

/* ---------- table rows ---------- */
.list__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--m); }
.list__pic { grid-column: 1 / span 5; align-self: stretch; min-height: 520px; overflow: hidden; border-radius: var(--r); }
.list__pic img { width: 100%; height: 100%; object-fit: cover; }
.table { grid-column: 7 / span 6; display: grid; gap: 6px; align-content: start; }
.table h3 { font-size: var(--t-small); color: var(--muted); font-weight: 400; margin: 18px 0 4px 4px; }
.table h3:first-child { margin-top: 0; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 22px; border-radius: var(--r-s); background: var(--surface); font-size: 17px; text-decoration: none; transition: background-color .25s, transform .35s var(--spring); }
a.row:hover { background: var(--surface-3); transform: translateX(4px); }
a.row:hover .arrow { color: var(--accent-2); }

/* ---------- projects page ---------- */
.proj { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: var(--m); align-items: center; padding: clamp(24px, 3vw, 44px); border-radius: var(--r); background: var(--surface); overflow: hidden; isolation: isolate; }
.proj + .proj { margin-top: 12px; }
.proj__logo { width: 112px; height: 112px; object-fit: cover; border-radius: 28px; margin-bottom: 26px; }
.proj__text .h2 { margin-bottom: 18px; }
.proj__text p { max-width: 44ch; }
.proj__text p + p { margin-top: 1em; }
.proj__meta { margin-top: 26px; display: flex; gap: 8px; flex-wrap: wrap; }
.proj__meta span, .proj__meta a { padding: 9px 15px; border-radius: 999px; font-size: 15px; background: var(--surface-3); text-decoration: none; }
.proj__meta a { background: var(--paper); color: var(--paper-ink); }
.proj__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.proj__pics > * { aspect-ratio: 4/5; border-radius: var(--r-m); overflow: hidden; position: relative; }
.proj__pics img { width: 100%; height: 100%; object-fit: cover; }
.proj__pics > *:only-child { grid-column: span 2; aspect-ratio: 16/10; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.member { margin: 0; border-radius: var(--r-m); padding: 8px 8px 18px; background: var(--surface); transition: transform .45s var(--spring); }
.member:hover { transform: translateY(-6px); }
.member__pic { aspect-ratio: 4/5; overflow: hidden; border-radius: 18px; background: var(--surface-2); display: grid; place-items: center; }
.member__pic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .5s, transform .6s var(--ease); }
.member:hover .member__pic img { filter: none; transform: scale(1.04); }
.member__pic b { font-family: var(--display); font-weight: 500; font-size: clamp(48px, 5vw, 80px); color: #3a3a3a; }
.member figcaption { padding: 14px 10px 0; }
.member figcaption strong { display: block; font-weight: 500; }
.member figcaption span { color: var(--muted); font-size: 15px; }

/* ---------- gallery: instagram row ---------- */
.ig { position: relative; padding-block: 80px; overflow: hidden; isolation: isolate; }
.ig .glow { left: 30%; top: 10%; opacity: .28; }
.ig__row { display: flex; gap: 14px; overflow-x: auto; padding: 8px var(--m) 24px; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.ig__row::-webkit-scrollbar { display: none; }
.ig__item { flex: none; width: max(200px, 17vw); aspect-ratio: 4/5; scroll-snap-align: start; overflow: hidden; border-radius: var(--r-m); background: var(--surface); position: relative; transition: transform .45s var(--spring); }
.ig__item:hover, .ig__item:focus-visible { transform: translateY(-6px); }
.ig__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig__item:hover img { transform: scale(1.06); }
.ig__item span { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; border-radius: 14px; font-size: 14px; line-height: 1.3; color: #fff; background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); }
.ig__item:hover span, .ig__item:focus-visible span { opacity: 1; transform: none; }
.ig__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; padding-inline: var(--m); margin-bottom: 36px; }

/* ---------- contact ---------- */
.contact { padding: 8px; }
.contact__win { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r); background: var(--surface); display: grid; grid-template-columns: 1fr 1fr; gap: var(--m); padding: clamp(28px, 4vw, 64px); }
.contact__win .glow { left: -10%; bottom: -40%; opacity: .4; }
.contact__lede { margin-top: 20px; max-width: 34ch; color: var(--muted); }
.contact__cta { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }
.crows { display: grid; gap: 8px; align-content: start; }
.crow { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--r-s); background: var(--surface-2); text-decoration: none; transition: background-color .25s, transform .35s var(--spring); }
.crow small { display: block; font-size: 14px; color: var(--muted); margin-bottom: 2px; }
.crow b { font-family: var(--text); font-weight: 500; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.2; letter-spacing: -0.01em; }
a.crow:hover { background: var(--surface-3); transform: translateX(4px); }

/* ---------- footer ---------- */
.foot { position: relative; margin: 8px; border-radius: var(--r); background: var(--paper); color: var(--paper-ink); min-height: calc(100svh - 16px); overflow: hidden; display: flex; flex-direction: column; padding: clamp(40px, 6vw, 88px) clamp(20px, 3vw, 48px) 0; }
.foot__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--m); }
.foot__inv { grid-column: 1 / span 7; }
.foot__inv .h2 { font-size: clamp(44px, 5vw, 80px); margin-bottom: 32px; max-width: 13ch; }
.foot__links { grid-column: 10 / span 3; display: grid; gap: 10px; align-content: start; font-size: 16px; }
.foot__links a { text-decoration: none; transition: color .2s; }
.foot__links a:hover { color: var(--accent); }
.foot__legal { margin-top: auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; padding-bottom: 12px; }
.foot__legal nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot__legal a { text-decoration: none; }
.foot__legal a:hover { text-decoration: underline; }
.foot__name { font-size: clamp(100px, 23vw, 380px); font-weight: 600; white-space: nowrap; line-height: .8; margin: 0 0 0 -.04em; transform: translateY(14%); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 980px; }
.faq__item { border-radius: var(--r-m); background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; transition: background-color .25s; }
.faq__item[open] { background: var(--surface-2); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px; font-family: var(--display); font-weight: 500; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.3;
  font-optical-sizing: none; font-variation-settings: "opsz" 14; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-3); position: relative; transition: transform .35s var(--spring), background-color .25s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--accent); }
.faq__item p { padding: 0 26px 24px; color: var(--muted); max-width: 70ch; }

/* ---------- blog ---------- */
.article__head { padding-top: 130px; max-width: 1080px; margin: 0 auto; }
.blog-head { padding-bottom: 8px; }
.article__crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.article__crumbs a { color: var(--muted); text-decoration: none; transition: color .2s; }
.article__crumbs a:hover { color: var(--ink); }
.article__meta { margin-top: 26px; font-size: 15px; color: var(--muted); }
.article__title { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -0.03em;
  margin-top: 14px; max-width: 18ch; font-optical-sizing: none; font-variation-settings: "opsz" 14; }
.article__title em { font-style: italic; font-weight: 400; }
.article__hero { margin-top: 44px; aspect-ratio: 16/8; overflow: hidden; border-radius: var(--r); background: var(--surface); }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
.article__body { max-width: 760px; margin: 0 auto; padding-top: 56px; padding-bottom: 40px; }
.article__body > p, .article__body > ul, .article__body > ol { font-size: 18px; line-height: 1.75; color: #d9d5cf; }
.article__body > p + p, .article__body > ul + p, .article__body > p + ul { margin-top: 1.1em; }
.article__body .article__lead { font-size: clamp(20px, 1.8vw, 23px); line-height: 1.6; color: var(--ink); }
.article__body h2 { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.12; letter-spacing: -0.015em;
  margin: 56px 0 16px; font-optical-sizing: none; font-variation-settings: "opsz" 14; }
.article__body ul, .article__body ol { padding-left: 1.3em; }
.article__body ul { list-style: disc; }
.article__body ol { list-style: decimal; }
.article__body li { margin-top: .5em; }
.article__body li::marker { color: var(--accent); }
.article__body strong { color: var(--ink); font-weight: 500; }
.article__body a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .2em; }
.article__callout { margin: 48px 0; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-m); background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; }
.article__callout h3 { font-family: var(--display); font-weight: 500; font-size: 26px; line-height: 1.15; margin-bottom: 14px; font-optical-sizing: none; font-variation-settings: "opsz" 14; }
.article__callout ol { padding-left: 1.3em; list-style: decimal; font-size: 17px; line-height: 1.7; color: #d9d5cf; }
.article__callout li::marker { color: var(--accent); font-weight: 600; }
.article__callout p { margin-top: 14px; color: var(--muted); }
.article__cta { margin-top: 56px; padding: clamp(26px, 3.4vw, 44px); border-radius: var(--r); background: var(--accent); color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.article__cta p { color: rgba(255,255,255,.88); margin-top: 8px; max-width: 40ch; }
.article__cta .btn { background: #fff; color: #111; box-shadow: none; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.post-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-m); overflow: hidden; background: var(--surface); text-decoration: none;
  box-shadow: 0 0 0 1px var(--line) inset; transition: transform .45s var(--spring), background-color .3s; }
.post-card:hover { transform: translateY(-6px); background: var(--surface-2); }
.post-card__pic { aspect-ratio: 16/10; overflow: hidden; margin: 0; }
.post-card__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__pic img { transform: scale(1.05); }
.post-card__body { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.post-card__meta { font-size: 14px; color: var(--accent-2); }
.post-card h3 { font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 1.15; font-optical-sizing: none; font-variation-settings: "opsz" 14; }
.post-card p { font-size: 15px; color: var(--muted); }
@media (max-width: 1080px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
  .posts { grid-template-columns: 1fr; }
  .article__head { padding-top: 104px; }
  .article__hero { aspect-ratio: 4/3; margin-top: 32px; }
  .article__body > p, .article__body > ul, .article__body > ol { font-size: 17px; }
}

/* ---------- language switcher ---------- */
.nav__side a, .nav .btn { white-space: nowrap; }
/* one even gap between every item in the bar, so neither side of the logo looks emptier or tighter */
@media (min-width: 1081px) { .nav { display: flex; justify-content: space-between; } .nav__side { display: contents; } .nav .btn { margin-left: 0; } }
.lang { display: inline-flex; gap: 2px; padding: 3px; margin-left: 4px; border-radius: 999px; background: rgba(255,255,255,.06); }
.nav__side .lang a, .lang a { padding: 7px 10px; border-radius: 999px; font: 500 12px/1 var(--text); letter-spacing: .06em; text-decoration: none; opacity: .6; transition: opacity .2s, background-color .2s; }
.nav__side .lang a:hover, .lang a:hover { opacity: 1; background: rgba(255,255,255,.08); }
.lang a[aria-current="true"] { opacity: 1; background: rgba(255,255,255,.16); }
.lang--drawer { align-self: flex-start; margin: 28px 0 0; background: rgba(0,0,0,.06); }
.lang--drawer a { padding: 11px 16px; font-size: 15px; }
.lang--drawer a:hover { background: rgba(0,0,0,.06); }
.lang--drawer a[aria-current="true"] { background: rgba(0,0,0,.12); }
@media (max-width: 1080px) { .nav .lang { display: none; } }

/* ---------- merch rail ---------- */
.merch { padding: 8px; }
.merch__win { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r); color: var(--paper-ink); padding: clamp(40px, 5vw, 80px) 0 clamp(28px, 3vw, 48px);
  background: radial-gradient(90% 60% at 50% 30%, #fbfaf7, var(--paper-2) 70%); }
.merch__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--m); align-items: end; padding-inline: clamp(20px, 4vw, 64px); }
.merch__eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.merch__head > p:last-child { max-width: 40ch; justify-self: end; color: #5d5a55; }
.merch__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; padding: 40px clamp(20px, 4vw, 64px) 0; }
.merch__list > li { padding: 22px; border-radius: var(--r-s); background: rgba(0,0,0,.05); }
.merch__list h3 { font-size: 18px; font-weight: 500; }
.merch__list p { font-size: 15px; color: #5d5a55; margin-top: 4px; }
.merch__list ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; font-size: 13px; color: #5d5a55; }
.merch.is-live .merch__list { display: none; }
.merch__ui { display: none; }

.mr { margin-top: clamp(16px, 3vw, 40px); }
.mr__stage { position: relative; width: 100%; touch-action: pan-y; user-select: none; -webkit-user-select: none; overflow-x: clip; color: rgba(7,7,7,.82); }
.mr__rail { position: absolute; left: 0; right: 0; z-index: 0; pointer-events: none; border-radius: 999px;
  background: linear-gradient(to bottom, #d6d4d0 0%, #fff 18%, #bdbab4 38%, #8d8a85 62%, #55524e 100%); box-shadow: 0 6px 10px -4px rgba(0,0,0,.25); }
.mr__rail i { position: absolute; top: 50%; width: 16px; height: 28px; transform: translateY(-50%); border-radius: 3px; left: 6px;
  background: linear-gradient(to right, #c9c6c0, #8d8a85 55%, #5a5753); box-shadow: 0 3px 6px rgba(0,0,0,.18); }
.mr__rail i + i { left: auto; right: 6px; }
.mr__slot { position: absolute; left: 0; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; border-radius: 12px; -webkit-tap-highlight-color: transparent; }
.mr__slot:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.mr__slot span, .mr__slot svg { position: absolute; }
.mr__swing, .mr__side, .mr__turn, .mr__face, .mr__drape, .mr__shadowwrap, .mr__shade, .mr__slot svg { inset: 0; display: block; width: 100%; height: 100%; }
.mr__swing { transform-origin: 50% 1.3%; }
.mr__shadowwrap { pointer-events: none; }
.mr__shadow { inset: 0; background: #000; opacity: .16; }
.mr__turn { transform-style: preserve-3d; }
.mr__face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.mr__drape { transform-origin: top; transform: skewX(var(--drape, 0deg)); }
.mr__shade { background: #000; pointer-events: none; }
.mr__slot svg { overflow: visible; }
.mr__slot .mr__in-photo { inset: 8% 0 0; width: auto; height: auto; }
.mr__photo, .mrd__face .mr__photo { position: absolute; left: 0; right: 0; top: 8%; bottom: 0; width: 100%; height: 92%; object-fit: contain; object-position: top; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.mr__tag { left: 50%; transform-origin: top; pointer-events: none; transform: rotate(-12deg); transition: opacity .25s; }
.mr__slot[aria-pressed="true"] .mr__tag { opacity: 0; }
.mr__string { position: relative !important; display: block; width: 1px; height: 14px; transform: translateX(3px); background: rgba(7,7,7,.35); }
.mr__card { position: relative !important; display: block; transform: translateX(calc(-50% + 3px)); white-space: nowrap; padding: 8px 6px 4px; border-radius: 3px; border: 1px solid rgba(7,7,7,.1);
  background: #fff; color: var(--paper-ink); font: 700 9px/1 var(--text); letter-spacing: .06em; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.mr__card::before { content: ""; position: absolute; left: 50%; top: 3px; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: rgba(7,7,7,.3); }
.mr__dots { display: none; justify-content: center; gap: 6px; margin-top: 4px; }
.mr[data-mode="carousel"] .mr__dots { display: flex; }
.mr__dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: rgba(7,7,7,.25); cursor: pointer; transition: width .3s var(--ease), background-color .3s; }
.mr__dots button[aria-current="true"] { width: 24px; background: var(--paper-ink); }
.mr__foot { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 18px clamp(20px, 4vw, 64px) 0; text-align: center; }
.mr__caption { min-height: 4.4em; }
.mr__name { font-size: 18px; font-weight: 500; }
.mr__desc { max-width: 46ch; margin: 4px auto 0; font-size: 15px; line-height: 1.5; color: #5d5a55; }

.mrd { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; overflow-y: auto; padding: 24px; color: var(--paper-ink); }
.mrd__backdrop { position: absolute; inset: 0; background: rgba(240,238,234,.92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); opacity: 0; transition: opacity .3s; }
.mrd.is-shown .mrd__backdrop { opacity: 1; }
.mrd__close { position: absolute; top: 18px; right: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px;
  background: rgba(0,0,0,.06); color: inherit; font: 500 14px/1 var(--text); cursor: pointer; opacity: 0; transition: opacity .3s, background-color .2s; }
.mrd__close svg { width: 14px; height: 14px; }
.mrd__close:hover { background: rgba(0,0,0,.1); }
.mrd.is-shown .mrd__close { opacity: 1; }
.mrd__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); align-items: center; gap: 40px; width: 100%; max-width: 1040px; padding-top: 40px; }
.mrd__figure { position: relative; height: min(62vh, 560px); aspect-ratio: 200 / 310; margin: 0 auto; transform-origin: top; color: rgba(7,7,7,.82); }
.mrd__wire { position: absolute; left: 50%; width: 3px; height: 40vh; top: calc(-40vh + 1.3%); transform: translateX(-50%); border-radius: 999px; background: linear-gradient(to right, #c9c6c0, #8d8a85, #55524e); }
.mrd__drag { position: absolute; inset: 0; perspective: 1400px; cursor: grab; touch-action: pan-y; }
.mrd__drag:active { cursor: grabbing; }
.mrd__spin { position: absolute; inset: 0; transform-style: preserve-3d; }
.mrd__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.mrd__face--back { transform: rotateY(180deg); }
.mrd__face svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mrd__info { display: flex; flex-direction: column; gap: 16px; opacity: 0; transform: translateY(8px); transition: opacity .5s .15s, transform .5s .15s var(--ease); }
.mrd.is-shown .mrd__info { opacity: 1; transform: none; }
.mrd__count { font-size: 12px; letter-spacing: .2em; color: #75716b; }
.mrd__title { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.015em; }
.mrd__desc { font-size: 16px; line-height: 1.55; color: #5d5a55; }
.mrd__details { display: flex; flex-wrap: wrap; gap: 8px; }
.mrd__details li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(7,7,7,.14); font-size: 13px; color: #5d5a55; }
.mrd__sides { display: flex; gap: 24px; }
.mrd__sides button { position: relative; padding: 6px 0; border: 0; background: none; color: #75716b; font: 500 15px/1 var(--text); cursor: pointer; }
.mrd__sides button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.mrd__sides button[aria-pressed="true"] { color: var(--paper-ink); }
.mrd__sides button[aria-pressed="true"]::after { transform: none; }
.mrd__sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mrd__sizes span { margin-right: 6px; font-size: 14px; color: #75716b; }
.mrd__sizes button { min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid rgba(7,7,7,.16); border-radius: 999px; background: none; color: inherit; font: 500 14px/1 var(--text); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.mrd__sizes button:hover { border-color: rgba(7,7,7,.4); }
.mrd__sizes button[aria-pressed="true"] { background: var(--paper-ink); border-color: var(--paper-ink); color: var(--paper); }
.mrd__order { align-self: flex-start; margin-top: 6px; }
@media (max-width: 820px) {
  .merch__head { grid-template-columns: 1fr; }
  .merch__head > p:last-child { justify-self: start; }
  .mrd { align-items: flex-start; }
  .mrd__grid { grid-template-columns: 1fr; gap: 24px; }
  .mrd__figure { height: min(48vh, 440px); }
  .mrd__info { text-align: center; align-items: center; }
  .mrd__details, .mrd__sides, .mrd__sizes { justify-content: center; }
  .mrd__order { align-self: stretch; }
}
@media (prefers-reduced-motion: reduce) { .mrd__backdrop, .mrd__close, .mrd__info { transition: none; } }

/* ---------- pricing page ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: stretch; }
.plan { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 24px; padding: 30px 26px; border-radius: var(--r-m); background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; transition: transform .45s var(--spring), background-color .3s; }
.plan:hover { transform: translateY(-6px); background-color: var(--surface-2); }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan__price small { font-size: var(--t-small); color: var(--muted); }
.plan__price b { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 3vw, 46px); line-height: 1; letter-spacing: -0.02em; }
.plan__price span { font-size: var(--t-small); color: var(--muted); }
.plan ul { display: grid; gap: 12px; align-content: start; font-size: 16px; }
.plan li { position: relative; padding-left: 22px; }
.plan li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.plan .btn { justify-self: start; }
.plan--hot { background: var(--accent); color: #fff; box-shadow: 0 30px 70px -30px var(--glow); }
.plan--hot:hover { background-color: var(--accent-2); }
.plan--hot .plan__price { border-color: rgba(255,255,255,.3); }
.plan--hot .plan__price small, .plan--hot .plan__price span { color: rgba(255,255,255,.8); }
.plan--hot li::before { background: #fff; }

.rates { display: grid; gap: 6px; }
.rate { display: grid; grid-template-columns: 1fr auto auto; gap: clamp(16px, 3vw, 48px); align-items: center; padding: 24px clamp(20px, 2.4vw, 32px); border-radius: var(--r-s); background: var(--surface); transition: background-color .25s; }
.rate:hover { background-color: var(--surface-2); }
.rate__info h3 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; letter-spacing: -0.01em; }
.rate__info p { margin-top: 6px; max-width: 62ch; font-size: 16px; color: var(--muted); }
.rate__meta { display: inline-block; margin-top: 12px; padding: 5px 12px; border-radius: 999px; font-size: 13px; background: rgba(255,255,255,.08); color: var(--muted); }
.rate__price { text-align: right; white-space: nowrap; }
.rate__price small { font-size: var(--t-small); color: var(--muted); margin-right: 4px; }
.rate__price b { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 2.4vw, 38px); letter-spacing: -0.02em; }
.rate__price--open b { font-style: italic; font-weight: 400; color: var(--accent-2); }
.rate__cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; font-size: 15px; text-decoration: none; white-space: nowrap; background: rgba(255,255,255,.08); transition: background-color .25s; }
.rate__cta:hover { background: var(--accent); color: #fff; }

.terms { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.terms li { display: grid; gap: 8px; padding: 24px 26px; border-radius: var(--r-s); background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; }
.terms b { font-family: var(--display); font-weight: 500; font-size: 22px; }
.terms span { color: var(--muted); font-size: 16px; }
@media (max-width: 1080px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
  .plans { grid-template-columns: 1fr; }
  .rate { grid-template-columns: 1fr auto; }
  .rate__info { grid-column: 1 / -1; }
  .rate__price { text-align: left; }
}

/* ---------- spotlight border: a red light follows the pointer across the dark cards ---------- */
@media (hover: hover) and (pointer: fine) {
  .card:not(.card--hot), .about__facts p, .crow, .plan:not(.plan--hot), .rate, .terms li {
    --spot: 220px;
    --hue: calc(0 + var(--xp, 0) * 22);
    position: relative; isolation: isolate;
    background-image: radial-gradient(var(--spot) var(--spot) at calc(var(--x, -999) * 1px) calc(var(--y, -999) * 1px), hsl(var(--hue) 90% 60% / .09), transparent);
    background-attachment: fixed;
  }
  .card:not(.card--hot)::before, .card:not(.card--hot)::after,
  .about__facts p::before, .about__facts p::after,
  .crow::before, .crow::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    border: 1.5px solid transparent; border-radius: inherit;
    background-attachment: fixed; background-repeat: no-repeat;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
  }
  .card:not(.card--hot)::before, .about__facts p::before, .crow::before {
    background-image: radial-gradient(calc(var(--spot) * .75) calc(var(--spot) * .75) at calc(var(--x, -999) * 1px) calc(var(--y, -999) * 1px), hsl(var(--hue) 95% 58%), transparent 100%);
  }
  .card:not(.card--hot)::after, .about__facts p::after, .crow::after {
    background-image: radial-gradient(calc(var(--spot) * .4) calc(var(--spot) * .4) at calc(var(--x, -999) * 1px) calc(var(--y, -999) * 1px), hsl(0 0% 100% / .8), transparent 100%);
  }
}

/* ---------- motion ---------- */
.js .rv { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .rv.in { opacity: 1; transform: none; filter: none; }
.js .rv-img { opacity: 0; transform: scale(.94); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .rv-img.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv, .js .rv-img { opacity: 1; transform: none; filter: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .nav__side--l, .nav__side--r a { display: none; }
  .nav__menu { display: block; }
  .nav { grid-template-columns: auto 1fr; padding-left: 16px; }
  .head-row { grid-template-columns: 1fr; }
  .head-row > p { justify-self: start; }
  .intro { grid-template-columns: 1fr; gap: 48px; }
  .led { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__facts { order: 2; grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .list__grid { grid-template-columns: 1fr; }
  .list__pic, .table { grid-column: 1; }
  .list__pic { min-height: 0; aspect-ratio: 16/10; }
  .proj { grid-template-columns: 1fr; }
  .work__facts { display: none; }
  .pcards { grid-template-columns: 1fr; }
  .field-red { grid-template-columns: 1fr; }
  .field-red__word { writing-mode: horizontal-tb; transform: none; text-align: left; font-size: 17vw; order: -1; }
  .offer { grid-template-columns: 1fr; }
  .contact__win { grid-template-columns: 1fr; }
}

/* ---------- phone ---------- */
@media (max-width: 680px) {
  :root { --t-body: 17px; --r: 26px; --r-m: 20px; }
  .nav { top: 10px; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__word { font-size: 16px; }
  .hero__body { padding-top: 110px; }
  .hero__title { font-size: 19vw; }
  .hero__cta .btn { width: 100%; }
  .hero__dock { border-radius: 24px; }
  .hero__dock a { padding: 9px 14px; font-size: 14px; }
  .phero__body { grid-template-columns: 1fr; padding-top: 100px; }
  .phero__pic { justify-self: stretch; width: 100%; height: auto; aspect-ratio: 5/4; }
  .phero__name { font-size: 15vw; margin-bottom: -.1em; }
  .work__frame { width: 62vw; top: calc(50svh - 31vw); margin-bottom: -62vw; }
  .work__list li { font-size: 14vw; }
  .band { flex-wrap: wrap; height: 84svh; }
  .band__panel { height: calc(50% - 4px); }
  .band__panel:nth-child(1), .band__panel:nth-child(4) { flex: 0 0 calc(62% - 4px); }
  .band__panel:nth-child(2), .band__panel:nth-child(3) { flex: 0 0 calc(38% - 4px); }
  .band:hover .band__panel:hover { flex-grow: 0; }
  .about__text p { font-size: 22px; line-height: 1.28; }
  .about__portrait { width: 5em; height: 5em; }
  .about__facts { grid-template-columns: 1fr; }
  .vm { grid-template-columns: 1fr; }
  .vm__item { min-height: 0; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 220px; }
  .team { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__pic { order: 0; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic figure:first-child { grid-row: auto; }
  .offer__item { min-height: 560px; }
  .ig__item { width: 64vw; }
  .foot__top { grid-template-columns: 1fr; }
  .foot__inv, .foot__links { grid-column: 1; }
  .foot__inv .h2 { font-size: 11vw; }
  .foot__inv .btn { width: 100%; }
  .foot__links { margin-top: 24px; }
  .foot__name { font-size: 30vw; }
}
