/* =========================================================
   The Happy Days — stylesheet
   Een warme, zonnige Nederlandse leefstijlblog.
   Palet: room papier, zonnegeel, zacht koraal, blush, salie.
   Type: Fraunces (display), Mulish (tekst), Caveat (handgeschreven).
   ========================================================= */

/* ---------- Self-hosted fonts (privacyvriendelijk, geen Google CDN) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("/assets/fonts/mulish-wght.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("/assets/fonts/mulish-wght-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("/assets/fonts/caveat-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("/assets/fonts/caveat-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --cream:      #FBF6EE;
  --cream-2:    #F5ECDD;
  --paper:      #FFFDF9;
  --ink:        #38332D;
  --ink-soft:   #6E665B;
  --sun:        #F2B544;
  --sun-deep:   #E29A18;
  --coral:      #E98B6F;
  --coral-deep: #D2694A;
  --blush:      #F8DCD0;
  --blush-2:    #FCEAE2;
  --sage:       #9FB291;
  --sage-soft:  #E4EADD;
  --sky:        #Bcd4DD;
  --line:       rgba(56, 51, 45, 0.12);
  --line-soft:  rgba(56, 51, 45, 0.07);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 30px;
  --r-pill: 999px;

  --shadow-sm: 0 6px 18px -10px rgba(56, 51, 45, 0.25);
  --shadow: 0 16px 40px -20px rgba(56, 51, 45, 0.30);
  --shadow-lift: 0 26px 50px -22px rgba(56, 51, 45, 0.38);

  --wrap: 1180px;
  --wrap-narrow: 760px;
  --pad: clamp(18px, 4vw, 28px);
  --section-y: clamp(56px, 8vw, 104px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 14% -4%, rgba(242, 181, 68, 0.10), transparent 42%),
    radial-gradient(circle at 92% 2%, rgba(233, 139, 111, 0.10), transparent 40%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--coral-deep); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

ul, ol { padding-left: 1.25em; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--section-y); position: relative; }
.section--blush { background: linear-gradient(180deg, var(--blush-2), var(--blush)); }
.section--cream2 { background: var(--cream-2); }
.section--sage { background: var(--sage-soft); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* eyebrow + handwritten accents (the signature voice) */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral-deep);
}
.script {
  font-family: var(--font-hand);
  font-weight: 700;
  color: var(--coral-deep);
  line-height: 1;
}

.lede { font-size: 1.18rem; color: var(--ink-soft); line-height: 1.65; }

/* Section heading block */
.head-block { max-width: 640px; }
.head-block.center { margin-inline: auto; }
.head-block .script { font-size: clamp(1.7rem, 4vw, 2.3rem); display: block; margin-bottom: 0.1rem; transform: rotate(-2deg); }
.head-block h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.head-block p { margin-top: 0.7rem; color: var(--ink-soft); }

