/* Jen + Ian - editorial PNW coastal */
:root {
  --bg: #F9F7F2;
  --bg-section: #FFFFFF;
  --text: #2C3E36;
  --text-muted: #5F6B66;
  --accent: #A4AC96;
  --cta: #D9A066;
  --border: #E6E3DC;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 500; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1rem; }

a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--cta); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1200px) {
  .container { padding: 0 3rem; }
}

.site-main { min-height: 60vh; }

/* Header */
.site-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.site-header-inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.site-brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  letter-spacing: 0.02em;
}
.site-nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.site-nav a.active, .site-nav a:hover { color: var(--text); }

/* Hero */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--bg) 100%);
  background-size: cover;
  background-position: center;
  color: var(--bg-section);
  position: relative;
}
.hero-inner {
  max-width: 42rem;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: inherit;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.hero-sub {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}
.hero .btn-primary {
  background: var(--bg-section);
  color: var(--text);
  border-color: var(--bg-section);
}
.hero .btn-primary:hover {
  background: var(--cta);
  color: var(--bg-section);
  border-color: var(--cta);
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.9rem 1.8rem;
  border: 2px solid var(--text);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary:hover {
  background: var(--cta);
  border-color: var(--cta);
  color: var(--bg-section);
}
.btn-secondary {
  border-color: var(--accent);
  color: var(--text-muted);
}
.btn-secondary:hover {
  border-color: var(--text);
  color: var(--text);
  background: transparent;
}

/* Trust row */
.trust-row {
  padding: 3rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.trust-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text);
}

/* Sections */
.tiers-preview, .about-teaser, .testimonials, .cta-strip {
  padding: 5rem 0;
}
.tiers-preview { background: var(--bg-section); }
.about-teaser { background: var(--bg); }
.testimonials { background: var(--bg-section); }
.cta-strip {
  background: var(--accent);
  color: var(--bg-section);
  text-align: center;
}
.cta-strip h2 { color: var(--bg-section); margin-bottom: 2rem; }
.cta-strip .btn-primary {
  background: transparent;
  border-color: var(--bg-section);
  color: var(--bg-section);
}
.cta-strip .btn-primary:hover { background: var(--cta); border-color: var(--cta); }

.section-head { text-align: center; margin-bottom: 3rem; }
.muted { color: var(--text-muted); }
.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.center { text-align: center; }

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-offset { grid-template-columns: 5fr 7fr; }
}

/* Tier cards */
.card-tier {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--accent);
  background: var(--bg);
  transition: transform 0.2s, border-color 0.2s;
}
.card-tier:hover { transform: translateY(-4px); }
.card-tier--featured {
  border-bottom-color: var(--cta);
  transform: scale(1.02);
  background: var(--bg-section);
  box-shadow: 0 4px 20px rgba(44,62,54,0.06);
}
.tier-price {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--cta);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.card-tier h3 { margin-bottom: 1rem; }

/* Photo frame */
.photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--accent);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
}
.photo-todo {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  font-size: 0.7rem;
  background: rgba(255,255,255,0.8);
  padding: 0.25rem 0.5rem;
  font-family: monospace;
  color: var(--text-muted);
}

/* Testimonials */
.testimonial {
  margin: 0;
  padding: 2rem;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
}
.testimonial--placeholder {
  opacity: 0.6;
  border-left-style: dashed;
}
.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Prose pages */
.prose {
  padding: 4rem 1.5rem;
}
.prose .page-header { margin-bottom: 2.5rem; }
.prose .lede {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--text-muted);
  max-width: 38rem;
}
.prose h2 { margin-top: 2.5rem; }
.prose ul, .prose ol { margin: 0 0 1.5rem 1.5rem; }
.prose li { margin-bottom: 0.4rem; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.prose th, .prose td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

/* Portfolio grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.portfolio-card {
  display: block;
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--bg-section);
  text-decoration: none;
  transition: border-color 0.2s;
}
.portfolio-card:hover { border-color: var(--cta); }
.portfolio-card h3 { margin-bottom: 0.5rem; }
.portfolio-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cta);
  margin-top: 0.5rem;
}

/* Wizard form */
.ja-wizard {
  max-width: 36rem;
  margin: 2rem 0;
  position: relative;
}
.ja-wizard > fieldset {
  border: 1px solid var(--border);
  padding: 2rem;
  background: var(--bg-section);
  margin-bottom: 1rem;
}
.ja-wizard > fieldset > legend {
  font-family: var(--serif);
  font-size: 1.5rem;
  padding: 0 0.5rem;
  color: var(--text);
}
.ja-wizard fieldset fieldset {
  border: none;
  padding: 0;
  margin: 1rem 0;
}
.ja-wizard fieldset fieldset legend {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.ja-wizard label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
}
.ja-wizard input[type=radio] { margin-right: 0.5rem; }
.ja-wizard input[type=text],
.ja-wizard input[type=email],
.ja-wizard input[type=date],
.ja-wizard textarea {
  display: block;
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: 1rem;
  font-family: var(--sans);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 0;
  margin-top: 0.35rem;
}
.ja-wizard input:focus, .ja-wizard textarea:focus {
  outline: 2px solid var(--cta);
  outline-offset: -1px;
  border-color: var(--cta);
}
.ja-wizard .req { color: var(--cta); }
.ja-wizard .hint { color: var(--text-muted); font-size: 0.8rem; font-weight: 400; }
.wizard-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.wizard-progress {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}
.wizard-progress .dot {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-section);
}
.wizard-progress .dot.active {
  background: var(--cta);
  color: var(--bg-section);
  border-color: var(--cta);
}
.form-error {
  color: #a33;
  background: #fdecec;
  padding: 0.75rem 1rem;
  border: 1px solid #f4c4c4;
  margin-top: 1rem;
  font-size: 0.9rem;
}
.cf-turnstile { margin: 1rem 0; }

/* Footer */
.site-footer {
  background: var(--text);
  color: var(--bg);
  padding: 4rem 1.5rem 2rem;
  margin-top: 4rem;
}
.site-footer a { color: var(--bg); text-decoration: none; opacity: 0.85; }
.site-footer a:hover { opacity: 1; color: var(--cta); }
.footer-grid {
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid p { margin: 0 0 0.5rem; font-size: 0.9rem; opacity: 0.85; }
.footer-brand {
  font-family: var(--serif);
  font-size: 1.35rem !important;
  opacity: 1 !important;
  margin-bottom: 0.25rem !important;
}
.footer-tagline { font-size: 0.85rem !important; opacity: 0.7 !important; }
.footer-copyright {
  max-width: 68rem;
  margin: 1.5rem auto 0;
  font-size: 0.8rem;
  opacity: 0.5;
  text-align: center;
}
