/* Shotto landing — editorial tokens ported from B2C demo (ivory paper + oxblood) */

/* ---------- Fonts (self-hosted, latin+cyrillic) ---------- */
@font-face {
  font-family: "Lora"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/lora-v37-cyrillic_latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Lora"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/lora-v37-cyrillic_latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-tight-v9-cyrillic_latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-tight-v9-cyrillic_latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-tight-v9-cyrillic_latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/jetbrains-mono-v24-cyrillic_latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/jetbrains-mono-v24-cyrillic_latin-500.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --bg:       oklch(0.985 0.004 60);
  --bg-card:  oklch(1 0 0);
  --bg-sink:  oklch(0.965 0.006 60);
  --ink:   oklch(0.18 0.01 280);
  --ink-2: oklch(0.42 0.01 280);
  --ink-3: oklch(0.62 0.008 280);
  --line:   oklch(0.92 0.005 60);
  --line-2: oklch(0.88 0.006 60);
  --accent:      oklch(0.64 0.22 10);
  --accent-ink:  oklch(0.42 0.18 10);
  --accent-soft: oklch(0.96 0.03 10);
  --serif: "Lora", "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;
  --maxw: 1080px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.serif {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em;
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
}
.mono {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
}
.accent { color: var(--accent-ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.wordmark {
  font-family: var(--serif); font-weight: 600; font-size: 24px;
  letter-spacing: -0.02em; text-decoration: none;
}
.wordmark em { font-style: normal; color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.site-nav a:hover { color: var(--ink); }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 14px;
  padding: 10px 20px; border-radius: 999px; transition: opacity .15s ease;
}
.btn:hover { opacity: .85; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-accent { background: var(--accent-ink); color: #fff; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: transparent; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; }
.hero .wrap {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.hero h1 {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.025em;
  font-size: clamp(38px, 5.2vw, 58px); line-height: 1.06; margin: 18px 0 20px;
}
.hero .lede { font-size: 18px; color: var(--ink-2); max-width: 46ch; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--ink-3); margin-top: 16px; }
.hero-img {
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px -30px oklch(0.3 0.03 30 / 0.35);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.sink { background: var(--bg-sink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; margin: 12px 0 14px;
}
.section-head p { color: var(--ink-2); font-size: 17px; margin: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.step-img { aspect-ratio: 4/5; overflow: hidden; background: var(--bg-sink); }
.step-img img { width: 100%; height: 100%; object-fit: cover; }
.step-body { padding: 16px 18px 20px; }
.step-body .mono { display: block; margin-bottom: 8px; color: var(--accent-ink); }
.step-body h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.step-body p { margin: 0; font-size: 14px; color: var(--ink-2); }

/* items strip inside step 2 illustration — same footprint as .step-img.
   Wrapper carries the aspect ratio; the absolutely-positioned grid then has a
   definite height, so 1fr rows split it evenly instead of growing to content. */
.items-frame { aspect-ratio: 4/5; position: relative; background: var(--bg-card); }
.items-grid {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 6px; padding: 8px;
}
.items-grid .cell { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; min-height: 0; min-width: 0; }
.items-grid .cell img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Try-on feature ---------- */
.tryon .wrap { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.tryon-visual { display: flex; align-items: center; gap: 14px; }
.tryon-visual .before {
  width: 34%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
}
.tryon-visual .before img { aspect-ratio: 3/4; object-fit: cover; }
.tryon-visual .arrow { font-size: 22px; color: var(--accent); flex: none; }
.tryon-visual .after {
  flex: 1; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 60px -30px oklch(0.3 0.03 30 / 0.35);
}
.tryon-visual .after img { aspect-ratio: 3/4; object-fit: cover; }
.tryon h2 {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; margin: 12px 0 14px;
}
.tryon p { color: var(--ink-2); font-size: 17px; margin: 0 0 12px; }

/* ---------- Ideas strip ---------- */
.ideas { padding: 56px 0; }
.ideas-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.ideas-row figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.ideas-row img { aspect-ratio: 3/4; object-fit: cover; }
.ideas-row figcaption {
  position: absolute; left: 10px; bottom: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  background: color-mix(in oklab, #fff 82%, transparent); color: var(--ink);
  padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(6px);
}

/* ---------- Audience cards (stylists / partners) ---------- */
.aud { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.aud-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 30px 28px;
}
.aud-card .mono { display: block; margin-bottom: 12px; color: var(--accent-ink); }
.aud-card h3 {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em;
  font-size: 24px; margin: 0 0 10px;
}
.aud-card p { color: var(--ink-2); font-size: 15px; margin: 0 0 18px; }
.aud-card a.more { font-weight: 600; font-size: 14px; color: var(--accent-ink); text-decoration: none; }
.aud-card a.more:hover { text-decoration: underline; }

/* ---------- Partners page ---------- */
.page-hero { padding: 72px 0 56px; }
.page-hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.page-hero-img {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 24px 60px -30px oklch(0.3 0.03 30 / 0.3);
}
.page-hero-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.page-hero h1 {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.025em;
  font-size: clamp(34px, 4.6vw, 52px); line-height: 1.08; margin: 16px 0 18px; max-width: 20ch;
}
.page-hero .lede { font-size: 18px; color: var(--ink-2); max-width: 56ch; margin: 0; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 24px;
}
.benefit .mono { display: block; margin-bottom: 10px; color: var(--accent-ink); }
.benefit h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.benefit p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.how-list { list-style: none; margin: 0; padding: 0; max-width: 640px; }
.how-list li {
  display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.how-list li:last-child { border-bottom: 0; }
.how-list .num { font-family: var(--mono); font-size: 12px; color: var(--accent-ink); flex: none; }
.how-list p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.how-list h3 { margin: 0; font-size: 17px; font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--bg); }
.cta-band .wrap { padding: 64px 24px; text-align: center; }
.cta-band h2 {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(26px, 3.4vw, 38px); margin: 12px 0 12px;
}
.cta-band p { color: oklch(0.75 0.006 60); max-width: 52ch; margin: 0 auto 28px; }
.cta-band .mono { color: oklch(0.65 0.05 10); }
.cta-band .email {
  font-family: var(--mono); font-size: 15px; letter-spacing: 0.02em; text-transform: none;
  color: var(--bg); text-decoration: none; border-bottom: 1px solid oklch(0.5 0.01 60);
}
.cta-band .email:hover { border-color: var(--bg); }
.cta-band .btn { margin-bottom: 18px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 44px; }
.site-footer .wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.site-footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { font-size: 13.5px; color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .copy { font-size: 13px; color: var(--ink-3); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap, .tryon .wrap, .page-hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .page-hero-img { max-width: 420px; }
  .hero-img { order: -1; max-width: 480px; }
  .hero-img img { aspect-ratio: 16/10; object-position: center 22%; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .ideas-row { grid-template-columns: repeat(2, 1fr); }
  .aud { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .site-nav a:not(.btn) { display: none; }
  section { padding: 52px 0; }
  .hero { padding: 44px 0 40px; }
  .steps { grid-template-columns: 1fr; }
}
