/* =========================================================================
   Apabrita Das Adhikari — The Breathing Room
   Design system: warm clay / terracotta on warm off-white + Hanken Grotesk & Inter.
   Restyled from the design-system/ tokens. Structure unchanged — only the
   visual layer (color, type, shapes, shadows) was swapped.
   ========================================================================= */

/* ----- Fonts: Hanken Grotesk (headings) + Inter (body), via Google Fonts -
   The original site self-hosted Glacial Indifference. Using web fonts here;
   can be self-hosted later to keep the site CDN-free. */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ----- Design tokens ---------------------------------------------------- */
:root {
  /* Warm clay / terracotta / cream palette */
  --bg:            #F7F2EA;   /* page background, warm off-white          */
  --bg-2:          #FBF1EB;   /* alt section background, palest clay      */
  --surface:       #FFFDF8;   /* solid card surface, warm white           */
  --lilac:         #DE9A78;   /* soft clay (borders, dots, gradients)     */
  --lilac-soft:    #F5DDD0;   /* tints, borders                           */
  --violet:        #BC5B3C;   /* emphasis / CTA — clay primary            */
  --violet-deep:   #9C4A30;   /* CTA hover / strong text accent           */
  --plum:          #2B2620;   /* headings — warm espresso                 */
  --ink:           #4E463A;   /* body text                                */
  --muted:         #857A68;   /* secondary text                           */

  /* Soft glass (warmed + calmer) */
  --glass-fill:    rgba(255, 253, 248, 0.62);
  --glass-fill-2:  rgba(255, 253, 248, 0.42);
  --glass-border:  rgba(231, 222, 207, 0.75);
  --glass-blur:    14px;
  --glass-shadow:  0 12px 40px -14px rgba(43, 38, 32, 0.16);

  /* Radii & shadows (soft, warm-tinted) */
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 24px;
  --r-xl: 30px;
  --shadow-soft: 0 10px 30px -14px rgba(43, 38, 32, 0.14);
  --shadow-lift: 0 18px 50px -18px rgba(43, 38, 32, 0.20);
  --ring: 0 0 0 4px rgba(188, 91, 60, 0.30);

  /* Type — Hanken Grotesk (headings via --serif) + Inter (body via --sans) */
  --serif: "Hanken Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* headings — Hanken Grotesk */
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1140px;
  --maxw-narrow: 760px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 9vw, 7rem);
}

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

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* `clip` prevents horizontal overflow WITHOUT promoting overflow-y to auto
     (which would make <body> a scroll container and break window scrolling). */
  overflow-x: clip;
}

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

a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--violet-deep); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--plum);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}

h1 { font-size: clamp(2rem, 1.2rem + 3.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); font-weight: 700; }

p { color: var(--ink); }
.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); color: var(--muted); }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ----- Layout helpers --------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-2); }
.center { text-align: center; }
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--violet);
  margin-bottom: 0.8rem;
}
.section-head { max-width: 640px; margin: 0 auto clamp(2rem, 5vw, 3.2rem); }
.section-head.left { margin-inline: 0; }
.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--violet); color: #fff; padding: 0.6rem 1.2rem; border-radius: 0 0 12px 12px;
  z-index: 1000; transition: top 0.2s;
}
.skip-link:focus { top: 0; color: #fff; }

/* ----- Glass utility ---------------------------------------------------- */
.glass {
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: var(--r);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
}
/* Fallback for browsers without backdrop-filter */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .glass { background: rgba(255, 253, 248, 0.92); }
}

/* ----- Buttons ---------------------------------------------------------- */
.btn {
  --btn-bg: var(--violet);
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--sans); font-weight: 500; font-size: 1rem;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  background: var(--btn-bg); color: #fff; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-shadow: 0 8px 20px -10px rgba(188, 91, 60, 0.55);
  text-align: center; line-height: 1.2;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(188, 91, 60, 0.6); background: var(--violet-deep); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; }

