/* ==========================================================================
   Nishant Hagjer — site styles
   Palette and type follow the Polyphia reference: pure black, warm ivory,
   antique gold, a book serif (Newsreader) and a condensed grotesque for labels.
   ========================================================================== */
:root {
  /* Colours taken from anikanilles.com: near-black, pure white, vermilion #D8CBA0, sand #E0D097, slate #26282A. */
  --black: #0C0C0C;
  --panel: #141414;
  --raised: #1C1C1C;
  --slate: #26282A;
  --ivory: #FFFFFF;          /* main text */
  --paper: #E0D097;          /* sand */
  --sand: #E0D097;
  --gold: #D8CBA0;           /* accent: soft sand (name kept so the whole stylesheet follows) */
  --gold-hi: #EFE6C4;        /* lighter sand for emphasised words and numerals */
  --brass: #6E6650;          /* muted rule colour for frames */
  --garnet: #4B4733;         /* dark olive, for accents on the sand band */
  --garnet-deep: #161718;    /* alternate dark sections */
  --red: #D63022;            /* errors */
  --verd: #E0D097;           /* highlight / tags (sand) */
  --lav: var(--verd);
  --muted: rgba(255, 255, 255, .74);
  --faint: rgba(255, 255, 255, .48);
  --line: rgba(255, 255, 255, .16);
  --tint: transparent;       /* photos stay black and white, as on the reference site */
  /* Type, taken from anikanilles.com: Bebas Neue for headings, Open Sans for text and buttons, Helvetica for navigation. */
  --serif: "Open Sans", "Helvetica Neue", Arial, sans-serif;      /* body text */
  --display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif; /* headings, numerals, the name */
  --sc: var(--display);                                            /* labels */
  --gothic: var(--display);                                        /* the name */
  --nav: "Helvetica Neue", Helvetica, Arial, sans-serif;           /* navigation */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --container: 1320px;
  --navh: 2.7rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-synthesis: none; scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--ivory);
  font: 400 1.05rem/1.7 var(--serif); -webkit-font-smoothing: antialiased;
  overflow-x: hidden; animation: fadein .7s var(--ease);
}
/* film grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1.4 0 0 0 -.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd, figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--verd); outline-offset: 4px; }
::selection { background: var(--gold); color: #000; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 400; background: var(--ivory); color: var(--black); padding: .6rem 1rem; transition: top .3s; }
.skip-link:focus { top: 1rem; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---- Type ---- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1; letter-spacing: .02em; }
h2 { font-size: clamp(3.2rem, 7.5vw, 6rem); }
h2 em, h1 em, .lead em { font-style: normal; font-weight: 400; color: var(--gold-hi); }
h3 { font-size: clamp(1.9rem, 2.8vw, 2.4rem); }
p { color: var(--muted); }
p + p { margin-top: 1.1em; }
.lead { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.5; color: var(--ivory); font-weight: 300; margin-bottom: 1.2em; }
.small { font-size: .95rem; }
.label {
  display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem;
  font: 400 1.35rem/1 var(--sc); letter-spacing: .14em; color: var(--gold);
}
.label::before { content: ""; width: .5rem; height: .5rem; background: var(--gold); transform: rotate(45deg); flex: none; }
.link { font: 400 1.3rem/1 var(--sc); letter-spacing: .12em; color: var(--gold); border-bottom: 1px solid var(--brass); padding-bottom: .3rem; transition: color .3s, border-color .3s; }
.link:hover { color: var(--ivory); border-color: var(--ivory); }

/* Primary buttons are brass; hover warms to ivory. */
.btn {
  display: inline-block; padding: 1.05rem 2.1rem; background: var(--sand); color: #000; border: 1px solid var(--sand);
  font: 600 .9rem/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s, box-shadow .3s;
  box-shadow: 0 0 0 0 rgba(224, 208, 151, 0);
}
.btn:hover { background: #fff; border-color: #fff; color: #000; box-shadow: none; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); box-shadow: none; }
.btn--ghost:hover { background: #fff; color: #000; border-color: #fff; }

/* ---- Layout ---- */
.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--panel { background: var(--panel); }
/* Garnet: a deep red-black surface for contrast, like the inside of a lacquered shell. */
.section--garnet { background: var(--panel); }
.section--glow { }
.section--gold-glow { }
.split { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide { grid-template-columns: 5fr 6fr; } }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---- Reveal on scroll ---- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Top bar (slim, like the reference): small uppercase links, centred
   ========================================================================== */
.topbar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: center; position: sticky; height: 42px; padding-inline: var(--gutter); background: #0C0C0C; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.topbar__brand { position: absolute; left: var(--gutter); top: 50%; translate: 0 -50%; font: 400 1.5rem/1 var(--display); letter-spacing: .06em; color: #fff; text-transform: uppercase; white-space: nowrap; transition: color .25s; }
.topbar__brand:hover { color: var(--gold); }
@media (max-width: 1099px) and (min-width: 900px) { .topbar__brand { display: none; } }
.nav__toggle { display: none; }
.nav__links { display: flex; gap: clamp(1.4rem, 2.6vw, 2.4rem); }
.nav__links a { position: relative; display: block; padding: 1rem 0; font: 500 .74rem/1 var(--nav); letter-spacing: .08em; text-transform: uppercase; color: #fff; transition: color .25s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--gold); }

@media (max-width: 899px) {
  .topbar { height: 54px; justify-content: space-between; }
  .topbar__brand { display: block; position: relative; left: auto; top: auto; translate: none; z-index: 70; }
  .nav__toggle { display: block; position: relative; z-index: 70; width: 44px; height: 44px; margin-right: -10px; }
  .nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .5s var(--ease); }
  .nav__toggle span:first-child { top: 16px; } .nav__toggle span:last-child { top: 26px; }
  .nav-open .nav__toggle span:first-child { transform: translateY(5px) rotate(45deg); }
  .nav-open .nav__toggle span:last-child { transform: translateY(-5px) rotate(-45deg); }
  .topbar__nav { position: static; }
  .topbar .nav__links {
    position: fixed; inset: 0; z-index: 65; counter-reset: item; display: flex; flex-direction: column; justify-content: center;
    gap: 0; padding: 5rem var(--gutter) 3rem; overflow-y: auto; background: #0C0C0C;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav-open .topbar .nav__links { opacity: 1; visibility: visible; }
  .nav__links li { counter-increment: item; border-bottom: 1px solid rgba(255, 255, 255, .1); opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .nav-open .nav__links li { opacity: 1; transform: none; }
  .nav-open .nav__links li:nth-child(1) { transition-delay: .06s; } .nav-open .nav__links li:nth-child(2) { transition-delay: .12s; }
  .nav-open .nav__links li:nth-child(3) { transition-delay: .18s; } .nav-open .nav__links li:nth-child(4) { transition-delay: .24s; }
  .nav-open .nav__links li:nth-child(5) { transition-delay: .3s; } .nav-open .nav__links li:nth-child(6) { transition-delay: .36s; } .nav-open .nav__links li:nth-child(7) { transition-delay: .42s; }
  .nav__links a { display: flex; align-items: baseline; gap: 1.1rem; padding: .9rem 0; font-family: var(--display); font-size: clamp(2.4rem, 11vw, 3.6rem); font-weight: 400; letter-spacing: .03em; text-transform: none; }
  .nav__links a::before { content: counter(item, decimal-leading-zero); font: 400 1.1rem var(--display); letter-spacing: .08em; color: var(--gold); min-width: 1.8rem; }
  .nav-open { overflow: hidden; }
}

/* ==========================================================================
   Home hero: a very large title over the photo, nothing else
   ========================================================================== */
.hero { position: relative; height: clamp(520px, 90vh, 900px); overflow: hidden; background: var(--black); isolation: isolate; }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(.72) contrast(1.05); animation: slowzoom 26s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 50%, rgba(12, 12, 12, .15), rgba(12, 12, 12, .6) 100%); }
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.06); } }
/* Name: letters fade up gently, one after another. */
.hero__title { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--gutter); }
.hn { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; font: 400 clamp(4.4rem, 15vw, 15rem)/.88 var(--display); color: #fff; text-shadow: 0 6px 40px rgba(0, 0, 0, .45); }
.hn__word { display: inline-flex; }
.hn__gap { width: .28em; }
.hn__ch { display: inline-block; opacity: 0; transform: translateY(.14em); animation: chIn 1.1s cubic-bezier(.22, .8, .3, 1) var(--d) forwards; }
@keyframes chIn { to { opacity: 1; transform: none; } }
.hero__sub { margin: clamp(1rem, 2.2vw, 1.8rem) 0 0; font: 600 clamp(.72rem, 1.2vw, .95rem)/1.3 var(--serif); letter-spacing: .34em; text-transform: uppercase; color: #fff; opacity: 0; animation: subIn 1s ease 1.2s forwards; }
@keyframes subIn { from { opacity: 0; transform: translateY(8px); } to { opacity: .9; transform: none; } }
@media (max-width: 640px) { .hn { flex-direction: column; align-items: center; font-size: clamp(5rem, 24vw, 8.5rem); } .hn__gap { display: none; } .hero__sub { letter-spacing: .2em; font-size: .7rem; } }
@media (prefers-reduced-motion: reduce) { .hn__ch { opacity: 1; transform: none; animation: none; } .hero__sub { opacity: .9; animation: none; } }

/* ---- About block: rotated label, accent heading, bold justified text ---- */
.about-block { padding-block: clamp(4rem, 9vw, 8rem); }
.about-block__grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 3vw, 3rem); align-items: start; }
.vlabel { writing-mode: vertical-rl; transform: rotate(180deg); font: 400 clamp(5.5rem, 12vw, 11rem)/.8 var(--display); letter-spacing: .02em; color: var(--gold); text-transform: uppercase; user-select: none; }
.about-block__body { max-width: 62rem; }
.h-accent { font-size: clamp(3.4rem, 7vw, 6rem); color: var(--gold); margin-bottom: clamp(1rem, 2vw, 1.8rem); }
.h-accent em { font-style: normal; color: #fff; }
.bold-text { color: #fff; font-weight: 700; text-align: justify; hyphens: auto; letter-spacing: -.005em; }
.bold-text { font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.25; margin-bottom: 1.2em; }
@media (max-width: 640px) { .about-block__grid { grid-template-columns: 1fr; } .vlabel { writing-mode: horizontal-tb; transform: none; font-size: 5.5rem; margin-bottom: -.4rem; } .about-block__body .h-accent { display: none; } .bold-text { text-align: left; } }

/* ---- Photo band with a stage-highlights panel ---- */
.photo-band { display: grid; grid-template-columns: 1.5fr 1fr; min-height: clamp(440px, 44vw, 680px); overflow: hidden; background: var(--panel); }
/* height 0 + min-height 100%: the photo fills the row without its own height stretching it */
.photo-band > img { width: 100%; height: 0; min-height: 100%; object-fit: cover; object-position: 45% 75%; }
.gigs { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 3.6vw, 3.75rem); background: var(--sand); color: var(--black); }
.gigs__title { margin-bottom: clamp(1.25rem, 2.2vw, 2rem); font-size: clamp(3rem, 5.4vw, 5rem); line-height: .9; }
.gigs__list li { display: grid; grid-template-columns: 4rem 1fr; align-items: baseline; padding: clamp(1rem, 1.6vw, 1.4rem) 0; border-top: 1px solid rgba(12, 12, 12, .28); }
.gigs__list li:last-child { border-bottom: 1px solid rgba(12, 12, 12, .28); }
.gigs__year { font: 400 1.25rem/1 var(--display); letter-spacing: .06em; color: var(--garnet); }
.gigs__list h3 { font-size: clamp(1.75rem, 2.5vw, 2.4rem); }
.gigs__list p { margin: .4rem 0 0; font-size: .95rem; line-height: 1.45; color: rgba(12, 12, 12, .8); }
@media (max-width: 820px) { .photo-band { grid-template-columns: 1fr; min-height: 0; } .photo-band > img { height: auto; min-height: 0; aspect-ratio: 4 / 3; } .gigs { padding-inline: var(--gutter); } }

/* ---- Rows: plain list with a button on each, like the dates list ---- */
.h-sub { font-size: clamp(3rem, 6vw, 5rem); margin-bottom: clamp(1.5rem, 3vw, 2.6rem); color: #fff; }
.h-sub span { font: 300 .5em/1 var(--serif); letter-spacing: 0; color: #fff; margin-right: .35em; }
.row { display: grid; grid-template-columns: 96px 9rem 1fr auto; align-items: center; gap: .9rem clamp(1rem, 3vw, 2.4rem); padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #fff; }
.row__thumb { width: 96px; aspect-ratio: 16 / 10; object-fit: cover; }
.row__cat { font: 700 .78rem/1.2 var(--serif); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.row__main { display: flex; flex-direction: column; min-width: 0; }
.row__main strong { font: 400 clamp(1.7rem, 2.6vw, 2.3rem)/1 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.row__main span { font-size: .9rem; color: var(--muted); margin-top: .25rem; }
.row:hover .btn--sm { background: #fff; border-color: #fff; }
.btn--sm { padding: .75rem 1.4rem; font-size: .75rem; }
@media (max-width: 760px) { .row { grid-template-columns: 76px 1fr; } .row__thumb { width: 76px; grid-row: span 2; } .row__cat { grid-column: 2; } .row__main { grid-column: 2; } .row .btn--sm { grid-column: 2; justify-self: start; } }

/* ---- Inner-page heading ---- */
.pagehead { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 5vw, 4rem);  }
.pagehead__grid { display: grid; gap: 1.5rem 4rem; align-items: end; }
@media (min-width: 900px) { .pagehead__grid { grid-template-columns: 1.15fr 1fr; } }
.pagehead h1 { font-size: clamp(5.5rem, 17vw, 14rem); line-height: .88; letter-spacing: .01em; font-weight: 400; }
.pagehead h1 em { font-style: normal; font-weight: 400; color: var(--gold-hi); }
.pagehead p { font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.45; max-width: 34rem; }

/* ---- Photos: plain, no frames ---- */
.frame { position: relative; background: var(--black); }
.frame__clip { position: relative; overflow: hidden; }
.frame img { width: 100%; transition: transform 1.2s var(--ease); }
.frame:hover img { transform: scale(1.03); }
.frame--portrait img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 100% 50%; transform: scale(1.06); transform-origin: 100% 50%; }
.frame--portrait:hover img { transform: scale(1.09); }
.frame--wide img { aspect-ratio: 3 / 2; object-fit: cover; }
.frame figcaption { padding: .8rem 0 0; font-size: .85rem; color: var(--faint); }

/* ---- Work posters ---- */
.cards3 { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 800px) { .cards3 { grid-template-columns: repeat(3, 1fr); } }
.work { display: block; position: relative; }
.work__media { position: relative; isolation: isolate; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel); border: 1px solid var(--brass); padding: 0; }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work:hover .work__media img, .work__media:focus-visible img { transform: scale(1.05); }
.work iframe { width: 100%; aspect-ratio: 16 / 10; border: 1px solid var(--brass); display: block; }
.work__body { display: block; padding-top: 1.1rem; }
.work__tag { display: block; font: 400 1.2rem/1 var(--sc); letter-spacing: .12em; color: var(--gold); margin: 0 0 .55rem; }
.work h3, .work__title { display: block; font: 400 clamp(2rem, 3vw, 2.6rem)/1 var(--display); color: var(--ivory); letter-spacing: .03em; }
.work__body p, .work__sub { display: block; font-size: .98rem; margin: .45rem 0 0; color: var(--muted); }
.video__play { z-index: 2; position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 66px; height: 66px; border: 1px solid var(--ivory); border-radius: 50%; background: rgba(0, 0, 0, .5); transition: transform .5s var(--ease), background .4s, border-color .4s; }
.video__play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 17px solid var(--ivory); border-block: 12px solid transparent; transition: border-color .4s; }
.work:hover .video__play, .work__media:hover .video__play { transform: scale(1.1); background: var(--ivory); }
.work:hover .video__play::after, .work__media:hover .video__play::after { border-left-color: var(--black); }
.work-grid { display: grid; gap: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 700px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.more { margin-top: 3rem; }

/* ---- Endorsements ---- */
.brands { text-align: center; padding: clamp(2.5rem, 5vw, 4rem) var(--gutter); border-block: 1px solid rgba(255, 255, 255, .08); }
.brands .label { display: none; }
.brands__grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 1.8rem clamp(1.2rem, 2.4vw, 2.2rem); max-width: 1320px; margin: 0 auto; }
@media (min-width: 1280px) { .brands__grid { flex-wrap: nowrap; } .brands__grid li { flex: 1 1 0; min-width: 0; } .brand__logo img { max-width: 96px; } }
@media (min-width: 820px) and (max-width: 1279.98px) { .brands__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.brands__grid li { display: flex; flex-direction: column; align-items: center; gap: .55rem; min-width: 5.5rem; }
.brand__logo { display: grid; place-items: center; height: 40px; width: 100%; }
.brand__logo img { height: auto; width: auto; max-height: 38px; max-width: min(120px, 100%); object-fit: contain; filter: grayscale(1) brightness(1.9); opacity: .9; transition: opacity .3s; }
.brands__grid li:hover .brand__logo img { opacity: 1; }
.brand--dark .brand__logo img { filter: brightness(0) invert(1); opacity: .9; }
.brand__name { font: 700 .68rem/1 var(--serif); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.brand__what { font: 400 .66rem/1 var(--serif); letter-spacing: .04em; color: var(--faint); margin-top: -.2rem; }

/* ---- Play teaser banner ---- */
.banner-kit { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(380px, 52vw, 560px); display: flex; align-items: center; background: var(--black); }
.banner-kit img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(.78) contrast(1.05); transition: transform 1.6s var(--ease); }
.banner-kit:hover img { transform: scale(1.04); }
.banner-kit::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--black) 0%, rgba(12, 12, 12, .82) 38%, rgba(12, 12, 12, .1) 80%); }
.banner-kit__text { max-width: 36rem; padding-block: 3rem; }
.banner-kit h2 { margin-bottom: 1.2rem; }
.banner-kit p { margin-bottom: 2rem; }

/* ---- Projects / journey list ---- */
.projects { border-top: 1px solid rgba(255, 255, 255, .12); }
.projects li { display: grid; gap: .4rem 2rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
@media (min-width: 900px) { .projects li { grid-template-columns: 1.1fr .7fr 1.6fr; } }
.projects h3 { font-size: clamp(2.4rem, 4.2vw, 3.4rem); font-weight: 400; letter-spacing: .03em; }
.projects__role { font: 400 1.3rem/1.2 var(--sc); letter-spacing: .12em; color: var(--gold); margin: 0; }
.projects p:last-child { margin: 0; font-size: 1rem; }

/* ---- Light banner (courses / calls to action on ivory) ---- */
.paper { background: var(--sand); color: #000; }
.paper h2, .paper h3, .paper .lead, .paper p { color: var(--black); }
.paper h2 em { color: var(--garnet); }
.paper .label { color: var(--garnet); } .paper .label::before { background: var(--garnet); }
.paper .btn { background: #000; color: #fff; border-color: #000; box-shadow: none; }
.paper .btn:hover { background: var(--garnet); border-color: var(--garnet); color: #fff; box-shadow: none; }
.banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem 4rem; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.banner h2 { font-size: clamp(3rem, 6vw, 5rem); margin-bottom: .7rem; }
.banner p { margin: 0; max-width: 32rem; }
.cta { text-align: center; }
.cta h2 { margin-bottom: 1.1rem; }
.cta p { margin: 0 auto 2.8rem; max-width: 30rem; }

/* ---- About ---- */
.about__grid { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 5fr 6fr; } }
.quote { padding-left: clamp(1.5rem, 4vw, 3rem); border-left: 2px solid var(--garnet); box-shadow: -1px 0 0 0 var(--gold); }
.quote p { font: italic 300 clamp(1.6rem, 3.2vw, 2.5rem)/1.3 var(--serif); color: var(--ivory); letter-spacing: -.01em; }
.quote footer { margin-top: 1.4rem; font: 400 1.3rem/1.3 var(--sc); letter-spacing: .12em; color: var(--gold); }
.timeline { border-top: 1px solid var(--brass); }
.timeline li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.5rem; padding: 1.9rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .timeline li { grid-template-columns: 14rem 1fr; } }
.timeline__year { font: 400 clamp(2.6rem, 4.6vw, 3.8rem)/1 var(--display); letter-spacing: .03em; color: var(--gold); }
.timeline h3 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: .4rem; }
.timeline p { margin: 0; }
.facts { display: grid; gap: 3rem; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 3.5rem; } }
.facts h3 { font-size: clamp(2.4rem, 3.6vw, 3.1rem); margin-bottom: .8rem; }
.facts strong { color: var(--ivory); font-weight: 600; }
.sources { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin: 1rem 0; }
.sources a { font-size: .95rem; color: var(--muted); border-bottom: 1px solid var(--line); transition: color .3s, border-color .3s; }
.sources a:hover { color: var(--gold); border-color: var(--gold); }

/* ---- Courses ---- */
.courses__grid { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
@media (min-width: 900px) { .courses__grid { grid-template-columns: 1.1fr 1fr; } }
.badge { position: absolute; top: 1.6rem; left: 1.6rem; z-index: 3; padding: .55rem .95rem; background: var(--verd); color: var(--black); font: 400 1.3rem/1 var(--sc); letter-spacing: .14em; }
.notify { margin: 2rem 0 1.5rem; max-width: 30rem; }

/* ---- Forms ---- */
.field { position: relative; margin-bottom: 2rem; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--brass); color: var(--ivory); font: 400 1.05rem var(--serif); padding: 1.5rem 0 .6rem; border-radius: 0; resize: vertical; transition: border-color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field label { position: absolute; left: 0; top: 1.4rem; font-size: 1.15rem; color: var(--faint); pointer-events: none; transition: all .35s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 0; font: 400 1.08rem var(--sc); letter-spacing: 0.11em; color: var(--gold); }
.paper .field input { color: var(--black); border-color: rgba(0, 0, 0, .5); }
.paper .field label { color: rgba(0, 0, 0, .55); }
.paper .field input:focus + label, .paper .field input:not(:placeholder-shown) + label { color: var(--garnet); }
/* contact and lesson request forms: label above, answer inside a box */
.contact-form .field { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.4rem; }
.contact-form .field label, .contact-form .field input:focus + label, .contact-form .field input:not(:placeholder-shown) + label, .contact-form .field textarea:focus + label, .contact-form .field textarea:not(:placeholder-shown) + label { position: static; order: -1; font: 400 1.08rem/1.2 var(--sc); letter-spacing: .1em; color: var(--gold); }
.contact-form .field input, .contact-form .field textarea, .contact-form .field select { width: 100%; padding: .8rem 1rem; background-color: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .2); line-height: 1.5; transition: border-color .3s, background-color .3s; }
.contact-form .field textarea { min-height: 8rem; display: block; }
.contact-form .field select { padding-right: 2.6rem; background-position: right 1rem center; }
.contact-form .field select:has(option[value=""]:checked) { color: var(--faint); }
.contact-form .field input:hover, .contact-form .field textarea:hover, .contact-form .field select:hover { border-color: rgba(255, 255, 255, .4); }
.contact-form .field input:focus, .contact-form .field textarea:focus, .contact-form .field select:focus { border-color: var(--gold); background-color: rgba(255, 255, 255, .07); }
.contact-form .btn { margin-top: .4rem; }
@media (min-width: 560px) { .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; } }
.honey { display: none; }
.contact-form .btn:disabled, .notify .btn:disabled { opacity: .6; cursor: wait; }
.form-status { margin-top: 1.2rem; font-size: 1rem; min-height: 1.5em; }