/* squiggly underline used under headings */
.squiggle { display: block; height: 12px; color: var(--sun); margin-top: 0.55rem; }
.center .squiggle { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.95em 1.5em;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--coral { background: var(--coral); color: #fff; box-shadow: var(--shadow-sm); }
.btn--coral:hover { background: var(--coral-deep); color: #fff; box-shadow: var(--shadow); }
.btn--sun { background: var(--sun); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--sun:hover { background: var(--sun-deep); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(56,51,45,0.22); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(255,255,255,0.5); }
.btn--sm { padding: 0.7em 1.15em; font-size: 0.85rem; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 238, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(56,51,45,0.5);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.42rem;
  letter-spacing: -0.015em;
  line-height: 1;
  white-space: nowrap;
}
.brand__name b { color: var(--coral-deep); font-weight: 600; }

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.55em 0.8em;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.nav__link:hover { background: rgba(233,139,111,0.14); color: var(--coral-deep); }
.nav__link[aria-current="page"] { color: var(--coral-deep); }
.nav__link[aria-current="page"]::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--coral);
  margin-left: 0.15rem;
}

/* dropdown */
.has-sub { position: relative; }
.nav__toggle-sub {
  font: inherit;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55em 0.8em;
  border-radius: var(--r-pill);
}
.nav__toggle-sub:hover { background: rgba(233,139,111,0.14); color: var(--coral-deep); }
.nav__toggle-sub svg { width: 12px; height: 12px; transition: transform 0.2s ease; }
.nav__caret { display: inline-block; }
.submenu {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu,
.submenu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-sub:hover .nav__toggle-sub svg,
.has-sub:focus-within .nav__toggle-sub svg { transform: rotate(180deg); }
.submenu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6em 0.7em;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.submenu a:hover { background: var(--blush-2); color: var(--coral-deep); }
.submenu a .dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }

.nav__burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav__burger span,
.nav__burger span::before,
.nav__burger span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav__burger span::before { position: absolute; top: -6px; }
.nav__burger span::after { position: absolute; top: 6px; }
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero__kicker { font-size: clamp(1.9rem, 4.5vw, 2.6rem); display: inline-block; transform: rotate(-3deg); margin-bottom: 0.3rem; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 580; }
.hero h1 em { font-style: italic; color: var(--coral-deep); }
.hero__text { margin-top: 1.1rem; font-size: 1.18rem; color: var(--ink-soft); max-width: 33ch; }
.hero__cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__art { position: relative; }
.hero__art img { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(56,51,45,0.16)); }

/* floating doodles */
.doodle { position: absolute; pointer-events: none; color: var(--sun); opacity: 0.9; z-index: 0; }
.doodle--1 { top: 6%; right: 40%; width: 34px; color: var(--coral); }
.doodle--2 { bottom: 8%; left: 2%; width: 46px; color: var(--sun); }
.doodle--3 { top: 18%; left: 46%; width: 22px; color: var(--sage); }

/* ---------- Post cards ---------- */
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
.posts--feature { grid-template-columns: repeat(2, 1fr); }
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); color: var(--ink); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--blush-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.15rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--blush-2);
  padding: 0.35em 0.7em;
  border-radius: var(--r-pill);
}
.tag .dot { width: 8px; height: 8px; border-radius: 50%; }
.card__title { font-size: 1.22rem; font-weight: 560; margin-top: 0.7rem; line-height: 1.22; }
.card:hover .card__title { color: var(--coral-deep); }
.card__excerpt { color: var(--ink-soft); font-size: 0.97rem; margin-top: 0.5rem; }
.card__meta { margin-top: auto; padding-top: 0.9rem; font-size: 0.82rem; color: var(--ink-soft); display: flex; align-items: center; gap: 0.5rem; }
.card__meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--coral); }

/* big feature card variant */
.card--wide { flex-direction: row; align-items: stretch; }
.card--wide .card__media { aspect-ratio: auto; width: 46%; min-height: 100%; }
.card--wide .card__body { width: 54%; justify-content: center; }

/* ---------- Categories strip ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 22px);
}
.cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 1.5rem 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.cat__icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; }
.cat__icon svg { width: 38px; height: 38px; }
.cat span { font-family: var(--font-display); font-weight: 560; font-size: 1.08rem; }
.cat small { color: var(--ink-soft); font-size: 0.84rem; font-family: var(--font-body); }

/* ---------- Writer / about strip ---------- */
.writer {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.writer__photo { position: relative; max-width: 360px; justify-self: center; }
.writer__photo .frame {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.writer__photo .frame img { border-radius: var(--r); width: 100%; }
.writer__sig { font-family: var(--font-hand); font-weight: 700; font-size: 2.4rem; color: var(--coral-deep); line-height: 1; }
.writer h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-top: 0.3rem; }
.writer p { color: var(--ink-soft); margin-top: 0.9rem; }
.writer .btn { margin-top: 1.4rem; }

/* ---------- CTA / follow block (form-free) ---------- */
.follow {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.follow::before, .follow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
}
.follow::before { width: 220px; height: 220px; background: var(--sun); top: -90px; left: -60px; }
.follow::after { width: 260px; height: 260px; background: var(--coral); bottom: -120px; right: -70px; }
.follow > * { position: relative; z-index: 1; }
.follow .script { color: var(--sun); font-size: clamp(1.8rem, 4vw, 2.4rem); }
.follow h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.follow p { color: rgba(255,255,255,0.82); max-width: 52ch; margin: 0.8rem auto 0; }
.follow .socials { margin-top: 1.6rem; display: inline-flex; gap: 0.7rem; }
.follow .socials a {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.follow .socials a:hover { background: var(--sun); color: var(--ink); transform: translateY(-3px); }
.follow .socials svg { width: 22px; height: 22px; }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding-block: clamp(46px, 6vw, 84px) clamp(24px, 3vw, 40px); text-align: center; position: relative; }
.page-head .script { font-size: clamp(1.7rem, 4vw, 2.3rem); display: block; transform: rotate(-2deg); }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-top: 0.2rem; }
.page-head p { color: var(--ink-soft); max-width: 60ch; margin: 0.9rem auto 0; font-size: 1.1rem; }
.crumbs { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--coral-deep); text-decoration: underline; }

