/* Shamans Circle Cyprus — static site design system (AN-40).
   Palette and type follow the approved Triona mockup (2026-10-05).
   Plain CSS, no framework, no external requests. */

:root {
  --maroon: #630001;
  --maroon-deep: #4a0001;
  --amber: #f89406;
  --amber-soft: #fbb450;
  --cream: #faf6ef;
  --paper: #fffdf8;
  --sand: #f7f1e6;
  --ink: #2b2118;
  --muted: #6d5f50;
  --sage: #5a6b4f;
  --rule: #e4dac9;
  --rule-strong: #cbbda9;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 18px 40px rgba(99, 0, 1, 0.14);
  --radius: 16px;
  --wrap: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1rem/1.65 var(--body);
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img,
svg,
video {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.35rem, 5.5vw, 3.9rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.1rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
}

p {
  margin: 0;
}

a {
  color: var(--maroon);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--maroon-deep);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

::selection {
  background: var(--amber-soft);
  color: var(--ink);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 36px);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  background: var(--maroon);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

/* ---------- header and navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.97);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  min-height: 76px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--maroon);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1.1;
}

.brand:hover {
  color: var(--maroon-deep);
}

.brand-mark {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--amber) 0 34%, var(--maroon) 70%);
  box-shadow: 0 0 0 4px rgba(248, 148, 6, 0.14);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 1.05rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}

.site-nav a {
  display: inline-block;
  padding: 0.45rem 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--maroon);
  border-bottom-color: var(--amber);
}

.site-nav a[aria-current="page"] {
  color: var(--maroon);
  border-bottom-color: var(--amber);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--rule-strong);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  font: 600 0.86rem var(--body);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--maroon);
  color: var(--maroon);
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before {
  position: absolute;
  top: -6px;
}

.nav-toggle-lines::after {
  position: absolute;
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- shared type and buttons ---------- */

.kicker {
  margin-bottom: 0.85rem;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lede {
  max-width: 58ch;
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.82rem 1.25rem;
  border: 0;
  border-radius: 9px;
  background: var(--amber);
  color: var(--ink);
  font: 600 0.95rem var(--body);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover {
  background: var(--amber-soft);
  color: var(--ink);
}

.btn-maroon {
  background: var(--maroon);
  color: #fff;
}

.btn-maroon:hover {
  background: var(--maroon-deep);
  color: #fff;
}

.text-link {
  display: inline-block;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  border-bottom: 1.5px solid var(--amber);
}

.text-link:hover {
  border-bottom-color: var(--maroon);
}

/* ---------- hero ---------- */

.hero {
  background: linear-gradient(165deg, var(--paper) 0%, var(--sand) 100%);
  padding: clamp(2.5rem, 6.5vw, 4.6rem) 0;
  border-bottom: 1px solid var(--rule);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-copy h1 {
  max-width: 16ch;
}

.hero-img {
  width: 100%;
  object-fit: cover;
}

.about-hero .hero-img {
  aspect-ratio: 4 / 5;
  max-height: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem 1.4rem;
  margin-top: 1.6rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.38rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--maroon);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ---------- page heads and breadcrumbs ---------- */

.page-head {
  padding: clamp(1.8rem, 4.5vw, 3.2rem) 0 clamp(1.8rem, 3vw, 2.4rem);
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--rule);
}

.page-head h1 {
  max-width: 22ch;
}

.crumbs {
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--rule-strong);
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--maroon);
  text-decoration: underline;
}

/* ---------- sections and cards ---------- */

.block {
  padding-block: clamp(2.3rem, 5vw, 4rem);
}

.intro-block {
  padding-top: clamp(1.8rem, 4vw, 3rem);
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}

.section-head .rule {
  flex: 1;
  min-width: 3rem;
  border-top: 1px solid var(--rule);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(99, 0, 1, 0.1);
}

.card h3 {
  margin-bottom: 0.55rem;
  color: var(--maroon);
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.card .more {
  margin-top: auto;
  padding-top: 0.9rem;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 0;
}

.card .more span {
  display: inline-block;
  transition: transform 0.15s ease;
}

.card .more:hover span {
  transform: translateX(3px);
}

.banner {
  display: grid;
  grid-template-columns: 1.35fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: clamp(1.7rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  color: #f7efe2;
}

.banner h2 {
  color: #fff;
}

.banner p {
  max-width: 54ch;
  margin-top: 0.6rem;
  color: #e9d9c6;
}

.essence-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: clamp(1.4rem, 4vw, 3rem);
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
}

.essence-mark {
  font-size: 2.6rem;
  line-height: 1;
  color: var(--amber);
}

.essence-strip h2 {
  margin-top: 0.35rem;
}

.essence-strip p {
  margin-top: 0.6rem;
  color: var(--muted);
}

.essence-strip .btn {
  margin-top: 0.9rem;
}

/* ---------- prose ---------- */

.prose {
  max-width: 72ch;
}

.prose > * + * {
  margin-top: 1.05em;
}

.prose h2 {
  margin-top: 1.9em;
  color: var(--maroon);
}

.prose h3 {
  margin-top: 1.7em;
  color: var(--maroon);
}

.prose h4 {
  margin-top: 1.4em;
  font-size: 1.05rem;
}

.prose p,
.prose li {
  color: var(--ink);
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose li + li {
  margin-top: 0.35em;
}

.prose ul ul,
.prose ol ol,
.prose ul ol,
.prose ol ul {
  margin-top: 0.35em;
}

.prose blockquote {
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--amber);
  border-radius: 0 10px 10px 0;
  background: var(--paper);
  color: var(--muted);
}

.prose blockquote p + p {
  margin-top: 0.5em;
}

.prose a {
  overflow-wrap: anywhere;
}

.prose img {
  width: auto;
  max-width: 100%;
  border-radius: 12px;
  margin-block: 1.4rem;
}

.prose figure {
  margin: 1.5rem 0;
}

.prose figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.prose hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--rule);
}

