/* =============================================================================
   cgsax.com  —  a desert-night design system
   Palette : warm ink · indigo · dune sand · brass · terracotta · Bella-Diva rose
   Type    : Cormorant Garamond (display) · Marcellus (labels) · Jost (body)
   ========================================================================== */

/* ----------------------------------------------------------------- Tokens */
:root {
  --ink:        #17130f;
  --ink-2:      #1e1913;
  --raised:     #241d16;
  --indigo:     #161a2c;
  --indigo-2:   #1d2238;

  --sand:       #e8d5b5;
  --sand-2:     #d8bd93;
  --sand-pale:  #f3ead9;

  --parchment:  #f4ead9;
  --muted:      #bcab8d;
  --muted-2:    #93856c;

  --brass:      #d7a94a;
  --brass-2:    #ecc76a;
  --brass-deep: #a97f2e;
  --clay:       #bd6a41;
  --clay-deep:  #8f4526;
  --rose:       #cf5088;

  --line:       rgba(215,169,74,.22);
  --line-soft:  rgba(215,169,74,.12);
  --line-dark:  rgba(23,19,15,.12);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-label:   "Marcellus", "Cormorant Garamond", serif;
  --font-body:    "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-arabic:  "Amiri", "Cormorant Garamond", serif;

  --container: 1180px;
  --narrow: 760px;
  --radius: 6px;
  --header-h: 72px;

  --shadow: 0 18px 50px -20px rgba(0,0,0,.55);
  --shadow-lg: 0 40px 90px -30px rgba(0,0,0,.7);
  --ease: cubic-bezier(.22,.7,.24,1);
}

/* ----------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--parchment);
  background: var(--ink);
  line-height: 1.65;
  font-size: 1.02rem;
  letter-spacing: .006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { font-weight: 500; line-height: 1.1; }

/* ----------------------------------------------------------------- Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 2.4rem); }
.container--narrow { max-width: var(--narrow); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--indigo { background: var(--indigo); }
.section--sand   { background: linear-gradient(180deg, #f3ead9, #ede0c8); color: var(--ink); }

/* ----------------------------------------------------------------- Icons */
.icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -0.16em;
}

/* ----------------------------------------------------------------- Type helpers */
.eyebrow {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  color: var(--clay);
  display: inline-flex; align-items: center; gap: .7em;
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--brass-2); }
.eyebrow--dark { color: var(--clay-deep); }
.eyebrow__star { width: .85em; height: .85em; fill: currentColor; stroke: none; }

.section-head { max-width: 640px; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section-head--row {
  max-width: none; display: flex; align-items: flex-end;
  justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  font-weight: 500; letter-spacing: .005em; line-height: 1.04;
}
.section-title--dark { color: var(--ink); }
.section-lede { color: var(--muted); margin-top: 1rem; font-size: 1.08rem; max-width: 52ch; }
.section--sand .section-lede { color: #6a5b45; }

.stack-title {
  font-family: var(--font-label); text-transform: uppercase;
  letter-spacing: .2em; font-size: .95rem; color: var(--brass);
  display: flex; align-items: center; gap: 1.2rem; margin-bottom: 2rem;
}
.stack-title--dark { color: var(--clay-deep); }
.stack-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.stack-title--dark::after { background: rgba(143,69,38,.25); }

/* ----------------------------------------------------------------- Divider */
.divider { display: flex; align-items: center; gap: 1.1rem; margin-block: clamp(2.4rem,5vw,3.6rem); }
.divider__line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.divider__star { width: 20px; height: 20px; fill: var(--brass); stroke: none; opacity: .85; }

/* ----------------------------------------------------------------- Buttons */
.btn {
  --btn-fg: var(--ink); --btn-bg: var(--brass);
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-label); font-size: .82rem;
  text-transform: uppercase; letter-spacing: .16em;
  padding: .95em 1.7em; border: 1px solid transparent; border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  line-height: 1; white-space: nowrap;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--gold { background: var(--brass); color: #241a09; box-shadow: 0 10px 30px -12px rgba(215,169,74,.6); }
.btn--gold:hover { background: var(--brass-2); transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(215,169,74,.75); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--parchment); }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass-2); transform: translateY(-2px); }
.section--sand .btn--ghost { color: var(--ink); border-color: rgba(143,69,38,.35); }
.section--sand .btn--ghost:hover { border-color: var(--clay); color: var(--clay-deep); }
.btn--sm { padding: .7em 1.2em; font-size: .74rem; }
.btn--lg { padding: 1.1em 2.1em; font-size: .86rem; }
.btn--block { width: 100%; justify-content: center; }

