/* ============================================
   GOLF CLUB OPS — Design System
   Based on Grain Archive template
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@1&family=Geist:wght@400;600&display=swap');

/* Tilt Warp from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Tilt+Warp&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Fonts - Common */
  --font-display: 'Tilt Warp', sans-serif;
  --font-serif: 'Instrument Serif', serif;
  --font-body: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing - Common */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 100px;
  --space-3xl: 140px;
  
  /* Layout - Common */
  --max-width: 1400px;
  --max-reading: 800px;

  /* Backgrounds - Default (Dark) */
  --bg-primary: #0F0E0E;
  --bg-secondary: #1F1F1F;
  --bg-white: #FFFFFF;
  --bg-accent: #FF5700;
  --bg-green: #40644A;
  --bg-blue: #91DEED;
  --bg-yellow: #F2D779;
  --bg-card: #1F1F1F;

  /* Text - Default (Dark) */
  --text-headline: #F6F8FB;
  --text-body: #F6F8FB;
  --text-secondary: #D1D2D8;
  --text-muted: #8C8D92;
  --text-dark: #0F0E0E;
  --text-inverse: #0F0E0E;

  /* Dividers - Default (Dark) */
  --divider: #555659;
  --divider-light: #E9E9E9;
  
  /* Components */
  --nav-bg: rgba(15, 14, 14, 0.9);
  --btn-subscribe-text: #F6F8FB;
}

.light-mode {
  /* Backgrounds - Light */
  --bg-primary: #F0F0EB; /* Warm light grey */
  --bg-secondary: #E5E5E0; /* Slightly darker warm grey */
  --bg-card: #FFFFFF;
  --bg-white: #FFFFFF;

  /* Text - Light */
  --text-headline: #2A2A2A; /* Charcoal */
  --text-body: #2A2A2A;
  --text-secondary: #4A4A4A;
  --text-muted: #666666;
  /* --text-dark stays dark for contrast elements */
  --text-inverse: #F6F8FB;

  /* Dividers - Light */
  --divider: #CCCCCC;
  --divider-light: #D0D0D0;
  
  /* Components */
  --nav-bg: rgba(240, 240, 235, 0.9);
  --btn-subscribe-text: #F6F8FB;
}

/* --- Text Selection Highlight --- */
::selection {
  background-color: var(--bg-blue);
  color: var(--text-dark);
}

::-moz-selection {
  background-color: var(--bg-blue);
  color: var(--text-dark);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: var(--text-body);
  background-color: var(--bg-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* --- Typography --- */
.h1 {
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 200px);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -4px;
  color: var(--text-headline);
  transition: color 0.3s ease;
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(60px, 10vw, 160px);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -5px;
  color: var(--text-headline);
}

.h3 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 110px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -4.4px;
  color: var(--text-headline);
}

.h4 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -1.6px;
  color: var(--text-headline);
}

.h5 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.48px;
  color: var(--text-headline);
}

.p1-semibold {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.4px;
}

.p1 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.4px;
}

.p2 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.32px;
}

.caption {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--space-2xl) 0;
}

/* --- Navigation --- */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 100;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--text-headline);
  letter-spacing: -0.48px;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: var(--text-dark); /* Always dark because buttons have fixed colors */
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.nav__link:hover {
  opacity: 0.85;
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--text-headline);
  border-radius: 6px;
  color: var(--text-headline);
  cursor: pointer;
  font-size: 20px;
  transition: all 0.2s ease;
  margin-left: 8px;
  width: 46px; /* Fixed width to prevent layout shift */
  height: 46px;
}

.nav__toggle:hover {
  background: var(--text-headline);
  color: var(--bg-primary);
}

.nav__link--orange {
  background-color: var(--bg-accent);
}

.nav__link--green {
  background-color: var(--bg-green);
  border-radius: 999px;
}

.nav__link--blue {
  background-color: var(--bg-blue);
  border-radius: 6px;
}

.nav__link--yellow {
  background-color: var(--bg-yellow);
  border-radius: 6px;
}

/* Mobile nav */
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-headline);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hamburger animation when open */
.nav__hamburger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  padding: var(--space-3xl) 20px var(--space-2xl);
  width: 100%;
  max-width: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  min-height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
}

.hero--with-bg {
  color: var(--text-headline);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
  justify-content: center;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(15, 14, 14, 0.3), rgba(15, 14, 14, 0.8));
  z-index: -1;
}

