/* ==========================================================================
   Takumi Lab Hospitality — feuille de style principale
   Palette : noir profond, blanc cassé, doré/bronze
   ========================================================================== */

:root {
  --black: #0f0e0c;
  --near-black: #17150f;
  --charcoal: #221f19;
  --cream: #f6f2e9;
  --cream-soft: #efe9db;
  --gold: #c6a15b;
  --gold-soft: #ddc189;
  --gold-ink: #7a5f28;
  --line: rgba(198, 161, 91, 0.25);
  --text-muted: #a89f8c;
  --muted-ink: #5c5647;
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "Jost", "Inter", "Helvetica Neue", Arial, sans-serif;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--black);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  color: var(--black);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.1; font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.2; }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1.1em; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 6vw;
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1.2em;
}

.hero .eyebrow,
.section-dark .eyebrow { color: var(--gold); }

/* Language toggling ------------------------------------------------------ */
.lang-en { display: none; }
body.show-en .lang-fr { display: none; }
body.show-en .lang-en { display: inline; }
body.show-en .lang-en.block { display: block; }
.lang-fr.block, .lang-en.block { display: none; }
body:not(.show-en) .lang-fr.block { display: block; }
body.show-en .lang-en.block { display: block; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 14, 12, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-serif);
  color: var(--cream);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand span {
  color: var(--gold);
}

.brand-mark {
  height: 34px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--cream-soft);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-color: var(--gold);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.lang-switch button {
  background: none;
  border: 1px solid var(--line);
  color: var(--text-muted);
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s ease;
}

.lang-switch button.active {
  color: var(--black);
  background: var(--gold);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Dropdown groups (Agence / Expertises / Formation) ------------------------ */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  color: var(--cream-soft);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.nav-dropdown-toggle .caret {
  font-size: 0.7em;
  color: var(--gold);
  transition: transform 0.2s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle,
.nav-dropdown-toggle.active {
  color: var(--gold);
  border-color: var(--gold);
}

.nav-dropdown.open .nav-dropdown-toggle .caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.9rem;
  background: var(--near-black);
  border: 1px solid var(--line);
  min-width: 230px;
  padding: 0.5rem 0;
  z-index: 50;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 1.2rem;
  font-size: 0.8rem;
  border-bottom: none !important;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: rgba(198, 161, 91, 0.1);
  color: var(--gold);
}

@media (max-width: 1420px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--near-black);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 6vw 1.6rem;
    gap: 1.1rem;
    border-bottom: 1px solid var(--line);
    display: none;
    max-height: 75vh;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .lang-switch { margin-left: 0; margin-top: 0.4rem; }

  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
  .nav-dropdown-menu {
    display: none;
    position: static;
    transform: none;
    margin-top: 0.6rem;
    margin-left: 0.8rem;
    border: none;
    border-left: 1px solid var(--line);
    background: none;
    padding: 0 0 0 0.6rem;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { padding: 0.5rem 0; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background:
    radial-gradient(ellipse at 20% -10%, rgba(198,161,91,0.18), transparent 55%),
    linear-gradient(180deg, var(--black) 0%, var(--near-black) 100%);
  color: var(--cream);
  padding: 8rem 0 6rem;
  border-bottom: 1px solid var(--line);
}

.hero .container {
  max-width: 860px;
}

.hero h1 {
  color: var(--cream);
}

.hero .lead {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 640px;
  margin-bottom: 2rem;
}

.page-hero {
  padding: 6.5rem 0 4rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.btn-outline {
  background: transparent;
  color: var(--black);
}

.hero .btn-outline,
.section-dark .btn-outline {
  color: var(--cream);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* ==========================================================================
   Sections
   ========================================================================== */

section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--black);
  color: var(--cream);
}

.section-dark h2 { color: var(--cream); }
.section-dark .text-muted { color: var(--text-muted); }

.section-alt {
  background: var(--cream-soft);
}

.section-head {
  max-width: 680px;
  margin-bottom: 3rem;
}

.divider {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 1.4rem 0 1.8rem;
}

/* Grid of key points ------------------------------------------------------ */

.grid {
  display: grid;
  gap: 2rem;
}

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

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(1, 1fr); }
}

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

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 2rem 1.7rem;
}

.section-dark .card {
  background: var(--near-black);
  border-color: var(--line);
}

.card .num {
  font-family: var(--font-serif);
  color: var(--gold-ink);
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.6rem;
}