.btn--whatsapp { --btn-bg: #1faa54; box-shadow: 0 8px 20px -10px rgba(31, 170, 84, 0.55); }
.btn--whatsapp:hover { background: #178a44; box-shadow: 0 14px 28px -12px rgba(31, 170, 84, 0.6); }

.btn--ghost {
  background: var(--glass-fill); color: var(--violet-deep);
  border: 1px solid var(--lilac); box-shadow: none;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: #fff; color: var(--violet-deep); box-shadow: var(--shadow-soft); }

.btn--block { width: 100%; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ----- Header / nav ----------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  padding: 0.55rem 0;
  transition: box-shadow 0.25s, background 0.25s;
}
.site-header .container { display: flex; align-items: center; gap: 1rem; }
.site-header.scrolled {
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 6px 24px -16px rgba(43, 38, 32, 0.3);
  border-bottom: 1px solid rgba(231, 222, 207, 0.6);
}
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--serif); font-weight: 500; color: var(--plum); font-size: 1.12rem; letter-spacing: -0.01em; }
.brand:hover { color: var(--plum); }
.brand .mark {
  width: 42px; height: 42px; border-radius: 0; flex: 0 0 auto;
  border: none;
  background: center/contain no-repeat url('../img/icon.svg');
  box-shadow: none;
}
.brand small { display: block; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
/* The brand uses the supplied horizontal logo SVG as-is (mark + wordmark). */
.brand-logo { height: 42px; width: auto; display: block; }
.site-footer .brand-logo { height: 50px; }
@media (max-width: 560px) { .brand-logo { height: 34px; } }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1.6rem; }
.nav a.navlink { color: var(--ink); font-weight: 500; font-size: 0.96rem; position: relative; }
.nav a.navlink:hover { color: var(--violet-deep); }
.nav a.navlink::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--violet); transition: width 0.2s; border-radius: 2px; }
.nav a.navlink:hover::after { width: 100%; }

.nav-toggle { display: none; }
.menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--lilac-soft); background: var(--glass-fill); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--plum); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 320px);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0.4rem;
    padding: 5rem 1.5rem 2rem; margin: 0;
    background: rgba(247, 242, 234, 0.95);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    box-shadow: -20px 0 60px -20px rgba(43, 38, 32, 0.3);
    transform: translateX(110%); transition: transform 0.3s ease; z-index: 200;
  }
  .nav a.navlink { padding: 0.7rem 0.4rem; border-bottom: 1px solid var(--lilac-soft); }
  .nav a.navlink::after { display: none; }
  .nav .btn { margin-top: 0.8rem; }
  .nav-toggle:checked ~ .nav { transform: translateX(0); }
  .nav-toggle:checked ~ .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .menu-btn span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ----- Language badge --------------------------------------------------- */
.lang-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--violet-deep); font-weight: 500;
  padding: 0.4rem 0.9rem; border-radius: 999px;
  background: rgba(255, 253, 248, 0.6); border: 1px solid var(--glass-border);
}
.lang-badge svg { width: 1.05em; height: 1.05em; opacity: 0.8; }
.lang-badge b { font-weight: 600; }

