/* Fonts are loaded via <link rel="preconnect"> + <link rel="stylesheet"> in each
   page's <head> (faster than a render-blocking CSS @import). */

:root {
  --color-bg: #F8F6F0; /* Pale warm cream */
  --color-surface: #FFFFFF; /* Pure White */
  --color-surface-alt: #F4F0E6; /* Slightly darker cream for cards */
  --color-sage: #E8EDE3; /* Pastel green note */
  --color-clay: #F2EBE5; /* Pastel clay note */
  --color-sand: #F4EEDF; /* Pastel sand note */
  
  --color-text: #191B1A; /* Inky dark */
  --color-text-light: #4A504D; /* Darkened for WCAG AA */
  --color-border: #E2DDD3; /* Subtle dividing lines */
  --color-primary: #191B1A;
  --color-accent: #C9A96E; /* Warm golden ochre */
  --color-cta: #3A2E28; /* Warm espresso — CTA colour, softer than inky black */
  --color-cta-hover: #4A3A32;
  --color-cta-text: #F8F6F0; /* Text on CTA (cream) */
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Mulish', sans-serif;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 9rem;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Typography elements */
h1 { font-family: var(--font-heading); font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.04em; color: var(--color-text);}
h2 { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 4rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.04em; margin-bottom: var(--spacing-md); color: var(--color-text);}
h3 { font-family: var(--font-heading); font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.03em; color: var(--color-text); margin-bottom: var(--spacing-md);}
h4 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: var(--spacing-xs); color: var(--color-text);}
p { font-size: 1.125rem; color: var(--color-text-light); margin-bottom: 1.4rem; line-height: 1.75; text-wrap: pretty; }
h1, h2, h3, .testimonial-quote { text-wrap: balance; }
a { color: var(--color-text); text-decoration: none; transition: var(--transition); }

/* Editorial italic emphasis on a key word in headings */
h1 em, h2 em, h3 em, h4 em, .massive-quote em, .testimonial-quote em { font-style: italic; font-weight: 400; }

.meta-label {
  font-size: 0.75rem; 
  text-transform: uppercase; 
  letter-spacing: 0.1em; 
  color: var(--color-text-light); 
  display: block; 
  margin-bottom: var(--spacing-sm); 
  font-weight: 600;
}

/* Containers & Base Padding */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}
.container-narrow { max-width: 780px; margin: 0 auto; }

.section { padding: var(--spacing-xl) 0; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.pt-lg { padding-top: var(--spacing-lg) !important; }
.pb-lg { padding-bottom: var(--spacing-lg) !important; }
.p-0 { padding: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.text-center { text-align: center; }

.bg-surface { background-color: transparent; }
.bg-surface-alt { background-color: transparent; }
.bg-dark { background-color: var(--color-text); color: var(--color-bg); }
.bg-dark h2, .bg-dark p { color: var(--color-bg); }
.bg-dark .meta-label { color: rgba(248, 246, 240, 0.6); }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); }
.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: var(--spacing-lg); }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: var(--spacing-lg); }

/* Buttons */
.btn {
  display: inline-flex; justify-content: center; align-items: center;
  padding: 1.125rem 2.5rem;
  border-radius: 100px;
  white-space: nowrap;
  font-family: var(--font-body); font-weight: 500; font-size: 0.95rem;
  text-decoration: none; transition: var(--transition); cursor: pointer; border: none;
}
/* Frosted glass primary CTA — picks up the colour of whatever sits behind it */
.btn-primary {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(1.7);
  -webkit-backdrop-filter: blur(18px) saturate(1.7);
  border: 1px solid rgba(25, 27, 26, 0.10);
  color: var(--color-text);
  box-shadow: 0 8px 26px rgba(0,0,0,0.07), inset 0 1px 0 rgba(255,255,255,0.65);
}
@supports (backdrop-filter: blur(18px)) {
  .btn-primary { background: rgba(255, 255, 255, 0.28); }
}
.btn-primary:hover { background: rgba(255, 255, 255, 0.5); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,0.11), inset 0 1px 0 rgba(255,255,255,0.7); }
.btn-primary:active { transform: scale(0.98); }

.btn-glass {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@supports (backdrop-filter: blur(15px)) {
    .btn-glass { background: rgba(255, 255, 255, 0.25); }
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.btn-secondary { background: transparent; color: var(--color-text); border: 1px solid var(--color-border); }
.btn-secondary:hover { border-color: var(--color-text); }

.btn-link { font-weight: 500; font-size: 0.95rem; color: var(--color-text); border-bottom: 1px solid var(--color-text); padding-bottom: 2px; }
.btn-link:hover { opacity: 0.6; }

/* Navigation Refined */
.nav-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; border-bottom: 1px solid transparent; background: transparent; transition: all 0.4s ease; }
.nav-header.scrolled { background: rgba(248, 246, 240, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(226, 221, 211, 0.5); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.nav-logo { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: var(--spacing-md); align-items: center; }
.nav-logo { white-space: nowrap; }
.nav-link { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; color: var(--color-text-light); white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--color-text); }
.nav-social { display: inline-flex; align-items: center; gap: 0.45rem; }
.nav-social svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav-social span { display: inline; } /* show the "YouTube" label so the link reads clearly */

/* Hero Splits */
.section-pt { padding-top: calc(80px + var(--spacing-xl)); padding-bottom: calc(var(--spacing-xl) / 2); }
/* Homepage hero: headline column + framed portrait */
.hero-duo { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-portrait { margin: 0; position: relative; width: 100%; max-width: 380px; justify-self: end; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.6); background: rgba(255,255,255,0.4); box-shadow: 0 24px 48px -18px rgba(25,27,26,0.24), inset 0 1px 0 rgba(255,255,255,0.8); }
.hero-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; }
.hero-portrait figcaption { display: flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.1rem; background: rgba(255,255,255,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 0.85rem; line-height: 1.4; }
.hero-portrait figcaption strong { display: block; font-weight: 700; color: var(--color-text); }
.hero-portrait .cap-sub { color: var(--color-text-light); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #3F9D5F; box-shadow: 0 0 0 4px rgba(63,157,95,0.18); flex-shrink: 0; }
@media (max-width: 1024px) {
  .hero-duo { grid-template-columns: 1fr; gap: var(--spacing-lg); }
  .hero-portrait { justify-self: start; }
}
.lead-text { font-size: 1.5rem; color: var(--color-text-light); margin-top: var(--spacing-md); line-height: 1.65; }
.lead-strong { font-size: 1.5rem; font-weight: 500; color: var(--color-text); margin-top: var(--spacing-sm); }


/* Border Lists (Swiss grid style) */
.border-top-list { border-top: 1px solid var(--color-border); padding-top: var(--spacing-md); }
.list-rows { display: flex; flex-direction: column; }
.row-item {
  display: grid; grid-template-columns: 80px 1fr;
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--color-border);
}
.row-item:first-child { padding-top: 0; }
.row-item:last-child { border-bottom: none; padding-bottom: 0; }
.number-icon { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 300; color: var(--color-text-light); line-height: 1; display: block; margin-top: -0.25rem; }

/* Quotes */
.massive-quote {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto; margin-top: var(--spacing-lg); margin-bottom: var(--spacing-lg);
  color: var(--color-text);
  position: relative; z-index: 2;
}
.massive-quote cite {
  display: block; font-family: var(--font-body); font-size: 0.875rem; font-style: normal;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-light);
  margin-top: var(--spacing-md); font-weight: 600;
}

/* Cards (Frosted Minimal) */
.card {
  padding: var(--spacing-lg) 2.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: flex; flex-direction: column;
  transition: var(--transition);
  height: 100%; position: relative; z-index: 5;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -18px rgba(25, 27, 26, 0.30), inset 0 1px 0 rgba(255,255,255,0.85); border-color: rgba(255, 255, 255, 0.8); }

/* Frosted-glass tiles — translucent, blurred, with sheen + edge highlight */
.card-frost {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  box-shadow: 0 14px 34px rgba(25, 27, 26, 0.08);
}
.card-sand { background: rgba(245, 236, 215, 0.93); }
.card-sage { background: rgba(228, 237, 220, 0.93); }
.card-clay { background: rgba(244, 233, 224, 0.93); }
@supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .card-frost {
    background: linear-gradient(135deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.16) 60%, rgba(255,255,255,0.28) 100%);
    backdrop-filter: blur(24px) saturate(1.7);
    -webkit-backdrop-filter: blur(24px) saturate(1.7);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 24px 48px -18px rgba(25, 27, 26, 0.24), inset 0 1px 0 rgba(255,255,255,0.8), inset 0 0 0 1px rgba(255,255,255,0.16);
  }
  .card-sand { background: linear-gradient(135deg, rgba(247,238,214,0.6) 0%, rgba(247,238,214,0.18) 60%, rgba(255,255,255,0.26) 100%); }
  .card-sage { background: linear-gradient(135deg, rgba(225,238,217,0.6) 0%, rgba(225,238,217,0.18) 60%, rgba(255,255,255,0.26) 100%); }
  .card-clay { background: linear-gradient(135deg, rgba(245,232,221,0.62) 0%, rgba(245,232,221,0.2) 60%, rgba(255,255,255,0.26) 100%); }
}
.card-meta { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--spacing-xl); color: var(--color-text-light); }
.card p { color: var(--color-text-light); margin-bottom: var(--spacing-xl); flex-grow: 1; font-size: 1rem; }

