/* =========================================================================
   Sophia Roth — site styles
   Palette drawn from her photo: dusty cornflower blue, warm ivory, clay accent
   ========================================================================= */

:root {
  /* colour */
  --ivory: #faf6f0;
  --ivory-2: #f3ece1;
  --cream-card: #fffdf9;
  --ink: #20303f;
  --ink-soft: #4a5a69;
  --blue: #3c5a86;
  --blue-deep: #2c456b;
  --blue-bright: #5b7db1;
  --blue-wash: #e7eef7;
  --blue-wash-2: #dbe6f3;
  --clay: #d2825a;
  --clay-deep: #b9683f;
  --clay-wash: #f6e6dc;
  --gold: #c79a4b;
  --line: #e7ddcd;
  --shadow-sm: 0 2px 8px rgba(32, 48, 63, .06);
  --shadow-md: 0 14px 40px -16px rgba(32, 48, 63, .28);
  --shadow-lg: 0 30px 70px -24px rgba(32, 48, 63, .35);

  /* type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --maxw: 1160px;
  --radius: 18px;
  --radius-lg: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.inline-link { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-color: var(--blue-wash-2); text-underline-offset: 3px; transition: text-decoration-color .15s ease; }
.inline-link:hover { text-decoration-color: var(--blue); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- typography helpers ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; margin: 0; }

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--clay-deep); margin: 0 0 .9rem;
}
.eyebrow--center { text-align: center; }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tint { background: var(--ivory-2); }
.section__head { max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section__title { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.section__sub { color: var(--ink-soft); font-size: 1.08rem; margin: 1rem 0 0; }

/* hand-drawn underline */
.u-underline { position: relative; white-space: nowrap; }
.u-underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.12em; height: .42em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='14' viewBox='0 0 300 14'%3E%3Cpath d='M2 9C60 3 120 3 180 6s90 4 118 1' fill='none' stroke='%23d2825a' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%; opacity: .9;
}
@media (max-width: 560px) { .u-underline { white-space: normal; } }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  --bg: var(--blue); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: .82rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: var(--blue); box-shadow: 0 12px 24px -12px rgba(60, 90, 134, .8); }
.btn--primary:hover { --bg: var(--blue-deep); box-shadow: 0 16px 30px -12px rgba(60, 90, 134, .85); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: rgba(32, 48, 63, .2); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--soft { --bg: var(--blue-wash); --fg: var(--blue-deep); }
.btn--soft:hover { --bg: var(--blue-wash-2); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.04rem; }
.btn--block { width: 100%; }

/* =========================================================================
   Icons
   ========================================================================= */
.ico { width: 1.15rem; height: 1.15rem; display: inline-block; vertical-align: -2px; color: currentColor; }
.ico--lg { width: 1.7rem; height: 1.7rem; }

/* =========================================================================
   Nav
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, .72);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled { background: rgba(250, 246, 240, .92); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 74px; }

.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand__mark {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  display: grid; place-items: center; color: var(--ivory); background: var(--blue);
  font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1;
  box-shadow: var(--shadow-sm);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; }
.brand__role { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }

.nav__links { display: flex; gap: 1.6rem; }
.nav__links a { font-size: .95rem; font-weight: 500; color: var(--ink-soft); position: relative; padding: .2rem 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--clay); transition: width .2s ease; border-radius: 2px; }
.nav__links a:hover { color: var(--ink); } .nav__links a:hover::after { width: 100%; }

.nav__cta { margin-left: .4rem; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; gap: .3rem; padding: 12px 24px 22px; background: var(--ivory); border-bottom: 1px solid var(--line); }
.mobile-menu a { padding: .7rem .2rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border: 0; margin-top: .6rem; }
.mobile-menu .btn { justify-content: center; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu { display: flex; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .55; }
.blob--1 { width: 520px; height: 520px; right: -160px; top: -120px; background: radial-gradient(circle at 30% 30%, var(--blue-wash-2), transparent 70%); }
.blob--2 { width: 420px; height: 420px; left: -140px; bottom: -160px; background: radial-gradient(circle at 50% 50%, var(--clay-wash), transparent 70%); }

.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero__title { font-size: clamp(2.4rem, 5.6vw, 4rem); letter-spacing: -.02em; margin-bottom: 1.2rem; }
.hero__lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-soft); max-width: 38ch; margin: 0 0 1.8rem; }
.hero__hi { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5.2vw, 3.6rem); line-height: 1.04; letter-spacing: -.02em; color: var(--ink); margin: .4rem 0 1.1rem; }
.hero__name { font-style: italic; font-weight: 500; color: var(--blue-deep); }
.hero__intro { max-width: 58ch; margin: 0 0 1.8rem; }
.hero__intro p { font-size: 1.02rem; color: var(--ink-soft); margin: 0 0 .9rem; }
.hero__intro p:last-child { margin-bottom: 0; }
.hero__intro p:first-child { font-size: 1.12rem; color: var(--ink); }
.hero__intro a { font-weight: 600; }
.hero__eyebrow {
  display: flex; align-items: center; gap: .5rem; width: fit-content; max-width: 100%;
  background: var(--blue-wash); color: var(--blue-deep);
  border: 1px solid var(--blue-wash-2); border-radius: 999px;
  padding: .5rem .95rem; font-size: .82rem; font-weight: 600; letter-spacing: .01em;
  line-height: 1.25; margin: 0 0 1.3rem; box-shadow: var(--shadow-sm);
}
.hero__eyebrow .ico { width: 1.05rem; height: 1.05rem; flex: none; color: var(--clay); }
.hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 2rem; }

.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0; }
.hero__trust li { display: inline-flex; align-items: center; gap: .45rem; font-size: .84rem; font-weight: 600; color: var(--ink); background: var(--cream-card); border: 1px solid var(--line); border-radius: 999px; padding: .42rem .85rem; box-shadow: var(--shadow-sm); }
.hero__trust .ico { color: var(--blue); width: 1rem; height: 1rem; }

/* portrait */
.hero__media { position: sticky; top: 96px; justify-self: center; }
.portrait { position: relative; width: min(420px, 78vw); aspect-ratio: 5 / 6; }
.portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  border-radius: 240px 240px 26px 26px;
  border: 8px solid var(--cream-card); box-shadow: var(--shadow-lg);
  position: relative; z-index: 2;
}
.portrait__ring {
  position: absolute; inset: -18px -18px 24px -18px; z-index: 1;
  border-radius: 260px 260px 40px 40px;
  border: 2px dashed rgba(60, 90, 134, .35);
}
.portrait__badge {
  position: absolute; right: -14px; bottom: 18px; z-index: 3;
  background: var(--cream-card); border: 1px solid var(--line); border-radius: 16px;
  padding: .7rem 1rem; box-shadow: var(--shadow-md); line-height: 1.25;
  animation: floaty 5s ease-in-out infinite;
}
.portrait__badge strong { display: block; font-family: var(--serif); font-size: 1.02rem; }
.portrait__badge span { font-size: .82rem; color: var(--ink-soft); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .portrait__badge { animation: none; } }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__eyebrow { margin-left: auto; margin-right: auto; }
  .hero__lede { margin-left: auto; margin-right: auto; }
  .hero__intro { margin-left: auto; margin-right: auto; text-align: left; }
  .hero__cta, .hero__trust { justify-content: center; }
  .hero__media { margin-top: 1rem; order: -1; position: static; }
}

