/* ═══════════════════════════════════════════════════════════════════
   EDUNERD CAREER COACHING — Neumorphic (Soft UI) Design System
   Shiksha Nerd palette: warm cream, deep blue, antique gold
   ───────────────────────────────────────────────────────────────────
   Everything is molded from ONE surface (#EAE4DA). Nothing is placed
   on top of it: elements are either extruded from it or pressed into
   it. All visual hierarchy comes from shadow play — never from a
   second background colour, and never from a border.

   Light source is fixed top-left, so every shadow pair reads:
     positive offset -> dark  (bottom-right)
     negative offset -> light (top-left)

   The surface is Shiksha Nerd's cream rather than the reference cool
   grey, so the dark shadow had to be re-derived: #EAE4DA sits at
   luminance 0.780 (the reference #E0E5EC is 0.779, so the physics are
   unchanged) and rgb(192,174,144) sits at exactly the same luminance
   RATIO below it as rgb(163,177,198) does below the reference. Reusing
   the cool blue-grey shadow on a warm base would have read as dirt.
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  /* ── Surface ─────────────────────────────────────────────── */
  --bg: #EAE4DA;              /* Shiksha Nerd cream, dropped to neumorphic depth */
  --fg: #111014;              /* SN ink      — 14.9:1 on --bg (AAA) */
  --muted: #55515C;           /* SN ink3     —  6.1:1 on --bg (AA)  */
  --placeholder: #8A8690;     /* SN ink4 — placeholder ONLY, 2.9:1, never body copy */

  /* ── Accent ──────────────────────────────────────────────── */
  --accent: #1B4D8E;          /* SN blue       — 6.6:1 (AA) */
  --accent-light: #2A6AC0;    /* SN blue-light — gradients and hovers */
  --accent-2: #C9A84C;        /* SN gold — 1.8:1, DECORATION ONLY, never text */
  --gold-text: #6F5816;       /* antique gold  — 5.4:1 (AA), for gold-toned text */
  --ok: #1A6B3D;              /* 5.2:1 (AA) */
  --err: #A82F2F;             /* 5.3:1 (AA) */

  /* ── Shadow atoms ────────────────────────────────────────── */
  /* rgba, not hex: the transparency is what makes shadows blend into
     the surface instead of sitting on it as a grey smear. The dark
     value is the base hue saturated and darkened — warm, not cool. */
  --sh-light: rgba(255, 255, 255, 0.6);
  --sh-light-strong: rgba(255, 255, 255, 0.7);
  --sh-dark: rgba(192, 174, 144, 0.6);
  --sh-dark-strong: rgba(192, 174, 144, 0.7);

  /* ── Elevations ──────────────────────────────────────────── */
  --out: 9px 9px 16px var(--sh-dark), -9px -9px 16px var(--sh-light);
  --out-hover: 12px 12px 20px var(--sh-dark-strong), -12px -12px 20px var(--sh-light-strong);
  --out-sm: 5px 5px 10px var(--sh-dark), -5px -5px 10px var(--sh-light);
  --in: inset 6px 6px 10px var(--sh-dark), inset -6px -6px 10px var(--sh-light);
  --in-deep: inset 10px 10px 20px var(--sh-dark-strong), inset -10px -10px 20px var(--sh-light-strong);
  --in-sm: inset 3px 3px 6px var(--sh-dark), inset -3px -3px 6px var(--sh-light);
  /* Pressed state for accent-filled controls. The cream inset is
     invisible on deep blue, so it needs its own darker/lighter pair. */
  --in-accent: inset 5px 5px 10px rgba(6, 26, 54, 0.55), inset -5px -5px 10px rgba(255, 255, 255, 0.22);

  /* ── Radii ───────────────────────────────────────────────── */
  --r-card: 32px;
  --r-base: 16px;
  --r-inner: 12px;
  --r-full: 9999px;

  /* ── Type ────────────────────────────────────────────────── */
  --display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;

  /* ── Motion ──────────────────────────────────────────────── */
  --dur: 300ms;
  --dur-slow: 500ms;
  --ease: ease-out;

  /* ── Deprecated aliases ──────────────────────────────────── */
  /* The markup carries a handful of inline `color:var(--blue)` links
     from the previous system. Aliasing keeps them correct instead of
     leaving five silently-black links behind. Remove once the inline
     styles are cleaned out of the HTML. */
  --blue: var(--accent);
  --blue-soft: var(--accent-light);
  --gold: var(--accent-2);
  --gold-deep: var(--gold-text);
  --ink: var(--fg);
  --ink3: var(--muted);
  --ink4: var(--muted);
  --bg2: var(--bg);
  --bg3: var(--bg);
  --bg4: var(--bg);
  --white: #FFFFFF;
  --serif: var(--display);
  --radius: var(--r-card);
  --radius-sm: var(--r-inner);
  --radius-full: var(--r-full);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.65;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

