/* ============================================================
   Roots & Tides — shared styles
   The whole colour scheme lives in the :root block below.
   Swap these variables to re-skin the entire site.
   Palette from Lucie's mood images: light porcelain, fresh
   seafoam/teal watercolor (tides), fine gold veining, and
   earthy sage/mauve keeping it grounded (roots).
   ============================================================ */
:root {
  --bg: #FBFAF8;            /* porcelain white — light and airy */
  --surface: #FFFFFF;       /* cards */
  --primary: #2E8B80;       /* fresh teal — tides */
  --primary-deep: #17635C;  /* deep sea teal */
  --primary-pale: #E7F3EE;  /* pale seafoam wash */
  --mint: #8CD1AC;          /* light seafoam highlight */
  --accent: #A5833F;        /* soft antique gold — the veins */
  --accent-bright: #D8B36A; /* brighter gold for decorative lines */
  --accent-soft: #F6F0E5;   /* faint gold-tinged white */
  --pink: #F0AABF;          /* baby pink — same as the app's */
  --pink-deep: #B65C77;     /* readable pink for text on white */
  --pink-pale: #FBE9EF;     /* baby pink wash */
  --black: #1C1C1C;         /* soft black — footer, emphasis */
  --ink: #222222;           /* near-black body text */
  --ink-soft: #5F5F5F;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3 { color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
.serif { font-family: 'Cormorant Garamond', serif; }

/* visible keyboard focus — accessibility */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- decorative blobs ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* ---------- nav ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 93%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  box-shadow: 0 6px 22px color-mix(in srgb, var(--primary-deep) 5%, transparent);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--primary-deep);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.brand-mark { height: 48px; width: auto; display: block; }
.brand-lockup { height: 40px; width: auto; display: block; }
@media (min-width: 761px) {
  .brand-lockup { height: 56px; }
}
.brand .amp { color: var(--accent); font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  transition: color 0.2s;
}
/* a fine gold underline that grows from the centre on hover / active */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-bright) 45%, var(--accent) 55%, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-deep); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* mobile menu button — injected by nav.js, hidden until needed */
.nav-toggle {
  display: none;
  position: relative;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 70;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--primary-deep);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

/* ---------- hero / page headers ---------- */
.hero {
  position: relative;
  padding: 5rem 1.5rem 5.5rem;
  overflow: hidden;
}
.hero .blob.b1 { width: 420px; height: 420px; background: color-mix(in srgb, var(--mint) 38%, transparent); top: -120px; left: -100px; }
.hero .blob.b2 { width: 480px; height: 480px; background: color-mix(in srgb, var(--primary) 18%, transparent); bottom: -180px; right: -120px; }
.hero .blob.b3 { width: 380px; height: 380px; background: color-mix(in srgb, var(--pink) 45%, transparent); top: 12%; right: 10%; }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}
.hero-inner > div:first-child { text-align: center; }
.hero .intro { margin-left: auto; margin-right: auto; }
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 600;
  color: var(--primary-deep);
  line-height: 1.12;
  margin-bottom: 0.4rem;
}
.hero h1 .amp { color: var(--accent); font-style: italic; }
.hero .tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-style: italic;
  color: var(--accent);
  margin-bottom: 1.4rem;
}

/* large italic pull-quote, used to give a single line of copy real weight */
.pull-quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.45;
  color: var(--primary-deep);
}
/* closing statement at the end of a prose block: same position in the
   flow, just given more weight with the decorative serif and bold */
.closing-line {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.15em;
  color: var(--primary-deep);
}
.pull-quote cite {
  display: block;
  margin-top: 0.9rem;
  font-family: 'Nunito', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.hero .intro {
  font-size: 1.05rem;
  max-width: 540px;
  margin-bottom: 2rem;
}

/* photo (or placeholder) in organic shape */
.portrait {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 5;
  border-radius: 46% 54% 52% 48% / 55% 48% 52% 45%;
  background: linear-gradient(150deg, var(--primary) 0%, var(--pink) 100%);
  border: 3px solid color-mix(in srgb, var(--accent-bright) 55%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 600;
  text-align: center;
  padding: 0; /* photo fills the organic shape edge-to-edge */
  box-shadow: 0 14px 34px color-mix(in srgb, var(--primary-deep) 25%, transparent);
  justify-self: center;
  overflow: hidden;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* simple page header for inner pages */
.page-head {
  position: relative;
  padding: 3.5rem 1.5rem 2.5rem;
  overflow: hidden;
  text-align: center;
}
.page-head .blob.b1 { width: 380px; height: 380px; background: color-mix(in srgb, var(--pink) 30%, transparent); top: -140px; right: -100px; }
.page-head-inner { max-width: 1080px; margin: 0 auto; position: relative; z-index: 1; }
.page-head .sub { margin-left: auto; margin-right: auto; }
.page-head h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  color: var(--primary-deep);
}
.page-head .sub { color: var(--ink-soft); max-width: 640px; margin-top: 0.5rem; }

/* ---------- buttons ----------
   No fill, no box, no shadow — flat uppercase text with a thin accent
   underline, matching the "Learn more →" links used elsewhere on the
   site. This is deliberately as un-"buttony" as a clickable call to
   action can be, since anything filled/rounded kept reading as a blob. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  padding: 0.3rem 0.05rem;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease, gap 0.2s ease;
  margin-bottom: 0.6rem; /* keeps a gap when buttons wrap onto two lines */
}
.btn::after {
  content: "";
  position: absolute;
  left: 0.05rem;
  right: 0.05rem;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
}
.btn-primary {
  color: var(--primary-deep);
}
.btn-primary::after { background: linear-gradient(90deg, var(--accent-bright), color-mix(in srgb, var(--accent-bright) 30%, transparent)); }
.btn-primary:hover { color: var(--primary); gap: 0.6rem; }
.btn:active { transform: translateY(1px); }
.btn + .btn { margin-left: 1.8rem; }
.btn-ghost { color: var(--pink-deep); }
.btn-ghost::after { background: color-mix(in srgb, var(--pink) 55%, transparent); }
.btn-ghost:hover { color: var(--pink); gap: 0.6rem; }

/* ---------- sections & cards ---------- */
section { position: relative; padding: 2.9rem 1.5rem; }
.section-inner { max-width: 1080px; margin: 0 auto; position: relative; z-index: 1; text-align: center; }
.section-inner > p { margin-left: auto; margin-right: auto; }
.tint { background: var(--primary-pale); }
.tint-warm { background: var(--pink-pale); }

/* clean white panels with a hairline edge — a calm, professional rhythm
   that separates sections without colour blocks or wave dividers */
.panel {
  background: var(--surface);
  border-top: 1px solid color-mix(in srgb, var(--primary-deep) 8%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--primary-deep) 8%, transparent);
}