.section-dark .card .num { color: var(--gold); }

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted-ink);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.section-dark .card p { color: var(--text-muted); }

/* Two-column layout -------------------------------------------------------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
}

.pull-quote {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--black);
  border-left: 2px solid var(--gold);
  padding-left: 1.4rem;
  margin: 2rem 0;
}

.section-dark .pull-quote { color: var(--cream); }

/* Missions cards ------------------------------------------------------------ */

.mission-card {
  border: 1px solid var(--line);
  padding: 2rem;
  background: var(--cream);
  margin-bottom: 1.5rem;
}

.mission-card .tag {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 0.6rem;
  display: block;
}

.mission-card h3 {
  margin-bottom: 0.8rem;
}

.mission-card .result {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
  font-size: 0.92rem;
  color: var(--charcoal);
}

.placeholder-note {
  font-size: 0.8rem;
  color: var(--muted-ink);
  font-style: italic;
}

/* Contact form -------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
}

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

.contact-info-item {
  margin-bottom: 1.6rem;
}

.contact-info-item .label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  display: block;
  margin-bottom: 0.4rem;
}

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

.field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.45rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--black);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted-ink);
}

/* ==========================================================================
   Gallery — reception photos from around the world
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--charcoal);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 1.2rem 1.1rem;
  background: linear-gradient(180deg, transparent, rgba(15,14,12,0.92) 85%);
  color: var(--cream);
}

.gallery-item .caption .country {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--cream);
  display: block;
}

.gallery-item .caption .tagline {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.gallery-credit {
  margin-top: 1.4rem;
  font-size: 0.75rem;
  color: var(--muted-ink);
}

.gallery-credit a {
  color: var(--muted-ink);
  text-decoration: underline;
}

.section-dark .gallery-credit,
.section-dark .gallery-credit a { color: var(--text-muted); }

/* ==========================================================================
   Pillars / movements (formation pages)
   ========================================================================== */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}

@media (max-width: 1000px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }

.pillar-card {
  border: 1px solid var(--line);
  padding: 1.6rem 1.2rem;
  text-align: center;
  background: var(--cream);
}

.section-dark .pillar-card { background: var(--near-black); }

.pillar-card .roman {
  font-family: var(--font-serif);
  color: var(--gold-ink);
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.5rem;
}

.section-dark .pillar-card .roman { color: var(--gold); }

.pillar-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.pillar-card p {
  font-size: 0.85rem;
  color: var(--muted-ink);
  margin-bottom: 0;
}

.section-dark .pillar-card p { color: var(--text-muted); }

.movement-group {
  margin-bottom: 2.4rem;
}

.movement-group .movement-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold-ink);
  margin-bottom: 1rem;
}

.section-dark .movement-group .movement-title { color: var(--gold); }

.gesture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

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

.gesture-item {
  border-left: 2px solid var(--gold);
  padding: 0.2rem 0 0.2rem 1.1rem;
}

.gesture-item h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
  color: var(--black);
}

.section-dark .gesture-item h4 { color: var(--cream); }

.gesture-item p {
  font-size: 0.87rem;
  color: var(--muted-ink);
  margin-bottom: 0;
}

.section-dark .gesture-item p { color: var(--text-muted); }

/* World grid (hospitalités/managements du monde) --------------------------- */

.world-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.world-item {
  border: 1px solid var(--line);
  padding: 1rem;
  text-align: center;
}

.world-item .word {
  display: block;
  font-family: var(--font-serif);
  color: var(--gold-ink);
  font-size: 1.05rem;
}

.section-dark .world-item .word { color: var(--gold); }

