/* Djozef Design — shared styles for every page
   Layout: full-bleed liquid-chrome hero under oversized type, then editorial indexes of services and projects on warm graphite, one orange accent */
:root {
  --ink: #0d0c0b;
  --ink-2: #171513;
  --ink-3: #201d1a;
  --line: #2b2825;
  --paper: #efece8;
  --mute: #9a948d;
  --accent: #ee6300;
  --chrome-hi: #f7f6f4;
  --chrome-mid: #b0aca6;
  --chrome-lo: #625d58;
  --chrome-deep: #1d1a18;

  --f-display: "Geologica", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Cormorant", "Times New Roman", Georgia, serif;
  --f-accent: "Unbounded", "Arial Black", "Helvetica Neue", Arial, sans-serif;

  --t-label: 11px;
  --t-body: 17px;
  --t-lead: clamp(18px, 1.5vw, 21px);
  --t-h3: clamp(20px, 1.7vw, 24px);
  --t-statement: clamp(26px, 3.3vw, 50px);
  --t-h2: clamp(40px, 6.6vw, 112px);
  --t-hero: clamp(44px, 10.2vw, 184px);

  --pad: clamp(16px, 4vw, 56px);
  --maxw: 1480px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --sec-gap: 180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scrollbar-color: var(--chrome-lo) var(--ink); scrollbar-width: thin; }
body {
  margin: 0;
  font-variant-emoji: text;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-display);
  font-weight: 300;
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--ink);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--chrome-lo); border-radius: 10px; border: 3px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: max(var(--pad), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad), env(safe-area-inset-right, 0px));
}
.label {
  font-family: var(--f-accent);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mute);
}
.sl { color: var(--accent); }
.it {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  text-transform: none;
  letter-spacing: -.01em;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; color: var(--paper); transition: color .3s; }
.logo:hover { color: var(--accent); }
.logo svg { display: block; height: 22px; width: 77px; fill: currentColor; }
.nav-links { display: flex; gap: clamp(18px, 2.4vw, 40px); list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; text-decoration: none; transition: color .25s; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav-links a:hover { color: var(--paper); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); }
.lang { display: flex; align-items: center; gap: 6px; }
.lang span[aria-current] { color: var(--paper); }
.lang a { text-decoration: none; transition: color .25s; }
.lang a:hover { color: var(--accent); }
.lang-sep { opacity: .4; }