/* image bands — the photo + colour wash flow up INTO a wavy top edge, so
   there is no flat colour strip between the hero/white section and the image.
   A gentle colour wash keeps all text fully readable. */
.img-band { position: relative; background-size: cover; background-position: center; }
/* Who I Help — soft gradient, no photo */
.band-grad {
  background-image: linear-gradient(180deg,
    color-mix(in srgb, var(--primary) 24%, var(--bg)) 0%,
    var(--primary-pale) 100%);
}
/* What I Offer — wildflower meadow, lightly washed so the heading reads
   while still letting the photo show through the frosted-glass cards below */
.band-meadow {
  background-image:
    linear-gradient(rgba(251, 250, 248, 0.72), rgba(251, 250, 248, 0.78)),
    url("images/wildflower-meadow-sunset.webp");
}
.img-band > section { background: transparent; }

/* frosted-glass cards — translucent panels instead of solid white boxes,
   so the meadow shows through softly behind them */
.band-meadow .card {
  background: rgba(255, 255, 255, 0.48);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  backdrop-filter: blur(10px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 30px rgba(23, 99, 92, 0.14);
}
.band-meadow .card h3 { color: var(--primary-deep); }
.band-meadow .card:hover {
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 40px rgba(23, 99, 92, 0.2);
}
/* the wave sits at the TOP of the band, filled with the colour of the area
   ABOVE it, so the image seems to soak up into the wave rather than stop at
   a flat strip. scaleY(-1) flips the wave so its solid part is at the top. */
.wave-top {
  display: block;
  width: 100%;
  height: 60px;
  transform: scaleY(-1);
  margin-bottom: -1px;
}
.wave-top path { fill: var(--bg); }
.wave-top.on-tint path { fill: var(--primary-pale); }  /* matches the gradient above it */
/* wave at the BOTTOM of a band, filled with the colour of the section BELOW it */
.wave-bottom { display: block; width: 100%; height: 60px; margin-top: -1px; }
.wave-bottom path { fill: var(--primary-pale); }

/* homepage hero — soft pebble/shell texture behind the intro */
/* the pebble photo sits behind BOTH the hero and the "Who I Help" section and
   fades out gradually across them, so it bleeds on down into the page */
.hero-bleed {
  position: relative;
  background-image:
    linear-gradient(
      rgba(251, 250, 248, 0.62),
      rgba(251, 250, 248, 0.70) 20%,
      rgba(251, 250, 248, 0.82) 45%,
      rgba(251, 250, 248, 0.93) 74%,
      rgba(251, 250, 248, 1) 100%),
    url("images/handful-of-shells.webp");
  background-size: cover;
  background-position: center top;
}
.hero-home {
  padding-bottom: 1rem;
  background: none;
}
/* close the gap between the hero and the "Who I Help" section below it */
.hero-bleed > section { padding-top: 0.75rem; }
/* hide the decorative colour blobs on the home hero — the pebble photo is the
   backdrop now, and the blobs were casting a bluish patch over it */
.hero-home .blob { display: none; }
/* keep the "Who I Help" text crisp where the pebbles still show through */
.hero-bleed > section h2,
.hero-bleed > section .eyebrow,
.hero-bleed > section p {
  text-shadow: 0 1px 8px rgba(251, 250, 248, 0.9);
}
/* soft porcelain halo lifts the hero text off the pebbles without hiding them */
.hero-home h1,
.hero-home .tagline,
.hero-home .intro {
  text-shadow: 0 1px 14px rgba(251, 250, 248, 0.95), 0 1px 2px rgba(251, 250, 248, 0.8);
}
/* hero: text on the left, a big circular photo bubble on the right */
.hero-home .hero-inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
.hero-home .hero-text { text-align: left; }
.hero-home .hero-text .intro { margin-left: 0; margin-right: 0; }
.hero-home .portrait { max-width: 440px; margin: 0 auto; }
@media (max-width: 760px) {
  .hero-home .hero-inner { grid-template-columns: 1fr; }
  .hero-home .portrait { max-width: 280px; margin: 1.6rem auto 0; }
  .hero-home .hero-text { text-align: center; }
  .hero-home .hero-text .intro { margin-left: auto; margin-right: auto; }
}
/* teal wave at the foot of the hero — the pebble photo shows through its crest
   and it meets the blue "Who I Help" section cleanly, with no white break */
.hero-wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 64px;
  z-index: 1;
  display: block;
}
.hero-wave path { fill: color-mix(in srgb, var(--primary) 24%, var(--bg)); }

