/* =========================================================================
   Angela Atkinson — Professional Dog Trainer, Cumbria
   Design system: warm editorial countryside. Palette + type derived from logo.
   ========================================================================= */

/* ---- Fonts ------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Mulish:wght@400;500;600;700&display=swap');

/* ---- Tokens ------------------------------------------------------------ */
:root {
  --sand:        #F4EBD9;
  --sand-deep:   #EADFC6;
  --cream:       #FBF5E9;
  --bark:        #34251A;
  --cocoa:       #57402A;
  --umber:       #8A5A36;
  --umber-soft:  #A9784F;
  --sage:        #7C8B68;
  --sage-soft:   #9AA886;
  --line:        rgba(52, 37, 26, 0.16);
  --line-soft:   rgba(52, 37, 26, 0.08);
  --shadow-sm:   0 2px 10px rgba(52, 37, 26, 0.07);
  --shadow-md:   0 18px 44px -22px rgba(52, 37, 26, 0.40);
  --shadow-lg:   0 40px 80px -40px rgba(52, 37, 26, 0.55);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Mulish', -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1280px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --radius: 18px;
  --radius-lg: 30px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--cocoa);
  background-color: var(--sand);
  line-height: 1.7;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Subtle film-grain atmosphere over the whole page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---- Typography -------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--bark);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem); }
.display-italic { font-style: italic; color: var(--umber); }

p { max-width: 62ch; }
strong { font-weight: 700; color: var(--bark); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--umber);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--umber);
  display: inline-block;
}

/* ---- Layout ------------------------------------------------------------ */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(4.5rem, 3rem + 8vw, 9rem); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.section--sand-deep { background: var(--sand-deep); }
.section--bark { background: var(--bark); color: var(--sand); }
.section--bark h2, .section--bark h3 { color: var(--cream); }
.section--bark .eyebrow,
.section--bark .eyebrow::before { color: var(--sage-soft); background-color: var(--sage-soft); }
.section--bark .eyebrow { background: none; }

.lede {
  font-size: clamp(1.15rem, 1.05rem + 0.6vw, 1.45rem);
  line-height: 1.6;
  color: var(--cocoa);
  font-weight: 400;
}

/* Decorative double rule, echoes the logo's quiet refinement */
.rule {
  border: 0;
  height: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 3px;
  width: 100%;
}

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease),
              color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.btn svg { transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--bark);
  color: var(--sand);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { background: var(--umber); transform: translateY(-3px); }

.btn--ghost {
  border: 1.5px solid var(--bark);
  color: var(--bark);
}
.btn--ghost:hover { background: var(--bark); color: var(--sand); transform: translateY(-3px); }

.btn--light {
  background: var(--cream);
  color: var(--bark);
}
.btn--light:hover { background: var(--umber); color: var(--cream); transform: translateY(-3px); }

/* Header call-to-action — warm terracotta, clearly legible on the sand bar */
.btn--cta {
  background: var(--umber);
  color: var(--cream);
  box-shadow: 0 10px 22px -12px rgba(138, 90, 54, 0.7);
}
.btn--cta:hover { background: var(--bark); color: var(--sand); transform: translateY(-2px); }

