/* ============================================================
   CamCon — Cinema Film-Lab
   Safelight amber · film-stock swatches · editorial serif numerals
   ============================================================ */

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

/* ---------- Tokens ---------- */
:root {
  --bg:        #0A0A0C;
  --bg-2:      #0D0D10;
  --surface:   #121217;
  --surface-2: #17171D;
  --surface-3: #1E1E26;
  --hair:      #26262F;
  --hair-2:    #34343F;

  --ink:       #F4F1E9;
  --ink-dim:   #A3A1AB;
  --ink-mute:  #838189;

  --amber:     #EBA23C;
  --amber-hi:  #F7C266;
  --amber-lo:  #B77C22;
  --amber-06:  rgba(235,162,60,.06);
  --amber-12:  rgba(235,162,60,.12);
  --amber-20:  rgba(235,162,60,.20);
  --amber-35:  rgba(235,162,60,.35);
  --cyan:      #58C6DA;

  --serif: "Fraunces", "Pretendard Variable", Pretendard, Georgia, serif;
  --mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans:  "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", system-ui, sans-serif;

  --wrap: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.4,.64,1);
  --ease-mech:   cubic-bezier(.65,.05,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -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: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--amber-35); color: #0a0a0c; }

/* ---------- Atmosphere: grain + vignette ---------- */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, transparent 55%, rgba(0,0,0,.55) 100%);
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 28px; }
main { position: relative; z-index: 2; counter-reset: folio; }
.section { padding: clamp(72px, 11vh, 132px) 0; position: relative; z-index: 2; }
.section-alt { position: relative; background:
  linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 12%, var(--bg-2) 88%, var(--bg) 100%); }
.section-alt::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 3;
  background: linear-gradient(90deg, transparent, var(--hair-2) 22%, var(--hair-2) 78%, transparent);
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--amber); color: #0a0a0c; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--amber);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--amber); opacity: .6;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); counter-increment: folio; }
.section-head::before {
  content: counter(folio, decimal-leading-zero);
  display: block; font-family: var(--serif); font-style: italic; font-weight: 500;
  font-optical-sizing: auto; font-size: clamp(2.6rem, 5.5vw, 3.6rem); line-height: .9;
  letter-spacing: -.02em; margin-bottom: 12px;
  color: color-mix(in oklab, var(--amber) 20%, var(--hair-2));
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-title {
  font-family: var(--sans); font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3.1rem); line-height: 1.12;
  letter-spacing: -.02em; margin-top: 20px; text-wrap: balance;
}
.section-title .accent { color: var(--amber); }
.section-lead {
  color: var(--ink-dim); font-size: clamp(1rem, 1.4vw, 1.12rem);
  margin-top: 18px; max-width: 620px; text-wrap: pretty;
}
.section-head.center .section-lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border-radius: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em; line-height: 1.25; text-align: center;
  transition: transform .2s var(--ease), box-shadow .3s, background .2s, border-color .2s;
}
.btn-primary {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--amber-hi), var(--amber) 62%, var(--amber-lo));
  color: #1a1206;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 3px rgba(120,60,0,.35),
              0 10px 30px -12px var(--amber-35), 0 0 0 1px rgba(235,162,60,.22);
}
.btn-primary:not(.is-disabled):hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 3px rgba(120,60,0,.35),
              0 18px 44px -14px var(--amber-35), 0 0 0 1px rgba(235,162,60,.3);
}
.btn:not(.is-disabled):active { transform: translateY(0) scale(.97); transition-duration: .09s; }
.btn-primary.is-disabled { opacity: .55; cursor: not-allowed; }
.btn-primary.is-disabled::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.16) 50%, transparent 60%);
  transform: translateX(-130%);
  animation: btnPending 3.6s var(--ease-mech) 1.2s infinite;
}
@keyframes btnPending { 0% { transform: translateX(-130%); } 55%,100% { transform: translateX(130%); } }
.btn-ghost {
  border: 1px solid var(--hair-2); color: var(--ink); background: rgba(255,255,255,.02);
}
.btn-ghost:hover { border-color: var(--amber-35); background: var(--amber-06); transform: translateY(-2px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--hair); background: color-mix(in oklab, var(--bg) 90%, transparent); }
.header-inner { display: flex; align-items: center; gap: 22px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 30px; height: 30px; }
.brand-mark .iris { transform-origin: 24px 24px; transition: transform .6s var(--ease-out); }
.brand:hover .iris { transform: rotate(60deg); }
.brand-name {
  font-family: var(--serif); font-weight: 600; font-size: 21px;
  letter-spacing: -.01em; color: var(--ink);
}
.brand-name b { color: var(--amber); font-weight: 600; }