.hero__content {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Remove pseudo-element since we're using .hero__overlay */
.hero--with-bg::before {
  display: none;
}

.hero__headline {
  margin-bottom: var(--space-lg);
  color: #F6F8FB; /* Force white headline on hero image regardless of theme */
}

.hero__sub {
  font-size: 20px;
  color: #D1D2D8; /* Force light grey subtext on hero image */
  max-width: 700px;
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  color: var(--bg-accent);
  transition: gap 0.2s ease;
}

.hero__cta:hover {
  gap: 14px;
}

/* --- Section Label --- */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--bg-accent);
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1.5px solid var(--bg-accent);
  border-radius: 999px;
  margin-bottom: var(--space-md);
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  background: transparent;
}

.section-label:hover {
  background: var(--bg-accent);
  color: #fff;
}

/* --- Content Section --- */
.content-section {
  padding: var(--space-2xl) 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.content-section__grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.content-section__grid--with-image {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.content-section__grid--reverse .content-section__body {
  order: -1;
}

.img-responsive {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.content-section__label {
  color: var(--text-muted);
  font-size: 16px;
  padding-top: 4px;
}

.content-section__body {
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1.6;
  max-width: 800px;
}

.content-section__body p + p {
  margin-top: 1.2em;
}

/* --- Pillars Grid --- */
.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: center;
}

.pillar {
  flex: 1 1 300px; /* Grow, shrink, base width */
  max-width: 400px;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  border: 1px solid var(--divider);
  border-radius: 8px;
  background-color: var(--bg-card);
  text-align: center;
  align-items: center;
  transition: background-color 0.3s ease;
}

.pillar__icon {
  font-size: 28px;
  color: var(--text-muted);
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.pillar__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--bg-accent);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.pillar__desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Article Cards --- */
.articles-grid {
  display: grid;
  gap: var(--space-md);
}

.articles-grid--featured {
  grid-template-columns: 1fr;
  margin-bottom: var(--space-md);
}

.articles-grid--small {
  grid-template-columns: repeat(3, 1fr);
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.article-card:hover {
  transform: translateY(-2px);
}

.article-card--featured {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 500px;
  justify-content: flex-end;
  padding: 20px;
  background: var(--bg-secondary);
}

.article-card--featured .article-card__content {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 20px;
  border-radius: 6px;
  position: relative;
  z-index: 2;
  /* Ensure text is readable regardless of theme since background is image */
  color: #fff;
}

.article-card--featured .article-card__title,
.article-card--featured .article-card__excerpt,
.article-card--featured .article-card__meta {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.article-card__image {
  width: 100%;
  aspect-ratio: 4/5;
  background-color: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
  transition: opacity 0.3s ease, background-color 0.3s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.article-card:hover .article-card__image {
  opacity: 0.8;
}

.article-card__title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-headline);
  letter-spacing: -0.4px;
  line-height: 1.3;
}

.article-card--featured .article-card__title {
  font-size: 24px;
  margin-bottom: 4px;
}

.article-card__excerpt {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 8px;
}

.article-card__meta {
  display: flex;
  gap: 4px;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 600;
}

.article-card__cta {
  color: var(--bg-accent);
  font-weight: 600;
  font-size: 16px;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* --- Familiar Section --- */
.familiar {
  background: var(--bg-secondary);
  padding: var(--space-2xl) 0;
  transition: background-color 0.3s ease;
}

.familiar__statements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--divider);
  margin: var(--space-lg) 0;
}

.familiar__statement {
  background: var(--bg-secondary);
  padding: var(--space-lg);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--text-secondary);
  transition: background-color 0.3s ease;
}

.familiar__closing {
  font-size: 24px;
  font-weight: 600;
  color: var(--bg-accent);
  margin-top: var(--space-lg);
}

/* --- Subscribe Section --- */
.subscribe {
  position: relative;
  background: var(--bg-accent);
  display: flex;
  align-items: center;
  min-height: 464px;
  overflow: hidden;
}

.subscribe__decoration {
  width: 64px;
  flex-shrink: 0;
  height: 100%;
  min-height: 464px;
  border-right: 1.5px dashed var(--text-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 50px 20px;
  align-items: center;
}

.subscribe__decoration--right {
  border-right: none;
  border-left: 1.5px dashed var(--text-dark);
}

.subscribe__hole {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-primary);
  transition: background-color 0.3s ease;
}

.subscribe__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 40px;
  text-align: center;
}

.subscribe__headline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(40px, 5vw, 80px);
  line-height: 0.9;
  letter-spacing: -1.6px;
  color: var(--text-dark); /* Always dark on orange */
}

