/* Leoran — shared brand shell. Palette + type mirror the app design system
   (src/theme/colors.js, src/theme/typography.js, docs/DESIGN.md):
   violet "ink" brand ground, violet primary, gold celebration accent,
   per-role identity colors, platform-serif brand voice. Light theme only,
   same as the app. */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Roboto:wght@400;500;700&display=swap');

:root {
  /* brand core — colors.js */
  --ink:          #3B0764;
  --ink-deep:     #2A0549;
  --ink-light:    #4A1080;
  --primary:      #7C3AED;
  --primary-light:#A78BFA;
  --primary-dark: #5B21B6;
  --primary-bg:   #F5F3FF;
  --gold:         #E8B23A;
  --gold-light:   #F6D06C;
  --gold-dark:    #8A6413;   /* gold-tinted TEXT on light surfaces (AA) */
  --gold-bg:      #FBF3DF;

  /* role identities */
  --photographer: #1D4ED8;
  --editor:       #059669;
  --lab:          #B45309;
  --client:       #7C3AED;

  /* surfaces & text */
  --bg:        #FFFFFF;
  --surface:   #F8F9FA;
  --surface-2: #FAFAFC;
  --text:      #1A1A2E;
  --text-2:    #6B7280;
  --text-3:    #9CA3AF;
  --on-ink:    #EDE9FE;   /* lavender text on ink surfaces */
  --border:    #E5E7EB;
  --hairline:  #E5E7EB;

  --serif: "Noto Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-card: 16px;
  --r-hero: 28px;
  --shadow: 0 1px 2px rgba(59, 7, 100, 0.06), 0 12px 32px -12px rgba(59, 7, 100, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { max-width: 100%; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* eyebrow / small-caps section label — matches Typography.eyebrow */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 20px;
}

/* ---- site header ---- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.brand .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.site-head .nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.site-head .nav a { text-decoration: none; color: var(--text-2); transition: color .15s; }
.site-head .nav a:hover { color: var(--text); }
.site-head .nav .btn { color: #fff; }
@media (max-width: 720px) {
  .site-head .nav a:not(.btn) { display: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--primary-dark); box-shadow: 0 8px 24px -8px rgba(124, 58, 237, 0.5); }
.btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn.ghost:hover { background: transparent; border-color: var(--text); box-shadow: none; }
.btn.on-ink { background: var(--gold); color: var(--ink); }
.btn.on-ink:hover { background: var(--gold-light); box-shadow: 0 8px 24px -8px rgba(232, 178, 58, 0.5); }
.btn.ghost.on-ink { background: transparent; color: var(--on-ink); border-color: rgba(237, 233, 254, 0.3); }
.btn.ghost.on-ink:hover { border-color: var(--on-ink); }

/* ---- footer ---- */
.site-foot {
  background: var(--ink);
  color: var(--on-ink);
  padding: 56px 0 64px;
  font-size: 14px;
}
.site-foot .brand { color: #fff; }
.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 48px;
  align-items: center;
  justify-content: space-between;
}
.site-foot a { text-decoration: none; color: var(--on-ink); opacity: 0.8; }
.site-foot a:hover { opacity: 1; }
.site-foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-foot .made {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.6;
}

/* ---- legal-page prose ---- */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 0;
}
.legal h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.legal .updated {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 40px;
}
.legal h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
}
.legal p, .legal li { color: #37374d; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--primary-dark); text-underline-offset: 2px; }
.legal .back {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-dark);
  text-decoration: none;
}