/* ----- Hero ------------------------------------------------------------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; isolation: isolate; padding-block: 4rem; }
/* 3D aurora replaced by a very subtle, quicker-drifting gradient. */
#hero-canvas { display: none; }
.hero__fallback { position: absolute; inset: 0; z-index: -2; overflow: hidden;
  background:
    url('../img/hero-illustration.svg') center 85% / 100% auto no-repeat,
    linear-gradient(150deg, #FBF7F0 0%, #F8F1E7 52%, #FCF6ED 100%);
}
@media (max-width: 640px) {
  /* show the whole scene as a small band along the top, where the gradient reveals it */
  .hero__fallback { background-size: 100% auto, auto; background-position: center top, center; }
}
.hero__fallback::before, .hero__fallback::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform;
}
.hero__fallback::before {
  width: 62%; height: 78%; left: -6%; top: -16%;
  background: radial-gradient(circle, rgba(240,196,128,0.32) 0%, rgba(240,196,128,0) 70%);
  animation: heroBlobA 9s ease-in-out infinite alternate;
}
.hero__fallback::after {
  width: 58%; height: 72%; right: -10%; bottom: -20%;
  background: radial-gradient(circle, rgba(221,161,136,0.30) 0%, rgba(221,161,136,0) 70%);
  animation: heroBlobB 11s ease-in-out infinite alternate;
}
@keyframes heroBlobA { from { transform: translate(0,0) scale(1); } to { transform: translate(42%, 30%) scale(1.32); } }
@keyframes heroBlobB { from { transform: translate(0,0) scale(1); } to { transform: translate(-36%, -26%) scale(1.26); } }
.hero::after { /* bottom-to-top cream gradient: keeps text clear from just above the heading down through the free-intake line, while the illustration shows along the top */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top,
    rgba(247,242,234,1) 0%,
    rgba(247,242,234,0.97) 40%,
    rgba(247,242,234,0.53) 68%,
    rgba(247,242,234,0) 95%);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__panel { padding: clamp(1.6rem, 4vw, 2.8rem); }
/* Center-aligned hero (single column, no portrait) */
.hero:has(.hero__inner--center) { min-height: 84vh; padding-block: 11rem 3.5rem; }
.hero__inner--center { display: block; }
.hero__inner--center .hero__panel {
  max-width: 1000px; margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: clamp(1.6rem, 2.6vw, 2.4rem);
}
/* even, roomier spacing — gap governs it, so neutralise the children's own margins */
.hero .hero__inner--center .hero__panel > * { margin-block: 0; }
.hero__inner--center h1 { white-space: nowrap; }    /* headline on one line (wraps on small screens) */
.hero__inner--center .lead { max-width: 740px; text-wrap: balance; }   /* subhead settles to two lines */
.hero__inner--center .hero__tagline { max-width: 100%; }
.hero__inner--center .btn-row,
.hero__inner--center .reassure { justify-content: center; }
.hero__tagline { margin: -0.4rem 0 0.6rem; color: var(--violet-deep); font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
@media (max-width: 720px) {
  .hero__inner--center h1 { white-space: normal; text-wrap: balance; }
  .hero__inner--center .hero__tagline { white-space: normal; }
}
.hero h1 { margin-bottom: 1rem; }
.hero .lead { margin-bottom: 1.6rem; color: var(--ink); }
.hero .reassure { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; margin: 1.4rem 0 1.6rem; font-size: 0.92rem; color: var(--muted); }
.hero .reassure span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero .reassure b { color: var(--violet-deep); font-weight: 600; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lilac); box-shadow: 0 0 0 3px var(--lilac-soft); }