/* Split Banner for "About" */
.split-banner { display: grid; grid-template-columns: 1fr 1fr; width: 100%; min-height: 80vh; background: transparent; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.split-image { background-size: cover; background-position: center; border-right: 1px solid var(--color-border); border-radius: 0; min-height: 70vh; }
.split-text { padding: 10% 12%; display: flex; flex-direction: column; justify-content: center; background: transparent; }

/* Testimonial Cards */
.testimonial-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 5vw, var(--spacing-lg));
  border: 1px solid rgba(25, 27, 26, 0.08); /* Clean thin outline */
  border-radius: var(--radius-sm);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}
.testimonial-card > * { position: relative; z-index: 2; }


/* Organic Evolving Watercolor Tint (Bottom 40%) */
.testimonial-card::before {
    content: '';
    position: absolute;
    bottom: -20%; left: -20%; right: -20%;
    height: 70%;
    filter: blur(25px);
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.8s ease, filter 0.8s ease;
}

/* Hover Effect: Paint it Away */
.testimonial-card:hover::before {
    opacity: 0;
    filter: blur(40px);
}

/* Unique Theme 1 (Warm / Peach & Sunflower) */
.testimonial-card:nth-child(3n+1)::before,
.testimonial-card.theme-warm::before {
    background: radial-gradient(ellipse at 30% 100%, rgba(235,145,100,0.4) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 100%, rgba(240,180,90,0.3) 0%, transparent 60%),
                radial-gradient(circle at 50% 100%, rgba(220,130,120,0.2) 0%, transparent 70%);
    animation: evolveWatercolorA 16s infinite alternate ease-in-out;
}

/* Unique Theme 2 (Cool / Sage & Dusty Blue) */
.testimonial-card:nth-child(3n+2)::before,
.testimonial-card.theme-cool::before {
    background: radial-gradient(ellipse at 20% 100%, rgba(138,154,91,0.3) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 100%, rgba(150,170,180,0.3) 0%, transparent 60%),
                radial-gradient(circle at 50% 100%, rgba(110,130,120,0.2) 0%, transparent 70%);
    animation: evolveWatercolorB 19s infinite alternate ease-in-out;
    animation-delay: -3s;
}

/* Unique Theme 3 (Earthy / Terracotta & Ochre) */
.testimonial-card:nth-child(3n)::before,
.testimonial-card.theme-earthy::before {
    background: radial-gradient(ellipse at 40% 100%, rgba(205,120,110,0.3) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 100%, rgba(220,180,150,0.4) 0%, transparent 60%),
                radial-gradient(circle at 20% 100%, rgba(160,150,100,0.25) 0%, transparent 70%);
    animation: evolveWatercolorC 14s infinite alternate ease-in-out;
    animation-delay: -7s;
}

/* Distinct Animations for true organic randomness */
@keyframes evolveWatercolorA {
    0% { transform: translateY(15%) rotate(-2deg) scale(1); opacity: 0.6; }
    50% { transform: translateY(-3%) rotate(1deg) scale(1.05); opacity: 1; }
    100% { transform: translateY(8%) rotate(3deg) scale(0.95); opacity: 0.8; }
}
@keyframes evolveWatercolorB {
    0% { transform: translateY(10%) rotate(2deg) scale(1.05); opacity: 0.8; }
    50% { transform: translateY(5%) rotate(-1deg) scale(0.98); opacity: 0.6; }
    100% { transform: translateY(-5%) rotate(-3deg) scale(1.1); opacity: 1; }
}
@keyframes evolveWatercolorC {
    0% { transform: translateY(-2%) rotate(-1deg) scale(1.1); opacity: 1; }
    50% { transform: translateY(10%) rotate(3deg) scale(0.95); opacity: 0.7; }
    100% { transform: translateY(4%) rotate(-2deg) scale(1.02); opacity: 0.9; }
}

.testimonial-quote { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; color: var(--color-text); line-height: 1.4; margin-bottom: var(--spacing-md); }
.testimonial-author { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-light); font-weight: 600; }