/* One focus treatment for the whole site. Outline rather than
   box-shadow, so a focus ring can never be swallowed by an element's
   own elevation shadow. */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-inner);
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.6rem; }

/* ═══════════ NAVIGATION ═══════════ */
/* Unstuck it is invisible; once scrolled it becomes a floating
   extruded bar rather than an edge-to-edge band — an object molded
   from the surface, consistent with everything else on the page. */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  max-width: 1200px; margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: var(--r-base);
  transition: margin var(--dur) var(--ease), padding var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

/* Frosted, not merely opaque. An opaque bar in the SAME colour as the
   page gives content sliding underneath no visual explanation — text
   just vanishes mid-word and reads as a rendering bug. Blurring what
   passes behind makes the bar legible as a raised object. */
.nav.stuck {
  margin: 0.7rem auto;
  padding: 0.7rem 1.4rem;
  background: rgba(238, 233, 223, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--out);
}

.nav-logo {
  display: flex; align-items: baseline; gap: 0.5rem;
  font-family: var(--display);
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em;
}
.nav-logo .mark { color: var(--accent); }
.nav-logo .sub {
  font-family: var(--sans); font-weight: 500;
  font-size: 0.8rem; color: var(--muted); letter-spacing: 0;
}

.nav-menu { display: flex; gap: 0.4rem; align-items: center; }
.nav-menu a {
  font-size: 0.9rem; font-weight: 500; color: var(--fg);
  padding: 0.5rem 0.9rem; border-radius: var(--r-inner);
  transition: color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav-menu a:hover { color: var(--accent); box-shadow: var(--out-sm); }

/* Selected == pressed. The clearest statement of the whole system:
   the current page is the one pushed into the surface. */
.nav-menu a.active {
  color: var(--accent);
  box-shadow: var(--in-sm);
}

.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 0.65rem 1.3rem; border-radius: var(--r-base);
  font-size: 0.88rem; font-weight: 700;
  box-shadow: var(--out-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--out); }
.nav-cta:active { transform: translateY(0.5px); box-shadow: var(--in-accent); }

/* 48px touch target, above the 44px minimum. */
.hamburger {
  display: none; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  width: 48px; height: 48px;
  background: var(--bg); border: 0; cursor: pointer;
  border-radius: var(--r-base); box-shadow: var(--out-sm);
  transition: box-shadow var(--dur) var(--ease);
}
.hamburger:active,
.hamburger[aria-expanded="true"] { box-shadow: var(--in); }
.hamburger span {
  width: 20px; height: 2px; background: var(--fg);
  border-radius: var(--r-full); transition: var(--dur) var(--ease);
}

.mobile-overlay {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg); padding: 7rem 2rem 2rem;
  display: none; flex-direction: column; gap: 0.7rem;
}
.mobile-overlay.open { display: flex; }
.mobile-overlay a {
  font-family: var(--display); font-size: 1.2rem; font-weight: 700;
  padding: 1rem 1.4rem; border-radius: var(--r-base);
  box-shadow: var(--out-sm);
  transition: box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}
