/* ----------------------------------------------------
   SELF-HOSTED FONTS (GitHub Pages compatible)
---------------------------------------------------- */

/* Pinyon Script – LOGO */
@font-face {
  font-family: 'Pinyon Script';
  src: url('fonts/PinyonScript-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Noto Serif Display – Condensed Regular */
@font-face {
  font-family: 'Noto Serif Display';
  src: url('fonts/NotoSerifDisplay_Condensed-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Noto Serif Display – Condensed SemiBold */
@font-face {
  font-family: 'Noto Serif Display';
  src: url('fonts/NotoSerifDisplay_Condensed-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Noto Serif Display – Condensed Italic */
@font-face {
  font-family: 'Noto Serif Display';
  src: url('fonts/NotoSerifDisplay_Condensed-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Cormorant Garamond – Regular */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Cormorant Garamond – Italic */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ----------------------------------------------------
   VARIABLES
---------------------------------------------------- */
:root {
  --burgundy: #7a0f1d;
  --overlay: rgba(0, 0, 0, 0.4);

  --font-body: 'Cormorant Garamond', serif;
  --font-logo: 'Pinyon Script', cursive;
  --font-display: 'Noto Serif Display', serif;
}

/* ----------------------------------------------------
   GLOBAL BASE
---------------------------------------------------- */
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ----------------------------------------------------
   LOGO FONT
---------------------------------------------------- */
.site-logo,
.site-logo a {
  font-family: var(--font-logo) !important;
  font-weight: 400;
  font-style: normal;
  color: var(--burgundy);
}

/* ----------------------------------------------------
   SIDEBAR
---------------------------------------------------- */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: var(--burgundy);
  padding: 110px 24px 30px;
  color: white;
  transform: translateX(-280px);
  transition: transform 0.4s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 3000;
}

.sidebar.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sidebar .nav a {
  display: block;
  padding: 12px 4px;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 22px;
  color: #fff;
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 2500;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ----------------------------------------------------
   HEADER
---------------------------------------------------- */
.top-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  background: #ffffff;
  z-index: 2000;
  border-bottom: 1px solid #eee;
}

.site-logo {
  margin: 0;
  font-size: 54px;
  color: var(--burgundy) !important;
}

/* Sidebar button */
.toggle-btn {
  position: fixed !important;   /* escape header stacking context */
  top: 22px !important;
  left: 32px !important;

  background: var(--burgundy);
  color: white;
  border: none;
  font-size: 22px;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;

  z-index: 9999 !important;     /* higher than sidebar + overlay */
}


/* Subscribe button */
.header-subscribe-btn {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 18px;
  background: var(--burgundy);
  color: white;
  border-radius: 999px;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
}

/* ----------------------------------------------------
   HERO SECTION
---------------------------------------------------- */
.hero-section {
  width: 100%;
  margin-top: 90px; /* Push hero below fixed header */
}

.hero-image-wrapper {
  position: relative;
  max-height: 420px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 11px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-gradient-overlay {
  position: absolute;
  left: 0; 
  right: 0; 
  bottom: -1px;
  height: 140px;
  background: linear-gradient(to bottom, rgba(245,245,247,0) 0%, #f5f5f7 100%);
}

/* ----------------------------------------------------
   EDITORIAL SECTION
---------------------------------------------------- */
.editorial-section {
  max-width: 900px;
  margin: 40px auto 60px;
  text-align: center;
  padding: 0 24px;
}

.editorial-tagline {
  font-family: var(--font-logo);
  font-size: 23px;
  color: var(--burgundy);
}

.editorial-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.editorial-italic {
  font-style: italic;
}

.editorial-body {
  max-width: 820px;
  margin: 20px auto 0;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.7;
}

/* ----------------------------------------------------
   CURATED SECTION
---------------------------------------------------- */
.curated-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 24px;
}

.curated-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  text-transform: lowercase;
}

.curated-title span {
  font-style: italic;
}

.curated-placeholder {
  margin-top: 14px;
  font-size: 16px;
  opacity: 0.5;
  font-family: var(--font-body);
}

/* ===== SUBSCRIBE PAGE ===== */

.subscribe-hero {
  margin-top: 140px;
  text-align: center;
  padding: 0 24px;
}

.subscribe-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  color: var(--burgundy);
  margin-bottom: 20px;
}

.subscribe-subtext {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 20px;
  line-height: 1.6;
}

.subscribe-form-wrapper {
  text-align: center;
}

.subscribe-form {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.subscribe-form input {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 10px 14px;
  border: 1px solid #bbb;
  border-radius: 4px;
  min-width: 220px;
}

.subscribe-submit {
  background: var(--burgundy);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 15px;
  cursor: pointer;
  border-radius: 4px;
}

.subscribe-login {
  margin-top: 26px;
  font-size: 16px;
}

.login-btn {
  margin-left: 6px;
  color: var(--burgundy);
  font-weight: 600;
}

/* ----------------------------------------------------
   SELF-HOSTED FONTS (GitHub Pages compatible)
---------------------------------------------------- */

/* Pinyon Script – LOGO */
@font-face {
  font-family: 'Pinyon Script';
  src: url('fonts/PinyonScript-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Noto Serif Display – Condensed Regular */
@font-face {
  font-family: 'Noto Serif Display';
  src: url('fonts/NotoSerifDisplay_Condensed-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Noto Serif Display – Condensed SemiBold */
@font-face {
  font-family: 'Noto Serif Display';
  src: url('fonts/NotoSerifDisplay_Condensed-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Noto Serif Display – Condensed Italic */
@font-face {
  font-family: 'Noto Serif Display';
  src: url('fonts/NotoSerifDisplay_Condensed-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Cormorant Garamond – Regular */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Cormorant Garamond – Italic */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ----------------------------------------------------
   VARIABLES
---------------------------------------------------- */
:root {
  --burgundy: #7a0f1d;
  --overlay: rgba(0, 0, 0, 0.4);

  --font-body: 'Cormorant Garamond', serif;
  --font-logo: 'Pinyon Script', cursive;
  --font-display: 'Noto Serif Display', serif;
}

/* ----------------------------------------------------
   GLOBAL BASE
---------------------------------------------------- */
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ----------------------------------------------------
   LOGO FONT
---------------------------------------------------- */
.site-logo,
.site-logo a {
  font-family: var(--font-logo) !important;
  font-weight: 400;
  font-style: normal;
  color: var(--burgundy);
}

/* ----------------------------------------------------
   SIDEBAR
---------------------------------------------------- */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: var(--burgundy);
  padding: 110px 24px 30px;
  color: white;
  transform: translateX(-280px);
  transition: transform 0.4s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 3000;
}

.sidebar.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sidebar .nav a {
  display: block;
  padding: 12px 4px;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 22px;
  color: #fff;
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 2500;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ----------------------------------------------------
   HEADER
---------------------------------------------------- */
.top-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  background: #ffffff;
  z-index: 2000;
  border-bottom: 1px solid #eee;
}

.site-logo {
  margin: 0;
  font-size: 54px;
  color: var(--burgundy) !important;
}

/* Sidebar button */
.toggle-btn {
  position: fixed !important;   /* escape header stacking context */
  top: 22px !important;
  left: 32px !important;

  background: var(--burgundy);
  color: white;
  border: none;
  font-size: 22px;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;

  z-index: 9999 !important;     /* higher than sidebar + overlay */
}


/* Subscribe button */
.header-subscribe-btn {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 18px;
  background: var(--burgundy);
  color: white;
  border-radius: 999px;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
}

/* ----------------------------------------------------
   HERO SECTION
---------------------------------------------------- */
.hero-section {
  width: 100%;
  margin-top: 90px; /* Push hero below fixed header */
}

.hero-image-wrapper {
  position: relative;
  max-height: 420px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 11px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-gradient-overlay {
  position: absolute;
  left: 0; 
  right: 0; 
  bottom: -1px;
  height: 140px;
  background: linear-gradient(to bottom, rgba(245,245,247,0) 0%, #f5f5f7 100%);
}

/* ----------------------------------------------------
   EDITORIAL SECTION
---------------------------------------------------- */
.editorial-section {
  max-width: 900px;
  margin: 40px auto 60px;
  text-align: center;
  padding: 0 24px;
}

.editorial-tagline {
  font-family: var(--font-logo);
  font-size: 23px;
  color: var(--burgundy);
}

.editorial-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.editorial-italic {
  font-style: italic;
}

.editorial-body {
  max-width: 820px;
  margin: 20px auto 0;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.7;
}

/* ----------------------------------------------------
   CURATED SECTION
---------------------------------------------------- */
.curated-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 24px;
}

.curated-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  text-transform: lowercase;
}

.curated-title span {
  font-style: italic;
}

.curated-placeholder {
  margin-top: 14px;
  font-size: 16px;
  opacity: 0.5;
  font-family: var(--font-body);
}

/* ===== SUBSCRIBE PAGE ===== */

.subscribe-hero {
  margin-top: 140px;
  text-align: center;
  padding: 0 24px;
}

.subscribe-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  color: var(--burgundy);
  margin-bottom: 20px;
}

.subscribe-subtext {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 20px;
  line-height: 1.6;
}

.subscribe-form-wrapper {
  text-align: center;
}

.subscribe-form {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.subscribe-form input {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 10px 14px;
  border: 1px solid #bbb;
  border-radius: 4px;
  min-width: 220px;
}

.subscribe-submit {
  background: var(--burgundy);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 15px;
  cursor: pointer;
  border-radius: 4px;
}

.subscribe-login {
  margin-top: 26px;
  font-size: 16px;
}

.login-btn {
  margin-left: 6px;
  color: var(--burgundy);
  font-weight: 600;
}

.subscribe-success {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--burgundy);
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.4s ease;
  text-align: center;
}

.subscribe-success.show {
  opacity: 1;
}

.subscribe-submit:disabled {
  pointer-events: none;
}

/* ------------------------------
   CURATED SCROLL (covers + captions)
------------------------------ */

.curated-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 18px 2px 10px;
  -webkit-overflow-scrolling: touch;
}

.curated-scroll::-webkit-scrollbar {
  height: 6px;
}

/* only if you’re using a horizontal scroll row somewhere above */
.curated-scroll-item{
  flex: 0 0 auto;     /* prevents shrinking */
}


.curated-scroll::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 999px;
}

.curated-item {
  flex: 0 0 auto;
  width: 240px; /* cover width */
  text-decoration: none;
  color: inherit;
}

.curated-cover {
  width: 100%;
  height: 340px; /* cover height */
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.curated-caption {
  margin: 10px 2px 0;
  font-family: var(--font-display); /* Noto Serif Display condensed regular */
  font-weight: 400;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0.01em;
}


/* ---------- Article Cover Image ---------- */
.article-hero {
  margin-top: 3rem;        /* creates space below header */
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
}

.article-hero img {
  max-width: 820px;        /* editorial width */
  width: 90%;
  height: auto;
  border-radius: 2px;      /* subtle polish */
}

/* ---------- Article Layout ---------- */
.article-content {
  max-width: 680px;
  margin: 0 auto;
  padding-bottom: 5rem;
}

/* ---------- Article Title ---------- */
.article-title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 400;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

/* ---------- Author ---------- */
.article-author {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 3rem;
}

/* ---------- Subheads ---------- */
.article-subhead {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
}

/* ---------- Body ---------- */
.article-body {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.85;
  margin-bottom: 1.75rem;
  text-indent: 0.75em;
}

.article-body:first-of-type {
  text-indent: 0;
}

/* Emphasized section break (e.g. "7 Ways to Wear It Now") */
.article-subhead.section-break {
  font-size: 1.75rem;
  margin-top: 4.5rem;
  margin-bottom: 2rem;
}

/* ------------------------------
   ARTICLES GRID
------------------------------ */



.articles-grid-section {
  max-width: 1200px;          /* wider so cards can sit side-by-side */
  margin: 140px auto 80px;
  padding: 0 40px;
}

/* Push articles below fixed header */
.articles-grid-section {
  margin-top: 140px;   /* separates header from content */
}

/* TRUE side-by-side grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row on desktop */
  gap: 48px 32px;
}


.articles-grid-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 32px;
  text-transform: lowercase;
}


/* Card */
.article-card {
  text-decoration: none;
  color: inherit;
}

.article-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* Title */
.article-card-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

/* Author */
.article-card-author {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}
@media (max-width: 900px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= FOOTER (Vogue-inspired) ================= */
.site-footer {
  margin-top: 90px;
  background: #000;
  color: #fff;
  padding: 70px 22px 40px;
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-logo);
  font-weight: 400;
  text-transform: normal;
  font-size: 45px;
  margin-bottom: 14px;
}

.footer-blurb {
  max-width: 720px;
  margin: 0 auto 34px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.footer-social a {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.95;
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 auto 40px;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.92;
}

.footer-links a:hover {
  opacity: 0.65;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 22px;
  font-size: 13px;
  opacity: 0.7;
  font-family: var(--font-body);
}

/* Wider screens: footer links become columns */
@media (min-width: 720px) {
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    max-width: 520px;
  }
}
@media (min-width: 980px) {
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    max-width: 720px;
  }
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin: 22px 0 26px;
}

.social-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-icon svg {
  width: 28px;
  height: 28px;
  fill: #ffffff; /* assuming your footer is black */
}

.social-icon:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.legal-page{
  max-width: 760px;
  margin: 140px auto 80px;
  padding: 0 24px;
}

.legal-title{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 44px;
  text-transform: lowercase;
  margin: 0 0 18px;
  color: var(--burgundy);
}

.legal-subhead{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 34px 0 10px;
}

.legal-body{
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.8;
  margin: 0 0 16px;
}

.article-content {
  margin-top: 160px;
}

.home-subscribe-cta {
  margin-top: 120px; /* clears fixed header */
  margin-bottom: 36px;
  text-align: center;
}

.home-subscribe-btn {
  display: inline-block;
  padding: 10px 28px;
  background: var(--burgundy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.home-subscribe-btn:hover {
  opacity: 0.85;
}

/* ===== Curated For You (template like your screenshot) ===== */
.curated {
  max-width: 1050px;
  margin: 60px auto;
  padding: 0 18px;
}

.curated-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.curated-title {
  font-family: "Noto Serif Display", serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin: 0;
}

.curated-shopmore {
  font-family: "Noto Serif Display", serif;
  font-size: 12px;
  text-decoration: underline;
  color: inherit;
  opacity: 0.9;
}

.curated-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 280px;
  grid-template-rows: 170px 270px;
  gap: 18px;
  align-items: stretch;
}

/* clickable image containers */
.curated-box {
  display: block;
  border: 1px solid rgba(0,0,0,0.35);
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.curated-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* top row boxes */
.curated-small {
  grid-row: 1;
}

/* big feature box */
.curated-feature {
  grid-column: 1 / span 3;
  grid-row: 2;
}

/* right column stack */
.curated-shop {
  grid-column: 4;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.curated-shop-title {
  font-family: "Noto Serif Display", serif;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.curated-shop .curated-item {
  height: 70px;
}

.curated-shopmore.bottom {
  align-self: flex-end;
  margin-top: 2px;
  font-family: "Noto Serif Display", serif;
  font-size: 12px;
  text-decoration: underline;
  color: inherit;
  opacity: 0.9;
}

/* hover: subtle, editorial */
.curated-box:hover img {
  transform: scale(1.02);
  transition: transform 180ms ease;
}

/* responsive */
@media (max-width: 900px) {
  .curated-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .curated-small { grid-column: auto; grid-row: auto; height: 160px; }
  .curated-feature { grid-column: 1 / -1; height: 260px; }
  .curated-shop { grid-column: 1 / -1; }
   .curated-shop .curated-item { height: 90px; }
}

/* ===== Shop page ===== */
.shop-page {
  max-width: 1050px;
  margin: 120px auto 80px; /* assumes fixed header */
  padding: 0 18px;
}

.shop-page-title {
  font-family: "Noto Serif Display", serif;
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.shop-page-subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  margin: 0 0 26px 0;
  opacity: 0.85;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.shop-card {
  border: 1px solid rgba(0,0,0,0.25);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  background: #fff;
}

.shop-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.shop-meta {
  padding: 12px 12px 14px;
}

.shop-name {
  font-family: "Noto Serif Display", serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.shop-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .shop-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-card img { height: 240px; }
}

/* ================================
   Curated shopping section (mobile-first)
   ================================ */

.curated-shopwrap{
  max-width: 1100px;
  margin: 46px auto 70px;
  padding: 0 16px;
}

.curated-shopwrap-header{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.curated-shopwrap-title{
  margin: 0;
  font-family: "Noto Serif Display", serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.curated-shopwrap-more{
  font-family: "Noto Serif Display", serif;
  font-size: 13px;
  text-decoration: underline;
  color: inherit;
  opacity: 0.9;
}

.curated-shopwrap-more.bottom{
  align-self: flex-end;
  margin-top: 6px;
}

/* MOBILE LAYOUT: stack everything, no overlap possible */
.curated-shopgrid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* boxes */
.curated-shopwrap .shopbox{
  display: block;
  border: 1px solid rgba(0,0,0,0.35);
  background: #fff;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.curated-shopwrap .shopbox img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile-friendly heights using aspect-ratio (prevents overlap) */
.shopbox--small{ aspect-ratio: 16 / 10; }
.shopbox--feature{ aspect-ratio: 16 / 11; }
.shopbox--item{ aspect-ratio: 16 / 7; }

.shoplook{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shoplook-title{
  margin: 0 0 2px 0;
  font-family: "Noto Serif Display", serif;
  font-size: 16px;
  font-weight: 600;
}

/* subtle hover (won’t break mobile) */
@media (hover:hover){
  .shopbox img{
    transition: transform 180ms ease;
  }
  .shopbox:hover img{
    transform: scale(1.02);
  }
}

/* ================================
   TABLET/DESKTOP ENHANCEMENT
   ================================ */
@media (min-width: 820px){
  .curated-shopgrid{
    grid-template-columns: repeat(3, minmax(0, 1fr)) 280px;
    gap: 18px;
    align-items: start;
  }

  /* top 3 style pics */
  .shopbox--small:nth-of-type(1){ grid-column: 1; grid-row: 1; }
  .shopbox--small:nth-of-type(2){ grid-column: 2; grid-row: 1; }
  .shopbox--small:nth-of-type(3){ grid-column: 3; grid-row: 1; }

  /* featured spans 3 columns on row 2 */
  .shopbox--feature{
    grid-column: 1 / 4;
    grid-row: 2;
  }

  /* shoplook sits right side */
  .shoplook{
    grid-column: 4;
    grid-row: 2;
  }
}

/* ===== Curated (articles) should ALWAYS stay horizontal ===== */
.curated-scroll{
  display: flex;
  flex-wrap: nowrap;          /* KEY: never wrap to a new line */
  gap: 18px;
  overflow-x: auto;           /* horizontal scroll */
  overflow-y: hidden;         /* prevent vertical weirdness */
  -webkit-overflow-scrolling: touch; /* smooth on iPhone */
  padding-bottom: 10px;       /* space for scrollbar */
}

/* Curated slider cards */
.curated-item{
  flex: 0 0 320px;
  min-width: 320px;
}

/* Full-size feel: let height scale naturally */
.curated-cover{
  width: 100%;
  height: auto;            /* remove fixed height */
  aspect-ratio: 3 / 4;   /* controls the visible size */
  object-fit: cover;
  display: block;
  border-radius: 6px;      /* optional; remove if you don’t want */
}

.curated-scroll{
  width: 100%;
  max-width: 100%;
}

.curated-item{
  flex: 0 0 320px;   /* hard width in flex-basis */
  min-width: 320px;  /* prevents any browser shrink behavior */
}
html, body{
  overflow-x: hidden;
}

/* ==============================
   MEET OUR TEAM (team.html)
   Responsive grid, side-by-side
============================== */

.team-wrap {
  margin-top: 42px;
}

/* Section headers (Editor-in-Chief, Journalists, etc.) */
.team-section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.02em;
  margin: 46px 0 18px;
  text-transform: lowercase;
}

/* Grid that automatically wraps into rows */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 across on desktop */
  gap: 26px;
  margin-bottom: 18px;
}

/* Card */
.team-card {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 26px 26px 24px;   /* more internal space */
  background: #fff;
  text-align: center;
}

/* Role (always at top) */
.team-role {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 12px;
}

/* Optional tag like "Lead" */
.team-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  margin-bottom: 14px;
  opacity: 0.85;
}

/* Image */
.team-photo {
  width: 100%;
  max-width: 280px;          /* BIGGER image */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin: 0 auto 18px;
}

/* Name */
.team-name {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 10px;
}

/* Email */
.team-email {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;

  word-break: break-word;    /* allows long emails to wrap */
  overflow-wrap: anywhere;
}

/* Recruiting caption */
.team-recruiting {
  margin-top: 52px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  opacity: 0.9;
}

.team-recruiting span {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* -------- Responsive breakpoints -------- */

/* Tablet: 2 across */
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile: 1 across */
@media (max-width: 560px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-section-title {
    font-size: 22px;
  }
}