/* Google reviews trust badge */
.reviews-badge { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: var(--spacing-md); padding: 0.55rem 1.1rem; border: 1px solid var(--color-border); border-radius: 100px; background: rgba(255,255,255,0.55); font-size: 0.9rem; font-weight: 600; color: var(--color-text); transition: var(--transition); }
.reviews-badge:hover { border-color: var(--color-text); transform: translateY(-2px); }
.reviews-stars { color: var(--color-accent); letter-spacing: 0.12em; font-size: 1rem; }
.reviews-badge .reviews-sep { color: var(--color-border); }

/* "Meet her in video" teaser — a portrait poster with a play affordance, linking to her channel.
   Swap the <a class="video-card"> for a 16:9 <iframe class="video-embed"> once a video/playlist URL is confirmed. */
.video-card { position: relative; display: block; width: 100%; max-width: 760px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; background-color: var(--color-surface-alt); background-size: cover; background-position: center 30%; box-shadow: 0 24px 50px -22px rgba(25,27,26,0.45); transition: var(--transition); }
.video-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,27,26,0.02) 0%, rgba(25,27,26,0.30) 100%); }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 32px 60px -22px rgba(25,27,26,0.5); }
.video-card-play { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,0.25); transition: var(--transition); }
.video-card:hover .video-card-play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.video-card-play svg { width: 30px; height: 30px; margin-left: 5px; color: #E0322B; }
.video-embed { width: 100%; max-width: 760px; margin: 0 auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-md); display: block; box-shadow: 0 24px 50px -22px rgba(25,27,26,0.45); }

/* Breadcrumbs & Page Headers */
.page-header { padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl); position: relative; z-index: 2; border-bottom: 1px solid var(--color-border); }
.page-header-grainy {
    position: relative; overflow: hidden;
    padding: calc(120px + var(--spacing-xl)) 0 var(--spacing-xl);
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}
.page-header-grainy .relative-z { position: relative; z-index: 2; }

/* Grainy Section */
.section-grainy {
    position: relative; overflow: hidden;
    background-color: var(--color-bg);
}
.breadcrumbs { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-light); margin-bottom: var(--spacing-md); line-height: 1.9; }
.breadcrumbs span { margin: 0 0.5rem; }

/* Service Detail Sections */
.service-block { padding: var(--spacing-xl) 0; position: relative; z-index: 2; border-bottom: 1px solid var(--color-border); }
.bg-surface-alt { background-color: transparent; }
.service-block:last-child { border-bottom: none; }
.service-icon-box { background: rgba(255,255,255,0.4); padding: var(--spacing-lg); border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.5); backdrop-filter: blur(20px); text-align: center; }

/* FAQ Accordion Styled Premium */
.faq-list { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%; text-align: left; padding: var(--spacing-md) 0;
  background: none; border: none; font-size: 1.25rem; font-family: var(--font-heading); font-weight: 500; letter-spacing: -0.02em; color: var(--color-text); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--spacing-sm);
}
.faq-answer { padding: 0 0 var(--spacing-md); display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-question span { font-family: var(--font-body); font-weight: 300; font-size: 2rem; color: var(--color-text-light); transition: var(--transition); }
.faq-item.active .faq-question span { transform: rotate(45deg); display: inline-block; }



/* Contact Styles */
.contact-block { padding: clamp(1.5rem, 5vw, var(--spacing-xl)); background: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.5); border-radius: var(--radius-md); position: relative; z-index: 2; }
.form-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: clamp(1.5rem, 5vw, var(--spacing-xl)); border-radius: var(--radius-md); box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}
@supports (backdrop-filter: blur(20px)) {
    .contact-block { background: rgba(255,255,255,0.4); backdrop-filter: blur(20px); }
    .form-glass { background: rgba(255, 255, 255, 0.4); }
}
.contact-phone-large { font-family: var(--font-heading); font-size: clamp(2.1rem, 8.5vw, 4rem); font-weight: 500; letter-spacing: -0.04em; display: inline-block; margin: var(--spacing-md) 0; }
.form-group { margin-bottom: var(--spacing-md); }
.form-group label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--color-text-light); margin-bottom: 0.5rem; }
.form-control { width: 100%; padding: 1.25rem; border: 1px solid rgba(226, 221, 211, 0.8); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem; background: rgba(255, 255, 255, 0.6); outline: none; transition: var(--transition); }
.form-control:focus { border-color: var(--color-text); background: rgba(255, 255, 255, 0.9); }
textarea.form-control { min-height: 180px; resize: vertical; }

/* Footer */
.footer { padding: var(--spacing-xl) 0 var(--spacing-md); border-top: 1px solid rgba(25, 27, 26, 0.1); background: var(--color-bg); position: relative; z-index: 5; }
/* Keep the last footer line clear of the fixed availability badge (bottom-left) */
@media (min-width: 1025px) { .footer { padding-bottom: calc(var(--spacing-md) + 56px); } }
.footer-logo { font-family: var(--font-heading); font-size: 2rem; font-weight: 500; letter-spacing: -0.04em; margin-bottom: 0.5rem; display: block; color: var(--color-text); }
.footer h4 { font-family: var(--font-body); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-light); margin-bottom: 1.5rem; font-weight: 600; }
.footer p, .footer ul { color: var(--color-text-light); font-size: 0.95rem; line-height: 1.6; }
.footer a { color: var(--color-text-light); text-decoration: none; transition: var(--transition); }
.footer a:hover { opacity: 0.6; color: var(--color-text); }
.footer .grid-3 > div:nth-child(2) p { margin-bottom: 0.25rem; }
.footer .grid-3 > div:nth-child(2) p a { color: var(--color-text); font-size: 1.125rem; font-weight: 500; }
.footer .grid-3 > div:nth-child(2) p.mt-sm { margin-top: 1.5rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.75rem; }
.footer li a { color: var(--color-text); font-weight: 500; font-size: 1rem; }
.footer-bottom { margin-top: var(--spacing-xl); padding-top: var(--spacing-md); border-top: 1px solid var(--color-border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem var(--spacing-md); font-size: 0.875rem; color: var(--color-text-light); }

/* Checkmark or bullet custom */
.bullet-list { list-style: none; }
.bullet-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem; color: var(--color-text-light); font-size: 1.125rem; }
.bullet-list li::before { content: "—"; position: absolute; left: 0; color: var(--color-text); font-weight: 600; }

/* Mobile Menu Button */
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 0.75rem; margin-right: -0.75rem; z-index: 101; }
.mobile-menu-btn span { display: block; width: 24px; height: 1px; background-color: var(--color-text); margin-bottom: 6px; transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.25s ease; transform-origin: center; }
.mobile-menu-btn span:last-child { margin-bottom: 0; }
/* Hamburger → X when the menu is open */
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero CTA — generous offset on desktop, tightened on mobile (see media queries) */
.hero-cta { margin-top: calc(var(--spacing-lg) + 1rem); }