/* ---- Header / Nav ------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 235, 217, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(1.05rem, 0.7rem + 0.9vw, 1.6rem);
}
.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand img {
  width: clamp(54px, 4vw + 38px, 76px);
  height: clamp(54px, 4vw + 38px, 76px);
  object-fit: contain;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.05rem + 0.6vw, 1.6rem);
  font-weight: 600;
  color: var(--bark);
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: clamp(0.62rem, 0.55rem + 0.2vw, 0.72rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--umber);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--cocoa);
  position: relative;
  padding-block: 0.3rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--umber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-links a[aria-current="page"] { color: var(--bark); }
.nav-links a.btn { padding: 0.7rem 1.5rem; }
/* Buttons must beat the `.nav-links a` colour rule (higher specificity) */
.nav-links a.btn--cta { color: var(--cream); }
.nav-links a.btn--cta:hover { color: var(--sand); }
.nav-links a.btn::after { display: none; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 101;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--bark);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 880px) {
  /* backdrop-filter makes the header a containing block for fixed children,
     which would clamp the menu/scrim to the header height — disable it here */
  .site-header {
    background: rgba(244, 235, 217, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-toggle { display: flex; }
  .nav-open .nav-toggle span { background: var(--cream); }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 100;
    height: 100dvh;
    width: min(86vw, 380px);
    background: var(--bark);
    background-image:
      radial-gradient(120% 90% at 100% 0%, rgba(124,139,104,0.20), transparent 55%);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 4.5rem var(--gutter) 3rem;
    transform: translateX(105%);
    transition: transform 0.55s var(--ease);
    box-shadow: -30px 0 80px -30px rgba(20, 13, 8, 0.8);
    overflow: hidden;
  }
  /* Faded logo watermark so the panel reads as a designed surface */
  .nav-links::before {
    content: "";
    position: absolute;
    right: -14%;
    bottom: -10%;
    width: 70%;
    aspect-ratio: 1;
    background: url("../img/logo-mark.png") center / contain no-repeat;
    opacity: 0.07;
    filter: brightness(0) invert(1);
    pointer-events: none;
  }
  .nav-open .nav-links { transform: translateX(0); }
  .nav-links a {
    position: relative;
    z-index: 1;
    font-size: 1.55rem;
    font-family: var(--font-display);
    color: var(--sand);
    padding: 1.05rem 0;
    border-bottom: 1px solid rgba(244, 235, 217, 0.12);
    transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] { color: var(--sage-soft); padding-left: 0.5rem; }
  .nav-links a[aria-current="page"]::before {
    content: "";
    position: absolute;
    left: -0.9rem;
    top: 50%;
    width: 4px;
    height: 1.4rem;
    background: var(--umber);
    border-radius: 4px;
    transform: translateY(-50%);
  }
  .nav-links .btn {
    z-index: 1;
    margin-top: 1.8rem;
    border: none;
    justify-content: center;
    font-size: 0.95rem;
  }
  .nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(20, 13, 8, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s var(--ease);
    z-index: 99;
  }
  .nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
}

/* ---- Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 2rem + 9vw, 8rem) clamp(4rem, 2rem + 9vw, 9rem);
  overflow: hidden;
}
/* Logo-echo: a large soft ring drifting behind the hero */
.hero::before {
  content: "";
  position: absolute;
  width: clamp(420px, 60vw, 820px);
  aspect-ratio: 1;
  right: -16%;
  top: -22%;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(124,139,104,0.16), transparent 62%);
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero h1 { margin-block: 1.4rem 1.6rem; }
.hero h1 .display-italic { display: block; }
.hero-lede { margin-bottom: 2.4rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* Soft sage halo so the transparent mark sits on atmosphere, not a box */
.hero-figure::before {
  content: "";
  position: absolute;
  inset: 4% 4% 14%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%,
              rgba(124, 139, 104, 0.22), rgba(124, 139, 104, 0) 65%);
  z-index: 0;
}
.hero-figure img {
  position: relative;
  z-index: 1;
  width: min(82%, 420px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(52, 37, 26, 0.16));
}
.hero-caption {
  position: relative;
  z-index: 1;
  margin-top: 1.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--umber);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-caption::before,
.hero-caption::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--umber);
  opacity: 0.5;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-figure { order: -1; max-width: 380px; }
}

/* ---- Generic page header (interior pages) ------------------------------ */
.page-head {
  position: relative;
  padding-block: clamp(3.5rem, 2.5rem + 6vw, 7rem) clamp(2.5rem, 2rem + 3vw, 4rem);
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  width: clamp(360px, 48vw, 680px);
  aspect-ratio: 1;
  left: -14%;
  bottom: -55%;
  border: 1px solid var(--line);
  border-radius: 50%;
  z-index: 0;
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 {
  font-size: clamp(2.4rem, 1.7rem + 3.2vw, 4.4rem);
  line-height: 1.12;
  margin: 0 0 clamp(1.6rem, 1rem + 1.8vw, 2.6rem);
  max-width: 16ch;
}
.page-head h1 .display-italic { padding-bottom: 0.06em; }
.page-head p { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); max-width: 58ch; }