.mobile-overlay a:active { box-shadow: var(--in); color: var(--accent); }

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px;
  padding: 0.9rem 1.9rem; border-radius: var(--r-base);
  font-family: var(--sans); font-size: 0.95rem; font-weight: 700;
  border: 0; cursor: pointer; background: var(--bg); color: var(--fg);
  box-shadow: var(--out);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--out-hover); }
.btn:active { transform: translateY(0.5px); box-shadow: var(--in-sm); }

/* Primary — accent fill. */
.btn-blue { background: var(--accent); color: #fff; }
.btn-blue:active { box-shadow: var(--in-accent); }

/* Gold call to action — Shiksha Nerd's signature. Dark ink rather than
   white: white on #C9A84C is about 2:1 and fails outright. */
.btn-gold {
  background: linear-gradient(135deg, var(--accent-2), #B08F35);
  color: #2A2417;
}
.btn-gold:active { box-shadow: var(--in-accent); }

/* Secondary — same material as the page; depth is the only signal. */
.btn-outline { background: var(--bg); color: var(--fg); }
.btn-outline:hover { color: var(--accent); }

/* ═══════════ TYPOGRAPHY ═══════════ */
.eyebrow {
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-text); margin-bottom: 1rem;
}
.heading {
  font-family: var(--display); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.15; color: var(--fg);
}
.heading-xl {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.04em;
}
.heading-lg { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; }
.heading-md { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.lead { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--muted); max-width: 62ch; }
.text-muted { color: var(--muted); }
.text-faint { color: var(--muted); }

/* ═══════════ HERO ═══════════ */
/* Two-column hero, matching shikshanerd.com: copy on the left, carousel
   on the right, vertically centred against each other. */
.hero { padding: 10rem 0 5rem; position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
.hero-inner { position: relative; z-index: 1; min-width: 0; }
/* Half-width column, so the display size has to come down or the headline
   breaks into single words. */
.hero-inner .heading-xl { font-size: clamp(2.1rem, 3.4vw, 3.2rem); }
.hero h1 { margin-bottom: 1.4rem; }
.hero .lead { margin-bottom: 2.4rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* The old gradient blobs are re-cast as this system's signature
   decoration: concentric rings alternating extruded and pressed, so
   even the empty space reads as the same molded material. */
/* ═══════════ PAGE HERO (inner pages) ═══════════ */
/* No gradient. A pressed tray instead, so the header reads as carved
   out of the page rather than painted onto it. */
.page-hero {
  padding: 10rem 0 4rem; margin-bottom: 1rem;
  box-shadow: var(--in-sm);
}
.page-hero h1 { margin-bottom: 0.9rem; }
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.2rem; }
.breadcrumb a:hover { color: var(--accent); }

/* ═══════════ SECTIONS ═══════════ */
.section { padding: 5.5rem 0; }
/* There is no second background colour in this system, so alternating
   sections become shallow trays pressed into the surface. */
.section-alt { box-shadow: var(--in-sm); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head h2 { margin-bottom: 0.9rem; }

/* ═══════════ CARDS ═══════════ */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--bg); border-radius: var(--r-card);
  padding: 2.25rem 2rem;
  box-shadow: var(--out);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--out-hover); }
.card h3 {
  font-family: var(--display); font-size: 1.18rem; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 0.6rem;
}
.card p { color: var(--muted); font-size: 0.95rem; }

/* Icon wells — drilled into the card. Extruded card -> pressed well
   -> icon is the nested depth this system is built on. */
