/* ============================================================
   MIND YOUR FOOD · shared design system
   Loaded by every page (home, terms, privacy).
   Edit colours / type here once — it cascades everywhere.
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS  (palette: black · beige · white · rose · brown)
   ============================================================ */
:root,
:root[data-theme="light"] {
  color-scheme: light;
  /* tells the browser to render native controls (selects, scrollbars,
     autofill) in light mode so form text never goes dark-on-dark */

  --ink: #211A15;
  /* near-black espresso  */
  --ink-soft: #4D4138;
  /* muted brown-black    */
  --brown: #7A6253;
  /* warm brown           */
  --bg: #F4EBDD;
  /* beige paper canvas   */
  --bg-deep: #ECE0CD;
  /* deeper beige         */
  --paper: #FFFDF8;
  /* near-white card      */
  --rose: #C68B91;
  /* dusty rose accent    */
  --rose-deep: #A35C66;
  /* rose for text/emphasis */
  --rose-wash: #F3DEDF;
  /* pale rose fill       */
  --line: rgba(33, 26, 21, .14);
  --line-soft: rgba(33, 26, 21, .08);

  /* semantic / component tokens */
  --nav-bg: rgba(244, 235, 221, .86);
  --band-bg: #211A15;
  /* dark quote band      */
  --band-text: #F4EBDD;
  --band-soft: rgba(244, 235, 221, .6);
  --glass: rgba(255, 253, 248, .7);
  --shadow: rgba(33, 26, 21, .4);
  --grain: .04;
  --err: #9b3b3b;

  /* ---- LUXURY TYPE: Cormorant Garamond (display) + Jost (sans) ---- */
  --serif: "Cormorant Garamond", "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;

  --maxw: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- DARK THEME (warm espresso, not cold gray) ---- */
:root[data-theme="dark"] {
  color-scheme: dark;

  --ink: #EFE6D6;
  /* warm cream text      */
  --ink-soft: #B6A994;
  /* muted warm gray      */
  --brown: #A98C76;
  /* lifted brown         */
  --bg: #18120E;
  /* deep espresso canvas */
  --bg-deep: #211913;
  /* raised espresso      */
  --paper: #241C16;
  /* card surface         */
  --rose: #D49AA0;
  /* brighter rose accent */
  --rose-deep: #D9959E;
  /* rose for text/emphasis */
  --rose-wash: #3A2A2C;
  /* deep rose fill (hover) */
  --line: rgba(239, 230, 214, .14);
  --line-soft: rgba(239, 230, 214, .07);

  --nav-bg: rgba(24, 18, 14, .82);
  --band-bg: #100B08;
  --band-text: #EFE6D6;
  --band-soft: rgba(239, 230, 214, .55);
  --glass: rgba(36, 28, 22, .7);
  --shadow: rgba(0, 0, 0, .55);
  --grain: .03;
  --err: #E29A9A;
}

html {
  transition: background .5s var(--ease)
}

body,
.nav,
.focus-card,
.myth,
form.lead,
.pop,
.float-btn,
.cred,
.attention,
.legal-note,
.legal-toc {
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 300;
  letter-spacing: .01em;
  overflow-x: hidden;
  position: relative;
}

/* subtle paper grain for atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none
}

::selection {
  background: var(--rose);
  color: var(--paper)
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.005em
}

.serif-it {
  font-style: italic;
  font-weight: 400
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px
}

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

.muted {
  color: var(--ink-soft)
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--sans);
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 14px 26px;
  border-radius: 100px;
  transition: all .35s var(--ease);
  white-space: nowrap;
}

.btn-ink {
  background: var(--ink);
  color: var(--bg)
}

.btn-ink:hover {
  background: var(--rose-deep);
  transform: translateY(-2px)
}

.btn-line {
  border: 1px solid var(--line);
  color: var(--ink)
}

.btn-line:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg)
}

.btn-rose {
  background: var(--rose-deep);
  color: var(--paper)
}

.btn-rose:hover {
  background: var(--ink);
  transform: translateY(-2px)
}

.btn svg {
  width: 17px;
  height: 17px
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease)
}

.reveal.in {
  opacity: 1;
  transform: none
}

/* ============================================================
   3. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 22px 0;
}

.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
  padding: 14px 0
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.01em
}

.brand b {
  font-weight: 600
}

.brand i {
  font-style: italic;
  color: var(--rose-deep);
  font-weight: 400
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px
}

.nav-links a {
  font-size: .83rem;
  letter-spacing: .04em;
  font-weight: 400;
  position: relative;
  padding: 4px 0
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--rose-deep);
  transition: width .35s var(--ease)
}

.nav-links a:hover::after {
  width: 100%
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px
}

.burger span {
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: .3s
}

/* theme switch */
.theme-switch {
  position: relative;
  width: 58px;
  height: 30px;
  border-radius: 100px;
  flex: none;
  border: 1px solid var(--line);
  background: var(--bg-deep);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}

.theme-switch:hover {
  border-color: var(--rose-deep)
}

.theme-switch .knob {
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 2px 6px var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-deep);
  transition: transform .42s var(--ease), background .4s var(--ease);
}

