/* ============================================================
   Jesse Photography — Colors & Type
   A monochrome, light-and-airy editorial system.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* ---------- Paper & Ink (core neutrals) ---------- */
  --paper:        #F5F1EA;   /* primary page background — warm bone */
  --paper-deep:   #EBE4D7;   /* a shade darker for sections */
  --paper-soft:   #FAF7F1;   /* lighter wash, near-white */
  --cream:        #F0E9DB;   /* torn-paper, card surfaces */
  --ink:          #1A1814;   /* near-black, primary text */
  --ink-soft:     #3B362F;   /* softer body text */
  --ink-muted:    #6B6459;   /* captions, meta */
  --ink-faint:    #A8A094;   /* dividers, placeholders */
  --rule:         #D7CFC0;   /* hairline borders */

  /* ---------- Accent (used sparingly) ---------- */
  --blood:        #7A1A1F;   /* deep blood red — the single accent */
  --blood-soft:   #B8484D;
  --blush:        #E8D5CC;   /* whisper-warm tint */
  /* legacy aliases, kept so older previews don't break */
  --terracotta:   var(--blood);
  --terracotta-soft: var(--blood-soft);

  /* ---------- Semantic ---------- */
  --fg-1:         var(--ink);
  --fg-2:         var(--ink-soft);
  --fg-3:         var(--ink-muted);
  --fg-4:         var(--ink-faint);
  --bg-1:         var(--paper);
  --bg-2:         var(--paper-soft);
  --bg-3:         var(--cream);
  --bg-4:         var(--paper-deep);
  --accent:       var(--blood);
  --border:       var(--rule);

  /* ---------- Type families ---------- */
  --font-display: "Cormorant Garamond", "Adobe Caslon Pro", Georgia, serif;
  --font-serif:   "Cormorant Garamond", Georgia, serif;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  /* ---------- Type scale (editorial) ---------- */
  --fs-hero:      clamp(56px, 8vw, 132px);
  --fs-display:   clamp(42px, 5vw, 84px);
  --fs-h1:        clamp(34px, 3.6vw, 56px);
  --fs-h2:        clamp(26px, 2.4vw, 36px);
  --fs-h3:        20px;
  --fs-body:      16px;
  --fs-body-sm:   14px;
  --fs-caption:   12px;
  --fs-micro:     10.5px;

  /* ---------- Tracking (letter-spacing is a big part of this vibe) ---------- */
  --tr-loose:     0.32em;   /* all-caps labels, micro-eyebrows */
  --tr-wide:      0.16em;   /* small caps eyebrows */
  --tr-normal:    0.02em;
  --tr-tight:     -0.01em;  /* display serif */
  --tr-snug:     -0.02em;

  /* ---------- Spacing (8pt base, with a 4 step for hairlines) ---------- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;
  --sp-11: 192px;

  /* ---------- Radii — nearly nothing, this is a gallery ---------- */
  --radius-0: 0px;
  --radius-1: 1px;
  --radius-2: 2px;

  /* ---------- Shadows — extremely soft, almost imperceptible ---------- */
  --shadow-1: 0 1px 2px rgba(26, 24, 20, 0.04);
  --shadow-2: 0 8px 24px -12px rgba(26, 24, 20, 0.10);
  --shadow-3: 0 24px 60px -28px rgba(26, 24, 20, 0.18);

  /* ---------- Motion ---------- */
  --ease:        cubic-bezier(0.22, 0.61, 0.36, 1);     /* standard, slightly cinematic */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);          /* for entrances */
  --dur-fast:    180ms;
  --dur-base:    320ms;
  --dur-slow:    600ms;
  --dur-cine:    1200ms;    /* film-reel fade-ins for hero imagery */
}

/* ============================================================
   Base element styles — editorial defaults
   ============================================================ */

html { background: var(--bg-1); color: var(--fg-1); }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--fg-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Display / editorial headlines */
.hero-display,
h1.display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-hero);
  line-height: 0.95;
  letter-spacing: var(--tr-tight);
  color: var(--fg-1);
  font-style: italic;
}

h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.05;
  letter-spacing: var(--tr-tight);
  color: var(--fg-1);
  margin: 0;
}

h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.15;
  letter-spacing: var(--tr-tight);
  color: var(--fg-1);
  margin: 0;
}

h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.3;
  color: var(--fg-1);
  margin: 0;
}

/* The eyebrow — tiny, tracked, all-caps sans. Used ubiquitously. */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-loose);
  text-transform: uppercase;
  color: var(--fg-3);
}

/* The quiet caption — italic serif, often for image meta */
.caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-body-sm);
  color: var(--fg-3);
}

p {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--fg-2);
  text-wrap: pretty;
  margin: 0 0 1em 0;
}

.lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--fg-2);
  font-weight: 300;
}

a {
  color: var(--fg-1);
  text-decoration: none;
  border-bottom: 1px solid var(--fg-4);
  padding-bottom: 1px;
  transition: border-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
a:hover { border-bottom-color: var(--fg-1); }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: var(--sp-7) 0;
}

/* Tiny ornamental divider — three dots centered */
.ornament::before {
  content: "· · ·";
  display: block;
  text-align: center;
  letter-spacing: 0.6em;
  color: var(--fg-4);
  padding: var(--sp-6) 0;
}

/* Selection */
::selection { background: var(--ink); color: var(--paper); }