.link-arrow {
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; color: var(--parchment);
  display: inline-flex; align-items: center; gap: .5em;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-arrow .icon { width: 1.15em; height: 1.15em; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--brass-2); gap: .8em; }
.link-arrow--gold { color: var(--brass); }
.link-arrow--dark { color: var(--clay-deep); }

/* ----------------------------------------------------------------- Tags */
.tag {
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: .12em;
  font-size: .66rem; padding: .4em .8em; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); white-space: nowrap;
}
.tag--gold { color: #241a09; background: var(--brass); border-color: var(--brass); }
.tag--muted { color: var(--muted-2); }
.tag--outline { border-color: var(--line); color: var(--brass-2); }

/* =============================================================== HEADER */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(20,16,12,.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line-soft);
}
.site-header__inner {
  max-width: var(--container); margin-inline: auto; height: 100%;
  padding-inline: clamp(1.2rem, 4vw, 2.4rem);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand__mark { width: 30px; height: 30px; fill: var(--brass); stroke: none; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(45deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--parchment); letter-spacing: .01em; }
.brand__tag { font-family: var(--font-label); font-size: .56rem; text-transform: uppercase; letter-spacing: .24em; color: var(--brass); margin-top: .18rem; }

.nav { display: flex; gap: .3rem; align-items: center; }
.nav__link {
  font-family: var(--font-label); font-size: .8rem; text-transform: uppercase;
  letter-spacing: .13em; color: var(--sand); padding: .55rem .85rem; border-radius: 4px;
  position: relative; transition: color .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: .28rem; width: 0; height: 1px;
  background: var(--brass); transform: translateX(-50%); transition: width .3s var(--ease);
}
.nav__link:hover { color: var(--brass-2); }
.nav__link:hover::after, .nav__link.is-active::after { width: 1.1rem; }
.nav__link.is-active { color: var(--brass-2); }
.nav__cta { margin-left: .6rem; }
.nav-toggle { display: none; }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: rgba(18,14,10,.97); backdrop-filter: blur(10px);
  padding: 2rem clamp(1.2rem,4vw,2.4rem);
  display: flex; flex-direction: column;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav__link {
  font-family: var(--font-display); font-size: 2rem; color: var(--parchment);
  padding: .7rem 0; border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 1rem;
}
.mobile-nav__star { width: 14px; height: 14px; fill: var(--brass); stroke: none; opacity: .55; }
.mobile-nav__link.is-active { color: var(--brass-2); }
body.nav-open { overflow: hidden; }

/* =============================================================== HERO */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,15,10,.55) 0%, rgba(20,15,10,.05) 26%, rgba(20,15,10,.35) 62%, rgba(20,15,10,.92) 100%),
    linear-gradient(90deg, rgba(20,15,10,.55), transparent 55%);
}
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(5rem, 12vh, 9rem); padding-top: 8rem; }
.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(3.4rem, 9.5vw, 7rem); line-height: .98; letter-spacing: -.01em;
  color: var(--sand-pale); text-shadow: 0 4px 40px rgba(0,0,0,.5); max-width: 15ch;
}
.hero__subhead { margin-top: 1.6rem; max-width: 46ch; font-size: 1.18rem; color: var(--sand); text-shadow: 0 2px 20px rgba(0,0,0,.55); }
.hero__cta { margin-top: 2.2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Marquee */
.marquee {
  position: relative; z-index: 2; overflow: hidden;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background: rgba(18,13,9,.5); backdrop-filter: blur(6px);
  padding-block: .85rem; margin-top: 1.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: 1.6rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee__item { font-family: var(--font-label); text-transform: uppercase; letter-spacing: .22em; font-size: .82rem; color: var(--sand); }
.marquee__star { width: 12px; height: 12px; fill: var(--brass); stroke: none; opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================== ABOUT */
.about__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__heading { font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 500; margin-bottom: 1.3rem; max-width: 16ch; }
.about__body { color: var(--muted); font-size: 1.1rem; }
.about__signature { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--brass-2); margin-top: 1.4rem; margin-bottom: 1.6rem; }

/* Framed image with brass corners */
.framed { position: relative; }
.framed__img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.framed::before {
  content: ""; position: absolute; inset: 12px; border: 1px solid var(--line);
  border-radius: 3px; pointer-events: none; z-index: 2;
}
.framed__corner { position: absolute; width: 20px; height: 20px; border: 2px solid var(--brass); z-index: 3; }
.framed__corner--tl { top: 4px; left: 4px; border-right: 0; border-bottom: 0; }
.framed__corner--tr { top: 4px; right: 4px; border-left: 0; border-bottom: 0; }
.framed__corner--bl { bottom: 4px; left: 4px; border-right: 0; border-top: 0; }
.framed__corner--br { bottom: 4px; right: 4px; border-left: 0; border-top: 0; }

/* =============================================================== PROJECTS */
.projects { overflow: hidden; }
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.6rem; }
.project-card {
  background: linear-gradient(180deg, var(--ink-2), var(--raised));
  border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.project-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: var(--shadow); }
.project-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.project-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card:hover .project-card__img { transform: scale(1.06); }
.project-card__genre {
  position: absolute; bottom: .8rem; left: .8rem; z-index: 2;
  font-family: var(--font-label); font-size: .62rem; text-transform: uppercase; letter-spacing: .14em;
  background: rgba(18,13,9,.72); color: var(--brass-2); padding: .4em .8em; border-radius: 999px;
  backdrop-filter: blur(4px); border: 1px solid var(--line-soft);
}
.project-card__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.project-card__name { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; }
.project-card__role { font-family: var(--font-label); font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--clay); margin-top: .3rem; }
.project-card__blurb { color: var(--muted); font-size: .98rem; margin-top: .9rem; flex: 1; }
.project-card__soon { font-size: .78rem; color: var(--muted-2); font-style: italic; margin-top: 1.2rem; }
.project-card .link-arrow { margin-top: 1.2rem; }