/* On phones the sticky/floating header isn't needed — let it scroll away with the page.
   (The floating TOC + bottom call bar handle wayfinding while scrolled.) */
@media (max-width: 768px) {
  .nav-header { position: absolute; }
}

/* Switch the nav to a full-screen menu before the horizontal bar gets cramped (~tablet landscape) */
@media (max-width: 1120px) {
  .nav-links { position: fixed; top: 0; left: -100%; width: 100%; height: 100vh; height: 100dvh; background: var(--color-bg); flex-direction: column; gap: var(--spacing-sm); padding: calc(80px + var(--spacing-md)) clamp(20px, 5vw, 60px); justify-content: flex-start; align-items: flex-start; transition: var(--transition); z-index: 99; overflow-y: auto; }
  .nav-links.active { left: 0; }
  /* Comfortable tap targets inside the full-screen menu */
  .nav-links .nav-link { font-size: 1.05rem; padding: 0.6rem 0; }
  .nav-links .btn { margin-top: var(--spacing-sm); }
  .mobile-menu-btn { display: block; }
  .nav-social span { display: inline; } /* show the YouTube label inside the menu */
}

@media (max-width: 1024px) {
  .grid-2, .grid-3, .grid-1-2, .grid-2-1, .split-banner { grid-template-columns: 1fr; }
  .grid-1-2 { gap: var(--spacing-md); }
  .cta-container { align-items: flex-start !important; text-align: left !important; }
  .grid-1-2 > :first-child { margin-bottom: 0; }
  .hero-left { padding-right: 0; }
  .hero-right { padding-left: 0; }
  .split-image { min-height: min(78vw, 420px); order: -1; border-right: none; border-bottom: 1px solid var(--color-border); }
  .split-text { padding: var(--spacing-lg) clamp(20px, 5vw, 60px); }

  .section { padding: var(--spacing-lg) 0; }
  .section-pt { padding-top: calc(80px + var(--spacing-md)); padding-bottom: var(--spacing-lg); }
  .massive-quote { font-size: 1.75rem; }
  .card { padding: var(--spacing-lg) }
  
  /* Make typography more legible on mobile */
  h1 { font-size: clamp(2rem, 8vw, 3.5rem); }
  h2 { font-size: clamp(1.75rem, 7vw, 3rem); }
  .lead-text, .lead-strong { font-size: 1.25rem; }
  .container { padding: 0 clamp(20px, 5vw, 60px); }
  
  /* Footer adjustments for sticky CTA */
  .footer { padding-bottom: calc(var(--spacing-md) + 90px); }
  .grid-3 { gap: var(--spacing-lg); }
}

@media (max-width: 600px) {
  .page-header { padding: calc(60px + var(--spacing-md)) 0 var(--spacing-lg); }
  .page-header-grainy { padding: calc(80px + var(--spacing-md)) 0 var(--spacing-lg); }
  .split-image { min-height: min(78vw, 380px); }
  .facts-strip { gap: var(--spacing-sm); }
  .row-item { padding: var(--spacing-md) 0; grid-template-columns: 56px 1fr; }
  .number-icon { font-size: 1.9rem; }
  .hero-cta-actions { flex-direction: column; align-items: center; }
  .footer { padding-top: var(--spacing-lg); }
  .footer-bottom { margin-top: var(--spacing-lg); }
  /* Full-width buttons should wrap long labels (e.g. "Appeler → 079…") instead of overflowing */
  .btn { width: 100%; text-align: center; white-space: normal; }
  .cta-container { align-items: center !important; text-align: center !important; }
  .hero-cta { margin-top: var(--spacing-md); }
  .local-noise { animation: none; opacity: 0.1; } /* Save mobile battery */
}

/* Respect users who prefer reduced motion: kill the ambient blobs, grain,
   watercolor washes, parallax and long transitions. Also a real perf/battery win. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .parallax-wrap { transform: none !important; }
  .local-noise { display: none; }
}

/* Procedural Constrained Grainy Banners (The Pastel Notes) */
.parallax-wrap { width: 100%; height: 100%; position: absolute; top: 0; left: 0; pointer-events: none; }
.relative-z { position: relative; z-index: 2; }

.grainy-banner {
    width: 100vw;
    height: clamp(300px, 50vh, 600px);
    margin-left: calc(50% - 50vw);
    position: relative;
    overflow: hidden;
    background-color: #F8F6F0; /* Fallback bg */
}

/* Spacing variations */
.banner-xl { height: clamp(400px, 65vh, 800px); }
.mt-bleed { margin-top: var(--spacing-xl); }

/* Banner Themes */
.theme-sundown { background-color: var(--color-bg); }
.theme-shadows { background-color: var(--color-bg); }
.theme-flow { background-color: var(--color-bg); }
.theme-horizon { background-color: var(--color-bg); }

.grainy-blob {
    position: absolute;
    border-radius: 50%;
    will-change: transform, opacity;
    min-width: 600px;
    min-height: 600px;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

/* Local Noise Overlay */
.local-noise {
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    z-index: 10; pointer-events: none;
    opacity: 0.15;
    background-size: 150px 150px;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 150 150" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="1.2" numOctaves="4" stitchTiles="stitch"/%3E%3CfeColorMatrix type="saturate" values="0"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    mix-blend-mode: overlay;
    animation: banner-grain 8s steps(10) infinite;
}

/* Blob Variations */
.blob-sundown {
    width: 60vw; height: 60vw; background-color: #f7a97b;
    top: -20%; left: 20%; filter: blur(120px); opacity: 0.6;
    animation: banner-pulse 15s infinite alternate ease-in-out;
}

.blob-shadow-1 {
    width: 60vw; height: 60vw; background-color: #7b8e6c;
    top: -10%; left: -10%; filter: blur(140px); opacity: 0.5;
    animation: banner-float 20s infinite alternate ease-in-out;
}
.blob-shadow-2 {
    width: 50vw; height: 50vw; background-color: #5c7052;
    bottom: -10%; right: -5%; filter: blur(150px); opacity: 0.5;
    animation: banner-float 25s infinite alternate-reverse ease-in-out;
}

.blob-flow-1 {
    width: 55vw; height: 150%; border-radius: 100px; background-color: #efbba9;
    top: -25%; left: 15%; filter: blur(120px); opacity: 0.5;
    animation: banner-flow-y 15s infinite alternate ease-in-out;
}
.blob-flow-2 {
    width: 45vw; height: 150%; border-radius: 100px; background-color: #f1cf7c;
    top: -25%; right: 15%; filter: blur(120px); opacity: 0.5;
    animation: banner-flow-y 20s infinite alternate-reverse ease-in-out;
}

.blob-horizon {
    width: 140vw; height: 150%; border-radius: 50%; background-color: #ef9c67;
    top: -50%; left: -10%; filter: blur(140px); opacity: 0.6;
    animation: banner-pulse 18s infinite alternate ease-in-out;
}

/* Animations */
@keyframes banner-pulse {
    0% { transform: scale(1) translateY(0); opacity: 0.5; }
    100% { transform: scale(1.05) translateY(-5%); opacity: 0.8; }
}
@keyframes banner-float {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(5vw, -5vh) scale(1.05) rotate(5deg); }
}
@keyframes banner-flow-y {
    0% { transform: translateY(0) scaleX(1); }
    100% { transform: translateY(10%) scaleX(1.1); }
}
@keyframes banner-grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -25%); }
    40% { transform: translate(-5%, 25%); }
    50% { transform: translate(-15%, 10%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(3%, 35%); }
    90% { transform: translate(-10%, 10%); }
}

