/* ============================================================
   Abhisek Lahiri — editorial, restrained, warm-dark.
   Palette: bg #14110F · surface #1E1A17 · text #F2EDE6
            mute #8A8178 · brass #B8864B · brass-hi #D4A968
   Type:    Fraunces (display, opsz) / Inter (UI + body)
   ============================================================ */

:root {
  --bg: #14110F;
  --surface: #1E1A17;
  --surface-2: #25201C;
  --rule: #2C2622;
  --text: #F2EDE6;
  --mute: #8A8178;
  --brass: #B8864B;
  --brass-hi: #D4A968;

  --display: 'Fraunces', 'Times New Roman', serif;
  --body: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;

  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 10vw, 160px);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brass-hi); }
img { max-width: 100%; display: block; }

::selection { background: var(--brass); color: var(--bg); }

/* ---------- Type primitives ---------- */
.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 18px;
}

.display {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(64px, 10vw, 156px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  font-variation-settings: "opsz" 144;
}

.h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.012em;
  margin: 0;
  font-variation-settings: "opsz" 72;
}

.lede {
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--text);
  margin: 0 0 36px;
  max-width: 36ch;
}

.prose p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}
.prose p + p { margin-top: 1.2em; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
}
@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
}

/* Lineage section: portrait left, prose right */
.lineage {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.lineage__img {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: #0F0C0A;
}
.lineage__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
@media (max-width: 760px) {
  .lineage { grid-template-columns: 1fr; }
  .lineage__img { aspect-ratio: 4 / 3; }
}

.accent { color: var(--brass); }
.muted { color: var(--mute); }
.footnote { color: var(--mute); font-size: 14px; margin-top: 28px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  background: rgba(20, 17, 15, 0.78);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.nav.is-scrolled { border-bottom-color: var(--rule); }

.nav__mark {
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.01em;
}
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text);
  opacity: 0.85;
}
.nav__links a:hover { opacity: 1; color: var(--brass-hi); }
@media (max-width: 640px) {
  .nav__links { display: none; }
}

/* ---------- Section shell ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.section--surface {
  max-width: none;
  background: var(--surface);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.section--surface > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.section--surface .section__head,
.section--surface .schedule,
.section--surface .booking,
.section--surface .video,
.section--surface .video-grid,
.section--surface .streaming,
.section--surface .footnote,
.section--surface .eyebrow--inline {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section__head {
  margin-bottom: clamp(40px, 5vw, 72px);
  max-width: 64ch;
}

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 9vw, 120px) var(--gutter) clamp(80px, 10vw, 140px);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  min-height: calc(100vh - 80px);
}
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
}

.hero__copy { max-width: 28ch; }

.hero__credit {
  margin-top: 56px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}

.hero__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  border: 1px solid var(--rule);
  overflow: hidden;
  background: #0F0C0A;
}
.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: contrast(1.02);
}
.hero__portrait::after {
  /* subtle vignette so type doesn't compete if image is light at edges */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 22px;
  border-radius: 2px;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--brass);
  color: var(--bg);
}
.btn--primary:hover {
  background: var(--brass-hi);
  color: var(--bg);
}
.btn--ghost {
  border-color: var(--rule);
  color: var(--text);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--brass);
  color: var(--brass-hi);
}