/* =============================================================== GIGS */
.gig-list { list-style: none; padding: 0; display: flex; flex-direction: column; }
.gig-row {
  display: flex; align-items: center; gap: 1.4rem;
  padding: 1.3rem 0; border-bottom: 1px solid var(--line-soft);
}
.gig-list--compact .gig-row { gap: 1.2rem; }
.gig-row__date { flex: none; text-align: center; width: 62px; line-height: 1; }
.gig-row__date--lg { width: 84px; }
.gig-row__date--sm { width: 52px; display: flex; flex-direction: column; gap: .1rem; }
.gig-row__weekday { display: block; font-family: var(--font-label); font-size: .6rem; letter-spacing: .18em; color: var(--clay); }
.gig-row__month { display: block; font-family: var(--font-label); font-size: .7rem; letter-spacing: .16em; color: var(--brass); margin-top: .25rem; }
.gig-row__day { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--parchment); }
.gig-row__date--lg .gig-row__day { font-size: 3rem; }
.gig-row__date--sm .gig-row__day { font-size: 1.5rem; }
.gig-row__main { flex: 1; min-width: 0; }
.gig-row__project { font-family: var(--font-label); font-size: .62rem; text-transform: uppercase; letter-spacing: .18em; color: var(--clay); }
.gig-row__title { font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 500; margin-top: .1rem; }
.gig-row__meta { color: var(--muted); font-size: .92rem; margin-top: .35rem; display: flex; flex-wrap: wrap; gap: .3rem 1.3rem; }
.gig-row__meta span { display: inline-flex; align-items: center; gap: .4em; }
.gig-row__meta .icon { color: var(--brass); width: 1em; height: 1em; }
.gig-row__note { color: var(--muted-2); font-size: .9rem; font-style: italic; margin-top: .4rem; }
.gig-row__action { flex: none; display: flex; align-items: center; gap: .7rem; }
.gig-row--past { opacity: .72; }
.gig-list--past { margin-top: .5rem; }