/* ---- Section heading kit ---------------------------------------------- */
.sec-head { max-width: 760px; margin-bottom: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.sec-head h2 { margin-bottom: 1.2rem; }
.sec-head h2 + .lede { margin-top: 0; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.wide { max-width: 880px; }

/* Editorial flourish — a hand-of-the-logo leaf, used sparingly, not on
   every section, so headings don't all share one mechanical template */
.leaf {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--sage);
  margin-bottom: 1rem;
}
.leaf svg { width: 100%; height: 100%; display: block; }
.section--bark .leaf { color: var(--sage-soft); }

/* A larger statement-style opener used where a section deserves more voice */
.statement {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem);
  line-height: 1.18;
  color: var(--bark);
  max-width: 18ch;
}
.section--bark .statement { color: var(--cream); }
.statement .display-italic { color: var(--umber); }
.section--bark .statement .display-italic { color: var(--sage-soft); }

/* ---- Service cards ----------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 1.4rem;
}
.s-card {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 2.2rem 2rem 2.4rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease),
              border-color 0.5s var(--ease);
}
.s-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--umber), var(--sage));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.s-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.s-card:hover::after { transform: scaleX(1); }
.s-card .ic {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--sand-deep);
  color: var(--umber);
  margin-bottom: 1.5rem;
}
.s-card .ic svg { width: 26px; height: 26px; }
.s-card h3 { margin-bottom: 0.7rem; }
.s-card p { font-size: 0.97rem; color: var(--cocoa); }
.s-card .s-list { margin-top: 1rem; display: grid; gap: 0.5rem; }
.s-card .s-list li {
  font-size: 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--cocoa);
}
.s-card .s-list li::before {
  content: "";
  width: 7px; height: 7px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--sage);
  flex: none;
}

/* numbered service blocks (services page) */
.s-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.4rem, 1rem + 2vw, 3rem);
  padding-block: clamp(2.2rem, 1.5rem + 3vw, 3.6rem);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.s-block:last-child { border-bottom: 0; }
.s-block .s-mark {
  width: clamp(48px, 3vw + 36px, 64px);
  height: clamp(48px, 3vw + 36px, 64px);
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--umber);
  background: var(--cream);
  transition: background 0.5s var(--ease), color 0.5s var(--ease),
              transform 0.5s var(--ease);
}
.s-block .s-mark svg { width: 46%; height: 46%; }
.s-block:hover .s-mark { background: var(--umber); color: var(--cream); transform: rotate(-6deg); }
.s-block h3 { margin-bottom: 0.8rem; }
.s-block .s-list {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.6rem 2rem;
}
.s-block .s-list li {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.97rem;
}
.s-block .s-list li svg { width: 18px; height: 18px; color: var(--umber); flex: none; margin-top: 0.25rem; }

/* ---- USP / "What makes me different" ----------------------------------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(251, 245, 233, 0.16);
  border: 1px solid rgba(251, 245, 233, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}
.usp {
  background: var(--bark);
  padding: 2.4rem 2rem;
  transition: background 0.5s var(--ease);
}
.usp:hover { background: #3f2e20; }
.usp .usp-ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--sage-soft);
  margin-bottom: 1.3rem;
}
.usp .usp-ic svg { width: 100%; height: 100%; display: block; }
.usp h3 { color: var(--cream); font-size: 1.22rem; margin-bottom: 0.6rem; }
.usp p { color: rgba(244, 235, 217, 0.78); font-size: 0.96rem; }

/* ---- Split / image-text ------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.media-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.media-duo img { aspect-ratio: 3 / 4; border-radius: var(--radius); }
.media-duo img:first-child { margin-top: 2.2rem; }

.credential {
  position: absolute;
  left: -1.2rem;
  bottom: -1.4rem;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 260px;
}
.credential .seal {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--cream);
  display: grid;
  place-items: center;
  flex: none;
}
.credential .seal svg { width: 22px; height: 22px; }
.credential .c-title { font-weight: 700; color: var(--bark); font-size: 0.9rem; line-height: 1.3; }
.credential .c-sub { font-size: 0.78rem; color: var(--umber); }

/* Single feature portrait — used large, once, near the top of About */
.split-media .portrait {
  aspect-ratio: 5 / 6;
  width: 100%;
}

