/* nans-les-pins.nl - Editorial Travelogue */
:root {
  --paper: #F2E8D2;
  --paper-light: #F8F1DE;
  --paper-deep: #E5D6B6;
  --paper-edge: #D9C595;
  --ink: #1A1410;
  --ink-soft: #4A3F33;
  --ink-mute: #75685A;
  --terracotta: #B0532A;
  --terracotta-deep: #8F3F1B;
  --ochre: #C68B3F;
  --ochre-pale: #E4C58A;
  --olive: #6B7140;
  --provence-blue: #2F4F6F;
  --provence-blue-deep: #1F3B57;
  --display: "Fraunces", "Iowan Old Style", "Palatino", Georgia, serif;
  --body: "Newsreader", "Iowan Old Style", Georgia, serif;
  --max-w: 1320px;
  --max-w-text: 720px;
  --container-pad: clamp(1.25rem, 3vw, 3rem);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.875rem;
  --space-4: 1.25rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
img, picture, video, svg { display: block; max-width: 100%; height: auto; }

body {
  font-family: var(--body);
  font-size: clamp(1.025rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Container - core layout primitive */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.container-narrow {
  width: 100%;
  max-width: 880px;
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 400;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.5rem); font-style: italic; }
h2 { font-size: clamp(1.9rem, 4vw, 3.25rem); margin-bottom: var(--space-4); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; }
h4 { font-size: 1.25rem; font-weight: 500; }

p { max-width: 64ch; margin-bottom: var(--space-4); }

a {
  color: var(--terracotta);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(176, 83, 42, 0.4);
  transition: color 0.2s, text-decoration-color 0.2s;
}
a:hover { color: var(--terracotta-deep); text-decoration-color: currentColor; }
strong { font-weight: 600; }
em { font-style: italic; }

.eyebrow, .label {
  font-family: var(--body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  font-weight: 500;
}

.deck {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 38ch;
}

.rule-short { width: 36px; height: 1px; background: currentColor; border: 0; display: inline-block; }

/* Header */
.site-header {
  padding-block: var(--space-4);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 232, 210, 0.94);
  backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid rgba(217, 197, 149, 0.5);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--space-5);
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}
.brand-mark {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}
.brand-tagline {
  font-family: var(--body);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
  margin-top: 0.4rem;
  font-weight: 500;
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-nav a {
  font-family: var(--body);
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding-block: 0.3rem;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--terracotta);
  transition: right 0.3s;
}
.site-nav a:hover { color: var(--terracotta); }
.site-nav a:hover::after { right: 0; }
@media (max-width: 880px) {
  .header-inner { grid-template-columns: 1fr; }
  .site-nav ul { justify-content: flex-start; gap: 1rem; }
  .site-nav a { font-size: 0.85rem; }
}

/* Hero (homepage) */
.hero {
  position: relative;
  min-height: clamp(520px, 80vh, 800px);
  overflow: hidden;
  display: grid;
  align-items: end;
  isolation: isolate;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: var(--paper-deep);
  background-size: cover;
  background-position: center 35%;
  background-image: linear-gradient(180deg, rgba(31, 59, 87, 0.35) 0%, rgba(176, 83, 42, 0.15) 50%, rgba(229, 214, 182, 0.85) 100%), url("https://images.unsplash.com/photo-1706639809623-93d4a8a0f0fc?w=2400&auto=format&q=80");
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 35%;
  background: linear-gradient(180deg, transparent 0%, var(--paper) 100%);
  z-index: 2;
}
.hero-inner {
  position: relative;
  z-index: 3;
  padding-block: var(--space-8) var(--space-7);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--paper-light);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  margin-bottom: var(--space-3);
}
.hero h1 {
  color: var(--paper-light);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5);
  max-width: 16ch;
  margin-bottom: var(--space-3);
}
.hero .lead {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.5;
  color: var(--paper-light);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
  max-width: 40ch;
  margin-bottom: var(--space-4);
}
.cta-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all 0.25s;
}
.btn::after { content: "→"; font-size: 1rem; transition: transform 0.25s; }
.btn:hover::after { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: var(--paper-light); }
.btn-primary:hover { background: var(--terracotta); }
.btn-ghost { background: transparent; border-color: var(--paper-light); color: var(--paper-light); }
.btn-ghost:hover { background: var(--paper-light); color: var(--ink); }

/* Sections */
.section { padding-block: var(--space-8); }
.section-tight { padding-block: var(--space-6); }

.section-head {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 3fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-bottom: var(--space-6);
}
.section-head .number-block {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: var(--terracotta);
  line-height: 0.9;
  border-top: 1px solid var(--ink);
  padding-top: var(--space-2);
}
.section-head h2 {
  font-style: italic;
  max-width: 14ch;
}
.section-head .intro {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-top: var(--space-3);
}
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: var(--space-3); }
}

