/* ============================================================
   VCElevate - Variant A / After Hours
   Black studio, fixed rail, kinetic type. No frameworks.
   ============================================================ */

:root {
  --ink: #0b0b0c;
  --ink-2: #111113;
  --ink-3: #17171a;
  --bone: #f1ede4;
  --bone-dim: #c9c3b8;
  --muted: #8b877f;
  --line: rgba(241, 237, 228, 0.14);
  --line-strong: rgba(241, 237, 228, 0.28);
  --sand: #e4cda3;
  --rail: 280px;
  --pad: clamp(28px, 5vw, 84px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 350;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(241,237,228,.025) calc(25% - 1px) 25%);
  mask-image: linear-gradient(to bottom, black, transparent 65%);
}

::selection { background: var(--sand); color: var(--ink); }

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, p, ul, ol, blockquote, dl, dd { margin: 0; }

ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--bone);
  color: var(--ink);
  font: 500 12px/1 var(--mono);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ---------- rail ---------- */

.rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: var(--rail);
  padding: 34px 30px 26px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: var(--ink);
}

.rail-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1;
}
.rail-brand-vce {
  font-family: var(--serif);
  font-size: 30px;
  font-style: italic;
  font-weight: 400;
  color: var(--sand);
  letter-spacing: -0.02em;
}
.rail-brand-rest { font-family: var(--display); }

.rail-note {
  margin-top: 14px;
  font: 400 10px/1.7 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  margin-bottom: auto;
  padding: 32px 0;
}
.rail-nav a {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 11px 0;
  font: 400 15px/1 var(--sans);
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.35s var(--ease), transform 0.35s var(--ease);
}
.rail-nav a span {
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.35s var(--ease);
}
.rail-nav a:hover,
.rail-nav a.is-active {
  color: var(--bone);
  transform: translateX(6px);
}
.rail-nav a.is-active span,
.rail-nav a:hover span { color: var(--sand); }

.rail-foot {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font: 400 11px/1.5 var(--mono);
  color: var(--bone-dim);
}
.rail-foot a:hover { color: var(--sand); }

.rail-progress {
  position: relative;
  height: 1px;
  margin-top: 14px;
  background: var(--line);
  overflow: hidden;
}
.rail-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
@supports (animation-timeline: scroll()) {
  .rail-progress span {
    animation: rail-progress linear both;
    animation-timeline: scroll(root block);
  }
  @keyframes rail-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
}

/* ---------- mobile chrome ---------- */

.topbar { display: none; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 15;
  background: var(--ink);
  padding: 110px var(--pad) 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.menu[hidden] { display: none; }
.menu a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(28px, 8vw, 46px);
  font-weight: 450;
  letter-spacing: -0.03em;
  line-height: 1;
  animation: menu-in 0.5s var(--ease) both;
}
.menu a span {
  font: 400 10px/1 var(--mono);
  color: var(--muted);
}
.menu a:nth-child(2) { animation-delay: 0.04s; }
.menu a:nth-child(3) { animation-delay: 0.08s; }
.menu a:nth-child(4) { animation-delay: 0.12s; }
.menu a:nth-child(5) { animation-delay: 0.16s; }
.menu a:nth-child(6) { animation-delay: 0.2s; }
.menu a:nth-child(7) { animation-delay: 0.24s; }
.menu a:nth-child(8) { animation-delay: 0.28s; }
.menu .menu-call {
  margin-top: 28px;
  border: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
}
@keyframes menu-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- layout ---------- */

main {
  position: relative;
  z-index: 1;
  margin-left: var(--rail);
}

.section {
  padding: clamp(80px, 10vw, 148px) var(--pad);
  border-top: 1px solid var(--line);
  scroll-margin-top: 0;
}

.section-head {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: clamp(44px, 6vw, 86px);
}
.kicker {
  font: 400 10px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-head h2 {
  max-width: 20ch;
  font-family: var(--display);
  font-size: clamp(34px, 4.4vw, 62px);
  font-weight: 420;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}
h2 em, h1 em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--sand);
}

.lead {
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--bone);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.btn-solid:hover { background: var(--sand); border-color: var(--sand); }
.btn-line:hover { border-color: var(--bone); }

/* ---------- hero ---------- */

