/* Zayn & Mama — Editorial Journal
   System sampled from reference screenshots (see brand-spec.md):
   serif italic-accent headlines, deep indigo-purple + pale lavender/
   periwinkle blocks, acid-green highlighter chip, near-black footer
   with a teal CTA, grainy multi-colour gradient hero/card backgrounds,
   rectangular (not pill) buttons. */

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

:root {
  --bg:            #ffffff;
  --paper:         #faf8fc;
  --ink:           #15121c;
  --fg:            #15121c;
  --muted:         #6b6b76;
  --border:        #e7e2ef;

  --purple:        #4a3b8c;
  --purple-deep:   #382c6c;
  --lavender:      #e9e1f8;
  --periwinkle:    #d9e1f9;
  --acid:          #d6fa52;
  --teal:          #1e6f63;
  --teal-hover:    #17594f;

  /* legacy aliases kept so existing markup keeps working */
  --accent:        var(--purple);
  --accent-ink:    var(--purple-deep);
  --accent-soft:   var(--lavender);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1280px;
  --gutter: clamp(20px, 5vw, 56px);
}

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

html { font-size: 16px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 15px;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; border: none; outline: none; background: none; }

:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

/* ========== Layout helpers ========== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.full-bleed { width: 100vw; margin-left: calc(50% - 50vw); }

/* ========== Typography ========== */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 8vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3.8vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.008em;
  color: var(--ink);
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.3;
  color: var(--ink);
}
h4, .h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* em = single italic emphasis word, the reference's signature move —
   headlines stay black by default; colour is applied per-section, not globally */
h1 em, h2 em, h3 em, .display em, blockquote em {
  font-style: italic;
  font-weight: 500;
}
.logo em { font-style: italic; font-weight: 400; }

p { font-size: 15px; line-height: 1.7; }
.lede { font-size: 18px; line-height: 1.6; }

/* Eyebrow / category label — uppercase tracked sans */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
}
.eyebrow-mono {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Highlighter-style chip tag — italic serif on a solid colour fill,
   used sparingly for one or two "mission" style callouts per page */
.chip {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  padding: 3px 10px;
  background: var(--acid);
  color: var(--ink);
}
.chip-lavender { background: var(--lavender); color: var(--purple-deep); font-family: var(--font-body); font-style: normal; font-weight: 700; font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; padding: 6px 12px; }

/* ========== Buttons — rectangular, not pill ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  border-radius: 3px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  min-height: 44px;
  white-space: nowrap;
}
.btn:hover { background: var(--purple); border-color: var(--purple); color: var(--bg); }

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 1px solid var(--purple);
  border-radius: 3px;
}
.btn-outline:hover { background: var(--purple); color: var(--bg); }

.btn-teal {
  background: var(--teal);
  color: var(--bg);
  border: 1px solid var(--teal);
  border-radius: 3px;
}
.btn-teal:hover { background: var(--teal-hover); border-color: var(--teal-hover); }

.btn-accent { background: transparent; color: var(--purple); border: 1px solid var(--purple); border-radius: 3px; }
.btn-accent:hover { background: var(--purple); color: var(--bg); border-color: var(--purple); }

/* kept as an alias so existing markup (.btn-pill) renders the new rectangular style */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg);
  border-radius: 3px;
  border: 1px solid var(--ink);
  transition: background 0.2s, border-color 0.2s;
  min-height: 44px;
}
.btn-pill:hover { background: var(--purple); border-color: var(--purple); }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-text:hover { color: var(--purple-deep); border-color: var(--purple-deep); }

/* ========== Announcement bar ========== */
.announce {
  background: var(--lavender);
  color: var(--purple-deep);
  text-align: center;
  padding: 10px var(--gutter);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.announce a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  margin-left: 10px;
  color: var(--purple-deep);
}
.announce a:hover { color: var(--purple); }

