/*
Theme Name: Vivavida
Theme URI: https://vivavida.nl
Author: Vivavida
Author URI: https://vivavida.nl
Description: Interieur voor elk moment. Editorial WordPress thema voor woon- en lifestyle publishers met Plus Jakarta Sans typografie, plum accent en een verzameling speelse design elementen: gamified loader, marquee ticker, numbered carousels en een creatieve sidebar met genummerde categorieën.
Version: 1.0.6
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vivavida
Tags: blog, magazine, editorial, custom-menu, featured-images, threaded-comments, translation-ready, two-columns, right-sidebar
*/

/* ============================================
   Design tokens
   ============================================ */
:root {
  --cream: #f4ead4;
  --cream-deep: #ebdcb8;
  --paper: #fbf6e9;
  --ink: #1a1207;
  --ink-soft: #6b5a3f;

  /* Primary accent: mustard */
  --mustard: #c89a3a;
  --mustard-deep: #9c7a26;
  --mustard-soft: #e8d4a0;
  --ochre: #c9a23c; /* kept for legacy uses, near-identical to mustard */

  /* Category pastels (complementair palet) */
  --cat-lilac: #d4c0dc;
  --cat-lilac-deep: #8b6a9a;
  --cat-sage: #c8d6b8;
  --cat-sage-deep: #6e8a5a;
  --cat-blush: #e8c5b9;
  --cat-blush-deep: #b07560;
  --cat-sky: #b8d0d8;
  --cat-sky-deep: #5a7e88;
  --cat-clay: #e0b59a;
  --cat-clay-deep: #9a6a44;

  --line: rgba(26, 18, 7, 0.15);

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  --radius: 28px;
  --radius-sm: 16px;
  --shadow-soft: 0 10px 40px -20px rgba(26, 18, 7, 0.3);
  --shadow-card: 0 30px 80px -40px rgba(26, 18, 7, 0.4);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
  text-transform: lowercase;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: min(1320px, 92vw); margin: 0 auto; }

.pop { color: var(--mustard); }
.highlight {
  position: relative;
  display: inline-block;
}
.highlight::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: 8%; height: 14%; background: var(--cat-lilac); z-index: -1; border-radius: 999px; }

/* Visually hidden (for accessibility) */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  word-wrap: normal !important;
}

/* ============================================
   Brand
   ============================================ */
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  text-transform: lowercase;
}
.brand .the {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  transform: translateY(-8px);
}
.brand .name {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.brand-big .the { font-size: 22px; transform: translateY(-16px); }
.brand-big .name { font-size: 56px; }

/* ============================================
   Loader
   ============================================ */
/* When sessionStorage shows the visitor has already seen the loader,
   hide it before any paint to avoid flicker and improve LCP scores. */
.binnen-loader-skip .binnen-loader { display: none !important; }

.binnen-loader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--cream);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  transition: opacity 0.8s, transform 0.8s cubic-bezier(.6,0,.4,1);
}
.binnen-loader.gone {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}
.lamp-stage {
  position: relative;
  width: 240px;
  height: 240px;
  margin-bottom: 40px;
}
.lamp {
  position: absolute;
  top: 0; left: 50%;
  width: 120px;
  height: 100%;
  transform-origin: top center;
  animation: lamp-swing 2.4s ease-in-out infinite;
  transform: translateX(-50%);
}
@keyframes lamp-swing {
  0%, 100% { transform: translateX(-50%) rotate(-8deg); }
  50% { transform: translateX(-50%) rotate(8deg); }
}
.lamp-cord { width: 2px; height: 110px; background: var(--cream); margin: 0 auto; }
.lamp-shade {
  width: 120px;
  height: 70px;
  background: var(--mustard);
  border-radius: 0 0 60px 60px;
  margin-top: -2px;
  position: relative;
}
.lamp-shade::after {
  content: "";
  position: absolute;
  bottom: -20px; left: 30%;
  width: 40%;
  height: 30px;
  background: radial-gradient(ellipse at top, var(--cat-blush) 0%, transparent 70%);
  filter: blur(8px);
  opacity: 0.7;
  animation: glow 2.4s ease-in-out infinite;
}
@keyframes glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}
.loader-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 56px);
  text-align: center;
  margin-bottom: 12px;
  text-transform: lowercase;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.loader-headline em {
  font-style: normal;
  color: var(--cat-lilac);
}
.loader-sub {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 32px;
  font-weight: 500;
}
.loader-cta {
  padding: 16px 32px;
  border-radius: 999px;
  border: 2px solid var(--cream);
  background: transparent;
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s;
  font-family: var(--font-body);
}
.loader-cta:hover {
  background: var(--mustard);
  border-color: var(--mustard);
  transform: translateY(-2px);
}
.loader-progress {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ochre);
  font-weight: 700;
}

/* ============================================
   Top bar
   ============================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.topbar.has-admin-bar { top: 32px; }
@media (max-width: 782px) {
  .topbar.has-admin-bar { top: 46px; }
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.menu-toggle .lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.menu-toggle .lines span {
  width: 22px; height: 2px;
  background: var(--ink);
  transition: transform 0.3s;
}
.menu-toggle:hover .lines span:first-child { transform: translateX(4px); }
.menu-toggle:hover .lines span:last-child { transform: translateX(-4px); }

.topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  transition: all 0.3s;
}
.nav-cta:hover { background: var(--mustard); transform: translateY(-2px); }

/* ============================================
   Shared buttons
   ============================================ */
.btn-big {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 36px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  transition: all 0.3s;
}
.btn-big:hover { background: var(--mustard); transform: translateY(-3px); }
.btn-big .arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--mustard);
  display: grid;
  place-items: center;
  transition: all 0.3s;
}
.btn-big:hover .arrow { background: var(--cream); color: var(--mustard); }

/* ============================================
   Hero (homepage)
   ============================================ */