.hero__portrait { position: relative; }
.portrait-card { padding: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.portrait-card img, .portrait-ph {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-lg);
}
.portrait-ph {
  display: grid; place-items: center; text-align: center; color: var(--violet-deep);
  background: linear-gradient(160deg, #F5DDD0, #EBBCA4);
  font-family: var(--serif); font-size: 1rem; padding: 1.5rem;
}
.portrait-ph span { display:block; font-family: var(--sans); font-size: 0.78rem; color: var(--muted); margin-top: 0.5rem; }
.portrait-badge {
  position: static; transform: none; display: block;
  margin: 0.9rem auto 0; max-width: 100%;
  white-space: normal; text-align: center; line-height: 1.5;
  padding: 0.7rem 1rem; font-size: 0.82rem; font-weight: 600; color: var(--violet-deep);
  background: var(--bg-2); border: 1px solid var(--lilac-soft); border-radius: 14px;
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
}

@media (max-width: 860px) {
  .hero { min-height: auto; padding-block: 3rem 4rem; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__portrait { order: -1; max-width: 320px; margin-inline: auto; }
  .portrait-badge { max-width: 100%; }
}

/* ----- Trust strip ------------------------------------------------------ */
.trust { margin-top: -3.5rem; position: relative; z-index: 5; }
.trust__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.4rem; padding: 1.4rem clamp(1rem, 3vw, 2rem); text-align: center;
}
.trust__item { padding: 0.6rem 0.5rem; }
.trust__item b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 1.35rem + 1.1vw, 2.15rem); color: var(--violet); line-height: 1.04; letter-spacing: -0.01em; margin-bottom: 0.3rem; }
.trust__item span { font-size: 0.84rem; color: var(--muted); }
.trust__item + .trust__item { border-left: 1px solid var(--lilac-soft); }
@media (max-width: 620px){ .trust__item + .trust__item { border-left: none; border-top: 1px solid var(--lilac-soft); } }

/* ----- Cards / grids ---------------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
/* About credentials: give Education a touch more width so the degree lines fit on one line */
@media (min-width: 801px) { .creds-grid { grid-template-columns: 0.88fr 1.12fr; } }

.card { padding: clamp(1.4rem, 3vw, 1.9rem); border-radius: var(--r); height: 100%; transition: transform 0.2s, box-shadow 0.2s; }
.card.glass:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card .ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--lilac-soft); color: var(--violet);
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* Offer (individual / group) cards */
.offer { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.6rem, 3.5vw, 2.4rem); }
.offer .price { font-family: var(--serif); font-size: 2rem; color: var(--plum); line-height: 1; }
.offer .price small { font-family: var(--sans); font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.offer ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.offer li { position: relative; padding-left: 1.7rem; font-size: 0.97rem; color: var(--ink); }
.offer li::before { content: ""; position: absolute; left: 0; top: 0.18em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--lilac-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BC5B3C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }
.offer .tag { align-self: flex-start; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--violet-deep); background: var(--lilac-soft); padding: 0.3rem 0.7rem; border-radius: 999px; }
.offer--featured { border: 1.5px solid var(--lilac); }
.offer .btn { margin-top: auto; }

/* ----- Steps ------------------------------------------------------------ */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step .num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 0.9rem;
  font-family: var(--serif); font-size: 1.25rem; color: #fff;
  background: var(--violet);
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ----- Approach / split -------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 800px){ .split { grid-template-columns: 1fr; } }
/* About intro: smaller title (two lines), longer bio, portrait aligned to top */
.split--top { align-items: start; }
.about-title { font-size: clamp(1.85rem, 1.1rem + 2.2vw, 2.5rem); }
.about-bio { margin-top: 1.1rem; }
.about-bio .lead { color: var(--ink); }
.about-bio > p + p { margin-top: 1rem; }
@media (min-width: 801px) {
  /* wider text column + a narrower picture that spans the full text height,
     so the text sits within the image's bounds; tighter gap, reach further out */
  .split--top { max-width: 1220px; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(1.4rem, 2.4vw, 2rem); align-items: stretch; }
  .split--top .hero__portrait { max-width: 420px; justify-self: end; display: flex; flex-direction: column; }
  .split--top .portrait-card { flex: 1 1 auto; }
  .split--top .portrait-card img,
  .split--top .portrait-card .portrait-ph { height: 100%; aspect-ratio: auto; }
}
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.tag-list span { font-size: 0.85rem; color: var(--violet-deep); background: rgba(255, 253, 248, 0.65);
  border: 1px solid var(--lilac-soft); padding: 0.4rem 0.85rem; border-radius: 999px; }

/* ----- FAQ -------------------------------------------------------------- */
.faq { display: grid; gap: 0.8rem; max-width: 760px; margin-inline: auto; }
.faq details { border-radius: var(--r-sm); padding: 0 1.3rem; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 0; font-weight: 600; color: var(--plum);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--violet); transition: transform 0.2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.2rem; color: var(--muted); margin: 0; }