/* ========== Site header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  white-space: nowrap;
  color: var(--ink);
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav-item { position: relative; }
.nav-item > a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s;
  padding: 26px 0;
  display: block;
}
.nav-item > a:hover { color: var(--purple); }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 16px 20px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 0;
  color: var(--ink);
  transition: color 0.15s;
}
.nav-dropdown a:hover { color: var(--purple); }

.header-utility {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.header-utility a { transition: color 0.2s; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.header-utility a:hover { color: var(--purple); border-color: var(--purple); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); transition: 0.3s; }

/* ========== Newsletter hero block — grainy multi-colour gradient ========== */
.newsletter-hero {
  position: relative;
  background:
    radial-gradient(60% 90% at 8% 20%, #ffd9a0 0%, transparent 60%),
    radial-gradient(55% 85% at 85% 15%, #ffd1e2 0%, transparent 60%),
    radial-gradient(70% 90% at 50% 100%, #b9e6e0 0%, transparent 65%),
    radial-gradient(50% 70% at 95% 90%, #ffe29e 0%, transparent 60%),
    linear-gradient(135deg, #f4e9d8, #f6dfe6 55%, #d9ece7);
  padding: clamp(56px, 9vw, 104px) var(--gutter);
  text-align: center;
  overflow: hidden;
}
.newsletter-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  pointer-events: none;
}
.newsletter-hero > * { position: relative; z-index: 1; }
.newsletter-hero h2 {
  font-size: clamp(38px, 7.5vw, 80px);
  line-height: 1.05;
  margin-bottom: 16px;
  color: var(--ink);
}
.newsletter-hero .sub {
  font-size: 17px;
  color: var(--ink);
  opacity: 0.75;
  max-width: 540px;
  margin: 0 auto 32px;
}
.newsletter-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  border: 1.5px solid var(--ink);
  background: var(--bg);
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  font-size: 15px;
  background: var(--bg);
  color: var(--ink);
  min-height: 48px;
}
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form button {
  padding: 0 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg);
  transition: background 0.2s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--purple); }
.newsletter-note {
  font-size: 12px;
  color: var(--ink);
  opacity: 0.6;
  margin-top: 14px;
}

/* ========== Article sections ========== */
.section { padding: clamp(48px, 7vw, 84px) 0; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}
.section-header h2 { font-size: clamp(26px, 3.6vw, 38px); }

/* Category tabs */
.cat-tabs {
  display: flex;
  gap: 28px;
  margin-bottom: 36px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  padding: 6px 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  background: none;
}
.cat-tab:hover { color: var(--ink); }
.cat-tab.active { color: var(--ink); border-bottom-color: var(--ink); }

/* Article card */
.card { display: block; }
.card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--paper);
  margin-bottom: 14px;
  position: relative;
}
.card-img .ph { width: 100%; height: 100%; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-cat {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
  color: var(--ink);
  transition: color 0.2s;
}
.card:hover .card-title { color: var(--purple); }
.card-date {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Card thumbnail placeholder colour variants — soft grainy gradient blocks,
   standing in for photography until real photos are added */
.ph-grad-1 { background: radial-gradient(120% 120% at 10% 10%, #ffd9c2, transparent 55%), radial-gradient(120% 120% at 90% 90%, #ffc2d6, transparent 55%), linear-gradient(135deg, #ffe7d6, #ffd6e6); }
.ph-grad-2 { background: radial-gradient(120% 120% at 15% 20%, #d7f5df, transparent 55%), radial-gradient(120% 120% at 90% 80%, #bfe9e6, transparent 55%), linear-gradient(135deg, #e7f7e2, #cdeee9); }
.ph-grad-3 { background: radial-gradient(120% 120% at 20% 15%, #e2ddfb, transparent 55%), radial-gradient(120% 120% at 85% 85%, #d3e2fb, transparent 55%), linear-gradient(135deg, #ece7fb, #dbe6fb); }
.ph-grad-4 { background: radial-gradient(120% 120% at 15% 85%, #fff2b0, transparent 55%), radial-gradient(120% 120% at 85% 15%, #ffd9a0, transparent 55%), linear-gradient(135deg, #fff3c9, #ffe2b8); }

/* ========== Promotion blocks (full-width) ========== */
.promo {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(56px, 9vw, 110px) var(--gutter);
  text-align: center;
}
.promo-light { background: var(--paper); color: var(--ink); }
.promo-white { background: var(--bg); color: var(--ink); }
.promo-white h2 { color: var(--purple-deep); }
.promo-dark { background: var(--ink); color: var(--bg); }
.promo-accent { background: var(--periwinkle); color: var(--purple-deep); }

.promo-chip {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  background: var(--acid);
  color: var(--ink);
  padding: 4px 14px;
  margin-bottom: 24px;
}
.promo-dark .promo-chip { background: var(--bg); color: var(--ink); font-style: normal; font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.promo-accent .promo-chip { background: var(--lavender); color: var(--purple-deep); font-style: normal; font-family: var(--font-body); font-weight: 700; font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; }

.promo h2 {
  font-size: clamp(34px, 5.8vw, 60px);
  line-height: 1.12;
  max-width: 820px;
  margin: 0 auto 20px;
  color: var(--ink);
}
.promo-accent h2 { color: var(--purple-deep); }
.promo-dark h2 em { color: var(--acid); }
.promo .sub {
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 32px;
  opacity: 0.85;
}
.promo .btn-pill { margin: 0 auto; }
.promo-dark .btn-pill { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.promo-dark .btn-pill:hover { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.promo-accent .btn-pill { background: var(--bg); color: var(--purple-deep); border: 1px solid var(--purple); }
.promo-accent .btn-pill:hover { background: var(--purple); color: var(--bg); border-color: var(--purple); }

/* ========== Ticker / marquee ========== */
.ticker {
  background: var(--lavender);
  color: var(--purple-deep);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
}
.ticker-track {
  display: inline-flex;
  gap: 44px;
  animation: ticker-scroll 32s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
}
.ticker-track span::after {
  content: '✶';
  margin-left: 44px;
  font-style: normal;
  opacity: 0.5;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ========== Full-bleed image + text block ========== */
.hero-bleed {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 56vw, 600px);
  display: flex;
  align-items: flex-end;
  background: var(--paper);
  overflow: hidden;
}
.hero-bleed-img {
  position: absolute;
  inset: 0;
}
.hero-bleed-content {
  position: relative;
  z-index: 2;
  margin: 24px;
  padding: 28px 32px;
  max-width: 560px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 32px rgba(20,15,40,0.14);
}
.hero-bleed-content h2 {
  font-size: clamp(32px, 5.5vw, 58px);
  margin-bottom: 16px;
  color: var(--ink);
}
.hero-bleed-content p {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 0 26px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ========== Grids ========== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ========== Quote section ========== */
.quote-section {
  background: var(--paper);
  padding: clamp(56px, 8vw, 100px) var(--gutter);
  text-align: center;
}
.quote-section blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3.5vw, 38px);
  line-height: 1.3;
  max-width: 780px;
  margin: 0 auto 24px;
  color: var(--ink);
}
.quote-section cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ========== Footer ========== */
.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding: 72px 0 32px;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-brand .logo { color: var(--bg); font-size: 26px; }
.footer-brand p { font-size: 14px; opacity: 0.65; margin-top: 14px; max-width: 300px; line-height: 1.6; }
.footer-social { display: flex; gap: 16px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-social a:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14px; opacity: 0.8; transition: opacity 0.2s; }
.footer-col ul li a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

.footer-news h4 { color: rgba(255,255,255,0.55); }
.footer-news p { font-size: 14px; opacity: 0.65; margin-bottom: 16px; line-height: 1.5; }
.footer-news .newsletter-form { border-color: rgba(255,255,255,0.35); max-width: 100%; background: transparent; }
.footer-news .newsletter-form input { background: transparent; color: var(--bg); }
.footer-news .newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.footer-news .newsletter-form button { background: var(--teal); color: var(--bg); }
.footer-news .newsletter-form button:hover { background: var(--teal-hover); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 12px;
  opacity: 0.55;
}

/* ========== Placeholder image (until real photography is added) ========== */
.ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--paper);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ph::before {
  content: '';
  width: 34px;
  height: 34px;
  background: var(--ink);
  opacity: 0.25;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='2' y='5' width='20' height='15' rx='2'/%3E%3Ccircle cx='12' cy='12.5' r='3.5'/%3E%3Cpath d='M8 5l1.5-2h5L16 5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='2' y='5' width='20' height='15' rx='2'/%3E%3Ccircle cx='12' cy='12.5' r='3.5'/%3E%3Cpath d='M8 5l1.5-2h5L16 5'/%3E%3C/svg%3E") center / contain no-repeat;
  position: relative;
  z-index: 1;
}
.ph span, .ph .ph-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}
.ph-tall { aspect-ratio: 3/4; }
.ph-wide { aspect-ratio: 16/9; }
.ph-square { aspect-ratio: 1/1; }

/* Real photography fills these containers edge to edge */
.about-portrait img,
.hero-bleed-img img,
.article-hero-img img,
.feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== Page hero (interior pages) ========== */
.page-hero {
  background: var(--paper);
  padding: clamp(48px, 7vw, 80px) var(--gutter);
  text-align: center;
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero p { font-size: 17px; color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ========== Article page ========== */
.article-hero {
  text-align: center;
  padding: clamp(40px, 6vw, 64px) var(--gutter) 32px;
}
.article-hero .card-cat { font-size: 12px; justify-content: center; display: flex; }
.article-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  max-width: 780px;
  margin: 12px auto 16px;
}
.article-hero .meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.article-hero-img {
  max-width: var(--max-width);
  margin: 32px auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--paper);
}
.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--gutter) 48px;
}
.article-body p { font-size: 17px; line-height: 1.8; margin-bottom: 24px; }
.article-body h2 { margin: 48px 0 16px; font-size: clamp(24px, 3.2vw, 32px); }
.article-body h3 { margin: 36px 0 12px; }
.article-body blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  margin: 36px 0;
  padding-left: 24px;
  border-left: 3px solid var(--purple);
  color: var(--ink);
}
.article-author {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 48px 0;
}
.article-author .avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--periwinkle);
  flex-shrink: 0;
}
.article-author .name { font-weight: 700; font-size: 15px; }
.article-author .bio { font-size: 13px; color: var(--muted); }

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--purple);
  width: 0;
  z-index: 200;
  transition: width 0.1s;
}

/* ========== About page ========== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: clamp(48px, 7vw, 80px) 0;
}
.about-portrait {
  aspect-ratio: 4/5;
  background: var(--paper);
  overflow: hidden;
}
.about-text h1 { margin-bottom: 20px; }
.about-text p { margin-bottom: 18px; font-size: 16px; line-height: 1.75; }
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 48px 0;
}
.value-card .num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 36px;
  color: var(--purple);
  margin-bottom: 8px;
}
.value-card h3 { margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ========== Contact page ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: clamp(48px, 7vw, 80px) 0;
}
.contact-info h2 { margin-bottom: 20px; }
.contact-info .detail { margin-bottom: 24px; }
.contact-info .detail .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-info .detail .value { font-size: 16px; font-weight: 500; }
.contact-info .detail a { color: var(--purple); border-bottom: 1px solid var(--purple); }

.contact-form .field { margin-bottom: 20px; }
.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 15px;
  min-height: 48px;
  transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  border-color: var(--purple);
  outline: none;
}
.contact-form textarea { min-height: 140px; resize: vertical; }

/* ========== Blog listing ========== */
.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
  padding: 32px 0 64px;
}
.blog-list .card .card-img { aspect-ratio: 4/3; }
.blog-list .card-title { font-size: 19px; }

.featured-article {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.featured-article .feat-img {
  aspect-ratio: 4/3;
  background: var(--paper);
}
.featured-article h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 12px 0 16px;
}
.featured-article p { font-size: 16px; color: var(--muted); margin-bottom: 20px; }

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .blog-list { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand, .footer-news { grid-column: 1 / -1; }
  .about-intro { grid-template-columns: 1fr; gap: 32px; }
  .about-values { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .featured-article { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 24px; }
  .blog-list { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .nav {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px var(--gutter);
    gap: 18px;
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav-item > a { padding: 8px 0; }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; border: none; padding: 8px 0 8px 16px; }
  .menu-toggle { display: flex; }
  .header-utility { display: none; }
  .header-inner { height: 56px; }
  .newsletter-form { flex-direction: column; gap: 0; }
  .newsletter-form button { padding: 14px; }
}