.hero { position: relative; padding: 60px 0 40px; overflow: hidden; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
  font-weight: 700;
}
.hero-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--ink-soft); }
.hero h1 { font-size: clamp(32px, 4.5vw, 64px); line-height: 1.08; max-width: 1100px; }
.hero-simple { padding: 48px 0 72px; }
.hero-simple h1 { margin-bottom: 32px; }
.hero-simple .hero-intro { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--ink); margin: 0 0 36px; max-width: 560px; font-weight: 400; }
.hero-simple .hero-intro .heavy { font-weight: 700; color: var(--mustard); }
.hero-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 56px; }
.hero-image-wrap {
  position: relative;
  aspect-ratio: 5/6;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-deep);
  transform: rotate(-2deg);
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.hero-image-wrap:hover { transform: rotate(0deg) scale(1.02); }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-sticker {
  position: absolute;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--mustard);
  color: var(--cream);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  transform: rotate(-12deg);
  animation: spin-slow 24s linear infinite;
}
.hero-sticker.top-right { top: -30px; right: -30px; }
@keyframes spin-slow {
  from { transform: rotate(-12deg); }
  to { transform: rotate(348deg); }
}
.hero-sticker .inner { animation: spin-slow 24s linear infinite reverse; }

.hero-intro { font-size: 19px; line-height: 1.5; color: var(--ink); margin: 0 0 28px; max-width: 480px; font-weight: 400; }
.hero-intro .heavy { font-weight: 700; color: var(--mustard); }

.hero-meta-row { display: flex; gap: 32px; margin-top: 40px; padding-top: 32px; border-top: 2px dotted var(--line); flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 14px; }
.hero-meta-num { font-family: var(--font-display); font-size: 52px; line-height: 0.9; color: var(--mustard); }
.hero-meta-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--ink-soft); max-width: 100px; font-weight: 700; }

/* ============================================
   Ticker
   ============================================ */
.ticker {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  white-space: nowrap;
  padding: 24px 0;
  border-top: 1px solid var(--mustard-deep);
  border-bottom: 1px solid var(--mustard-deep);
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  animation: ticker-scroll 30s linear infinite;
  padding-left: 40px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  text-transform: lowercase;
  line-height: 1;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 40px; }
.ticker-track span::after { content: "✻"; color: var(--mustard); font-family: var(--font-body); }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   Featured carousel
   ============================================ */
.featured { padding: 100px 0; }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; gap: 40px; flex-wrap: wrap; }
.section-title h2 { font-size: clamp(28px, 3.5vw, 56px); max-width: 800px; line-height: 1.1; }
.section-title .eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; display: block; font-weight: 700; }

.carousel-controls { display: flex; align-items: center; gap: 16px; }
.car-counter { font-family: var(--font-display); font-size: 24px; color: var(--ink-soft); }
.car-counter .current { color: var(--mustard); }
.car-btn { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; color: var(--ink); display: grid; place-items: center; transition: all 0.3s; font-size: 18px; }
.car-btn:hover { background: var(--ink); color: var(--cream); }
.car-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.carousel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.car-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform 0.4s; position: relative; }
.car-card:hover { transform: translateY(-8px); }
.car-number { position: absolute; top: 18px; left: 24px; font-family: var(--font-display); font-size: 76px; line-height: 0.85; color: var(--cream); z-index: 2; text-shadow: 3px 3px 0 rgba(26, 18, 7, 0.25); }
.car-image { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.car-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.car-card:hover .car-image img { transform: scale(1.08); }
.car-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 18, 7, 0.45) 0%, transparent 40%); }
.car-body { padding: 32px 28px; }
.car-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--cream-deep); color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 16px; }
.car-title { font-family: var(--font-display); font-size: 22px; line-height: 1.25; margin-bottom: 14px; text-transform: lowercase; }
.car-excerpt { font-size: 14px; color: var(--ink-soft); margin-bottom: 24px; line-height: 1.55; }
.car-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 2px dotted var(--line); font-size: 11px; color: var(--ink-soft); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.car-readmore { color: var(--mustard); font-weight: 700; }

/* ============================================
   Category rows on homepage
   - Generous padding for whitespace between rows
   - Subtle paper/cream alternation (every 2nd row paper)
   - Dotted divider between rows
   - Subtitle (was H2 huge) is now small + secondary
   ============================================ */
.cat-row { padding: 100px 0; border-top: 1px dotted var(--line); }
.cat-row:first-of-type { border-top: none; }
.cat-row-paper { background: var(--paper); }
.cat-row-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 48px; gap: 32px; flex-wrap: wrap; }
.cat-row-header .eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--mustard); font-weight: 700; display: block; margin-bottom: 10px; }
.cat-row-header h2 { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; text-transform: lowercase; max-width: 480px; }
.cat-row-link { color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; border-bottom: 1.5px solid var(--ink); flex-shrink: 0; }
.cat-row-link:hover { color: var(--mustard); border-color: var(--mustard); gap: 14px; }
.cat-row .article-grid { grid-template-columns: repeat(3, 1fr); }

/* ============================================
   Homepage break section: editor spotlight
   Dark themed personal moment between cat-rows
   ============================================ */
.editor-spotlight { background: var(--ink); color: var(--cream); padding: 100px 0; margin: 40px 24px; border-radius: 48px; position: relative; overflow: hidden; }
.editor-spotlight::before { content: ""; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; border-radius: 50%; background: var(--mustard); opacity: 0.08; pointer-events: none; }
.editor-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 80px; align-items: center; position: relative; }
.editor-spotlight .eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--cat-lilac); font-weight: 700; display: block; margin-bottom: 24px; }
.editor-name { font-size: clamp(40px, 5.5vw, 76px); line-height: 1.02; margin-bottom: 12px; color: var(--cream); letter-spacing: -0.02em; }
.editor-role { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244, 234, 212, 0.55); font-weight: 700; margin: 0 0 36px; }
.editor-quote { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.5; font-weight: 400; font-style: italic; margin: 0 0 40px; max-width: 540px; color: var(--cream); position: relative; padding-left: 28px; border-left: 2px solid var(--mustard); }
.editor-quote-mark { position: absolute; left: -8px; top: -32px; font-size: 96px; color: var(--mustard); line-height: 1; font-style: normal; font-weight: 800; font-family: var(--font-display); }
.editor-link { display: inline-flex; align-items: center; gap: 10px; color: var(--mustard); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1.5px solid var(--mustard); padding-bottom: 4px; transition: gap 0.3s; }
.editor-link:hover { gap: 18px; color: var(--cat-lilac); border-color: var(--cat-lilac); }
.editor-visual { position: relative; }
.editor-portrait { width: 100%; max-width: 340px; aspect-ratio: 1; margin: 0 auto; border-radius: 32px; background: linear-gradient(135deg, var(--mustard) 0%, var(--cat-clay) 60%, var(--cat-blush-deep) 100%); display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.5); transform: rotate(-2deg); }
.editor-portrait img { width: 100%; height: 100%; object-fit: cover; }
.editor-initials { font-size: clamp(80px, 9vw, 140px); font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: -0.04em; line-height: 1; }
.editor-portrait-tag { position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%) rotate(3deg); background: var(--cream); color: var(--ink); padding: 8px 16px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.3); }

