/* ============================================================
   ED SLOANE WEDDINGS — LOCKED BRAND SYSTEM
   Only layout/composition varies between options.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Gilda+Display&family=Libre+Caslon+Display&family=Playfair+Display:ital,wght@1,400;1,500&family=Lora:ital,wght@0,400;0,500;1,400&family=Montserrat:wght@400;500;600&display=swap');

:root {
  --bg: #FFFFFF;
  --text: #252525;
  --black: #000000;
  --hair: #BDBDBD;
  --hair-soft: #E4E0DE;
  --panel-1: #FAF8F8;
  --panel-2: #FBFBFB;

  --serif: 'Gilda Display', 'Libre Caslon Display', Georgia, serif;
  --italic: 'Playfair Display', Georgia, serif;
  --body: 'Lora', Georgia, serif;
  --sans: 'Montserrat', -apple-system, system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'IBM Plex Mono', Menlo, monospace;

  --maxw: 1320px;
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Type ---------- */
.serif { font-family: var(--serif); font-weight: 400; line-height: 1.18; letter-spacing: 0.005em; }
.italic { font-family: var(--italic); font-style: italic; font-weight: 400; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.16; letter-spacing: 0.005em; }

.hero-line { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.22; font-weight: 400; }
.display { font-family: var(--serif); font-size: clamp(34px, 6vw, 78px); line-height: 1.08; font-weight: 400; }
.section-title { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); }

.meta {
  font-family: var(--italic);
  font-style: italic;
  font-size: 18px;
  color: #4a4a4a;
}

.body-lg { font-size: 19px; line-height: 1.85; }
p { text-wrap: pretty; }

/* ---------- Labels / nav ---------- */
.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text);
}
.label-sm {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

/* ---------- Logo monogram ---------- */
.es {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--black);
  line-height: 1;
  display: inline-block;
}
.es--light { color: #fff; }
.wordmark {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text);
  transition: opacity .25s ease;
}
.nav-links a:hover { opacity: 0.5; }
.nav--light .nav-links a, .nav--light .wordmark { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text);
  border: 1px solid var(--text);
  padding: 15px 30px;
  background: transparent;
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.btn:hover { background: var(--text); color: #fff; }
.btn--light { color: #fff; border-color: rgba(255,255,255,0.7); }
.btn--light:hover { background: #fff; color: var(--text); }

.link-u {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  border-bottom: 1px solid var(--hair);
  padding-bottom: 4px;
  transition: border-color .25s ease;
}
.link-u:hover { border-color: var(--text); }

/* ---------- Placeholder images ---------- */
.ph {
  position: relative;
  background-color: #efe7e0;
  background-image:
    linear-gradient(135deg, rgba(168,140,112,0.10), rgba(120,116,128,0.06) 55%, rgba(150,128,110,0.10)),
    repeating-linear-gradient(135deg, rgba(90,70,52,0.045) 0 1px, transparent 1px 13px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.ph--cool { background-color: #e6e4e6; background-image:
    linear-gradient(135deg, rgba(120,124,134,0.10), rgba(150,140,140,0.05) 55%, rgba(120,120,132,0.10)),
    repeating-linear-gradient(135deg, rgba(60,60,70,0.045) 0 1px, transparent 1px 13px); }
.ph--dark { background-color: #2c2722; background-image:
    linear-gradient(135deg, rgba(70,60,50,0.5), rgba(30,28,28,0.4) 55%, rgba(60,52,46,0.5)),
    repeating-linear-gradient(135deg, rgba(255,250,240,0.03) 0 1px, transparent 1px 13px); }
.ph--cream { background-color: #f3ede6; background-image:
    linear-gradient(135deg, rgba(190,170,150,0.12), rgba(210,200,188,0.05) 55%, rgba(190,172,150,0.12)),
    repeating-linear-gradient(135deg, rgba(120,100,80,0.04) 0 1px, transparent 1px 13px); }

.ph__tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(37,37,37,0.46);
  margin: 14px;
  padding: 5px 9px;
  background: rgba(255,255,255,0.42);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(37,37,37,0.07);
  line-height: 1.45;
  max-width: 80%;
}
.ph--dark .ph__tag { color: rgba(255,255,255,0.55); background: rgba(0,0,0,0.25); border-color: rgba(255,255,255,0.1); }

.r23 { aspect-ratio: 2 / 3; }
.r32 { aspect-ratio: 3 / 2; }
.r11 { aspect-ratio: 1 / 1; }
.r45 { aspect-ratio: 4 / 5; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 48px; }
.hair { border: none; border-top: 1px solid var(--hair-soft); margin: 0; }
.eyebrow { display: inline-block; margin-bottom: 22px; }
.center { text-align: center; }

/* ---------- Footer ---------- */
.foot {
  border-top: 1px solid var(--hair-soft);
  padding: 64px 0 56px;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.foot .es { font-size: 30px; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col .label-sm { color: var(--hair); display: block; margin-bottom: 14px; }
.foot-col a { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.1em; line-height: 2.1; color: var(--text); }
.foot-col a:hover { opacity: .5; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 24px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 10px; letter-spacing: 0.14em; }
}
