/* ============================================================================
   PEBBLE THEATRE — stylesheet
   ----------------------------------------------------------------------------
   You rarely need to touch this file to update content. To change the LOOK
   (colours, fonts, spacing) edit the variables in :root below.
   Each production page can carry its own accent colour by adding a class to
   <body> (e.g. class="page-betweenstrands" turns the accent jade-green).
   ========================================================================== */

/* ---------- 1. Design tokens ---------------------------------------------- */
:root {
  /* Surfaces */
  --ink:        #0F0E13;   /* page background (a deep violet-black, from the OOTB poster) */
  --ink-2:      #16131F;   /* raised panels */
  --ink-3:      #1F1B2A;   /* cards / hover */

  /* Text */
  --bone:       #ECE7DD;   /* primary text (warm off-white) */
  --bone-dim:   #C7C1B7;   /* secondary text */
  --muted:      #918BA0;   /* captions, meta */

  /* Lines & accents */
  --line:       rgba(236, 231, 221, 0.12);
  --line-soft:  rgba(236, 231, 221, 0.06);
  --amber:      #E0A33B;   /* company gold — the "OUT OF THE BIN" marigold */
  --amber-soft: #EFC279;
  --jade:       #82C5AB;   /* Between Strands — the lantern green */
  --ember:      #D9613E;   /* used very sparingly (the red fabric) */

  /* The per-page accent. Overridden on production pages. */
  --accent:     var(--amber);
  --accent-ink: #1a1205;   /* readable text colour on top of the accent */

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:    "Space Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  /* Rhythm */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(72px, 11vw, 168px);
  --radius: 2px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Between Strands carries the lantern-green light */
body.page-betweenstrands { --accent: var(--jade); --accent-ink: #06140e; }
/* Out of the Bin keeps the company gold */
body.page-outofthebin    { --accent: var(--amber); --accent-ink: #1a1205; }

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-weight: 350;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.65;
  letter-spacing: 0.01em;
  -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; }

/* A faint paper-grain glow at the very top so pure black never feels flat */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(224,163,59,0.06), transparent 60%),
    radial-gradient(90% 60% at 110% 110%, rgba(130,197,171,0.05), transparent 55%);
}
.site-main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ---------- 3. Layout helpers --------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: var(--radius); z-index: 200;
  font-family: var(--mono); font-size: 13px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 4. Type system ------------------------------------------------ */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.7em;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px;
  background: currentColor; opacity: 0.6; display: inline-block;
}
.eyebrow--plain::before { display: none; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 380; line-height: 1.04; letter-spacing: -0.012em; }
.display-xxl { font-size: clamp(2.8rem, 8.5vw, 6.6rem); font-weight: 360; line-height: 0.98; }
.display-xl  { font-size: clamp(2.3rem, 5.6vw, 4.4rem); }
.display-l   { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.display-m   { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.fr-italic   { font-style: italic; font-weight: 340; }

.lede {
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.55; color: var(--bone-dim); font-weight: 350;
  letter-spacing: 0;
}
.muted { color: var(--muted); }
.measure { max-width: 60ch; }
.measure-tight { max-width: 46ch; }

/* ---------- 5. Buttons & links -------------------------------------------- */
.btn {
  --b: var(--accent);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.6em;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: var(--radius); border: 1px solid var(--b);
  transition: color .35s var(--ease), background .35s var(--ease), transform .25s var(--ease);
  background: transparent; color: var(--bone);
}
.btn .btn__fill {
  position: absolute; inset: 0; background: var(--b);
  transform: scaleX(0); transform-origin: left; z-index: -1;
  transition: transform .4s var(--ease);
}
.btn span:not(.btn__fill) { position: relative; z-index: 1; }
.btn:hover, .btn:focus-visible { color: var(--accent-ink); }
.btn:hover .btn__fill, .btn:focus-visible .btn__fill { transform: scaleX(1); }
.btn--solid { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--solid .btn__fill { background: var(--bone); }
.btn--solid:hover, .btn--solid:focus-visible { color: var(--ink); }
.btn--ghost { border-color: var(--line); }
.btn--ghost .btn__fill { background: var(--bone); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ink); border-color: var(--bone); }
.btn--sm { padding: 0.7em 1.15em; font-size: 12px; }
.btn[aria-disabled="true"], .btn.is-disabled {
  opacity: 0.5; pointer-events: none; border-style: dashed;
}

.tlink {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--bone);
  display: inline-flex; align-items: center; gap: 0.55em;
  padding-bottom: 3px; border-bottom: 1px solid var(--accent);
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.tlink:hover, .tlink:focus-visible { gap: 0.9em; color: var(--accent); }
.tlink__arrow { transition: transform .25s var(--ease); }
.tlink:hover .tlink__arrow { transform: translateX(3px); }

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

/* ---------- 6. The ripple signature --------------------------------------- */
/* Concentric rings — the company's "small thing makes ripples" idea, used as a
   quiet motif behind headings and as a divider. */
.ripple {
  position: relative; width: 64px; height: 64px; flex: none;
}
.ripple span {
  position: absolute; inset: 0; border: 1px solid var(--accent);
  border-radius: 50%; opacity: 0;
  animation: rippleOut 4.2s var(--ease) infinite;
}
.ripple span:nth-child(2) { animation-delay: 1.4s; }
.ripple span:nth-child(3) { animation-delay: 2.8s; }
@keyframes rippleOut {
  0%   { transform: scale(0.15); opacity: 0.9; }
  70%  { opacity: 0.12; }
  100% { transform: scale(1); opacity: 0; }
}
.ripple-divider {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  color: var(--accent); padding-block: clamp(20px, 4vw, 40px);
}
.ripple-divider::before, .ripple-divider::after {
  content: ""; height: 1px; flex: 1; max-width: 220px;
  background: linear-gradient(90deg, transparent, var(--line) 50%, transparent);
}
.ripple-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); position: relative; }
.ripple-dot::after {
  content: ""; position: absolute; inset: -7px; border: 1px solid var(--accent);
  border-radius: 50%; opacity: 0.4;
}