/* themed inner-page header banners — taller, with a lighter wash so more of
   the photo shows through while the heading stays readable */
.page-head.has-photo {
  padding: 5.5rem 1.5rem 14rem;
  background-size: cover;
  background-position: center;
}
/* pull the first content section up so it sits close under the heading and the
   header photo bleeds on down, fading behind the content */
.page-head.has-photo + section { margin-top: -13.5rem; position: relative; z-index: 1; }
.page-head.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  /* photo shows through the top and dissolves gently into the porcelain page
     far lower down, the same long fade used behind the Get in Touch header */
  background: linear-gradient(
    rgba(251, 250, 248, 0.74),
    rgba(251, 250, 248, 0.78) 38%,
    rgba(251, 250, 248, 0.85) 64%,
    rgba(251, 250, 248, 0.94) 85%,
    rgba(251, 250, 248, 1) 100%);
}
.page-head.has-photo .blob { display: none; }
.page-head.has-photo .eyebrow,
.page-head.has-photo h1,
.page-head.has-photo .sub {
  text-shadow: 0 1px 2px rgba(251, 250, 248, 0.98), 0 1px 16px rgba(251, 250, 248, 0.95);
}
/* darker sub-text so the descriptive line reads clearly over the photo */
.page-head.has-photo .sub { color: var(--ink); }

/* the "01 / 02 / 03" numbers above each step are removed */
.step .num { display: none; }
.head-forest    { background-image: url("images/forest-canopy-sunlight.webp"); }
.head-dahlias   { background-image: url("images/dahlia-bouquet.webp"); }
.head-path      { background-image: url("images/woodland-path.webp"); }
.head-coast     { background-image: url("images/cornwall-coast-sunset.webp"); }
.head-shells    { background-image: url("images/handful-of-shells.webp"); }
.head-sunrise   { background-image: url("images/golden-sunset-beach.webp"); }
.head-daffodils { background-image: url("images/spring-daffodils.webp"); }
.head-sunflower { background-image: url("images/sunflower-with-bee.webp"); }
.head-sea       { background-image: url("images/sea-sunset-horizon.webp"); }
.head-rainbow   { background-image: url("images/rainbow-sunset.webp"); }
.head-meadow    { background-image: url("images/wildflower-meadow-sunset.webp"); }
.head-underwater{ background-image: url("images/underwater-turquoise-sea.webp"); }
.head-butterfly { background-image: url("images/butterfly.webp"); }
.head-autumn-dahlias { background-image: url("images/autumn-dahlias.webp"); }
.head-lavender  { background-image: url("images/kitchen-garden-lavender.jpg"); }
.head-family-beach { background-image: url("images/family-beach.jpeg"); }
.head-jellyfish { background-image: url("images/jellyfish.jpeg"); }
.head-allotment { background-image: url("images/allotment.webp"); }

/* a full section with a photo behind it + a readable wash */
.section-photo { position: relative; background-size: cover; background-position: center; }
.section-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  /* photo shows softly through the middle and fades to porcelain at the top
     and bottom, so the band dissolves into the page rather than being boxed */
  background: linear-gradient(
    rgba(251, 250, 248, 1) 0%,
    rgba(251, 250, 248, 0.86) 14%,
    rgba(251, 250, 248, 0.86) 86%,
    rgba(251, 250, 248, 1) 100%);
}
.section-photo > .section-inner { position: relative; z-index: 1; }
/* keep prose crisp over the photo */
.section-photo .prose p, .section-photo h2, .section-photo .eyebrow { text-shadow: 0 1px 8px rgba(251, 250, 248, 0.95), 0 1px 2px rgba(251, 250, 248, 0.8); }
.bg-sunflower { background-image: url("images/sunflower-with-bee.webp"); }
.bg-meadow { background-image: url("images/wildflower-meadow-sunset.webp"); }
.bg-sunset-sea { background-image: url("images/lucie-sunset-sea-wide.jpeg"); }

/* Get in Touch: the underwater photo runs down behind the intro and fades
   out into porcelain just before the "Send a Message" form */
.contact-hero {
  position: relative;
  background-image: url("images/underwater-turquoise-sea.webp");
  background-size: cover;
  background-position: center top;
}
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    rgba(251, 250, 248, 0.60),
    rgba(251, 250, 248, 0.72) 40%,
    rgba(251, 250, 248, 0.92) 80%,
    rgba(251, 250, 248, 1) 100%);
}
.contact-hero > * { position: relative; z-index: 1; }
.contact-hero .eyebrow,
.contact-hero h1,
.contact-hero .sub { text-shadow: 0 1px 10px rgba(251, 250, 248, 0.9); }