:root[data-theme="dark"] .theme-switch .knob {
  transform: translateX(28px)
}

.theme-switch .knob svg {
  width: 14px;
  height: 14px
}

.theme-switch .knob .moon {
  display: none
}

:root[data-theme="dark"] .theme-switch .knob .sun {
  display: none
}

:root[data-theme="dark"] .theme-switch .knob .moon {
  display: block
}

.theme-switch .ghost {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  color: var(--ink-soft);
  opacity: .45
}

.theme-switch .ghost.s {
  left: 7px
}

.theme-switch .ghost.m {
  right: 7px
}

/* ============================================================
   4. TOP  ·  HERO
   ============================================================ */
#top {
  position: relative;
  padding-top: 140px
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
  min-height: min(86vh, 820px);
  padding-bottom: 80px;
}

.hero-eyebrow {
  margin-bottom: 26px
}

.hero h1 {
  font-size: clamp(3.1rem, 6.4vw, 5.6rem);
  margin-bottom: 28px
}

.hero h1 em {
  font-style: italic;
  color: var(--rose-deep);
  font-weight: 400
}

.hero-lead {
  font-size: 1.12rem;
  max-width: 30em;
  color: var(--ink-soft);
  margin-bottom: 38px
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center
}

.hero-note {
  margin-top: 30px;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--brown);
  display: flex;
  align-items: center;
  gap: 10px
}

.hero-note::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brown)
}

/* credential strip */
.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px
}

.cred {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
}

/* portrait */
.hero-visual {
  position: relative
}

.portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 220px 220px 18px 18px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 30% 10%, var(--rose-wash) 0%, transparent 55%),
    linear-gradient(160deg, var(--bg-deep), var(--brown));
  box-shadow: 0 40px 80px -40px rgba(33, 26, 21, .5);
}

/* the client's cut-out portrait sits over the gradient, anchored to the base */
.portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  filter: drop-shadow(0 14px 26px rgba(33, 26, 21, .28));
}

.portrait-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 34px;
  text-align: center;
  color: #FBF6EC;
}

.portrait-label .ph {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-style: italic;
  opacity: .9
}

.portrait-label small {
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .6;
  margin-top: 8px
}

.float-card {
  position: absolute;
  left: -28px;
  bottom: 54px;
  background: var(--paper);
  padding: 18px 22px;
  border-radius: 14px;
  box-shadow: 0 24px 50px -24px rgba(33, 26, 21, .4);
  max-width: 210px;
  z-index: 2;
}

.float-card .num {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--rose-deep);
  line-height: 1
}

.float-card .lbl {
  font-size: .74rem;
  color: var(--ink-soft);
  margin-top: 4px
}

.sprout {
  position: absolute;
  top: -26px;
  right: 30px;
  width: 64px;
  height: 64px;
  opacity: .85;
  color: var(--rose-deep);
  z-index: 2;
}

/* marquee divider */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  background: var(--bg-deep)
}

.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: slide 32s linear infinite;
  width: max-content
}

.marquee span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--brown);
  display: flex;
  align-items: center;
  gap: 60px
}