/* =========================================================================
   Price / scarcity bar
   ========================================================================= */
.pricebar { background: var(--clay-wash); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricebar__inner { display: flex; align-items: center; justify-content: center; gap: .8rem 2rem; flex-wrap: wrap; padding: 1.15rem 24px; text-align: center; }
.pricebar p { margin: 0; font-size: 1rem; color: var(--ink-soft); max-width: 72ch; }
.pricebar strong { color: var(--clay-deep); font-weight: 600; }
.pricebar__link { font-weight: 600; color: var(--clay-deep); border-bottom: 2px solid var(--clay); padding-bottom: 2px; white-space: nowrap; }
.pricebar__link:hover { color: var(--ink); }

/* =========================================================================
   Services
   ========================================================================= */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc {
  background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.8rem 1.7rem 1.7rem; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-wash-2); }
.svc__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.1rem; }
.svc__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-wash); color: var(--blue); }
.svc__price { text-align: right; line-height: 1.1; }
.svc__from { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.svc__amount { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--ink); }
.svc__amount span { font-size: .9rem; font-family: var(--sans); color: var(--ink-soft); }
.svc__trial { display: block; font-size: .78rem; color: var(--clay-deep); font-weight: 600; margin-top: .15rem; }
.svc__title { font-size: 1.5rem; margin-bottom: .25rem; }
.svc__tag { font-size: .85rem; color: var(--ink-soft); margin: 0 0 1rem; font-weight: 500; }
.svc__body { color: var(--ink-soft); font-size: .98rem; margin: 0 0 1.1rem; }
.svc__body strong { color: var(--ink); }
.svc__list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .5rem; }
.svc__list li { position: relative; padding-left: 1.6rem; font-size: .92rem; color: var(--ink); }
.svc__list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1rem; height: 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%233c5a86' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12l4 4 10-10'/%3E%3C/svg%3E") no-repeat center / contain;
}
.svc__actions { margin-top: auto; display: flex; flex-direction: column; gap: .6rem; }