/* =============================================================== POSTS */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; }
.post-grid--journal { gap: 2rem; }
/* "Keep reading" — don't let one or two cards balloon to full width */
.post-grid--more { grid-template-columns: repeat(auto-fill, minmax(240px, 320px)); justify-content: center; }
/* Home teaser: size cards to their content so the date doesn't float with an
   uneven gap when titles differ in height, and give the date steady breathing room */
.journal-teaser .post-grid { align-items: start; }
.journal-teaser .post-card__summary { flex: initial; }
.journal-teaser .post-card__meta { margin-top: 1rem; }
.post-card {
  border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
  background: var(--ink-2); transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.post-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: var(--shadow); }
.post-card--light { background: #fbf5ea; border-color: rgba(143,69,38,.14); }
.post-card__link { display: flex; flex-direction: column; height: 100%; }
.post-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__img { transform: scale(1.05); }
.post-card__badge, .post-card__maqam {
  font-family: var(--font-label); font-size: .6rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--brass-2);
}
.post-card__badge {
  position: absolute; top: .8rem; left: .8rem; background: rgba(18,13,9,.75);
  padding: .4em .8em; border-radius: 999px; backdrop-filter: blur(4px); border: 1px solid var(--line-soft);
}
.post-card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card__maqam { color: var(--clay); margin-bottom: .5rem; display: block; }
.post-card__title { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; line-height: 1.12; }
.post-card--light .post-card__title { color: var(--ink); }
.post-card__summary { color: var(--muted); font-size: .95rem; margin-top: .7rem; flex: 1; }
.post-card--light .post-card__summary { color: #6a5b45; }
.post-card__meta { font-family: var(--font-label); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.post-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.2rem; }

/* =============================================================== CTA BAND */
.cta-band { position: relative; overflow: hidden; padding-block: clamp(5rem, 12vw, 9rem); }
.cta-band__media { position: absolute; inset: 0; }
.cta-band__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 84%; }
.cta-band__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,13,9,.78), rgba(18,13,9,.62)); }
.cta-band__content { position: relative; z-index: 2; text-align: center; max-width: 720px; }
.cta-band__star { width: 34px; height: 34px; fill: var(--brass); stroke: none; margin: 0 auto 1.4rem; display: block; }
.cta-band__title { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 500; color: var(--sand-pale); }
.cta-band__text { color: var(--sand); margin: 1.2rem auto 2rem; max-width: 48ch; font-size: 1.1rem; }