.prose code {
  padding: 0.1em 0.35em;
  border-radius: 5px;
  background: var(--sand);
  font-size: 0.9em;
}

.prose pre {
  overflow-x: auto;
  padding: 1rem;
  border-radius: 10px;
  background: var(--ink);
  color: var(--cream);
}

.prose pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.narrow {
  max-width: 64ch;
}

/* ---------- article + aside layouts ---------- */

.layout-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.layout-single {
  display: block;
}

.aside-stack {
  display: grid;
  gap: 1.1rem;
  position: sticky;
  top: 98px;
}

.aside-card,
.section-nav {
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--paper);
}

.aside-card h2,
.section-nav h2 {
  margin-bottom: 0.55rem;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}

.aside-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.aside-card p + p {
  margin-top: 0.7rem;
}

.aside-meta {
  padding-top: 0.8rem;
  border-top: 1px solid var(--rule);
  font-size: 0.86rem !important;
}

.aside-meta a {
  text-decoration: none;
}

.section-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-nav li + li {
  border-top: 1px solid var(--rule);
}

.section-nav a {
  display: block;
  padding: 0.5rem 0;
  color: var(--ink);
  font-size: 0.9rem;
  text-decoration: none;
}

.section-nav a:hover {
  color: var(--maroon);
}

.section-nav a[aria-current="page"] {
  color: var(--maroon);
  font-weight: 600;
}

/* ---------- gallery ---------- */

.gallery-intro {
  max-width: 68ch;
  margin: 0 0 1.4rem;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
  align-items: start;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--paper);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 0.75rem 0.95rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- contact ---------- */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.contact-card {
  padding: 1.2rem;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper);
}

.contact-card h2 {
  margin-bottom: 0.5rem;
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}

.contact-card a {
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-form-wrap {
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
}

.contact-form-wrap > h2 {
  font-size: 1.55rem;
}

.form-note {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.83rem;
}

.contact-form {
  margin-top: 1rem;
}

.field {
  display: grid;
  gap: 0.32rem;
  margin-top: 0.9rem;
}

.field label {
  font-size: 0.86rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--rule-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--maroon);
  outline: 3px solid rgba(248, 148, 6, 0.35);
  outline-offset: 1px;
}

.checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.6rem;
}

.checkbox input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--maroon);
}

.checkbox label {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.84rem;
}

.contact-form .btn {
  margin-top: 1.1rem;
}

/* ---------- error page ---------- */

.error-page {
  padding: clamp(3.5rem, 10vw, 7rem) 0;
  background: linear-gradient(165deg, var(--paper) 0%, var(--sand) 100%);
}

.error-page h1 {
  max-width: 16ch;
}

.error-links {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 4vw, 3rem) 0 1.2rem;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 1.5rem 2rem;
  align-items: start;
}

.footer-brand .brand {
  /* Triona 2026-11-08: footer text a little bigger than the header brand */
  font-size: clamp(1.45rem, 2.8vw, 1.8rem);
}

.footer-logo {
  height: clamp(46px, 6vw, 58px);
  width: auto;
  border-radius: 8px;
  flex: none;
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  font-size: 0.88rem;
}

.footer-nav a {
  color: var(--ink);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--maroon);
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 1rem;
  font-size: 0.88rem;
}

.footer-social a {
  color: var(--maroon);
  text-decoration: none;
}

.footer-social a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.78rem;
  flex-wrap: wrap;
}