.marquee span::after {
  content: "✦";
  color: var(--rose);
  font-style: normal;
  font-size: .8rem
}

@keyframes slide {
  to {
    transform: translateX(-50%)
  }
}

/* ============================================================
   5. MIDDLE
   ============================================================ */
#middle {
  padding: 110px 0
}

.sec-head {
  max-width: 46rem;
  margin-bottom: 60px
}

.sec-head h2 {
  font-size: clamp(2.3rem, 4.4vw, 3.7rem);
  margin: 18px 0 0
}

.sec-head h2 em {
  font-style: italic;
  color: var(--rose-deep)
}

/* philosophy */
.philo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 130px
}

.philo-word {
  font-family: var(--serif);
  font-size: clamp(3.6rem, 8vw, 7rem);
  font-style: italic;
  font-weight: 400;
  line-height: .95;
  color: var(--ink)
}

.philo-word small {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 18px
}

.philo-body p {
  font-size: 1.06rem;
  color: var(--ink-soft);
  margin-bottom: 20px
}

.philo-body p:first-child {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.4
}

/* focus areas */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 130px
}

.focus-card {
  background: var(--paper);
  padding: 42px 34px;
  transition: background .4s var(--ease);
  position: relative
}

.focus-card:hover {
  background: var(--rose-wash)
}

.focus-card .ic {
  width: 34px;
  height: 34px;
  color: var(--rose-deep);
  margin-bottom: 22px
}

.focus-card h3 {
  font-size: 1.55rem;
  margin-bottom: 10px
}

.focus-card p {
  font-size: .92rem;
  color: var(--ink-soft)
}

.focus-card .idx {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--line);
  font-size: 1.6rem
}

/* method */
.method {
  margin-bottom: 120px
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  margin-top: 54px
}

.step {
  position: relative;
  padding-top: 30px;
  border-top: 1px solid var(--ink)
}

.step .no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--rose-deep);
  margin-bottom: 16px
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 12px
}

.step p {
  font-size: .92rem;
  color: var(--ink-soft)
}

/* myths */
.myths .sec-head {
  margin-bottom: 46px
}

.myth-list {
  display: grid;
  gap: 18px
}

.myth {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: start;
  background: var(--paper);
  border-radius: 16px;
  padding: 32px 38px;
  border: 1px solid var(--line-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.myth:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -30px rgba(33, 26, 21, .35)
}

.myth-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--rose-deep);
  white-space: nowrap;
  padding-top: 2px
}

.myth p {
  font-size: 1rem
}

.myth p b {
  font-weight: 500
}

.myth .truth {
  color: var(--ink-soft);
  margin-top: 8px;
  font-size: .95rem
}

.myth .truth::before {
  content: "→ ";
  color: var(--rose-deep)
}

/* ============================================================
   6. BOTTOM  ·  personal attention + lead form
   ============================================================ */
#bottom {
  position: relative
}

.attention {
  background: var(--band-bg);
  color: var(--band-text);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.attention::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rose-deep), transparent 70%);
  opacity: .35;
  right: -120px;
  top: -120px
}

.attention .wrap {
  position: relative;
  z-index: 2
}

.attention blockquote {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-style: italic;
  line-height: 1.28;
  max-width: 20em;
  font-weight: 400
}

.attention blockquote span {
  color: var(--rose)
}

.attention cite {
  display: block;
  margin-top: 34px;
  font-family: var(--sans);
  font-style: normal;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--band-soft)
}

/* consultation / lead form */
.consult {
  padding: 120px 0
}

.consult-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: start
}

.consult-intro h2 {
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  margin-bottom: 22px
}

.consult-intro h2 em {
  font-style: italic;
  color: var(--rose-deep)
}

.consult-intro p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 34px;
  max-width: 30em
}

.connect-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px
}

form.lead {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 42px
}

.field {
  margin-bottom: 22px
}

.field label {
  display: block;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 9px;
  font-weight: 500
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  caret-color: var(--rose-deep);
  transition: border .3s;
}

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

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