@media (max-width: 900px) { .services { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* tutoring flow */
.flow { margin-top: clamp(48px, 6vw, 80px); background: var(--blue-wash); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.flow__title { text-align: center; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 2rem; }
.flow__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.flow__steps li { position: relative; }
.flow__num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--blue); color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.15rem;
  margin-bottom: .8rem; box-shadow: var(--shadow-sm);
}
.flow__steps h4 { font-size: 1.12rem; margin-bottom: .35rem; }
.flow__steps p { font-size: .9rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 820px) { .flow__steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .flow__steps { grid-template-columns: 1fr; } }

/* =========================================================================
   Specialisms
   ========================================================================= */
.specialisms { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.specialisms__copy p { color: var(--ink-soft); font-size: 1.05rem; }
.specialisms__copy strong { color: var(--ink); }
.specialisms__copy .btn { margin-top: 1rem; }
.specialisms__cards { display: grid; gap: 1.2rem; }
.mini { background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.mini .ico { color: var(--clay); margin-bottom: .6rem; }
.mini h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.mini p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* beyond / personal highlights */
.beyond { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 1000px) { .beyond { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .beyond { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* timeline dates */
.timeline__date { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--clay-deep); margin-bottom: .25rem; }

/* statement blocks (EAL, confidentiality) */
.statement { max-width: 760px; margin: 0 auto; text-align: center; background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow-md); }
.statement--quiet { background: var(--blue-wash); border-color: var(--blue-wash-2); box-shadow: var(--shadow-sm); }
.statement__icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--blue-wash); color: var(--blue); margin-bottom: 1rem; }
.statement--quiet .statement__icon { background: var(--cream-card); }
.statement .section__title { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.statement p { color: var(--ink-soft); font-size: 1.06rem; margin: 1rem auto 0; max-width: 60ch; }
.statement .btn { margin-top: 1.6rem; }

/* testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 880px) { .testimonials { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; } }
.tcard { position: relative; background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm); margin: 0; display: flex; flex-direction: column; gap: .85rem; overflow: hidden; }
.tcard::before { content: "\201C"; position: absolute; top: -.4rem; right: 1rem; font-family: var(--serif); font-size: 4.5rem; line-height: 1; color: var(--blue-wash-2); }
.tcard__stars { color: var(--gold); letter-spacing: .12em; font-size: .95rem; }
.tcard blockquote { margin: 0; font-size: 1.04rem; color: var(--ink); line-height: 1.55; position: relative; z-index: 1; }
.tcard figcaption { font-size: .9rem; color: var(--ink-soft); font-weight: 600; margin-top: auto; }
.specialisms--reverse .specialisms__copy { order: 2; }
.specialisms--reverse .specialisms__cards { order: 1; }
@media (max-width: 800px) {
  .specialisms { grid-template-columns: 1fr; }
  .specialisms--reverse .specialisms__copy,
  .specialisms--reverse .specialisms__cards { order: 0; }
}

/* =========================================================================
   About
   ========================================================================= */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media { position: relative; justify-self: center; }
.about__photo { width: min(380px, 80vw); aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; border: 8px solid var(--cream-card); box-shadow: var(--shadow-lg); position: relative; z-index: 2; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about__deco { position: absolute; inset: auto -22px -22px auto; width: 70%; height: 70%; border-radius: var(--radius-lg); background: repeating-linear-gradient(45deg, var(--blue-wash) 0 8px, transparent 8px 16px); z-index: 1; }
.about__copy p { color: var(--ink-soft); font-size: 1.05rem; }
.pullquote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.35; color: var(--blue-deep); margin: 1.6rem 0; padding-left: 1.4rem;
  border-left: 4px solid var(--clay);
}
.about__sign { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--clay-deep); margin-top: 1rem; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .about__media { margin-bottom: 1rem; } }

/* =========================================================================
   Experience
   ========================================================================= */
.creds { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin: 0 auto clamp(40px, 5vw, 56px); max-width: 760px; }
.cred {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--cream-card);
  border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1.1rem;
  font-size: .92rem; font-weight: 600; box-shadow: var(--shadow-sm);
}
.cred .ico { color: var(--clay); }

.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--blue-wash-2), var(--clay-wash)); }
.timeline li { position: relative; padding: 0 0 1.8rem 2.4rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline__dot { position: absolute; left: 0; top: .35rem; width: 20px; height: 20px; border-radius: 50%; background: var(--cream-card); border: 4px solid var(--blue); box-shadow: 0 0 0 4px var(--ivory-2); }
.timeline h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.timeline p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* =========================================================================
   Bookshelf
   ========================================================================= */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin-bottom: clamp(32px, 4vw, 48px); }
.chip {
  font-family: var(--sans); font-size: .9rem; font-weight: 600; cursor: pointer;
  padding: .5rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--cream-card); color: var(--ink-soft); transition: all .18s ease;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

