/*
Theme Name: Drakaki Nutrition
Theme URI: https://drakaki.devleoo.com/
Author: Heuristic Data
Description: Concept C — Minimal Human Wellness. Custom theme for Drakaki Nutrition (Mariella Drakaki, Sports Nutritionist-Dietitian MSc, RD).
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: drakaki
*/

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/manrope-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/manrope-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300 400; font-display: swap;
  src: url("assets/fonts/newsreader-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300 400; font-display: swap;
  src: url("assets/fonts/newsreader-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 300 400; font-display: swap;
  src: url("assets/fonts/newsreader-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 300 400; font-display: swap;
  src: url("assets/fonts/newsreader-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --ink: #26302A;
  --ink-2: #3C4740;
  --ink-3: #4A544A;
  --muted: #5D6A5F;
  --faint: #8A9184;
  --green: #4A6350;
  --green-dark: #3C5342;
  --sage: #BBA8CF;   /* secondary: lavender (dots, bullets) */
  --mint: #E7DFEF;   /* secondary: soft lilac (icon circles) */
  --mist: #F0ECF4;   /* secondary: lavender mist (backgrounds) */
  --plum: #6C5486;   /* secondary accent */
  --plum-dark: #56426D;
  --on-plum: #E9E1F1;
  --paper: #FBF9F5;
  --sand: #F2ECE2;
  --stone: #E7E2D8;
  --line: #C9CFC2;
  --on-green: #DCE4DB;
  --gutter: clamp(16px, 3vw, 40px);
  --sec-y: clamp(56px, 7vw, 104px);
  --round-top: clamp(28px, 4vw, 56px);
  --serif: Newsreader, Georgia, serif;
  --sans: Manrope, system-ui, -apple-system, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--green); text-decoration: none; transition: color 200ms ease, background 200ms ease, border-color 200ms ease, transform 200ms ease; }
a:hover { color: var(--ink); }
::selection { background: var(--mint); color: var(--ink); }
h1, h2, h3, h4, p, ul, ol, li, blockquote, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
em.serif, .serif-em { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: -0.01em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip-path: none; padding: 12px 18px; background: var(--ink); color: var(--paper); border-radius: 999px; }

/* ---------- Buttons & chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 17px 28px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.2; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--green); color: var(--paper); }
.btn-primary:hover { background: var(--ink); color: var(--paper); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { background: var(--mist); border-color: var(--green); color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light { color: var(--paper); border-color: rgba(251, 249, 245, 0.5); }
.btn-ghost-light:hover { background: rgba(251, 249, 245, 0.14); color: var(--paper); }
.btn-sm { padding: 12px 20px; font-size: 13.5px; }

.chip { align-self: flex-start; display: inline-block; padding: 8px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--green); background: var(--paper); }
.chip--white { background: #FFFFFF; border: 1px solid var(--stone); letter-spacing: 0.02em; }
.chip--sand { background: var(--sand); }
.chip--on-green { background: rgba(251, 249, 245, 0.16); color: var(--paper); }
.dot { flex-shrink: 0; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
.avatar { flex-shrink: 0; display: inline-block; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); }

/* ---------- Layout helpers ---------- */
.section { padding: var(--sec-y) var(--gutter); }
.section--rounded { border-radius: var(--round-top) var(--round-top) 0 0; }
.bg-paper { background: var(--paper); }
.bg-sand { background: var(--sand); }
.bg-mist { background: var(--mist); }
.overlap { margin-top: -1px; }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 14px; }
.h2 { font-weight: 400; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -0.025em; }
.lead { font-size: 17px; line-height: 1.65; color: var(--muted); }
.grid-auto { display: grid; gap: clamp(14px, 1.6vw, 22px); grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 240px)), 1fr)); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 14px var(--gutter) 8px; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-pill { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 14px 12px 24px; background: rgba(251, 249, 245, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--stone); border-radius: 999px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.primary-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(12px, 1.6vw, 24px); font-size: 14px; font-weight: 500; }
.primary-nav a { color: var(--muted); }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav a.is-active { color: var(--ink); }
.header-cta { flex-shrink: 0; padding: 13px 22px; font-size: 13.5px; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 0; border-radius: 50%; cursor: pointer; color: var(--ink); }
.nav-toggle-bars { display: flex; flex-direction: column; gap: 4px; width: 20px; }
.nav-toggle-bars span { height: 2px; border-radius: 2px; background: currentColor; transition: transform 250ms ease; }
.nav-open .nav-toggle-bars span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-open .nav-toggle-bars span:last-child { transform: translateY(-3px) rotate(-45deg); }