/* ---------- 7. Header / nav ----------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(15, 14, 19, 0.82);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 22px; height: 22px; position: relative; flex: none; }
.brand__mark::before, .brand__mark::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid var(--accent);
}
.brand__mark::before { inset: 0; opacity: 0.45; }
.brand__mark::after { inset: 6px; background: var(--accent); border: none; }
.brand__name {
  font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.01em; color: var(--bone);
}
.brand__name b { font-weight: 500; }

.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav__link {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bone-dim); position: relative; padding-block: 6px;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link:focus-visible { color: var(--bone); }
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--accent); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { margin-left: 6px; }

.nav__toggle {
  display: none; background: none; border: none; padding: 8px; color: var(--bone);
  width: 44px; height: 44px;
}
.nav__toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 5px auto; transition: transform .3s var(--ease), opacity .3s var(--ease); }

@media (max-width: 1100px) {
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 8px;
    background: rgba(13, 12, 17, 0.97); backdrop-filter: blur(10px);
    transform: translateY(-100%); transition: transform .5s var(--ease);
    pointer-events: none;
  }
  .nav__links.is-open { transform: translateY(0); pointer-events: auto; }
  .nav__link { font-size: 1.4rem; font-family: var(--display); text-transform: none; letter-spacing: 0; color: var(--bone); }
  .nav__link::after { display: none; }
  body.menu-open { overflow: hidden; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ---------- 8. Hero ------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding-bottom: clamp(48px, 8vh, 110px); padding-top: 120px; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,14,19,0.55) 0%, rgba(15,14,19,0.15) 35%, rgba(15,14,19,0.6) 75%, var(--ink) 100%),
    linear-gradient(90deg, rgba(15,14,19,0.8) 0%, rgba(15,14,19,0.1) 55%);
}
.hero__inner { width: 100%; }
.hero__title { margin-top: 0.25em; max-width: 16ch; }
.hero__sub { margin-top: 1.5rem; max-width: 52ch; }
.hero__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__scroll::after { content: ""; width: 1px; height: 38px; background: linear-gradient(var(--muted), transparent); animation: scrollPulse 2.4s var(--ease) infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* page intro (non-home heroes) */
.pagehead { position: relative; padding-top: 150px; padding-bottom: clamp(40px, 6vw, 80px); }
.pagehead__title { margin-top: 0.35em; }
.pagehead__sub { margin-top: 1.4rem; }

