/* Schooltrack — one page
   Colours (only these, by hex):
   Warm Cream   #F7F3EC  page ground
   Charcoal Ink #1C1C1E  body text, and the dark contact panel
   Deep Teal    #0F6B6B  accent only: buttons, one headline word, a thin rule, icons
   Slate Blue   #3A4A6B  small labels and quiet lines
   White        #FFFFFF  soft card surface
*/

:root {
  --cream: #F7F3EC;
  --ink: #1C1C1E;
  --teal: #0F6B6B;
  --slate: #3A4A6B;
  --white: #FFFFFF;
  --line: rgba(28, 28, 30, 0.14);
  --slate-soft: rgba(58, 74, 107, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 20px;
}

/* Generous, calm space between sections */
section {
  padding-block: 56px;
}
@media (min-width: 720px) {
  section {
    padding-block: 96px;
  }
}

/* ---------- small label ---------- */
.label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
  margin: 0 0 14px;
}

/* ---------- buttons (Deep Teal #0F6B6B accent) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--teal);
  color: var(--cream);
  border: 1px solid var(--teal);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.05s ease;
}
.btn:hover {
  opacity: 0.92;
}
.btn:active {
  transform: translateY(1px);
}
.btn:focus-visible {
  outline: 3px solid rgba(15, 107, 107, 0.35);
  outline-offset: 2px;
}
.btn-sm {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.92rem;
}

/* ---------- header ---------- */
.site-header {
  padding-block: 18px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo img {
  height: 40px;
  width: auto;
}

/* ---------- top of the page ---------- */
.hero {
  padding-block: 0;
}
/* full-bleed photo fills the top of the page, at least 60% of the first screen on a laptop */
.hero-media {
  width: 100%;
  height: min(62vh, 680px);
  min-height: 420px;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* the headline sits on a cream card in front of the photo */
.hero-panel {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin-top: -110px;
  background: var(--cream);
  border-radius: 18px;
  padding: 36px 34px;
  box-shadow: 0 12px 40px rgba(28, 28, 30, 0.12);
}
@media (max-width: 719px) {
  .hero-media {
    height: 54vh;
    min-height: 340px;
  }
  .hero-panel {
    margin-top: -56px;
    padding: 26px 22px;
  }
}
h1 {
  font-size: clamp(2.4rem, 7vw, 4rem);
}
h1 em {
  font-style: normal;
  color: var(--teal);
}
.lead {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 34ch;
  margin: 18px 0 26px;
}


/* ---------- narrow words section ---------- */
.narrow {
  max-width: 780px;
}
h2 {
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
  max-width: 26ch;
}
blockquote {
  margin: 26px 0 0;
  padding-left: 22px;
  border-left: 3px solid var(--teal); /* thin rule, accent */
}
blockquote p {
  font-size: clamp(1.1rem, 2.6vw, 1.32rem);
  line-height: 1.6;
  max-width: 62ch;
}

/* ---------- full width picture band ---------- */
.band {
  padding-block: 0;
}
.band img {
  width: 100%;
}

/* ---------- services ---------- */
.cards {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
@media (min-width: 760px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px;
}
.icon {
  width: 28px;
  height: 28px;
  color: var(--teal);
  margin-bottom: 18px;
}
.card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.card p {
  color: var(--slate);
}
.price {
  margin-top: 28px;
  font-size: 1.05rem;
}
.price strong {
  color: var(--ink);
}

/* ---------- how it works ---------- */
.step-list {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
}
@media (min-width: 820px) {
  .step-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}
.step-list li {
  border-top: 2px solid var(--slate-soft);
  padding-top: 18px;
}
.step-num {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  color: var(--slate);
  margin-bottom: 8px;
}
.step-text {
  font-size: 1.15rem;
}
.steps-note {
  margin-top: 30px;
  color: var(--slate);
}

/* ---------- who I am ---------- */
.about-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr 2fr;
    gap: 46px;
    align-items: start;
  }
}
.about-media {
  margin: 0;
}
.about-media img {
  border-radius: 16px;
}
.name-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 18px;
}
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.about-copy p {
  max-width: 62ch;
}

/* ---------- contact (dark panel, Charcoal Ink #1C1C1E) ---------- */
.contact {
  background: var(--ink);
  color: var(--cream);
  padding-block: 56px 30px;
}
@media (min-width: 720px) {
  .contact {
    padding-block: 96px 36px;
  }
}
.logo-dark {
  height: 44px;
  width: auto;
  margin-bottom: 26px;
}
.contact h2 {
  color: var(--cream);
}
.contact-lead {
  color: rgba(247, 243, 236, 0.78);
  max-width: 48ch;
  margin: 14px 0 24px;
}
.btn-onDark {
  background: var(--teal);
  color: var(--cream);
  border-color: var(--teal);
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247, 243, 236, 0.42);
}
.btn-ghost:hover {
  border-color: var(--cream);
  opacity: 1;
}
.footer-line {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 243, 236, 0.18);
  color: rgba(247, 243, 236, 0.7);
  font-size: 0.9rem;
}

/* ---------- calm reveal (added by script.js only) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