@media (max-width: 1100px) {
  .header-pill { padding: 8px 8px 8px 18px; }
  .brand { font-size: 15px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .primary-nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 14px; background: var(--paper); border: 1px solid var(--stone); border-radius: 28px; box-shadow: 0 18px 40px rgba(38, 48, 42, 0.1); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms; }
  .nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms ease, transform 200ms ease; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; font-size: 16px; }
  .primary-nav a { display: block; padding: 14px 16px; border-radius: 18px; }
  .primary-nav a:hover { background: var(--mist); }
  .primary-nav .nav-cta-mobile { margin-top: 8px; }
  .primary-nav .nav-cta-mobile a { background: var(--green); color: var(--paper); text-align: center; font-weight: 600; font-size: 15px; }
}
@media (min-width: 1101px) { .primary-nav .nav-cta-mobile { display: none; } }

/* ---------- Mobile persistent action pill ---------- */
.mobile-action { display: none; }
@media (max-width: 700px) {
  .mobile-action { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: rgba(251, 249, 245, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform 300ms ease; }
  .mobile-action .btn { flex: 1; min-height: 54px; font-size: 14.5px; }
  .mobile-action.is-hidden { transform: translateY(110%); }
  body { padding-bottom: 84px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(56px, 7vw, 100px); }
.hero-blob { position: absolute; top: -80px; right: -120px; width: min(52vw, 620px); height: min(52vw, 620px); border-radius: 50%; background: var(--mist); z-index: 0; }
.hero-grid { --min: 320px; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min)), 1fr)); gap: clamp(32px, 4vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: clamp(20px, 2.5vw, 30px); }
.hero h1 { font-weight: 400; font-size: clamp(38px, 5.4vw, 74px); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.hero-lead { max-width: 46ch; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-top: 8px; font-size: 13.5px; color: var(--muted); }
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-media { position: relative; }
.arch { position: relative; width: 100%; overflow: hidden; background: var(--stone); }
.arch img { display: block; width: 100%; height: 100%; object-fit: cover; }
.arch--hero { aspect-ratio: 4 / 5; border-radius: 260px 260px 32px 32px; }
.hero-note { position: absolute; bottom: 22px; left: -12px; display: flex; align-items: center; gap: 12px; max-width: 260px; padding: 14px 18px; background: var(--paper); border-radius: 20px; box-shadow: 0 18px 40px rgba(38, 48, 42, 0.1); }
.hero-note .avatar { width: 34px; height: 34px; }
.hero-note p { font-size: 13px; line-height: 1.45; color: var(--muted); }
@media (max-width: 700px) {
  .arch--hero { aspect-ratio: auto; height: 360px; border-radius: 160px 160px 26px 26px; }
  .hero-note { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ---------- Credentials ---------- */
.credentials { padding: clamp(40px, 5vw, 72px) var(--gutter); background: var(--sand); border-radius: var(--round-top) var(--round-top) 0 0; }
.eyebrow { margin-bottom: clamp(22px, 2.5vw, 34px); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.cred-list { display: grid; gap: clamp(12px, 1.4vw, 18px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .cred-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cred-list { grid-template-columns: 1fr; } }
.cred { display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: var(--paper); border-radius: 22px; }
.cred h3 { font-weight: 600; font-size: 15px; line-height: 1.35; }
.cred-check { flex-shrink: 0; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--mint); color: var(--green); }

/* ---------- Coaching (what working together looks like) ---------- */
.feature { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.5vw, 34px); background: var(--paper); border-radius: 26px; transition: background 250ms ease, transform 250ms ease; }
.feature:hover { background: #FFFFFF; transform: translateY(-4px); }
.feature-num { align-self: flex-start; padding: 6px 12px; background: var(--mist); border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.feature h3 { font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.feature p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.feature--green { background: var(--green); color: var(--paper); }
.feature--green:hover { background: var(--green-dark); transform: none; }
.feature--green .feature-num { background: rgba(251, 249, 245, 0.18); color: var(--paper); }
.feature--green p { color: var(--on-green); }

/* ---------- Areas ---------- */
.split-head { --min: 280px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min)), 1fr)); gap: clamp(24px, 3vw, 48px); align-items: end; margin-bottom: clamp(28px, 3vw, 44px); }
.split-head .h2 { max-width: 20ch; }
.split-head p { max-width: 42ch; font-size: 16px; line-height: 1.65; color: var(--muted); }
.areas { --min: 260px; gap: clamp(16px, 2vw, 28px); }
.area { display: flex; flex-direction: column; gap: 16px; }
.arch--area { aspect-ratio: 5 / 6; border-radius: 200px 200px 26px 26px; }
.area h3 { font-weight: 600; font-size: 19px; }
.area p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Process ---------- */
.steps { display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 20px); }
.step { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(14px, 2vw, 40px); align-items: center; padding: clamp(22px, 2.4vw, 32px); background: var(--paper); border-radius: 26px; }
.step-title { display: flex; align-items: center; gap: 18px; }
.step-num { flex-shrink: 0; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: var(--mint); border-radius: 50%; font-weight: 700; font-size: 15px; color: var(--green); }
.step h3 { font-weight: 600; font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -0.01em; }
.step p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* ---------- About ---------- */
.about-grid { --min: 300px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min)), 1fr)); gap: clamp(32px, 4vw, 72px); align-items: center; }
.arch--circle { aspect-ratio: 1 / 1; border-radius: 50%; }
.about-copy { display: flex; flex-direction: column; gap: 22px; }
.about-copy blockquote { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(24px, 2.8vw, 38px); line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
.about-copy p { max-width: 52ch; font-size: 16.5px; line-height: 1.7; color: var(--ink-3); }
.about-sign { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.about-sign .btn { padding: 16px 26px; }
.about-sign span { font-size: 14px; color: var(--muted); }

/* ---------- Stories ---------- */
.stories { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 24px); }
.story { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: clamp(24px, 2.4vw, 32px); background: var(--paper); border-radius: 30px; }
.story blockquote { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.story figcaption { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); }
.story--feature { gap: 26px; padding: clamp(28px, 3vw, 44px); max-width: 62ch; }
.story--feature blockquote { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; color: var(--ink); }
.story--feature .avatar { width: 34px; height: 34px; }
.story--mist { background: var(--mist); }
.story--mist .avatar { background: var(--paper); }
.stories-grid { --min: 260px; gap: clamp(16px, 2vw, 24px); }

/* ---------- Results ---------- */
.results-grid { --min: 280px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min)), 1fr)); gap: clamp(28px, 3vw, 56px); align-items: center; }
.results-copy { display: flex; flex-direction: column; gap: 20px; }
.results-copy .h2 { max-width: 20ch; }
.results-copy p { max-width: 44ch; font-size: 16.5px; line-height: 1.65; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 11px 18px; background: var(--sand); border-radius: 999px; font-size: 14px; font-weight: 500; }
.arch--results { aspect-ratio: 4 / 3; border-radius: 30px; }