/* native <select> dropdown list — keep it readable in dark mode too */
.field select option {
  background: var(--paper);
  color: var(--ink);
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: .82rem;
  color: var(--ink-soft);
  margin: 6px 0 24px
}

.consent input {
  margin-top: 4px;
  accent-color: var(--rose-deep);
  flex: none;
}

.consent a {
  color: var(--rose-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-msg {
  font-size: .88rem;
  margin-top: 16px;
  min-height: 1.2em
}

.form-msg.ok {
  color: var(--rose-deep)
}

.form-msg.err {
  color: var(--err)
}

form.lead .btn-ink {
  width: 100%;
  justify-content: center;
  padding: 16px
}

/* ----------------------------------------------------------
   FORM TEXT VISIBILITY  ·  fixes dark-on-dark typing
   - placeholders readable in both themes
   - browser autofill keeps theme colours (Chrome/Edge force
     a white box + near-black text by default → invisible on
     the dark espresso canvas without this override)
   ---------------------------------------------------------- */
.field input::placeholder,
.field textarea::placeholder,
.pop-form input::placeholder {
  color: var(--brown);
  opacity: .75;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--bg) inset;
  box-shadow: 0 0 0 1000px var(--bg) inset;
  caret-color: var(--rose-deep);
  transition: background-color 9999s ease-out 0s;
}

/* ============================================================
   7. FOOTER
   ============================================================ */
footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 72px 0 36px
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 54px
}

.foot-brand .brand {
  font-size: 1.8rem;
  margin-bottom: 16px;
  display: inline-block
}

.foot-brand p {
  color: var(--ink-soft);
  font-size: .95rem;
  max-width: 24em
}

.foot-col h4 {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 18px;
  font-weight: 600
}

.foot-col a {
  display: block;
  font-size: .92rem;
  color: var(--ink-soft);
  margin-bottom: 11px;
  transition: color .3s
}

.foot-col a:hover {
  color: var(--rose-deep)
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--brown)
}

.foot-bottom a {
  color: var(--brown)
}

.foot-bottom a:hover {
  color: var(--rose-deep)
}

/* ============================================================
   8. NEWSLETTER POPUP
   ============================================================ */
.pop-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(33, 26, 21, .5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: .4s var(--ease)
}

.pop-overlay.show {
  opacity: 1;
  visibility: visible
}

.pop {
  background: var(--paper);
  max-width: 460px;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  transform: translateY(20px) scale(.97);
  transition: .5s var(--ease);
  position: relative
}

.pop-overlay.show .pop {
  transform: none
}

.pop-top {
  height: 96px;
  background: radial-gradient(120% 140% at 20% 0, var(--rose-wash), var(--bg-deep));
  position: relative
}

.pop-top .sprout {
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  color: var(--rose-deep);
  opacity: 1
}

.pop-body {
  padding: 42px 38px 38px;
  text-align: center
}

.pop-body .eyebrow {
  display: block;
  margin-bottom: 14px
}

.pop-body h3 {
  font-size: 2.1rem;
  margin-bottom: 12px
}

.pop-body h3 em {
  font-style: italic;
  color: var(--rose-deep)
}

.pop-body p {
  color: var(--ink-soft);
  font-size: .95rem;
  margin-bottom: 26px
}

.pop-form {
  display: flex;
  gap: 10px
}

.pop-form input {
  flex: 1;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: .95rem;
  caret-color: var(--rose-deep);
}

.pop-form input:focus {
  outline: none;
  border-color: var(--rose-deep)
}

.pop-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--ink);
  z-index: 3;
  transition: .3s
}

.pop-close:hover {
  background: var(--paper);
  transform: rotate(90deg)
}

.pop-msg {
  font-size: .84rem;
  margin-top: 14px;
  min-height: 1em;
  color: var(--rose-deep)
}

.pop-msg.ok {
  color: var(--rose-deep)
}

.pop-msg.err {
  color: var(--err)
}

/* ============================================================
   9. FLOATING WHATSAPP / TELEGRAM
   ============================================================ */
.floats {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 12px 30px -10px rgba(33, 26, 21, .5);
  transition: .35s var(--ease)
}

