* { box-sizing: border-box; margin: 0; padding: 0; }

:root{
  --primary:#B5482F;
  --secondary:#241A2E;
  --accent:#E3B159;
  --background:#FAF3EA;
  --surface:#FFFFFF;
  --text:#241A1D;
}

html{ scroll-behavior:smooth; }

body{
  font-family:'Work Sans', sans-serif;
  color:var(--text);
  background:var(--background);
  font-size:16px;
  line-height:1.6;
  overflow-x:hidden;
}

.wrap{ max-width:1140px; margin:0 auto; padding:0 24px; }

h1,h2,h3,h4{ font-family:'Fraunces', serif; font-weight:700; letter-spacing:-0.01em; color:var(--secondary); }

em{ font-style:italic; color:var(--primary); }

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

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  font-weight:600; border-radius:999px; padding:14px 30px;
  font-family:'Work Sans', sans-serif;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  border:2px solid transparent; cursor:pointer;
}
.btn-primary{
  background:var(--primary); color:#FFF8EF;
  box-shadow:0 14px 30px -10px rgba(181,72,47,0.55);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 18px 34px -8px rgba(181,72,47,0.6); }
.btn-ghost{ border-color:var(--secondary); color:var(--secondary); }
.btn-ghost:hover{ background:var(--secondary); color:#FAF3EA; }
.btn-accent{ background:var(--accent); color:var(--secondary); box-shadow:0 14px 30px -10px rgba(227,177,89,0.6); }
.btn-accent:hover{ transform:translateY(-2px); }
.btn-small{ padding:10px 22px; font-size:0.9rem; }
.btn-large{ padding:18px 40px; font-size:1.05rem; }

/* Header */
.site-header{
  position:sticky; top:0; z-index:30;
  background:rgba(250,243,234,0.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(36,26,22,0.08);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; padding:16px 24px; }
.logo{ display:flex; align-items:center; gap:10px; }
.logo img{ width:32px; height:32px; }
.logo span{ font-family:'Fraunces', serif; font-weight:700; font-size:1.4rem; font-style:italic; color:var(--secondary); }
.nav-links{ display:flex; gap:36px; font-weight:600; }
.nav-links a{ opacity:0.8; transition:opacity .2s, color .2s; }
.nav-links a:hover, .nav-links a.active{ opacity:1; color:var(--primary); }
.nav-right{ display:flex; align-items:center; gap:28px; }

/* Hero home */
.hero{
  display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;
  padding:80px 0 90px;
}
.eyebrow{
  display:inline-block; background:rgba(181,72,47,0.1); color:var(--primary);
  font-weight:700; font-size:0.78rem; letter-spacing:0.06em; text-transform:uppercase;
  padding:6px 16px; border-radius:999px; margin-bottom:22px;
}
h1.display{ font-size:3.1rem; line-height:1.1; margin-bottom:22px; }
.lede{ font-size:1.15rem; opacity:0.85; max-width:480px; margin-bottom:34px; }
.hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; }
.hero-image-wrap{ position:relative; }
.hero-glow{
  position:absolute; inset:-40px; background:radial-gradient(circle at 60% 30%, rgba(227,177,89,0.55), transparent 65%);
  filter:blur(30px); z-index:0;
}
.hero-image{
  position:relative; z-index:1; border-radius:32px; overflow:hidden;
  box-shadow:0 30px 60px -20px rgba(36,26,34,0.4);
}
.hero-image img{ width:100%; height:100%; object-fit:cover; aspect-ratio:4/3; }

/* Pillars */
.pillars{ padding:70px 0; }
.section-head{ text-align:center; max-width:620px; margin:0 auto 48px; }
.section-head h2{ font-size:2.1rem; margin-bottom:14px; }
.section-head p{ opacity:0.8; font-size:1.05rem; }
.pillar-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.pillar{
  background:var(--surface); border-radius:26px; padding:34px 28px;
  box-shadow:0 14px 34px -18px rgba(36,26,34,0.18);
}
.pillar-icon{ margin-bottom:18px; }
.pillar h3{ font-size:1.25rem; margin-bottom:10px; }
.pillar p{ opacity:0.78; font-size:0.98rem; }

/* Day-to-night teaser */
.teaser{
  padding:70px 0; display:grid; grid-template-columns:0.9fr 1.1fr; gap:48px; align-items:center;
}
.teaser-art{ position:relative; border-radius:28px; overflow:hidden; box-shadow:0 24px 50px -20px rgba(36,26,34,0.35); }
.teaser-art img{ width:100%; aspect-ratio:4/3; object-fit:cover; }
.teaser-copy .eyebrow{ background:rgba(36,26,46,0.08); color:var(--secondary); }
.teaser-copy h2{ font-size:2rem; margin-bottom:16px; }
.teaser-copy p{ opacity:0.82; margin-bottom:26px; max-width:460px; }

/* Photo banner (featured) */
.photo-banner{
  position:relative; min-height:420px; display:flex; align-items:center; justify-content:center;
  margin:20px 0; overflow:hidden;
}
.photo-banner img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
}
.photo-banner::after{
  content:''; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(36,26,34,0.55), rgba(36,26,34,0.75));
}
.photo-banner-inner{ position:relative; z-index:2; text-align:center; color:#FFF8EF; padding:0 24px; max-width:680px; }
.photo-banner-inner p.eyebrow{ background:rgba(255,248,239,0.15); color:#F3DCB6; }
.photo-banner-inner h2{ color:#FFF8EF; font-size:2rem; margin-bottom:8px; }
.photo-credit{
  position:absolute; bottom:14px; right:20px; z-index:2; font-size:0.78rem; color:rgba(255,248,239,0.85);
}
.photo-credit a{ text-decoration:underline; }

/* CTA band */
.cta-band{ background:var(--secondary); color:#FFF8EF; padding:80px 0; text-align:center; border-radius:48px; margin:20px auto 40px; max-width:1140px; }
.cta-band h2{ color:#FFF8EF; font-size:2.2rem; margin-bottom:14px; }
.cta-band p{ opacity:0.82; max-width:480px; margin:0 auto 30px; }

/* Footer */
.site-footer{ background:var(--secondary); color:#FFF8EF; padding:50px 0 30px; }
.footer-inner{ display:flex; flex-direction:column; align-items:center; gap:16px; text-align:center; }
.footer-inner .logo span{ color:#FFF8EF; }
.footer-tag{ opacity:0.7; max-width:420px; }
.footer-links{ display:flex; gap:26px; font-weight:600; opacity:0.85; }
.footer-links a:hover{ color:var(--accent); }
.footer-copy{ opacity:0.5; font-size:0.85rem; margin-top:6px; }
.footer-copy a{ text-decoration:underline; transition:opacity .2s; }
.footer-copy a:hover{ opacity:0.7; }

/* Stories page header */
.stories-header{
  position:relative; min-height:460px; display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.stories-header img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.stories-header::after{ content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(36,26,34,0.5), rgba(36,26,34,0.82)); z-index:1; }
.stories-header-inner{ position:relative; z-index:2; text-align:center; color:#FFF8EF; padding:0 24px; max-width:640px; }
.stories-header-inner .eyebrow{ background:rgba(255,248,239,0.15); color:#F3DCB6; }
.stories-header-inner h1{ color:#FFF8EF; font-size:2.6rem; margin-bottom:14px; }
.stories-header-inner p{ opacity:0.85; font-size:1.05rem; }

.stories-intro{ max-width:640px; margin:56px auto 10px; text-align:center; padding:0 24px; }
.stories-intro p{ opacity:0.8; font-size:1.05rem; }

.story{ padding:56px 0; border-bottom:1px solid rgba(36,26,22,0.08); }
.story .wrap{ display:grid; grid-template-columns:auto 1fr; gap:40px; align-items:start; }
.story-mark{ font-family:'Fraunces', serif; font-size:4.5rem; color:var(--accent); line-height:1; font-weight:700; }
.story-meta{ display:flex; gap:12px; align-items:center; font-size:0.85rem; opacity:0.6; margin-bottom:10px; font-weight:600; text-transform:uppercase; letter-spacing:0.04em; }
.story h2{ font-size:1.9rem; margin-bottom:16px; }
.story p{ margin-bottom:14px; max-width:640px; opacity:0.88; }
.story p.closing{ font-style:italic; color:var(--primary); }

.stories-cta{ text-align:center; padding:70px 24px 90px; }
.stories-cta h2{ font-size:1.9rem; margin-bottom:16px; }
.stories-cta p{ opacity:0.8; max-width:460px; margin:0 auto 28px; }

/* Gallery page */
.gallery-header{ text-align:center; max-width:680px; margin:64px auto 8px; padding:0 24px; }
.gallery-header .eyebrow{ background:rgba(181,72,47,0.1); color:var(--primary); }
.gallery-header h1{ font-size:2.6rem; margin-bottom:14px; }
.gallery-header p{ opacity:0.82; font-size:1.05rem; }
.gallery-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:32px; padding:56px 0 90px; }
.gallery-card{
  background:var(--surface); border-radius:28px; overflow:hidden;
  box-shadow:0 16px 40px -20px rgba(36,26,34,0.25);
  display:flex; flex-direction:column;
}
.gallery-card .gallery-media{
  background:var(--background); display:flex; align-items:center; justify-content:center;
  padding:32px; min-height:220px;
}
.gallery-card.dark-media .gallery-media{ background:var(--secondary); }
.gallery-card .gallery-media img{ max-height:220px; width:auto; max-width:100%; object-fit:contain; }
.gallery-card.wide-media .gallery-media img,
.gallery-card.photo-media .gallery-media img{ width:100%; height:220px; object-fit:cover; }
.gallery-card-body{ padding:24px 28px 28px; }
.gallery-tag{ display:inline-block; font-size:0.72rem; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:var(--primary); margin-bottom:8px; }
.gallery-card h3{ font-size:1.25rem; margin-bottom:8px; }
.gallery-card p{ opacity:0.78; font-size:0.95rem; }

/* Colophon page */
.colophon-header{ text-align:center; max-width:640px; margin:64px auto 8px; padding:0 24px; }
.colophon-header .eyebrow{ background:rgba(181,72,47,0.1); color:var(--primary); }
.colophon-header h1{ font-size:2.4rem; margin-bottom:14px; }
.colophon-header p{ opacity:0.82; font-size:1.05rem; }
.colophon{ max-width:720px; margin:0 auto; padding:56px 24px 100px; }
.colophon-section{ margin-bottom:48px; }
.colophon-section h2{ font-size:1.35rem; margin-bottom:14px; padding-bottom:10px; border-bottom:1px solid rgba(36,26,22,0.1); }
.colophon-section p{ opacity:0.85; margin-bottom:12px; }
.colophon-section a{ color:var(--primary); text-decoration:underline; }
.type-sample{ display:flex; flex-direction:column; gap:18px; margin-top:4px; }
.type-row{ display:flex; align-items:baseline; gap:16px; flex-wrap:wrap; }
.type-row .sample{ font-size:1.8rem; }
.type-row .sample.heading{ font-family:'Fraunces', serif; font-weight:700; }
.type-row .sample.body{ font-family:'Work Sans', sans-serif; font-weight:500; }
.type-row .meta{ font-size:0.85rem; opacity:0.6; font-weight:600; }
.palette-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:8px; }
.swatch{ border-radius:16px; overflow:hidden; box-shadow:0 8px 20px -12px rgba(36,26,34,0.25); }
.swatch-color{ height:64px; }
.swatch-label{ background:var(--surface); padding:10px 14px; font-size:0.8rem; }
.swatch-label strong{ display:block; font-size:0.85rem; }
.swatch-label span{ opacity:0.6; font-family:monospace; }
.colophon-credit{ display:flex; align-items:center; gap:14px; padding:16px 20px; background:var(--surface); border-radius:18px; box-shadow:0 10px 26px -16px rgba(36,26,34,0.2); margin-bottom:14px; }
.colophon-credit svg{ flex:0 0 auto; }

/* 404 */
.notfound{
  min-height:60vh; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:100px 24px; gap:20px;
}
.notfound .spark-big{ margin-bottom:10px; }
.notfound h1{ font-size:2.6rem; }
.notfound p{ opacity:0.8; max-width:440px; }
.notfound-actions{ display:flex; gap:16px; margin-top:10px; flex-wrap:wrap; justify-content:center; }

/* Responsive */
@media (max-width: 900px){
  .hero{ grid-template-columns:1fr; padding-top:50px; }
  .hero-image-wrap{ order:-1; }
  h1.display{ font-size:2.3rem; }
  .pillar-grid{ grid-template-columns:1fr; }
  .teaser{ grid-template-columns:1fr; }
  .teaser-art{ order:-1; }
  .nav-links{ display:none; }
  .story .wrap{ grid-template-columns:1fr; }
  .story-mark{ display:none; }
  .cta-band{ border-radius:28px; margin:20px 16px 40px; }
  .gallery-grid{ grid-template-columns:1fr; }
  .palette-grid{ grid-template-columns:repeat(2,1fr); }
}
