/* =========================================================
   NK Digital — Premium Design System
   Palette: Weiß · Matt-Schwarz · Gold · Navy
   ========================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* color */
  --paper:        #ffffff;
  --paper-soft:   #f7f5f1;
  --paper-warm:   #f2efe9;
  --ink:          #0b0b0c;
  --ink-soft:     #1a1a1d;
  --muted:        #6b6a66;
  --muted-2:      #9a9892;
  --line:         rgba(11,11,12,.08);
  --line-strong:  rgba(11,11,12,.14);

  --gold:         #b48a3c;
  --gold-bright:  #d9b871;
  --gold-deep:    #8f6c28;

  --navy:         #0d1825;
  --navy-2:       #122336;
  --navy-line:    rgba(255,255,255,.10);

  /* type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* motion */
  --ease:         cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft:    cubic-bezier(0.22, 1, 0.36, 1);
  --dur:          .7s;

  /* shape & depth */
  --r-lg:         2rem;
  --r-md:         1.25rem;
  --r-sm:         .85rem;
  --shadow-soft:  0 30px 60px -28px rgba(13,24,37,.22), 0 8px 24px -16px rgba(13,24,37,.18);
  --shadow-lift:  0 50px 90px -40px rgba(13,24,37,.34), 0 14px 34px -18px rgba(13,24,37,.20);

  /* layout */
  --maxw:         1200px;
  --gutter:       clamp(1.15rem, 4vw, 3rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

/* ---------- Film-grain overlay (fixed, non-interactive) ---------- */
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.02; letter-spacing: -.02em; }
.display {
  font-size: clamp(2.7rem, 7.5vw, 6rem);
  line-height: .98;
}
.h-sec {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.02;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--muted);
  max-width: 56ch;
}
em, .italic { font-style: italic; }
.gold-text { color: var(--gold-deep); font-style: italic; }

/* eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-sans);
  font-size: .66rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .22em;
  color: var(--muted);
  padding: .42rem .85rem;
  border-radius: 999px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 3px rgba(180,138,60,.16);
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(5rem, 11vw, 9.5rem); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- Floating glass nav ---------- */
.nav-shell {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; justify-content: center;
  padding-top: clamp(.9rem, 2vw, 1.5rem);
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.2rem);
  padding: .55rem .65rem .55rem 1.35rem;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 10px 30px -16px rgba(13,24,37,.28), inset 0 1px 1px rgba(255,255,255,.7);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 1.18rem; letter-spacing: -.01em; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--gold-bright);
  font-family: var(--font-sans); font-weight: 700; font-size: .82rem; letter-spacing: -.04em;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.18);
}
.nav-links { display: flex; align-items: center; gap: clamp(.5rem, 1.6vw, 1.5rem); }
.nav-links a {
  position: relative; font-size: .9rem; font-weight: 500; color: var(--ink-soft);
  padding: .35rem .2rem; transition: color .4s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: var(--gold); transition: right .45s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-cta { margin-left: .2rem; }
.nav-burger { display: none; }

/* ---------- Buttons (Island / button-in-button) ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --ic: rgba(255,255,255,.14);
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .8rem .85rem .8rem 1.35rem;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: .92rem; font-weight: 600; letter-spacing: -.01em;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background .4s var(--ease);
  box-shadow: 0 14px 30px -16px rgba(13,24,37,.5), inset 0 1px 1px rgba(255,255,255,.14);
  will-change: transform;
}
.btn .ic {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 999px;
  background: var(--ic);
  transition: transform .55s var(--ease), background .4s var(--ease);
}
.btn .ic svg { width: 15px; height: 15px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -18px rgba(13,24,37,.55), inset 0 1px 1px rgba(255,255,255,.18); }
.btn:hover .ic { transform: translate(3px, -2px) scale(1.05); }
.btn:active { transform: scale(.98); }

.btn--gold { --bg: linear-gradient(180deg, var(--gold-bright), var(--gold)); --fg: #2a1f08; --ic: rgba(42,31,8,.14); }
.btn--ghost {
  --bg: transparent; --fg: var(--ink); --ic: rgba(11,11,12,.07);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--paper-soft); box-shadow: none; }
.btn--sm { padding: .55rem .6rem .55rem 1.05rem; font-size: .82rem; }
.btn--sm .ic { width: 26px; height: 26px; }
.btn--on-dark { --bg: #fff; --fg: var(--ink); --ic: rgba(11,11,12,.08); }

/* ---------- Double-bezel card ---------- */
.bezel {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: .5rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.bezel__core {
  background: var(--paper);
  border-radius: calc(var(--r-lg) - .5rem);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.7), var(--shadow-soft);
  height: 100%;
  padding: clamp(1.5rem, 2.6vw, 2.4rem);
}
a.bezel:hover, .bezel.is-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

/* ---------- Generic grids ---------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(1rem, 1.8vw, 1.4rem); }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }
.col-2 { grid-column: span 2; }

/* ---------- Thin-line icon chip ---------- */
.chip-ic {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  color: var(--gold-deep);
}
.chip-ic svg { width: 22px; height: 22px; stroke-width: 1.4; }

/* ---------- Demo project card ---------- */
.proj { position: relative; overflow: hidden; }
.proj__thumb {
  position: relative; aspect-ratio: 16/11; border-radius: var(--r-md);
  overflow: hidden; display: grid; place-items: center;
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(217,184,113,.18), transparent 55%),
    linear-gradient(170deg, var(--paper-warm), var(--paper-soft));
  border: 1px solid var(--line);
}
.proj__thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 1.2s var(--ease);
}
.proj:hover .proj__thumb img { transform: scale(1.05); }
.proj__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,12,.04) 35%, rgba(11,11,12,.5) 100%);
}
.proj__name {
  position: absolute; left: 1.1rem; bottom: .95rem; z-index: 2; color: #fff;
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1;
  text-shadow: 0 2px 22px rgba(0,0,0,.45);
}
.proj__mono {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--ink);
  opacity: .9;
}
.proj__tag {
  z-index: 2;
  position: absolute; top: .9rem; left: .9rem;
  font-size: .62rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em;
  background: rgba(255,255,255,.85); color: var(--muted);
  padding: .3rem .6rem; border-radius: 999px; border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.proj__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 1.15rem; }