.subscribe__body {
  font-size: 20px;
  color: var(--text-dark); /* Always dark on orange */
  max-width: 500px;
  letter-spacing: -0.4px;
}

.subscribe__form {
  display: flex;
  gap: 0;
  max-width: 500px;
  width: 100%;
}

.subscribe__input {
  flex: 1;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 16px;
  border: 2px solid var(--text-dark);
  background: transparent;
  color: var(--text-dark);
  outline: none;
}

.subscribe__input::placeholder {
  color: rgba(15, 14, 14, 0.5);
}

.subscribe__button {
  padding: 16px 24px;
  background: var(--text-dark);
  color: #F6F8FB; /* Always light text on dark button, regardless of theme */
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  letter-spacing: -0.4px;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.subscribe__button:hover {
  opacity: 0.85;
}

.subscribe__micro {
  font-size: 14px;
  color: rgba(15, 14, 14, 0.6);
  max-width: 400px;
}

/* --- Footer --- */
.footer {
  background: var(--bg-primary);
  padding: var(--space-2xl) 20px 20px;
  display: flex;
  gap: var(--space-lg);
  align-items: flex-end;
  max-width: var(--max-width);
  margin: 0 auto;
  transition: background-color 0.3s ease;
}

.footer__logo {
  flex: 1;
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 200px);
  line-height: 0.85;
  letter-spacing: -8px;
  color: var(--text-headline);
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  align-items: flex-end;
}

.footer__links {
  display: flex;
  gap: 80px;
}

.footer__col-label {
  display: inline-flex;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--text-secondary);
  border-radius: 999px;
  padding: 2px 5px;
  margin-bottom: 6px;
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  font-size: 20px;
  color: var(--text-secondary);
  text-decoration: underline;
  letter-spacing: -0.4px;
  text-align: right;
}

.footer__col-links a {
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer__col-links a:hover {
  color: var(--text-headline);
}

.footer__bottom {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: right;
  letter-spacing: -0.32px;
  line-height: 1.5;
}

/* --- Article Page --- */
.article-header {
  text-align: center;
  padding: var(--space-3xl) 20px var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.article-header__image-container {
  width: 100%;
  max-width: 1000px;
  height: 500px;
  margin: var(--space-xl) auto 0;
  border-radius: 12px;
  overflow: hidden;
}

.article-header__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-header__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -3px;
  color: var(--text-headline);
  margin-bottom: var(--space-md);
}

.article-header__subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 3vw, 32px);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.article-header__meta {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 600;
}

.article-header__meta span {
  margin: 0 4px;
}

.article-body {
  width: 100%;
  max-width: var(--max-reading);
  margin: 0 auto;
  padding: 0 20px var(--space-2xl);
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1.7;
  letter-spacing: -0.3px;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -1.5px;
  color: var(--text-headline);
  margin: 2em 0 0.8em;
}

.article-body h3 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-headline);
  margin: 1.5em 0 0.5em;
}

.article-body p {
  margin-bottom: 1.2em;
}

.article-body strong {
  color: var(--text-headline);
  font-weight: 600;
}

.article-body em {
  font-style: italic;
}

.article-body blockquote {
  border-left: 3px solid var(--bg-accent);
  padding-left: 24px;
  margin: 2em 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  color: var(--text-muted);
  line-height: 1.4;
}

.article-body .callout {
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 32px;
  margin: 2em 0;
  text-align: center;
  transition: background-color 0.3s ease;
}

.article-body .callout__number {
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1;
  color: var(--bg-accent);
  letter-spacing: -3px;
}

.article-body .callout__text {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 8px;
}

.article-methodology {
  max-width: var(--max-reading);
  margin: 0 auto;
  padding: 0 20px;
  border-top: 1px dashed var(--divider);
  padding-top: var(--space-lg);
}

.article-methodology p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
}

/* --- More Articles --- */
.more-articles {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl) 20px;
}

.more-articles__heading {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-headline);
  margin-bottom: var(--space-lg);
}

.more-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* --- End Divider --- */
.end-divider {
  text-align: center;
  padding: var(--space-xl) 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.end-divider__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 32px;
  color: var(--text-muted);
  letter-spacing: -0.5px;
}

/* --- About Page --- */
.about-hero {
  text-align: center;
  padding: var(--space-3xl) 20px var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-hero__image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: var(--space-lg);
}

.about-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-xl) 20px;
}

