:root {
  --navy: #0b2e57;
  --navy-2: #143d68;
  --sage: #8fa991;
  --sage-dark: #6e8d73;
  --sage-pale: #edf2ed;
  --ink: #26313b;
  --muted: #66717b;
  --line: #dfe5e2;
  --paper: #ffffff;
  --warm: #fbfcfb;
  --shadow: 0 16px 50px rgba(15, 45, 76, 0.10);
  --radius: 18px;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(110, 141, 115, .45);
  outline-offset: 3px;
}

.shell { width: min(var(--shell), calc(100% - 48px)); margin: 0 auto; }
.section { padding: 88px 0; }

h1, h2, h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}
h1 { font-size: clamp(3.1rem, 5.7vw, 5.75rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.2vw, 3.4rem); letter-spacing: -0.025em; }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1rem; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--sage-dark);
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  background: var(--navy);
  color: white;
  font-weight: 650;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(11, 46, 87, 0.18); background: var(--navy-2); }
.button-outline { background: transparent; color: var(--navy); border-color: var(--sage); }
.button-outline:hover { background: var(--sage-pale); box-shadow: none; }
.button-small { min-height: 42px; padding: 0 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(223,229,226,.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner { position: relative; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex: 0 1 auto; min-width: 0; }
.brand img { width: 300px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 28px; font-size: .95rem; }
.primary-nav > a:not(.button) { color: #34414d; }
.primary-nav > a:not(.button):hover { color: var(--navy); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 78px;
  background: linear-gradient(180deg, #fff 0%, #fdfefd 100%);
}
.hero-grid { position: relative; min-height: 510px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 32px; }
.hero-copy { position: relative; z-index: 2; max-width: 720px; }
.hero-copy .lead { max-width: 660px; margin: 26px 0 34px; color: #4f5a65; font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-mark { display: grid; place-items: center; height: 100%; }
.hero-mark img { width: min(520px, 100%); opacity: .17; filter: saturate(.9); transform: scale(1.07); }

.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; }
.about-copy p:not(.eyebrow) { max-width: 610px; color: #4f5a65; font-size: 1.02rem; }
.about-copy h2 { margin-bottom: 24px; }
.tick-list { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; padding: 18px 0 0; margin: 0; }
.tick-list li { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 650; color: #42505b; }
.tick-list li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border: 1px solid var(--sage); border-radius: 50%; color: var(--sage-dark); }
.portrait-card { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: #eaece9; aspect-ratio: 16 / 10; }
.portrait-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }

.soft-section { background: var(--warm); border-block: 1px solid #eef1ef; }
.section-heading { max-width: 700px; margin-bottom: 38px; }
.section-heading h2 { max-width: 760px; }
.section-heading.centred { text-align: center; margin-inline: auto; }
.tutoring-heading { max-width: 860px; }
.section-intro { max-width: 760px; margin: 20px 0 0; color: #56626d; font-size: 1.04rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { padding: 34px; border: 1px solid var(--line); border-radius: 14px; background: white; min-height: 310px; }
.service-card h3 { margin: 22px 0 14px; }
.service-card p { color: var(--muted); margin: 0; }
.service-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sage); color: white; font-size: .8rem; font-weight: 800; letter-spacing: .08em; }

.approach-section { background: white; }
.approach-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1040px; margin: 0 auto; }
.approach-block { padding: 34px 36px; border: 1px solid var(--line); border-radius: 14px; background: var(--warm); }
.approach-block h3 { margin-bottom: 17px; font-size: 1.45rem; }
.approach-block p { color: var(--muted); }
.approach-block p:last-child { margin-bottom: 0; }

.how-section { padding-top: 78px; padding-bottom: 78px; background: var(--warm); border-top: 1px solid #eef1ef; }
.steps { list-style: none; padding: 0; margin: 46px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: start; position: relative; }
.steps li:not(:last-child)::after { content: "→"; position: absolute; right: -27px; top: 10px; color: var(--sage); font-size: 1.5rem; }
.steps span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sage); color: white; font-family: Georgia, serif; font-size: 1.4rem; }
.steps h3 { font-size: 1.35rem; margin-bottom: 7px; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

.booking-section { background: linear-gradient(180deg, #fff 0%, #f7faf7 100%); }
.booking-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; align-items: stretch; padding: 46px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.booking-copy h2 { margin-bottom: 18px; }
.booking-copy > p:not(.eyebrow) { color: var(--muted); }
.booking-points { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.booking-points li { position: relative; padding-left: 28px; }
.booking-points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--sage-dark); font-weight: 800; }
.tidycal-card { min-width: 0; overflow: hidden; border: 1px solid #dfe5e2; border-radius: 14px; background: #fbfcfb; padding: 26px; display: flex; flex-direction: column; min-height: 360px; }
.tidycal-topline { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.status-dot { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--sage); }
.tidycal-embed { width: 100%; min-width: 0; overflow: hidden; margin-top: 18px; }
.tidycal-embed iframe { display: block; width: 100% !important; max-width: 100% !important; border: 0; }
.tidycal-placeholder { display: grid; place-items: center; text-align: center; flex: 1; margin: 24px 0; padding: 34px; border: 1px dashed #b9c8bc; border-radius: 10px; color: var(--muted); background: white; }
.tidycal-placeholder p { max-width: 430px; }
.tidycal-placeholder strong { color: var(--navy); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; }
.tidycal-button { align-self: flex-start; opacity: .72; }

.contact-strip { padding: 54px 0; background: var(--sage-pale); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact-copy { max-width: 620px; }
.contact-inner h2 { font-size: 2.4rem; }
.contact-inner .eyebrow { margin-bottom: 6px; }
.contact-copy > p:not(.eyebrow) { margin: 12px 0 0; color: #4f5a65; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }

.site-footer { border-top: 1px solid var(--line); background: white; }
.footer-main { min-height: 150px; display: grid; grid-template-columns: 320px 1fr auto; align-items: center; gap: 44px; }
.footer-logo { width: 280px; }
.footer-meta { display: grid; gap: 5px; color: #5a6570; font-size: .92rem; }
.footer-meta a:hover, .footer-nav a:hover { color: var(--navy); }
.footer-nav { display: flex; gap: 24px; font-size: .92rem; }
.footer-bottom { background: var(--navy); color: rgba(255,255,255,.86); font-size: .82rem; }
.footer-bottom-inner { min-height: 58px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.legal-links { display: flex; gap: 22px; }

@media (max-width: 900px) {
  html { scroll-padding-top: 80px; }
  .shell { width: min(100% - 34px, var(--shell)); }
  .header-inner { min-height: 74px; gap: 18px; }
  .brand img { width: 250px; }
  .menu-toggle {
    display: inline-flex;
    min-width: 54px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    background: white;
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--navy);
    cursor: pointer;
  }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    box-shadow: var(--shadow);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { display: flex; min-height: 46px; align-items: center; padding: 10px 12px; border-radius: 7px; }
  .primary-nav a:not(.button):hover { background: var(--sage-pale); }
  .primary-nav .button { margin-top: 8px; justify-content: center; }

  .hero { padding: 64px 0 68px; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-mark {
    position: absolute;
    z-index: 0;
    right: -42px;
    top: -44px;
    width: 300px;
    height: 250px;
    pointer-events: none;
  }
  .hero-mark img { width: 290px; opacity: .11; transform: none; }

  .about-grid, .booking-wrap { grid-template-columns: 1fr; }
  .about-grid { gap: 38px; }
  .portrait-card { aspect-ratio: 16 / 11; }
  .card-grid, .steps, .approach-grid { grid-template-columns: 1fr; }
  .card-grid { gap: 16px; }
  .service-card { min-height: 0; }
  .approach-grid { max-width: 760px; }
  .steps { gap: 24px; }
  .steps li:not(:last-child)::after { display: none; }
  .booking-wrap { padding: 30px; gap: 34px; }
  .tidycal-card { min-height: 0; }
  .contact-inner { align-items: flex-start; }
  .footer-main { grid-template-columns: 1fr; gap: 20px; padding: 34px 0; }
  .footer-nav { flex-wrap: wrap; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 72px; }
  .section { padding: 62px 0; }
  .shell { width: min(100% - 28px, var(--shell)); }
  .header-inner { min-height: 68px; gap: 12px; }
  .brand img { width: min(205px, 61vw); }
  .menu-toggle { min-width: 52px; min-height: 44px; padding-inline: 10px; font-size: .9rem; }
  .primary-nav { top: calc(100% + 1px); padding: 10px; }

  h1 { font-size: clamp(2.5rem, 11.5vw, 3.55rem); line-height: 1.02; }
  h2 { font-size: clamp(2rem, 9vw, 2.4rem); line-height: 1.08; }
  h3 { line-height: 1.15; }
  .eyebrow { font-size: .72rem; letter-spacing: .14em; }

  .hero { padding: 42px 0 54px; }
  .hero-copy .lead { font-size: 1.04rem; margin: 20px 0 28px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-mark { right: -62px; top: -34px; width: 220px; height: 190px; }
  .hero-mark img { width: 210px; opacity: .095; }

  .about-grid { gap: 30px; }
  .about-copy p:not(.eyebrow) { font-size: 1rem; }
  .tick-list { display: grid; gap: 12px; padding-top: 10px; }
  .portrait-card { aspect-ratio: 4 / 3; border-radius: 14px; }
  .portrait-card img { object-position: 50% 40%; }

  .section-heading { margin-bottom: 28px; }
  .section-intro { margin-top: 16px; font-size: 1rem; }
  .card-grid { gap: 14px; }
  .service-card { min-height: auto; padding: 25px; }
  .service-card h3 { margin-top: 18px; }
  .service-icon { width: 50px; height: 50px; }

  .approach-grid { gap: 14px; }
  .approach-block { padding: 25px; }
  .approach-block h3 { font-size: 1.35rem; }

  .how-section { padding-top: 62px; padding-bottom: 62px; }
  .steps { margin-top: 32px; gap: 22px; }
  .steps li { grid-template-columns: 44px 1fr; gap: 14px; }
  .steps span { width: 42px; height: 42px; font-size: 1.25rem; }

  .booking-section { padding-inline: 0; }
  .booking-wrap { padding: 20px; border-radius: 14px; gap: 28px; box-shadow: 0 10px 32px rgba(15, 45, 76, 0.08); }
  .booking-points { margin-top: 22px; }
  .tidycal-card { padding: 12px; border-radius: 11px; }
  .tidycal-topline { padding: 4px 4px 0; font-size: .95rem; }
  .tidycal-embed { margin-top: 12px; }
  .tidycal-placeholder { padding: 22px 16px; }

  .contact-strip { padding: 46px 0; }
  .contact-inner, .footer-bottom-inner { align-items: flex-start; flex-direction: column; }
  .contact-inner { gap: 24px; }
  .contact-inner h2 { font-size: 2.15rem; }
  .contact-copy > p:not(.eyebrow) { font-size: .98rem; }
  .contact-actions { width: 100%; flex-direction: column; }
  .contact-actions .button { width: 100%; min-height: 52px; padding-inline: 14px; overflow-wrap: anywhere; }

  .footer-main { padding: 30px 0; }
  .footer-logo { width: min(250px, 75vw); }
  .footer-meta { font-size: .9rem; }
  .footer-nav { gap: 18px; }
  .footer-bottom-inner { padding: 18px 0; }
  .legal-links { flex-wrap: wrap; gap: 12px 18px; }
}

@media (max-width: 380px) {
  .shell { width: calc(100% - 20px); }
  .brand img { width: 178px; }
  .menu-toggle { min-width: 48px; padding-inline: 8px; font-size: .84rem; }
  h1 { font-size: 2.35rem; }
  h2 { font-size: 1.95rem; }
  .approach-block { padding: 21px; }
  .booking-wrap { padding: 16px; }
  .tidycal-card { padding: 8px; }
}

@media (hover: none) {
  .button:hover { transform: none; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