/* ---------- Prose (articles + legal pages) ---------- */
.prose { font-size: 1.075rem; line-height: 1.78; color: var(--ink); }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.4rem; }
.prose h3 { font-size: 1.32rem; margin-top: 1.8rem; }
.prose h2 + p, .prose h3 + p { margin-top: 0.7rem; }
.prose a { color: var(--coral-deep); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45rem; }
.prose li::marker { color: var(--coral); }
.prose strong { font-weight: 800; color: var(--ink); }
.prose blockquote {
  border-left: 4px solid var(--sun);
  background: var(--blush-2);
  padding: 1rem 1.3rem;
  border-radius: 0 var(--r) var(--r) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
}
.prose blockquote p { margin: 0; }
.callout {
  background: var(--sage-soft);
  border: 1px solid rgba(159,178,145,0.5);
  border-radius: var(--r);
  padding: 1.2rem 1.4rem;
}
.callout p { margin: 0; }
.callout strong { color: var(--ink); }

/* ---------- Article layout ---------- */
.article-hero { padding-top: clamp(28px, 4vw, 48px); }
.article-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; justify-content: center; margin-top: 1.1rem; color: var(--ink-soft); font-size: 0.9rem; }
.article-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-top: 0.7rem; }
.article-figure { margin-block: clamp(28px, 4vw, 44px); }
.article-figure img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.article-body { max-width: var(--wrap-narrow); margin-inline: auto; }
.byline {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.byline img { width: 64px; height: 64px; border-radius: 50%; flex: 0 0 auto; background: var(--blush-2); }
.byline .who { font-weight: 800; }
.byline .who small { display: block; font-weight: 500; color: var(--ink-soft); }
.byline a { font-weight: 700; }

/* ---------- Partners ---------- */
.partner-list { display: grid; gap: 1.2rem; max-width: var(--wrap-narrow); margin-inline: auto; }
.partner {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.partner__badge {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: #fff;
}
.partner h3 { font-size: 1.25rem; }
.partner p { color: var(--ink-soft); margin-top: 0.35rem; font-size: 0.98rem; }
.partner .ext { margin-top: 0.7rem; display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 800; font-size: 0.92rem; text-decoration: none; color: var(--coral-deep); }
.partner .ext:hover { color: var(--ink); }
.partner .ext svg { width: 15px; height: 15px; }

.partner-cta {
  max-width: var(--wrap-narrow);
  margin: 1.6rem auto 0;
  text-align: center;
  background: var(--blush-2);
  border: 1px dashed var(--coral);
  border-radius: var(--r-lg);
  padding: 1.6rem;
}
.partner-cta p { color: var(--ink-soft); margin-top: 0.4rem; }

/* ---------- Contact ---------- */
.contact-card {
  max-width: 620px;
  margin-inline: auto;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-card .mail-ico { width: 64px; height: 64px; margin: 0 auto 1rem; color: var(--coral); }
.contact-card .mail-big { font-family: var(--font-display); font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 560; word-break: break-word; }
.contact-card .mail-big a { color: var(--coral-deep); text-decoration: none; }
.contact-card .mail-big a:hover { text-decoration: underline; }
.contact-card p { color: var(--ink-soft); margin-top: 0.8rem; }
.contact-card .btn { margin-top: 1.4rem; }

/* values / mini features grid (over page) */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 30px); }
.value {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.value__icon { width: 52px; height: 52px; margin-bottom: 0.9rem; }
.value h3 { font-size: 1.22rem; }
.value p { color: var(--ink-soft); margin-top: 0.5rem; font-size: 0.97rem; }

/* facts list */
.facts { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.7rem; }
.facts li { display: flex; gap: 0.7rem; align-items: flex-start; }
.facts li svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--coral); margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream-2); border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); padding-block: clamp(40px, 5vw, 64px); }
.footer-col h4 { font-family: var(--font-body); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.96rem; }
.footer-col a:hover { color: var(--coral-deep); }
.footer-brand .brand { margin-bottom: 0.8rem; }
.footer-brand p { color: var(--ink-soft); font-size: 0.96rem; max-width: 34ch; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: var(--ink); transition: all 0.18s ease; }
.footer-social a:hover { background: var(--coral); color: #fff; border-color: var(--coral); transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 1.3rem; display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 0.86rem; color: var(--ink-soft); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.footer-legal a { font-size: 0.86rem; color: var(--ink-soft); text-decoration: none; }
.footer-legal a:hover { color: var(--coral-deep); text-decoration: underline; }

/* ---------- Cookie bar ---------- */
.cookiebar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  bottom: 18px;
  z-index: 150;
  width: min(640px, calc(100% - 32px));
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lift);
  padding: 1.1rem 1.3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookiebar.is-visible { transform: translateX(-50%) translateY(0); }