/* ---- Contact ---- */
.contact__grid { display: grid; gap: clamp(3rem, 7vw, 6rem); }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.mail { font: 400 clamp(2.2rem, 4.6vw, 3.6rem)/1.05 var(--display); letter-spacing: .03em; color: var(--ivory); border-bottom: 1px solid var(--gold); padding-bottom: .25rem; transition: color .3s; word-break: break-all; }
.mail:hover { color: var(--gold); }
.social { display: flex; flex-wrap: wrap; gap: .8rem 2.2rem; margin-top: 2.5rem; }
.social a { display: inline-flex; align-items: center; gap: .7rem; font: 400 1.5rem/1 var(--sc); letter-spacing: .12em; color: var(--ivory); transition: color .3s; }
.social a:hover { color: var(--gold); }
.social svg { flex: none; }

/* ---- Footer ---- */
.footer { background: var(--slate); padding: 1.1rem var(--gutter); text-align: center; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem .7rem; font: 500 .68rem/1.6 var(--nav); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.footer__links a { transition: color .25s; }
.footer__links a:hover { color: var(--gold); }
.footer p { margin: .15rem 0 0; font-size: .66rem; letter-spacing: .04em; color: rgba(255, 255, 255, .4); }

/* ==========================================================================
   Virtual drum kits
   ========================================================================== */
.kit-bar { position: sticky; top: calc(var(--navh) + 2px); z-index: 40; background: rgba(12, 12, 12, .94); border-block: 1px solid var(--line); }
@media (max-width: 899px) { .kit-bar { top: 3.4rem; } }
.kit-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 3rem; padding-block: .35rem; }
.kit-stage { padding-block: clamp(3rem, 7vw, 6rem); border-bottom: 1px solid var(--line); }
.kit-stage__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.kit-stage__head h2 { margin-bottom: .6rem; font-size: clamp(2.4rem, 5vw, 4rem); }
.kit-stage__head p { margin: 0; }
.kit-stage__tag { font: 400 1.2rem/1 var(--sc); letter-spacing: .12em; color: var(--black); background: var(--verd); padding: .55rem .9rem; opacity: 0; transition: opacity .5s; }
.kit-stage.is-active .kit-stage__tag { opacity: 1; }
.kit { position: relative; width: 100%; aspect-ratio: var(--ar, 16 / 9); background: var(--panel); border: 1px solid var(--brass); }
.kit svg { display: block; width: 100%; height: 100%; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; overflow: hidden; }
.kit__loading { display: grid; place-items: center; height: 100%; margin: 0; font: 400 1.19rem var(--sc); letter-spacing: 0.11em; }
.kit.is-loaded .kit__loading { display: none; }
.kit-status { margin: .8rem 0 0; text-align: center; min-height: 1.5em; color: var(--gold); font-size: 1rem; }
.kit-credit { text-align: center; font-size: .85rem; margin: .4rem auto 0; color: var(--faint); }
.kit-credit a { border-bottom: 1px solid var(--line); transition: color .3s, border-color .3s; }
.kit-credit a:hover { color: var(--gold); border-color: var(--gold); }
.piece { cursor: pointer; outline: none; }
.hot { fill: transparent; stroke: transparent; transition: fill .3s var(--ease), stroke .3s var(--ease); }
.hot--ring { fill: none; }
.piece:hover .hot:not(.hot--ring) { fill: rgba(224, 208, 151, .18); }
.piece:hover .hot--ring { stroke: rgba(224, 208, 151, .32); }
.piece:focus-visible .hot:not(.hot--ring) { stroke: var(--verd); stroke-width: calc(var(--ks, 30px) * .1); stroke-dasharray: 10 8; }
.piece--ring:focus-visible .hot { stroke: rgba(224, 208, 151, .7); }
.glow { fill: rgba(255, 244, 205, .5); stroke: #FFF1C9; stroke-width: calc(var(--ks, 30px) * .12); opacity: 0; pointer-events: none; filter: blur(calc(var(--ks, 30px) * .22)); mix-blend-mode: screen; }
.glow--ring { fill: none; }
.debug .hot { stroke: #3f3; stroke-width: 3; fill: rgba(60, 255, 60, .14); }
.volume { display: flex; align-items: center; gap: .9rem; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; color: var(--muted); transition: color .3s; }
.icon-btn:hover { color: var(--ivory); }
.icon-btn .slash { display: none; }
.icon-btn[aria-pressed="true"] .slash { display: inline; }
.icon-btn[aria-pressed="true"] .wave { display: none; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 150px; height: 24px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--muted); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--muted); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); margin-top: -6px; border: 0; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 0; }

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

