/* ============================================================
   Fine Linen Creation — Comp 02: Garden and the Press
   Shared stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Inter:wght@200..700&display=swap');

/* ── Color tokens ── */
:root {
  --ivory:      #F6F1E7;   /* primary background */
  --linen:      #EDE6D5;   /* secondary surface, footer, alt sections */
  --paper:      #FBF8F1;   /* elevated: forms, iframe cards */
  --ink:        #1F1B14;   /* primary text */
  --sage:       #3D5040;   /* primary CTA fill — ONLY filled button color */
  --moss:       #5C6E54;   /* eyebrows, meta */
  --oxblood:    #6B1F2A;   /* italic display emphasis, active nav, links */
  --brass:      #9C7A3C;   /* pull-quote rules, A Party Place sub-brand */
  --stone:      #7A746B;   /* muted stone */
  --divider:    #C7BEAD;   /* faint dividers */

  --lateral-lg: 64px;
  --lateral-md: 40px;
  --lateral-sm: 24px;
  --max-w:      1320px;
  --measure:    720px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--ivory);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Type helpers ── */
.serif {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
}

.display-xl  { font-size: clamp(52px, 6.5vw, 88px);  line-height: 1.05; letter-spacing: -0.01em; }
.display-lg  { font-size: clamp(40px, 5vw, 68px);  line-height: 1.08; letter-spacing: -0.01em; }
.display-md  { font-size: clamp(34px, 4vw, 52px);  line-height: 1.12; }
.heading-h2  { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.20; }
.heading-h3  { font-size: clamp(20px, 1.8vw, 22px); line-height: 1.30; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
}

.body-lg { font-size: clamp(16px, 1.35vw, 17px); line-height: 1.65; }
.body-md { font-size: clamp(14px, 1.1vw, 15px);  line-height: 1.65; }
.body-sm { font-size: clamp(13px, 1vw,  14px);   line-height: 1.60; }

/* Italic oxblood emphasis — brand signature */
em {
  font-style: italic;
  color: var(--oxblood);
}

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--lateral-lg);
  padding-right: var(--lateral-lg);
}
@media (max-width: 1200px) {
  .container { padding-left: var(--lateral-md); padding-right: var(--lateral-md); }
}
@media (max-width: 768px) {
  .container { padding-left: var(--lateral-sm); padding-right: var(--lateral-sm); }
}

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  background: var(--ivory);
  border-bottom: 1px solid var(--linen);
  display: flex;
  align-items: center;
  padding: 0 var(--lateral-lg);
  gap: 0;
}
@media (max-width: 1200px) { .site-nav { padding: 0 var(--lateral-md); } }
@media (max-width: 768px)  { .site-nav { padding: 0 var(--lateral-sm); } }

.nav-wordmark {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 38px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
  letter-spacing: -0.01em;
}
.nav-wordmark .linen-word {
  font-style: italic;
  color: var(--oxblood);
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 250ms ease-out;
}
.nav-links a:hover { color: var(--oxblood); }
.nav-links a.active {
  color: var(--oxblood);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.nav-cta {
  margin-left: 28px;
  flex-shrink: 0;
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--sage);
  text-decoration: none;
  padding: 11px 20px;
  border: none;
  transition: background 200ms ease-out, color 200ms ease-out;
  cursor: pointer;
}
.nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta   { margin-left: auto; }
}

/* ── CTA: Primary (filled sage) ── */
.cta-primary {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--sage);
  text-decoration: none;
  padding: 16px 32px;
  border: none;
  transition: background 200ms ease-out;
  cursor: pointer;
}
.cta-primary:hover { background: var(--ink); }

/* ── CTA: Secondary (oxblood underline text) ── */
.cta-secondary {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--oxblood);
  text-decoration: underline;
  text-decoration-color: var(--oxblood);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity 200ms ease-out;
}
.cta-secondary:hover { opacity: 0.7; }

/* ── Images ── */
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo {
  background-color: var(--linen);
  overflow: hidden;
  position: relative;
}
.photo img { transition: opacity 300ms ease-out; }
.photo:hover img { opacity: 0.88; }

/* ── Sections ── */
.section { padding: 140px 0; }
.section-linen { background: var(--linen); }

@media (max-width: 768px) {
  .section { padding: 80px 0; }
}

/* ── Cards: linen bg, no border/shadow/radius ── */
.card {
  background: var(--linen);
  padding: 0;
}
.card-body { padding: 18px; }

/* ── Brass rule helper ── */
.brass-rule {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--brass);
  margin-bottom: 20px;
}

/* ── Footer ── */
.site-footer {
  background: var(--ivory);
  border-top: 1px solid var(--linen);
  padding: 80px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
.footer-col-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: var(--stone);
  text-decoration: none;
  transition: color 250ms ease-out;
}
.footer-links a:hover { color: var(--ink); }
.footer-links a.app-link {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--oxblood);
}
.footer-links a.app-link:hover { color: var(--oxblood); opacity: 0.75; }

.footer-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--divider);
}
.footer-wordmark {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--stone);
  text-decoration: none;
}
.footer-wordmark .linen-word {
  font-style: italic;
  color: var(--oxblood);
}
.footer-copy {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: var(--stone);
}