/* Image-free credential panel (replaces a duplicated photo) */
.mentor-card {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1.4rem;
}
.mentor-card::before {
  content: "";
  position: absolute;
  right: -22%;
  bottom: -28%;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.mentor-seal {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--cream);
  display: grid;
  place-items: center;
}
.mentor-seal svg { width: 30px; height: 30px; }
.mentor-quote {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 1rem + 1.3vw, 2rem);
  line-height: 1.3;
  color: var(--bark);
  max-width: 22ch;
}
.mentor-quote::before { content: "\201C"; color: var(--umber); }
.mentor-quote::after  { content: "\201D"; color: var(--umber); }
.mentor-meta { position: relative; z-index: 1; }
.mentor-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--bark);
}
.mentor-meta span { font-size: 0.88rem; color: var(--umber); font-weight: 600; }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: -1; }
}

/* ---- Quote / philosophy band ------------------------------------------ */
.quote-band { text-align: center; }
.quote-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.1rem + 2.6vw, 3rem);
  line-height: 1.28;
  color: var(--cream);
  font-style: italic;
  max-width: 20ch;
  margin-inline: auto;
}
.quote-band blockquote::before { content: "“"; color: var(--sage-soft); }
.quote-band blockquote::after  { content: "”"; color: var(--sage-soft); }
.quote-band cite {
  display: block;
  margin-top: 1.8rem;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage-soft);
}

/* ---- Testimonials (placeholder-ready) ---------------------------------- */
.t-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.t-card {
  background: var(--cream);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.t-card.is-placeholder { background: repeating-linear-gradient(135deg, var(--cream), var(--cream) 12px, #f6efdf 12px, #f6efdf 24px); }
.t-stars { display: flex; gap: 0.25rem; color: var(--umber); }
.t-stars svg { width: 18px; height: 18px; }
.t-card blockquote {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--cocoa);
  font-style: italic;
}
.t-card .t-meta { margin-top: auto; font-size: 0.85rem; }
.t-card .t-name { font-weight: 700; color: var(--bark); }
.t-card .t-where { color: var(--umber); }
.placeholder-flag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--umber);
  background: var(--sand-deep);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  align-self: flex-start;
}

/* ---- Contact ----------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.contact-detail {
  display: flex;
  gap: 1rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.contact-detail:first-of-type { border-top: 1px solid var(--line); }
.contact-detail .ic {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 12px;
  background: var(--sand-deep);
  color: var(--umber);
  display: grid;
  place-items: center;
}
.contact-detail .ic svg { width: 22px; height: 22px; }
.contact-detail .c-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--umber);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.contact-detail .c-value { font-size: 1.1rem; color: var(--bark); font-weight: 600; }
.is-tbc {
  font-style: italic;
  color: var(--umber-soft);
  font-weight: 500;
}
.is-tbc::after {
  content: "to confirm";
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 0.6rem;
  background: var(--sand-deep);
  color: var(--umber);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.form {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 1rem + 3vw, 2.8rem);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1.1rem;
}
.field { display: grid; gap: 0.45rem; }
.field.row2 { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cocoa);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.98rem;
  color: var(--bark);
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--umber);
  box-shadow: 0 0 0 4px rgba(138, 90, 54, 0.14);
}
.form .btn { justify-content: center; margin-top: 0.4rem; }
.form-note {
  font-size: 0.82rem;
  color: var(--umber);
  text-align: center;
}
.form-status {
  display: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--sage);
  text-align: center;
  padding: 0.6rem;
  border-radius: 10px;
  background: rgba(124, 139, 104, 0.12);
}
.form-status.show { display: block; }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .field.row2 { grid-template-columns: 1fr; }
}

/* ---- Mini CTA band ----------------------------------------------------- */
.cta-band {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 600px; aspect-ratio: 1;
  border: 1px solid rgba(251,245,233,0.12);
  border-radius: 50%;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: var(--cream); margin-bottom: 1.2rem; }
.cta-band p { margin-inline: auto; color: rgba(244,235,217,0.8); margin-bottom: 2.2rem; }
.cta-band .hero-cta { justify-content: center; }