.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a {
  position: relative; padding: 8px 13px; border-radius: 8px;
  font-size: 14px; color: var(--ink-dim); transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); }
.nav a.is-current { color: var(--amber); }
.nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 1.5px;
  background: var(--amber); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; opacity: 0;
  transition: transform .3s var(--ease-out), opacity .25s;
}
.nav a:hover::after { transform: scaleX(1); opacity: .45; }
.nav a.is-current::after { transform: scaleX(1); opacity: 1; }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang-select { position: relative; display: inline-flex; align-items: center; }
.lang-globe {
  position: absolute; left: 11px; width: 15px; height: 15px; pointer-events: none;
  stroke: var(--ink-dim); stroke-width: 1.4; fill: none;
}
#lang {
  appearance: none; -webkit-appearance: none;
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-dim);
  background: var(--surface); border: 1px solid var(--hair);
  border-radius: 8px; padding: 8px 30px 8px 32px; cursor: pointer;
  transition: border-color .2s, color .2s;
}
#lang:hover { border-color: var(--hair-2); color: var(--ink); }
.lang-select::after {
  content: ""; position: absolute; right: 12px; width: 7px; height: 7px; pointer-events: none;
  border-right: 1.5px solid var(--ink-mute); border-bottom: 1.5px solid var(--ink-mute);
  transform: translateY(-2px) rotate(45deg);
}

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 9px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--hair); }
.nav-toggle span { width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; padding: 6px 28px 22px; border-top: 1px solid var(--hair); background: var(--bg); }
.mobile-nav[hidden] { display: none !important; }
.mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--hair); color: var(--ink-dim); font-size: 15px; }
.mobile-nav a:last-child { border-bottom: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: clamp(70px, 12vh, 120px) 0 0; }
.hero-stage { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-stage::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(38% 30% at 50% -6%, rgba(247,194,102,.17), transparent 60%),
    radial-gradient(46% 40% at 74% 26%, rgba(235,162,60,.22), transparent 60%),
    radial-gradient(44% 40% at 20% 72%, rgba(183,124,34,.18), transparent 60%),
    radial-gradient(60% 52% at 90% 98%, rgba(120,70,20,.12), transparent 68%);
  animation: leak 20s var(--ease-out) infinite alternate;
}
@keyframes leak { to { transform: translate3d(-3%, 2%, 0) scale(1.08); } }
.hero-stage::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background:
    linear-gradient(var(--hair) 1px, transparent 1px) 0 0 / 100% 88px,
    linear-gradient(90deg, var(--hair) 1px, transparent 1px) 0 0 / 88px 100%;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 78%);
          mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 78%);
}

.hero-inner { position: relative; z-index: 2; padding-bottom: 54px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }

.hero-eyebrow { margin-bottom: 24px; }
.hero-title {
  font-family: var(--sans); font-weight: 800;
  font-size: clamp(2.3rem, 6vw, 4.7rem); line-height: 1.05;
  letter-spacing: -.035em; text-wrap: balance;
}
.hero-title .accent {
  background: linear-gradient(100deg,
    var(--amber-hi) 0%, var(--amber) 44%, #FFE7BE 50%, var(--amber) 56%, var(--amber-lo) 100%);
  background-size: 250% 100%; background-position: 0% 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--amber);
  filter: drop-shadow(0 6px 26px rgba(235,162,60,.28));
  animation: developSweep 1.8s var(--ease-out) .45s both;
}
@keyframes developSweep { from { background-position: 180% 0; } to { background-position: 0% 0; } }
.hero-sub {
  color: var(--ink-dim); font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  margin-top: 26px; max-width: 520px; line-height: 1.62; text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* EXIF-style spec readout */
.hero-specs {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 40px;
  border: 1px solid var(--hair); border-radius: 12px; overflow: hidden;
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  max-width: 560px;
}
.hero-spec { flex: 1 1 25%; min-width: 108px; padding: 14px 16px; border-right: 1px solid var(--hair); }
.hero-spec:last-child { border-right: none; }
.hero-spec .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.hero-spec .v {
  font-family: var(--serif); font-size: 1.45rem; font-weight: 500; color: var(--ink); margin-top: 3px; line-height: 1;
  font-optical-sizing: auto; font-variant-numeric: lining-nums tabular-nums;
}
.hero-spec .v small { font-family: var(--mono); font-size: .62rem; color: var(--amber); margin-left: 3px; letter-spacing: .1em; }

/* hero visual: multi-coated cinema lens + reticle */
.hero-visual { position: relative; aspect-ratio: 1; max-width: 420px; margin-left: auto; width: 100%; }
.hero-lens {
  position: absolute; inset: 12%; border-radius: 50%;
  background:
    radial-gradient(58% 48% at 70% 28%, rgba(88,198,218,.10), transparent 55%),
    radial-gradient(44% 40% at 30% 74%, rgba(150,110,220,.07), transparent 60%),
    radial-gradient(circle at 38% 32%, rgba(247,194,102,.24), transparent 44%),
    radial-gradient(circle at 50% 50%, var(--surface-2) 0%, #0b0b0f 60%, #050506 100%);
  border: 1px solid var(--hair-2);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,.06),
    inset 0 0 0 6px rgba(0,0,0,.55),
    inset 0 0 0 7px var(--hair),
    inset 0 0 72px -14px rgba(0,0,0,.95),
    0 50px 90px -40px rgba(0,0,0,.95);
  display: grid; place-items: center;
}
.hero-lens::before {
  content:""; position:absolute; inset:9%; border-radius:50%; pointer-events:none;
  background: radial-gradient(42% 34% at 36% 26%, rgba(255,255,255,.18), transparent 62%);
  mix-blend-mode: screen;
}
.hero-lens::after {
  content:""; position:absolute; left:-16%; right:-16%; top:50%; height:2px;
  transform: translateY(-50%); pointer-events:none; filter: blur(1.4px); opacity:.4;
  background: linear-gradient(90deg, transparent, rgba(120,210,235,.5) 46%, rgba(210,240,255,.8) 50%, rgba(120,210,235,.5) 54%, transparent);
}
.hero-iris { width: 72%; height: 72%; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-reticle { position: absolute; inset: 0; animation: reticleLock 1s var(--ease-out) .4s both; }
@keyframes reticleLock { from { opacity: 0; transform: scale(1.16); } to { opacity: 1; transform: none; } }
.hero-reticle span { position: absolute; width: 34px; height: 34px; border: 2px solid var(--amber); opacity: .7; }
.hero-reticle span:nth-child(1) { top: 0; left: 0; border-right: none; border-bottom: none; border-radius: 4px 0 0 0; }
.hero-reticle span:nth-child(2) { top: 0; right: 0; border-left: none; border-bottom: none; border-radius: 0 4px 0 0; }
.hero-reticle span:nth-child(3) { bottom: 0; left: 0; border-right: none; border-top: none; border-radius: 0 0 0 4px; }
.hero-reticle span:nth-child(4) { bottom: 0; right: 0; border-left: none; border-top: none; border-radius: 0 0 4px 0; }
.hero-rec {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--amber);
  display: flex; align-items: center; gap: 6px;
}
.hero-rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e0483a; box-shadow: 0 0 8px #e0483a; animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* drifting film strip */
.filmstrip {
  position: relative; z-index: 2; margin-top: 8px;
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  background: #060608; overflow: hidden;
  box-shadow: inset 0 10px 18px -12px rgba(0,0,0,.9), inset 0 -10px 18px -12px rgba(0,0,0,.9);
}
.filmstrip::before, .filmstrip::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 3; pointer-events: none; }
.filmstrip::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.filmstrip::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.filmstrip-track { display: flex; width: max-content; animation: drift 44s linear infinite; }
.filmstrip:hover .filmstrip-track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
.frame {
  position: relative; width: 150px; height: 96px; flex: none;
  border-left: 1px solid rgba(0,0,0,.6); border-right: 1px solid rgba(0,0,0,.6);
  margin: 16px 3px; border-radius: 2px;
  box-shadow: inset 0 0 22px -7px rgba(0,0,0,.85), inset 0 7px 10px -8px rgba(255,241,214,.22), inset 0 0 0 1px rgba(0,0,0,.28);
}
.frame::before, .frame::after {
  content: ""; position: absolute; left: 8px; right: 8px; height: 7px;
  background-image: radial-gradient(circle, #0a0a0c 42%, transparent 44%);
  background-size: 15px 7px; background-repeat: repeat-x;
}
.frame::before { top: -12px; } .frame::after { bottom: -12px; }
.frame .stock { position: absolute; left: 7px; bottom: 6px; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.7); }

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat {
  position: relative; padding: 26px 24px 28px; border-radius: 16px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--hair); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.feat, .cam-row, .step {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 1px 2px rgba(0,0,0,.35), 0 14px 30px -26px rgba(0,0,0,.85);
}
.feat::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(80% 60% at 50% 0%, var(--amber-12), transparent 70%);
}
.feat:hover {
  transform: translateY(-4px); border-color: var(--amber-20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 24px 50px -28px rgba(0,0,0,.9), 0 0 34px -12px rgba(235,162,60,.22);
}
.feat:hover::before { opacity: 1; }
.feat-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--amber-06); border: 1px solid var(--amber-20); margin-bottom: 20px; position: relative;
  transition: transform .45s var(--ease-spring), background .3s, border-color .3s;
}
.feat:hover .feat-icon { transform: translateY(-2px) rotate(-4deg) scale(1.06); background: var(--amber-12); border-color: var(--amber-35); }
.feat-icon svg { width: 23px; height: 23px; stroke: var(--amber); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; position: relative; }
.feat p { color: var(--ink-dim); font-size: .93rem; margin-top: 10px; line-height: 1.58; position: relative; text-wrap: pretty; }
.feat .tag {
  position: absolute; top: 22px; right: 22px; font-family: var(--mono);
  font-size: 9px; letter-spacing: .14em; color: var(--amber); border: 1px solid var(--amber-20);
  padding: 3px 7px; border-radius: 5px;
}
.feat.span-2 { grid-column: span 2; }

/* ============================================================
   FILMS
   ============================================================ */
.films-free { margin-bottom: 44px; }
.films-free-label {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--amber);
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.films-free-label::after { content: ""; flex: 1; height: 1px; background: var(--hair); }
.free-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }

.swatch {
  position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--hair); aspect-ratio: 5 / 4;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.swatch::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, transparent 34%, rgba(247,194,102,.30) 50%, transparent 66%);
  transform: translateX(-120%);
  transition: transform .75s var(--ease-out), opacity .3s;
}
.swatch:hover::after { transform: translateX(120%); opacity: 1; }
.swatch:hover .grade { transform: scale(1.08); }
.swatch:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 26px 50px -28px rgba(0,0,0,.9), 0 0 0 1px var(--amber-35), 0 0 34px -6px var(--amber-20);
}
.swatch .grade {
  position: absolute; inset: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 -34px 46px -26px rgba(0,0,0,.5), inset 0 0 0 1px rgba(0,0,0,.28);
  transition: transform .6s var(--ease-out);
}
.swatch .grade::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,247,230,.14), transparent 24%),
             linear-gradient(0deg, rgba(24,18,34,.42), transparent 32%);
  mix-blend-mode: soft-light;
}
.swatch .grade::after {
  content: ""; position: absolute; inset: 0; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.swatch .meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 12px 13px 11px;
  background: linear-gradient(0deg, rgba(6,6,8,.92), transparent);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
}
.swatch .name { font-family: var(--mono); font-size: 11px; letter-spacing: .02em; color: #fff; line-height: 1.3; }
.swatch .n {
  font-family: var(--serif); font-size: 1.85rem; font-weight: 500; color: #fff; line-height: 1; white-space: nowrap;
  letter-spacing: -.02em; font-optical-sizing: auto; font-variant-numeric: lining-nums tabular-nums;
}
.swatch.free .tag-free {
  position: absolute; top: 10px; left: 10px; z-index: 2; font-family: var(--mono); font-size: 9px;
  letter-spacing: .14em; color: #1a1206; background: var(--amber); padding: 3px 7px; border-radius: 5px; font-weight: 600;
}
.swatch.free {
  border-color: var(--amber-35);
  box-shadow: 0 0 0 1px var(--amber-20), 0 16px 34px -22px rgba(235,162,60,.38);
}
.swatch.free:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 0 0 1px var(--amber-35), 0 26px 52px -26px rgba(235,162,60,.5);
}

.films-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.film-cat { min-height: 150px; }
.film-cat .meta { padding: 16px 16px 14px; }
.films-note { margin-top: 30px; color: var(--ink-dim); font-size: .95rem; text-align: center; }
.films-note strong { color: var(--amber); }

/* film-stock grades — tuned to real stock response */
.g-portra  { background: linear-gradient(135deg,#f2dcc0,#e3b489 34%,#c9835f 64%,#7a4f42 100%); }
.g-velvia  { background: linear-gradient(135deg,#1a5c47,#2f9e6b 24%,#8fbf3f 44%,#d83f4e 72%,#6c162e 100%); }
.g-trix    { background: linear-gradient(135deg,#f4f2ec,#b6b4ae 30%,#55545a 60%,#101012 100%); }
.g-chrome  { background: linear-gradient(135deg,#b8bcae,#8b9384 38%,#55645f 68%,#2b3a3c 100%); }
.g-polaroid{ background: linear-gradient(135deg,#f1e7d2,#e0cbad 34%,#b6b39c 60%,#6f9ba1 100%); }
.g-bw      { background: linear-gradient(135deg,#eeece6,#a7a59f 44%,#26262a 100%); }
.g-slide   { background: linear-gradient(135deg,#1f7fb8,#3aa9a0 32%,#e6b23f 66%,#c8552f 100%); }
.g-xtrans  { background: linear-gradient(135deg,#a6b0a4,#74827b 40%,#3f4c4a 72%,#242c2e 100%); }
.g-instc   { background: linear-gradient(135deg,#f5e6cf,#e2b591 42%,#b98fae 74%,#6f5f8a 100%); }
.g-instp   { background: linear-gradient(135deg,#f0dbb6,#dd9a6f 40%,#a85f75 72%,#5e3a52 100%); }
.g-colorneg{ background: linear-gradient(135deg,#eec39a,#d18a63 42%,#6f7fa0 78%,#3f4a63 100%); }
.g-negnew  { background: linear-gradient(135deg,#eccb9e,#cf9560 44%,#6f7e8c 78%,#414d59 100%); }
.g-negold  { background: linear-gradient(135deg,#e7d2a2,#c9a566 42%,#9c7c48 72%,#4e3d26 100%); }
.g-print   { background: linear-gradient(135deg,#f1e4cd,#cdae86 44%,#8a6b4a 74%,#3c2c1e 100%); }

/* ============================================================
   CAMERAS
   ============================================================ */
.cam-table { display: grid; gap: 14px; margin-bottom: 44px; }
.cam-row {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 22px; align-items: center;
  padding: 22px 24px; border-radius: 14px; border: 1px solid var(--hair);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
}
.cam-row .conn { display: flex; align-items: center; gap: 11px; }
.cam-row .conn svg { width: 22px; height: 22px; stroke: var(--amber); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cam-row .conn b { font-size: 1.02rem; font-weight: 700; }
.cam-row .desc { color: var(--ink-dim); font-size: .92rem; line-height: 1.55; }
.cam-row .desc strong { color: var(--ink); }
.cam-badges { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.badge {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; white-space: nowrap;
  padding: 5px 11px; border-radius: 20px; border: 1px solid var(--hair-2); color: var(--ink-dim);
}
.badge.ok { color: var(--amber); border-color: var(--amber-35); background: var(--amber-06); }
.badge.wifi { color: var(--cyan); border-color: rgba(88,198,218,.35); background: rgba(88,198,218,.06); }

/* explorer — measurement terminal */
.cam-explorer {
  position: relative; border: 1px solid var(--hair); border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), inset 0 -1px 30px -18px rgba(0,0,0,.8);
}
.cam-explorer::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.015) 0 1px, transparent 1px 3px);
  -webkit-mask: linear-gradient(180deg, #000, transparent 42%);
          mask: linear-gradient(180deg, #000, transparent 42%);
}
.cam-explorer-head, .cam-body { position: relative; z-index: 1; }
.cam-explorer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; flex-wrap: wrap; }
.cam-explorer-head .count { display: flex; align-items: baseline; gap: 13px; }
.cam-explorer-head .count .num {
  font-family: var(--serif); font-size: clamp(2.6rem, 5.2vw, 3.5rem); font-weight: 500; color: var(--amber); line-height: 1;
  letter-spacing: -.012em; text-shadow: 0 0 26px var(--amber-35);
  font-optical-sizing: auto; font-variant-numeric: lining-nums tabular-nums;
}
.cam-explorer-head .count .lbl { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.cam-toggle {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12.5px;
  letter-spacing: .04em; color: var(--ink); border: 1px solid var(--hair-2); padding: 10px 16px; border-radius: 9px;
  transition: border-color .2s, background .2s;
}
.cam-toggle:hover { border-color: var(--amber-35); background: var(--amber-06); }
.cam-toggle .chev { width: 8px; height: 8px; border-right: 1.5px solid var(--amber); border-bottom: 1.5px solid var(--amber); transform: rotate(45deg); transition: transform .3s; }
.cam-toggle[aria-expanded="true"] .chev { transform: rotate(-135deg); }

.cam-body { border-top: 1px solid var(--hair); padding: 22px; }
.cam-body[hidden] { display: none; }
.cam-search-row { position: relative; margin-bottom: 16px; }
.cam-search-row svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; stroke: var(--ink-mute); stroke-width: 1.6; fill: none; }
#camSearch {
  width: 100%; height: 48px; padding: 0 16px 0 42px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--hair-2); color: var(--ink);
  font-family: var(--mono); font-size: 13.5px; caret-color: var(--amber);
}
#camSearch::placeholder { color: var(--ink-mute); }
#camSearch:focus { border-color: var(--amber-35); box-shadow: 0 0 0 3px var(--amber-12); }
#camSearch:focus-visible { border-color: var(--amber); outline: 2px solid var(--amber); outline-offset: 2px; }

.cam-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cam-chip {
  font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--ink-dim);
  padding: 7px 12px; border-radius: 20px; border: 1px solid var(--hair); display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .2s, color .2s, background .2s;
}
.cam-chip:hover { color: var(--ink); border-color: var(--hair-2); }
.cam-chip.is-active { color: var(--amber); border-color: var(--amber-35); background: var(--amber-06); }
.cam-chip-n { font-size: 10px; color: var(--ink-mute); }
.cam-chip.is-active .cam-chip-n { color: var(--amber-lo); }

.cam-count { font-family: var(--mono); font-size: 11.5px; color: var(--ink-mute); margin-bottom: 12px; letter-spacing: .04em; }
#camCount { display: flex; align-items: center; gap: 8px; }
#camCount::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 7px var(--amber); animation: blink 1.6s steps(1) infinite;
}
#camCount:empty::before { display: none; }
.cam-list { max-height: 420px; overflow-y: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 22px; scrollbar-width: thin; scrollbar-color: var(--hair-2) transparent; }
.cam-list li { display: flex; align-items: center; gap: 12px; padding: 9px 4px; border-bottom: 1px solid var(--hair); font-size: 13.5px; transition: background .15s, box-shadow .15s; }
.cam-list li:hover { background: var(--amber-06); box-shadow: inset 2px 0 0 var(--amber); }
.cam-vendor { font-family: var(--mono); font-size: 11px; color: var(--amber); min-width: 74px; letter-spacing: .02em; }
.cam-model { color: var(--ink-dim); flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cam-conn { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--ink-mute); border: 1px solid var(--hair); padding: 2px 6px; border-radius: 4px; }
.cam-conn.is-wifi { color: var(--cyan); border-color: rgba(88,198,218,.3); }
.cam-empty { padding: 30px; text-align: center; color: var(--ink-mute); font-family: var(--mono); font-size: 13px; }
.cam-help { margin-top: 22px; color: var(--ink-dim); font-size: .92rem; }
.cam-help a { color: var(--amber); border-bottom: 1px solid var(--amber-35); }

/* ============================================================
   CONNECT
   ============================================================ */
.tabs { display: flex; gap: 6px; margin-bottom: 30px; flex-wrap: wrap; border-bottom: 1px solid var(--hair); }
.tab {
  padding: 14px 20px; font-size: 14.5px; font-weight: 600; color: var(--ink-dim);
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s;
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--amber); border-bottom-color: var(--amber); }
.tab-panel[hidden] { display: none; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  position: relative; padding: 26px 24px; border-radius: 14px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--hair);
}
.step .num { font-family: var(--serif); font-size: 2rem; font-weight: 500; font-style: italic; color: var(--amber); line-height: 1; font-optical-sizing: auto; font-variant-numeric: lining-nums tabular-nums; }
.step p { margin-top: 14px; color: var(--ink); font-size: .96rem; line-height: 1.55; }
.step p strong { color: var(--amber); font-weight: 600; }
.perm-note {
  margin-top: 22px; padding: 14px 18px; border-radius: 10px; border: 1px dashed var(--hair-2);
  font-family: var(--mono); font-size: 12px; color: var(--ink-dim); letter-spacing: .01em; line-height: 1.6;
  display: flex; gap: 10px; align-items: center;
}
.perm-note::before { content: "!"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--amber-06); border: 1px solid var(--amber-20); color: var(--amber); display: grid; place-items: center; font-weight: 600; }

/* ============================================================
   PRICING
   ============================================================ */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 860px; margin-inline: auto; }
.plan { position: relative; padding: 34px 32px; border-radius: 18px; border: 1px solid var(--hair); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.plan.pro {
  border-color: var(--amber-35);
  background: radial-gradient(90% 55% at 50% -12%, var(--amber-12), transparent 62%),
              linear-gradient(180deg, color-mix(in oklab, var(--amber) 8%, var(--surface)), var(--bg-2));
  box-shadow: inset 0 1px 0 rgba(247,194,102,.28), 0 30px 70px -40px var(--amber-35);
}
.plan-flag { position: absolute; top: -12px; right: 26px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: #1a1206; background: var(--amber); padding: 5px 12px; border-radius: 20px; font-weight: 600; }
.plan-name { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; letter-spacing: -.01em; font-optical-sizing: auto; font-variant-numeric: lining-nums tabular-nums; }
.plan-price { font-size: 1.15rem; font-weight: 700; margin-top: 6px; color: var(--amber); }
.plan .price-free { font-family: var(--serif); font-size: 2.7rem; font-weight: 500; color: var(--ink); letter-spacing: -.015em; font-optical-sizing: auto; font-variant-numeric: lining-nums tabular-nums; }
.plan ul { margin-top: 24px; display: grid; gap: 13px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-dim); font-size: .96rem; }
.plan li strong { color: var(--ink); }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--amber-06); border: 1px solid var(--amber-20); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EBA23C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-size: 11px; background-repeat: no-repeat; background-position: center; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin-inline: auto; }
.acc { border-bottom: 1px solid var(--hair); }
.acc-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 4px; text-align: left; font-size: 1.06rem; font-weight: 600; color: var(--ink); transition: color .2s; }
.acc-trigger:hover { color: var(--amber); }
.acc-ico { flex: none; width: 22px; height: 22px; position: relative; }
.acc-ico::before, .acc-ico::after { content: ""; position: absolute; background: var(--amber); border-radius: 2px; transition: transform .3s var(--ease); }
.acc-ico::before { top: 10px; left: 3px; right: 3px; height: 2px; }
.acc-ico::after { left: 10px; top: 3px; bottom: 3px; width: 2px; }
.acc-trigger[aria-expanded="true"] .acc-ico::after { transform: scaleY(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows .4s var(--ease); }
.acc-panel > p { min-height: 0; overflow: hidden; padding: 0 4px 24px; color: var(--ink-dim); font-size: .98rem; line-height: 1.66; max-width: 680px; text-wrap: pretty; }
.acc-trigger[aria-expanded="true"] + .acc-panel { grid-template-rows: 1fr; max-height: none !important; }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta { position: relative; text-align: center; overflow: hidden; }
.cta-inner { position: relative; z-index: 2; padding: clamp(56px, 9vw, 100px) 32px; border-radius: 24px; border: 1px solid var(--amber-20); background: radial-gradient(120% 130% at 50% 0%, var(--amber-12), transparent 60%), var(--surface); }
.cta h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(1.8rem, 4.2vw, 3.15rem); letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
.cta p { color: var(--ink-dim); margin-top: 18px; font-size: 1.08rem; max-width: 540px; margin-inline: auto; text-wrap: pretty; }
.cta .btn { margin-top: 34px; }

.site-footer { border-top: 1px solid var(--hair); padding: 56px 0 40px; position: relative; z-index: 2; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand .brand-name { font-size: 19px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 4px; }
.footer-nav a { padding: 8px 12px; font-size: 14px; color: var(--ink-dim); border-radius: 8px; transition: color .2s; }
.footer-nav a:hover { color: var(--amber); }
.footer-bottom { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--hair); }
.footer-bottom p { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); letter-spacing: .02em; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-stage::before, .hero-iris, .filmstrip-track, .hero-rec::before,
  .hero-title .accent, .hero-reticle,
  #camCount::before, .btn-primary.is-disabled::after { animation: none !important; }
  .swatch:hover .grade, .feat:hover .feat-icon, .nav a:hover::after { transform: none; }
  .swatch::after { display: none; }
  .acc-panel, .nav a::after { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feat.span-2 { grid-column: span 2; }
  .films-grid { grid-template-columns: repeat(2, 1fr); }
  .free-strip { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .cam-list { grid-template-columns: 1fr; }
}
@media (min-width: 861px) { .mobile-nav { display: none !important; } }
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav:not([hidden]) { display: flex; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .cam-row { grid-template-columns: 1fr; gap: 14px; }
  .cam-badges { flex-direction: row; align-items: flex-start; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 20px; }
  .features-grid, .films-grid, .free-strip { grid-template-columns: 1fr 1fr; }
  .feat.span-2 { grid-column: span 2; }
  .free-strip {
    display: flex; grid-template-columns: none; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding-bottom: 6px; scrollbar-width: none;
  }
  .free-strip::-webkit-scrollbar { display: none; }
  .free-strip .swatch { flex: 0 0 42%; scroll-snap-align: start; }
  .hero-specs { max-width: none; }
  .hero-spec { flex: 1 1 0; min-width: 0; padding: 12px 10px; border-right: 1px solid var(--hair); }
  .hero-spec:last-child { border-right: none; }
  .hero-spec .k { font-size: 9.5px; letter-spacing: .1em; }
  .hero-spec .v { font-size: 1.12rem; }
  .cam-explorer-head { justify-content: flex-start; }
  .cam-explorer-head .cam-toggle { flex: 1 1 100%; justify-content: center; }
}