/* =============================================================== PAGE HERO */
.page-hero {
  position: relative; padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  background: radial-gradient(120% 140% at 80% -10%, var(--indigo-2), var(--ink) 60%);
  border-bottom: 1px solid var(--line-soft); overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background:
    repeating-linear-gradient(45deg, var(--line-soft) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(-45deg, var(--line-soft) 0 1px, transparent 1px 34px);
  -webkit-mask-image: radial-gradient(80% 80% at 90% 0%, #000, transparent 70%);
          mask-image: radial-gradient(80% 80% at 90% 0%, #000, transparent 70%);
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title { font-family: var(--font-display); font-size: clamp(2.8rem, 7vw, 4.8rem); font-weight: 500; line-height: 1; }
.page-hero__lede { color: var(--muted); font-size: 1.15rem; margin-top: 1.1rem; max-width: 54ch; }
.page-hero .btn { margin-top: 1.8rem; }

/* =============================================================== BOOKING */
.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.6rem; align-items: start; }
.package {
  position: relative; border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; background: var(--ink-2);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.package:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.package--featured { border-color: var(--brass); box-shadow: 0 24px 60px -30px rgba(215,169,74,.5); }
.package--featured:hover { border-color: var(--brass); }
.package__ribbon {
  position: absolute; top: 1.35rem; right: -3.1rem; z-index: 3;
  width: 11.5rem; text-align: center; transform: rotate(45deg);
  background: var(--brass); color: #241a09; font-family: var(--font-label);
  font-size: .58rem; text-transform: uppercase; letter-spacing: .1em;
  padding: .42em 0; box-shadow: 0 8px 18px -8px rgba(0,0,0,.55);
}
.package__media { aspect-ratio: 16/10; overflow: hidden; }
.package__img { width: 100%; height: 100%; object-fit: cover; }
.package__body { padding: 1.6rem 1.6rem 1.8rem; }
.package__name { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; }
.package__price { font-family: var(--font-label); color: var(--brass-2); font-size: 1rem; letter-spacing: .04em; margin-top: .3rem; }
.package__for { color: var(--muted-2); font-size: .82rem; margin-top: .3rem; font-style: italic; }
.package__list { list-style: none; padding: 0; margin: 1.3rem 0 1.6rem; display: flex; flex-direction: column; gap: .7rem; }
.package__list li { display: flex; gap: .7rem; color: var(--muted); font-size: .95rem; }
.package__list .icon { color: var(--brass); width: 1.15em; height: 1.15em; margin-top: .18em; }

/* Quote form */
.quote { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.quote__direct { margin-top: .8rem; color: var(--muted); font-size: .95rem; }
.quote__direct a { color: var(--brass-2); border-bottom: 1px solid var(--line); }
.quote__form {
  background: rgba(20,16,12,.5); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: block; margin-bottom: 1.1rem; }
.field__label { font-family: var(--font-label); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--sand-2); display: block; margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--parchment);
  background: rgba(0,0,0,.28); border: 1px solid var(--line-soft); border-radius: 4px;
  padding: .8em .9em; transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass); background: rgba(0,0,0,.4);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23d7a94a' stroke-width='1.6'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9em center; padding-right: 2.4em; }
.field select option { background: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field--qty { max-width: 130px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote__fineprint { color: var(--muted-2); font-size: .8rem; margin-top: 1rem; text-align: center; }

/* FAQ */
.faq { display: flex; flex-direction: column; }
.faq__item { border-bottom: 1px solid var(--line-soft); }
.faq__q {
  font-family: var(--font-display); font-size: 1.35rem; color: var(--parchment);
  padding: 1.2rem 0; cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__chevron { color: var(--brass); transition: transform .3s var(--ease); flex: none; }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__a { padding-bottom: 1.3rem; color: var(--muted); max-width: 62ch; }

/* =============================================================== STORE */
.notice, .flash {
  display: flex; align-items: center; gap: .8rem;
  border: 1px solid var(--line); background: rgba(215,169,74,.08);
  border-radius: var(--radius); padding: 1rem 1.2rem; color: var(--sand);
}
.notice { margin-top: 2rem; }
.notice .icon, .flash .icon { color: var(--brass); flex: none; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.8rem; }
.product-card {
  border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
  background: var(--ink-2); display: flex; flex-direction: column;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.product-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: var(--shadow); }
.product-card__media { position: relative; aspect-ratio: 1/1; overflow: hidden; display: block; }
.product-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-card:hover .product-card__img { transform: scale(1.05); }
.product-card__type {
  position: absolute; top: .8rem; left: .8rem; font-family: var(--font-label);
  font-size: .58rem; text-transform: uppercase; letter-spacing: .14em; color: var(--brass-2);
  background: rgba(18,13,9,.75); padding: .4em .8em; border-radius: 999px; backdrop-filter: blur(4px);
}
.product-card__body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.product-card__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.14; }
.product-card__summary { color: var(--muted); font-size: .93rem; margin-top: .6rem; flex: 1; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.3rem; }
.product-card__price { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--brass-2); }

/* Product detail */
.product-detail { padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 4rem)); }
.product-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.product-detail__type { font-family: var(--font-label); font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--clay); display: block; margin: 1rem 0 .5rem; }
.product-detail__name { font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 600; line-height: 1.06; }
.product-detail__price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--brass-2); margin: .6rem 0 1.4rem; }
.product-detail__desc { color: var(--muted); font-size: 1.08rem; }
.product-detail__buy { display: flex; align-items: flex-end; gap: 1rem; margin: 2rem 0 1.4rem; flex-wrap: wrap; }
.product-detail__trust { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.product-detail__trust li { display: flex; gap: .6rem; align-items: center; color: var(--muted-2); font-size: .9rem; }
.product-detail__trust .icon { color: var(--brass); }

/* =============================================================== LINKS */
.link-group { margin-bottom: 3rem; }
.link-group__head { display: flex; gap: 1.1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.link-group__icon { width: 34px; height: 34px; flex: none; color: var(--brass); fill: none; stroke: currentColor; stroke-width: 1.5; margin-top: .2rem; }
.link-group__title { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; }
.link-group__intro { color: var(--muted-2); font-size: .95rem; margin-top: .2rem; }
.link-list { list-style: none; padding: 0; }
.link-list__item { border-top: 1px solid var(--line-soft); }
.link-list__link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem .3rem; transition: padding .3s var(--ease), background .3s var(--ease);
}
.link-list__link:not(.link-list__link--dead):hover { padding-inline: 1rem .3rem; background: linear-gradient(90deg, rgba(215,169,74,.07), transparent); }
.link-list__label { font-family: var(--font-display); font-size: 1.35rem; color: var(--parchment); display: block; }
.link-list__note { color: var(--muted); font-size: .92rem; display: block; margin-top: .15rem; }
.link-list__arrow { color: var(--brass); flex: none; transition: transform .3s var(--ease); }
.link-list__link:hover .link-list__arrow { transform: translate(3px, -3px); }
.link-list__link--dead { opacity: .6; }
.link-list__link--dead .link-list__label { color: var(--muted); }

/* =============================================================== PROSE (blog) */
.article__cover { position: relative; height: clamp(280px, 46vh, 520px); }
.article__cover-img { width: 100%; height: 100%; object-fit: cover; }
.article__cover-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,13,9,.4) 0%, transparent 40%, rgba(18,13,9,.95) 100%); }
.article__head-inner { position: relative; margin-top: -7rem; z-index: 2; padding-bottom: 1rem; }
.article__topline { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.4rem; }
.article__back { font-family: var(--font-label); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--sand); display: inline-flex; align-items: center; gap: .5em; }
.article__back:hover { color: var(--brass-2); }
.article__back .icon { width: 1.1em; height: 1.1em; }
.article__title { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 500; line-height: 1.03; }
.article__meta { font-family: var(--font-label); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-top: 1rem; }
.article__meta a { color: var(--brass-2); border-bottom: 1px solid var(--line-soft); }
.article__meta a:hover { border-bottom-color: var(--brass-2); }
.article__tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.2rem; }
.article__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: 1rem; }