/* ----- CTA band --------------------------------------------------------- */
.cta-band { text-align: center; padding: clamp(2.2rem, 5vw, 3.5rem); border-radius: var(--r-xl); }
.cta-band h2 { margin-bottom: 0.7rem; }
.cta-band .lead { margin-bottom: 1.6rem; }
.cta-band .btn-row { justify-content: center; }

/* ----- Section divider · deck-style affirmation band -------------------- */
.divider-band { background: #532819; }
.divider-band .eyebrow { color: #E8B48C; }
.divider-band h2 { color: #F7F2EA; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.1rem); max-width: 20ch; margin-inline: auto; }

/* ----- Big number · deck-style focal stat (left column of fees) -------- */
.big-number-col { text-align: left; }
.big-number-col .lead { max-width: 30ch; }
.big-number {
  font-family: var(--serif); font-weight: 700; color: var(--violet);
  line-height: 0.9; letter-spacing: -0.03em;
  font-size: clamp(5rem, 2.4rem + 11vw, 9.5rem);
  display: inline-flex; align-items: baseline; gap: 0.06em;
}
.big-number .unit { font-size: 0.30em; color: var(--violet-deep); font-weight: 600; letter-spacing: -0.01em; }
/* fees text hugs the right edge, mirroring the big number on the left */
.fees-text { text-align: right; }
.fees-text .lead { max-width: 46ch; margin-left: auto; }
@media (max-width: 800px) { .fees-text { text-align: left; } .fees-text .lead { margin-left: 0; } .big-number-col { margin-bottom: 0.6rem; } }

/* ----- Organic wavy section breaks (deep-clay bands) ------------------- */
.divider-band, .site-footer { position: relative; }
.divider-band::before, .site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 44px;
  transform: translateY(-99%); pointer-events: none;
  background: bottom/100% 100% no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60 L0 30 C240 58 480 4 720 26 C960 48 1200 58 1440 26 L1440 60 Z' fill='%23532819'/%3E%3C/svg%3E");
}

/* ----- Contact ---------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 2.5rem); }
@media (max-width: 800px){ .contact-grid { grid-template-columns: 1fr; } }
.form-card { padding: clamp(1.6rem, 4vw, 2.4rem); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--plum); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); padding: 0.8rem 1rem; border-radius: 12px;
  border: 1px solid var(--lilac-soft); background: rgba(255, 253, 248, 0.75); transition: border 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lilac); box-shadow: var(--ring); outline: none; }
.field textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.4rem; }
.form-status { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: 12px; font-size: 0.95rem; display: none; }
.form-status.ok { display: block; background: #E6EFE0; color: #4F6E45; border: 1px solid #CFE0C4; }
.form-status.err { display: block; background: #F6E0D9; color: #A83D30; border: 1px solid #ECC3B8; }

.contact-methods { display: grid; gap: 1rem; }
.method { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; border-radius: var(--r); }
.method .ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--lilac-soft); color: var(--violet); }
.method .ico svg { width: 22px; height: 22px; }
.method h3 { font-size: 1.08rem; margin-bottom: 0.2rem; }
.method p { font-size: 0.92rem; color: var(--muted); margin-bottom: 0.5rem; }
.method a.inline { font-weight: 600; }
.calendly-wrap { margin-top: 1.2rem; border-radius: var(--r); overflow: hidden; min-height: 0; }

/* ----- Sticky mobile CTA (injected) ------------------------------------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(247, 242, 234, 0.85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(231, 222, 207, 0.6); box-shadow: 0 -10px 30px -18px rgba(43, 38, 32, 0.3);
  gap: 0.6rem;
}
.sticky-cta .btn { flex: 1; padding-block: 0.75rem; }
@media (max-width: 720px){ .sticky-cta { display: flex; } body { padding-bottom: 4.5rem; } }

/* ----- Footer ----------------------------------------------------------- */
.site-footer { background: #532819; color: #E0D8CB; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; margin-top: var(--section-y); }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 720px){ .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; } }
.site-footer a { color: #ECDFCF; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; font-size: 0.95rem; }
.footer-brand p { color: #CBB8A6; font-size: 0.95rem; margin-top: 0.8rem; max-width: 38ch; }
.crisis { margin-top: 1.4rem; padding: 1rem 1.2rem; border-radius: 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); font-size: 0.88rem; color: #DCD0C0; }
.crisis b { color: #fff; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem; color: #BBA994; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }

/* ----- Decorative shapes & illustrations -------------------------------- */
/* Keep section content above any decorative blobs. */
.section > .container { position: relative; z-index: 1; }

.blob {
  position: absolute; z-index: 0; pointer-events: none; border-radius: 50%;
  filter: blur(46px); opacity: 0.42;
}
.blob--a { background: radial-gradient(circle at 30% 30%, #F7E6C4, #E0A23B); }
.blob--b { background: radial-gradient(circle at 30% 30%, #F5DDD0, #DE9A78); }
.blob--c { background: radial-gradient(circle at 30% 30%, #E6E9D7, #B7C39A); }

/* Floating hero motifs removed per request. */
.hero .spark { display: none; }
@keyframes floaty { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-18px) } }

/* Small flourish dots under a section eyebrow */
.flourish { display: inline-flex; gap: 6px; margin-bottom: 1rem; }
.flourish i { width: 8px; height: 8px; border-radius: 50%; background: var(--lilac); display: block; }
.flourish i:nth-child(2) { background: var(--violet); transform: scale(1.15); }
.flourish i:nth-child(3) { background: var(--lilac-soft); }

/* Puzzle illustration */
.puzzle-illus { width: 100%; max-width: 264px; height: auto; display: block; margin: 0 auto; }
.puzzle-card { display: grid; gap: 1.2rem; place-items: center; text-align: center; padding: clamp(1.6rem, 4vw, 2.4rem); }
.puzzle-card p { color: var(--muted); font-size: 0.98rem; max-width: 34ch; }

/* Dotted connectors between the "how it works" steps (desktop): a dashed line
   from just after each number bubble to just before the next — none after the last. */
.steps { position: relative; }
@media (min-width: 781px) {
  .steps { grid-template-columns: repeat(3, 1fr); --sgap: clamp(1rem, 2.5vw, 1.6rem); }
  .steps .step { position: relative; z-index: 1; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 22px; z-index: 0;
    left: 58px;                       /* 46px bubble + ~12px gap after it */
    right: calc(12px - var(--sgap));  /* cross the grid gap, stopping ~12px before the next bubble */
    height: 2px;
    background-image: linear-gradient(90deg, var(--lilac) 0 55%, transparent 0);
    background-size: 14px 2px; opacity: 0.6;
  }
}

/* ----- Reveal on scroll ------------------------------------------------- */
/* Only hide when JS is active (html.js). Without JS, content stays visible
   so the site is never blank if the script fails to load. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ----- Reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  #hero-canvas { display: none; }
}

/* ----- Polish pass (Web Interface Guidelines) --------------------------- */
/* Headings: balanced line-wrapping; never overflow the viewport on mobile. */
h1, h2, h3, h4 { overflow-wrap: break-word; text-wrap: balance; }
.hero__inner > * { min-width: 0; }
/* In-page anchors (#fees, #services, #contact) clear the sticky header. */
:target, section[id] { scroll-margin-top: 84px; }
/* Snappier taps on touch devices (removes the 300ms double-tap delay). */
a, button, .btn, summary, label { touch-action: manipulation; -webkit-tap-highlight-color: rgba(188, 91, 60, 0.12); }