/* clean pricing list — no boxes */
.price-list { max-width: 640px; margin: 2rem auto 0; text-align: left; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.1rem 0.2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--primary-deep) 14%, transparent);
}
.price-row:last-child { border-bottom: none; }
.price-row h3 { font-size: 1.1rem; margin-bottom: 0.2rem; color: var(--primary-deep); }
.price-row p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }
.price-row .price { font-weight: 800; color: var(--primary-deep); white-space: nowrap; font-size: 1.05rem; }

/* soft gradient with teal/blue + pink patches, echoing the homepage blobs */
/* soft colour wash that fades in at the top and out at the bottom, so the
   band blends into the porcelain page instead of sitting as a solid box */
.tint-mesh {
  position: relative;
  background: transparent;
}
.tint-mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 16% 22%, color-mix(in srgb, var(--primary) 24%, transparent), transparent 46%),
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--mint) 38%, transparent), transparent 42%),
    radial-gradient(circle at 80% 84%, color-mix(in srgb, var(--pink) 40%, transparent), transparent 48%),
    var(--primary-pale);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 11%, #000 89%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 11%, #000 89%, transparent 100%);
}
.tint-mesh > * { position: relative; z-index: 1; }

/* soft, seamless colour wash — gentle pops of teal, pink and mint on a
   porcelain (white) base, so a run of sections blends into one continuous,
   airy backdrop rather than distinct coloured bands. Works on a wrapping
   <div> around several sections, or on a single section. */
.blend-soft { position: relative; background: transparent; }
.blend-soft::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 9%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 40%),
    radial-gradient(circle at 88% 20%, color-mix(in srgb, var(--pink) 20%, transparent), transparent 42%),
    radial-gradient(circle at 20% 50%, color-mix(in srgb, var(--pink-pale) 55%, transparent), transparent 44%),
    radial-gradient(circle at 84% 58%, color-mix(in srgb, var(--mint) 15%, transparent), transparent 44%),
    radial-gradient(circle at 48% 88%, color-mix(in srgb, var(--primary) 9%, transparent), transparent 42%),
    transparent;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.blend-soft > * { position: relative; z-index: 1; }
/* standard has-photo header (14rem bottom padding) followed by a blend-soft
   wrap — pull up by the same amount as the "+ section" case so text never
   overlaps (life-mapping, one-to-one, policies, services all use this combination) */
.page-head.has-photo + .blend-soft { margin-top: -13.5rem; position: relative; z-index: 1; }

/* compact policy list — smaller bubbles, stacked */
.policy-list { max-width: 660px; margin: 2rem auto 0; display: grid; gap: 0.7rem; text-align: left; }
.policy-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: color-mix(in srgb, var(--surface) 42%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary-deep) 12%, transparent);
  border-radius: 14px;
  box-shadow: none;
  text-decoration: none;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.policy-item:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 46%, transparent);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}
.policy-item h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.32rem; font-weight: 600; color: var(--primary-deep); margin-bottom: 0.1rem; }
.policy-item p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.policy-item .arrow { color: var(--accent); font-weight: 700; font-size: 1.2rem; flex-shrink: 0; transition: transform 0.15s; }
.policy-item:hover .arrow { transform: translateX(4px); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 1.1rem;
  color: var(--primary-deep);
}
/* fine gold vein under headings, echoing the marbled gold in the moodboard */
section h2::after {
  content: "";
  display: block;
  width: 68px;
  height: 2px;
  margin: 0.55rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-bright) 50%, transparent);
}
.page-head h1::after {
  content: "";
  display: block;
  width: 84px;
  height: 2px;
  margin: 0.6rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-bright) 50%, transparent);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 2rem;
}
.cards .card { flex: 1 1 260px; max-width: 330px; }
.card {
  background: var(--surface);
  border-radius: 20px;
  padding: 2rem 1.7rem;
  /* no hard border + a soft, diffuse shadow so cards float rather than block */
  box-shadow: 0 14px 42px color-mix(in srgb, var(--primary-deep) 9%, transparent);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  display: flex;
  flex-direction: column;
}
/* pin the trailing "Learn more" link to the bottom so a card row lines up */
.card > p:last-child { margin-top: auto; padding-top: 0.4rem; }
.card h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin: 0.55rem auto 0.1rem;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 56px color-mix(in srgb, var(--primary-deep) 15%, transparent); }