/* ============================================
   Homepage break section: style quiz teaser
   Light pastel themed playful section
   ============================================ */
.quiz-teaser { background: var(--cat-blush); padding: 100px 0; margin: 40px 24px; border-radius: 48px; position: relative; overflow: hidden; text-align: center; }
.quiz-teaser::before { content: ""; position: absolute; bottom: -80px; left: -80px; width: 280px; height: 280px; border-radius: 50%; background: var(--cat-blush-deep); opacity: 0.1; pointer-events: none; }
.quiz-teaser::after { content: ""; position: absolute; top: 40px; right: 60px; width: 64px; height: 64px; border: 2.5px dashed var(--cat-blush-deep); border-radius: 50%; opacity: 0.35; pointer-events: none; }
.quiz-inner { max-width: 820px; margin: 0 auto; position: relative; }
.quiz-teaser .eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--cat-blush-deep); font-weight: 700; display: block; margin-bottom: 16px; }
.quiz-teaser h2 { font-size: clamp(30px, 4.5vw, 60px); line-height: 1.05; margin: 0 auto 24px; max-width: 720px; font-weight: 800; letter-spacing: -0.015em; }
.quiz-intro { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; color: var(--ink); max-width: 560px; margin: 0 auto 56px; font-weight: 500; }
.quiz-styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 auto 56px; max-width: 720px; }
.style-card { background: var(--paper); border: 1px solid rgba(26, 18, 7, 0.08); border-radius: 18px; padding: 22px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; transition: all 0.3s; color: var(--ink); text-align: left; }
.style-card:hover { background: var(--ink); color: var(--cream); transform: translateY(-4px); border-color: var(--ink); }
.style-num { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; color: var(--cat-blush-deep); transition: color 0.3s; font-family: var(--font-display); }
.style-card:hover .style-num { color: var(--mustard); }
.style-name { font-size: 17px; font-weight: 700; text-transform: lowercase; letter-spacing: -0.01em; line-height: 1.2; }
.quiz-cta { background: var(--ink); color: var(--cream); }
.quiz-cta:hover { background: var(--mustard); color: var(--ink); }

/* ============================================
   Category color cycling
   Each .cat-row gets a different pastel accent.
   In the sidebar, each list item's number also cycles through the same palette.
   ============================================ */
.cat-style-lilac .eyebrow { color: var(--cat-lilac-deep); }
.cat-style-sage .eyebrow  { color: var(--cat-sage-deep); }
.cat-style-blush .eyebrow { color: var(--cat-blush-deep); }
.cat-style-sky .eyebrow   { color: var(--cat-sky-deep); }
.cat-style-clay .eyebrow  { color: var(--cat-clay-deep); }

.cat-style-lilac .cat-row-link:hover { color: var(--cat-lilac-deep); border-color: var(--cat-lilac-deep); }
.cat-style-sage .cat-row-link:hover  { color: var(--cat-sage-deep);  border-color: var(--cat-sage-deep); }
.cat-style-blush .cat-row-link:hover { color: var(--cat-blush-deep); border-color: var(--cat-blush-deep); }
.cat-style-sky .cat-row-link:hover   { color: var(--cat-sky-deep);   border-color: var(--cat-sky-deep); }
.cat-style-clay .cat-row-link:hover  { color: var(--cat-clay-deep);  border-color: var(--cat-clay-deep); }

/* In the sidebar widget, each numbered category gets a different pastel accent for its number */
.cat-list li:nth-child(5n+1) .cat-num { color: var(--cat-lilac-deep); }
.cat-list li:nth-child(5n+2) .cat-num { color: var(--cat-sage-deep); }
.cat-list li:nth-child(5n+3) .cat-num { color: var(--cat-blush-deep); }
.cat-list li:nth-child(5n+4) .cat-num { color: var(--cat-sky-deep); }
.cat-list li:nth-child(5n+5) .cat-num { color: var(--cat-clay-deep); }

.cat-list li:nth-child(5n+1) .cat-item:hover .cat-name { color: var(--cat-lilac-deep); }
.cat-list li:nth-child(5n+2) .cat-item:hover .cat-name { color: var(--cat-sage-deep); }
.cat-list li:nth-child(5n+3) .cat-item:hover .cat-name { color: var(--cat-blush-deep); }
.cat-list li:nth-child(5n+4) .cat-item:hover .cat-name { color: var(--cat-sky-deep); }
.cat-list li:nth-child(5n+5) .cat-item:hover .cat-name { color: var(--cat-clay-deep); }

/* ============================================
   Blog grid + filters
   ============================================ */