/* ---------- Journal ---------- */
.journal-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: clamp(24px, 3vw, 40px); }
.journal-head h2, .journal-head h1 { font-weight: 400; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.025em; }
.posts { --min: 260px; gap: clamp(16px, 2vw, 28px); }
.post-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--sand); border-radius: 28px; transition: background 250ms ease; }
.post-card:hover { background: var(--mist); }
.post-card .arch { aspect-ratio: 4 / 3; border-radius: 20px; }
.post-cat { font-size: 12.5px; font-weight: 600; color: var(--green); }
.post-card h3 { font-weight: 600; font-size: 19px; line-height: 1.3; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 28px; }
.post-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.post-date { font-size: 12px; color: var(--faint); }
.pagination { margin-top: 40px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink); }
.pagination .current { background: var(--green); border-color: var(--green); color: var(--paper); }

/* ---------- CTA ---------- */
.cta-wrap { padding: var(--gutter); }
.cta { display: flex; flex-direction: column; align-items: center; gap: 26px; padding: clamp(40px, 6vw, 96px) clamp(24px, 4vw, 72px); background: var(--green); color: var(--paper); border-radius: clamp(28px, 3vw, 44px); text-align: center; }
.cta h2 { max-width: 24ch; font-weight: 400; font-size: clamp(30px, 4.4vw, 62px); line-height: 1.06; letter-spacing: -0.03em; }
.cta p { max-width: 48ch; font-size: 17px; line-height: 1.65; color: var(--on-green); }
.cta .btn-row { justify-content: center; }
.cta .btn { padding: 18px 30px; font-size: 14.5px; }
.cta-mail { font-size: 14.5px; color: var(--on-green); }
.cta-mail:hover { color: var(--paper); }