/* ---------- "What I Offer" media rows (HOME page — original card style) ---------- */
.offer-list {
  display: grid;
  gap: 1.3rem;
  max-width: 900px;
  margin: 2.2rem auto 0;
  text-align: left;
}
.offer-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 42px color-mix(in srgb, var(--primary-deep) 9%, transparent);
  transition: transform 0.2s, box-shadow 0.2s;
}
.offer-item:hover { transform: translateY(-4px); box-shadow: 0 22px 56px color-mix(in srgb, var(--primary-deep) 14%, transparent); }
.offer-photo {
  position: relative;
  min-height: 190px;
  background: var(--primary-pale); /* soft fallback until the photo is in place */
}
.offer-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-body { padding: 1.6rem 1.8rem; display: flex; flex-direction: column; justify-content: center; }
.offer-body h3 { font-size: 1.2rem; margin-bottom: 0.4rem; color: var(--primary-deep); }
.offer-body p { color: var(--ink-soft); font-size: 0.97rem; }
.offer-body .more { margin-top: 0.7rem; }
.offer-body .more a { color: var(--primary-deep); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent-bright); padding-bottom: 1px; }
.offer-body .more a:hover { color: var(--primary); border-bottom-color: var(--primary); }
/* zig-zag: photo on the right for every other row */
.offer-item:nth-child(even) { grid-template-columns: 1fr 220px; }
.offer-item:nth-child(even) .offer-photo { order: 2; }
.offer-item:nth-child(even) .offer-body { order: 1; }
@media (max-width: 640px) {
  .offer-item, .offer-item:nth-child(even) { grid-template-columns: 1fr; }
  .offer-item:nth-child(even) .offer-photo { order: 0; }
  .offer-photo { min-height: 210px; }
}

/* ---------- What I Offer PAGE only (.offer-detail): photo + unboxed text ---------- */
.offer-detail { gap: 2.9rem; max-width: 940px; }
.offer-detail .offer-item {
  grid-template-columns: 320px 1fr;
  gap: 2.4rem;
  align-items: center;
  background: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.offer-detail .offer-item:hover { transform: none; box-shadow: none; }
/* keep the photo in the fixed 320px column on the alternating (photo-right) rows
   too, so every image is exactly the same size */
.offer-detail .offer-item:nth-child(even) { grid-template-columns: 1fr 320px; }
.offer-detail .offer-photo {
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 30px color-mix(in srgb, var(--primary-deep) 11%, transparent);
  transition: box-shadow 0.3s ease;
}
.offer-detail .offer-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 6px;
  pointer-events: none;
}
.offer-detail .offer-photo img { transition: transform 0.7s ease; }
.offer-detail .offer-item:hover .offer-photo { box-shadow: 0 18px 40px color-mix(in srgb, var(--primary-deep) 16%, transparent); }
.offer-detail .offer-item:hover .offer-photo img { transform: scale(1.05); }
.offer-detail .offer-body { padding: 0; display: block; }
.offer-detail .offer-body .date { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 0.3rem; }
/* text-only variant (blog / policies): same elegant styling, no photo column,
   just clean items separated by a hairline */
.offer-plain { max-width: 700px; gap: 0; }
.offer-plain .offer-item, .offer-plain .offer-item:nth-child(even) { grid-template-columns: 1fr; gap: 0; padding: 1.7rem 0; }
.offer-plain .offer-item + .offer-item { border-top: 1px solid color-mix(in srgb, var(--primary-deep) 12%, transparent); }
.offer-detail .offer-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.14;
  margin-bottom: 0.3rem;
  color: var(--primary-deep);
}
.offer-detail .offer-body h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 0.55rem 0 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-bright), transparent);
}
.offer-detail .offer-body p { margin-top: 0.75rem; }
.offer-detail .offer-body .more { margin-top: 0.9rem; }
.offer-detail .offer-body .more a {
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 2px solid var(--accent-bright);
  padding-bottom: 1px;
}
.offer-detail .offer-body .more a:hover { color: var(--primary); border-bottom-color: var(--primary); }
@media (max-width: 720px) {
  .offer-detail .offer-item, .offer-detail .offer-item:nth-child(even) { grid-template-columns: 1fr; gap: 1.3rem; }
  .offer-detail .offer-item:nth-child(even) .offer-photo { order: 0; }
}
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.icon.a { background: var(--primary-pale); }
.icon.b { background: var(--accent-soft); }
.icon.c { background: var(--pink-pale); }
.card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; color: var(--ink-soft); }
.card a { color: var(--primary-deep); font-weight: 700; text-decoration: none; }
.card a:hover { text-decoration: underline; }

/* specialism lines — elegant serif text separated by gold dots, no pills */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 0;
  margin-top: 1.3rem;
}
.chip {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-deep);
  letter-spacing: 0.02em;
}
.chip:not(:last-child)::after {
  content: "·";
  color: var(--accent-bright);
  margin: 0 0.85rem;
  font-weight: 700;
}
.chip.warm { color: var(--pink-deep); font-style: italic; }

/* plain text list — heading + text, no card box. Used wherever a short
   list of items needs to read as flowing text rather than boxed tiles. */
.simple-items {
  max-width: 640px;
  margin: 2rem auto 0;
  display: grid;
  gap: 1.8rem;
}
.simple-items h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--primary-deep);
}
.simple-items h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin: 0.5rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
}
.simple-items p { font-size: 0.95rem; color: var(--ink-soft); }
.simple-items .more { margin-top: 0.4rem; }
.simple-items .more a {
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 2px solid var(--accent-bright);
  padding-bottom: 1px;
}
.simple-items .more a:hover { color: var(--primary); border-bottom-color: var(--primary); }

/* prose blocks (about page, blog posts) */
.prose { max-width: 720px; margin-left: auto; margin-right: auto; }
.prose p { margin-bottom: 1rem; }
.prose .placeholder {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.92rem;
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
}