.proj__meta h3 { font-size: 1.4rem; }
.proj__cat { font-size: .8rem; color: var(--muted); }
.proj__soon { font-size: .72rem; font-weight: 600; color: var(--gold-deep); letter-spacing: .04em; }

/* ---------- Navy section ---------- */
.dark {
  background:
    radial-gradient(90% 120% at 85% -10%, rgba(217,184,113,.14), transparent 50%),
    linear-gradient(180deg, var(--navy), var(--navy-2));
  color: #eef1f4;
}
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .lead { color: rgba(238,241,244,.72); }
.dark .eyebrow { background: rgba(255,255,255,.06); border-color: var(--navy-line); color: rgba(238,241,244,.8); }
.dark .bezel { background: rgba(255,255,255,.05); border-color: var(--navy-line); }
.dark .bezel__core { background: rgba(255,255,255,.03); box-shadow: inset 0 1px 1px rgba(255,255,255,.08); color: #eef1f4; }
.dark .chip-ic { background: rgba(255,255,255,.06); border-color: var(--navy-line); color: var(--gold-bright); }
.dark .muted, .dark .proj__cat { color: rgba(238,241,244,.6); }

/* ---------- Pricing ---------- */
.price { display: flex; align-items: baseline; gap: .35rem; margin: .4rem 0 1rem; }
.price .amt { font-family: var(--font-display); font-size: 2.5rem; }
.price .per { color: var(--muted); font-size: .9rem; }
.feat { display: grid; gap: .7rem; margin-top: 1.2rem; }
.feat li { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.feat li::before {
  content: ""; flex: 0 0 auto; margin-top: .45rem;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 3px rgba(180,138,60,.14);
}
.dark .feat li { color: rgba(238,241,244,.82); }
.tier--featured .bezel__core { box-shadow: inset 0 1px 1px rgba(255,255,255,.7), 0 40px 80px -34px rgba(180,138,60,.45); }
.ribbon {
  font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  color: var(--gold-deep);
}

/* ---------- Reviews ---------- */
.quote { font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.4; }
.stars { display: inline-flex; gap: .15rem; color: var(--gold); }
.stars svg { width: 16px; height: 16px; }
.who { display: flex; align-items: center; gap: .75rem; margin-top: 1.4rem; }
.who .av {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; font-weight: 600; font-size: .85rem;
  background: var(--paper-warm); border: 1px solid var(--line); color: var(--gold-deep);
}
.who b { font-size: .92rem; font-weight: 600; }
.who span { font-size: .8rem; color: var(--muted); display: block; }

/* ---------- Process steps ---------- */
.step { display: flex; gap: 1.1rem; }
.step__n {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-family: var(--font-display); font-size: 1.1rem;
  background: var(--ink); color: var(--gold-bright);
}
.step h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-link {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 1.3rem; border-radius: var(--r-md);
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease);
}
.contact-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--line-strong); }
.contact-link > span:not(.chip-ic):not(.arr) { display: flex; flex-direction: column; gap: .15rem; }
.contact-link b { display: block; font-size: 1.02rem; }
.contact-link span { font-size: .85rem; color: var(--muted); }
.contact-link .chip-ic { flex: 0 0 auto; }
.contact-link .arr { margin-left: auto; color: var(--muted); transition: transform .5s var(--ease); }
.contact-link:hover .arr { transform: translate(3px,-3px); color: var(--gold-deep); }