/* ============================================================
   EXTENDED PALETTE — per-page moods
   Iris = violet (index hero & CTA) · Rose = soft warm pink (index quote)
   Sage = portrait tones (à propos, soin harmonie) · Tide = teal (contact — exclusive)
   ============================================================ */
.theme-iris, .theme-rose, .theme-sage, .theme-tide { background-color: var(--color-bg); }

/* "Iris" theme — repurposed to warm golden-hour amber (no purple, per client preference) */
.blob-iris-1 {
    width: 55vw; height: 150%; border-radius: 100px; background-color: #d8b06a;
    top: -25%; left: 15%; filter: blur(125px); opacity: 0.46;
    animation: banner-flow-y 16s infinite alternate ease-in-out;
}
.blob-iris-2 {
    width: 45vw; height: 150%; border-radius: 100px; background-color: #e6cd92;
    top: -25%; right: 13%; filter: blur(125px); opacity: 0.42;
    animation: banner-flow-y 21s infinite alternate-reverse ease-in-out;
}

/* "Rose" theme — repurposed to soft terracotta / clay (no pink, per client preference) */
.blob-rose-1 {
    width: 55vw; height: 150%; border-radius: 100px; background-color: #d6a48c;
    top: -25%; left: 17%; filter: blur(120px); opacity: 0.44;
    animation: banner-flow-y 17s infinite alternate ease-in-out;
}
.blob-rose-2 {
    width: 45vw; height: 150%; border-radius: 100px; background-color: #e0b59c;
    top: -25%; right: 15%; filter: blur(120px); opacity: 0.4;
    animation: banner-flow-y 22s infinite alternate-reverse ease-in-out;
}

/* Sage — eucalyptus + warm camel (from the portrait) */
.blob-sage-1 {
    width: 60vw; height: 60vw; background-color: #a8bfa3;
    top: -12%; left: -8%; filter: blur(140px); opacity: 0.5;
    animation: banner-float 20s infinite alternate ease-in-out;
}
.blob-sage-2 {
    width: 52vw; height: 52vw; background-color: #cdbb95;
    bottom: -12%; right: -6%; filter: blur(150px); opacity: 0.5;
    animation: banner-float 25s infinite alternate-reverse ease-in-out;
}

/* Tide — soft teal (contact, exclusive) */
.blob-tide-1 {
    width: 58vw; height: 150%; border-radius: 100px; background-color: #6fa8b5;
    top: -25%; left: 13%; filter: blur(130px); opacity: 0.44;
    animation: banner-flow-y 18s infinite alternate ease-in-out;
}
.blob-tide-2 {
    width: 48vw; height: 150%; border-radius: 100px; background-color: #8ec6ce;
    top: -25%; right: 12%; filter: blur(130px); opacity: 0.38;
    animation: banner-flow-y 23s infinite alternate-reverse ease-in-out;
}

/* Product pictograms & index cards */
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(201, 169, 110, 0.18); border: 1px solid rgba(255, 255, 255, 0.55); box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 2px 8px rgba(25,27,26,0.06); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); margin-bottom: var(--spacing-md); color: var(--color-text); }
.card-icon svg { width: 27px; height: 27px; display: block; }

.product-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-md); margin-top: var(--spacing-md); }
.product-mini { flex-direction: row; align-items: center; gap: var(--spacing-md); padding: clamp(1.5rem, 4vw, var(--spacing-md)) clamp(1.5rem, 4vw, 2rem); }
.product-mini .card-icon { margin-bottom: 0; flex-shrink: 0; width: 46px; height: 46px; }
.product-mini .card-icon svg { width: 23px; height: 23px; }
.product-mini p { margin-bottom: 0; flex-grow: 0; font-size: 0.95rem; line-height: 1.5; }
.product-mini .meta-label { margin-bottom: 0.35rem; }
.product-mini-arrow { margin-left: auto; font-size: 1.25rem; color: var(--color-text-light); flex-shrink: 0; }

.product-wide { flex-direction: row; align-items: center; gap: clamp(1.25rem, 4vw, var(--spacing-lg)); }
.product-wide .card-icon { margin-bottom: 0; flex-shrink: 0; width: 60px; height: 60px; }
.product-wide .card-icon svg { width: 30px; height: 30px; }
.product-wide p { margin-bottom: 0; flex-grow: 0; }
.product-wide .meta-label { margin-bottom: 0.5rem; }

/* Compact product tiles + minimal arrow affordance (replaces repeated "Découvrir") */
.card-grid .card { padding: 2.1rem 1.9rem; }
.card-grid .card .card-icon { width: 44px; height: 44px; margin-bottom: var(--spacing-sm); }
.card-grid .card .card-icon svg { width: 22px; height: 22px; }
.card-grid .card .meta-label { margin-bottom: 0.6rem; }
.card-grid .card h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 0.6rem; }
.card-grid .card p { margin-bottom: 0; font-size: 0.95rem; }
.card-link-arrow { display: inline-block; margin-top: var(--spacing-md); font-size: 1.3rem; line-height: 1; color: var(--color-text-light); transition: var(--transition); }
.card:hover .card-link-arrow { color: var(--color-text); transform: translateX(4px); }

@media (max-width: 1024px) {
  .product-mini-grid { grid-template-columns: 1fr; }
  .product-wide { flex-direction: column; align-items: flex-start; text-align: left; }
  .product-wide .product-mini-arrow { align-self: flex-end; margin-top: -2rem; }
}

/* Two-pillar grouping ("Pour toi" / "Pour tes relations") */
.path-group + .path-group { margin-top: var(--spacing-lg); }
.path-group-label { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: var(--spacing-md); }
.path-group-label .meta-label { margin-bottom: 0; }
.path-group-label::after { content: ""; flex: 1; height: 1px; background: var(--color-border); }