/* timeline (career summary) */
.timeline { margin-top: 2rem; border-left: 3px solid color-mix(in srgb, var(--primary) 30%, transparent); padding-left: 1.6rem; max-width: 680px; }
.timeline .entry { margin-bottom: 1.8rem; position: relative; }
.timeline .entry::before {
  content: "";
  position: absolute;
  left: -2.25rem;
  top: 0.4rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline .when { font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); }
.timeline h3 { font-size: 1.1rem; margin: 0.15rem 0 0.3rem; }
.timeline p { font-size: 0.95rem; color: var(--ink-soft); }

/* blog cards */
.post-card {
  display: flex;
  flex-direction: column;
  background: color-mix(in srgb, var(--surface) 42%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary-deep) 13%, transparent);
  border-radius: 16px;
  box-shadow: none;
  padding: 2.1rem 1.9rem;
}
.post-card .date { font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 0.4rem; }
.post-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; font-weight: 600; color: var(--primary-deep); margin-bottom: 0.4rem; }
.post-card p { flex: 1; }
.post-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 44%, transparent);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--primary-deep) 7%, transparent);
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.8rem; margin-top: 2rem; }
.step .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.step p { font-size: 0.95rem; color: var(--ink-soft); }

/* contact */
.contact-card {
  display: inline-block;
  background: var(--surface);
  border-radius: 22px;
  padding: 2rem 2.6rem;
  box-shadow: 0 10px 30px rgba(59, 58, 54, 0.08);
  border: 1px solid color-mix(in srgb, var(--primary) 14%, transparent);
}
.contact-card p { margin-bottom: 0.4rem; font-weight: 600; }
.contact-card a { color: var(--primary-deep); text-decoration: none; font-weight: 700; }
.contact-card a:hover { text-decoration: underline; }
/* plain-text enquiries email — no box */
.contact-email { font-size: 1.3rem; font-weight: 700; }
.contact-email a { color: var(--primary-deep); text-decoration: none; border-bottom: 2px solid color-mix(in srgb, var(--accent-bright) 70%, transparent); padding-bottom: 2px; }
.contact-email a:hover { border-bottom-color: var(--primary-deep); }
.placeholder-note {
  display: block;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--ink-soft);
  opacity: 0.75;
}

/* wave divider */
.wave { display: block; width: 100%; height: 60px; }
.wave path { fill: var(--primary-pale); }
.wave.warm path { fill: var(--pink-pale); }

/* footer */
footer {
  background: var(--primary-pale);
  color: var(--ink-soft);
  padding: 1.4rem 1.5rem;
  text-align: center;
  font-size: 0.72rem;
  border-top: 2px solid var(--accent-bright); /* fine gold seam */
}
/* keep the footer content in a tidy central column rather than stretched wide */
footer > * { max-width: 560px; margin-left: auto; margin-right: auto; }
footer .social { margin-left: auto; margin-right: auto; justify-content: center; }
footer .brand-foot {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--primary-deep);
  margin-bottom: 0.25rem;
}
footer p { margin-bottom: 0.2rem; }
footer a { color: var(--primary-deep); font-weight: 700; }
.foot-contact { font-size: 0.78rem; margin-bottom: 0.5rem; }
.foot-mark { height: 36px; width: auto; display: block; margin: 0 auto 0.4rem; }
/* accreditation logos shown in every footer */
.foot-accred {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.7rem auto 0.6rem;
}
.foot-logo {
  height: 24px;
  width: auto;
  background: #fff;
  padding: 4px 7px;
  border-radius: 6px;
  box-sizing: content-box;
}
.foot-accred-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--primary-deep);
}
.foot-accred-item svg { width: 20px; height: 20px; flex: none; }
/* soft square photo (About page; also reused as a generic feature photo
   elsewhere via the .feature-photo alias) that blends gently into the page */
.lucie-square, .feature-photo {
  width: 300px;
  height: auto;
  max-width: 82%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 20%; /* biases toward the top so faces in portrait photos don't get cropped */
  border-radius: 26px;
  display: block;
  margin: 0.5rem auto 2.2rem;
  box-shadow: 0 18px 46px color-mix(in srgb, var(--primary-deep) 16%, transparent);
}
/* face-forward portrait photo in a wide offer-card — keeps the top of the
   head in frame; note this can't reduce the zoomed-in feel itself, since
   that comes from fitting a tall close-up photo into a wide 4:3 card */
.offer-photo img.photo-top { object-position: center 12%; }
/* About: photo left, text right, side by side */
/* photo floats top-left; the text wraps beside it and then continues full-width
   once it passes the bottom of the photo */
.intro-split { text-align: left; }
.intro-split::after { content: ""; display: block; clear: both; }
.intro-split .lucie-square,
.intro-split .feature-photo {
  float: left;
  width: 340px;
  max-width: 44%;
  margin: 0.4rem 2.3rem 1.1rem 0;
  aspect-ratio: 3 / 4;
}
.intro-split .prose { max-width: none; margin: 0; }
/* reverse modifier: photo floats right instead of left */
.intro-split.reverse .lucie-square,
.intro-split.reverse .feature-photo {
  float: right;
  margin: 0.4rem 0 1.1rem 2.3rem;
}
/* center-v modifier: vertically centre the text alongside the photo,
   instead of top-aligned, for when the text is shorter than the photo */