/* ---------- Buttons: pill + arrow coin, colour sweeps in from the left ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 6px 6px 6px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: color .45s var(--ease), border-color .45s var(--ease), translate .5s var(--ease);
  translate: var(--mx, 0) var(--my, 0);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateX(-101%);
  transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn .ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  transition: transform .6s var(--ease), background-color .45s var(--ease), color .45s var(--ease);
}
.btn:hover .ico { transform: rotate(-45deg); }
.btn-solid { background: var(--paper); color: var(--ink); }
.btn-solid::before { background: var(--accent); }
.btn-solid .ico { background: var(--ink); color: var(--paper); }
.btn-line { background: transparent; color: var(--paper); border-color: var(--line); }
.btn-line::before { background: var(--paper); }
.btn-line .ico { background: var(--accent); color: var(--ink); }
.btn-line:hover { color: var(--ink); border-color: var(--paper); }
.btn-sm { min-height: 44px; padding-left: 18px; gap: 12px; font-size: 14px; }
.btn-sm .ico { width: 32px; height: 32px; font-size: 15px; }
.btn:disabled { opacity: .5; cursor: progress; }

/* ---------- Big accent CTA ---------- */
.tg-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(18px, 2vw, 26px) clamp(18px, 2vw, 26px) clamp(18px, 2vw, 26px) clamp(24px, 3.4vw, 48px);
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
}
.tg-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  transform: translateX(-101%);
  transition: transform .7s var(--ease);
}
.tg-cta:hover::before, .tg-cta:focus-visible::before { transform: none; }
.tg-cta-text { display: grid; gap: 6px; min-width: 0; }
.tg-cta-text .label, .tg-cta-text .sl { color: var(--ink); }
.tg-cta-text .label { opacity: .7; }
.tg-cta-text b { font-weight: 800; font-size: clamp(22px, 3vw, 46px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; text-wrap: balance; }
.tg-cta-go {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(56px, 6.4vw, 96px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  font-size: clamp(22px, 2.4vw, 36px);
  transition: transform .6s var(--ease);
}
.tg-cta:hover .tg-cta-go { transform: rotate(45deg) scale(1.06); }

/* ---------- Arrow coin used in lists ---------- */
.coin {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--mute);
  font-size: 18px;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease), transform .5s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(620px, 100svh, 1040px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero.gl-ready .hero-gl { opacity: 1; }
.orb-fallback {
  position: absolute;
  width: min(64vh, 44vw);
  aspect-ratio: 1;
  max-width: 100%;
  right: 9vw;
  top: 46%;
  translate: 0 -50%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, var(--chrome-hi) 0 5%, transparent 16%),
    radial-gradient(circle at 62% 78%, var(--accent) 0, transparent 30%),
    radial-gradient(circle at 45% 45%, var(--chrome-mid) 0, var(--chrome-lo) 42%, var(--chrome-deep) 72%, var(--ink) 100%);
  filter: saturate(.9);
  transition: opacity 1s var(--ease);
}
.hero.gl-ready .orb-fallback { opacity: 0; }
.hero-content {
  position: relative;
  width: 100%;
  padding-top: 132px;
  padding-bottom: clamp(36px, 6vh, 72px);
  display: grid;
  gap: clamp(28px, 4vh, 48px);
}
.hero-top { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); }
.status i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent); }
  80%, 100% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 0%, transparent); }
}
.headline {
  margin: 0;
  font-weight: 800;
  font-size: var(--t-hero);
  line-height: .9;
  letter-spacing: -.035em;
  text-transform: uppercase;
  color: var(--paper);
}
.headline .ln { display: block; overflow: hidden; padding-block: .14em .04em; margin-block: -.14em -.04em; }
.headline .ln > span { display: inline-block; animation: rise 1.15s var(--ease) both; animation-delay: calc(var(--i) * 110ms + 120ms); }
.headline .it { font-size: 1.14em; line-height: .8; letter-spacing: -.02em; }
@keyframes rise { from { transform: translateY(108%); } }
.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: end;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-bottom p { margin: 0; max-width: 46ch; font-size: var(--t-lead); text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 18px; }
.marquee-track { display: flex; align-items: center; width: max-content; animation: slide 46s linear infinite; }
.marquee-track span {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 64px);
  line-height: 1.1;
  white-space: nowrap;
  padding-inline: .45em;
}
.mq-logo { flex: none; height: clamp(15px, 1.9vw, 29px); width: clamp(52px, 6.63vw, 101px); fill: var(--accent); margin-inline: 10px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { scroll-margin-top: 72px; }
.sec { padding-top: var(--sec-gap); }
h2 {
  margin: 0;
  font-weight: 800;
  font-size: var(--t-h2);
  line-height: .92;
  letter-spacing: -.035em;
  text-transform: uppercase;
  text-wrap: balance;
}
h2 .it { font-size: 1.1em; }
h3 { margin: 0; font-weight: 500; font-size: var(--t-h3); line-height: 1.2; letter-spacing: -.01em; }
.sec-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.about-text { display: grid; min-width: 0; }
.about-text > .label { margin: 0 0 24px; }
.portrait { margin: 0; position: sticky; top: 96px; display: grid; gap: 12px; }
.portrait-frame { position: relative; border-radius: 20px; overflow: hidden; background: var(--ink-2); }
.portrait-frame img { width: 100%; height: auto; aspect-ratio: 669 / 905; object-fit: cover; transition: transform 1.2s var(--ease); }
.portrait-frame:hover img { transform: scale(1.03); }
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--paper) 22%, transparent);
  pointer-events: none;
}
.statement { margin: 0; font-size: var(--t-statement); font-weight: 300; line-height: 1.14; letter-spacing: -.02em; max-width: 24ch; text-wrap: balance; }
.about-copy { margin: clamp(28px, 3vw, 44px) 0 0; max-width: 56ch; color: var(--mute); font-size: var(--t-lead); }
.stats { container-type: inline-size; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(56px, 7vw, 104px); }
.stat { border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 8px; }
.stat b { font-weight: 800; font-size: clamp(44px, 5vw, 96px); font-size: clamp(44px, 9.5cqi, 112px); line-height: .9; letter-spacing: -.045em; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Services */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.svc { position: relative; background: var(--ink); padding: clamp(24px, 2.8vw, 40px); display: flex; flex-direction: column; gap: 14px; min-height: 280px; transition: background-color .4s var(--ease); }
.svc::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.svc:hover { background: var(--ink-2); }
.svc:hover::before { transform: scaleX(1); }
.svc h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 700; letter-spacing: -.02em; }
.svc p { margin: 0; color: var(--mute); font-size: 15px; max-width: 40ch; }
.svc .hot { align-self: flex-start; color: var(--ink); background: var(--accent); border-radius: 999px; padding: 5px 10px 4px; font-size: 10px; }
.chips { list-style: none; margin: auto 0 0; padding: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-family: var(--f-accent); font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px 5px; transition: border-color .3s, color .3s; }
.svc:hover .chips li { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.why-cell { border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 12px; align-content: start; }
.why-cell h3::before { content: ""; display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-bottom: 16px; }
.why-cell p { margin: 0; color: var(--mute); max-width: 42ch; }
.why-note { margin: 28px 0 0; color: var(--mute); max-width: 60ch; }
.why-note b { color: var(--paper); font-weight: 500; }

/* Work index */
.work-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(32px, 4vw, 56px); }
.work-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.work-row { border-bottom: 1px solid var(--line); }
.work-row a {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) minmax(0, 34ch) 48px;
  gap: 8px 32px;
  align-items: center;
  padding-block: clamp(22px, 2.6vw, 38px);
  text-decoration: none;
}
.w-tag { color: var(--accent); }
.w-title {
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 72px);
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  transition: transform .5s var(--ease), color .4s var(--ease);
}
.w-title small { display: block; margin-top: 10px; font-family: var(--f-accent); font-size: 10px; font-weight: 500; letter-spacing: .08em; color: var(--accent); }
.w-desc { color: var(--mute); font-size: 15px; line-height: 1.45; }
.work-row a:hover .w-title { transform: translateX(14px); color: var(--chrome-hi); }
.work-row a:hover .coin { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: rotate(45deg); }
.work-list:hover .work-row a:not(:hover) .w-title { color: var(--chrome-lo); }
.w-thumb { display: none; }
.work-preview {
  position: fixed;
  left: 0; top: 0;
  z-index: 45;
  width: clamp(280px, 26vw, 420px);
  aspect-ratio: 368 / 220;
  border-radius: 12px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  scale: .82;
  transition: opacity .35s var(--ease), scale .45s var(--ease);
  background: var(--ink-2);
  box-shadow: 0 30px 80px -20px color-mix(in srgb, var(--ink) 80%, transparent);
}
.work-preview.show { opacity: 1; scale: 1; }
.work-preview img { width: 100%; height: 100%; object-fit: cover; }