.hero {
  min-height: 100svh;
  padding: clamp(28px, 4.5vh, 64px) var(--pad) clamp(30px, 5vh, 56px);
  display: flex;
  flex-direction: column;
  position: relative;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font: 400 10px/1.5 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta .live { display: inline-flex; align-items: center; gap: 8px; color: var(--bone-dim); }
.hero-meta .live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sand);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(228,205,163,.4); }
  50% { opacity: .55; box-shadow: 0 0 0 5px rgba(228,205,163,0); }
}

.hero-title {
  margin: clamp(36px, 7vh, 86px) 0 0;
  font-family: var(--display);
  font-size: clamp(52px, 8.8vw, 132px);
  font-weight: 430;
  letter-spacing: -0.055em;
  line-height: 0.87;
  max-width: 12ch;
}
.hero-title em { padding-right: 0.03em; }

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(36px, 6vh, 72px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-lede {
  max-width: 46ch;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--bone-dim);
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: auto;
  padding-top: 30px;
}
.hero-stats > div {
  padding: 0 22px;
  border-left: 1px solid var(--line);
}
.hero-stats > div:first-child { padding-left: 0; border-left: 0; }
.hero-stats dt {
  font: 400 9px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-stats dd {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 430;
  letter-spacing: -0.03em;
}

/* ---------- ticker ---------- */

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  background: var(--ink-2);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 70s linear infinite;
}
.ticker-track span {
  display: inline-flex;
  align-items: center;
  font: 400 10px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.ticker-track span::after {
  content: "✳";
  margin: 0 34px;
  color: #4a473f;
}
@keyframes ticker {
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---------- ethos ---------- */

.ethos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.ethos-copy p + p { margin-top: 18px; }
.ethos-copy p:not(.lead) { max-width: 52ch; color: var(--muted); }

.principles { border-top: 1px solid var(--line); }
.principles li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.principles li > span {
  font: 400 10px/1.8 var(--mono);
  color: var(--sand);
}
.principles h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 480;
  letter-spacing: -0.025em;
}
.principles p { margin-top: 6px; font-size: 14px; color: var(--muted); max-width: 44ch; }

.session {
  margin-top: clamp(56px, 8vw, 110px);
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.session-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
  border: 1px solid var(--line);
  counter-reset: step;
}
.session-steps li {
  background: var(--ink);
  padding: 26px 22px 30px;
  counter-increment: step;
  transition: background 0.4s var(--ease);
}
.session-steps li:hover { background: var(--ink-3); }
.session-steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 28px;
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.1em;
  color: var(--sand);
}
.session-steps span {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 480;
  letter-spacing: -0.02em;
}
.session-steps p { margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--muted); }

.pullquote {
  margin-top: clamp(56px, 8vw, 100px);
  padding: 6px 0 0 clamp(0px, 8vw, 120px);
  border-left: 0;
}
.pullquote p {
  max-width: 24ch;
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 380;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--bone-dim);
}
.pullquote-body {
  display: flex;
  flex-direction: column;
  width: fit-content;
  max-width: 100%;
}
.pullquote-by {
  align-self: flex-end;
  margin-top: 18px;
  transform: translateX(50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--sand);
  white-space: nowrap;
}

/* ---------- offer hint ---------- */

.offer-hint {
  display: grid;
  grid-template-columns: minmax(160px, 0.65fr) minmax(0, 1.8fr) auto;
  gap: clamp(18px, 3vw, 48px);
  align-items: center;
  padding: clamp(24px, 3vw, 40px) var(--pad);
  border-top: 1px solid var(--line-strong);
  background: var(--ink-2);
}
.offer-hint .kicker { color: var(--sand); }
.offer-hint-copy {
  max-width: 62ch;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.45;
  color: var(--bone-dim);
}
.offer-hint-copy strong { font-weight: 500; color: var(--bone); }
.offer-hint-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border-bottom: 1px solid var(--line-strong);
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  white-space: nowrap;
  align-self: center;
}

/* ---------- subjects ---------- */