/* ---------- Statement ---------- */
.statement {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) var(--gutter);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.statement blockquote {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  max-width: 22ch;
}
.statement blockquote p { margin: 0 0 22px; }
.statement cite {
  font-family: var(--body);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ---------- Tour list ---------- */
.tour {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.tour li {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.tour__venue {
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 300;
  letter-spacing: -0.005em;
}
.tour__meta {
  color: var(--mute);
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1.55;
}
.tour__link {
  color: var(--text);
  border-bottom: 1px solid rgba(184,134,75,0.35);
  padding-bottom: 1px;
  transition: color 180ms ease, border-color 180ms ease;
}
.tour__link:hover {
  color: var(--brass-hi);
  border-color: var(--brass-hi);
}
@media (max-width: 640px) {
  .tour li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Schedule / itinerary list ---------- */
.eyebrow--inline {
  margin-bottom: 14px;
}

.schedule {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.schedule li {
  display: grid;
  grid-template-columns: 180px 1.2fr 1.6fr auto;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.schedule__date {
  font-family: var(--display);
  font-size: 18px;
  color: var(--brass);
  letter-spacing: 0.01em;
}
.schedule__city {
  font-family: var(--display);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 300;
  letter-spacing: -0.005em;
}
.schedule__meta {
  color: var(--mute);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.schedule__link {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  border-bottom: 1px solid rgba(184,134,75,0.4);
  padding-bottom: 2px;
  justify-self: end;
  white-space: nowrap;
}
.schedule__link:hover { color: var(--brass-hi); border-color: var(--brass-hi); }
.schedule__break {
  background: rgba(184,134,75,0.04);
  border-top: 1px solid var(--rule);
  margin-top: 8px;
}
@media (max-width: 760px) {
  .schedule li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }
  .schedule__link { justify-self: start; margin-top: 8px; }
}

/* ---------- Collaborations ---------- */
.collabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 72px);
}
@media (max-width: 960px) { .collabs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .collabs { grid-template-columns: 1fr; } }

.collab h3 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(28px, 2.8vw, 40px);
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.collab__line {
  color: var(--brass);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.collab p { color: var(--text); line-height: 1.7; }

/* ---------- Video ---------- */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0B0908;
  border: 1px solid var(--rule);
  overflow: hidden;
}
.video--featured {
  margin-bottom: 24px;
  background-size: cover;
  background-position: center;
}
.video__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--mute);
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(184,134,75,0.08), transparent 70%);
}
.video__placeholder--overlay {
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(0,0,0,0.35), rgba(0,0,0,0.55) 80%);
  color: var(--text);
  cursor: pointer;
}
.video__placeholder--overlay .play {
  background: rgba(20,17,15,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.video__placeholder--overlay p { color: rgba(242,237,230,0.85); }
.video__placeholder .play {
  font-size: 28px;
  color: var(--brass);
  width: 64px;
  height: 64px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding-left: 4px;
}
.video__placeholder p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.video__placeholder code {
  color: var(--brass-hi);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}
.video iframe { width: 100%; height: 100%; border: 0; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.video-grid--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) {
  .video-grid,
  .video-grid--two { grid-template-columns: 1fr; }
}

.video[style*="background-image"] {
  background-size: cover;
  background-position: center;
}

.streaming {
  margin-top: 32px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--mute);
}
.streaming a { color: var(--text); border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.streaming a:hover { color: var(--brass-hi); border-color: var(--brass); }

/* ---------- Awards ---------- */
.awards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 72ch;
}
.awards li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  color: var(--text);
}
.awards li strong { font-weight: 500; }

/* ---------- Press quotes ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 56px);
}
@media (max-width: 880px) { .quotes { grid-template-columns: 1fr; } }

.quote { margin: 0; }
.quote blockquote {
  margin: 0 0 18px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.35;
  color: var(--text);
}
.quote figcaption {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ---------- Booking ---------- */
.booking {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 4vw, 72px);
}
@media (max-width: 880px) { .booking { grid-template-columns: 1fr; } }

.booking__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.field input,
.field textarea {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 2px;
  transition: border-color 180ms ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
}
.field textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -10000px; }

.booking__portrait {
  margin: 0 0 28px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--rule);
  max-width: 280px;
}
.booking__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(0.15) contrast(1.02);
}

.booking__aside h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--text);
}
.booking__aside h3 + p { margin-top: 0; }
.booking__aside p { margin: 0 0 24px; line-height: 1.7; color: var(--text); font-size: 15px; }
.link { color: var(--brass); border-bottom: 1px solid rgba(184,134,75,0.4); padding-bottom: 1px; }
.link:hover { color: var(--brass-hi); border-color: var(--brass-hi); }

/* ---------- Teaching ---------- */
.teaching {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) var(--gutter);
  text-align: center;
  border-top: 1px solid var(--rule);
}
.teaching p { color: var(--mute); margin: 0; font-size: 14px; letter-spacing: 0.02em; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--rule);
  padding: 40px var(--gutter) 56px;
  max-width: var(--max);
  margin: 0 auto;
}
.footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__mark {
  font-family: var(--display);
  font-size: 16px;
  margin: 0;
}
.footer__links { display: flex; gap: 22px; }
.footer__links a { font-size: 13px; color: var(--mute); }
.footer__links a:hover { color: var(--brass-hi); }
.footer__fine {
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ---------- Academy ---------- */
.academy__aside h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--text);
}
.academy__aside p { margin: 0 0 20px; line-height: 1.7; font-size: 15px; color: var(--text); }
.academy__aside .btn { margin-top: 2px; }

/* ---------- Form status ---------- */
.form-status {
  margin: 14px 0 0;
  font-size: 14px;
  letter-spacing: 0.02em;
  min-height: 1.2em;
  color: var(--mute);
}
.form-status.is-ok { color: var(--brass-hi); }
.form-status.is-err { color: #E0A08A; }

/* ---------- Schedule loading / empty rows ---------- */
.schedule__loading,
.schedule__empty {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.schedule__empty span { color: var(--mute); max-width: 60ch; display: block; }

/* ---------- Mobile refinements ---------- */
.prose p, .tour__meta, .schedule__meta, .collab p, .awards li { overflow-wrap: break-word; }
.field input, .field textarea { min-width: 0; }
@media (max-width: 600px) {
  /* Stack the two-up booking fields on small phones */
  .booking__form { grid-template-columns: 1fr; }
}

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
