/* Camattic landing. Colours are the app's FilmColors. */
@font-face { font-family: 'Fraunces'; src: url(fonts/fraunces-800.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Playfair'; src: url(fonts/playfair-800.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url(fonts/intertight-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url(fonts/intertight-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url(fonts/intertight-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url(fonts/caveat-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'VT323'; src: url(fonts/vt323.woff2) format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --darkroom: #0B0B0C;
  --panel: #17171A;
  --line: #2A2A2E;
  --amber: #E8A33D;
  --paper: #F4EAD5;
  --ink: #1C1A17;
  --muted: #9A968E;
  --date: #FF8A2A;
  --display: 'Fraunces', 'Playfair', Georgia, serif;
  color-scheme: dark;
}
:lang(ru) { --display: 'Playfair', Georgia, serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--darkroom);
  color: var(--paper);
  font: 400 17px/1.55 'Inter Tight', system-ui, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: var(--paper); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; line-height: 1.05; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--amber); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgb(11 11 12 / 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand img { width: 132px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a, .lang { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover, .lang:hover { color: var(--paper); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; letter-spacing: 0.04em; }
@media (max-width: 760px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
}

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto 35%; height: 140%;
  background: radial-gradient(closest-side, rgb(232 163 61 / 0.26), rgb(232 163 61 / 0));
  pointer-events: none;
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.kicker { font: 400 22px/1 'VT323', monospace; color: var(--date); letter-spacing: 0.06em; margin: 0 0 18px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 78px); }
.lead { color: var(--muted); font-size: 19px; max-width: 34em; margin: 22px 0 32px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.soon {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper); color: var(--ink); font-weight: 700; font-size: 16px;
  padding: 14px 22px; border-radius: 999px;
}
.ghost { color: var(--paper); text-decoration: none; font-weight: 600; padding: 13px 20px; border: 1px solid var(--line); border-radius: 999px; }
.ghost:hover { border-color: var(--amber); color: var(--paper); }

.hero-prints { position: relative; height: 520px; }
.print {
  position: absolute; width: 58%; background: var(--paper); padding: 10px 10px 34px;
  border-radius: 3px; box-shadow: 0 30px 60px rgb(0 0 0 / 0.55), 0 0 0 1px rgb(0 0 0 / 0.2);
  transition: transform 0.4s ease;
}
.print.p0 { left: 0; top: 40px; transform: rotate(-8deg); padding: 0; }
.print.p1 { left: 30%; top: 0; transform: rotate(5deg); padding: 8px; z-index: 1; width: 66%; }
.print.p2 { left: 16%; top: 230px; transform: rotate(-2deg); width: 46%; z-index: 2; padding: 0; }
.hero-prints:hover .p0 { transform: rotate(-11deg) translateX(-10px); }
.hero-prints:hover .p1 { transform: rotate(7deg) translateY(-8px); }
.date-stamp {
  position: absolute; right: 6%; bottom: 40px; z-index: 3;
  font: 400 34px/1 'VT323', monospace; color: var(--date);
  text-shadow: 0 0 10px rgb(255 138 42 / 0.7);
}
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-prints { height: auto; aspect-ratio: 1 / 0.92; max-width: 520px; width: 100%; margin: 10px auto 0; }
}

/* Shelf */
.shelf { padding: 30px 0 10px; border-block: 1px solid var(--line); background: linear-gradient(var(--panel), var(--darkroom)); }
.shelf-row { overflow: hidden; }
.shelf-track { display: flex; align-items: flex-end; width: max-content; animation: drift 70s linear infinite; }
.shelf-row.right .shelf-track { animation-direction: reverse; animation-duration: 80s; }
.shelf-track img { margin-inline: auto; }
.shelf-copy { display: contents; }
.cam { margin: 0 14px 14px; flex: none; min-width: 96px; }
.cam figcaption { text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; margin-top: -4px; white-space: nowrap; }
.shelf-note { color: var(--muted); text-align: center; margin: 16px auto 18px; font-size: 15px; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shelf-track { animation: none; }
  .print { transition: none; }
}

/* Sections */
.sec { padding: 96px 0 0; }
.sec h2 { font-size: clamp(34px, 4.6vw, 54px); }
.sec-sub { color: var(--muted); max-width: 40em; margin: 16px 0 0; font-size: 18px; }

.looks { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .looks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .looks { grid-template-columns: 1fr; } }
.look { margin: 0; background: var(--paper); color: var(--ink); padding: 10px 10px 0; border-radius: 3px; box-shadow: 0 18px 40px rgb(0 0 0 / 0.45); }
.look img { border-radius: 1px; }
/* Instant shots come out of the app with their own frame: no second border, the caption sits on its wide bottom. */
.look.instant, .look.mini { padding: 0; position: relative; }
.look.mini figcaption { padding-inline: 12px; }
.look.instant figcaption { position: absolute; left: 6%; right: 6%; bottom: 2%; }
.look figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 4px 10px; }
.hand { font: 600 28px/1.1 'Caveat', cursive; color: var(--ink); }
.meta { font-size: 13px; color: #6B655C; text-align: right; }
.yr { font-variant-numeric: tabular-nums; }
.look:nth-child(3n + 1) { transform: rotate(-0.8deg); }
.look:nth-child(3n + 2) { transform: rotate(0.6deg); }

.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li, .honest li { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.num { font: 400 40px/1 'VT323', monospace; color: var(--date); }
.steps h3, .honest h3 { font-size: 21px; margin: 14px 0 8px; }
.steps p, .honest p { color: var(--muted); margin: 0; }

.honest { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.honest h3 { margin-top: 0; }
.honest h3::before { content: '✕'; display: block; color: var(--amber); font-size: 18px; margin-bottom: 12px; }

.note { color: var(--muted); font-size: 14px; margin: 18px 0 0; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .honest { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .honest { grid-template-columns: 1fr; }
  .sec { padding-top: 72px; }
}

.faq { margin-top: 36px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 26px; color: var(--amber); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin: 0 0 22px; }

/* Footer */
.foot { margin-top: 110px; border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: 15px; }
.foot-in { display: grid; gap: 10px; justify-items: start; }
.foot p { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px; }
.stamp-small { font: 400 20px/1 'VT323', monospace; color: var(--date); }

/* Privacy */
.legal { padding-top: 64px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p { color: #D9CFBA; }
@media (max-width: 600px) {
  /* Two thirds of the desktop size; zoom keeps every body at its own trimmed size. */
  .shelf-row { zoom: 0.67; }
  .cam figcaption { font-size: 18px; } /* 12 px after the zoom */
  .hand { font-size: 25px; }
}