/* ---- Solo quote, cymbal list ---- */
.quote--solo { max-width: 56rem; margin-inline: auto; }
.setup { border-top: 1px solid var(--line); margin-top: 1rem; }
.setup li { padding: .55rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 1.05rem; }
.setup strong { color: var(--ivory); font-family: var(--serif); font-weight: 600; font-size: .98em; }

/* ==========================================================================
   Play page: one kit, a sound library, and drag-and-drop
   ========================================================================== */
.workspace { padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 7vw, 6rem); }
.workspace__grid { display: grid; gap: 2.5rem clamp(1.5rem, 3vw, 3rem); grid-template-areas: "kit" "lib" "setup"; }
.ws-kit { grid-area: kit; min-width: 0; }
.library { grid-area: lib; min-width: 0; }
.ws-setup { grid-area: setup; min-width: 0; }
@media (min-width: 1100px) {
  .workspace__grid { grid-template-columns: minmax(0, 1.65fr) minmax(330px, 1fr); grid-template-areas: "kit lib" "setup lib"; align-items: start; }
  .library { align-self: start; }
}
@media (min-width: 1100px) and (min-height: 860px) {
  .library { position: sticky; top: calc(var(--navh) + 3.4rem); }
}
/* on phones and tablets the kit stays pinned while the library scrolls beneath it, so a sound can be dragged onto it */
@media (max-width: 1099px) {
  .ws-kit { position: sticky; top: 6.9rem; z-index: 30; background: var(--black); padding-block: .5rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); box-shadow: 0 14px 22px -14px rgba(0, 0, 0, .9); }
  .ws-kit .howto { display: none; }
}
@media (max-width: 640px) { .ws-kit { top: 10rem; } }
.howto { display: grid; gap: .8rem 2rem; margin-bottom: 1.5rem; }
@media (min-width: 760px) { .howto { grid-template-columns: repeat(3, 1fr); } }
.howto li { display: flex; gap: .9rem; align-items: baseline; font-size: 1.02rem; line-height: 1.35; color: var(--muted); }
.howto span { flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border: 1px solid var(--brass); border-radius: 50%; font-family: var(--display); font-size: 1.3rem; line-height: 1; padding-top: .1rem; color: var(--gold-hi); }