.float-btn:hover {
  background: var(--rose-deep);
  transform: translateY(-3px) scale(1.05)
}

.float-btn svg {
  width: 26px;
  height: 26px
}

/* tiny toast — e.g. "enquiry copied, paste it into Instagram" */
.myf-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%) translateY(12px);
  max-width: calc(100vw - 40px);
  background: var(--ink);
  color: var(--bg);
  padding: 13px 22px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: .85rem;
  letter-spacing: .01em;
  text-align: center;
  box-shadow: 0 18px 40px -16px var(--shadow);
  opacity: 0;
  visibility: hidden;
  z-index: 300;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}

.myf-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   CONSENT  ·  banner + granular manage panel + reopen button
   (Allow is the large, easy target; the close ✕ is small.)
   ============================================================ */
.myf-consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 660px;
  margin: 0 auto;
  z-index: 400;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 24px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 24px;
  box-shadow: 0 28px 70px -28px var(--shadow);
  animation: myfUp .5s var(--ease);
}

.myf-consent.hide {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}

.myf-consent-msg {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-right: 18px;
}

.myf-consent-ic {
  font-size: 1.25rem;
  line-height: 1.3;
}

.myf-consent p {
  margin: 0;
  font-size: .84rem;
  color: var(--ink-soft);
}

.myf-consent a {
  color: var(--rose-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.myf-consent-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

/* the close ✕ is deliberately small & subtle — Allow should win the eye */
.myf-consent-x {
  position: absolute;
  top: 9px;
  right: 12px;
  width: 22px;
  height: 22px;
  border: none;
  background: none;
  color: var(--ink-soft);
  opacity: .4;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: opacity .25s;
}

.myf-consent-x:hover {
  opacity: .9;
}

.myf-link {
  background: none;
  border: none;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: .8rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 4px;
}

.myf-link:hover {
  color: var(--rose-deep);
}

.myf-btn-ghost {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 100px;
  cursor: pointer;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: all .3s var(--ease);
}

.myf-btn-ghost:hover {
  border-color: var(--ink);
}

/* prominent primary — larger & bolder than everything else around it */
.myf-btn-primary {
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 13px 36px;
  border-radius: 100px;
  cursor: pointer;
  border: none;
  background: var(--rose-deep);
  color: var(--paper);
  box-shadow: 0 12px 26px -10px var(--rose-deep);
  transition: transform .25s var(--ease), background .3s var(--ease);
}

.myf-btn-primary:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

/* persistent reopen button (bottom-left) */
.myf-consent-fab {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 90;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--rose-deep);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: .85;
  box-shadow: 0 10px 26px -12px var(--shadow);
  transition: transform .3s var(--ease), border-color .3s var(--ease), opacity .3s;
}

.myf-consent-fab:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: var(--rose-deep);
  opacity: 1;
}

/* manage panel (modal) */
.myf-cm-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(33, 26, 21, .5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: .35s var(--ease);
}

.myf-cm-overlay.show {
  opacity: 1;
  visibility: visible;
}

.myf-cm {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  max-width: 480px;
  width: 100%;
  padding: 38px 34px 30px;
  transform: translateY(16px) scale(.98);
  transition: .4s var(--ease);
}

.myf-cm-overlay.show .myf-cm {
  transform: none;
}

.myf-cm-x {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 30px;
  height: 30px;
  border: none;
  background: none;
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: .6;
}

.myf-cm-x:hover {
  opacity: 1;
}

.myf-cm h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.myf-cm h3 em {
  font-style: italic;
  color: var(--rose-deep);
}

.myf-cm-sub {
  color: var(--ink-soft);
  font-size: .85rem;
  margin-bottom: 16px;
}

.myf-cm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}

.myf-cm-txt b {
  display: block;
  font-weight: 500;
  font-size: .95rem;
}

.myf-cm-txt small {
  color: var(--ink-soft);
  font-size: .8rem;
}

.myf-cm-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

/* toggle switch */
.myf-switch {
  position: relative;
  flex: none;
  width: 46px;
  height: 26px;
}

.myf-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.myf-switch-tr {
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}