.about-content .content-section__grid {
  margin-bottom: var(--space-xl);
}

/* --- Articles Page --- */
.articles-page-header {
  text-align: center;
  padding: var(--space-3xl) 20px var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.articles-page-header__sub {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: var(--space-md) auto 0;
  line-height: 1.5;
}

/* --- Newsletter Page --- */
.newsletter-page {
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-3xl) 20px;
}

.newsletter-page__content {
  text-align: left;
  max-width: 600px;
}

.newsletter-page__image-container {
  width: 100%;
  height: 100%;
  min-height: 600px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.newsletter-page__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.newsletter-page__headline {
  margin-bottom: var(--space-md);
}

.newsletter-page__body {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.newsletter-page__features {
  text-align: left;
  margin: var(--space-lg) 0;
  width: 100%;
}

.newsletter-page__feature-block {
  margin-bottom: var(--space-lg);
}

.newsletter-page__feature-block h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-headline);
  margin-bottom: 8px;
}

.newsletter-page__feature-block p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- 404 Page --- */
.page-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) 20px;
}

.page-404__headline {
  margin-bottom: var(--space-md);
}

.page-404__body {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}

.page-404__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--bg-accent);
  color: var(--text-dark);
  font-size: 20px;
  font-weight: 600;
  border-radius: 6px;
  transition: opacity 0.2s ease;
}

.page-404__cta:hover {
  opacity: 0.85;
}

/* --- View All Button --- */
.view-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  border-radius: 8px;
  background: var(--bg-white);
  width: 100%;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(40px, 5vw, 80px);
  line-height: 0.9;
  letter-spacing: -1.6px;
  color: var(--text-dark);
  text-decoration: none;
  transition: background 0.2s ease;
  cursor: pointer;
  border: none;
}

.view-all-btn:hover {
  background: var(--bg-accent);
}

/* --- Cinema Selects / Table --- */
.table-section {
  border-top: 1px dashed var(--divider);
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 100px 1fr 1.5fr;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px dashed var(--divider);
  font-size: 16px;
  color: var(--text-secondary);
  letter-spacing: -0.32px;
}

.table-row:hover {
  color: var(--text-headline);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .content-section__grid,
  .content-section__grid--with-image {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .content-section__grid--reverse {
    direction: ltr;
  }

  .newsletter-page {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .newsletter-page__content {
    margin: 0 auto;
    text-align: center;
  }

  .newsletter-page__image {
    min-height: 300px;
    height: 400px;
    order: -1;
    margin-bottom: var(--space-lg);
  }
  
  .newsletter-page__features {
      text-align: left;
  }

  .articles-grid--small {
    grid-template-columns: repeat(2, 1fr);
  }

  .familiar__statements {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .footer__content {
    align-items: flex-start;
    width: 100%;
  }

  .footer__col-links {
    text-align: left;
  }

  .footer__bottom {
    text-align: left;
  }

  .more-articles__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Hamburger menu */
  .nav__hamburger {
    display: block;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: var(--space-md) 20px;
    gap: var(--space-xs);
    border-top: 1px solid var(--divider);
    z-index: 999;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__link {
    width: 100%;
    text-align: center;
    border-radius: 6px;
    padding: 14px 12px;
  }

  .nav__toggle {
    margin-left: 0;
    width: 100%;
  }

  .hero {
    padding: var(--space-xl) 20px;
  }

  .articles-grid--small {
    grid-template-columns: 1fr;
  }

  .article-card--featured {
    min-height: 350px;
  }

  .subscribe {
    flex-direction: column;
    min-height: auto;
  }

  .subscribe__decoration {
    width: 100%;
    min-height: auto;
    height: 52px;
    border-right: none;
    border-bottom: 1.5px dashed var(--text-dark);
    flex-direction: row;
    padding: 16px 20px;
  }

  .subscribe__decoration--right {
    border-left: none;
    border-bottom: none;
    border-top: 1.5px dashed var(--text-dark);
  }

  .subscribe__hole {
    width: 20px;
    height: 20px;
  }

  .subscribe__form {
    flex-direction: column;
  }

  .footer__links {
    gap: var(--space-lg);
  }

  .more-articles__grid {
    grid-template-columns: 1fr;
  }

  .table-row {
    grid-template-columns: 1fr 1fr;
  }

  .table-row > *:nth-child(3),
  .table-row > *:nth-child(4) {
    display: none;
  }

  .pillars {
    flex-direction: column;
    align-items: center;
  }

  .pillar {
    max-width: 100%;
  }
}