.cookiebar p { font-size: 0.92rem; color: var(--ink-soft); flex: 1 1 280px; margin: 0; }
.cookiebar p a { color: var(--coral-deep); font-weight: 700; }
.cookiebar .actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* ---------- Pagination / note ---------- */
.list-note { text-align: center; color: var(--ink-soft); margin-top: 2.4rem; font-family: var(--font-hand); font-size: 1.5rem; }

/* ---------- Decorative section divider ---------- */
.sun-row { display: flex; justify-content: center; gap: 0.8rem; color: var(--sun); margin-bottom: 0.4rem; }
.sun-row svg { width: 18px; height: 18px; }
.sun-row svg:nth-child(2) { color: var(--coral); }
.sun-row svg:nth-child(3) { color: var(--sage); }

/* ---------- Utility spacing ---------- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__text { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__art { max-width: 440px; margin-inline: auto; order: -1; }
  .hero__kicker { transform: rotate(-2deg); }
  .writer { grid-template-columns: 1fr; text-align: center; }
  .writer__photo { order: -1; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .card--wide { flex-direction: column; }
  .card--wide .card__media { width: 100%; aspect-ratio: 16/9; }
  .card--wide .card__body { width: 100%; }
}

@media (max-width: 720px) {
  .nav__burger { display: inline-flex; }
  .nav__links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 1rem var(--pad) 1.6rem;
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__link, .nav__toggle-sub { font-size: 1.05rem; padding: 0.75em 0.6em; width: 100%; justify-content: flex-start; border-radius: var(--r-sm); }
  .nav__link[aria-current="page"]::after { margin-left: auto; }
  .has-sub { position: static; }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--blush);
    border-radius: 0;
    margin: 0.2rem 0 0.4rem 0.8rem;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .submenu.is-open { max-height: 420px; }
  .has-sub:hover .submenu:not(.is-open) { /* disable hover-open on mobile */ }
}

@media (max-width: 600px) {
  .posts { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .brand__name { font-size: 1.25rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============ Motion / a11y preferences ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .card:hover, .btn:hover, .cat:hover { transform: none; }
}
