/* ==========================================================================
   Asher Shehzad — Tabla
   Design system + site styles
   --------------------------------------------------------------------------
   Palette is warm, low-saturation and paper-like: ivory ground, ink text,
   muted madder + brass accents. Ornament comes from geometry (jaali lattice,
   arches, taal beat markers) rather than colour, so nothing shouts.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ground */
  --paper:        #FAF7F1;
  --paper-warm:   #F4EEE3;
  --paper-deep:   #EDE5D7;
  --ink:          #211C17;
  --ink-soft:     #554C42;
  --ink-faint:    #8A7F72;

  /* Accents */
  --madder:       #9C4A32;   /* muted terracotta — primary accent */
  --madder-deep:  #7E3A26;
  --brass:        #A9884F;   /* ornament hairlines */
  --indigo:       #3B4A5A;   /* deep sections */
  --indigo-deep:  #2A3642;
  --sage:         #6E8073;

  /* Lines & shadows */
  --line:         rgba(33, 28, 23, 0.13);
  --line-soft:    rgba(33, 28, 23, 0.07);
  --line-brass:   rgba(169, 136, 79, 0.38);
  --shadow-sm:    0 1px 2px rgba(33,28,23,.04), 0 4px 14px rgba(33,28,23,.05);
  --shadow-md:    0 2px 6px rgba(33,28,23,.05), 0 16px 40px rgba(33,28,23,.09);
  --shadow-lg:    0 4px 10px rgba(33,28,23,.06), 0 30px 70px rgba(33,28,23,.13);

  /* Type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Metrics */
  --wrap:         1180px;
  --wrap-narrow:  760px;
  --radius:       3px;
  --radius-lg:    6px;
  --arch:         46% 46% var(--radius) var(--radius) / 30% 30% var(--radius) var(--radius);

  /* Motion */
  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur:          .5s;

  /* Header */
  --header-h:     76px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.72;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Jaali lattice — a khatam (eight-point star) tessellation: two overlapping
   squares per star, one axis-aligned and one turned 45°, repeated at the tile
   centre and corners so the stars interlock the way they do in carved screens.
   Kept almost invisible so it reads as texture in the paper rather than as
   decoration laid on top of it. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23211C17' stroke-width='.9'%3E%3Cpath d='M18.3 18.3H53.7V53.7H18.3Z'/%3E%3Cpath d='M36 11L61 36L36 61L11 36Z'/%3E%3Cpath d='M-17.7 -17.7H17.7V17.7H-17.7Z'/%3E%3Cpath d='M0 -25L25 0L0 25L-25 0Z'/%3E%3Cpath d='M54.3 -17.7H89.7V17.7H54.3Z'/%3E%3Cpath d='M72 -25L97 0L72 25L47 0Z'/%3E%3Cpath d='M-17.7 54.3H17.7V89.7H-17.7Z'/%3E%3Cpath d='M0 47L25 72L0 97L-25 72Z'/%3E%3Cpath d='M54.3 54.3H89.7V89.7H54.3Z'/%3E%3Cpath d='M72 47L97 72L72 97L47 72Z'/%3E%3C/g%3E%3C/svg%3E");
}

main, header, footer { position: relative; z-index: 1; }

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

/* Browsers give <figure> a 40px inline margin by default — that would inset
   every framed portrait and push the gallery past the viewport. */
