/* ═══════════════════════════════════════════
   LA OLA — blog styles (shared: listing + articles)
   Bright cream theme, matches index.html / about.html.
   ═══════════════════════════════════════════ */
:root {
  --bg: #F6F1E8;
  --bg-elevated: #FFFFFF;
  --bg-subtle: #ECE4D6;
  --text-primary: #2E2A24;
  --text-secondary: #6B6358;
  --text-tertiary: #9A9183;
  --accent: #C2AD8E;
  --accent-soft: #B49C7C;
  --accent-glow: #8A7556;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Arimo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Droid Sans Mono', ui-monospace, Menlo, monospace;

  --space-s: 1rem;
  --space-m: 2rem;
  --space-l: 4rem;

  --radius: 8px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  font-family: var(--sans);
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
}

/* Subtle grain */
body::after {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

/* ───── Reveal ───── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }

/* ═══════════════════════════════════════════
   NAV (matches site)
   ═══════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 2rem; transition: background 0.4s var(--ease);
}
.nav.scrolled { background: rgba(246, 241, 232, 0.9); backdrop-filter: blur(10px); }
.nav__wordmark { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--serif); font-size: 1.2rem; font-weight: 400; letter-spacing: 0.06em; color: var(--text-primary); }
.nav__mark { width: 32px; height: 32px; display: block; flex: 0 0 32px; }
.nav__right { display: flex; align-items: center; gap: 1.5rem; }
.nav__link { font-size: 0.78rem; font-weight: 400; letter-spacing: 0.08em; color: var(--text-secondary); transition: color 0.3s var(--ease); }
.nav__link:hover, .nav__link.is-current { color: var(--accent-glow); }
.nav__ig svg { width: 16px; height: 16px; fill: none; stroke: var(--text-secondary); stroke-width: 1.5; transition: stroke 0.3s var(--ease); }
.nav__ig:hover svg { stroke: var(--accent-glow); }
.nav__lang { display: inline-flex; align-items: center; gap: 0.4rem; margin-right: 0.1rem; }
.nav__lang-btn { background: none; border: 0; cursor: pointer; padding: 0; font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; color: var(--text-tertiary); transition: color 0.3s var(--ease); }
.nav__lang-btn:hover { color: var(--accent-glow); }
.nav__lang-btn.is-active { color: var(--text-primary); }
.nav__lang-sep { color: var(--text-tertiary); opacity: 0.45; font-size: 0.7rem; }
.nav__cta { padding: 0.5rem 1.05rem; font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bg); background: var(--text-primary); border-radius: 999px; white-space: nowrap; transition: background 0.3s var(--ease), transform 0.2s var(--ease); }
.nav__cta:hover { background: var(--accent-glow); transform: translateY(-1px); }
.nav__toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 38px; height: 38px; padding: 8px; background: none; border: 0; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 1.5px; background: var(--text-primary); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav.open .nav__toggle span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
  .nav.open .nav__toggle span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }
  .nav__right { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 1.5rem; padding: 1.75rem 2rem 2.25rem; background: rgba(246,241,232,0.98); backdrop-filter: blur(10px); border-top: 1px solid rgba(46,42,36,0.08); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
  .nav.open { background: rgba(246,241,232,0.98); }
  .nav.open .nav__right { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav__cta { align-self: flex-start; }
}

/* ═══════════════════════════════════════════
   LISTING — La Ola index
   ═══════════════════════════════════════════ */
.ola-hero { padding: 8rem 2rem 0.5rem; text-align: center; max-width: 760px; margin: 0 auto; }
.ola-hero__eyebrow { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-glow); margin-bottom: 1.3rem; }
.ola-hero__title { font-family: var(--serif); font-size: clamp(2.8rem, 8vw, 4.8rem); font-weight: 300; letter-spacing: 0.12em; color: var(--text-primary); line-height: 1; margin-bottom: 1.3rem; }
.ola-hero__intro { font-family: var(--serif); font-style: italic; font-size: clamp(1rem, 2vw, 1.22rem); font-weight: 300; color: var(--text-secondary); line-height: 1.6; }

.article-list { max-width: 1040px; margin: 0 auto; padding: 3.5rem 2rem 6rem; display: grid; grid-template-columns: 1fr; gap: 4rem; }
@media (min-width: 768px) { .article-list { grid-template-columns: 1fr 1fr; gap: 3.5rem 3.5rem; } }

.article-card { display: block; }
.article-card__image { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/2; margin-bottom: 1.5rem; background: var(--bg-subtle); }
.article-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.article-card:hover .article-card__image img { transform: scale(1.035); }
.article-card__eyebrow { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-glow); margin-bottom: 0.7rem; }
.article-card__title { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.95rem); font-weight: 400; line-height: 1.25; color: var(--text-primary); margin-bottom: 0.85rem; transition: color 0.3s; }
.article-card:hover .article-card__title { color: var(--accent-glow); }
.article-card__dek { font-size: 0.92rem; font-weight: 300; line-height: 1.7; color: var(--text-secondary); }
.article-card__meta { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.04em; color: var(--text-tertiary); margin-top: 1rem; }

/* ═══════════════════════════════════════════
   ARTICLE
   ═══════════════════════════════════════════ */
.article { max-width: 720px; margin: 0 auto; padding: 8.5rem 2rem 1rem; }
@media (max-width: 767px) { .article { padding: 7rem 1.5rem 1rem; } }

