/* ============================================================
   CA Shraddha Lath Jain — Portfolio
   Elegant light theme · Playfair Display + Inter
   ============================================================ */

:root {
  --bg: #F6F3EC;
  --bg-tint: #EFEAE0;
  --surface: #FFFFFF;
  --ink: #161D17;
  --ink-soft: #3C4239;
  --muted: #6F6A5C;
  --gold: #B48A2E;
  --gold-deep: #8F6C1F;
  --gold-soft: rgba(180, 138, 46, 0.14);
  --green: #1E4D3A;
  --line: rgba(22, 29, 23, 0.12);
  --shadow-lg: 0 30px 60px -25px rgba(22, 29, 23, 0.18);
  --shadow-sm: 0 12px 30px -18px rgba(22, 29, 23, 0.25);
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

::selection { background: var(--gold); color: #fff; }

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: italic; }

.container { width: min(1180px, calc(100% - clamp(2rem, 6vw, 6rem))); margin-inline: auto; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #cfc8b8; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px;
  transition: top .3s;
}
.skip-link:focus { top: 16px; }

/* ============ Preloader ============ */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: transform 1s var(--ease-out), visibility 1s;
}
.preloader.is-done { transform: translateY(-100%); visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__mono {
  font-family: var(--font-serif); font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: .08em; color: var(--ink); display: block;
}
.preloader__mono::after {
  content: ""; display: block; width: 56px; height: 2px;
  background: var(--gold); margin: .8rem auto 0;
}
.preloader__count {
  display: block; margin-top: 1rem; font-size: .75rem; letter-spacing: .35em;
  text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums;
}

/* ============ Decorative layers ============ */
.noise {
  position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); }
  40% { transform: translate(3%,-5%); } 60% { transform: translate(-5%,-2%); } 80% { transform: translate(4%,4%); }
}

.progress-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 160; pointer-events: none; }
.progress-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); }

.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 170; pointer-events: none; border-radius: 50%; opacity: 0; }
.cursor-dot { width: 7px; height: 7px; background: var(--gold); transform: translate(-50%, -50%); }
.cursor-ring {
  width: 36px; height: 36px; border: 1.5px solid rgba(180, 138, 46, .55);
  transform: translate(-50%, -50%); transition: width .35s, height .35s, border-color .35s, background .35s;
}
body.cursor-hover .cursor-ring { width: 58px; height: 58px; background: rgba(180, 138, 46, .08); border-color: var(--gold); }
@media (pointer: fine) { body.has-cursor a, body.has-cursor button { cursor: none; } body.has-cursor { cursor: none; } }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ============ Buttons ============ */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .55rem;
  padding: 1rem 1.9rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: transform .5s var(--ease-out), box-shadow .5s, background .35s, color .35s, border-color .35s;
  will-change: transform;
}
.btn--sm { padding: .55rem 1.15rem; font-size: .85rem; }
.btn--lg { padding: 1.2rem 2.6rem; font-size: 1.05rem; }
.btn--ink { background: var(--ink); color: #F6F3EC; box-shadow: var(--shadow-sm); }
.btn--ink:hover { background: var(--green); box-shadow: 0 18px 40px -18px rgba(30, 77, 58, .55); }
.btn--ghost { border: 1.5px solid var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-deep); background: var(--gold-soft); }
.btn--gold { background: var(--gold); color: #fff; box-shadow: 0 20px 45px -18px rgba(180, 138, 46, .65); }
.btn--gold:hover { background: var(--gold-deep); }

[data-magnetic] { will-change: transform; }

/* ============ Navigation ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  padding: 1.1rem 0; transition: padding .45s var(--ease-out), background .45s, box-shadow .45s, backdrop-filter .45s;
}
.nav.is-scrolled {
  padding: .65rem 0;
  background: rgba(246, 243, 236, .82);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { width: min(1320px, calc(100% - clamp(2rem, 5vw, 5rem))); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--ink); color: var(--gold); font-family: var(--font-serif);
  font-size: .82rem; letter-spacing: .06em; flex-shrink: 0;
  transition: background .4s, color .4s, transform .5s var(--ease-out);
}
.brand:hover .brand__mark { background: var(--gold); color: #fff; transform: rotate(-6deg) scale(1.04); }
.brand__text { font-family: var(--font-serif); font-size: 1.02rem; letter-spacing: .01em; white-space: nowrap; }
.brand__text em { color: var(--gold-deep); }

.nav__links { display: flex; gap: clamp(1.1rem, 2.4vw, 2.2rem); }
.nav__links a {
  position: relative; font-size: .88rem; font-weight: 500; color: var(--ink-soft);
  padding: .3rem 0; transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__cta { display: flex; align-items: center; gap: .8rem; }

.burger {
  display: none; width: 44px; height: 44px; border: 1.5px solid var(--line);
  border-radius: 50%; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.burger span { width: 18px; height: 1.8px; background: var(--ink); transition: transform .4s var(--ease-out), opacity .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-3.8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110; background: var(--bg-tint);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2.4rem;
  clip-path: circle(0% at calc(100% - 52px) 44px);
  transition: clip-path .8s var(--ease-out), visibility .8s;
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 52px) 44px); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.mobile-menu nav a {
  font-family: var(--font-serif); font-size: clamp(1.9rem, 7vw, 2.8rem); color: var(--ink);
  padding: .25rem .5rem; opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .3s;
}
.mobile-menu.is-open nav a { opacity: 1; transform: translateY(0); }
.mobile-menu nav a:nth-child(1) { transition-delay: .15s; } .mobile-menu nav a:nth-child(2) { transition-delay: .21s; }
.mobile-menu nav a:nth-child(3) { transition-delay: .27s; } .mobile-menu nav a:nth-child(4) { transition-delay: .33s; }
.mobile-menu nav a:nth-child(5) { transition-delay: .39s; } .mobile-menu nav a:nth-child(6) { transition-delay: .45s; }
.mobile-menu nav a span { font-family: var(--font-sans); font-size: .8rem; color: var(--gold); vertical-align: super; margin-right: .5rem; }
.mobile-menu nav a:hover { color: var(--gold-deep); }
.mobile-menu__cta { opacity: 0; transition: opacity .6s .5s; }
.mobile-menu.is-open .mobile-menu__cta { opacity: 1; }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(7rem, 14vh, 10rem) 0 5rem; overflow: hidden;
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; }
.hero__glow--one { width: 480px; height: 480px; right: -120px; top: -80px; background: radial-gradient(circle, rgba(180,138,46,.28), transparent 65%); animation: drift 14s ease-in-out infinite alternate; }
.hero__glow--two { width: 420px; height: 420px; left: -140px; bottom: -60px; background: radial-gradient(circle, rgba(30,77,58,.2), transparent 65%); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(-60px, 50px) scale(1.15); } }

.hero__watermark {
  position: absolute; right: -2%; bottom: -6%;
  font-family: var(--font-serif); font-size: clamp(14rem, 34vw, 30rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px rgba(22, 29, 23, 0.07);
  user-select: none; pointer-events: none; letter-spacing: -.02em;
}

.hero__grid { position: relative; z-index: 2; }
.hero__eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: clamp(1.4rem, 3vh, 2.2rem);
}
.hero__eyebrow i { font-style: normal; }
.hero__title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(3.4rem, 11vw, 8.2rem);
  line-height: 1.02; letter-spacing: -.015em; margin-bottom: clamp(1.6rem, 4vh, 2.6rem);
}
.hero__title em { color: var(--gold); font-weight: 500; }
.hero__lede { max-width: 54ch; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); }
.hero__badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.hero__badges li {
  padding: .5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.55); backdrop-filter: blur(6px);
  font-size: .82rem; font-weight: 500; color: var(--ink-soft);
  transition: border-color .35s, color .35s, background .35s, transform .35s var(--ease-out);
}
.hero__badges li:hover { border-color: var(--gold); color: var(--gold-deep); background: var(--gold-soft); transform: translateY(-2px); }
.hero__meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: .5rem;
  margin-top: 1.5rem; font-size: .88rem; color: var(--muted);
}
.hero__meta svg { color: var(--gold); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

.hero__scrollcue {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem; z-index: 2;
}
.hero__scrollcue-label { font-size: .68rem; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }
.hero__scrollcue-line { width: 1.5px; height: 52px; background: var(--line); position: relative; overflow: hidden; }
.hero__scrollcue-line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--gold); animation: cue 2.2s var(--ease-out) infinite;
}
@keyframes cue { 0% { top: -50%; } 60%, 100% { top: 110%; } }

/* Line-reveal animation (hero) */
.anim-line { display: block; overflow: hidden; }
.anim-line > span { display: inline-block; transform: translateY(115%); }
body.is-loaded .anim-line > span { transform: translateY(0); transition: transform 1.1s var(--ease-out); }
body.is-loaded h1.anim-line:nth-of-type(0) > span,
body.is-loaded .hero__title .anim-line:nth-child(1) > span { transition-delay: .12s; }
body.is-loaded .hero__title .anim-line:nth-child(2) > span { transition-delay: .24s; }
body.is-loaded .hero__eyebrow > span { transition-delay: .02s; }
.anim-fade { opacity: 0; transform: translateY(26px); }
body.is-loaded .anim-fade { opacity: 1; transform: translateY(0); transition: opacity .9s ease var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s); }

/* ============ Marquee ============ */
.marquee {
  border-block: 1px solid var(--line); background: var(--surface);
  overflow: hidden; padding: 1.05rem 0; position: relative;
}
.marquee__track { display: flex; width: max-content; animation: scrollX 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__group span {
  font-family: var(--font-serif); font-style: italic; font-size: 1.15rem;
  color: var(--ink-soft); padding: 0 1.6rem; white-space: nowrap;
}
.marquee__group i { color: var(--gold); font-style: normal; font-size: .8rem; }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section { padding: clamp(5.5rem, 12vh, 9rem) 0; position: relative; }
.section--tint { background: var(--bg-tint); }

.sec-head { margin-bottom: clamp(2.8rem, 6vh, 4.5rem); }
.sec-head__label {
  font-size: .78rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-deep); display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem;
}
.sec-head__label::before { content: ""; width: 42px; height: 1.5px; background: var(--gold); }
.sec-head__label--center { justify-content: center; }
.sec-head__label--center::after { content: ""; width: 42px; height: 1.5px; background: var(--gold); }
.sec-head__title {
  font-family: var(--font-serif); font-weight: 500; line-height: 1.06; letter-spacing: -.01em;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
}
.sec-head__title em { color: var(--gold); }

/* Reveal on scroll */
[data-reveal] {
  opacity: 0; transform: translateY(38px);
  transition: opacity 1s ease var(--d, 0s), transform 1s var(--ease-out) var(--d, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ============ About ============ */
.about__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.about__copy p + p { margin-top: 1.2rem; }
.about__lead { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.5; font-family: var(--font-serif); color: var(--ink); }
.about__lead strong, .about__copy strong { color: var(--gold-deep); font-weight: 600; }
.about__copy > p:not(.about__lead):not(.about__sig) { color: var(--ink-soft); }
.about__sig {
  margin-top: 2rem !important; font-family: var(--font-serif); font-style: italic;
  font-size: 1.7rem; color: var(--gold); transform: rotate(-2deg);
}
.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.6rem 1.4rem; transition: transform .5s var(--ease-out), box-shadow .5s, border-color .4s;
}
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(180,138,46,.4); }
.stat__num { font-family: var(--font-serif); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--ink); display: block; }
.stat__num span { font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: .55rem; font-size: .82rem; color: var(--muted); line-height: 1.45; }

/* ============ Experience timeline ============ */
.timeline { position: relative; padding-left: clamp(0rem, 2vw, 1rem); counter-reset: t; }
.titem {
  position: relative; display: grid; grid-template-columns: 200px 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.8rem, 4vh, 2.8rem) 0;
  border-top: 1px solid var(--line);
}
.titem:last-child { border-bottom: 1px solid var(--line); }
.titem::before {
  content: ""; position: absolute; left: -27px; top: clamp(2.2rem, 4.4vh, 3.2rem);
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg-tint); border: 2.5px solid var(--gold);
  transition: background .4s, box-shadow .4s;
}
.titem:hover::before { background: var(--gold); box-shadow: 0 0 0 7px var(--gold-soft); }
.timeline-wrap { position: relative; }
@media (min-width: 900px) {
  .timeline::before {
    content: ""; position: absolute; left: -21.5px; top: 0; bottom: 0; width: 1.5px;
    background: linear-gradient(var(--line) 0%, var(--line) 100%);
  }
}
.titem__when { display: flex; flex-direction: column; gap: .35rem; }
.titem__period { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--gold-deep); }
.titem__place { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.titem__body h3 { font-family: var(--font-serif); font-size: clamp(1.45rem, 2.6vw, 1.9rem); font-weight: 500; line-height: 1.2; }
.titem__org { font-weight: 600; font-size: .98rem; margin-top: .35rem; }
.titem__org span { font-weight: 400; color: var(--muted); }
.titem__points { margin-top: 1.1rem; display: grid; gap: .55rem; max-width: 62ch; }
.titem__points li {
  position: relative; padding-left: 1.35rem; color: var(--ink-soft); font-size: .95rem;
}
.titem__points li::before {
  content: "✦"; position: absolute; left: 0; top: .1rem; font-size: .62rem; color: var(--gold);
}
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.tags span {
  font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 999px; background: var(--gold-soft); color: var(--gold-deep);
}

/* ============ Expertise cards ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 2rem 1.8rem; overflow: hidden;
  transition: transform .55s var(--ease-out), box-shadow .55s, border-color .4s;
}
.card::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--gold-soft); color: var(--gold-deep); margin-bottom: 1.3rem;
  transition: background .4s, color .4s, transform .5s var(--ease-out);
}
.card:hover .card__icon { background: var(--gold); color: #fff; transform: rotate(-6deg) scale(1.06); }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-family: var(--font-serif); font-size: 1.28rem; font-weight: 500; margin-bottom: .6rem; }
.card p { font-size: .92rem; color: var(--muted); }

/* ============ Education ============ */
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.edu {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 2rem 1.8rem;
  transition: transform .55s var(--ease-out), box-shadow .55s;
}
.edu:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.edu__years {
  display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-deep); background: var(--gold-soft);
  border-radius: 999px; padding: .35rem .85rem; margin-bottom: 1.2rem;
}
.edu h3 { font-family: var(--font-serif); font-size: 1.42rem; font-weight: 500; }
.edu__org { font-weight: 600; font-size: .92rem; margin-top: .4rem; color: var(--ink-soft); }
.edu__desc { font-size: .88rem; color: var(--muted); margin-top: .8rem; }

.certs { margin-top: clamp(2.5rem, 6vh, 4rem); border-top: 1px solid var(--line); padding-top: 2.2rem; }
.certs__title { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 1.3rem; }
.certs__title span { color: var(--muted); font-style: italic; font-size: 1rem; }
.certs__list { display: flex; flex-wrap: wrap; gap: .6rem; }
.certs__list li {
  font-size: .84rem; font-weight: 500; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1.05rem;
  transition: border-color .35s, color .35s, background .35s, transform .35s var(--ease-out);
}
.certs__list li:hover { border-color: var(--gold); color: var(--gold-deep); background: var(--gold-soft); transform: translateY(-2px); }

/* ============ Achievements ============ */
.ach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.ach {
  position: relative; border: 1px solid var(--line); border-radius: 20px;
  padding: 1.9rem 1.7rem; background: var(--bg);
  transition: transform .55s var(--ease-out), box-shadow .55s, background .45s, border-color .45s;
}
.ach:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); background: var(--surface); border-color: rgba(180,138,46,.35); }
.ach--feature { background: var(--ink); color: #F6F3EC; border-color: var(--ink); }
.ach--feature:hover { background: var(--green); border-color: var(--green); }
.ach__num {
  font-family: var(--font-serif); font-style: italic; font-size: 2.2rem; color: var(--gold);
  display: block; margin-bottom: 1rem;
}
.ach h3 { font-family: var(--font-serif); font-size: 1.22rem; font-weight: 500; margin-bottom: .6rem; line-height: 1.3; }
.ach p { font-size: .88rem; color: var(--muted); }
.ach--feature p { color: rgba(246, 243, 236, .72); }

/* ============ Contact ============ */
.contact {
  position: relative; padding: clamp(6rem, 15vh, 10rem) 0; overflow: hidden;
  background:
    radial-gradient(600px 320px at 78% 20%, rgba(180,138,46,.16), transparent 70%),
    radial-gradient(520px 300px at 15% 85%, rgba(30,77,58,.13), transparent 70%),
    var(--ink);
  color: #F6F3EC; text-align: center;
}
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact .sec-head__label { color: var(--gold); justify-content: center; }
.contact__title {
  font-family: var(--font-serif); font-weight: 500; line-height: 1.08;
  font-size: clamp(2.5rem, 6.4vw, 4.8rem); margin-bottom: 1.4rem;
}
.contact__title em { color: var(--gold); }
.contact__sub { max-width: 52ch; color: rgba(246, 243, 236, .66); margin-bottom: 2.6rem; font-size: 1.02rem; }

/* ============ Footer ============ */
.footer { background: var(--ink); color: rgba(246, 243, 236, .6); padding: 1.6rem 0; }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem;
}
.footer__loc { letter-spacing: .2em; text-transform: uppercase; font-size: .72rem; color: var(--gold); }
.footer__top { transition: color .3s; }
.footer__top:hover { color: var(--gold); }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .ach-grid { grid-template-columns: repeat(2, 1fr); }
  .edu-grid { grid-template-columns: 1fr 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .about__stats { max-width: 640px; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta .btn { display: none; }
  .burger { display: flex; }
  .titem { grid-template-columns: 1fr; gap: .8rem; padding-left: 0; }
  .titem::before { display: none; }
  .titem__when { flex-direction: row; align-items: baseline; gap: .9rem; }
  .hero__scrollcue { display: none; }
}
@media (max-width: 640px) {
  .cards, .edu-grid, .ach-grid { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .brand__text { display: none; }
  .footer__inner { justify-content: center; text-align: center; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  [data-reveal], .anim-fade, .anim-line > span { opacity: 1 !important; transform: none !important; }
}