.books { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.book {
  display: grid; grid-template-columns: 120px 1fr; gap: 1.4rem; align-items: start;
  background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, opacity .3s ease;
}
.book:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.book.is-hidden { display: none; }

.book__cover {
  position: relative; width: 120px; height: 168px; border-radius: 6px 10px 10px 6px;
  background: linear-gradient(135deg, var(--c1, #3c5a86), var(--c2, #5b7db1));
  box-shadow: var(--shadow-md); display: grid; place-items: center; padding: .8rem; overflow: hidden;
}
.book__cover--soon { background: repeating-linear-gradient(45deg, #cdbfa9 0 10px, #c3b39b 10px 20px); }
.book__spine { position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: rgba(0,0,0,.18); }
.book__coverttl { font-family: var(--serif); color: #fff; font-size: 1rem; text-align: center; line-height: 1.2; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.25); }
.book__title { font-size: 1.3rem; margin-bottom: .1rem; }
.book__author { color: var(--ink-soft); font-size: .9rem; margin: 0 0 .6rem; font-style: italic; }
.book__tagrow { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .7rem; }
.tag { font-size: .72rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--blue-deep); background: var(--blue-wash); border-radius: 999px; padding: .2rem .6rem; }
.book__note { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.book__note strong { color: var(--ink); }
.book--soon { opacity: .92; }

@media (max-width: 900px) { .books { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .book { grid-template-columns: 1fr; } .book__cover { margin: 0 auto; } }

/* =========================================================================
   Booking
   ========================================================================= */
.section--book { background: linear-gradient(180deg, var(--ivory) 0%, var(--blue-wash) 100%); }
.booking { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.booking__card {
  position: relative; background: var(--cream-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem 1.6rem; text-align: center;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.booking__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.booking__card--feature { border: 2px solid var(--blue); box-shadow: var(--shadow-md); }
.booking__flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--clay); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; padding: .3rem .9rem; border-radius: 999px; white-space: nowrap;
}
.booking__icon { width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 18px; display: grid; place-items: center; background: var(--blue-wash); color: var(--blue); }
.booking__card h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.booking__price { font-family: var(--serif); font-size: 1.3rem; color: var(--blue-deep); margin: 0 0 .2rem; }
.booking__price span { font-size: .85rem; font-family: var(--sans); color: var(--ink-soft); }
.booking__desc { font-size: .9rem; color: var(--ink-soft); margin: 0 0 1.4rem; }
.booking__card .btn { margin-top: auto; }
.booking__card .btn + .btn { margin-top: .6rem; }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

/* scheduler / contact fallback */
.scheduler { margin-top: 2.4rem; }
.scheduler .calendly-inline-widget,
.calcom-inline { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); min-height: 640px; background: var(--cream-card); }
.booking__trust { display: flex; align-items: center; justify-content: center; gap: .45rem; flex-wrap: wrap; font-size: .9rem; color: var(--ink-soft); margin: 1rem 0 0; }
.booking__trust .ico { color: var(--blue); }
.sched-fallback {
  background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px); text-align: center; box-shadow: var(--shadow-md); max-width: 760px; margin: 0 auto;
}
.sched-fallback h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.sched-fallback p { color: var(--ink-soft); margin: 0 auto 1.5rem; max-width: 46ch; }
.sched-fallback__row { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }

/* =========================================================================
   Contact
   ========================================================================= */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.contact__copy p { color: var(--ink-soft); font-size: 1.05rem; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.contact__card {
  background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1rem; text-align: center; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-wash-2); }
.contact__card .ico { color: var(--blue); margin-bottom: .3rem; }
.contact__card strong { font-size: 1.02rem; }
.contact__card span { font-size: .82rem; color: var(--ink-soft); word-break: break-word; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact__cards { grid-template-columns: 1fr; max-width: 320px; } }

/* =========================================================================
   Footer
   ========================================================================= */
.footer { background: var(--ink); color: #d6dde4; padding: clamp(40px, 5vw, 64px) 0 32px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; align-items: start; }
.footer__brand { display: flex; gap: .8rem; align-items: center; }
.footer__brand .brand__mark { box-shadow: none; }
.footer__brand strong { color: #fff; font-family: var(--serif); font-size: 1.2rem; }
.footer__brand p { margin: .2rem 0 0; font-size: .88rem; color: #aab6c1; }
.footer__links { display: flex; flex-direction: column; gap: .5rem; }
.footer__links a { font-size: .92rem; color: #c4ccd4; }
.footer__links a:hover { color: #fff; }
.footer__meta { font-size: .88rem; color: #aab6c1; text-align: right; }
.footer__meta p { margin: 0 0 .3rem; }
@media (max-width: 720px) { .footer__inner { grid-template-columns: 1fr; gap: 1.6rem; } .footer__meta { text-align: left; } }

/* =========================================================================
   Reveal animations
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