/* ---------- 9. Reveal-on-scroll ------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- 10. Statement / prose ----------------------------------------- */
.statement__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
@media (min-width: 860px) { .statement__grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.statement__big { font-family: var(--display); font-size: clamp(1.6rem, 2.9vw, 2.5rem); line-height: 1.2; font-weight: 360; }
.statement__big em { font-style: italic; color: var(--accent); }

.prose p { margin-bottom: 1.15em; color: var(--bone-dim); }
.prose p:last-child { margin-bottom: 0; }
.prose .display-m { color: var(--bone); margin: 1.4em 0 0.5em; }

.values { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 720px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { background: var(--ink); padding: clamp(26px, 3vw, 40px); }
.value__n { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.15em; }
.value h3 { font-size: 1.4rem; margin: 0.8em 0 0.4em; }
.value p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* ---------- 11. Production plates (featured) ------------------------------ */
.plate { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 880px) {
  .plate { grid-template-columns: 1.05fr 0.95fr; }
  .plate--flip .plate__media { order: 2; }
}
.plate + .plate { margin-top: clamp(64px, 9vw, 130px); }
.plate__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.plate__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.plate:hover .plate__media img { transform: scale(1.04); }
.plate__tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(15,14,19,0.7); backdrop-filter: blur(6px);
  color: var(--accent); padding: 7px 12px; border-radius: var(--radius); border: 1px solid var(--line);
}
.plate__title { margin: 0.25em 0 0.6rem; }
.plate__meta { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 1.2rem; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.plate__actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 12. Performances list (collection) ---------------------------- */
.perf-list { border-top: 1px solid var(--line); margin-top: clamp(24px, 3vw, 40px); }
.perf {
  display: grid; gap: 4px 28px; align-items: center; padding: clamp(20px, 2.6vw, 30px) 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .perf { grid-template-columns: 150px 1fr auto; gap: 0 28px; }
}
.perf__date { font-family: var(--mono); font-size: 14px; color: var(--accent); letter-spacing: 0.04em; }
.perf__date small { display: block; color: var(--muted); font-size: 11.5px; letter-spacing: 0.1em; margin-top: 4px; }
.perf__where { }
.perf__venue { font-family: var(--display); font-size: 1.35rem; line-height: 1.2; }
.perf__city { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 5px; }
.perf__cta { margin-top: 10px; }
@media (min-width: 760px) { .perf__cta { margin-top: 0; } }
.perf__status {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--radius);
}
.perf__status[data-tone="award"] { color: var(--amber); border-color: rgba(224,163,59,0.4); }
.list-empty { padding: 40px 0; color: var(--muted); font-family: var(--mono); font-size: 14px; }

/* ---------- 13. Galleries + lightbox -------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(8px, 1.2vw, 16px); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2);
  aspect-ratio: 3 / 2; cursor: zoom-in; border: none; padding: 0;
}
.gallery__item.is-portrait { aspect-ratio: 2 / 3; }
.gallery__item.span-2 { grid-column: span 2; aspect-ratio: 3 / 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s var(--ease); filter: saturate(0.96); }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.05); filter: saturate(1.08); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,14,19,0.35), transparent 45%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(8, 7, 11, 0.94); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: clamp(16px, 4vw, 56px);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(236,231,221,0.08); border: 1px solid var(--line);
  color: var(--bone); width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-size: 20px; transition: background .25s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); color: var(--accent-ink); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox__cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
@media (max-width: 560px) { .lightbox__nav { width: 40px; height: 40px; } }

/* ---------- 14. Quotes / reviews ------------------------------------------ */
.quotes { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 720px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote {
  background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px); position: relative;
}
.quote__mark { font-family: var(--display); font-size: 3.4rem; line-height: 0.6; color: var(--accent); opacity: 0.55; }
.quote__text { font-family: var(--display); font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.4; font-weight: 360; margin: 0.2em 0 1em; }
.quote__by { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.quote__by b { color: var(--bone-dim); font-weight: 400; }
.quote--placeholder { border-style: dashed; border-color: var(--line); }
.quote--placeholder .quote__text { color: var(--muted); font-style: italic; }

/* small inline "editable region" hint used on placeholders */
.placeholder {
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px); color: var(--muted);
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; line-height: 1.7;
}
.placeholder b { color: var(--bone-dim); font-weight: 700; }

/* ---------- 15. Workshops ------------------------------------------------- */
.workshops { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 820px) { .workshops { grid-template-columns: repeat(3, 1fr); } }
.wcard { background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 32px); display: flex; flex-direction: column; }
.wcard__n { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.14em; }
.wcard h3 { font-size: 1.45rem; margin: 0.7em 0 0.5em; }
.wcard p { color: var(--muted); font-size: 0.96rem; flex: 1; }
.wcard__meta { font-family: var(--mono); font-size: 12px; color: var(--bone-dim); margin-top: 1.2em; letter-spacing: 0.04em; }
.wcard__cta { margin-top: 1.4em; }