.blog-list { padding: 80px 0 100px; background: var(--paper); border-radius: 48px 48px 0 0; }
.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.filter-left h3 { font-family: var(--font-display); font-size: clamp(30px, 4.5vw, 52px); text-transform: lowercase; line-height: 1; }
.filter-meta { font-size: 13px; color: var(--ink-soft); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.filter-meta strong { color: var(--ink); font-family: var(--font-display); font-size: 20px; font-weight: 400; letter-spacing: 0; vertical-align: -1px; margin-right: 6px; }
.filter-tabs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.filter-tab { padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; font-size: 13px; font-weight: 600; transition: all 0.3s; text-transform: lowercase; }
.filter-tab.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.filter-tab:hover:not(.active) { border-color: var(--ink); }
.filter-divider { width: 1px; height: 24px; background: var(--line); margin: 0 4px; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.article-grid.with-sidebar { grid-template-columns: 1fr 1fr; }
.article { display: flex; flex-direction: column; gap: 14px; cursor: pointer; transition: transform 0.4s; }
.article:hover { transform: translateY(-6px); }
.article-img { aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; background: var(--cream-deep); position: relative; }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.article:hover .article-img img { transform: scale(1.06); }
.article-date { position: absolute; top: 16px; left: 16px; padding: 8px 14px; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.article-corner { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; transition: transform 0.3s, background 0.3s; font-size: 18px; font-weight: 600; }
.article:hover .article-corner { background: var(--mustard); color: var(--cream); transform: rotate(-45deg); }
.article h4, .article h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.22; text-transform: lowercase; margin: 6px 0 0; transition: color 0.3s; letter-spacing: -0.01em; }
.article:hover h4, .article:hover h2 { color: var(--mustard); }
.article-foot { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--ink-soft); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; }
.article-foot .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-soft); }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.pagination .page-numbers { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; font-family: var(--font-display); font-size: 18px; color: var(--ink); transition: all 0.3s; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.pagination .page-numbers:hover, .pagination .page-numbers.current { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pagination .page-numbers.prev, .pagination .page-numbers.next { border-color: var(--ink); }
.pagination .page-numbers.prev:hover, .pagination .page-numbers.next:hover { background: var(--mustard); border-color: var(--mustard); }
.pagination .dots { color: var(--ink-soft); padding: 0 4px; border: none; background: none; }

/* Main + sidebar layout */
.main-section { padding: 0 0 100px; }
.main-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.main-content { min-width: 0; }

/* ============================================
   Sidebar widgets
   ============================================ */
.sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 32px; }
.widget { background: var(--paper); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.widget-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.widget-label { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.widget-arrow { font-size: 14px; color: var(--ink-soft); }

.widget-about { background: var(--ink); color: var(--cream); padding: 32px 28px; position: relative; overflow: hidden; }
.widget-about::before { content: "✻"; position: absolute; top: -20px; right: -15px; font-size: 140px; color: var(--mustard); opacity: 0.35; line-height: 1; }
.widget-about .widget-label { color: var(--ochre); position: relative; }
.widget-about-brand { margin-bottom: 16px; position: relative; }
.widget-about-brand .the { color: rgba(244, 234, 212, 0.6); }
.widget-about-brand .name { color: var(--cream); font-size: 40px; }
.widget-about p { font-size: 14px; line-height: 1.55; color: rgba(244, 234, 212, 0.8); margin: 0 0 20px; position: relative; }
.widget-about-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ochre); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; position: relative; padding-bottom: 4px; border-bottom: 1px solid var(--ochre); transition: gap 0.3s; }
.widget-about-link:hover { gap: 14px; }

.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-item { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; cursor: pointer; transition: all 0.3s; color: var(--ink); }
.cat-item:last-child { border-bottom: none; }
.cat-item:hover { padding-left: 8px; }
.cat-num { font-family: var(--font-display); font-size: 32px; line-height: 0.9; color: var(--mustard); min-width: 44px; transition: color 0.3s; }
.cat-item:hover .cat-num { color: var(--mustard-deep); }
.cat-name { font-family: var(--font-display); font-size: 16px; text-transform: lowercase; line-height: 1.2; flex: 1; transition: color 0.3s; }
.cat-item:hover .cat-name { color: var(--mustard); }
.cat-count { font-size: 13px; color: var(--ink-soft); font-weight: 600; min-width: 32px; text-align: right; font-variant-numeric: tabular-nums; }
.cat-arrow { font-size: 14px; color: var(--ink-soft); transition: transform 0.3s, color 0.3s; }
.cat-item:hover .cat-arrow { transform: translateX(4px); color: var(--mustard); }

.recent-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.recent-item { display: flex; gap: 14px; cursor: pointer; transition: opacity 0.3s; color: var(--ink); }
.recent-item:hover { opacity: 0.75; }
.recent-thumb { width: 72px; height: 72px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: var(--cream-deep); position: relative; }
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-thumb .rank { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--mustard); color: var(--cream); display: grid; place-items: center; font-family: var(--font-display); font-size: 11px; line-height: 1; }
.recent-body h5 { font-family: var(--font-display); font-size: 14px; line-height: 1.3; margin: 0 0 6px; text-transform: lowercase; transition: color 0.3s; font-weight: 700; }
.recent-item:hover h5 { color: var(--mustard); }
.recent-meta { font-size: 11px; color: var(--ink-soft); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: 13px; transition: all 0.3s; color: var(--ink); }
.tag-pill:hover { background: var(--mustard); color: var(--cream); border-color: var(--mustard); transform: translateY(-2px); }
.tag-pill .count { font-size: 10px; color: var(--ink-soft); font-weight: 600; }
.tag-pill:hover .count { color: var(--mustard-soft); }
.tag-pill.big { font-size: 16px; padding: 10px 18px; background: var(--mustard-soft); border-color: var(--mustard); }
.tag-pill.big:hover { background: var(--mustard); color: var(--cream); }

.author-feature { text-align: center; padding: 8px 0; }
.author-photo { width: 92px; height: 92px; border-radius: 50%; background: var(--mustard); color: var(--cream); display: grid; place-items: center; font-family: var(--font-display); font-size: 38px; margin: 0 auto 16px; transition: transform 0.4s; overflow: hidden; }
.author-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-feature:hover .author-photo { transform: rotate(-8deg) scale(1.05); }
.author-name { font-family: var(--font-display); font-size: 20px; text-transform: lowercase; margin-bottom: 4px; line-height: 1.15; }
.author-role { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-bottom: 16px; }
.author-quote { font-family: var(--font-display); font-size: 16px; line-height: 1.3; color: var(--ink); text-transform: lowercase; padding-top: 16px; border-top: 2px dotted var(--line); }
.author-quote::before { content: "❝"; color: var(--mustard); margin-right: 6px; }

/* ============================================
   Page hero (generic page top)
   ============================================ */
.page-hero { padding: 80px 0 60px; position: relative; overflow: hidden; }
.page-hero::before { content: "✻"; position: absolute; top: 40px; right: -30px; font-size: 280px; color: var(--mustard-soft); opacity: 0.4; line-height: 1; z-index: 0; }
.page-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 28px; font-weight: 700; position: relative; }
.page-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--ink-soft); }
.page-hero h1, .page-title { font-size: clamp(36px, 5vw, 72px); line-height: 1.05; margin-bottom: 28px; position: relative; max-width: 1100px; }
.page-intro { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-soft); max-width: 640px; line-height: 1.5; position: relative; }
.page-intro strong { color: var(--ink); font-weight: 600; }

/* ============================================
   About page
   ============================================ */