.card-icon,
.card-num,
.step-n {
  display: grid; place-items: center;
  width: 64px; height: 64px; margin-bottom: 1.3rem;
  border-radius: var(--r-full);
  background: var(--bg);
  box-shadow: var(--in-deep);
  transition: box-shadow var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
/* Inline stroke SVGs rather than emoji: emoji render as a different
   typeface on every OS, carry their own colour, and cannot take the
   accent. These inherit currentColor and stay crisp at any size. */
.card-icon { color: var(--accent); }
.card-icon svg,
.card-num svg,
.step-n svg { width: 26px; height: 26px; display: block; }
.card-num svg, .step-n svg { color: var(--accent); }
.card-num,
.step-n {
  font-family: var(--display); font-size: 1.15rem; font-weight: 800;
  color: var(--accent); line-height: 1;
}
.card:hover .card-icon,
.card:hover .card-num { transform: scale(1.05); }

/* ═══════════ STEPS ═══════════ */
/* Borders are not part of this system; rhythm comes from spacing and
   the pressed number wells instead of rules. */
.steps { display: grid; gap: 1.6rem; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 1.4rem; align-items: start; }
.step-n { margin-bottom: 0; }
.step h3 {
  font-family: var(--display); font-size: 1.1rem; font-weight: 700;
  margin-bottom: 0.4rem; letter-spacing: -0.02em;
}
.step p { color: var(--muted); font-size: 0.95rem; }

/* ═══════════ PRICING ═══════════ */
.price-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  align-items: start;
}
.price-card {
  background: var(--bg); border-radius: var(--r-card); padding: 2.4rem 2rem;
  box-shadow: var(--out);
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.price-card:hover { transform: translateY(-2px); box-shadow: var(--out-hover); }
/* "Featured" means physically higher off the surface, not outlined. */
.price-card.featured { box-shadow: var(--out-hover); transform: translateY(-4px); }
.price-card.featured:hover { transform: translateY(-6px); }

.price-badge {
  align-self: flex-start;
  background: var(--bg); color: var(--accent);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem; border-radius: var(--r-full);
  box-shadow: var(--in-sm);
}
.price-amount {
  font-family: var(--display); font-size: 1.9rem; line-height: 1.15;
  font-weight: 800; letter-spacing: -0.03em;
}
.price-amount span {
  font-family: var(--sans); font-size: 0.82rem; color: var(--muted); font-weight: 500;
}
.price-list { display: grid; gap: 0.7rem; margin-top: 0.4rem; }
.price-list li {
  font-size: 0.93rem; color: var(--muted);
  padding-left: 1.5rem; position: relative;
}
.price-list li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 8px; height: 8px; border-radius: var(--r-full);
  background: var(--bg); box-shadow: var(--in-sm);
}

/* ═══════════ CREDENTIALS ═══════════ */
.credentials { display: grid; gap: 1.4rem; margin-top: 0.6rem; }
.credential { display: grid; grid-template-columns: 5.4rem 1fr; gap: 1.2rem; align-items: start; }
.credential .yr {
  display: inline-grid; place-items: center;
  font-family: var(--display); font-size: 0.82rem; font-weight: 700;
  color: var(--accent); padding: 0.45rem 0.3rem;
  border-radius: var(--r-full); background: var(--bg);
  box-shadow: var(--in-sm);
}
.credential .what { font-size: 0.97rem; font-weight: 700; margin-bottom: 0.15rem; }
.credential .where { font-size: 0.88rem; color: var(--muted); }

/* ═══════════ FORMS ═══════════ */
.form-card {
  background: var(--bg); border-radius: var(--r-card); padding: 2.4rem;
  box-shadow: var(--out);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 700;
  margin-bottom: 0.5rem; color: var(--fg);
}
.form-input, .form-select, .form-textarea {
  width: 100%; min-height: 48px;
  padding: 0.85rem 1.1rem; border-radius: var(--r-base);
  border: 0; background: var(--bg);
  font-family: var(--sans); font-size: 0.95rem; color: var(--fg);
  box-shadow: var(--in);
  transition: box-shadow var(--dur) var(--ease);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--placeholder); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: var(--in-deep);
}
.form-textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.9rem; }
.form-status { font-size: 0.9rem; margin-top: 0.9rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: var(--ok); font-weight: 700; }
.form-status.err { color: var(--err); font-weight: 700; }

/* ═══════════ CTA BAND ═══════════ */
/* Molded from the same material rather than a slab of brand colour —
   a flat coloured block would be the one thing on the page that is
   not part of the surface. */