.feature-band { position: relative; border-radius: var(--radius); overflow: hidden; }
.feature-band img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/7; }
.feature-band__overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  padding: clamp(24px, 4vw, 54px);
  background: linear-gradient(0deg, rgba(15,14,19,0.85), rgba(15,14,19,0.1) 70%);
}

/* ---------- 16. Contact --------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(36px, 5vw, 72px); }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.field { margin-bottom: 22px; }
.field label { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--ink-2); border: 1px solid var(--line);
  color: var(--bone); font-family: var(--body); font-size: 1rem;
  padding: 14px 16px; border-radius: var(--radius); transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--ink-3); }
.field input::placeholder, .field textarea::placeholder { color: rgba(145,139,160,0.6); }
.form__note { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 6px; }
.form__status { font-family: var(--mono); font-size: 13px; margin-top: 14px; min-height: 1.2em; }
.form__status[data-state="ok"] { color: var(--jade); }
.form__status[data-state="err"] { color: var(--ember); }

.contact-block + .contact-block { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.contact-block h3 { font-size: 1.3rem; margin-bottom: 0.3em; }
.contact-block a.big { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: var(--accent); }
.contact-block a.big:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-block p { color: var(--bone-dim); }

/* ---------- 17. Strips / CTA band ----------------------------------------- */
.cta-band { text-align: center; }
.cta-band__title { max-width: 18ch; margin: 0.5em auto 0; }
.cta-band__actions { margin-top: 2.2rem; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 18. Footer ---------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 84px) 32px; background: var(--ink-2); }
.footer__top { display: grid; gap: clamp(32px, 5vw, 60px); }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__about { max-width: 38ch; }
.footer__about p { color: var(--muted); font-size: 0.95rem; margin-top: 1rem; }
.footer__col h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 1.1em; }
.footer__col a { display: block; color: var(--bone-dim); padding: 5px 0; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 26px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em;
}
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--bone-dim); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s; }
.footer__social a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- 19. Misc ------------------------------------------------------ */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.4rem; }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone-dim); border: 1px solid var(--line); padding: 6px 11px; border-radius: 100px; }