.about-hero { padding: 80px 0 100px; position: relative; overflow: hidden; }
.about-hero::before { content: "✻"; position: absolute; top: 40px; right: -40px; font-size: 320px; color: var(--mustard-soft); opacity: 0.4; line-height: 1; z-index: 0; }
.about-hero h1 { font-size: clamp(30px, 4.5vw, 64px); line-height: 1.05; margin-bottom: 40px; position: relative; max-width: 1000px; }
.about-lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.45; color: var(--ink); max-width: 720px; font-weight: 300; position: relative; }
.about-lead strong { color: var(--mustard); font-weight: 600; }

.origin { padding: 100px 0; }
.origin-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.origin-images { position: relative; aspect-ratio: 4/5; }
.origin-img-1, .origin-img-2 { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.origin-img-1 { width: 75%; aspect-ratio: 3/4; top: 0; left: 0; transform: rotate(-3deg); z-index: 2; transition: transform 0.5s; }
.origin-img-2 { width: 50%; aspect-ratio: 1; bottom: 0; right: 0; transform: rotate(5deg); z-index: 1; transition: transform 0.5s; }
.origin-images:hover .origin-img-1 { transform: rotate(0deg) translateY(-8px); }
.origin-images:hover .origin-img-2 { transform: rotate(2deg) translateY(-8px); }
.origin-img-1 img, .origin-img-2 img { width: 100%; height: 100%; object-fit: cover; }
.origin-sticker { position: absolute; top: -20px; right: -10px; width: 130px; height: 130px; border-radius: 50%; background: var(--ochre); color: var(--ink); display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-size: 13px; line-height: 1.2; z-index: 3; border: 2px dashed var(--ink); transform: rotate(-8deg); text-transform: lowercase; }

.origin-content .small, .feature-content .small, .stats-header .small, .team-header .small, .process-header .small, .reasons-header .small, .office-content .small, .faq-header .small, .beliefs-header .small {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--cream-deep);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.beliefs-header .small { background: var(--mustard); color: var(--cream); }
.team-header .small, .process-header .small, .reasons-header .small { background: var(--ochre); color: var(--ink); }

.origin-content h2 { font-size: clamp(30px, 4.5vw, 64px); margin-bottom: 28px; line-height: 1; }
.origin-content p { font-size: 17px; color: var(--ink-soft); margin-bottom: 20px; max-width: 520px; line-height: 1.65; }
.origin-content p strong { color: var(--ink); font-weight: 600; }

.beliefs { padding: 100px 0; background: var(--ink); color: var(--cream); border-radius: 48px; margin: 40px 0; position: relative; overflow: hidden; }
.beliefs::before { content: ""; position: absolute; top: -50%; left: -20%; width: 80%; aspect-ratio: 1; background: radial-gradient(circle, var(--mustard) 0%, transparent 60%); opacity: 0.25; }
.beliefs-header { text-align: center; margin-bottom: 80px; position: relative; }
.beliefs-header h2 { font-size: clamp(30px, 4.5vw, 64px); max-width: 900px; margin: 0 auto; line-height: 1; }
.beliefs-header em { font-style: normal; color: var(--ochre); }
.belief-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.belief { padding: 36px 28px; border-radius: var(--radius); background: rgba(244, 234, 212, 0.06); border: 1px solid rgba(244, 234, 212, 0.12); transition: transform 0.4s, background 0.4s; }
.belief:hover { transform: translateY(-6px); background: rgba(244, 234, 212, 0.1); }
.belief-num { font-family: var(--font-display); font-size: 56px; line-height: 0.9; color: var(--ochre); margin-bottom: 24px; }
.belief h3 { font-size: 22px; margin-bottom: 12px; }
.belief p { color: rgba(244, 234, 212, 0.75); font-size: 14px; line-height: 1.55; }

.team { padding: 120px 0; }
.team-header { text-align: center; margin-bottom: 72px; }
.team-header h2 { font-size: clamp(30px, 4.5vw, 64px); line-height: 1; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { padding: 32px 24px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; transition: transform 0.4s, box-shadow 0.4s; }
.member:nth-child(odd) { transform: translateY(20px); }
.member:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.member:nth-child(odd):hover { transform: translateY(12px); }
.member-photo { width: 72px; height: 72px; border-radius: 50%; background: var(--mustard); color: var(--cream); display: grid; place-items: center; font-family: var(--font-display); font-size: 30px; transition: background 0.4s; overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member:hover .member-photo { background: var(--mustard-deep); }
.member-bio { font-family: var(--font-display); font-size: 17px; line-height: 1.3; color: var(--ink); }
.member-bio::before { content: "❝"; color: var(--mustard); margin-right: 4px; }
.member-info { padding-top: 18px; border-top: 2px dotted var(--line); }
.member-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.member-role { font-size: 11px; color: var(--ink-soft); letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; }
.member-count { font-size: 12px; color: var(--mustard); margin-top: 8px; font-weight: 700; }

.stats { padding: 60px 0 100px; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { padding: 40px 32px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.5s, background 0.5s; }
.stat-card:hover { transform: translateY(-6px); }
.stat-card:nth-child(2) { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.stat-card:nth-child(2) .stat-label { color: rgba(244, 234, 212, 0.85); }
.stat-card:nth-child(2) .stat-num .suffix { color: var(--mustard); }
.stat-card:nth-child(4) { background: var(--cat-lilac); border-color: var(--cat-lilac); }
.stat-num { font-family: var(--font-display); font-size: clamp(56px, 8vw, 112px); line-height: 0.85; }
.stat-num .suffix { font-size: 0.4em; color: var(--mustard); }
.stat-label { font-size: 13px; line-height: 1.5; max-width: 200px; color: var(--ink); }

.process { padding: 120px 0; position: relative; }
.process-header { text-align: center; margin-bottom: 72px; }
.process-header h2 { font-size: clamp(30px, 4.5vw, 64px); line-height: 1; max-width: 900px; margin: 0 auto; }
.process-list { display: flex; flex-direction: column; gap: 0; max-width: 920px; margin: 0 auto; }
.process-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 32px; align-items: center; padding: 36px 0; border-bottom: 1px solid var(--line); transition: padding 0.3s; }
.process-item:hover { padding-left: 16px; }
.process-item:last-child { border-bottom: none; }
.process-num { font-family: var(--font-display); font-size: 64px; line-height: 0.85; color: var(--mustard); transition: color 0.3s, transform 0.3s; }
.process-item:hover .process-num { color: var(--mustard-deep); transform: scale(1.08); }
.process-content h4 { font-family: var(--font-display); font-size: 26px; margin-bottom: 8px; text-transform: lowercase; line-height: 1; }
.process-content p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; max-width: 540px; }
.process-duration { font-family: var(--font-display); font-size: 24px; color: var(--ink); text-align: right; }
.process-duration small { display: block; font-family: var(--font-body); font-size: 11px; color: var(--ink-soft); letter-spacing: 0.15em; text-transform: uppercase; margin-top: 4px; font-weight: 600; }

.press { padding: 100px 0; background: var(--paper); border-radius: 48px; }
.press-header { text-align: center; margin-bottom: 48px; }
.press-header h2 { font-size: clamp(26px, 3.5vw, 48px); line-height: 1; }
.press-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.press-quote { padding: 28px; background: var(--cream); border-radius: var(--radius-sm); border: 1px solid var(--line); transition: transform 0.4s; }
.press-quote:hover { transform: translateY(-4px); }
.press-source { font-family: var(--font-display); font-size: 14px; color: var(--mustard); letter-spacing: 0.04em; margin-bottom: 16px; text-transform: uppercase; }
.press-text { font-family: var(--font-display); font-size: 17px; line-height: 1.3; text-transform: lowercase; color: var(--ink); }

.final-cta { padding: 140px 0; text-align: center; background: var(--ink); color: var(--cream); position: relative; overflow: hidden; border-radius: 48px; margin: 60px 0; }
.final-cta::before { content: "vida"; position: absolute; bottom: -80px; left: 50%; transform: translateX(-50%); font-family: var(--font-display); font-weight: 800; font-size: 360px; color: var(--mustard); opacity: 0.18; pointer-events: none; line-height: 1; text-transform: lowercase; letter-spacing: -0.04em; }
.final-cta h2 { font-size: clamp(36px, 5vw, 80px); line-height: 1.05; margin: 0 auto 28px; max-width: 1000px; position: relative; }
.final-cta h2 em { font-style: normal; color: var(--mustard); }
.final-cta p { font-size: 17px; max-width: 520px; margin: 0 auto 36px; position: relative; opacity: 0.9; }
.cta-buttons { display: inline-flex; gap: 12px; position: relative; flex-wrap: wrap; justify-content: center; }
.cta-buttons .btn-big { background: var(--ink); color: var(--cream); }
.cta-buttons .btn-big.alt { background: transparent; border: 2px solid var(--cream); }
.cta-buttons .btn-big.alt:hover { background: var(--cream); color: var(--mustard); border-color: var(--cream); }

/* ============================================
   Contact page
   ============================================ */
.contact-section { padding: 60px 0 100px; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start; }

.form-card { background: var(--paper); padding: 48px; border-radius: var(--radius); border: 1px solid var(--line); }
.form-card .label-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.form-card .small { display: inline-block; padding: 8px 18px; border-radius: 999px; background: var(--mustard); color: var(--cream); font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.form-card .reply-time { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.06em; font-weight: 600; }
.form-card .reply-time strong { color: var(--mustard); font-weight: 700; }
.form-card h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 28px; line-height: 1; }
.form-card h2 em { font-style: normal; color: var(--mustard); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.form-group input, .form-group textarea, .form-group select { padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); font-family: inherit; font-size: 15px; color: var(--ink); outline: none; transition: border-color 0.3s, background 0.3s; resize: vertical; width: 100%; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--mustard); background: var(--paper); }
.form-group textarea { min-height: 160px; }
.form-group select { cursor: pointer; }

.form-checkbox { display: flex; align-items: flex-start; gap: 12px; margin: 8px 0 24px; cursor: pointer; }
.form-checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--mustard); cursor: pointer; flex-shrink: 0; }
.form-checkbox label { font-size: 13px; color: var(--ink-soft); line-height: 1.5; cursor: pointer; }
.form-checkbox a { color: var(--mustard); text-decoration: underline; text-underline-offset: 3px; }