.article__back { display: inline-block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-tertiary); margin-bottom: 2.5rem; transition: color 0.3s; }
.article__back:hover { color: var(--accent-glow); }
.article__eyebrow { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-glow); margin-bottom: 1.2rem; }
.article__title { font-family: var(--serif); font-size: clamp(2.1rem, 5.2vw, 3.2rem); font-weight: 300; line-height: 1.12; color: var(--text-primary); margin-bottom: 1.6rem; }
.article__dek { font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 2.2vw, 1.3rem); font-weight: 300; line-height: 1.6; color: var(--text-secondary); margin-bottom: 1.4rem; }
.article__meta { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--text-tertiary); margin-bottom: 2.6rem; }
.article__hero { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; margin-bottom: 3rem; background: var(--bg-subtle); }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }

.article-body p { font-size: 1.04rem; font-weight: 300; line-height: 1.85; color: var(--text-secondary); margin-bottom: 1.5rem; }
.article-body h2 { font-family: var(--serif); font-size: clamp(1.3rem, 2.8vw, 1.7rem); font-weight: 400; line-height: 1.3; color: var(--text-primary); margin: 3.2rem 0 1.2rem; }
.article-body em { font-family: var(--serif); font-style: italic; color: var(--text-primary); }
.article-body strong { font-weight: 500; color: var(--text-primary); }
.article-body a { color: var(--accent-glow); text-decoration: underline; text-underline-offset: 2px; }
.article-body hr { border: 0; width: 44px; height: 1px; background: var(--accent); opacity: 0.55; margin: 3rem auto; }

.article-body .lede { font-size: 1.18rem; color: var(--text-primary); }

/* sources & notes */
.article-notes { max-width: 720px; margin: 3rem auto 0; padding: 2.2rem 2rem 0; border-top: 1px solid rgba(46, 42, 36, 0.12); }
.article-notes h2 { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-secondary); margin-bottom: 1.2rem; }
.article-notes h3 { font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-glow); margin: 1.6rem 0 0.8rem; }
.article-notes p { font-size: 0.85rem; font-weight: 300; line-height: 1.7; color: var(--text-tertiary); margin-bottom: 1rem; }
.article-notes em { font-style: italic; }
.article-notes ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.article-notes li { font-size: 0.85rem; font-weight: 300; line-height: 1.65; color: var(--text-tertiary); margin-bottom: 0.75rem; padding-left: 1.2rem; position: relative; }
.article-notes li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }

.article-sign { text-align: center; padding: 3.5rem 2rem 1rem; }
.article-sign__tagline { font-family: var(--serif); font-style: italic; font-size: 1.15rem; font-weight: 300; color: var(--accent-glow); }
.article-sign__sub { font-size: 0.8rem; color: var(--text-tertiary); margin-top: 0.5rem; }

/* ═══════════════════════════════════════════
   FOOTER (matches site)
   ═══════════════════════════════════════════ */
.footer { padding: var(--space-l) var(--space-m) var(--space-m); text-align: center; border-top: 1px solid rgba(46, 42, 36, 0.08); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-bottom: 1.25rem; }
.footer__link { font-size: 0.78rem; font-weight: 400; color: var(--text-tertiary); display: flex; align-items: center; gap: 0.35rem; transition: color 0.3s; }
.footer__link:hover { color: var(--accent-glow); }
.footer__link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.footer__tagline { font-family: var(--serif); font-size: 0.8rem; font-weight: 300; font-style: italic; color: var(--text-tertiary); margin-bottom: 0.75rem; opacity: 0.7; }
.footer__copy { font-size: 0.7rem; color: var(--text-tertiary); opacity: 0.5; font-family: var(--mono); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ───── article body lists + disclaimer note ───── */
.article-body ul { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.article-body li { font-size: 1.04rem; font-weight: 300; line-height: 1.8; color: var(--text-secondary); margin-bottom: 0.85rem; padding-left: 1.5rem; position: relative; }
.article-body li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }
.article-note { max-width: 640px; margin: 3rem auto 0; padding: 0 2rem; text-align: center; }
.article-note p { font-size: 0.82rem; font-weight: 300; font-style: italic; line-height: 1.7; color: var(--text-tertiary); }

/* ═══════════════════════════════════════════
   LA OLA — Ashley-style featured + more essays
   ═══════════════════════════════════════════ */
.ola-featured { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 1240px; margin: 0 auto; padding: 1.5rem 2rem 4rem; align-items: center; }
@media (min-width: 900px) { .ola-featured { grid-template-columns: 1.15fr 1fr; gap: 4.5rem; padding: 2.5rem 2.5rem 6rem; } }
.ola-featured__image { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--bg-subtle); }
@media (min-width: 900px) { .ola-featured__image { aspect-ratio: 3/4; } }
.ola-featured__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.ola-featured:hover .ola-featured__image img { transform: scale(1.035); }
.ola-featured__eyebrow { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-glow); margin-bottom: 1.4rem; }
.ola-featured__title { font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 300; line-height: 1.1; color: var(--text-primary); margin-bottom: 1.5rem; transition: color 0.3s var(--ease); }
.ola-featured:hover .ola-featured__title { color: var(--accent-glow); }
.ola-featured__dek { font-size: 1rem; font-weight: 300; line-height: 1.85; color: var(--text-secondary); margin-bottom: 2rem; max-width: 460px; }
.ola-featured__meta { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.05em; color: var(--text-tertiary); margin-bottom: 1.6rem; }
.ola-featured__link { display: inline-block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-primary); border-bottom: 1px solid var(--accent); padding-bottom: 4px; transition: color 0.3s, border-color 0.3s; }
.ola-featured:hover .ola-featured__link { color: var(--accent-glow); border-color: var(--accent-glow); }

.ola-more { max-width: 1040px; margin: 0 auto; padding: 0 2rem; }
.ola-more__label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-tertiary); padding-bottom: 1.4rem; border-bottom: 1px solid rgba(46, 42, 36, 0.1); }
.article-list { padding-top: 3rem; }