.credits { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.credit { background: var(--ink); display: grid; grid-template-columns: 1fr; gap: 2px; padding: 16px clamp(18px,2.4vw,28px); }
@media (min-width: 620px) { .credit { grid-template-columns: 1fr 1.3fr; align-items: baseline; } }
.credit__role { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.credit__name { font-family: var(--display); font-size: 1.15rem; }

.founders { display: grid; gap: clamp(40px, 6vw, 72px); margin-top: clamp(32px,4vw,52px); }
@media (min-width: 720px) { .founders { grid-template-columns: 1fr 1fr; } }
.founder__name { margin-bottom: 0.1em; }
.founder__role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 1em; }
.founder p { color: var(--bone-dim); margin-bottom: 1em; }
.founder__langs { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 1.2em; letter-spacing: 0.03em; }

/* ============================================================================
   ADDITIONS — logo mark, founder photos, masonry gallery, award banner,
   "Colours That Don't Exist" accent + in-development styling.
   ========================================================================== */

/* New per-page accent: Colours That Don't Exist (a muted rose) */
:root { --rose: #C98AA6; --rose-soft: #E2B6C6; }
body.page-colours { --accent: var(--rose); --accent-ink: #241016; }

/* Logo mark replaces the old CSS dot beside the wordmark */
.brand__mark-img { height: 30px; width: auto; display: block; flex: none; }
@media (max-width: 1100px) { .brand__mark-img { height: 26px; } }

/* Six-item nav: a touch tighter so it sits on one line on wide screens */
@media (min-width: 1101px) {
  .nav__links { gap: clamp(14px, 1.7vw, 26px); }
  .nav__link  { font-size: 12px; }
}

/* Founder portraits */
.founder__photo {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); margin-bottom: 1.6rem; display: block;
  background: var(--ink-2);
}

/* Masonry gallery (used on Out of the Bin so portrait + landscape sit together) */
.gallery--masonry { display: block; column-gap: clamp(8px, 1.2vw, 16px); columns: 2; }
@media (min-width: 760px) { .gallery--masonry { columns: 3; } }
.gallery--masonry .gallery__item {
  aspect-ratio: auto; width: 100%; display: block;
  margin: 0 0 clamp(8px, 1.2vw, 16px); break-inside: avoid;
}
.gallery--masonry .gallery__item img { height: auto; display: block; }

/* Award / recognition banner */
.award {
  display: flex; gap: clamp(20px, 3vw, 36px); align-items: center;
  background: linear-gradient(120deg, var(--ink-2), var(--ink-3));
  border: 1px solid rgba(224,163,59,0.35); border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 40px);
}
.award__badge {
  flex: none; width: clamp(64px, 8vw, 86px); height: clamp(64px, 8vw, 86px);
  border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 38%, rgba(224,163,59,0.32), rgba(224,163,59,0.08));
  border: 1px solid rgba(224,163,59,0.5);
}
.award__star { color: var(--amber); font-size: clamp(28px, 4vw, 40px); line-height: 1; }
.award__badge-img { flex: none; width: clamp(96px, 13vw, 150px); height: auto; }
.award__title { margin: 0 0 0.5rem; color: var(--bone); }
.award__sub { color: var(--bone-dim); margin: 0; }
.award__sub strong { color: var(--amber); font-weight: 600; }
@media (max-width: 560px) { .award { flex-direction: column; text-align: center; align-items: center; } }

/* Home "in development" production plate (no photo) */
.plate__media--dev {
  display: flex; align-items: center; justify-content: center; min-height: 280px;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(201,138,166,0.22), transparent 60%),
    linear-gradient(140deg, var(--ink-2), var(--ink-3));
}
.dev-panel span {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: var(--bone-dim);
  text-align: center; line-height: 1.15; opacity: 0.92; padding: 1.4rem;
}

/* Decorative colour-swatch strip on the Colours page */
.swatches { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0; border-radius: var(--radius); overflow: hidden; height: clamp(40px, 7vw, 72px); }
.swatches span { display: block; }
.swatches span:nth-child(1){ background:#6E7480; }
.swatches span:nth-child(2){ background:#8A7E8C; }
.swatches span:nth-child(3){ background:#A98499; }
.swatches span:nth-child(4){ background:#C98AA6; }
.swatches span:nth-child(5){ background:#B98E8A; }
.swatches span:nth-child(6){ background:#9C8B9A; }
.swatches span:nth-child(7){ background:#7C808E; }
.swatches span:nth-child(8){ background:#5C5E6B; }

/* Flat (image-less) feature band — used for the Colours development note */
.feature-band--flat {
  background: linear-gradient(120deg, var(--ink-2), var(--ink-3));
  border: 1px solid var(--line-soft);
}
.feature-band--flat .feature-band__overlay { background: none; padding: clamp(28px, 4.5vw, 60px); }

/* Uniform square gallery (Out of the Bin) — every image fills its tile edge-to-edge */
.gallery--square .gallery__item { aspect-ratio: 1 / 1; }

/* Home page: use the logo blue in place of the gold accent */
body.page-home {
  --accent: #5273A4;        /* the logo's blue */
  --accent-ink: #EAF1FB;    /* light text, readable on the blue */
  --amber: #5273A4;
}

/* Award banner: keep the bursary line in white rather than gold */
.award__sub strong.award__white { color: var(--bone); font-weight: 600; }

/* Image descriptions are not displayed under enlarged photos */
.lightbox__cap { display: none; }