.form-submit { width: 100%; padding: 18px 32px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; transition: all 0.3s; display: inline-flex; align-items: center; justify-content: center; gap: 14px; }
.form-submit:hover { background: var(--mustard); transform: translateY(-2px); }
.form-submit .arrow { width: 28px; height: 28px; border-radius: 50%; background: var(--mustard); display: grid; place-items: center; transition: all 0.3s; }
.form-submit:hover .arrow { background: var(--cream); color: var(--mustard); }

.form-success { padding: 18px; background: var(--mustard-soft); border-radius: 12px; color: var(--mustard-deep); margin-bottom: 20px; font-weight: 500; }
.form-error { padding: 18px; background: #fde0e0; border-radius: 12px; color: #722; margin-bottom: 20px; font-weight: 500; }

.contact-side { display: flex; flex-direction: column; gap: 20px; }
.contact-card { background: var(--paper); padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--line); transition: transform 0.4s; }
.contact-card:hover { transform: translateY(-4px); }
.contact-card.dark { background: var(--ink); color: var(--cream); border-color: var(--ink); position: relative; overflow: hidden; }
.contact-card.dark::before { content: "✦"; position: absolute; top: -20px; right: -10px; font-size: 100px; color: var(--mustard); opacity: 0.35; line-height: 1; }
.contact-label { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-bottom: 16px; position: relative; }
.contact-card.dark .contact-label { color: var(--ochre); }
.contact-card h3 { font-size: 24px; margin-bottom: 12px; line-height: 1; position: relative; }
.contact-card p { font-size: 14px; color: var(--ink-soft); margin: 0 0 16px; line-height: 1.5; position: relative; }
.contact-card.dark p { color: rgba(244, 234, 212, 0.75); }
.contact-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--mustard); font-size: 14px; padding-bottom: 4px; border-bottom: 1.5px solid var(--mustard); transition: gap 0.3s; position: relative; }
.contact-link:hover { gap: 14px; }
.contact-card.dark .contact-link { color: var(--ochre); border-color: var(--ochre); }
.address-block { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.5; color: var(--ink); margin-bottom: 16px; position: relative; }
.address-block strong { color: var(--ink); font-weight: 700; }