/* ---------- Newsletter ---------- */
.newsletter { padding: clamp(40px, 5vw, 72px) var(--gutter); }
.newsletter-box { --min: 280px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min)), 1fr)); gap: clamp(20px, 3vw, 44px); align-items: center; padding: clamp(28px, 3vw, 44px); background: var(--sand); border-radius: 30px; }
.newsletter-box h2 { font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -0.02em; }
.newsletter-box .intro { display: flex; flex-direction: column; gap: 10px; }
.newsletter-box .intro p { max-width: 44ch; font-size: 15px; line-height: 1.6; color: var(--muted); }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter-form input[type=email] { flex: 1 1 200px; min-width: 0; padding: 16px 20px; background: var(--paper); border: 1px solid #E0DACE; border-radius: 999px; font-family: inherit; font-size: 15px; color: var(--ink); }
.newsletter-form .btn { padding: 16px 28px; }
.newsletter-form .hp { position: absolute; left: -9999px; }
.form-msg { flex-basis: 100%; font-size: 14px; color: var(--green); font-weight: 600; }
.form-msg.is-error { color: #9B3B32; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(40px, 5vw, 72px) var(--gutter) 28px; }
.footer-grid { --min: 190px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min)), 1fr)); gap: clamp(24px, 3vw, 48px); }
.footer-col { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--ink); }
.footer-col .label { margin-bottom: 4px; font-size: 12.5px; font-weight: 600; color: var(--faint); }
.footer-brand { gap: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.footer-brand a.mail { color: var(--green); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(28px, 3vw, 48px); padding-top: 18px; border-top: 1px solid var(--stone); font-size: 12.5px; color: var(--faint); }
.footer-bottom a { color: var(--faint); }

/* ---------- Generic pages / single posts ---------- */
.page-hero { padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(28px, 3vw, 44px); }
.page-hero .inner, .entry { max-width: 760px; margin: 0 auto; }
.page-hero h1 { font-weight: 400; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.page-hero .meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13.5px; color: var(--muted); }
.single-media { max-width: 1040px; margin: 0 auto clamp(28px, 3vw, 48px); padding: 0 var(--gutter); }
.single-media .arch { aspect-ratio: 16 / 9; border-radius: 30px; }
.entry { padding: 0 var(--gutter) var(--sec-y); font-size: 17px; line-height: 1.75; color: var(--ink-3); }
.entry > * + * { margin-top: 1.1em; }
.entry h2, .entry h3, .entry h4 { color: var(--ink); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; margin-top: 1.8em; }
.entry h2 { font-size: clamp(24px, 2.6vw, 32px); }
.entry h3 { font-size: 22px; }
.entry ul { list-style: disc; padding-left: 1.3em; }
.entry ol { list-style: decimal; padding-left: 1.3em; }
.entry li + li { margin-top: 0.4em; }
.entry a { text-decoration: underline; text-underline-offset: 3px; }
.entry blockquote { padding: 24px 28px; background: var(--sand); border-radius: 24px; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--ink); }
.entry img { border-radius: 20px; }
.back-link { display: inline-flex; margin-bottom: 20px; font-size: 13.5px; font-weight: 600; }
.notice-404 { text-align: center; }
.notice-404 .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- Reveal on scroll (JS-enhanced only) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 950ms cubic-bezier(.16,.84,.28,1), transform 950ms cubic-bezier(.16,.84,.28,1); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Logo ---------- */
.brand { gap: 11px; }
.logo-mark { display: inline-flex; color: var(--green); }
.logo-mark svg { display: block; height: 30px; width: auto; }
.logo-word { font-size: 14.5px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.logo-word b { font-weight: 800; letter-spacing: 0.06em; }
.footer-brand .logo-mark svg { height: 36px; }
@media (max-width: 380px) { .logo-word { font-size: 13px; letter-spacing: 0.05em; } }
.avatar--mark { display: inline-flex; align-items: center; justify-content: center; color: var(--green); }
.avatar--mark svg { height: 20px; width: auto; }

/* ---------- Principles (5) ---------- */
.features { --min: 220px; }
@media (min-width: 1280px) { .features { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Areas (4) ---------- */
.areas { --min: 250px; }
@media (min-width: 1180px) { .areas { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.area-list { display: flex; flex-direction: column; gap: 7px; padding-top: 2px; }
.area-list li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.area-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
.text-link { align-self: flex-start; display: inline-flex; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--green); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.text-link:hover { border-color: var(--green); }
.btn-row--center { justify-content: center; }
.section-cta { margin-top: clamp(32px, 4vw, 56px); }

/* ---------- Process note ---------- */
.process-note { max-width: 70ch; margin: clamp(20px, 2vw, 28px) auto 0; padding: 18px 22px; border: 1px dashed var(--line); border-radius: 20px; font-size: 14.5px; line-height: 1.6; color: var(--muted); text-align: center; }

/* ---------- About name block ---------- */
.about-name h2, .about-name h1 { font-weight: 400; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -0.025em; }
.about-name p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.about-hero { padding-top: clamp(28px, 4vw, 56px); }
.area-hero { padding-top: clamp(28px, 4vw, 56px); }
.h1 { font-weight: 400; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }

/* ---------- Contact ---------- */
.contact { display: flex; flex-direction: column; gap: clamp(28px, 3.5vw, 48px); padding: clamp(32px, 5vw, 80px) clamp(20px, 4vw, 64px); background: var(--green); color: var(--paper); border-radius: clamp(28px, 3vw, 44px); }
.contact-intro { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.contact-intro .chip { align-self: flex-start; }
.contact-intro h2 { font-weight: 400; font-size: clamp(28px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.contact-intro p { font-size: 17px; line-height: 1.6; color: var(--on-green); }
.contact-grid { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 40px); background: var(--paper); color: var(--ink); border-radius: 28px; }
.field-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.field-row { row-gap: 10px; }
.field-label { grid-column: 1 / -1; padding: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.req { font-weight: 400; color: var(--faint); }
.field input, .field textarea { width: 100%; padding: 14px 18px; background: #FFFFFF; border: 1px solid #E0DACE; border-radius: 16px; font-family: inherit; font-size: 15px; color: var(--ink); transition: border-color 200ms ease, box-shadow 200ms ease; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(74, 99, 80, 0.15); }
.help { font-size: 13px; line-height: 1.45; color: var(--muted); }
.contact-form .btn { align-self: flex-start; padding: 17px 36px; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-msg { padding: 14px 18px; background: var(--mist); border-radius: 16px; font-size: 14.5px; line-height: 1.5; font-weight: 600; color: var(--green); }
.form-msg.is-error { background: #F6E4E0; color: #8E3A2F; }
.consult { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 36px); background: rgba(251, 249, 245, 0.1); border: 1px solid rgba(251, 249, 245, 0.25); border-radius: 28px; }
.consult h3 { font-weight: 500; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.02em; }
.consult-sub { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 19px; color: var(--on-green); }
.checklist { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 10px; }
.checklist li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.45; color: var(--paper); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(251, 249, 245, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.5' fill='none' stroke='%23FBF9F5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.consult .btn { align-self: stretch; padding: 17px 24px; }
.consult .cta-mail { text-align: center; font-size: 14px; }

/* ---------- Mobile action pill: two buttons ---------- */
@media (max-width: 700px) {
  .mobile-action { gap: 8px; }
  .mobile-action .btn { white-space: nowrap; padding: 0 14px; font-size: 14px; }
  .mobile-action .btn-outline { flex: 0 0 auto; background: var(--paper); }
}

/* ---------- Secondary colour: plum accents ---------- */
.chip { color: var(--plum); }
.chip--on-green { color: var(--paper); }
.hero h1 .serif-em, .h2 .serif-em, .h1 .serif-em { color: var(--plum); }
.feature-num, .step-num, .cred-check, .post-cat, .avatar--mark { color: var(--plum); }
.feature--green { background: var(--plum); }
.feature--green:hover { background: var(--plum-dark); }
.feature--green .feature-num { color: var(--paper); }
.feature--green p { color: var(--on-plum); }
.text-link:hover { color: var(--plum); border-color: var(--plum); }
.entry blockquote { background: var(--mist); }
.process-note { border-color: var(--sage); }

/* ---------- Page loader ---------- */
.loader { display: none; }
.js .loader { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: var(--paper); transition: opacity 600ms ease, visibility 0s linear 600ms; }
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; transition: transform 600ms cubic-bezier(.16,.84,.28,1); }
.loader.is-done .loader-inner { transform: translateY(-10px) scale(0.97); }
.loader-mark { position: relative; display: block; height: 88px; }
.loader-mark span { display: block; }
.loader-mark svg { display: block; height: 88px; width: auto; }
.loader-mark-base { color: var(--mint); }
.loader-mark-fill { position: absolute; inset: 0; color: var(--green); clip-path: inset(100% 0 0 0); animation: loader-fill 1.2s cubic-bezier(.65,0,.35,1) 0.15s forwards; }
.loader .logo-word { font-size: 15px; color: var(--ink); opacity: 0; transform: translateY(6px); animation: loader-rise 700ms cubic-bezier(.16,.84,.28,1) 0.8s forwards; }
.loader-bar { position: relative; width: 72px; height: 2px; overflow: hidden; border-radius: 2px; background: var(--mint); opacity: 0; animation: loader-rise 500ms ease 0.9s forwards; }
.loader-bar::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; border-radius: 2px; background: var(--plum); animation: loader-slide 1.1s ease-in-out infinite; }
@keyframes loader-fill { to { clip-path: inset(0 0 0 0); } }
@keyframes loader-rise { to { opacity: 1; transform: none; } }
@keyframes loader-slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
/* Later pages in the same visit: show the finished logo, no build-up. */
.loader-seen .loader-mark-fill { animation: none; clip-path: none; }
.loader-seen .loader .logo-word, .loader-seen .loader-bar { animation: none; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .loader-mark-fill { animation: none; clip-path: none; }
  .loader .logo-word, .loader-bar { animation: none; opacity: 1; transform: none; }
  .loader-bar::after { animation: none; width: 100%; }
}