.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem 2rem; margin-bottom: 3rem; padding: 1.6rem 0; border-block: 1px solid var(--line); }
@media (min-width: 700px) { .specs { grid-template-columns: repeat(5, auto); justify-content: space-between; } }
.specs dt { font: 400 1.25rem/1.1 var(--sc); letter-spacing: .1em; color: var(--gold); margin-bottom: .3rem; }
.specs dd { font: 600 1rem/1.35 var(--serif); color: var(--ivory); }

/* sound library: tabs, one group at a time. No scrolling anywhere in the panel. */
.library { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); }
.library__head { padding: 1.3rem 1.3rem .9rem; }
.library__head h2 { font-size: clamp(2.6rem, 3.6vw, 3.3rem); margin-bottom: .4rem; }
.library__head p { font-size: .92rem; line-height: 1.5; margin: 0; }
.library__body { display: flex; flex-direction: column; }
.lib-cats { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.lib-cats button { padding: .75rem .5rem .6rem; font: 400 1.45rem/1 var(--sc); letter-spacing: .1em; color: var(--muted); border-right: 1px solid var(--line); transition: color .25s, background .25s; }
.lib-cats button:last-child { border-right: 0; }
.lib-cats button:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.lib-cats button.is-active { color: #000; background: var(--gold); }
.lib-chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: .9rem 1.3rem; border-bottom: 1px solid var(--line); }
.lib-chips button { padding: .4rem .8rem .3rem; line-height: 1.2; border: 1px solid var(--line); border-radius: 999px; font: 400 1.15rem/1.2 var(--sc); letter-spacing: .08em; color: var(--muted); transition: color .25s, border-color .25s, background .25s; }
.lib-chips button:hover { color: #fff; border-color: rgba(255, 255, 255, .5); }
.lib-chips button.is-active { color: var(--black); background: #fff; border-color: #fff; }
.lib-panels { padding: .3rem 1.3rem 1.2rem; }
.lib-group[hidden] { display: none; }
.lib-group > header { padding: .8rem 0 .6rem; }
.lib-group h3 { display: flex; align-items: center; gap: .7rem; font-size: 2.1rem; line-height: 1; color: var(--gold-hi); }
.lib-group > header p { font-size: .82rem; margin: .3rem 0 0; color: var(--faint); }
.lib-group ul { display: grid; gap: .35rem; }

.snd { position: relative; display: grid; grid-template-columns: auto 1fr auto auto; grid-template-areas: "play text dur grip" ". used used used"; align-items: center; gap: .05rem .8rem; padding: .5rem .7rem; background: rgba(255, 255, 255, .035); border: 1px solid transparent; cursor: grab; user-select: none; -webkit-user-select: none; transition: background .2s, border-color .2s, opacity .2s; }
.snd:hover { background: rgba(255, 255, 255, .07); border-color: rgba(224, 208, 151, .35); }
.snd:active { cursor: grabbing; }
.snd.is-source { opacity: .3; }
.snd__play { grid-area: play; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; color: #fff; transition: background .2s, color .2s, border-color .2s; }
.snd__play:hover { background: var(--gold); border-color: var(--gold); color: #000; }
.snd__text { grid-area: text; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .55rem; min-width: 0; }
.snd__name { font: 600 .95rem/1.25 var(--serif); color: #fff; }
.snd__tag { font: 400 1.1rem/1 var(--sc); letter-spacing: .08em; color: var(--gold); }
.snd__dur { grid-area: dur; font: 400 .78rem/1 var(--serif); color: var(--faint); font-variant-numeric: tabular-nums; }
.snd__grip { grid-area: grip; width: 14px; height: 22px; touch-action: none; background-image: radial-gradient(circle, rgba(255, 255, 255, .55) 1.5px, transparent 2px); background-size: 7px 7px; opacity: .55; cursor: grab; transition: opacity .2s; }
.snd:hover .snd__grip { opacity: 1; }
.snd__used { grid-area: used; font-size: .76rem; line-height: 1.2; color: var(--gold-hi); }
.snd__used:empty { display: none; }
.snd.is-used { border-left: 3px solid var(--gold); background: rgba(224, 208, 151, .08); }
.snd.is-playing { background: rgba(224, 208, 151, .13); border-color: var(--gold); }
.snd.is-playing .snd__play { background: var(--gold); border-color: var(--gold); color: #000; animation: sndPulse 1s ease-in-out infinite; }
@keyframes sndPulse { 50% { box-shadow: 0 0 0 7px rgba(224, 208, 151, .18); } }
@media (prefers-reduced-motion: reduce) { .snd.is-playing .snd__play { animation: none; } }

/* setup list */
.setup__head h2 { font-size: clamp(3rem, 5vw, 4.6rem); margin-bottom: .7rem; }
.setup__head p { max-width: 40rem; margin-bottom: 1.6rem; }
.setup-section { margin-bottom: 2rem; }
.setup-section h3 { font-size: 2.3rem; color: var(--gold-hi); margin-bottom: .6rem; }
.setup-list { border-top: 1px solid var(--brass); }
.srow { display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1.5fr) auto; align-items: center; gap: .5rem 1rem; padding: .7rem .6rem; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; transition: background .25s, border-color .25s; }
@media (max-width: 640px) { .srow { grid-template-columns: 1fr auto; } .srow select { grid-column: 1 / -1; grid-row: 2; } .srow__keys { display: none; } }
.srow__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .6rem; }
.srow__name strong { font: 600 1rem/1.2 var(--serif); color: var(--ivory); }
.srow__size { font: 400 1.35rem/1 var(--display); letter-spacing: .06em; color: var(--gold-hi); }
.srow__note { font-size: .82rem; color: var(--faint); font-style: italic; }
.srow__keys { font: 400 1.15rem/1 var(--sc); letter-spacing: .1em; color: var(--gold); border: 1px solid var(--line); padding: .3rem .55rem .2rem; white-space: nowrap; }
.srow select { width: 100%; min-width: 0; padding: .6rem 2rem .6rem .8rem; background: var(--black) 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 1l5 5 5-5' fill='none' stroke='%23D1B27A' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right .8rem center; color: var(--ivory); border: 1px solid var(--brass); border-radius: 0; font: 400 1.05rem var(--serif); -webkit-appearance: none; appearance: none; cursor: pointer; }
.srow__play { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--brass); border-radius: 50%; color: var(--gold-hi); transition: background .25s, color .25s; }
.srow__play:hover { background: var(--gold); color: var(--black); }

/* drag and drop states */
.drag-ghost { position: fixed; left: 0; top: 0; z-index: 500; pointer-events: none; display: flex; align-items: baseline; gap: .6rem; padding: .6rem .9rem; background: var(--gold); color: var(--black); box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .8); will-change: transform; }
.drag-ghost strong { font: 600 .95rem/1 var(--serif); }
.drag-ghost span { font: 400 1.1rem/1 var(--sc); letter-spacing: .08em; }
.drag-ghost[data-ok="true"] { background: var(--verd); }
.drag-ghost[data-ok="false"] { background: var(--red); color: var(--ivory); }
.is-dragging, .is-dragging * { cursor: grabbing !important; user-select: none; -webkit-user-select: none; }
.is-dragging .piece:not(.is-target) .hot { fill: rgba(12, 12, 12, .42); }
.is-dragging .piece:not(.is-target) .hot--ring { fill: none; }
.piece.is-target .hot:not(.hot--ring) { fill: rgba(224, 208, 151, .24); stroke: var(--gold-hi); stroke-width: calc(var(--ks, 30px) * .12); stroke-dasharray: 14 9; animation: targetPulse 1.1s ease-in-out infinite; }
.piece--ring.is-target .hot { stroke: rgba(255, 244, 205, .85); animation: targetPulse 1.1s ease-in-out infinite; }
.piece.is-over .hot:not(.hot--ring) { fill: rgba(224, 208, 151, .5); stroke: var(--verd); stroke-dasharray: none; animation: none; }
.piece--ring.is-over .hot { stroke: var(--verd); animation: none; }
.piece.is-bad .hot:not(.hot--ring) { fill: rgba(214, 48, 34, .5); stroke: var(--red); }
.piece--ring.is-bad .hot { stroke: var(--red); }
@keyframes targetPulse { 50% { opacity: .5; } }
.srow.is-target { border-left-color: var(--gold); background: rgba(224, 208, 151, .1); }
.srow.is-over { border-left-color: var(--verd); background: rgba(224, 208, 151, .18); }
.srow.is-bad { border-left-color: var(--red); background: rgba(214, 48, 34, .2); }
.toast { position: fixed; left: 50%; bottom: 1.6rem; z-index: 450; max-width: min(92vw, 36rem); padding: .9rem 1.3rem; background: var(--ivory); color: var(--black); font: 500 .95rem/1.4 var(--serif); text-align: center; box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .8); opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast[data-kind="warn"] { background: var(--red); color: var(--ivory); }
.toast[data-kind="ok"] { border-left: 5px solid var(--verd); }

/* Part label: appears above the part under the pointer or focus, outside the photo itself. */
.kit-tip { position: absolute; z-index: 6; display: flex; align-items: baseline; gap: .55rem; padding: .4rem .7rem; max-width: 92%; white-space: nowrap; pointer-events: none;
  background: rgba(12, 12, 12, .92); border: 1px solid var(--brass); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .9);
  transform: translate(-50%, calc(-100% - 12px)); opacity: 0; transition: opacity .18s var(--ease); }
.kit-tip.is-below { transform: translate(-50%, 12px); }
.kit-tip.is-on { opacity: 1; }
.kit-tip strong { font: 600 .88rem/1.1 var(--serif); color: var(--ivory); }
.kit-tip span { font: 400 1.1rem/1 var(--sc); letter-spacing: .06em; color: var(--gold); }
.kit-tip kbd { font: 400 1rem/1 var(--sc); letter-spacing: .1em; color: var(--black); background: var(--gold); padding: .2rem .4rem .1rem; }
@media (max-width: 640px) { .kit-tip { padding: .3rem .5rem; gap: .4rem; } .kit-tip strong { font-size: .95rem; } .kit-tip span { font-size: .8rem; } .kit-tip kbd { display: none; } }
.is-dragging .kit-tip { display: none; }

/* demo badge */
.lib-demo { display: inline-block; padding: .1rem .5rem; border: 1px solid var(--verd); font: 400 1.1rem/1.2 var(--sc); letter-spacing: .1em; color: var(--verd); vertical-align: .15em; }
.library__head p em { font-style: normal; font-weight: 600; color: var(--verd); }

/* ==========================================================================
   Highlights, gallery and coaching
   ========================================================================== */
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.callcard { margin-top: 2rem; padding: 1.6rem 1.8rem; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-left: 3px solid var(--gold); }
.callcard__label { font: 400 1.3rem/1 var(--sc); letter-spacing: .1em; color: var(--gold); margin: 0 0 .5rem; }
.callcard .mail { display: inline-block; font-size: clamp(1.7rem, 3vw, 2.5rem); }

/* career highlights: a numbered list */
.highlights { counter-reset: hl; display: grid; border-top: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 1000px) { .highlights { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4.5rem); } }
.highlights li { counter-increment: hl; position: relative; display: flex; flex-direction: column; gap: .25rem; padding: 1.15rem 0 1.15rem 3.4rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.highlights li::before { content: counter(hl, decimal-leading-zero); position: absolute; left: 0; top: 1.05rem; font: 400 1.9rem/1 var(--display); letter-spacing: .04em; color: var(--gold); }
.highlights strong { font: 700 1rem/1.3 var(--serif); color: #fff; }
.highlights span { font-size: .95rem; line-height: 1.5; color: var(--muted); }

/* photo gallery */
.gallery { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gal { margin: 0; }
.gal img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--panel); transition: transform .8s var(--ease); }
.gal { overflow: hidden; }
.gal:hover img { transform: scale(1.04); }
.gal figcaption { padding-top: .6rem; font-size: .8rem; line-height: 1.35; color: var(--faint); }

/* online coaching */
/* online lessons: hero. Nishant sits at 47.8% of the photo, so the headline is built around that line:
   "One" on each side of him and "on" across his jacket. --half is his half-width at the photo's current scale. */
.lh { --h: clamp(560px, 92vh, 1250px); --ih: max(var(--h), 69.72vw); --cy: calc(var(--h) * .46 - var(--ih) * .014); --cx: 47.8%; --half: max(11.2vw, calc(var(--h) * .162)); --side: calc(47.8vw - var(--half) - var(--gutter) * .6); position: relative; overflow: hidden; background: var(--black); isolation: isolate; }
.lh__stage { position: relative; height: var(--h); overflow: hidden; }
.lh__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--cx) 46%; filter: brightness(.74) contrast(1.05); }
.lh__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 12, 12, .3) 0%, rgba(12, 12, 12, 0) 24%, rgba(12, 12, 12, 0) 56%, rgba(12, 12, 12, .88) 100%); }
.lh__title { position: absolute; z-index: 1; inset: 0; font-size: min(19vw, calc(var(--side) / 1.2)); line-height: .8; letter-spacing: 0; text-transform: uppercase; color: #fff; }
.lh__one { position: absolute; top: var(--cy); translate: 0 -50%; text-shadow: 0 .04em .22em rgba(0, 0, 0, .45); animation: lhIn 1.1s var(--ease) both .15s; }
.lh__one--l { right: calc(100% - var(--cx) + var(--half)); --from: -.35em; }
.lh__one--r { left: calc(var(--cx) + var(--half)); --from: .35em; color: var(--gold-hi); }
.lh__on { position: absolute; left: var(--cx); top: var(--cy); translate: -50% -50%; font-size: .24em; letter-spacing: .06em; color: #fff; animation: lhOn .9s var(--ease) both .75s; }
.lh__copy { position: absolute; z-index: 2; inset: auto 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; padding: 0 var(--gutter) clamp(1.8rem, 4vh, 3rem); }
.lh__with { margin: 0; font: 400 clamp(2.6rem, 5vw, 4.6rem)/.95 var(--display); letter-spacing: .02em; text-transform: uppercase; color: var(--gold-hi); }
.lh__lead { margin: .5rem 0 0; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: #fff; }
@keyframes lhIn { from { opacity: 0; transform: translateX(var(--from)); } to { opacity: 1; transform: none; } }
@keyframes lhOn { from { opacity: 0; } to { opacity: 1; } }
/* phones: a shorter photo so both words still fit beside him, with the copy underneath */
@media (max-width: 760px) {
  .lh { --h: min(116vw, 560px); }
  .lh__stage::after { background: linear-gradient(180deg, rgba(12, 12, 12, .2) 0%, rgba(12, 12, 12, 0) 60%, var(--black) 100%); }
  .lh__copy { position: static; flex-direction: column; align-items: flex-start; padding-block: .6rem 0; }
}
@media (prefers-reduced-motion: reduce) { .lh__one, .lh__on { animation: none; } }
.coach__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (min-width: 900px) { .coach__grid { grid-template-columns: 1fr 1fr; } }
.form-title { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 1.6rem; }
.field--select select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .35); color: #fff; font: 400 1.05rem var(--serif); padding: 1.5rem 1.5rem .6rem 0; border-radius: 0; -webkit-appearance: none; appearance: none; cursor: pointer; 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 1l5 5 5-5' fill='none' stroke='%23FFFFFF' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .2rem center; }
.field--select select:focus { outline: none; border-color: var(--gold); }
.field--select select option { background: #141414; color: #fff; }
.field--select label { top: 0; font: 400 1.08rem var(--sc); letter-spacing: .1em; color: var(--gold); }
.steps { counter-reset: st; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); column-gap: 2.5rem; border-top: 0; } .steps li { border-top: 1px solid rgba(255, 255, 255, .12); } }
.steps li { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.6rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.steps li > span { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid var(--gold); border-radius: 50%; font: 400 1.7rem/1 var(--display); padding-top: .15rem; color: var(--gold); }
.steps h3 { font-size: 2rem; margin-bottom: .3rem; }
.steps p { margin: 0; font-size: .98rem; }

/* home: coaching band */
.coach-band { background: var(--slate); border-block: 1px solid rgba(255, 255, 255, .08); padding-block: clamp(3rem, 6vw, 5rem); }
.coach-band__inner { display: grid; gap: 2rem 4rem; align-items: center; }
@media (min-width: 900px) { .coach-band__inner { grid-template-columns: 1.2fr 1fr; } }
.coach-band .h-accent { margin-bottom: .6rem; }
.coach-band .lead { margin: 0; }

/* ==========================================================================
   New photography
   ========================================================================== */
.frame--portrait img.pos-right { object-position: 62% 50%; transform-origin: 62% 50%; }
.journey-photo { margin: 0 0 clamp(1.5rem, 3vw, 2.5rem); overflow: hidden; }
.journey-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 62%; transition: transform 1.4s var(--ease); }
.journey-photo:hover img { transform: scale(1.03); }
.media-banner { margin: 0; overflow: hidden; }
.media-banner img { width: 100%; height: clamp(240px, 36vw, 760px); object-fit: cover; object-position: 50% 62%; }
.photo-wide { margin: 0; overflow: hidden; }
.photo-wide img { width: 100%; height: clamp(260px, 40vw, 520px); object-fit: cover; object-position: 50% 62%; }
.masonry { columns: 2; column-gap: clamp(.8rem, 1.6vw, 1.4rem); }
@media (min-width: 900px) { .masonry { columns: 4; } }
.mas { margin: 0 0 clamp(.8rem, 1.6vw, 1.4rem); break-inside: avoid; overflow: hidden; background: var(--panel); }
.mas img { width: 100%; height: auto; transition: transform .9s var(--ease); }
.mas:hover img { transform: scale(1.04); }