.reasons { padding: 100px 0; }
.reasons-header { text-align: center; margin-bottom: 64px; }
.reasons-header h2 { font-size: clamp(28px, 4vw, 60px); line-height: 1; max-width: 900px; margin: 0 auto; }
.reasons-header em { font-style: normal; color: var(--mustard); }
.reasons-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.reason { padding: 32px 28px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); cursor: pointer; transition: transform 0.4s, box-shadow 0.4s; display: flex; flex-direction: column; gap: 16px; }
.reason:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.reason-num { font-family: var(--font-display); font-size: 52px; line-height: 0.85; color: var(--mustard); transition: color 0.3s; }
.reason:hover .reason-num { color: var(--mustard-deep); }
.reason h4 { font-size: 22px; line-height: 1; margin-bottom: 4px; }
.reason p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin: 0; flex: 1; }
.reason-email { font-size: 13px; font-weight: 700; color: var(--mustard); padding-top: 16px; border-top: 2px dotted var(--line); display: inline-flex; align-items: center; gap: 6px; }

.faq { padding: 80px 0 100px; background: var(--paper); border-radius: 48px 48px 0 0; }
.faq-header { text-align: center; margin-bottom: 56px; }
.faq-header h2 { font-size: clamp(28px, 4vw, 56px); line-height: 1; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--line); transition: background 0.3s; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; padding: 28px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left; font-family: var(--font-display); font-size: 22px; text-transform: lowercase; line-height: 1.1; transition: padding 0.3s, color 0.3s; }
.faq-q:hover { color: var(--mustard); padding-left: 8px; }
.faq-q .toggle { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; flex-shrink: 0; transition: transform 0.4s, background 0.3s; font-size: 18px; }
.faq-item.open .faq-q { color: var(--mustard); }
.faq-item.open .toggle { transform: rotate(45deg); background: var(--mustard); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(.4,0,.2,1); }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 0 0 28px 0; font-size: 16px; color: var(--ink-soft); line-height: 1.6; max-width: 640px; }
.faq-a-inner p { margin: 0 0 12px; }
.faq-a-inner p:last-child { margin: 0; }

.office { padding: 80px 0; }
.office-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.office-image { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--cream-deep); position: relative; transform: rotate(-2deg); transition: transform 0.5s; }
.office-image:hover { transform: rotate(0deg) scale(1.02); }
.office-image img { width: 100%; height: 100%; object-fit: cover; }
.office-sticker { position: absolute; top: -10px; right: -10px; width: 130px; height: 130px; border-radius: 50%; background: var(--ochre); color: var(--ink); display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-size: 12px; line-height: 1.2; z-index: 3; border: 2px dashed var(--ink); transform: rotate(8deg); text-transform: lowercase; }
.office-content h2 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 24px; line-height: 1; }
.office-content h2 em { font-style: normal; color: var(--mustard); }
.office-content p { font-size: 16px; color: var(--ink-soft); margin-bottom: 24px; max-width: 460px; }
.office-details { display: flex; flex-direction: column; gap: 0; margin-bottom: 28px; }
.office-detail { padding: 16px 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.office-detail-label { font-size: 11px; color: var(--ink-soft); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.office-detail-value { font-family: var(--font-display); font-size: 18px; color: var(--ink); text-transform: lowercase; }

/* ============================================
   Single post
   ============================================ */
.single-post-hero { padding: 60px 0 40px; }
.single-meta-row { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.single-cat { padding: 6px 14px; border-radius: 999px; background: var(--mustard-soft); color: var(--mustard-deep); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.single-date { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.single-readtime { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.single-title { font-size: clamp(32px, 4.5vw, 60px); line-height: 1.08; margin-bottom: 32px; max-width: 1000px; }
.single-title em { font-style: normal; color: var(--mustard); }
.single-byline { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 40px; flex-wrap: wrap; }
.single-byline-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--mustard); color: var(--cream); display: grid; place-items: center; font-family: var(--font-display); font-size: 20px; overflow: hidden; }
.single-byline-avatar img { width: 100%; height: 100%; object-fit: cover; }
.single-byline-name { font-size: 14px; }
.single-byline-name strong { display: block; font-weight: 700; }
.single-byline-name span { color: var(--ink-soft); font-size: 12px; }
.single-share { margin-left: auto; display: inline-flex; gap: 8px; }
.single-share a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 14px; transition: all 0.3s; }
.single-share a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.single-feature-img { aspect-ratio: 16/9; max-height: 540px; max-width: 1100px; margin: 0 auto 60px; border-radius: var(--radius); overflow: hidden; background: var(--cream-deep); }
.single-feature-img img { width: 100%; height: 100%; object-fit: cover; }

.single-body { max-width: 720px; margin: 0 auto; padding: 0 0 80px; font-size: 18px; line-height: 1.7; color: var(--ink); }
.single-body p { margin: 0 0 24px; }
.single-body p:first-of-type::first-letter { font-family: var(--font-display); font-size: 4em; line-height: 0.9; float: left; margin: 0 12px 0 0; color: var(--mustard); }
.single-body h2 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px); margin: 56px 0 24px; text-transform: lowercase; line-height: 1; }
.single-body h3 { font-family: var(--font-display); font-size: 26px; margin: 40px 0 16px; text-transform: lowercase; line-height: 1; }
.single-body blockquote { font-family: var(--font-display); font-size: 28px; line-height: 1.2; text-transform: lowercase; color: var(--mustard); padding: 40px 0; margin: 40px 0; border-top: 2px dotted var(--line); border-bottom: 2px dotted var(--line); }
.single-body blockquote::before { content: "❝"; color: var(--ochre); margin-right: 8px; }
.single-body a { color: var(--mustard); text-decoration: underline; text-underline-offset: 3px; }
.single-body img { border-radius: var(--radius-sm); margin: 32px 0; }
.single-body figure { margin: 32px 0; }
.single-body figcaption { font-size: 13px; color: var(--ink-soft); text-align: center; margin-top: 12px; font-style: italic; }
.single-body ul, .single-body ol { margin: 0 0 24px; padding-left: 24px; }
.single-body li { margin-bottom: 8px; }

.single-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 40px 0; }
.single-tags-label { font-size: 11px; color: var(--ink-soft); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; align-self: center; margin-right: 12px; }