.subject-list { border-top: 1px solid var(--line-strong); }
.subject-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1.5fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 19px 10px;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), padding 0.35s var(--ease);
}
.subject-list li:hover {
  background: var(--bone);
  color: var(--ink);
  padding-left: 26px;
  padding-right: 26px;
}
.s-index { font: 400 9px/1 var(--mono); color: var(--muted); letter-spacing: 0.1em; }
.subject-list li:hover .s-index { color: #77736a; }
.s-name {
  font-family: var(--display);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 450;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.s-tutors { font-size: 13px; color: var(--muted); }
.subject-list li:hover .s-tutors { color: #5c584e; }
.s-tag {
  justify-self: end;
  padding: 4px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font: 400 8px/1.4 var(--mono);
  letter-spacing: 0.12em;
}
.subject-list li:hover .s-tag { border-color: rgba(11,11,12,.35); }
.subject-foot {
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted);
}
.subject-foot a { color: var(--bone); border-bottom: 1px solid var(--line-strong); }
.subject-foot a:hover { color: var(--sand); border-color: var(--sand); }

/* ---------- tutors ---------- */

.tutors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2vw, 30px);
}
.tutor { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); padding-top: 14px; }
.tutor-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-3);
}
.tutor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04) brightness(0.95);
  transform: scale(1.001);
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
}
.tutor:hover .tutor-photo img { transform: scale(1.035); filter: grayscale(0.15) contrast(1.02); }
.tutor-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  min-height: 46px;
}
.tutor-top h3 {
  font-family: var(--display);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 470;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.atar { font: 400 11px/1 var(--mono); color: var(--sand); white-space: nowrap; }
.atar span { color: var(--muted); }
.tutor-study {
  margin-top: 8px;
  font: 400 9px/1.5 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.tutor-note { margin-top: 14px; margin-bottom: 16px; font-size: 13px; line-height: 1.55; color: var(--bone-dim); }
.tutor-facts { margin-top: auto; }
.tutor-facts p {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.55;
  color: var(--bone-dim);
}
.tutor-facts-label {
  display: block;
  margin-bottom: 6px;
  font: 400 9px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- rates ---------- */

.rates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-strong);
}
.rate {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 38px);
  border-left: 1px solid var(--line);
  position: relative;
}
.rate:first-child { border-left: 0; }
.rate-best { background: var(--ink-2); }
.rate-best::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 2px;
  background: var(--sand);
}
.rate-flag {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 5px 9px;
  background: var(--sand);
  color: var(--ink);
  font: 500 8px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rate-top h3 {
  font: 400 10px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.rate-price {
  margin-top: 14px;
  font-family: var(--display);
  font-size: clamp(46px, 4.4vw, 64px);
  font-weight: 430;
  letter-spacing: -0.05em;
  line-height: 0.9;
}
.rate-price span {
  display: block;
  margin-top: 12px;
  font: 400 9px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.rate-copy { margin-top: 20px; font-size: 14px; color: var(--bone-dim); min-height: 66px; }
.rate ul { margin-top: 22px; border-top: 1px solid var(--line); flex: 1; }
.rate li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.rate .btn { margin-top: 26px; width: 100%; }

.merrier {
  margin-top: clamp(56px, 8vw, 100px);
  padding-top: 34px;
  border-top: 1px solid var(--line-strong);
}
.merrier-line {
  margin-top: 20px;
  font-family: var(--display);
  font-size: clamp(38px, 6.4vw, 88px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}
.merrier-copy { margin-top: 26px; max-width: 62ch; font-size: 15px; color: var(--muted); }

.fineprint {
  margin-top: 26px;
  max-width: 68ch;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.fineprint a { color: var(--bone-dim); border-bottom: 1px solid var(--line); }
.fineprint a:hover { color: var(--sand); }

/* ---------- offers ---------- */

.offers-lede {
  max-width: 56ch;
  margin-top: -24px;
  margin-bottom: 40px;
  font-size: 16px;
  color: var(--bone-dim);
}
.offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}
.offers-single { grid-template-columns: 1fr; }
.offers-single .offer {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.6fr);
  grid-template-areas: "tag body" "price body";
  column-gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.offers-single .offer-tag { grid-area: tag; justify-self: start; }
.offers-single .offer-price { grid-area: price; }
.offers-single .offer-body { grid-area: body; align-self: center; min-width: 0; }
.offers-single .offer h3 { margin-top: 0; }
.offers-single .offer p:last-child { max-width: 52ch; }
.offer { background: var(--ink); padding: clamp(26px, 3.2vw, 46px); }
.offer-tag {
  display: inline-block;
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  font: 500 8px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
}
.offer-price {
  margin-top: 28px;
  font-family: var(--display);
  font-size: clamp(50px, 5.4vw, 78px);
  font-weight: 420;
  letter-spacing: -0.055em;
  line-height: 0.9;
}
.offer-price span {
  display: block;
  margin-top: 12px;
  font: 400 9px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.offer h3 {
  margin-top: 24px;
  font-family: var(--display);
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 460;
  letter-spacing: -0.025em;
}
.offer p:last-child { margin-top: 12px; max-width: 46ch; font-size: 14px; color: var(--muted); }

/* ---------- faq ---------- */

.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font-family: var(--display);
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 430;
  letter-spacing: -0.025em;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font: 300 22px/1 var(--sans);
  color: var(--sand);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--sand); }
.faq details > p {
  max-width: 76ch;
  padding: 0 60px 26px 4px;
  font-size: 15px;
  color: var(--muted);
}
.faq details a { color: var(--bone); border-bottom: 1px solid var(--line-strong); }

/* ---------- contact ---------- */

.contact { padding-bottom: clamp(60px, 8vw, 110px); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.contact-copy .lead { max-width: 34ch; }
.contact-note { margin-top: 18px; max-width: 42ch; font-size: 15px; line-height: 1.55; color: var(--muted); }
.contact-meta { margin-top: 30px; font: 400 10px/1.8 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.channels { border-top: 1px solid var(--line-strong); }
.channels li { border-bottom: 1px solid var(--line); }
.channels a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 20px;
  padding: 18px 4px;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}
.channels a:hover { background: var(--bone); color: var(--ink); padding-left: 18px; padding-right: 18px; }
.ch-label {
  grid-column: 1;
  font: 400 9px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.channels a:hover .ch-label { color: #6c675d; }
.ch-value {
  grid-column: 1;
  font-family: var(--display);
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 440;
  letter-spacing: -0.025em;
}
.ch-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 20px;
  color: var(--sand);
  transition: transform 0.35s var(--ease);
}
.channels a:hover .ch-arrow { transform: translate(3px, -3px); color: var(--ink); }
.channels .ch-primary a {
  padding-left: 18px;
  padding-right: 18px;
  background: var(--sand);
  color: var(--ink);
}
.channels .ch-primary .ch-label { color: #6c675d; }
.channels .ch-primary .ch-value { font-weight: 500; }
.channels .ch-primary .ch-arrow { color: var(--ink); }

/* ---------- footer ---------- */

.footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 34px var(--pad) 40px;
  border-top: 1px solid var(--line);
}
.footer-brand {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.footer-brand span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--sand);
  font-size: 23px;
}
.footer-line { margin-top: 4px; font-size: 12px; color: var(--muted); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font: 400 10px/1.5 var(--mono);
  letter-spacing: 0.04em;
  color: var(--muted);
}
.footer-legal a:hover { color: var(--sand); }

/* ---------- reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal][data-delay="1"] { transition-delay: 90ms; }
[data-reveal][data-delay="2"] { transition-delay: 180ms; }
[data-reveal][data-delay="3"] { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

/* ---------- responsive ---------- */

@media (min-width: 1241px) {
  .tutor-study { min-height: 27px; }
  .tutor-note { min-height: 81px; }
}

@media (max-width: 1240px) {
  :root { --rail: 248px; }
  .rail { padding-inline: 24px; }
  .tutors { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .tutor-note { min-height: 0; }
}

@media (max-width: 1099px) {
  :root { --rail: 0px; }
  .rail { display: none; }
  main { margin-left: 0; }
  .topbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 var(--pad);
    background: rgba(11, 11, 12, 0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .topbar-brand {
    font-family: var(--display);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.045em;
  }
  .topbar-brand span {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    color: var(--sand);
    font-size: 24px;
  }
  .menu-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 8px 0;
    background: none;
    border: 0;
    color: var(--bone);
    cursor: pointer;
  }
  .menu-btn-label {
    font: 500 10px/1 var(--mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .menu-btn-lines { display: grid; gap: 5px; width: 22px; }
  .menu-btn-lines i { display: block; height: 1px; background: currentColor; transition: transform 0.3s var(--ease); }
  .menu-btn[aria-expanded="true"] .menu-btn-lines i:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn-lines i:last-child { transform: translateY(-3px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }
  .hero { min-height: 100svh; padding-top: 96px; }
  .hero::after { display: none; }
  html { scroll-padding-top: 78px; }
  .contact { padding-bottom: 90px; }
}

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head h2 { max-width: 24ch; }
  .hero { min-height: auto; }
  .hero-title { margin-top: 42px; font-size: clamp(50px, 11.5vw, 94px); }
  .hero-foot { flex-direction: column; align-items: stretch; gap: 24px; margin-top: 38px; }
  .hero-actions { justify-content: flex-start; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 26px 0; margin-top: 46px; }
  .hero-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .ethos-grid { grid-template-columns: 1fr; }
  .offer-hint { grid-template-columns: 1fr; gap: 12px; }
  .offer-hint-link { justify-self: start; }
  .session-steps { grid-template-columns: 1fr 1fr; }
  .subject-list li { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .s-tutors { grid-column: 2; grid-row: 2; }
  .s-tag { grid-column: 3; grid-row: 1; align-self: start; }
  .rates { grid-template-columns: 1fr; }
  .rate { border-left: 0; border-top: 1px solid var(--line); }
  .rate:first-child { border-top: 0; }
  .rate-copy { min-height: 0; }
  .offers { grid-template-columns: 1fr; }
  .offers-single .offer { display: block; }
  .offers-single .offer h3 { margin-top: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}

@media (max-width: 600px) {
  .hero-meta { font-size: 9px; letter-spacing: 0.06em; }
  .hero-meta > span:first-child { display: none; }
  .hero-title { font-size: clamp(44px, 15vw, 76px); line-height: 0.9; }
  .hero-stats dt { font-size: 8px; }
  .hero-stats > div { padding-right: 12px; }
  .hero-actions .btn { flex: 1 1 46%; padding-inline: 14px; }
  .tutors { grid-template-columns: 1fr; }
  .subject-list li { gap: 10px; padding: 15px 6px; }
  .subject-list li:hover { padding-left: 12px; padding-right: 12px; }
  .s-name { font-size: 17px; }
  .session-steps { grid-template-columns: 1fr; }
  .session-steps li::before { margin-bottom: 16px; }
  .faq details > p { padding-right: 20px; }
  .channels a { padding-block: 16px; }
  .offer-price { font-size: 54px; }
}

/* ---------- mobile: colour profiles, no hover states ---------- */

@media (max-width: 900px) {
  .pullquote-by { transform: none; }
  .tutor-photo img { filter: none; transition: none; }
  .tutor:hover .tutor-photo img { transform: none; filter: none; }
  .btn:hover { transform: none; }
  .btn-solid:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }
  .btn-line:hover { border-color: var(--line-strong); }
  .session-steps li:hover { background: var(--ink); }
  .subject-list li:hover { background: transparent; color: inherit; padding-left: 10px; }
  .subject-list li:hover .s-index { color: var(--muted); }
  .subject-list li:hover .s-tutors { color: var(--muted); }
  .subject-list li:hover .s-tag { border-color: var(--line-strong); }
  .subject-foot a:hover { color: var(--bone); border-color: var(--line-strong); }
  .faq summary:hover { color: var(--bone); }
  .fineprint a:hover { color: var(--bone-dim); }
  .channels a:hover { background: transparent; color: inherit; padding-left: 4px; padding-right: 4px; }
  .channels a:hover .ch-label { color: var(--muted); }
  .channels a:hover .ch-arrow { transform: none; color: var(--sand); }
  .channels .ch-primary a:hover { background: var(--sand); color: var(--ink); padding-left: 18px; padding-right: 18px; }
  .channels .ch-primary a:hover .ch-label { color: #6c675d; }
  .channels .ch-primary a:hover .ch-arrow { color: var(--ink); }
  .footer-legal a:hover { color: inherit; }
}

@media (max-width: 600px) {
  .subject-list li:hover { padding-left: 6px; }
}