.world-item .place {
  font-size: 0.75rem;
  color: var(--muted-ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-dark .world-item .place { color: var(--text-muted); }

/* ==========================================================================
   Timeline (parcours / manager de transition)
   ========================================================================== */

.timeline {
  border-left: 1px solid var(--line);
  margin-left: 0.5rem;
  padding-left: 2rem;
}

.timeline-item {
  position: relative;
  padding-bottom: 2.2rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.44rem;
  top: 0.3rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.timeline-item .dates {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-ink);
  display: block;
  margin-bottom: 0.3rem;
}

.section-dark .timeline-item .dates { color: var(--gold); }

.timeline-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.timeline-item p {
  font-size: 0.92rem;
  color: var(--muted-ink);
  margin-bottom: 0;
}

.section-dark .timeline-item p { color: var(--text-muted); }

/* ==========================================================================
   Haiku block
   ========================================================================== */

.haiku-block {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.6;
  color: var(--cream);
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.haiku-signature {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Stat row ------------------------------------------------------------------ */

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

@media (max-width: 700px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }

.stat-item .stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold-ink);
}

.hero .stat-item .stat-num,
.section-dark .stat-item .stat-num { color: var(--gold); }

.stat-item .stat-label {
  font-size: 0.78rem;
  color: var(--muted-ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero .stat-item .stat-label,
.section-dark .stat-item .stat-label { color: var(--text-muted); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--black);
  color: var(--text-muted);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--cream);
}

.footer-brand .brand-mark {
  height: 28px;
}

.footer-links {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ==========================================================================
   Regards — recueil d'articles (accordéon)
   ========================================================================== */

.regards-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.regards-toc a {
  border: 1px solid var(--line);
  padding: 0.6rem 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-soft);
  transition: all 0.2s ease;
}

.regards-toc a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.chapter-head {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.chapter-head .roman {
  font-family: var(--font-serif);
  color: var(--gold-ink);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.6rem;
}

.section-dark .chapter-head .roman { color: var(--gold); }

.chapter-head .chapter-intro {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted-ink);
}

.section-dark .chapter-head .chapter-intro,
.section-alt .chapter-head .chapter-intro { color: var(--muted-ink); }

.article-list {
  border-top: 1px solid var(--line);
  max-width: 880px;
  margin: 0 auto;
}

.article-item {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 6.5rem;
}

.article-toggle {
  display: flex;
  align-items: flex-start;
  gap: 1.3rem;
  padding: 1.5rem 0.2rem;
  cursor: pointer;
}

.article-toggle .article-num {
  font-family: var(--font-serif);
  color: var(--gold-ink);
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 2.2rem;
}

.section-dark .article-toggle .article-num { color: var(--gold); }

.article-heading {
  flex: 1;
}

.article-heading h3 {
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

.article-teaser {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--muted-ink);
  margin: 0;
}

.section-dark .article-teaser { color: var(--text-muted); }

.article-toggle .caret {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1rem;
  margin-top: 0.3rem;
  transition: transform 0.2s ease;
}

.article-toggle:hover .caret {
  transform: translateX(4px);
}

.article-body {
  display: none;
}

.article-body-inner p {
  font-size: 0.96rem;
  color: var(--muted-ink);
}

.section-dark .article-body-inner p { color: var(--text-muted); }

.article-permalink {
  margin-top: 1rem !important;
}

.article-permalink a {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-ink);
  border-bottom: 1px solid var(--gold-ink);
}

.section-dark .article-permalink a { color: var(--gold); border-color: var(--gold); }

@media (max-width: 640px) {
  .article-toggle { gap: 0.9rem; }
}

/* ==========================================================================
   Reader overlay — immersive "magazine" single-article view
   ========================================================================== */

body.reader-open {
  overflow: hidden;
}

.reader-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--cream);
}

body.reader-open .reader-overlay {
  display: block;
}

.reader-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 6vw;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.reader-chapter {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.reader-close {
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--line);
  padding: 0.55rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-ink);
  cursor: pointer;
  transition: all 0.2s ease;
}

.reader-close:hover {
  color: var(--gold-ink);
  border-color: var(--gold);
}

.reader-scroll {
  height: calc(100% - 66px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.reader-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 6vw 1rem;
}

.reader-num {
  font-family: var(--font-serif);
  color: var(--gold-ink);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 1rem;
}

.reader-heading h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.reader-heading .article-teaser {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.reader-body {
  margin-top: 2.2rem;
}

.reader-body p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--charcoal);
}

.reader-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 720px;
  margin: 1.5rem auto 4.5rem;
  padding: 1.6rem 6vw 0;
  border-top: 1px solid var(--line);
}

.reader-footer-nav button {
  background: none;
  border: 1px solid var(--line);
  padding: 0.75rem 1.3rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-ink);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.reader-footer-nav button:hover {
  color: var(--gold-ink);
  border-color: var(--gold);
}

.reader-copy {
  color: var(--gold-ink) !important;
  border-color: var(--gold) !important;
}

@media (max-width: 640px) {
  .reader-topbar { padding: 1rem 5vw; }
  .reader-article { padding: 2.2rem 5vw 1rem; }
  .reader-footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 1.4rem 5vw 0;
  }
  .reader-footer-nav .reader-copy { order: -1; flex-basis: 100%; }
}

/* Utility ------------------------------------------------------------------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