figure, blockquote { margin: 0; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
h4 { font-size: 1.14rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

::selection { background: rgba(156, 74, 50, .16); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 12px 20px; z-index: 999; border-radius: 0 0 var(--radius) 0;
  font-size: .85rem; letter-spacing: .04em;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 26px; }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(68px, 9vw, 122px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 78px); }
.section--warm { background: var(--paper-warm); }
.section--deep { background: var(--indigo); color: #EFEAE1; }
.section--deep h1, .section--deep h2, .section--deep h3 { color: #FBF8F2; }

/* Hairline separators between adjacent light sections */
.section--warm + .section--warm { border-top: 1px solid var(--line-soft); }

.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }

/* --------------------------------------------------------------------------
   4. Typographic helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  font-size: .715rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--madder);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--line-brass);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 26px; height: 1px;
  background: var(--line-brass);
  flex: none;
}
.section--deep .eyebrow { color: #C9A87A; }
.section--deep .eyebrow::before,
.section--deep .eyebrow::after { background: rgba(201,168,122,.4); }

.lede {
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 350;
}
.section--deep .lede { color: rgba(239,234,225,.82); }

.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.15em; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose em { font-style: italic; }

.text-center { text-align: center; }
.text-center .eyebrow { justify-content: center; }
.text-center .eyebrow::after {
  content: ""; width: 26px; height: 1px;
  background: var(--line-brass); flex: none;
}
.text-center .lede,
.text-center .prose { margin-inline: auto; }

.serif-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-variant-numeric: lining-nums;
}

/* --------------------------------------------------------------------------
   5. Ornament
   -------------------------------------------------------------------------- */

/* Teentaal — sixteen beats, the sam (beat 1) accented. A real rhythmic cycle
   used as a divider rather than an arbitrary decorative rule. */
.taal-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 auto;
  padding-block: 4px;
}
.taal-rule span {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--line-brass);
  flex: none;
}
.taal-rule span.sam {
  width: 7px; height: 7px;
  background: var(--madder);
  opacity: .68;
}
.taal-rule span.khali {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-brass);
  width: 5px; height: 5px;
}
.section--deep .taal-rule span { background: rgba(201,168,122,.45); }
.section--deep .taal-rule span.sam { background: #C9A87A; opacity: .9; }
.section--deep .taal-rule span.khali { background: transparent; box-shadow: inset 0 0 0 1px rgba(201,168,122,.5); }

.divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-block: clamp(40px, 5vw, 62px);
}
.divider::before, .divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, transparent, var(--line-brass), transparent);
}

/* Small cusped-arch motif used in headings and cards */
.motif {
  width: 22px; height: 26px;
  flex: none;
  color: var(--brass);
  opacity: .75;
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 100px;
  font-size: .855rem;
  font-weight: 500;
  letter-spacing: .045em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform .25s var(--ease),
              box-shadow var(--dur) var(--ease);
  font-family: var(--font-body);
  line-height: 1;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--accent { --btn-bg: var(--madder); --btn-bd: var(--madder); --btn-fg: #FFF9F2; }
.btn--accent:hover { --btn-bg: var(--madder-deep); --btn-bd: var(--madder-deep); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); }

.btn--light { --btn-bg: transparent; --btn-fg: #F6F1E8; --btn-bd: rgba(246,241,232,.42); }
.btn--light:hover { --btn-bg: #F6F1E8; --btn-fg: var(--ink); --btn-bd: #F6F1E8; }

.btn--sm { padding: 10px 20px; font-size: .78rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* Understated inline link with a rule that draws on hover */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--madder);
  padding-bottom: 3px;
  position: relative;
}
.link-arrow::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  opacity: .28;
  transform-origin: left;
  transition: transform .45s var(--ease), opacity .45s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1.0); opacity: .75; }