/* ---- CTA band with a photographic background -------------------------- */
.cta-band--photo {
  overflow: hidden;
  min-height: clamp(380px, 52vh, 560px);
  display: flex;
  align-items: center;
}
.cta-band--photo .cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%; /* per-image override via inline style */
  z-index: 0;
}
.cta-band--photo::before { display: none; }
.cta-band--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg,
    rgba(30,21,13,0.93) 0%, rgba(30,21,13,0.80) 40%, rgba(30,21,13,0.28) 100%);
}
.cta-band--photo { text-align: left; }
/* width:100% stops the flex parent shrink-wrapping the wrap and
   centring it via margin-inline:auto (which hid the dog) */
.cta-band--photo .wrap { z-index: 1; width: 100%; }
.cta-band--photo h2,
.cta-band--photo p { margin-inline: 0; }
.cta-band--photo p { max-width: 44ch; }
.cta-band--photo .hero-cta { justify-content: flex-start; }

/* ---- Side photo helpers ----------------------------------------------- */
/* Landscape stock shots. The 4:3 ratio is locked on the CONTAINER and the
   image fills it absolutely, so grid sizing can never stretch it tall.
   Nudge framing per image with inline style="object-position:center 35%". */
.split-media.is-wide {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.split-media.is-wide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: center 45%;
}

@media (max-width: 640px) {
  .cta-band--photo { text-align: center; }
  .cta-band--photo::after {
    background: linear-gradient(180deg, rgba(30,21,13,0.62), rgba(30,21,13,0.86));
  }
  .cta-band--photo .hero-cta { justify-content: center; }
  .cta-band--photo p { margin-inline: auto; }
}

/* ---- Footer ------------------------------------------------------------ */
.site-footer {
  background: var(--bark);
  color: rgba(244, 235, 217, 0.7);
  padding-block: clamp(3rem, 2rem + 4vw, 5rem) 2.5rem;
  font-size: 0.92rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(244,235,217,0.14);
}
.footer-brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.2rem; }
.footer-brand img { width: 58px; height: 58px; object-fit: contain;
  filter: brightness(0) invert(1) sepia(0.3) saturate(2) hue-rotate(345deg) opacity(0.85); }
.footer-brand .brand-name { color: var(--cream); }
.site-footer p { color: rgba(244,235,217,0.66); max-width: 38ch; }
.footer-col h4 {
  color: var(--sage-soft);
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a { color: rgba(244,235,217,0.72); transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  padding-top: 2rem;
  font-size: 0.82rem;
  color: rgba(244,235,217,0.5);
}

/* Agency credit — pinned to the bottom-right of the footer */
.zonkey-powered-by-widget {
  margin-left: auto;
}
.zonkey-powered-by-widget p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(244,235,217,0.5);
}
.zonkey-powered-by-widget a {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  color: rgba(244,235,217,0.78);
  transition: color 0.3s var(--ease);
}
.zonkey-powered-by-widget a:hover { color: var(--cream); }
.zonkey-powered-by-widget svg { display: block; }

@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { justify-content: center; text-align: center; }
  .zonkey-powered-by-widget { margin-left: 0; flex-basis: 100%; text-align: center; }
}

/* ---- Reveal animation -------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: 0.08s; }
.js .reveal[data-d="2"] { transition-delay: 0.16s; }
.js .reveal[data-d="3"] { transition-delay: 0.24s; }
.js .reveal[data-d="4"] { transition-delay: 0.32s; }

/* Hero load-in (CSS only, runs once) */
.hero [data-load] {
  opacity: 0;
  animation: rise 1s var(--ease) forwards;
}
.hero [data-load="1"] { animation-delay: 0.1s; }
.hero [data-load="2"] { animation-delay: 0.24s; }
.hero [data-load="3"] { animation-delay: 0.38s; }
.hero [data-load="4"] { animation-delay: 0.52s; }
.hero [data-load="fig"] { animation: figIn 1.2s var(--ease) 0.3s forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes figIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: none; } }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--bark);
  color: var(--cream);
  padding: 0.8rem 1.2rem;
  border-radius: 0 0 10px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }
