@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Black.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 900;
}

:root {
  --ink: #f5f2eb;
  --muted: #aaa69d;
  --dim: #77736b;
  --black: #090909;
  --panel: #10100f;
  --panel-strong: #161512;
  --orange: #ff6b1a;
  --orange-dark: #b94713;
  --line: #302e29;
  --line-strong: #514b41;
  --shell: min(1180px, calc(100vw - 64px));
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--black);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--black);
  background: var(--orange);
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--black);
  background: var(--orange);
  font-weight: 900;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 72px;
  border-bottom: 1px solid rgba(245, 242, 235, 0.16);
  background: rgba(9, 9, 9, 0.82);
  backdrop-filter: blur(14px);
  transition: background 180ms ease, height 180ms ease;
}

.site-header.is-scrolled {
  height: 64px;
  background: rgba(9, 9, 9, 0.96);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.wordmark {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark span {
  color: var(--orange);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.site-nav a {
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--orange);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: var(--black);
  padding: 8px 12px;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  min-height: 900px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--black);
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 42%;
  filter: saturate(0.92) sepia(0.62) hue-rotate(-8deg) contrast(1.12) brightness(0.66);
}

.hero-shade {
  background: rgba(9, 9, 9, 0.66);
}

.hero-shade::before {
  content: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 90px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow,
.section-index,
.book-kicker,
.panel-label {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero h1,
.subhero h1 {
  margin: 0;
  max-width: 720px;
  font-family: var(--display);
  font-size: clamp(86px, 9.4vw, 146px);
  font-weight: 900;
  letter-spacing: -0.032em;
  line-height: 0.82;
  text-transform: uppercase;
}

.hero h1 span,
.subhero h1 span {
  color: var(--orange);
}

.hero-rule {
  width: 62px;
  height: 4px;
  margin: 30px 0 20px;
  background: var(--orange);
}

.hero-name {
  margin: 0 0 2px;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.hero-role {
  margin: 0;
  color: #d2cec6;
  font-size: 15px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #130d08;
  background: var(--orange);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ff8a49;
}

.button-ghost {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(9, 9, 9, 0.42);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--black);
}

.hero-values,
.micro-line {
  margin: 34px 0 0;
  color: var(--dim);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero-values span,
.micro-line span {
  margin-inline: 22px;
}

.section {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding-block: clamp(88px, 9vw, 142px);
  overflow: hidden;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: clamp(54px, 8vw, 120px);
}

.section-index {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
}

.section-index::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--orange);
}

.section-index span {
  color: var(--ink);
}

.section-copy h2,
.books-intro h2,
.academy-heading h2,
.program-heading h2,
.method-grid h2,
.contact-grid h2,
.registration-panel h3 {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(52px, 6vw, 86px);
  letter-spacing: -0.025em;
  line-height: 0.92;
  text-transform: uppercase;
}

.section-copy p,
.books-intro p,
.academy-heading p,
.method-copy p,
.contact-copy p,
.subhero-lead,
.registration-panel p {
  max-width: 640px;
  color: #cfcbc3;
  font-size: 17px;
  line-height: 1.72;
}

.portrait-frame,
.teaching-photo {
  position: relative;
  margin: 0;
  min-height: 630px;
  border-left: 1px solid var(--line);
  overflow: hidden;
  background: var(--panel);
}

.portrait-frame img,
.teaching-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.55) sepia(0.2) contrast(1.14) brightness(0.76);
}

.portrait-frame figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 290px;
  padding: 28px;
  border-top: 3px solid var(--orange);
  color: var(--ink);
  background: rgba(9, 9, 9, 0.88);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.6;
  text-transform: uppercase;
}

.teaching-section {
  background: #0c0c0b;
}

.teaching-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(390px, 1fr) minmax(190px, 0.38fr);
  align-items: stretch;
}

.teaching-grid .section-copy {
  padding: 34px clamp(40px, 5vw, 78px) 34px 0;
}

.teaching-photo {
  min-height: 580px;
  border-right: 1px solid var(--line);
}

.teaching-photo img {
  object-position: 52% 50%;
}

.teaching-list {
  margin: 0;
  padding: 44px 0 44px clamp(30px, 4vw, 58px);
  list-style: none;
}

.teaching-list li {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  color: #d6d1c8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.teaching-list li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--orange);
}

.books-section {
  background: var(--panel);
}

.books-intro {
  max-width: 720px;
  margin-bottom: 62px;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.book-card {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(0, 1.2fr);
  min-height: 520px;
  background: var(--black);
}

.book-cover {
  min-height: 100%;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  background: #0e0d0c;
  overflow: hidden;
}

.book-cover-light {
  background: #e8e2d6;
}

.book-cover img {
  width: 155%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.book-copy {
  padding: 48px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.book-copy h3 {
  margin: 0 0 18px;
  font-size: 23px;
  line-height: 1.2;
}

.book-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.book-copy .price {
  margin: auto 0 18px;
  color: var(--orange);
  font-size: 26px;
  font-weight: 900;
}

.academy-section {
  background: var(--black);
}

.academy-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 70px;
  align-items: end;
  margin-bottom: 58px;
}

.academy-heading .section-index {
  grid-column: 1 / -1;
}

.academy-heading h2,
.academy-heading p {
  margin-bottom: 0;
}

.academy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.academy-card {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(34px, 5vw, 64px);
  color: var(--ink);
  background: var(--panel);
  text-decoration: none;
  transition: background 180ms ease;
}

.academy-card:hover,
.academy-card:focus-visible {
  background: #191611;
}

.academy-card img {
  width: min(390px, 80%);
  margin-bottom: auto;
}

.academy-card span {
  color: var(--muted);
  font-size: 14px;
}

.academy-card strong {
  margin-top: 12px;
  color: var(--orange);
  font-size: 16px;
}

.madras-card {
  background: #17120e;
}

.madras-card .academy-type {
  margin-bottom: auto;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(50px, 5vw, 78px);
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-transform: uppercase;
}

.contact-section,
.academy-cta {
  background: #0c0c0b;
}

.contact-grid,
.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 70px;
}

.contact-grid h2,
.method-grid h2 {
  margin-bottom: 0;
}

.contact-copy {
  padding-left: 58px;
  border-left: 1px solid var(--line-strong);
}

.site-footer {
  padding-block: 34px;
  border-top: 1px solid #050505;
  background: #070707;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
}

.footer-wordmark,
.footer-location,
.footer-note {
  margin: 0;
}

.footer-location,
.footer-note {
  color: var(--dim);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-note {
  text-align: right;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--muted);
  font-size: 11px;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--orange);
}

.subhero {
  min-height: 790px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--black);
}

.subhero-media,
.subhero-shade {
  position: absolute;
  inset: 0;
}

.subhero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 48%;
  filter: saturate(0.62) sepia(0.28) contrast(1.18) brightness(0.58);
}

.subhero-shade {
  background: rgba(9, 9, 9, 0.68);
}

.subhero-shade::before {
  content: none;
}

.subhero-inner {
  position: relative;
  z-index: 2;
  padding-top: 90px;
}

.subhero h1 {
  max-width: 700px;
  font-size: clamp(80px, 8vw, 126px);
}

.subhero-lead {
  max-width: 560px;
  margin: 30px 0 28px;
}

.academy-logo {
  width: 310px;
  margin-bottom: 40px;
}

.academy-portrait img {
  object-position: 50% 42%;
}

.program-section {
  background: var(--panel);
}

.program-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 54px;
}

.program-heading .section-index,
.program-heading h2 {
  margin-bottom: 0;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.program-grid article {
  min-height: 280px;
  padding: 34px 30px;
  border-right: 1px solid var(--line);
}

.program-grid article:last-child {
  border-right: 0;
}

.program-grid p {
  margin: 0 0 80px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.program-grid h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.program-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.method-section,
.madras-guidance {
  background: #0c0c0b;
}

.method-copy {
  padding-left: 58px;
  border-left: 1px solid var(--line-strong);
}

.competition-info {
  background: var(--panel);
}

.competition-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
  gap: clamp(60px, 8vw, 120px);
  align-items: center;
}

.registration-panel {
  padding: clamp(36px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--orange);
  background: var(--black);
}

.registration-panel h3 {
  font-size: clamp(48px, 5vw, 72px);
}

.registration-panel .button {
  margin-top: 18px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

@media (max-width: 1080px) {
  :root {
    --shell: min(100% - 48px, 960px);
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 10px;
    letter-spacing: 0.11em;
  }

  .split-grid,
  .competition-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 52px;
  }

  .teaching-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .teaching-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0;
    border-top: 1px solid var(--line);
  }

  .teaching-list li {
    padding: 22px 16px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .book-card {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .book-cover {
    padding: 22px;
  }

  .book-copy {
    padding: 36px 26px;
  }

  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-grid article:nth-child(2) {
    border-right: 0;
  }

  .program-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  :root {
    --shell: calc(100% - 36px);
  }

  .site-header,
  .site-header.is-scrolled {
    height: 64px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 63px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line-strong);
    background: #0a0a09;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 18px 24px;
    border-top: 1px solid var(--line);
  }

  .hero {
    min-height: 820px;
  }

  .hero-photo img,
  .subhero-media img {
    object-position: 58% 50%;
  }

  .hero-shade,
  .subhero-shade {
    background: rgba(9, 9, 9, 0.7);
  }

  .hero-inner,
  .subhero-inner {
    padding-top: 88px;
  }

  .hero-copy {
    max-width: 580px;
  }

  .hero h1,
  .subhero h1 {
    font-size: clamp(68px, 16vw, 112px);
  }

  .split-grid,
  .competition-grid,
  .academy-heading,
  .contact-grid,
  .method-grid,
  .program-heading {
    grid-template-columns: 1fr;
  }

  .split-grid,
  .competition-grid,
  .contact-grid,
  .method-grid {
    gap: 44px;
  }

  .portrait-frame,
  .teaching-photo {
    min-height: 560px;
    border: 1px solid var(--line);
  }

  .teaching-grid {
    grid-template-columns: 1fr;
  }

  .teaching-grid .section-copy {
    padding: 0 0 40px;
  }

  .teaching-list {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teaching-list li:nth-child(2) {
    border-right: 0;
  }

  .teaching-list li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .book-grid,
  .academy-grid {
    grid-template-columns: 1fr;
  }

  .book-card {
    min-height: 480px;
  }

  .academy-heading {
    gap: 22px;
  }

  .academy-card {
    min-height: 380px;
  }

  .contact-copy,
  .method-copy {
    padding: 38px 0 0;
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-note {
    text-align: left;
  }

  .subhero {
    min-height: 740px;
  }

  .academy-logo {
    width: 260px;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 28px);
  }

  body {
    font-size: 15px;
  }

  .wordmark {
    font-size: 12px;
  }

  .hero {
    min-height: 760px;
    align-items: flex-end;
  }

  .hero-inner {
    padding: 130px 0 52px;
  }

  .hero h1,
  .subhero h1 {
    font-size: clamp(62px, 20vw, 88px);
  }

  .hero-name {
    font-size: 23px;
  }

  .hero-role {
    max-width: 320px;
    font-size: 13px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .button {
    padding-inline: 16px;
  }

  .hero-values {
    display: none;
  }

  .section {
    padding-block: 76px;
  }

  .section-copy h2,
  .books-intro h2,
  .academy-heading h2,
  .program-heading h2,
  .method-grid h2,
  .contact-grid h2,
  .registration-panel h3 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .section-copy p,
  .books-intro p,
  .academy-heading p,
  .method-copy p,
  .contact-copy p,
  .subhero-lead,
  .registration-panel p {
    font-size: 15px;
  }

  .portrait-frame,
  .teaching-photo {
    min-height: 450px;
  }

  .portrait-frame figcaption {
    max-width: 230px;
    padding: 20px;
    font-size: 11px;
  }

  .teaching-list {
    grid-template-columns: 1fr;
  }

  .teaching-list li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .book-card {
    grid-template-columns: 1fr;
  }

  .book-cover {
    min-height: 380px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .book-copy {
    min-height: 400px;
  }

  .academy-card {
    min-height: 340px;
    padding: 30px;
  }

  .madras-card .academy-type {
    font-size: 54px;
  }

  .subhero {
    min-height: 700px;
    align-items: flex-end;
  }

  .subhero-inner {
    padding: 130px 0 58px;
  }

  .academy-logo {
    width: 220px;
    margin-bottom: 30px;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  .program-grid article {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .program-grid article:last-child {
    border-bottom: 0;
  }

  .program-grid p {
    margin-bottom: 44px;
  }

  .registration-panel {
    padding: 30px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