.footer-note {
  color: var(--sage);
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .js .nav-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    display: none;
    flex-basis: 100%;
    padding-bottom: 0.8rem;
  }

  .js .site-nav.is-open {
    display: block;
  }

  .js .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .js .site-nav li {
    border-top: 1px solid var(--rule);
  }

  .js .site-nav a {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 0;
  }

  .hero-grid,
  .banner,
  .essence-strip,
  .layout-2,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .aside-stack {
    position: static;
  }

  .hero-copy h1 {
    max-width: 20ch;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 0.98rem;
  }

  .header-inner {
    min-height: 68px;
  }

  .hero,
  .page-head,
  .error-page {
    padding-block: 2rem;
  }

  .block {
    padding-block: 2rem;
  }

  .cards,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .banner {
    padding: 1.4rem;
  }

  .banner .btn {
    justify-self: start;
    white-space: normal;
  }

  .footer-bottom {
    display: block;
  }

  .footer-note {
    margin-top: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- v2 ember redesign (2026-11-06) ----------
   Same visual language as the andronicos.cy redesign: dark hero with glow,
   gradient title, arch photo frame, lifted cards. CSS only, no external requests. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #f6e9d8;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(248, 148, 6, 0.32), transparent 62%),
    radial-gradient(50% 70% at 5% 100%, rgba(160, 20, 10, 0.55), transparent 65%),
    linear-gradient(160deg, #1a0503 0%, #3a0a05 55%, #630001 100%);
  border-bottom: 0;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3.5rem, 9vw, 6.5rem);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 70px;
  background: linear-gradient(to bottom, transparent, var(--cream));
  pointer-events: none;
}

.hero .kicker { color: var(--amber-soft); letter-spacing: 0.2em; }

.hero h1 {
  background: linear-gradient(100deg, #fff3dc 10%, var(--amber-soft) 60%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
}

.hero .lede { color: rgba(246, 233, 216, 0.82); }

.hero .chips li {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(251, 180, 80, 0.35);
  color: #f6e9d8;
}

.hero .text-link { color: var(--amber-soft); border-color: rgba(251, 180, 80, 0.6); }

.hero .btn {
  background: linear-gradient(135deg, var(--amber-soft), var(--amber) 60%, #d9760a);
  color: #2a0903;
  box-shadow: 0 10px 28px rgba(248, 148, 6, 0.35);
}

.hero .hero-img {
  border-radius: 999px 999px 22px 22px;
  border: 3px solid rgba(251, 180, 80, 0.75);
  box-shadow: 0 0 0 10px rgba(251, 180, 80, 0.08), 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 90px rgba(248, 148, 6, 0.25);
  aspect-ratio: 4 / 5;
  max-height: 600px;
}

.section-head h2, .banner h2, .essence-strip h2 { letter-spacing: -0.015em; }

.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--amber);
  box-shadow: 0 24px 50px rgba(99, 0, 1, 0.18);
}

.banner {
  background:
    radial-gradient(60% 120% at 90% 0%, rgba(248, 148, 6, 0.35), transparent 60%),
    linear-gradient(135deg, #2a0603, var(--maroon));
}

.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .card, .card:hover { transition: none; transform: none; }
}

@media (max-width: 760px) {
  .hero .hero-img { max-height: 420px; max-width: 320px; margin: 0 auto; }
}

/* ---------- four elements (self-generated images) ---------- */
.elements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.8rem, 2vw, 1.4rem);
}
.elements figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.elements img { display: block; width: 100%; height: auto; }
.elements figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.2rem 1rem 0.7rem;
  color: #fff; font-size: 1.3rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}
@media (max-width: 560px) { .elements { grid-template-columns: 1fr; } }

/* quiet magic touches (assets/js/magic.js) */
.magic-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }
.magic-on .magic-fade { opacity: 0; transform: translateY(14px); transition: opacity 1.1s ease, transform 1.1s ease; }
.magic-on .magic-fade.magic-in { opacity: 1; transform: none; }
.elements figure img { transition: transform 1.2s ease, filter 1.2s ease; }
.elements figure:hover img { transform: scale(1.025); filter: brightness(1.06) saturate(1.05); }
.elements figure { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .magic-canvas { display: none; }
  .magic-on .magic-fade { opacity: 1; transform: none; transition: none; }
}

/* ---------- cut drum page: poem formatting ---------- */

.poem,
.page-the-cut-drum .prose {
  max-width: 58ch;
  font-family: var(--display);
  font-size: 1.18rem;
  line-height: 1.9;
}

.poem p {
  margin: 0 0 1rem;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

/* ---------- video cards (gallery videos, documentary pages) ---------- */

.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 1.4rem 0;
}

a.video-card {
  position: relative;
  display: block;
  flex: 1 1 16rem;
  max-width: 24rem;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
}

.video-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

a.video-card .video-play {
  position: absolute;
  top: calc(50% - 1.6rem);
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 999px;
  background: rgba(18, 15, 10, 0.62);
  color: #fff;
  font-size: 1.2rem;
}

figure.video-figure {
  margin: 1.4rem 0;
  max-width: 24rem;
}

.video-grid figure.video-figure {
  flex: 1 1 16rem;
  max-width: 24rem;
  margin: 0;
}

figure.video-figure a.video-card {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
}

a.video-card > span:not(.video-play) {
  display: block;
  padding: 0.7rem 0.9rem;
  background: var(--card, #f6f1e7);
  color: var(--ink, #221c12);
  font-weight: 600;
}

@media (prefers-color-scheme: dark) {
  a.video-card > span:not(.video-play) {
    background: var(--card, #241f16);
    color: var(--ink, #f1e9da);
  }
}