/* Médiation lives on its own site (ecoute-mediation.ch); kept here as a slim, secondary aside */
.mediation-aside { max-width: 820px; margin-left: auto; margin-right: auto; }
.mediation-aside .product-mini { background: rgba(255,255,255,0.55); border: 1px dashed var(--color-border); box-shadow: none; }
.mediation-aside .product-mini:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -16px rgba(25,27,26,0.2); }
@supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .mediation-aside .product-mini { background: rgba(255,255,255,0.35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}

/* Additional testimonial tints — clearly distinct hues per person */
.testimonial-card.theme-iris::before {
    background: radial-gradient(ellipse at 30% 100%, rgba(222,176,108,0.40) 0%, transparent 60%),
                radial-gradient(ellipse at 75% 100%, rgba(232,200,140,0.30) 0%, transparent 60%),
                radial-gradient(circle at 50% 100%, rgba(206,162,92,0.22) 0%, transparent 70%);
    animation: evolveWatercolorB 18s infinite alternate ease-in-out;
    animation-delay: -5s;
}
.testimonial-card.theme-sage::before {
    background: radial-gradient(ellipse at 25% 100%, rgba(120,162,120,0.36) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 100%, rgba(165,182,142,0.32) 0%, transparent 60%),
                radial-gradient(circle at 50% 100%, rgba(95,142,110,0.22) 0%, transparent 70%);
    animation: evolveWatercolorC 15s infinite alternate ease-in-out;
    animation-delay: -2s;
}

/* ============================================================
   FLOATING RAIL — page navigation (dots) + scroll-spy sections (lines). Built by script.js.
   ============================================================ */
.chapter-rail {
    position: fixed;
    top: 50%;
    right: clamp(14px, 1.8vw, 30px);
    transform: translateY(-50%);
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
    pointer-events: none; /* only the items are interactive */
}
.chapter-rail-group { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 0.55rem; }
.chapter-rail-divider { width: 18px; height: 1px; background: var(--color-border); margin: 0.2rem 0; }
.chapter-rail-here {
    font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700;
    color: var(--color-text-light); margin-bottom: 0.1rem;
    opacity: 0; transform: translateX(6px); transition: opacity 0.3s ease, transform 0.3s ease;
    background: rgba(248,246,240,0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    padding: 3px 9px; border-radius: 100px;
}
.chapter-rail-item {
    pointer-events: auto;
    display: flex; align-items: center; justify-content: flex-end; gap: 0.65rem;
    text-decoration: none; cursor: pointer; padding: 1px 0;
}
.chapter-rail-label {
    font-size: 0.75rem; line-height: 1; letter-spacing: 0.01em; color: var(--color-text-light);
    white-space: nowrap; opacity: 0; transform: translateX(6px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
    background: rgba(248,246,240,0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    padding: 4px 10px; border-radius: 100px; box-shadow: 0 2px 10px rgba(25,27,26,0.05);
}
/* Markers: thin lines for sections, dots for pages */
.chapter-rail-mark {
    display: block; flex-shrink: 0; background: var(--color-border);
    transition: width 0.35s cubic-bezier(0.25,1,0.5,1), background-color 0.3s ease, transform 0.3s ease;
}
.is-section .chapter-rail-mark { width: 16px; height: 2px; border-radius: 2px; }
/* Reveal labels on hover/focus anywhere in the rail */
.chapter-rail:hover .chapter-rail-label,
.chapter-rail:focus-within .chapter-rail-label,
.chapter-rail:hover .chapter-rail-here,
.chapter-rail:focus-within .chapter-rail-here { opacity: 1; transform: translateX(0); }
.chapter-rail:hover .chapter-rail-mark { background: var(--color-text-light); }
.chapter-rail-item:hover .chapter-rail-mark,
.chapter-rail-item:focus-visible .chapter-rail-mark { background: var(--color-text); }
.chapter-rail-item:hover .chapter-rail-label { color: var(--color-text); }
/* Active page + active section: accent marker, label always visible so you always know where you are */
.chapter-rail-item.active .chapter-rail-label { opacity: 1; transform: translateX(0); color: var(--color-text); font-weight: 600; }
.is-section.active .chapter-rail-mark { width: 30px; background: var(--color-accent); }
.chapter-rail-item:focus { outline: none; }

/* Pages dropdown (UPPERCASE — the top of the hierarchy) */
.chapter-rail-pagenav { position: relative; pointer-events: auto; }
.chapter-rail-pagebtn {
    display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer;
    font-family: var(--font-body); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700;
    color: var(--color-text);
    background: rgba(248,246,240,0.85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    border: 1px solid var(--color-border); border-radius: 100px; padding: 6px 12px;
    box-shadow: 0 2px 10px rgba(25,27,26,0.05); transition: var(--transition);
}
.chapter-rail-pagebtn:hover { border-color: var(--color-text); }
.chapter-rail-pagebtn-caret { font-size: 0.7rem; line-height: 1; color: var(--color-text-light); transition: transform 0.3s ease; }
.chapter-rail-pagebtn[aria-expanded="true"] .chapter-rail-pagebtn-caret { transform: rotate(180deg); }
.chapter-rail-pagemenu {
    position: absolute; top: -6px; right: calc(100% + 12px); z-index: 2;
    list-style: none; margin: 0; padding: 6px; min-width: 172px;
    background: rgba(255,255,255,0.92); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
    border: 1px solid rgba(255,255,255,0.6); border-radius: var(--radius-md);
    box-shadow: 0 22px 46px -16px rgba(25,27,26,0.32);
}
@supports ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
    .chapter-rail-pagemenu { background: rgba(255,255,255,0.55); }
}
.chapter-rail-pagemenu[hidden] { display: none; }
.chapter-rail-pagemenu li { margin: 0; }
.chapter-rail-pagelink {
    display: block; padding: 8px 12px; border-radius: 8px;
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
    color: var(--color-text-light); text-decoration: none; white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.chapter-rail-pagelink:hover { background: rgba(25,27,26,0.05); color: var(--color-text); }
.chapter-rail-pagelink.active { color: var(--color-text); font-weight: 700; background: rgba(201,169,110,0.16); }
.chapter-rail-item:focus-visible .chapter-rail-label { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* Desktop rail is hidden on tablet/mobile — a bottom-sheet TOC takes over there (below) */
@media (max-width: 1024px) { .chapter-rail { display: none; } }
@media (prefers-reduced-motion: reduce) {
    .chapter-rail-label, .chapter-rail-here, .chapter-rail-mark { transition: none; }
}

/* ============================================================
   MOBILE TABLE OF CONTENTS — floating trigger + bottom sheet (≤1024px). Built by script.js.
   ============================================================ */
.toc-fab, .toc-backdrop, .toc-sheet { display: none; }

@media (max-width: 1024px) {
    /* Trigger: a thumb-friendly pill that always shows the current section */
    .toc-fab {
        position: fixed; z-index: 95; right: 16px; bottom: 16px;
        display: inline-flex; align-items: center; gap: 0.5rem;
        max-width: 66vw; padding: 0.7rem 1rem 0.7rem 0.85rem;
        background: rgba(255,255,255,0.94); color: var(--color-text);
        -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
        border: 1px solid rgba(25,27,26,0.10); border-radius: 100px; cursor: pointer;
        box-shadow: 0 10px 30px -8px rgba(25,27,26,0.30), inset 0 1px 0 rgba(255,255,255,0.7);
        font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
        transition: bottom 0.35s cubic-bezier(0.25,1,0.5,1), transform 0.15s ease;
    }
    .toc-fab-icon { color: var(--color-accent); }
    .toc-fab:active { transform: scale(0.97); }
    .toc-fab-icon { width: 18px; height: 18px; flex-shrink: 0; }
    .toc-fab-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    body.cta-visible .toc-fab { bottom: calc(106px + env(safe-area-inset-bottom, 0px)); } /* lift above the mobile call/write bar */

    .toc-backdrop {
        display: block; position: fixed; inset: 0; z-index: 110;
        background: rgba(25,27,26,0.45);
        opacity: 0; visibility: hidden; pointer-events: none;
        transition: opacity 0.3s ease, visibility 0s linear 0.3s;
        -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    }
    .toc-backdrop.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.3s ease; }

    .toc-sheet {
        display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 111;
        max-height: 80vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
        background: var(--color-bg); border-radius: 20px 20px 0 0;
        box-shadow: 0 -16px 44px -12px rgba(25,27,26,0.4);
        transform: translateY(100%); visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.25,1,0.5,1), visibility 0s linear 0.4s;
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }
    .toc-sheet.open { transform: translateY(0); visibility: visible; transition: transform 0.4s cubic-bezier(0.25,1,0.5,1); }
    .toc-sheet-inner { padding: 10px clamp(18px, 6vw, 28px) 8px; }
    .toc-sheet-grip { display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--color-border); margin: 0 auto 14px; }
    .toc-sheet-head { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; color: var(--color-text-light); margin: 0 0 0.4rem; padding-left: 4px; }
    .toc-sheet-head--pages { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--color-border); }
    .toc-sheet-list { list-style: none; margin: 0; padding: 0; }
    .toc-sheet-link {
        display: flex; align-items: center; gap: 0.7rem; padding: 0.8rem 0.5rem; border-radius: 10px;
        font-family: var(--font-heading); font-size: 1.1rem; letter-spacing: -0.01em;
        color: var(--color-text); text-decoration: none;
    }
    .toc-sheet-link::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--color-border); flex-shrink: 0; transition: background-color 0.2s ease, transform 0.2s ease; }
    .toc-sheet-link.active::before { background: var(--color-accent); transform: scale(1.35); }
    .toc-sheet-link.active { font-weight: 500; }
    .toc-sheet-link:active { background: rgba(25,27,26,0.05); }
    .toc-sheet-pages { list-style: none; margin: 0; padding: 0.15rem 0.25rem 0.4rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
    .toc-sheet-pagelink {
        display: inline-block; padding: 0.5rem 0.95rem; border-radius: 100px;
        font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
        color: var(--color-text-light); text-decoration: none; border: 1px solid var(--color-border);
    }
    .toc-sheet-pagelink.active { color: var(--color-text); border-color: var(--color-text); background: rgba(201,169,110,0.16); }
}
@media (prefers-reduced-motion: reduce) {
    .toc-fab, .toc-backdrop, .toc-sheet { transition: none; }
}

/* ============================================================
   AVAILABILITY CUE (green pulse) + "STAY IN TOUCH" EXIT PROMPT
   ============================================================ */
.avail { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em; color: var(--color-text-light); }
.avail-dot { width: 9px; height: 9px; border-radius: 50%; background: #b29b63; flex-shrink: 0; }
.avail.is-on .avail-text { color: var(--color-text); }
.avail.is-on .avail-dot { background: #3aae59; animation: avail-pulse 1.9s ease-out infinite; }
@keyframes avail-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(58,174,89,0.55); }
    70%  { box-shadow: 0 0 0 9px rgba(58,174,89,0); }
    100% { box-shadow: 0 0 0 0 rgba(58,174,89,0); }
}

/* Persistent desktop badge → call */
.avail-badge {
    position: fixed; left: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 94;
    display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none;
    padding: 0.6rem 1.1rem 0.6rem 0.9rem;
    background: rgba(255,255,255,0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid rgba(25,27,26,0.10); border-radius: 100px;
    box-shadow: 0 10px 30px -8px rgba(25,27,26,0.30), inset 0 1px 0 rgba(255,255,255,0.7);
    transition: var(--transition);
}
.avail-badge:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(25,27,26,0.36); }
.avail-badge-cta { font-size: 0.8rem; font-weight: 600; color: var(--color-text); border-left: 1px solid var(--color-border); padding-left: 0.7rem; white-space: nowrap; }
@media (max-width: 1024px) { .avail-badge { display: none; } } /* mobile shows it in the call/write bar instead */

/* Availability line inside the mobile call/write bar */
.avail-strip { justify-content: center; width: 100%; margin-bottom: 0.55rem; }

/* Exit "stay in touch" modal */
.exit { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.exit.open { visibility: visible; }
.exit-backdrop { position: absolute; inset: 0; background: rgba(25,27,26,0.5); opacity: 0; transition: opacity 0.35s ease; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.exit.open .exit-backdrop { opacity: 1; }
.exit-card {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -46%) scale(0.98);
    width: min(440px, calc(100vw - 36px)); max-height: calc(100vh - 36px); overflow-y: auto;
    background: var(--color-bg); border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 40px 90px -30px rgba(25,27,26,0.55);
    padding: clamp(1.7rem, 5vw, 2.5rem); text-align: center;
    opacity: 0; transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.25,1,0.5,1);
}
.exit.open .exit-card { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.exit-card .avail { margin: 0 auto 1rem; }
.exit-card h2 { font-size: clamp(1.6rem, 6vw, 2.1rem); margin-bottom: 0.7rem; }
.exit-card p { font-size: 1rem; margin-bottom: var(--spacing-md); }
.exit-actions { display: flex; flex-direction: column; gap: 0.6rem; }
.exit-actions .btn { width: 100%; }
.exit-write { display: inline-block; margin-top: var(--spacing-sm); font-size: 0.9rem; color: var(--color-text-light); border-bottom: 1px solid var(--color-border); padding-bottom: 1px; }
.exit-write:hover { color: var(--color-text); }
.exit-close { position: absolute; top: 8px; right: 12px; background: none; border: none; font-size: 1.7rem; line-height: 1; color: var(--color-text-light); cursor: pointer; padding: 6px; }
.exit-close:hover { color: var(--color-text); }
@media (prefers-reduced-motion: reduce) {
    .avail.is-on .avail-dot { animation: none; }
    .exit-backdrop, .exit-card, .avail-badge { transition: none; }
}



/* ============================================================
   CLARITY UPDATE (v21) — products visible at a glance.
   Hero offer index, always-visible offer cards (replace the
   closed accordion), facts strips on service pages.
   Same vocabulary: Playfair/Mulish, cream, ochre accent, borders.
   ============================================================ */

/* Hero offer index — the concrete "ce que je propose" at first glance */
.offer-index { list-style: none; border-top: 1px solid var(--color-border); }
.offer-index li { border-bottom: 1px solid var(--color-border); }
.offer-index a { display: flex; align-items: baseline; gap: 0.85rem; padding: 0.68rem 0.1rem; }
.oi-num { font-family: var(--font-heading); font-size: 0.85rem; color: var(--color-accent); letter-spacing: 0.05em; flex-shrink: 0; }
.oi-label { font-size: 0.95rem; font-weight: 600; color: var(--color-text); letter-spacing: 0.01em; }
.oi-hint { font-size: 0.85rem; color: var(--color-text-light); }
.oi-arrow { margin-left: auto; color: var(--color-text-light); font-weight: 300; transition: var(--transition); opacity: 0; transform: translateX(-4px); }
.offer-index a:hover .oi-arrow { opacity: 1; transform: translateX(0); color: var(--color-accent); }
.offer-index a:hover .oi-label { color: var(--color-text); }
/* Touch devices have no hover — keep the arrow affordance visible */
@media (hover: none), (max-width: 1024px) { .oi-arrow { opacity: 1; transform: none; } }
.offer-index-title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; color: var(--color-text-light); display: block; margin-bottom: 0.6rem; }
.hero-offer-index { margin-top: var(--spacing-md); }

/* Offer cards — always visible, concrete and scannable */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-sm); }
.offer-card {
  display: flex; flex-direction: column; gap: 0.6rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--color-border); border-radius: 14px;
  background: var(--color-surface);
  transition: var(--transition);
}
.offer-card:hover { border-color: var(--color-accent); transform: translateY(-3px); box-shadow: 0 16px 36px -20px rgba(25, 27, 26, 0.5); }
.offer-title { font-family: var(--font-heading); font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 500; letter-spacing: -0.02em; color: var(--color-text); display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; line-height: 1.15; }
.offer-arrow { color: var(--color-accent); font-weight: 300; font-size: 1.3rem; transition: var(--transition); flex-shrink: 0; }
.offer-card:hover .offer-arrow { transform: translateX(4px); }
.offer-desc { font-size: 1rem; color: var(--color-text-light); line-height: 1.6; margin: 0; max-width: 62ch; }
@media (max-width: 860px) { .offer-grid { grid-template-columns: 1fr; } }