.link-arrow svg { transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--deep .link-arrow { color: #D3B489; }

/* --------------------------------------------------------------------------
   7. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250, 247, 241, .88);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: background .4s var(--ease), border-color .4s var(--ease),
              box-shadow .4s var(--ease);
}

/* Over a full-bleed hero the header floats transparently until scroll */
.site-header--over {
  position: fixed;
  left: 0; right: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  color: #FBF7F0;
}
.site-header--over.is-stuck {
  background: rgba(250, 247, 241, .92);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--line-soft);
  color: var(--ink);
  box-shadow: 0 1px 24px rgba(33,28,23,.06);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 30px; height: 34px; flex: none; color: var(--madder); }
.site-header--over:not(.is-stuck) .brand__mark { color: #D9B88C; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: .005em;
}
.brand__role {
  font-size: .585rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  opacity: .62;
  margin-top: 5px;
  font-weight: 500;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link {
  font-size: .845rem;
  font-weight: 450;
  letter-spacing: .015em;
  position: relative;
  padding-block: 6px;
  opacity: .82;
  transition: opacity .3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { opacity: 1; font-weight: 550; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  color: inherit;
  padding: 0;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header--over:not(.is-stuck) .nav-toggle { border-color: rgba(251,247,240,.34); }
.nav-toggle:hover { border-color: currentColor; }
.nav-toggle__bars { width: 17px; height: 11px; position: relative; }
.nav-toggle__bars span {
  position: absolute; left: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(4.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { transform: translateY(-4.75px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    background: var(--paper);
    padding: 32px 26px calc(32px + env(safe-area-inset-bottom));
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
    color: var(--ink);
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__link {
    font-family: var(--font-display);
    font-size: 2rem;
    padding-block: 13px;
    opacity: 1;
    border-bottom: 1px solid var(--line-soft);
    width: 100%;
    max-width: 420px;
    text-align: center;
  }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 26px; }
  body.nav-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(94svh, 880px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(56px, 8vw, 96px);
  overflow: hidden;
  background: var(--indigo-deep);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 32%;
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(20,17,14,.90) 0%, rgba(20,17,14,.52) 38%, rgba(20,17,14,.22) 68%, rgba(20,17,14,.42) 100%),
    linear-gradient(to right, rgba(20,17,14,.42), transparent 62%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; color: #FCF8F1; }
.hero__eyebrow {
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #D9B88C;
  margin-bottom: 22px;
  font-weight: 500;
}
.hero h1 {
  font-size: clamp(3rem, 9vw, 6.6rem);
  font-weight: 300;
  letter-spacing: -0.022em;
  margin-bottom: 20px;
  color: #FDFAF4;
}
.hero h1 em { font-style: normal; color: #E4C79C; }
.hero__sub {
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  max-width: 46ch;
  color: rgba(252,248,241,.8);
  font-weight: 350;
  line-height: 1.62;
  margin-bottom: 34px;
}
.hero .btn-row { margin-bottom: 8px; }
.hero__scroll {
  position: absolute;
  right: 26px;
  bottom: clamp(56px, 8vw, 96px);
  z-index: 2;
  writing-mode: vertical-rl;
  font-size: .64rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(252,248,241,.5);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 54px;
  background: linear-gradient(to bottom, rgba(252,248,241,.42), transparent);
}
@media (max-width: 900px) { .hero__scroll { display: none; } }

/* Interior page banner */
.page-head {
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(40px, 5vw, 62px);
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.page-head h1 { margin-bottom: 18px; }
.page-head .lede { max-width: 60ch; }
.page-head__ornament {
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  width: 300px; height: 300px;
  color: var(--brass);
  opacity: .11;
  pointer-events: none;
}
@media (max-width: 760px) { .page-head__ornament { display: none; } }

/* --------------------------------------------------------------------------
   9. Stat band
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
}
.stat {
  background: var(--paper);
  padding: clamp(26px, 3.4vw, 40px) 20px;
  text-align: center;
}
.section--warm .stat { background: var(--paper-warm); }
.section--deep .stats { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.14); }
.section--deep .stat { background: var(--indigo); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.3rem);
  font-weight: 400;
  line-height: 1;
  color: var(--madder);
  margin-bottom: 12px;
  font-variant-numeric: lining-nums;
}
.section--deep .stat__num { color: #D9B88C; }
.stat__label {
  font-size: .655rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
}
.section--deep .stat__label { color: rgba(239,234,225,.62); }

/* --------------------------------------------------------------------------
   10. Arch-framed imagery
   -------------------------------------------------------------------------- */
.arch {
  position: relative;
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--paper-deep);
  box-shadow: var(--shadow-md);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--framed { padding: 9px; background: var(--paper); box-shadow: var(--shadow-lg); }
.arch--framed::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid var(--line-brass);
  border-radius: var(--arch);
  pointer-events: none;
  z-index: 2;
}
.arch--framed img { border-radius: var(--arch); }

.media-figure { position: relative; }
.media-figure__caption {
  margin-top: 16px;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 10px;
}
.media-figure__caption::before {
  content: ""; width: 16px; height: 1px;
  background: var(--line-brass); flex: none;
}

/* Two-column feature: image beside prose */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}
.feature--reverse .feature__media { order: 2; }

/* Wide body + narrow sidebar (contact page). Declared as a class, not an
   inline style, so the mobile rule below can still override it. */
.feature--aside {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: start;
}

@media (max-width: 860px) {
  .feature,
  .feature--aside { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
}

/* --------------------------------------------------------------------------
   11. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 34px);
  position: relative;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.section--warm .card { background: var(--paper); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-brass); }
.card__icon { width: 30px; height: 30px; color: var(--madder); margin-bottom: 20px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: .95rem; }
.card__foot { margin-top: auto; padding-top: 22px; }

/* Card with an ornamental corner rule */
.card--ornate::before {
  content: "";
  position: absolute;
  top: 12px; left: 12px;
  width: 22px; height: 22px;
  border-top: 1px solid var(--line-brass);
  border-left: 1px solid var(--line-brass);
  border-radius: 3px 0 0 0;
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.card--ornate::after {
  content: "";
  position: absolute;
  bottom: 12px; right: 12px;
  width: 22px; height: 22px;
  border-bottom: 1px solid var(--line-brass);
  border-right: 1px solid var(--line-brass);
  border-radius: 0 0 3px 0;
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.card--ornate:hover::before, .card--ornate:hover::after { opacity: 1; }

/* --------------------------------------------------------------------------
   12. Shows
   -------------------------------------------------------------------------- */
.show-list { border-top: 1px solid var(--line); }

.show {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding-block: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease);
}
.show:hover { background: rgba(169,136,79,.045); }

.show__date { text-align: center; }
.show__day {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 400;
  font-variant-numeric: lining-nums;
}
.show__month {
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--madder);
  margin-top: 7px;
  font-weight: 600;
}
.show__year { font-size: .66rem; letter-spacing: .16em; color: var(--ink-faint); margin-top: 3px; }

.show__body h3 { margin-bottom: 7px; font-size: 1.42rem; }
.show__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: .85rem;
  color: var(--ink-soft);
  align-items: center;
}
.show__meta span { display: inline-flex; align-items: center; gap: 7px; }
.show__meta svg { width: 14px; height: 14px; opacity: .5; flex: none; }
.show__note { font-size: .85rem; color: var(--ink-faint); margin-top: 8px; font-style: italic; }

.show__action { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

.tag {
  display: inline-block;
  font-size: .63rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 100px;
  border: 1px solid var(--line-brass);
  color: var(--ink-faint);
  font-weight: 500;
  white-space: nowrap;
}
.tag--sold { border-color: rgba(33,28,23,.16); color: var(--ink-faint); }
.tag--free { border-color: rgba(110,128,115,.5); color: var(--sage); }

@media (max-width: 760px) {
  .show { grid-template-columns: 78px minmax(0, 1fr); }
  .show__day { font-size: 1.95rem; }
  .show__action { grid-column: 1 / -1; align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
}

.empty-state {
  text-align: center;
  padding: clamp(46px, 6vw, 72px) 26px;
  border: 1px dashed var(--line-brass);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.5);
}
.empty-state h3 { margin-bottom: 12px; }
.empty-state p { color: var(--ink-soft); max-width: 46ch; margin-inline: auto; }

/* --------------------------------------------------------------------------
   13. Video
   -------------------------------------------------------------------------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: clamp(22px, 3vw, 34px);
}
.video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--indigo-deep);
  aspect-ratio: 16 / 9;
  cursor: pointer;
  border: 0;
  padding: 0;
  width: 100%;
  display: block;
  color: inherit;
  font: inherit;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .45s var(--ease), transform .45s var(--ease);
}
.video:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .4s; }
.video:hover img { transform: scale(1.045); }
.video__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,15,12,.85), rgba(18,15,12,.14) 55%, rgba(18,15,12,.28));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  text-align: left;
}
.video__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(250,247,241,.14);
  border: 1px solid rgba(250,247,241,.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: grid;
  place-items: center;
  color: #FDFAF4;
  transition: background .4s var(--ease), transform .4s var(--ease), border-color .4s var(--ease);
}
.video:hover .video__play { background: var(--madder); border-color: var(--madder); transform: translate(-50%, -50%) scale(1.07); }
.video__play svg { width: 19px; height: 19px; margin-left: 3px; }
.video__title { color: #FDFAF4; font-family: var(--font-display); font-size: 1.24rem; line-height: 1.24; margin: 0; }
.video__meta { color: rgba(253,250,244,.66); font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; margin: 8px 0 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------
   14. Gallery
   -------------------------------------------------------------------------- */
.gallery {
  columns: 3;
  column-gap: clamp(12px, 1.6vw, 18px);
}
@media (max-width: 900px) { .gallery { columns: 2; } }
@media (max-width: 520px) { .gallery { columns: 1; } }

.gallery__item {
  break-inside: avoid;
  margin-bottom: clamp(12px, 1.6vw, 18px);
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--paper-deep);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .45s var(--ease);
}
.gallery__item:hover { box-shadow: var(--shadow-md); }
.gallery__item img { width: 100%; transition: transform .8s var(--ease), filter .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.035); }
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 16px 14px;
  background: linear-gradient(to top, rgba(18,15,12,.82), transparent);
  color: #FBF7F0;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.gallery__item:hover figcaption,
.gallery__item:focus-visible figcaption { opacity: 1; transform: translateY(0); }

/* Horizontal photo strip for the home page */
.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.strip > * { scroll-snap-align: start; }
.strip::-webkit-scrollbar { height: 5px; }
.strip::-webkit-scrollbar-thumb { background: var(--line-brass); border-radius: 4px; }
.strip::-webkit-scrollbar-track { background: var(--line-soft); }
.strip__item {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-deep);
  cursor: zoom-in;
  border: 0;
  padding: 0;
  position: relative;
}
.strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.strip__item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(16, 13, 11, .95);
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 84svh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
}
.lightbox__caption {
  color: rgba(251,247,240,.68);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 20px;
}
.lightbox__btn {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(251,247,240,.09);
  border: 1px solid rgba(251,247,240,.24);
  color: #FBF7F0;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.lightbox__btn:hover { background: rgba(251,247,240,.2); border-color: rgba(251,247,240,.5); }
.lightbox__btn svg { width: 18px; height: 18px; }
.lightbox__close { top: clamp(16px, 3vw, 32px); right: clamp(16px, 3vw, 32px); }
.lightbox__prev { left: clamp(10px, 2.4vw, 32px); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(10px, 2.4vw, 32px); top: 50%; transform: translateY(-50%); }
@media (max-width: 620px) {
  .lightbox__prev { left: 12px; }
  .lightbox__next { right: 12px; }
}

/* --------------------------------------------------------------------------
   15. Timeline (About)
   -------------------------------------------------------------------------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 4px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--line-brass), var(--line-soft));
}
.timeline__item { position: relative; padding-bottom: 34px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -30px; top: 9px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--brass);
  transition: background .4s var(--ease);
}
.timeline__item:hover::before { background: var(--madder); border-color: var(--madder); }
.timeline__years {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--madder);
  font-weight: 600;
  margin-bottom: 6px;
}
.timeline__item h4 { margin-bottom: 5px; font-size: 1.16rem; }
.timeline__where { font-size: .9rem; color: var(--ink-soft); margin-bottom: 8px; }
.timeline__item p { font-size: .9rem; color: var(--ink-faint); margin: 0; }

/* Simple label/value list */
.deflist { border-top: 1px solid var(--line-soft); }
.deflist__row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line-soft);
}
.deflist__label {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  padding-top: 4px;
}
.deflist__value h4 { margin-bottom: 4px; }
.deflist__value p { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.deflist__value p + p { margin-top: 10px; }
/* Single-column variant, for narrow sidebars */
.deflist--stacked .deflist__row { grid-template-columns: 1fr; gap: 8px; }

@media (max-width: 700px) { .deflist__row { grid-template-columns: 1fr; gap: 8px; } }

/* Pill list of venues / platforms */
.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pills li {
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .845rem;
  color: var(--ink-soft);
  background: var(--paper);
  transition: border-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.pills li:hover { border-color: var(--line-brass); color: var(--ink); transform: translateY(-2px); }
.section--deep .pills li {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.16);
  color: rgba(239,234,225,.84);
}
.section--deep .pills li:hover { border-color: rgba(217,184,140,.6); color: #FBF8F2; }

/* --------------------------------------------------------------------------
   16. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label {
  font-size: .715rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}
.field .req { color: var(--madder); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.65; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 L6 6.5 L11 1.5' fill='none' stroke='%238A7F72' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
  cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--madder);
  box-shadow: 0 0 0 3px rgba(156,74,50,.11);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(138,127,114,.72); }
.field__hint { font-size: .78rem; color: var(--ink-faint); }

/* Honeypot — hidden from people, visible to naive bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: .9rem;
  display: none;
  border: 1px solid transparent;
}
.form__status.is-visible { display: block; }
.form__status--ok { background: rgba(110,128,115,.11); border-color: rgba(110,128,115,.4); color: #3F5246; }
.form__status--err { background: rgba(156,74,50,.09); border-color: rgba(156,74,50,.34); color: var(--madder-deep); }
.form__status--info { background: rgba(169,136,79,.1); border-color: var(--line-brass); color: #6B5730; }

.form-panel {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 46px);
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   17. FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line-soft); }
.faq details {
  border-bottom: 1px solid var(--line-soft);
}
.faq summary {
  padding-block: 22px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  transition: color .3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--madder); }
.faq summary::after {
  content: "";
  width: 11px; height: 11px;
  flex: none;
  border-right: 1.5px solid var(--brass);
  border-bottom: 1.5px solid var(--brass);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding-bottom: 24px; color: var(--ink-soft); max-width: 68ch; font-size: .96rem; }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--indigo-deep);
  color: rgba(238,233,224,.72);
  padding-block: clamp(56px, 7vw, 88px) 32px;
  font-size: .92rem;
}
.site-footer a { transition: color .3s var(--ease); }
.site-footer a:hover { color: #E4C79C; }
.site-footer h4 {
  color: #FBF8F2;
  font-size: .715rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(30px, 4vw, 52px);
  padding-bottom: clamp(38px, 5vw, 56px);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: #FBF8F2;
  margin-bottom: 8px;
  line-height: 1.1;
}
.footer-brand__role {
  font-size: .64rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #C9A87A;
  margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }

.socials { display: flex; gap: 11px; margin-top: 18px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(238,233,224,.22);
  display: grid;
  place-items: center;
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease), color .35s var(--ease);
}
.socials a:hover { border-color: #C9A87A; background: rgba(201,168,122,.14); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

.footer-bottom {
  border-top: 1px solid rgba(238,233,224,.13);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(238,233,224,.5);
}

/* --------------------------------------------------------------------------
   19. Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }

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

/* --------------------------------------------------------------------------
   20. Utilities
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: clamp(34px, 4vw, 54px); }
.mt-md { margin-top: clamp(22px, 3vw, 34px); }
.mt-sm { margin-top: 16px; }
.stack-head { margin-bottom: clamp(36px, 4.4vw, 58px); }
.stack-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.stack-head--split > div { max-width: 62ch; }
.stack-head h2:last-child { margin-bottom: 0; }
.no-wrap { white-space: nowrap; }