.cta-band {
  background: var(--bg); border-radius: var(--r-card);
  padding: 3.5rem 2.6rem; text-align: center;
  box-shadow: var(--out);
}
.cta-band h2 { margin-bottom: 0.9rem; color: var(--fg); }
.cta-band p { color: var(--muted); max-width: 52ch; margin: 0 auto 2rem; }

/* ═══════════ FAQ ═══════════ */
/* Each question is its own extruded pebble; opening one presses it in. */
.faq { display: grid; gap: 1rem; }
.faq details {
  background: var(--bg); border-radius: var(--r-base);
  padding: 1.15rem 1.5rem;
  box-shadow: var(--out-sm);
  transition: box-shadow var(--dur) var(--ease);
}
.faq details[open] { box-shadow: var(--in); }
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 1rem;
  list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; color: var(--accent); font-size: 1.25rem;
  font-weight: 700; line-height: 1;
  display: grid; place-items: center;
  width: 30px; height: 30px; flex: 0 0 30px;
  border-radius: var(--r-full); background: var(--bg);
  box-shadow: var(--out-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.faq details[open] summary::after {
  content: '\2013'; box-shadow: var(--in-sm); transform: rotate(180deg);
}
.faq details p { margin-top: 0.85rem; color: var(--muted); font-size: 0.95rem; max-width: 70ch; }

/* ═══════════ PROSE ═══════════ */
.prose { max-width: 68ch; }
.prose p { color: var(--muted); margin-bottom: 1.15rem; }
.prose h2 {
  font-family: var(--display); font-size: 1.45rem; font-weight: 800;
  letter-spacing: -0.025em; margin: 2.4rem 0 0.9rem; color: var(--fg);
}
.prose ul { margin: 0 0 1.3rem; display: grid; gap: 0.65rem; }
.prose ul li { color: var(--muted); padding-left: 1.5rem; position: relative; }
.prose ul li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 8px; height: 8px; border-radius: var(--r-full);
  background: var(--bg); box-shadow: var(--in-sm);
}

/* ═══════════ PHOTOGRAPHY ═══════════ */
/* Photos sit in an extruded frame with a lip of surface around them,
   so the image is set INTO the material rather than floating on it. */
.photo {
  display: grid; padding: 12px;
  border-radius: var(--r-card); background: var(--bg);
  box-shadow: var(--out);
  min-height: 340px;
  transition: box-shadow var(--dur) var(--ease);
}
.photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 22px;   /* the card radius, minus the 12px lip */
}
/* Anubhuti sits on the right of this frame; when the container runs taller
   than the source the crop eats the sides, so hold the right-hand subject. */
.photo img[src*="session-03"] { object-position: 62% center; }
/* Her portrait is 4:5; in a squarer container `cover` trims top and bottom,
   and the face is in the upper third. Bias the keep-area upward. */
.photo img[src*="anubhuti"] { object-position: center 22%; }
.photo:hover { box-shadow: var(--out-hover); }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: stretch; }
.split > * { min-width: 0; }

.feature { position: relative; }
.feature .photo { aspect-ratio: 3 / 2; min-height: 0; }
.feature .cta-band { position: relative; z-index: 1; margin: -5.5rem 3rem 0; }

/* ═══════════ FOOTER ═══════════ */
/* The base the whole page rests in. */
.site-footer {
  background: var(--bg); padding: 4rem 0 1.8rem; margin-top: 5rem;
  box-shadow: var(--in);
}
.ft-top {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.4rem;
  max-width: 1200px; margin: 0 auto; padding: 0 1.6rem 2.4rem;
}
.ft-brand {
  font-family: var(--display); font-weight: 800;
  font-size: 1.05rem; margin-bottom: 0.8rem; letter-spacing: -0.02em;
}
.ft-brand .mark { color: var(--accent); }
.ft-about { font-size: 0.88rem; color: var(--muted); max-width: 34ch; }
.ft-col h4 {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem; font-weight: 700;
}
.ft-col a {
  display: inline-block; font-size: 0.9rem; color: var(--fg);
  margin-bottom: 0.6rem; transition: color var(--dur) var(--ease);
}
.ft-col a:hover { color: var(--accent); }
.ft-bottom {
  max-width: 1200px; margin: 0 auto; padding: 1.6rem 1.6rem 0;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--muted);
}
.ft-links { display: flex; gap: 1.4rem; }
.ft-links a:hover { color: var(--accent); }

/* ═══════════ REVEAL ═══════════ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* Reduced motion is an accessibility setting, not a preference:
   kill the ambient float and the reveal outright. */
@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;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .nav { padding: 0.9rem 1.2rem; }
  .nav.stuck { margin: 0.5rem 0.7rem; padding: 0.6rem 1rem; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 8.5rem 0 4rem; }
  .page-hero { padding: 8rem 0 3rem; }
  .section { padding: 3.6rem 0; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split .photo { min-height: 240px; aspect-ratio: 4 / 3; }
  .feature .photo { aspect-ratio: 4 / 3; }
  .feature .cta-band { margin: -3rem 0.8rem 0; padding: 2.4rem 1.5rem; }
  .ft-top { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .card { padding: 1.9rem 1.6rem; }
  .step { grid-template-columns: 56px 1fr; gap: 1rem; }
  .card-icon, .card-num, .step-n { width: 56px; height: 56px; }
  .card-icon svg, .card-num svg, .step-n svg { width: 23px; height: 23px; }
}

@media (max-width: 560px) {
  .ft-top { grid-template-columns: 1fr; }
  .cta-band { padding: 2.4rem 1.4rem; }
  .credential { grid-template-columns: 4.4rem 1fr; gap: 0.9rem; }
}

/* ═══════════ CAROUSEL ═══════════ */
/* Same physics as .photo: an extruded frame with a lip of surface, so
   the images sit INTO the material. Transform-based rather than
   scroll-snap so the neumorphic frame can clip cleanly. */
/* Sized to match shikshanerd.com, whose hero carousel sits in a 1fr 1fr
   grid — roughly 620px at 4:3, not a full-width band. */
.carousel { position: relative; max-width: 580px; margin: 0 auto; }
.hero-grid .carousel { max-width: 100%; margin: 0; }

.carousel-frame {
  padding: 12px; border-radius: var(--r-card); background: var(--bg);
  box-shadow: var(--out); overflow: hidden;
}

.carousel-track {
  display: flex; list-style: none;
  transition: transform var(--dur-slow) var(--ease);
}
.carousel-slide { flex: 0 0 100%; min-width: 0; }
.carousel-slide img {
  /* 4:3 matches shikshanerd.com AND is the native ratio of the sofa
     photos (1280x960), so those three now crop not at all. Only the
     campus shot (3:2) loses a little from each side. */
  /* height:auto is load-bearing. The markup carries width/height
     attributes for CLS, and those map to a presentational hint
     equivalent to `height: 960px` — aspect-ratio only computes the
     height when height is auto, so without this the image renders at
     its full natural height and the ratio is silently ignored. */
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  object-position: center;
  border-radius: 22px; display: block;
}

/* Controls are extruded pebbles that press in when used — the same
   language as every other button on the site. */
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; cursor: pointer; z-index: 2;
  border-radius: var(--r-full); background: var(--bg); color: var(--accent);
  box-shadow: var(--out-sm);
  transition: box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}
.carousel-btn:hover { box-shadow: var(--out); }
.carousel-btn:active { box-shadow: var(--in-sm); }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }

.carousel-dots {
  display: flex; justify-content: center; gap: 0.5rem;
  margin-top: 1.2rem;
}
.carousel-dot {
  width: 30px; height: 8px; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--r-full); background: var(--bg);
  box-shadow: var(--in-sm);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.carousel-dot[aria-current="true"] {
  background: var(--accent);
  box-shadow: var(--out-sm);
}

.carousel-caption {
  text-align: center; margin-top: 1.1rem;
  font-size: 0.88rem; color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
}

@media (max-width: 900px) {
  /* Off-canvas arrows would be cut off, so bring them inside the frame. */
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
  .carousel-slide img { aspect-ratio: 4 / 3; }
  .carousel { max-width: 100%; }
}