.intro-split.center-v {
  display: flex;
  align-items: center;
  gap: 2.3rem;
}
.intro-split.center-v.reverse { flex-direction: row-reverse; }
.intro-split.center-v .lucie-square,
.intro-split.center-v .feature-photo {
  float: none;
  margin: 0;
  flex: none;
}
.intro-split.center-v .intro-text { flex: 1; }
@media (max-width: 760px) {
  .intro-split .lucie-square,
  .intro-split .feature-photo,
  .intro-split.reverse .lucie-square,
  .intro-split.reverse .feature-photo { float: none; display: block; width: 100%; max-width: 300px; margin: 0 auto 1.4rem; }
  .intro-split.center-v {
    display: block;
  }
  .intro-split.center-v .lucie-square,
  .intro-split.center-v .feature-photo { display: block; width: 100%; max-width: 300px; margin: 0 auto 1.4rem; }
}

/* ---------- social links ---------- */
.social {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0.9rem 0;
}
.social a {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary-deep);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  transition: transform 0.15s, background 0.15s, color 0.15s;
}
.social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.social svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- accreditations banner ---------- */
/* full-width band: the soft colour wash fills the whole page width and fades
   out into the page top and bottom, no boxed card */
.accreditations {
  position: relative;
  padding: 4.6rem 1.5rem;
  overflow: hidden;
  background: var(--surface);
}
/* drop the hairline borders where the banner meets the sections above and
   below, so the colour wash has nothing hard to butt against */
.panel:has(+ .accreditations) { border-bottom: none; }
.accreditations + .panel { border-top: none; }
.accreditations::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 16% 26%, color-mix(in srgb, var(--primary) 22%, transparent), transparent 48%),
    radial-gradient(circle at 88% 20%, color-mix(in srgb, var(--mint) 34%, transparent), transparent 44%),
    radial-gradient(circle at 80% 82%, color-mix(in srgb, var(--pink) 36%, transparent), transparent 50%),
    var(--primary-pale);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
.accred-inner {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}
.accred-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.accred-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.6rem;
  justify-content: center;
  align-items: center;
}
.accred-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  max-width: 240px;
}
.accred-item .abbr {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-deep);
  letter-spacing: 0.04em;
}
.accred-item .full { font-size: 0.78rem; color: var(--ink-soft); line-height: 1.35; }
.accred-icon { width: 42px; height: 42px; display: block; margin: 0 auto 0.45rem; }
/* official membership logo — shown when the image file exists; the seal + abbr
   below act as an automatic fallback until the logo files are added */
.accred-logo {
  display: none;
  box-sizing: border-box;
  width: auto;
  height: 52px;
  max-width: 100px;
  object-fit: contain;
  background: #fff;
  padding: 6px 9px;
  border-radius: 9px;
  box-shadow: 0 3px 10px color-mix(in srgb, var(--primary-deep) 8%, transparent);
  margin: 0 auto 0.45rem;
}
.accred-logo.is-loaded { display: block; }
.accred-item:has(.accred-logo.is-loaded) .accred-icon,
.accred-item:has(.accred-logo.is-loaded) .abbr { display: none; }
.accred-note { margin-top: 1.2rem; font-size: 0.8rem; color: var(--ink-soft); font-style: italic; }

/* ---------- contact form ---------- */
.contact-form { text-align: left; margin-top: 0.5rem; }
.contact-form .field { margin-bottom: 1.1rem; }
.contact-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.contact-form .req { color: var(--pink-deep); }
.contact-form .optional { color: var(--ink-soft); font-weight: 400; font-size: 0.85rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}
.contact-form .field-consent label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.contact-form .field-consent input { width: auto; margin-top: 0.25rem; flex-shrink: 0; }
.contact-form .field-consent a { color: var(--primary-deep); font-weight: 700; }
.contact-form button[type="submit"] { border: none; cursor: pointer; margin-top: 0.3rem; }
.contact-form .form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.9rem; }

/* honeypot — hidden from real visitors, left in the DOM for bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* submission banners */
.form-alert {
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.4rem;
  font-weight: 600;
  text-align: left;
}
.form-alert.success {
  background: var(--primary-pale);
  border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
  color: var(--primary-deep);
}
.form-alert.error {
  background: var(--pink-pale);
  border: 1px solid color-mix(in srgb, var(--pink) 60%, transparent);
  color: var(--pink-deep);
}

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(28, 28, 28, 0.18);
  padding: 1.1rem 1.3rem;
  /* start hidden just below the viewport, slide up when shown */
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.cookie-banner.cookie-show { transform: translateY(0); opacity: 1; }
.cookie-banner.cookie-hide { transform: translateY(140%); opacity: 0; }
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1 1 300px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}
.cookie-text a { color: var(--primary-deep); font-weight: 700; }
.cookie-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-btn {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.cookie-btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--primary) 35%, transparent);
}
.cookie-btn-primary:hover { transform: translateY(-2px); }
.cookie-btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1.5px solid color-mix(in srgb, var(--primary) 30%, transparent);
}
.cookie-btn-ghost:hover { background: var(--primary-pale); }

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero .intro { margin-left: auto; margin-right: auto; }
  .portrait { max-width: 250px; }
  .chips { justify-content: center; }
  .contact-form .field-row { grid-template-columns: 1fr; }
}
/* the header switches to a hamburger earlier than the rest of the layout,
   because the full uppercase nav needs more room than the two-column sections */