/* USP strip */
.usp-strip {
  border-block: 1px solid var(--paper-edge);
  background: var(--paper-light);
  padding-block: var(--space-5);
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.usp-item {
  padding: var(--space-3) var(--space-4);
  text-align: center;
}
.usp-item + .usp-item { border-left: 1px solid var(--paper-edge); }
.usp-item .num {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--terracotta);
  line-height: 1;
  display: block;
}
.usp-item .label {
  margin-top: 0.6rem;
  display: block;
}
@media (max-width: 880px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-item + .usp-item { border-left: 0; }
  .usp-item:nth-child(odd) { border-right: 1px solid var(--paper-edge); }
  .usp-item:nth-child(n+3) { border-top: 1px solid var(--paper-edge); }
}

/* Chapter grid */
.chapter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--paper-edge);
  border: 1px solid var(--paper-edge);
}
.chapter-card {
  background: var(--paper-light);
  padding: var(--space-5);
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: var(--space-2);
  min-height: 300px;
  transition: background 0.3s;
}
.chapter-card:hover { background: var(--paper); }
.chapter-card .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 3.5rem;
  color: var(--terracotta);
  line-height: 0.85;
  margin-bottom: var(--space-2);
}
.chapter-card h3 {
  font-style: italic;
  font-size: 1.7rem;
  line-height: 1.1;
  margin: 0;
}
.chapter-card p {
  font-size: 0.97rem;
  color: var(--ink-soft);
  margin: 0;
  max-width: 32ch;
}
.chapter-card .arrow {
  align-self: end;
  justify-self: end;
  font-size: 1.4rem;
  color: var(--terracotta);
  transition: transform 0.3s;
}
.chapter-card:hover .arrow { transform: translateX(6px); }

/* Editorial split */
.editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-block: var(--space-6);
}
.editorial-split.flip > figure { order: 2; }
.editorial-split .image {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: var(--paper-deep);
}
.editorial-split .caption {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: var(--space-2);
}
.editorial-split h2 {
  font-style: italic;
  max-width: 14ch;
}
@media (max-width: 880px) {
  .editorial-split { grid-template-columns: 1fr; }
  .editorial-split.flip > figure { order: initial; }
  .editorial-split .image { aspect-ratio: 4 / 3; max-height: 480px; }
}

/* Pull quote */
.pull-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.3;
  color: var(--ink);
  max-width: 30ch;
  text-align: center;
  margin: var(--space-7) auto;
  padding-block: var(--space-4);
  border-block: 1px solid var(--paper-edge);
}