.related-posts { padding: 80px 0; }
.related-posts h3 { font-size: clamp(32px, 4vw, 56px); margin-bottom: 48px; text-align: center; }
.related-posts h3 em { font-style: normal; color: var(--mustard); }

/* ============================================
   404 page
   ============================================ */
.error-404 { padding: 120px 0; text-align: center; }
.error-404 .big-num { font-family: var(--font-display); font-size: clamp(160px, 26vw, 360px); line-height: 0.9; color: var(--mustard); margin-bottom: 24px; }
.error-404 h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 24px; }
.error-404 p { font-size: 18px; color: var(--ink-soft); max-width: 480px; margin: 0 auto 32px; }

/* ============================================
   Footer
   ============================================ */
.site-footer { padding: 80px 0 32px; background: var(--cream); }
.footer-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 10vw, 140px); line-height: 1; color: var(--ink); margin-bottom: 60px; overflow: hidden; text-transform: lowercase; letter-spacing: -0.02em; }
.footer-big .pop { color: var(--mustard); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-top: 48px; border-top: 1px solid var(--line); margin-bottom: 40px; }
.footer-col h4 { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 20px; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 15px; transition: color 0.3s; }
.footer-col a:hover { color: var(--mustard); }
.footer-brand p { font-size: 16px; line-height: 1.5; max-width: 320px; color: var(--ink-soft); margin: 16px 0 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; gap: 16px; }
.footer-credit { color: var(--mustard); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; }

/* ============================================
   Menu overlay
   ============================================ */
.menu-overlay { position: fixed; inset: 0; background: var(--ink); color: var(--cream); z-index: 100; transform: translateY(-100%); transition: transform 0.7s cubic-bezier(.6,0,.4,1); display: flex; flex-direction: column; padding: 32px 0; overflow-y: auto; }
.menu-overlay.open { transform: translateY(0); }
.menu-top { display: flex; justify-content: space-between; align-items: center; }
.menu-close { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.menu-close .x { width: 22px; height: 22px; position: relative; }
.menu-close .x::before, .menu-close .x::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: var(--cream); transform-origin: center; }
.menu-close .x::before { transform: rotate(45deg); }
.menu-close .x::after { transform: rotate(-45deg); }
.menu-main { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.menu-main ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; counter-reset: menuitem; }
.menu-main li a { font-family: var(--font-display); font-size: clamp(44px, 8.5vw, 120px); line-height: 1; transition: all 0.3s; display: inline-flex; align-items: baseline; gap: 16px; width: fit-content; text-transform: lowercase; color: var(--cream); }
.menu-main li a::before { counter-increment: menuitem; content: counter(menuitem, decimal-leading-zero); font-family: var(--font-body); font-size: 18px; color: var(--ochre); font-weight: 700; letter-spacing: 0.04em; }
.menu-main li a:hover { color: var(--mustard-soft); padding-left: 24px; }
.menu-foot { display: flex; justify-content: space-between; padding-top: 32px; border-top: 1px solid rgba(244, 234, 212, 0.15); font-size: 13px; flex-wrap: wrap; gap: 16px; color: rgba(244, 234, 212, 0.7); }
.menu-foot a { color: var(--cream); }
.menu-foot-links { display: flex; gap: 24px; }
.menu-brand .the { color: rgba(244, 234, 212, 0.6); }
.menu-brand .name { color: var(--cream); }

/* ============================================
   Reveal animations — progressive enhancement
   Elements stay visible by default; JS adds .js-enabled to <html>,
   which then enables the hide-and-animate-in behavior.
   This means no JS = no broken layout, content always visible.
   ============================================ */
.js-enabled .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s cubic-bezier(.2,.8,.2,1), transform 1.1s cubic-bezier(.2,.8,.2,1); }
.js-enabled .reveal.in { opacity: 1; transform: translateY(0); }
.js-enabled .reveal-d1 { transition-delay: 0.1s; }
.js-enabled .reveal-d2 { transition-delay: 0.2s; }
.js-enabled .reveal-d3 { transition-delay: 0.3s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1100px) {
  .main-grid { grid-template-columns: 1fr; gap: 80px; }
  .sidebar { position: static; }
}
@media (max-width: 960px) {
  .hero-row { grid-template-columns: 1fr; gap: 40px; }
  .hero-image-wrap { max-width: 480px; margin: 0 auto; }
  .origin-grid, .office-grid { grid-template-columns: 1fr; gap: 60px; }
  .origin-images, .office-image { max-width: 500px; margin: 0 auto; width: 100%; }
  .belief-grid, .team-grid, .stats-inner, .press-grid, .reasons-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-item { grid-template-columns: 80px 1fr; }
  .process-duration { grid-column: 2; text-align: left; }
  .carousel { grid-template-columns: 1fr 1fr; }
  .article-grid, .article-grid.with-sidebar, .cat-row .article-grid { grid-template-columns: 1fr 1fr; }
  .editor-inner { grid-template-columns: 1fr; gap: 56px; }
  .editor-visual { order: -1; }
  .editor-portrait { max-width: 240px; }
  .quiz-styles { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .belief-grid, .team-grid, .stats-inner, .press-grid, .reasons-grid { grid-template-columns: 1fr; }
  .member:nth-child(odd) { transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .carousel, .article-grid, .article-grid.with-sidebar, .cat-row .article-grid { grid-template-columns: 1fr; }
  .cat-row { padding: 64px 0; }
  .cat-row-header { margin-bottom: 32px; }
  .editor-spotlight, .quiz-teaser { padding: 64px 0; margin: 24px 12px; border-radius: 32px; }
  .editor-name { font-size: clamp(36px, 9vw, 56px); }
  .quiz-styles { grid-template-columns: 1fr; gap: 10px; margin-bottom: 40px; }
  .style-card { padding: 18px 16px; }
  .form-card { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .faq-q { font-size: 18px; }
  .brand-big .the { font-size: 16px; transform: translateY(-10px); }
  .brand-big .name { font-size: 42px; }
}

/* WordPress core classes */
.alignleft { float: left; margin: 0 24px 24px 0; }
.alignright { float: right; margin: 0 0 24px 24px; }
.aligncenter { display: block; margin: 24px auto; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--ink-soft); text-align: center; margin-top: 8px; font-style: italic; }
.sticky { padding: 0; }
.bypostauthor { padding: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 24px 0; }
.gallery img { border-radius: var(--radius-sm); }