/* Icon offer cards + two-pillar layout (homepage) */
.offer-card-row { flex-direction: row; gap: 1.4rem; align-items: flex-start; flex: 1; }
.offer-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(201,169,110,0.18); border: 1px solid rgba(255,255,255,0.55); color: var(--color-text); flex-shrink: 0; }
.offer-icon svg { width: 26px; height: 26px; }
.offer-card-body { min-width: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.pillar-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.pillar-duo .path-group { display: flex; flex-direction: column; gap: var(--spacing-sm); }
.pillar-duo .path-group + .path-group { margin-top: 0; }
.pillar-duo .path-group-label { margin-bottom: 0; }
@media (max-width: 600px) { .offer-card-row { gap: 1rem; } .offer-icon { width: 46px; height: 46px; } }

/* Testimonials grid (homepage) */
.tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: var(--spacing-sm); align-items: stretch; }
.tgrid .testimonial-card { display: flex; flex-direction: column; justify-content: space-between; gap: var(--spacing-md); margin: 0; }
.tgrid .testimonial-quote { margin-bottom: 0; font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.tgrid .testimonial-author strong { display: block; font-size: 1.05rem; font-weight: 600; color: var(--color-text); text-transform: none; letter-spacing: 0; margin-bottom: 0.2rem; }

/* Facts strip — the concrete frame of a service, right under its hero */
.facts-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--spacing-sm) var(--spacing-md); border-top: 1px solid var(--color-border); padding-top: var(--spacing-md); margin-top: var(--spacing-md); }
.facts-strip dt, .facts-strip dd { margin: 0; }
.fact-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--color-text-light); display: block; margin-bottom: 0.25rem; }
.fact-value { font-size: 1rem; font-weight: 600; color: var(--color-text); line-height: 1.45; }