.myf-switch-tr::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 2px 5px var(--shadow);
  transition: transform .3s var(--ease);
}

.myf-switch input:checked~.myf-switch-tr {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
}

.myf-switch input:checked~.myf-switch-tr::after {
  transform: translateX(20px);
}

@keyframes myfUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

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

  .myf-consent-actions {
    justify-self: stretch;
  }

  .myf-consent-actions .myf-btn-primary {
    flex: 1;
  }
}

/* ============================================================
   10. LEGAL PAGES  (terms.html, privacy.html)
   ============================================================ */
.legal-hero {
  padding: 150px 0 0;
}

.legal-hero .eyebrow {
  display: block;
  margin-bottom: 18px
}

.legal-hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  margin-bottom: 20px
}

.legal-hero h1 em {
  font-style: italic;
  color: var(--rose-deep)
}

.legal-hero .lead {
  color: var(--ink-soft);
  max-width: 46em;
  font-size: 1.08rem
}

.legal-meta {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--brown)
}

.legal-meta b {
  color: var(--ink);
  font-weight: 500
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  padding: 56px 0 110px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 104px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  background: var(--paper);
}

.legal-toc h4 {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 16px;
  font-weight: 600
}

.legal-toc ol {
  list-style: none;
  counter-reset: toc;
}

.legal-toc a {
  display: block;
  font-size: .88rem;
  color: var(--ink-soft);
  padding: 7px 0;
  counter-increment: toc;
  transition: color .25s
}

.legal-toc a::before {
  content: counter(toc, decimal-leading-zero) "  ";
  font-family: var(--serif);
  font-style: italic;
  color: var(--rose-deep);
}

.legal-toc a:hover {
  color: var(--rose-deep)
}

.legal-article {
  max-width: 72ch;
}

.legal-article section {
  margin-bottom: 52px;
  scroll-margin-top: 104px;
}

.legal-article h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.legal-article h2 .s-no {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--rose-deep);
  margin-right: 12px;
}

.legal-article h3 {
  font-size: 1.2rem;
  margin: 26px 0 8px;
  color: var(--ink);
}

.legal-article p,
.legal-article li {
  color: var(--ink-soft);
  font-size: 1rem;
  margin-bottom: 14px;
}

.legal-article ul {
  padding-left: 1.25em;
  margin-bottom: 16px;
}

.legal-article li {
  margin-bottom: 8px;
}

.legal-article strong {
  color: var(--ink);
  font-weight: 500;
}

.legal-article a {
  color: var(--rose-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* highlighted slot the client must replace with real legal info */
.fillin {
  display: inline-block;
  background: var(--rose-wash);
  color: var(--rose-deep);
  border: 1px dashed var(--rose-deep);
  border-radius: 6px;
  padding: 1px 8px;
  font-family: var(--sans);
  font-size: .85em;
  font-weight: 500;
  font-style: normal;
}

.legal-note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rose-deep);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 22px 0;
}

.legal-note p:last-child {
  margin-bottom: 0
}

.legal-note .legal-note-h {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: .85rem;
  color: var(--rose-deep);
}

/* ============================================================
   11. RESPONSIVE
   ============================================================ */
@media(max-width:980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px
  }

  .hero-visual {
    max-width: 440px
  }

  .philo,
  .consult-grid {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .focus-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:880px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .legal-toc {
    position: static
  }
}

@media(max-width:680px) {
  .wrap {
    padding: 0 22px
  }

  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: 78%;
    max-width: 320px;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 40px;
    transform: translateX(100%);
    transition: .4s var(--ease);
    box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .3)
  }

  .nav-links.open {
    transform: none
  }

  .nav-links a {
    font-size: 1.1rem
  }

  .nav .nav-cta .btn-line {
    display: none
  }

  .burger {
    display: flex
  }

  .burger.x span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg)
  }

  .burger.x span:nth-child(2) {
    opacity: 0
  }

  .burger.x span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg)
  }

  .focus-grid {
    grid-template-columns: 1fr
  }

  .two {
    grid-template-columns: 1fr
  }

  .foot-grid {
    grid-template-columns: 1fr
  }

  .float-card {
    left: 0
  }
}