.prose { font-size: 1.14rem; line-height: 1.85; color: #e4d8c3; padding-top: 2.4rem; }
.prose > * + * { margin-top: 1.5rem; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 600; color: var(--parchment); margin-top: 2.6rem; line-height: 1.12; }
.prose h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--parchment); margin-top: 2rem; }
.prose p { color: #ddd0ba; }
.prose a { color: var(--brass-2); border-bottom: 1px solid var(--line); transition: border-color .3s var(--ease); }
.prose a:hover { border-color: var(--brass-2); }
.prose strong { color: var(--parchment); font-weight: 500; }
.prose em { font-style: italic; }
.prose ul, .prose ol { padding-left: 1.4rem; color: #ddd0ba; }
.prose li { margin-top: .5rem; }
.prose li::marker { color: var(--brass); }
.prose blockquote {
  border-left: 2px solid var(--brass); padding: .4rem 0 .4rem 1.6rem; margin-left: 0;
  font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--sand);
}
.prose blockquote p { color: var(--sand); }
.prose code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .88em; background: rgba(215,169,74,.12); padding: .12em .4em; border-radius: 4px; color: var(--brass-2); }
.prose pre { background: rgba(0,0,0,.35); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.2rem; overflow-x: auto; }
.prose pre code { background: none; padding: 0; color: #e4d8c3; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: .7rem 1rem; border-bottom: 1px solid var(--line-soft); }
.prose th { font-family: var(--font-label); text-transform: uppercase; font-size: .72rem; letter-spacing: .1em; color: var(--brass-2); font-weight: 400; }
.prose td:first-child { font-family: var(--font-display); font-size: 1.15rem; color: var(--parchment); }
/* Arabic lines in translations render right-to-left in Amiri */
.prose blockquote strong { font-family: var(--font-arabic); font-size: 1.5rem; direction: rtl; display: inline-block; }

/* =============================================================== MISC PAGES */
.empty-state { text-align: center; padding: clamp(2.5rem, 8vw, 5rem) 1rem; color: var(--muted); }
.empty-state__star { width: 30px; height: 30px; fill: var(--brass); stroke: none; opacity: .6; margin-bottom: 1rem; }
.empty-state p { font-family: var(--font-display); font-size: 1.5rem; color: var(--sand); margin-bottom: 1.6rem; }

.centered-page { min-height: 70vh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 3rem); }
.centered-page__inner { text-align: center; margin-inline: auto; }
.centered-page__star { width: 40px; height: 40px; fill: var(--brass); stroke: none; margin: 0 auto 1.5rem; display: block; }
.centered-page__title { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 500; }
.centered-page__text { color: var(--muted); font-size: 1.1rem; margin: 1.2rem auto 2rem; max-width: 48ch; }
.centered-page__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.tag-filter { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.tag-filter__tag {
  font-family: var(--font-label); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
  padding: .5em 1em; border: 1px solid var(--line-soft); border-radius: 999px; color: var(--muted);
  transition: all .3s var(--ease);
}
.tag-filter__tag:hover { border-color: var(--brass); color: var(--brass-2); }
.tag-filter__tag.is-active { background: var(--brass); color: #241a09; border-color: var(--brass); }

/* Subscribe */
.subscribe__inner { text-align: center; }
.subscribe__star { width: 32px; height: 32px; fill: var(--brass); stroke: none; margin: 0 auto 1.2rem; display: block; }
.subscribe__rss { color: var(--brass-2); border-bottom: 1px solid var(--line); }
.subscribe__rss:hover { border-color: var(--brass-2); }
.subscribe__form { display: flex; gap: .8rem; max-width: 480px; margin: 1.9rem auto 0; }
.subscribe__input {
  flex: 1; font-family: var(--font-body); font-size: 1rem; color: var(--parchment);
  background: rgba(0,0,0,.3); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: .9em 1.1em; transition: border-color .3s var(--ease), background .3s var(--ease);
}
.subscribe__input::placeholder { color: var(--muted-2); }
.subscribe__input:focus { outline: none; border-color: var(--brass); background: rgba(0,0,0,.42); }
@media (max-width: 520px) {
  .subscribe__form { flex-direction: column; }
  .subscribe__form .btn { justify-content: center; }
}

/* Flash messages */
.flashes { position: fixed; top: calc(var(--header-h) + 1rem); left: 50%; transform: translateX(-50%); z-index: 200; width: min(92vw, 460px); display: flex; flex-direction: column; gap: .6rem; }
.flash { background: rgba(20,16,12,.96); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); animation: flashIn .5s var(--ease); }
.flash--error { border-color: rgba(207,80,80,.5); background: rgba(40,18,14,.96); }
.flash--error .icon { color: var(--clay); }
@keyframes flashIn { from { opacity: 0; transform: translateY(-14px); } }

/* =============================================================== FOOTER */
.site-footer { position: relative; background: var(--ink-2); border-top: 1px solid var(--line-soft); overflow: hidden; }
.site-footer__lattice {
  position: absolute; inset: 0; opacity: .4; pointer-events: none;
  background:
    repeating-linear-gradient(45deg, var(--line-soft) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(-45deg, var(--line-soft) 0 1px, transparent 1px 30px);
  -webkit-mask-image: radial-gradient(60% 100% at 50% 0%, #000, transparent 75%);
          mask-image: radial-gradient(60% 100% at 50% 0%, #000, transparent 75%);
}
.site-footer__inner { position: relative; max-width: var(--container); margin-inline: auto; padding: clamp(3rem, 7vw, 5rem) clamp(1.2rem, 4vw, 2.4rem) 2.5rem; display: grid; grid-template-columns: 1.2fr 2fr; gap: 3rem; }
.site-footer__mark { width: 38px; height: 38px; fill: var(--brass); stroke: none; margin-bottom: 1rem; }
.site-footer__name { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; }
.site-footer__tag { font-family: var(--font-label); font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; color: var(--brass); margin-top: .3rem; }
.site-footer__note { color: var(--muted-2); font-style: italic; margin-top: 1rem; max-width: 30ch; font-size: .95rem; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.site-footer__col h4 { font-family: var(--font-label); font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--sand-2); margin-bottom: 1rem; }
.site-footer__col a { display: block; color: var(--muted); padding: .35rem 0; font-size: .95rem; transition: color .3s var(--ease); }
.site-footer__col a:hover { color: var(--brass-2); }
.social-row { display: flex; gap: .7rem; }
.social-row .social-row__link { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line-soft); border-radius: 50%; color: var(--sand); transition: all .3s var(--ease); }
.social-row__link:hover { border-color: var(--brass); color: var(--brass-2); transform: translateY(-3px); }
.site-footer__base { position: relative; border-top: 1px solid var(--line-soft); padding: 1.4rem clamp(1.2rem,4vw,2.4rem); max-width: var(--container); margin-inline: auto; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted-2); font-size: .82rem; }
.site-footer__credit { text-align: center; }
.site-footer__credit a { color: var(--sand-2); border-bottom: 1px solid var(--line-soft); transition: color .3s var(--ease); }
.site-footer__credit a:hover { color: var(--brass-2); }

/* Photographer credit overlaid on a feature image (hero, CTA, article cover) */
.media-credit {
  position: absolute; right: clamp(.7rem, 2vw, 1.1rem); bottom: clamp(.6rem, 2vw, .9rem);
  z-index: 3; font-family: var(--font-label); font-size: .56rem;
  letter-spacing: .13em; text-transform: uppercase;
}
.media-credit a {
  display: inline-flex; align-items: center; gap: .32em;
  color: rgba(245,237,224,.5);                 /* quiet — flows, doesn't grab the eye */
  text-shadow: 0 1px 3px rgba(0,0,0,.5); transition: color .3s var(--ease);
}
.media-credit a:hover { color: var(--brass-2); }
/* .icon supplies fill/stroke:currentColor, so the arrow matches the name exactly */
.media-credit__arrow { width: .82em; height: .82em; flex: none; }
/* Lift the hero credit clear of the instrument marquee (~50px) at the bottom */
.media-credit--hero { bottom: 3.9rem; }
/* Framed portrait credit sits inside the inner border, clear of the corners */
.media-credit--framed { right: 1.1rem; bottom: 1rem; }
/* Top-right variant (project cards, whose genre tag lives bottom-left) */
.media-credit--tr { top: clamp(.6rem, 2vw, .9rem); bottom: auto; }
/* Article cover: tuck it top-right, just below the fixed header */
.media-credit--article { top: calc(var(--header-h) + .6rem); bottom: auto; right: clamp(.8rem, 2vw, 1.4rem); }

/* =============================================================== REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =============================================================== RESPONSIVE */
@media (max-width: 900px) {
  .nav, .nav__cta { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-soft); border-radius: 6px; color: var(--brass-2); }
  .nav-toggle .icon { width: 22px; height: 22px; }
  .nav-toggle .icon--close { display: none; }
  .nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
  .nav-toggle[aria-expanded="true"] .icon--close { display: block; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .quote { grid-template-columns: 1fr; }
  .product-detail__grid { grid-template-columns: 1fr; }
  .product-detail__media { max-width: 460px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 2.4rem; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .section-head--row { align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .gig-row { flex-wrap: wrap; }
  .gig-row__action { width: 100%; padding-left: 78px; }
  .gig-row--past .gig-row__action { padding-left: 0; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .article__head-inner { margin-top: -4rem; }

  /* Tighten vertical rhythm so phones don't waste a screen of blank space */
  .brand__tag { display: none; }
  .section { padding-block: clamp(2.4rem, 8vw, 3.6rem); }
  .page-hero { padding-top: calc(var(--header-h) + clamp(1.4rem, 6vw, 2.4rem));
               padding-bottom: clamp(1.3rem, 5vw, 2rem); }
  .page-hero__lede { font-size: 1.05rem; margin-top: .9rem; }
  .stack-title { margin-bottom: 1.2rem; }
  .section-head { margin-bottom: clamp(1.6rem, 5vw, 2.2rem); }
  .prose { padding-top: 1.4rem; }
}

/* =============================================================== A11Y */
:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 3px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