/* ---------- Form ---------- */
.field { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.field label { font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: .95rem; color: var(--ink);
  padding: .85rem 1rem; border-radius: var(--r-sm);
  background: var(--paper); border: 1px solid var(--line-strong);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(180,138,60,.14);
}

/* ---------- Footer ---------- */
.footer { background: var(--paper-soft); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-block: clamp(3rem,6vw,4.5rem); }
.footer h4 { font-family: var(--font-sans); font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-bottom: 1rem; }
.footer a { display: block; font-size: .92rem; color: var(--ink-soft); padding: .25rem 0; transition: color .3s var(--ease); }
.footer a:hover { color: var(--gold-deep); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 1.5rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem,4vw,3rem); margin-bottom: 1.5rem; }
.legal h2 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; margin: 2.2rem 0 .6rem; }
.legal p, .legal li { color: var(--ink-soft); font-size: .96rem; margin-bottom: .7rem; }
.legal ul { list-style: disc; padding-left: 1.2rem; }
.legal a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal .placeholder { background: rgba(180,138,60,.12); border: 1px dashed var(--gold); border-radius: 5px; padding: 0 .35rem; font-weight: 600; color: var(--gold-deep); }
.legal .note { background: var(--paper-soft); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 10px; padding: 1rem 1.2rem; font-size: .88rem; color: var(--muted); margin-bottom: 2rem; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(26px); filter: blur(6px);
  transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft), filter .9s var(--ease-soft);
}
[data-reveal].in { opacity: 1; transform: none; filter: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

/* ---------- Hero accents ---------- */
.hero { position: relative; padding-top: clamp(8rem, 16vh, 11rem); }
.hero__glow {
  position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none;
}
.hero__glow::before {
  content: ""; position: absolute; top: -18%; right: -8%;
  width: 48vw; height: 48vw; max-width: 640px; max-height: 640px;
  background: radial-gradient(circle, rgba(217,184,113,.30), transparent 62%);
  filter: blur(20px);
}
.tickline { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; }
.tickline span { font-size: .82rem; color: var(--muted); display: inline-flex; align-items: center; gap: .45rem; }
.tickline span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- Marquee strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--paper-soft); overflow: hidden; }
.strip__row { display: flex; gap: 3.5rem; padding-block: 1.25rem; white-space: nowrap; animation: slide 28s linear infinite; }
.strip__row span { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--muted); display: inline-flex; align-items: center; gap: 3.5rem; }
.strip__row span::after { content: "✦"; color: var(--gold); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Mobile menu (overlay) ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: center; gap: .4rem;
  padding: var(--gutter);
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  backdrop-filter: blur(28px) saturate(1.4);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
.menu-overlay.open { opacity: 1; visibility: visible; }
.menu-overlay a {
  font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3.2rem);
  letter-spacing: -.02em; color: var(--ink);
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  padding: .25rem 0;
}
.menu-overlay.open a { opacity: 1; transform: none; }
.menu-overlay.open a:nth-child(1) { transition-delay: .08s; }
.menu-overlay.open a:nth-child(2) { transition-delay: .14s; }
.menu-overlay.open a:nth-child(3) { transition-delay: .20s; }
.menu-overlay.open a:nth-child(4) { transition-delay: .26s; }
.menu-overlay.open a:nth-child(5) { transition-delay: .32s; }
.menu-overlay .meta { margin-top: 2rem; font-family: var(--font-sans); font-size: .9rem; color: var(--muted); opacity: 0; transition: opacity .6s var(--ease) .4s; }
.menu-overlay.open .meta { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .col-6, .col-4, .col-3, .col-2 { grid-column: span 6; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); }
  .nav-burger span { display: block; width: 17px; height: 1.6px; background: #fff; transition: transform .45s var(--ease), opacity .3s var(--ease); }
  .nav-burger span + span { margin-top: 4.5px; }
  .nav-burger.x span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-burger.x span:nth-child(2) { opacity: 0; }
  .nav-burger.x span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav { padding-left: 1.1rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section { padding-block: clamp(4rem, 14vw, 6rem); }
}

/* ---------- Media frame (framed image) ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--paper-warm); }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--ease); }
.media.is-zoom:hover img { transform: scale(1.045); }
.media__cap {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: #fff;
  background: rgba(11,11,12,.42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: .45rem .8rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
}
.media--tall { aspect-ratio: 4/5; }
.media--wide { aspect-ratio: 16/10; }
.media--show { aspect-ratio: 16/8; }

/* ---------- Hero head: headline + small gold 3D accent ---------- */
.hero-head { display: flex; align-items: center; gap: clamp(1rem, 4vw, 3rem); }
.hero-head__text { flex: 1 1 auto; min-width: 0; }
.hero3d {
  position: relative; flex: 0 0 auto;
  width: clamp(96px, 13vw, 168px); aspect-ratio: 1;
  overflow: visible; cursor: grab;
}
.hero3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
@media (max-width: 640px) {
  .hero-head { gap: 1rem; }
  .hero3d { width: clamp(74px, 22vw, 108px); }
}

/* ---------- Section with subtle background image ---------- */
.section--media { position: relative; overflow: hidden; }
.section--media > .wrap { position: relative; z-index: 1; }
.section-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.section-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .07; filter: grayscale(.25) contrast(1.05); }
.section-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--paper) 0%, transparent 22%, transparent 78%, var(--paper) 100%);
}
/* Dark sections keep their navy gradient; image adds faint texture on top */
.section--media.dark .section-bg img { opacity: .12; filter: grayscale(.4) brightness(.65) contrast(1.05); }
.section--media.dark .section-bg::after {
  background: linear-gradient(180deg, var(--navy) 0%, transparent 30%, transparent 70%, var(--navy) 100%);
}