/* Visible keyboard focus */
.btn:focus-visible, .btn-link:focus-visible, .nav-link:focus-visible, .faq-question:focus-visible, .offer-index a:focus-visible, .offer-card:focus-visible {
  outline: 2px solid var(--color-accent); outline-offset: 3px;
}

/* Primary action — warm espresso pill (softer than inky black). ONE per view; everything else stays quiet. */
.btn-dark { background: var(--color-cta); color: var(--color-cta-text); border: 1px solid var(--color-cta); box-shadow: 0 12px 26px -16px rgba(58,46,40,0.4); }
.btn-dark:hover { background: var(--color-cta-hover); color: var(--color-cta-text); transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(58,46,40,0.45); }
.btn-dark:active { transform: scale(0.98); }

/* Click-to-load embed facade — defers the Spotify player (Widevine/EME) so Android shows no "protected content" prompt on page load. */
.embed-facade { display: flex; align-items: center; justify-content: center; width: 100%; border: 0; cursor: pointer; background: var(--color-surface-alt); color: var(--color-text); font-family: inherit; padding: var(--spacing-md); transition: var(--transition); }
.embed-facade:hover, .embed-facade:focus-visible { background: #ECE4D4; }
.embed-facade-inner { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.embed-facade-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--color-cta); color: var(--color-cta-text); }
.embed-facade-icon svg { width: 22px; height: 22px; margin-left: 3px; }
.embed-facade-label { font-weight: 600; font-size: 1.0625rem; }
.embed-facade-note { font-size: 0.85rem; color: var(--color-text-light); }

/* Newsletter signup (double opt-in) */
.newsletter-form { display: flex; gap: 0.75rem; max-width: 560px; margin: var(--spacing-md) auto 0; position: relative; }
.newsletter-form .form-control { flex: 1 1 auto; min-width: 0; }
.newsletter-form .btn { flex-shrink: 0; width: auto; white-space: nowrap; }
@media (max-width: 600px) { .newsletter-form { flex-direction: column; } .newsletter-form .btn { width: 100%; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Hero CTA row (primary pill + quiet text link) */
.hero-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--spacing-sm) var(--spacing-md); margin-top: var(--spacing-md); }
@media (max-width: 600px) { .hero-cta-actions { width: 100%; } .hero-cta-actions .btn { width: 100%; } }