@media (max-width: 960px) {
  /* ---- mobile navigation ---- */
  /* A blurred/filtered nav becomes the containing block for its fixed children,
     which pins the menu to the bar instead of the screen. Drop the blur and use
     a solid bar on mobile so the full-screen menu anchors to the viewport. */
  nav {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* Fallback with no JavaScript: keep the links visible in a tidy centred row */
  .nav-links { gap: 0.7rem 1.1rem; font-size: 1rem; justify-content: center; }

  /* JS-enhanced: a hamburger that opens a full-screen menu */
  nav.js-nav .nav-toggle { display: flex; }
  nav.js-nav .nav-links {
    position: fixed;
    inset: 0;
    margin: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 2.1rem;
    background: color-mix(in srgb, var(--bg) 96%, var(--primary));
    transform: translateX(100%);
    transition: transform 0.32s ease;
    z-index: 60;
  }
  nav.js-nav .nav-links a { font-size: 1.5rem; padding: 0.2rem 0; }
  nav.js-nav.nav-open .nav-links { transform: translateX(0); }
  body.nav-lock { overflow: hidden; }

  /* hamburger morphs into an X when open */
  nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  /* ---- compact cookie banner ---- */
  .cookie-banner { left: 0.6rem; right: 0.6rem; bottom: 0.6rem; padding: 0.75rem 0.9rem; border-radius: 14px; }
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 0.55rem; }
  .cookie-text { font-size: 0.78rem; line-height: 1.4; flex-basis: auto; }
  .cookie-actions { justify-content: flex-end; gap: 0.5rem; }
  .cookie-btn { flex: 1; padding: 0.5rem 0.6rem; font-size: 0.85rem; }
}

/* ---------- shop dropdown (nav) ---------- */
.nav-shop { position: relative; display: flex; align-items: center; }
.shop-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  padding-top: 1.1rem; /* invisible bridge so the menu stays open while the pointer travels down to it */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 80;
}
.nav-shop:hover .shop-menu,
.nav-shop:focus-within .shop-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-links .shop-card {
  display: block;
  width: 290px;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  color: var(--ink);
  text-transform: none;
  letter-spacing: normal;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--accent-bright) 55%, transparent);
  box-shadow: 0 24px 54px color-mix(in srgb, var(--primary-deep) 24%, transparent);
}
.nav-links .shop-card::after { display: none; }
.shop-card .sc-photo {
  display: block;
  width: 100%;
  height: 235px;
  object-fit: cover;
  object-position: 50% 4%;
  transition: transform 0.5s ease;
}
.nav-links .shop-card:hover .sc-photo { transform: scale(1.05); }
.shop-card .sc-body { display: block; padding: 1.05rem 1.2rem 1.25rem; text-align: center; background: var(--surface); position: relative; }
.shop-card .sc-label { display: block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.3rem; }
.shop-card .sc-name { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; line-height: 1.1; color: var(--primary-deep); }
.shop-card .sc-price { display: block; font-size: 0.95rem; font-weight: 700; color: var(--ink-soft); margin: 0.3rem 0 0.75rem; }
.shop-card .sc-cta {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary-deep);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  transition: background 0.2s ease;
}
.nav-links .shop-card:hover .sc-cta { background: var(--primary); }

@media (max-width: 960px) {
  nav.js-nav .nav-links { gap: 1.5rem; overflow-y: auto; justify-content: safe center; padding: 4.5rem 0 2rem; }
  nav.js-nav .nav-shop { flex-direction: column; gap: 1rem; }
  nav.js-nav .shop-menu { position: static; transform: none; opacity: 1; visibility: visible; padding-top: 0; }
  nav.js-nav .nav-links .shop-card { display: flex; width: min(320px, 86vw); text-align: left; }
  nav.js-nav .shop-card .sc-photo { width: 104px; height: auto; min-height: 130px; flex: none; object-position: 50% 30%; }
  nav.js-nav .shop-card .sc-body { padding: 0.8rem 1rem; text-align: left; display: flex; flex-direction: column; justify-content: center; }
  nav.js-nav .shop-card .sc-name { font-size: 1.3rem; }
  nav.js-nav .shop-card .sc-price { margin: 0.2rem 0 0.5rem; }
  nav.js-nav .shop-card .sc-cta { align-self: flex-start; font-size: 0.66rem; padding: 0.45rem 0.95rem; }
  nav.js-nav .nav-links .shop-card .sc-label { font-size: 0.6rem; }
}

/* keep the nine-item menu on one line on small laptops and tablets, before the hamburger takes over at 960px */
@media (min-width: 961px) and (max-width: 1160px) {
  .nav-inner { padding-left: 1rem; padding-right: 1rem; gap: 0.6rem; }
  .nav-links { gap: 0.95rem; flex-wrap: nowrap; }
  .nav-links a { font-size: 0.68rem; letter-spacing: 0.07em; white-space: nowrap; }
  .brand-lockup { height: 46px; }
}

/* centred lists and cards (blog, services, policies, home offers) */
.offer-body { text-align: center; }
.offer-detail .offer-body h3::after {
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
}