/* ---------- Easter egg: tiny NK mark spawned on click ---------- */
.nk-spark {
  position: fixed; z-index: 9999; pointer-events: none;
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--ink); color: var(--gold-bright);
  font-family: var(--font-sans); font-weight: 700; font-size: .72rem; letter-spacing: -.04em;
  box-shadow: 0 8px 18px -8px rgba(0,0,0,.55), inset 0 1px 1px rgba(255,255,255,.18);
  will-change: transform, opacity;
}

/* ---------- Clean decorative dot grid (CSS-only, license-free) ---------- */
.section--deco { position: relative; overflow: hidden; }
.section--deco > .wrap { position: relative; z-index: 1; }
.section--deco::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(11,11,12,.05) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 78%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 78%, transparent 100%);
}
.section--deco.dark::before { background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1.5px); }

/* Faint grid texture in all page heroes (behind content, keeps the gold glow) */
.hero > .wrap { position: relative; z-index: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(11,11,12,.04) 1px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 72%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 72%);
}

/* ---------- Feature row (image + text) ---------- */
.feature-row { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(3rem, 6vw, 5rem); }
.feature-row__media { align-self: stretch; }
.feature-row__media .media { height: 100%; min-height: 280px; box-shadow: var(--shadow-soft); }
.feature-row--rev .feature-row__media { order: 2; }
.feature-row__body .price { margin-top: 1.2rem; }

/* ---------- Mini offers (compact, refined) ---------- */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2.2rem); }
.mini-offer { padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.mini-offer .k { display: inline-flex; align-items: center; gap: .5rem; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--gold-deep); }
.mini-offer .k::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.mini-offer h3 { font-size: 1.3rem; margin: .7rem 0 .45rem; }
.mini-offer p { color: var(--muted); font-size: .93rem; }
.dark .mini-offer { border-top-color: var(--navy-line); }
.dark .mini-offer p { color: rgba(238,241,244,.62); }

@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row--rev .feature-row__media { order: 0; }
  .feature-row__media .media { min-height: 0; aspect-ratio: 16/10; }
  .mini-grid { grid-template-columns: 1fr; gap: 0; }
  .mini-offer { padding-block: 1.4rem; }
  .mini-offer:not(:last-child) { padding-bottom: 0; }
}

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