/* Article (single page) layout */
.article-cover {
  position: relative;
  min-height: clamp(380px, 55vh, 560px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.article-cover .photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--paper-deep);
  z-index: 1;
}
.article-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26, 20, 16, 0.7) 0%, rgba(26, 20, 16, 0.2) 60%, transparent 100%);
  z-index: 2;
}
.article-cover .container {
  position: relative;
  z-index: 3;
  padding-block: var(--space-7) var(--space-6);
  color: var(--paper-light);
}
.article-cover .eyebrow {
  color: var(--paper-light);
  margin-bottom: var(--space-3);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.article-cover h1 {
  color: var(--paper-light);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  max-width: 18ch;
  margin-bottom: var(--space-3);
}
.article-cover .deck {
  color: var(--paper-light);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
  max-width: 44ch;
}

.article-body {
  padding-block: var(--space-6) var(--space-8);
}
.article-body .prose {
  width: 100%;
  max-width: var(--max-w-text);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.article-body .prose p { font-size: 1.075rem; line-height: 1.72; max-width: none; }
.article-body .prose > p:first-of-type::first-letter {
  font-family: var(--display);
  font-style: italic;
  font-size: 4.8rem;
  line-height: 0.85;
  float: left;
  padding: 0.4rem 0.6rem 0 0;
  color: var(--terracotta);
}
.article-body h2 {
  margin-top: var(--space-7);
  margin-bottom: var(--space-3);
  font-style: italic;
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
}
.article-body h2::before {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--terracotta);
  margin-bottom: var(--space-3);
}
.article-body h3 {
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
  font-size: 1.3rem;
}
.article-body blockquote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.3;
  color: var(--ink);
  padding: var(--space-4) 0;
  margin-block: var(--space-6);
  text-align: center;
}
.article-body blockquote::before,
.article-body blockquote::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--terracotta);
  margin: var(--space-3) auto;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
  margin: var(--space-5) 0;
}
.article-body table th, .article-body table td {
  padding: 0.85rem 0.2rem;
  text-align: left;
  border-bottom: 1px solid var(--paper-edge);
}
.article-body table th {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
}
.article-body ul, .article-body ol {
  padding-left: 0;
  margin: var(--space-4) 0;
  list-style: none;
}
.article-body ul li, .article-body ol li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 14px;
  height: 1px;
  background: var(--terracotta);
}
.article-body ol { counter-reset: section; }
.article-body ol li::before {
  counter-increment: section;
  content: counter(section, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: var(--display);
  font-style: italic;
  color: var(--terracotta);
  font-size: 1rem;
}

/* FAQ */
.faq {
  margin: var(--space-6) 0;
  border-top: 1px solid var(--paper-edge);
}
.faq details {
  border-bottom: 1px solid var(--paper-edge);
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  cursor: pointer;
  padding: var(--space-4) 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--body);
  font-style: normal;
  font-size: 1.5rem;
  color: var(--terracotta);
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq details[open] summary { color: var(--terracotta); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > *:not(summary) { padding-bottom: var(--space-4); }
.faq details p { max-width: 64ch; }

/* Closing CTA */
.closing-cta {
  background: var(--provence-blue);
  color: var(--paper-light);
  padding-block: var(--space-7);
}
.closing-cta h2 { color: var(--paper-light); font-style: italic; max-width: 16ch; }
.closing-cta p { color: var(--ochre-pale); font-family: var(--display); font-style: italic; font-size: 1.15rem; max-width: 40ch; }
.closing-cta .btn-primary { background: var(--paper-light); color: var(--provence-blue-deep); }
.closing-cta .btn-primary:hover { background: var(--ochre); color: var(--ink); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(242, 232, 210, 0.78);
  padding-block: var(--space-7) var(--space-5);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ochre-pale) 0%, var(--ochre) 25%, var(--terracotta) 60%, var(--provence-blue) 100%);
}
.site-footer a { color: rgba(242, 232, 210, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--ochre-pale); text-decoration: underline; text-underline-offset: 4px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-5);
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-4); }
}
.footer-col h3 {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ochre-pale);
  margin-bottom: var(--space-3);
  font-weight: 500;
}
.footer-col .brand-mark-footer {
  font-family: var(--display);
  font-style: italic;
  font-size: 2rem;
  color: var(--paper-light);
  margin-bottom: var(--space-3);
  display: block;
}
.footer-col p { font-size: 0.95rem; color: rgba(242, 232, 210, 0.7); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid rgba(242, 232, 210, 0.12);
  padding-top: var(--space-4);
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(242, 232, 210, 0.5);
  margin: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* Footer privacy notice (subtle line in valuegravity style) */
.footer-privacy {
  font-size: 0.78rem !important;
  color: rgba(242, 232, 210, 0.45) !important;
  margin-top: 0.75rem !important;
  max-width: 80ch;
}


/* ===== TLDR block (citation-ready summary) ===== */
.tldr {
  border-left: 3px solid var(--terracotta);
  padding: 1rem 1.25rem;
  background: var(--paper-light);
  margin: 0 0 var(--space-5) 0;
  border-radius: 0 4px 4px 0;
}
.tldr-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}
.tldr ul {
  margin: 0;
  padding-left: 0;
}
.tldr ul li {
  padding-left: 1.25rem;
  margin-bottom: 0.3rem;
  position: relative;
  font-size: 1rem;
}
.tldr ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ===== Sources / Bronnen block ===== */
.sources {
  margin-top: var(--space-7);
  padding-top: var(--space-4);
  border-top: 1px solid var(--paper-edge);
}
.sources h2 {
  font-size: 1rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--ink-mute) !important;
  margin: 0 0 var(--space-3) 0 !important;
  font-style: normal !important;
  font-family: var(--body) !important;
  font-weight: 500 !important;
}
.sources h2::before { display: none !important; }
.sources ul { list-style: none; padding: 0; }
.sources li {
  padding-left: 1.25rem !important;
  margin-bottom: 0.5rem;
  font-size: 0.93rem;
  color: var(--ink-soft);
  position: relative;
}
.sources li::before {
  content: "↗" !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--terracotta);
  font-weight: 500;
}

/* ===== Meta footer (author + cite) ===== */
.meta-footer {
  margin-top: var(--space-6);
  padding: var(--space-4);
  background: var(--paper-light);
  border-radius: 4px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.meta-line { margin: 0 0 0.75rem 0 !important; }
.meta-line a { font-weight: 500; }
.cite summary {
  cursor: pointer;
  font-family: var(--body);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  list-style: none;
}
.cite summary::-webkit-details-marker { display: none; }
.cite summary::before {
  content: "+ ";
  color: var(--terracotta);
  font-weight: 500;
}
.cite[open] summary::before { content: "− "; }
.cite p {
  margin-top: 0.5rem !important;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-family: var(--body);
  background: var(--paper);
  padding: 0.6rem 0.8rem;
  border-radius: 3px;
  border-left: 2px solid var(--terracotta);
}