/* Prices: event tickets with notches and a perforation line */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 72px); }
.price {
  --notch: 176px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border-radius: 20px;
  -webkit-mask:
    radial-gradient(circle 15px at 0 var(--notch), #0000 97%, #000 100%) left / 51% 100% no-repeat,
    radial-gradient(circle 15px at 100% var(--notch), #0000 97%, #000 100%) right / 51% 100% no-repeat;
          mask:
    radial-gradient(circle 15px at 0 var(--notch), #0000 97%, #000 100%) left / 51% 100% no-repeat,
    radial-gradient(circle 15px at 100% var(--notch), #0000 97%, #000 100%) right / 51% 100% no-repeat;
  transition: background-color .4s var(--ease), translate .5s var(--ease);
}
.price:hover { background: var(--ink-3); translate: 0 -6px; }
.price-top {
  height: var(--notch);
  padding: clamp(24px, 2.6vw, 32px) clamp(24px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 2px dashed var(--line);
}
.price-top .label { display: flex; justify-content: space-between; gap: 12px; }
.price-amount { display: flex; align-items: baseline; gap: 10px; }
.price-amount b { font-weight: 800; font-size: clamp(44px, 4.4vw, 64px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.price-amount .soft { font-weight: 500; font-size: clamp(28px, 2.6vw, 36px); letter-spacing: -.02em; }
.price ul { list-style: none; margin: 0; padding: 26px clamp(24px, 2.6vw, 34px) 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.price li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; color: var(--mute); font-size: 15px; line-height: 1.45; }
.price li::before { content: ""; width: 6px; height: 6px; margin-top: .55em; background: var(--accent); border-radius: 1px; }
.price-foot { display: flex; justify-content: space-between; align-items: end; gap: 12px; padding: 24px clamp(24px, 2.6vw, 34px) clamp(22px, 2.4vw, 30px); }
.barcode {
  width: 96px;
  height: 28px;
  opacity: .45;
  background: repeating-linear-gradient(90deg, var(--mute) 0 2px, transparent 2px 4px, var(--mute) 4px 5px, transparent 5px 8px, var(--mute) 8px 11px, transparent 11px 13px);
}
.price-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px 48px; margin-top: 32px; }
.price-notes p { margin: 0; color: var(--mute); font-size: 15px; max-width: 52ch; }
.price-notes .label { display: block; margin-bottom: 6px; color: var(--accent); }

/* FAQ: native details/summary accordion, works without JS */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { display: grid; gap: 20px; position: sticky; top: 96px; }
.faq-head p:not(.label) { margin: 0; color: var(--mute); max-width: 36ch; font-size: var(--t-lead); }
.faq-head p a { color: var(--paper); text-decoration-color: var(--accent); text-underline-offset: .2em; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 20px;
  align-items: center;
  padding-block: 24px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.25;
  transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.faq-ico { position: relative; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--paper); transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease); }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; translate: -50% -50%; }
.faq-ico::after { rotate: 90deg; transition: rotate .4s var(--ease); }
.faq-item[open] .faq-ico { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.faq-item[open] .faq-ico::after { rotate: 0deg; }
.faq-a { padding: 0 60px 26px 0; }
.faq-a p { margin: 0; color: var(--mute); font-size: var(--t-lead); line-height: 1.5; max-width: 60ch; }

/* Contact */
.contact h2 { margin-bottom: clamp(48px, 6vw, 88px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(32px, 6vw, 96px); align-items: start; }
.channels { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.channels li { border-bottom: 1px solid var(--line); }
.channel { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding-block: 18px; text-decoration: none; }
.channel .val { font-size: clamp(18px, 1.7vw, 24px); font-weight: 400; overflow-wrap: anywhere; transition: color .3s, transform .5s var(--ease); }
#email { user-select: all; }
a.channel:hover .val { color: var(--accent); transform: translateX(8px); }
a.channel:hover .coin { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: rotate(45deg); }
.copy-btn {
  font-family: var(--f-accent);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: none;
  color: var(--mute);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  transition: color .25s, border-color .25s, background-color .25s;
}
.copy-btn:hover { color: var(--ink); background: var(--accent); border-color: var(--accent); }

.form { position: relative; display: grid; gap: 28px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { position: relative; display: grid; gap: 8px; }
.field::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.field:focus-within::after { transform: scaleX(1); }
.field:focus-within .label { color: var(--accent); }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  font: inherit;
  font-size: 19px;
  font-weight: 300;
  padding: 10px 0 14px;
  border-radius: 0;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--chrome-lo); }
.field input:focus, .field textarea:focus { outline: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-foot small { color: var(--mute); font-size: 13px; }
.form-status { margin: 0; min-height: 1.5em; color: var(--accent); font-size: 15px; }

/* Footer */
.footer { padding-top: var(--sec-gap); padding-bottom: 28px; overflow: hidden; }
.wordmark { display: block; width: 100%; height: auto; aspect-ratio: 782 / 224; user-select: none; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot-row a { text-decoration: none; }
.foot-row a:hover { color: var(--paper); }

/* Back to top: progress ring */
.totop {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 55;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: color-mix(in srgb, var(--ink) 80%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--paper);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  scale: .7;
  translate: var(--mx, 0) var(--my, 0);
  transition: opacity .4s var(--ease), scale .5s var(--ease), translate .5s var(--ease), color .3s;
}
.totop.on { opacity: 1; pointer-events: auto; scale: 1; }
.totop:hover { color: var(--accent); }
.totop svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop .track { fill: none; stroke: var(--line); stroke-width: 2; }
.totop .bar { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 169.6; stroke-dashoffset: 169.6; }
.totop span { font-size: 18px; transition: transform .4s var(--ease); }
.totop:hover span { transform: translateY(-3px); }

/* Atmosphere: film grain + flame */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 70;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.grain-live { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 70; pointer-events: none; opacity: .04; }
.flame { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; mix-blend-mode: screen; filter: blur(18px); opacity: .85; }

/* ---------- Case pages ---------- */
.case-hero { position: relative; isolation: isolate; padding-top: 128px; overflow: hidden; }
.case-backdrop {
  position: absolute;
  inset: 0 0 auto;
  height: min(78vh, 760px);
  z-index: -1;
  background-size: cover;
  background-position: center;
  opacity: .55;
  -webkit-mask: linear-gradient(180deg, #000 0%, #000 35%, transparent 100%);
          mask: linear-gradient(180deg, #000 0%, #000 35%, transparent 100%);
}
.case-head { display: grid; gap: clamp(20px, 3vw, 32px); }
.back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  text-decoration: none;
  color: var(--paper);
}
.back .coin { width: 40px; height: 40px; font-size: 16px; }
.back:hover .coin { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: translateX(-4px); }
.case-title { margin: 0; font-weight: 800; font-size: clamp(44px, 9vw, 168px); line-height: .9; letter-spacing: -.04em; text-transform: uppercase; text-wrap: balance; }
.case-title .it { font-size: 1.1em; }
.case-lead { margin: 0; max-width: 46ch; font-size: clamp(19px, 1.8vw, 26px); line-height: 1.35; text-wrap: pretty; }
.case-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 1px; margin: clamp(20px, 3vw, 40px) 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.case-meta div { background: var(--ink); padding: 18px 22px; display: grid; gap: 8px; }
.case-meta dt { margin: 0; }
.case-meta dd { margin: 0; font-size: 17px; font-weight: 400; }
.case-cover { margin: clamp(40px, 5vw, 72px) auto 0; }
.case-cover-frame { position: relative; border-radius: 24px; overflow: hidden; background: var(--ink-2); }
.case-cover-frame img { width: 100%; height: clamp(320px, 62vw, 820px); object-fit: cover; }
/* Website screenshots: show the whole screen, never crop the sides */
.case-cover-frame.is-shot img { height: auto; }

.case-about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px clamp(32px, 6vw, 96px); align-items: start; }
.case-about-text { display: grid; gap: 24px; min-width: 0; }
.case-about-text p { margin: 0; color: var(--mute); max-width: 56ch; font-size: var(--t-lead); }
.case-about-text .statement { color: var(--paper); }
.task {
  margin: 12px 0 0;
  padding: 26px 28px;
  border-radius: 18px;
  background: var(--ink-2);
  border-left: 3px solid var(--accent);
  display: grid;
  gap: 12px;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.35;
  max-width: 50ch;
}
.case-about figure { margin: 0; border-radius: 20px; overflow: hidden; background: var(--ink-2); position: sticky; top: 96px; }
.case-about figure img { width: 100%; height: auto; }

.scope { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); border-top: 1px solid var(--line); }
.scope li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(20px, 2.1vw, 32px);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.15;
  transition: color .3s, padding-left .5s var(--ease);
}
.scope li::before { content: "+"; color: var(--accent); font-family: var(--f-accent); font-size: 18px; font-weight: 500; }
.scope li:hover { padding-left: 10px; color: var(--accent); }

.goals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.goal { background: var(--ink-2); border-radius: 20px; padding: clamp(24px, 2.6vw, 34px); display: grid; gap: 18px; align-content: start; }
.goal p { margin: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; }
.goal .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; counter-reset: step; }
.step { border-top: 2px solid var(--line); padding-top: 22px; display: grid; gap: 16px; align-content: start; position: relative; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--f-accent);
  font-weight: 600;
  font-size: 13px;
  color: var(--accent);
}
.step::after { content: ""; position: absolute; top: -2px; left: 0; width: 64px; height: 2px; background: var(--accent); }
.step h3 { font-weight: 700; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.02em; text-transform: uppercase; }
.step ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.step li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; color: var(--mute); font-size: 15px; line-height: 1.45; }
.step li::before { content: ""; width: 6px; height: 6px; margin-top: .55em; background: var(--accent); border-radius: 1px; }

.gallery-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(32px, 4vw, 56px); }
.gallery { columns: 3 300px; column-gap: 16px; }
.g-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink-2);
  cursor: zoom-in;
  break-inside: avoid;
}
.g-item img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .6s var(--ease); }
.g-item::after {
  content: "+";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-size: 22px;
  font-weight: 500;
  opacity: 0;
  scale: .6;
  transition: opacity .35s var(--ease), scale .5s var(--ease);
}
.g-item:hover img { transform: scale(1.04); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; scale: 1; }
.case-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(32px, 4vw, 48px); }

/* Lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: calc(16px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: color-mix(in srgb, var(--ink) 94%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.lb-bar { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.lb-fig { grid-column: 2; grid-row: 2; margin: 0; height: 100%; display: grid; place-items: center; min-height: 0; }
.lb-fig img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; user-select: none; }
.lb-nav { grid-row: 2; }
.lb .coin { cursor: pointer; background: transparent; color: var(--paper); }
.lb .coin:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.next { display: block; text-decoration: none; border-block: 1px solid var(--line); padding-block: clamp(32px, 4vw, 56px); position: relative; }
.next-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.next-title { display: block; margin-top: 14px; font-weight: 800; font-size: clamp(36px, 7vw, 120px); line-height: .92; letter-spacing: -.04em; text-transform: uppercase; transition: color .4s var(--ease), transform .6s var(--ease); }
.next .coin { width: clamp(56px, 6vw, 88px); height: clamp(56px, 6vw, 88px); font-size: clamp(20px, 2.2vw, 30px); }
.next:hover .next-title { color: var(--accent); transform: translateX(14px); }
.next:hover .coin { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: rotate(-45deg); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process, .goals { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .about, .case-about { grid-template-columns: minmax(0, 1fr); }
  .portrait { position: static; max-width: 440px; }
  .case-about figure { position: static; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .work-row a { grid-template-columns: minmax(0, 1fr) 48px; gap: 10px 16px; }
  .w-tag { grid-column: 1 / -1; grid-row: 1; }
  .w-title { grid-column: 1; grid-row: 2; }
  .work-row .coin { grid-column: 2; grid-row: 2; }
  .w-desc { grid-column: 1 / -1; grid-row: 3; max-width: 52ch; }
  .scope { grid-template-columns: minmax(0, 1fr); }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
  .faq-a { padding-right: 0; }
}
@media (max-width: 760px) {
  :root { --sec-gap: 120px; }
  .nav-links { display: none; }
  .orb-fallback { width: 62vw; right: 19vw; top: calc(72px + 38vw); }
  .hero-content { padding-top: calc(72px + 76vw); }
  .hero-bottom { grid-template-columns: minmax(0, 1fr); }
  .hero-cta .btn { flex: 1 1 auto; }
  .why-grid, .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc { min-height: 0; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .channel { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .channel .label { grid-column: 1 / -1; }
  .tg-cta { border-radius: 28px; align-items: flex-end; }
  .totop { width: 52px; height: 52px; }
  .case-hero { padding-top: 104px; }
  .lb { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lb-fig { grid-column: 1 / -1; }
  .lb-nav { grid-row: 3; justify-self: center; }
}
@media (hover: none), (pointer: coarse) {
  .flame, .work-preview { display: none; }
  .w-thumb {
    display: block;
    grid-column: 1 / -1;
    grid-row: 4;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 10px;
    background: var(--ink-2);
  }
  .work-row.no-img .w-thumb { display: none; }
  .g-item::after { opacity: 1; scale: .8; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .headline .ln > span, .marquee-track, .status i { animation: none; }
  .hero-gl, .orb-fallback, .work-preview, .btn, .btn::before, .tg-cta::before { transition: none; }
}
