:root {
  --black: #070707;
  --ink: #15130f;
  --charcoal: #262529;
  --gray: #535257;
  --soft-gray: #b5b1b1;
  --white: #fbfaf7;
  --warm-white: #f2eee8;
  --marble: #e9e4dc;
  --gold: #ac8c63;
  --light-gold: #dbb58b;
  --old-gold: #ab834f;
  --bronze-shadow: #4a3c31;
  --purple: #63225f;
  --violet: #9d48c5;
  --blue: #3476a9;
  --red: #8d3830;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --shadow: 0 30px 90px rgba(0, 0, 0, .26);
  --soft-shadow: 0 18px 48px rgba(30, 24, 18, .16);
  --slide-index: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(243,238,231,.88) 48%, rgba(255,255,255,.84)),
    url("../img/cinaedvs/cinaedvs-white-marble-gold.jpg") center top / cover fixed;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 7%, rgba(219,181,139,.28), transparent 22%),
    radial-gradient(circle at 88% 12%, rgba(255,255,255,.88), transparent 26%),
    radial-gradient(circle at 50% 92%, rgba(172,140,99,.17), transparent 31%),
    linear-gradient(90deg, rgba(7,7,7,.08), transparent 18%, transparent 82%, rgba(7,7,7,.08));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .15;
  background-image: url("../img/cinaedvs/marble-geometric-wall.png");
  background-size: 760px auto;
  background-position: center top;
  mix-blend-mode: multiply;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 300;
  padding: .7rem 1rem;
  color: var(--white);
  background: var(--black);
}
.skip-link:focus { top: 1rem; }

.entry-screen {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f7f6f3;
  transition: opacity .55s ease, visibility .55s ease;
}

.entry-buildings {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.44) 38%, rgba(255,255,255,.82)),
    radial-gradient(circle at 50% 42%, rgba(255,255,255,1), transparent 24%),
    url("../img/cinaedvs/misty-colonnade.png") center / cover no-repeat;
  filter: saturate(.9) contrast(1.03);
  transform: scale(1.02);
}

.entry-lion {
  position: relative;
  z-index: 3;
  width: min(300px, 38vw);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
  filter: drop-shadow(0 24px 42px rgba(55,43,32,.30));
  animation: lionPulse 1s ease-in-out infinite;
}

.entry-lion::before,
.entry-lion::after {
  content: none;
}

.entry-lion img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.is-opening .entry-lion {
  animation: lionBurst .72s cubic-bezier(.18,.9,.28,1) forwards;
}

body.entered .entry-screen {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 4vw, 52px);
  color: var(--white);
  background: linear-gradient(90deg, rgba(7,7,7,.96), rgba(38,35,31,.92));
  border-bottom: 1px solid rgba(219,181,139,.34);
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity .4s ease, transform .4s ease;
}

body.entered .site-header {
  opacity: 1;
  transform: translateY(0);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  letter-spacing: .22em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .92rem;
  text-transform: uppercase;
}

.brand-mark img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(219,181,139,.5);
  box-shadow: 0 0 18px rgba(172,140,99,.22);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.top-nav a {
  color: rgba(251,250,247,.78);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.top-nav a.is-active {
  color: var(--light-gold);
  border-color: var(--light-gold);
}

.nav-toggle {
  display: none;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(219,181,139,.42);
  border-radius: 999px;
  padding: 9px 14px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
}

.slider-shell {
  position: relative;
  min-height: 100vh;
  padding: 76px 0 74px;
  opacity: 0;
  transform: scale(.985);
  pointer-events: none;
  transition: opacity .45s ease .2s, transform .45s ease .2s;
}

body.entered .slider-shell {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.carousel-viewport {
  width: min(1320px, calc(100vw - 120px));
  height: min(670px, calc(100vh - 150px));
  min-height: 0;
  margin-inline: auto;
  overflow: hidden;
  outline: none;
  border-radius: var(--radius-xl);
}

.carousel-track {
  display: flex;
  height: 100%;
  min-height: inherit;
  transform: translateX(calc(var(--slide-index) * -100%));
  transition: transform .6s cubic-bezier(.22,.72,.22,1);
}

.slide {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: inherit;
  height: 100%;
  display: grid;
  padding: 6px;
}

.slide-card {
  position: relative;
  overflow: hidden;
  min-height: inherit;
  height: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.88);
}

.roman-border {
  border: 1px solid rgba(74,60,49,.2);
}

.roman-border::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 4;
  pointer-events: none;
  border-radius: calc(var(--radius-xl) - 10px);
  border: 2px solid rgba(172,140,99,.48);
  box-shadow:
    inset 0 0 0 7px rgba(255,255,255,.42),
    inset 0 0 0 9px rgba(219,181,139,.23);
}

.roman-border::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 4;
  pointer-events: none;
  border-radius: calc(var(--radius-xl) - 18px);
  border: 1px solid transparent;
  background:
    repeating-linear-gradient(90deg, rgba(172,140,99,.8) 0 12px, transparent 12px 24px) top left / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, rgba(172,140,99,.8) 0 12px, transparent 12px 24px) bottom left / 100% 2px no-repeat,
    repeating-linear-gradient(180deg, rgba(172,140,99,.8) 0 12px, transparent 12px 24px) top left / 2px 100% no-repeat,
    repeating-linear-gradient(180deg, rgba(172,140,99,.8) 0 12px, transparent 12px 24px) top right / 2px 100% no-repeat;
  opacity: .55;
}

.marble-card {
  background:
    linear-gradient(120deg, rgba(255,255,255,.90), rgba(245,241,235,.78)),
    url("../img/cinaedvs/cinaedvs-white-marble-gold.jpg") center / cover;
}

.gallery-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.68)),
    url("../img/cinaedvs/arcade-gallery.png") center / cover no-repeat;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--old-gold);
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .22em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
  color: var(--ink);
}

h1 {
  max-width: 720px;
  font-size: clamp(3rem, 5.2vw, 5.35rem);
  font-weight: 950;
  letter-spacing: -.058em;
  text-shadow:
    .7px 0 currentColor,
    -.7px 0 currentColor,
    0 .7px currentColor,
    0 1px 0 rgba(255,255,255,.72);
}

h2 {
  font-size: clamp(2.15rem, 3.85vw, 4.55rem);
  font-weight: 900;
  letter-spacing: -.045em;
  text-shadow: 0 1px 0 rgba(255,255,255,.64);
}

h3 {
  font-size: clamp(1.7rem, 3vw, 3.15rem);
  font-weight: 850;
  letter-spacing: -.035em;
}

p {
  font-size: clamp(.9rem, 1.08vw, 1.02rem);
  line-height: 1.58;
}

.landing-card {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(300px, .82fr);
  align-items: center;
  gap: clamp(16px, 3.2vw, 42px);
  padding: clamp(26px, 4.2vw, 54px);
}

.landing-copy {
  position: relative;
  z-index: 5;
  max-width: 760px;
}

.landing-copy p {
  color: rgba(21,19,15,.76);
}

.focus-line {
  margin-top: 14px;
  padding: 12px 15px;
  border-left: 4px solid var(--old-gold);
  background: rgba(255,255,255,.58);
  border-radius: 0 16px 16px 0;
}

.landing-art {
  position: relative;
  z-index: 2;
  min-height: 420px;
  display: grid;
  align-items: end;
  justify-items: center;
}

.landing-art .doorway {
  position: absolute;
  bottom: -16px;
  width: min(560px, 116%);
  max-width: none;
  opacity: .92;
  filter: drop-shadow(0 26px 38px rgba(44,38,32,.24));
}

.landing-art .crest {
  position: relative;
  width: min(320px, 72%);
  margin-bottom: 84px;
  border-radius: 24px;
  border: 1px solid rgba(172,140,99,.34);
  box-shadow: 0 28px 58px rgba(48,42,36,.20);
}

.section-title-block {
  position: relative;
  z-index: 5;
  max-width: 900px;
  margin: 0 auto clamp(14px, 2.4vw, 24px);
  text-align: center;
}

.section-title-block.compact {
  margin-bottom: 18px;
}

.section-title-block p {
  max-width: 720px;
  margin: 16px auto 0;
  color: rgba(21,19,15,.72);
}

.focus-card,
.software-card,
.music-card,
.studio-card,
.about-card {
  padding: clamp(22px, 3.6vw, 42px);
}

.two-panel-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(18px, 3vw, 30px);
}

.feature-panel,
.app-card {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(74,60,49,.18);
  background: rgba(255,255,255,.78);
  box-shadow: var(--soft-shadow);
}

.forever-panel {
  color: #f7ece4;
  background:
    linear-gradient(180deg, rgba(28,10,19,.96), rgba(14,7,9,.96)),
    url("../img/forever-bound/violet-celtic-bar.jpg") center / cover;
  border-color: rgba(219,181,139,.3);
}

.feature-media {
  min-height: 190px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.forever-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .74;
}

.lantern {
  position: relative;
  z-index: 2;
  width: min(230px, 58%);
  filter: drop-shadow(0 22px 38px rgba(0,0,0,.48));
}

.feature-copy {
  padding: clamp(18px, 2.4vw, 26px);
}

.feature-copy p {
  color: rgba(21,19,15,.74);
  margin: 14px 0 0;
}

.forever-panel h3,
.forever-panel .eyebrow,
.forever-panel p { color: rgba(248,237,231,.88); }
.forever-panel h3 { color: #fff8ef; }

.question-line {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.23rem;
}

.software-panel-mini {
  background:
    linear-gradient(135deg, rgba(255,255,255,.90), rgba(238,232,222,.78)),
    url("../img/cinaedvs/cinaedvs-white-marble-gold.jpg") center / cover;
}

.software-symbols {
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.34)),
    url("../img/cinaedvs/marble-geometric-wall.png") center / cover;
}

.software-symbols img:first-child {
  width: min(270px, 82%);
  filter: drop-shadow(0 16px 22px rgba(0,0,0,.18));
}

.software-symbols img:last-child {
  width: min(330px, 92%);
  margin-top: 10px;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.14));
}

.app-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.app-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.app-card h3 {
  margin-top: 14px;
  font-size: 1.55rem;
}

.app-card p {
  color: rgba(21,19,15,.72);
  margin: 10px 0 18px;
}

.app-media {
  height: 210px;
  min-height: 210px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(74,60,49,.16);
}

.artifex-media {
  padding: 24px;
  background: linear-gradient(135deg, #050507, #121218 62%, #070707);
}

.artifex-media img {
  width: min(96%, 540px);
  max-height: 145px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(0,0,0,.48));
}

.organon-media {
  gap: 8px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(233,225,215,.78));
}

.organon-logo {
  width: min(190px, 72%);
  max-height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.14));
}

.organon-title {
  width: min(270px, 82%);
  max-height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.14));
}

.backroom-media {
  position: relative;
  background: #020508;
}

.backroom-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/software/backroom-banner.png") center / cover no-repeat;
  transform: scale(1.22);
  filter: blur(18px) brightness(.62) saturate(1.15);
}

.backroom-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.action:hover,
.action:focus-visible {
  transform: translateY(-2px);
}

.action.gold {
  color: var(--ink);
  background:
    linear-gradient(135deg, #f0d1a7, var(--light-gold) 34%, var(--gold) 70%, var(--old-gold));
  border: 1px solid rgba(74,60,49,.28);
  box-shadow: 0 12px 24px rgba(74,60,49,.14), inset 0 1px 0 rgba(255,255,255,.58);
}

.action.wood {
  color: #f8ede7;
  background:
    linear-gradient(180deg, rgba(57,25,22,.22), rgba(18,9,8,.42)),
    url("../img/forever-bound/leather-button.jpg") center / cover;
  border: 1px solid rgba(219,181,139,.42);
  box-shadow: 0 14px 32px rgba(20,7,14,.28);
}

.action.gray {
  color: var(--white);
  background: linear-gradient(135deg, var(--gray), #37363a 58%, #242327);
  border: 1px solid rgba(255,255,255,.34);
  box-shadow: 0 12px 24px rgba(83,82,87,.18);
}

.glitter-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.76)),
    url("../img/archive/christina-glitter.png") center / cover;
}

.music-content {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .85fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.music-copy {
  max-width: 760px;
}

.music-copy p {
  color: rgba(21,19,15,.74);
}

.music-image {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(74,60,49,.22);
  box-shadow: 0 18px 40px rgba(30,24,18,.18);
}

.music-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.studio-card {
  position: relative;
}

.archive-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.archive-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  border-radius: 24px;
  border: 1px solid rgba(74,60,49,.22);
  background: #111;
  box-shadow: 0 18px 40px rgba(30,24,18,.16);
}

.archive-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.archive-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(0,0,0,.78));
}

.archive-card span {
  position: relative;
  z-index: 1;
  width: calc(100% - 28px);
  margin: 14px;
  padding: 13px 16px;
  color: var(--white);
  background: rgba(7,7,7,.55);
  border: 1px solid rgba(219,181,139,.42);
  border-radius: 999px;
  font-weight: 950;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.archive-card:hover img,
.archive-card:focus-visible img { transform: scale(1.05); }

.about-card {
  display: grid;
  grid-template-columns: minmax(230px, .62fr) minmax(0, 1.38fr);
  gap: clamp(22px, 4vw, 48px);
}

.about-title-block,
.about-text {
  position: relative;
  z-index: 5;
}

.about-text p {
  margin: 0 0 10px;
  color: rgba(21,19,15,.74);
  font-size: clamp(.84rem, .9vw, .96rem);
  line-height: 1.48;
}
.about-text p:last-child { margin-bottom: 0; }

.carousel-arrow {
  position: fixed;
  top: 50%;
  z-index: 70;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(172,140,99,.44);
  color: var(--ink);
  background: rgba(255,255,255,.72);
  box-shadow: 0 16px 34px rgba(30,24,18,.16);
  backdrop-filter: blur(10px);
  font-size: 2.1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity .28s ease, transform .18s ease;
}

body.entered .carousel-arrow {
  opacity: 1;
  pointer-events: auto;
}

.carousel-prev { left: clamp(12px, 2vw, 30px); }
.carousel-next {
  right: clamp(12px, 2vw, 30px);
  animation: arrowPulse 1.8s ease-in-out infinite;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  transform: translateY(-50%) scale(1.06);
}

.carousel-arrow:disabled {
  opacity: .24 !important;
  cursor: default;
  animation: none;
}

.carousel-status {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 75;
  display: grid;
  justify-items: center;
  gap: 9px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
  transition: opacity .3s ease, transform .3s ease;
}

body.entered .carousel-status {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.slide-name {
  padding: 7px 13px;
  border-radius: 999px;
  color: rgba(251,250,247,.88);
  background: rgba(7,7,7,.72);
  border: 1px solid rgba(219,181,139,.28);
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(83,82,87,.36);
  cursor: pointer;
}

.carousel-dots button.is-active {
  width: 28px;
  background: var(--old-gold);
}

.site-footer {
  position: relative;
  z-index: 50;
  color: rgba(251,250,247,.82);
  background: linear-gradient(90deg, #070707, #25221f);
  border-top: 1px solid rgba(219,181,139,.28);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .35s ease, transform .35s ease;
}

body.entered .site-footer {
  opacity: 1;
  transform: translateY(0);
}

.footer-inner {
  width: min(1180px, calc(100% - 34px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
}

.footer-logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(219,181,139,.45);
}

.footer-brand {
  margin: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-small {
  margin: 4px 0 0;
  color: rgba(251,250,247,.62);
  font-size: .92rem;
  line-height: 1.35;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(251,250,247,.78);
  text-decoration: none;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus-visible { color: var(--light-gold); }

@keyframes lionPulse {
  0%, 100% { transform: scale(1); }
  18% { transform: scale(1.13); }
  32% { transform: scale(.985); }
  52% { transform: scale(1.075); }
  72% { transform: scale(1); }
}

@keyframes lionBurst {
  0% { transform: scale(1); opacity: 1; filter: blur(0) drop-shadow(0 22px 38px rgba(55,43,32,.28)); }
  42% { transform: scale(1.72); opacity: 1; filter: blur(0) drop-shadow(0 0 64px rgba(219,181,139,.82)); }
  100% { transform: scale(8.2); opacity: 0; filter: blur(24px) drop-shadow(0 0 120px rgba(255,255,255,.98)); }
}

@keyframes arrowPulse {
  0%, 100% { box-shadow: 0 16px 34px rgba(30,24,18,.16), 0 0 0 0 rgba(172,140,99,.28); }
  50% { box-shadow: 0 16px 34px rgba(30,24,18,.16), 0 0 0 13px rgba(172,140,99,0); }
}

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

  .top-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: rgba(7,7,7,.96);
    border: 1px solid rgba(219,181,139,.32);
    border-radius: 18px;
    box-shadow: 0 22px 42px rgba(0,0,0,.28);
  }

  .top-nav.is-open { display: flex; }
  .top-nav a { padding: 12px; }

  .carousel-viewport { width: min(100vw - 74px, 980px); height: calc(100vh - 150px); }

  .landing-card,
  .two-panel-grid,
  .music-content,
  .about-card {
    grid-template-columns: 1fr;
  }

  .landing-art {
    order: -1;
    min-height: 340px;
  }

  .landing-art .doorway { width: min(620px, 114%); }
  .landing-art .crest { width: min(340px, 72%); margin-bottom: 62px; }

  .app-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .archive-card { min-height: 240px; }
}

@media (max-width: 680px) {
  body { background-attachment: scroll; }
  .brand-mark span { display: none; }
  .site-header { padding: 10px 12px; }
  .slider-shell { padding: 70px 0 84px; }
  .carousel-viewport { width: calc(100vw - 24px); height: calc(100vh - 154px); min-height: 0; }
  .slide { padding: 3px; }
  .slide-card { border-radius: 24px; }
  .focus-card, .software-card, .music-card, .studio-card, .about-card, .landing-card { padding: 24px; }
  h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  h2 { font-size: clamp(2.2rem, 10vw, 3.35rem); }
  h3 { font-size: clamp(1.65rem, 8vw, 2.35rem); }
  p { font-size: .96rem; line-height: 1.62; }
  .entry-lion { width: min(230px, 58vw); }
  .landing-art { min-height: 265px; }
  .landing-art .doorway { width: 128%; }
  .landing-art .crest { width: min(260px, 70%); margin-bottom: 44px; border-radius: 20px; }
  .feature-media { min-height: 205px; }
  .app-media { min-height: 170px; }
  .music-image { display: none; }
  .carousel-arrow { width: 42px; height: 42px; font-size: 1.65rem; }
  .carousel-prev { left: 6px; }
  .carousel-next { right: 6px; }
  .carousel-status { bottom: 18px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* Screen-fit carousel refinements */
.landing-copy p:not(.eyebrow) {
  font-size: clamp(.88rem, .98vw, .98rem);
  line-height: 1.52;
}

.section-title-block h2 {
  font-size: clamp(2rem, 3.45vw, 4rem);
}

.feature-copy p {
  font-size: clamp(.84rem, .95vw, .95rem);
  line-height: 1.48;
}

.software-symbols img:first-child {
  width: min(210px, 66%);
}

.software-symbols img:last-child {
  width: min(280px, 82%);
}

.app-card .action {
  align-self: flex-start;
  margin-top: auto;
}

.about-title-block h2 {
  font-size: clamp(2rem, 3.1vw, 3.7rem);
}

@media (min-width: 1120px) and (max-height: 820px) {
  .site-header { padding-top: 8px; padding-bottom: 8px; }
  .brand-mark img { width: 32px; height: 32px; }
  .slider-shell { padding-top: 62px; padding-bottom: 58px; }
  .carousel-viewport { height: calc(100vh - 118px); width: min(1380px, calc(100vw - 118px)); }
  .landing-card { padding: 34px 52px; }
  h1 { font-size: clamp(3.05rem, 4.45vw, 4.9rem); line-height: .98; }
  h2 { font-size: clamp(2rem, 3.25vw, 3.7rem); }
  h3 { font-size: clamp(1.45rem, 2.2vw, 2.2rem); }
  .landing-art { min-height: 355px; }
  .landing-art .doorway { width: min(470px, 108%); }
  .landing-art .crest { width: min(270px, 68%); margin-bottom: 70px; }
  .focus-card, .software-card, .music-card, .studio-card, .about-card { padding: 28px 38px; }
  .section-title-block { margin-bottom: 14px; }
  .section-title-block p { margin-top: 8px; }
  .feature-media { min-height: 170px; }
  .app-media { height: 180px; min-height: 180px; }
  .archive-card { min-height: 255px; }
  .carousel-status { bottom: 12px; }
  .site-footer { display: none; }
}

@media (max-height: 720px) and (min-width: 900px) {
  .carousel-status { display: none; }
  .landing-copy p:not(.eyebrow) { font-size: .84rem; line-height: 1.42; }
  .focus-line { padding: 10px 12px; }
  .button-row { margin-top: 12px; }
  .action { min-height: 38px; padding: 8px 12px; }
  .about-text p { font-size: .78rem; line-height: 1.36; margin-bottom: 7px; }
}


/* Requested carousel refinements */
.entry-lion {
  width: min(330px, 40vw);
  transform-origin: center;
  will-change: transform;
}

.entry-lion img {
  object-fit: contain;
}

.landing-art .crest {
  width: min(260px, 58%);
  margin-bottom: 88px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 22px 36px rgba(48,42,36,.24));
}

.focus-card .section-title-block h2 {
  font-size: clamp(2rem, 3.35vw, 4rem);
}

.focus-card .feature-media {
  min-height: clamp(220px, 28vh, 290px);
}

.focus-card .forever-banner {
  object-position: center center;
}

.app-media {
  height: 260px;
  min-height: 260px;
}

.artifex-media img {
  max-height: 170px;
}

.organon-logo {
  width: min(220px, 75%);
  max-height: 125px;
}

.organon-title {
  width: min(300px, 86%);
  max-height: 92px;
}

.backroom-media img {
  object-fit: contain;
}

.tile-card {
  background:
    linear-gradient(120deg, rgba(255,255,255,.92), rgba(255,255,255,.82) 52%, rgba(245,241,235,.86)),
    url("../img/cinaedvs/cinaedvs-mosaic-tech.png") center / cover no-repeat;
}

.about-story-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .82fr);
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
  padding: clamp(28px, 4.2vw, 58px);
}

.about-story-copy {
  position: relative;
  z-index: 5;
  max-width: 780px;
}

.about-story-copy h2 {
  max-width: 720px;
  font-size: clamp(2.35rem, 4.15vw, 4.85rem);
}

.about-story-copy p:not(.eyebrow) {
  margin: 14px 0 0;
  color: rgba(21,19,15,.74);
  font-size: clamp(.9rem, 1.02vw, 1rem);
  line-height: 1.55;
}

.about-story-art {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.about-story-art img {
  max-height: min(510px, 62vh);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 46px rgba(55,43,32,.24));
}

.tree-art img {
  width: min(520px, 96%);
  max-height: 430px;
}

.about-origin-card .about-story-copy {
  max-width: 860px;
}

@media (min-width: 1120px) and (max-height: 820px) {
  .entry-lion { width: min(300px, 34vw); }
  .landing-art .crest { width: min(220px, 52%); margin-bottom: 78px; }
  .app-media { height: 230px; min-height: 230px; }
  .about-story-card { padding: 34px 52px; }
  .about-story-copy h2 { font-size: clamp(2.25rem, 3.65vw, 4.2rem); }
  .about-story-copy p:not(.eyebrow) { font-size: .88rem; line-height: 1.48; }
  .about-story-art { min-height: 340px; }
  .about-story-art img { max-height: 430px; }
  .tree-art img { max-height: 360px; }
}

@media (max-width: 1050px) {
  .about-story-card {
    grid-template-columns: 1fr;
  }
  .about-story-art {
    order: -1;
    min-height: 260px;
  }
  .about-story-art img {
    max-height: 310px;
  }
}

@media (max-width: 680px) {
  .entry-lion { width: min(250px, 62vw); }
  .landing-art .crest { width: min(210px, 62%); margin-bottom: 46px; }
  .app-media { height: 200px; min-height: 200px; }
  .about-story-card { padding: 24px; }
  .about-story-copy h2 { font-size: clamp(2.15rem, 10vw, 3.35rem); }
  .about-story-copy p:not(.eyebrow) { font-size: .94rem; line-height: 1.55; }
}

@media (prefers-reduced-motion: reduce) {
  .entry-lion { animation: lionPulse 1s ease-in-out infinite !important; }
}


.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* Final requested refinements */
.brand-mark img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 0 12px rgba(219,181,139,.28));
}

.lantern {
  width: min(172px, 43.5%);
}

.organon-media .organon-title {
  width: min(225px, 65%);
  max-height: 69px;
}

.slide-name {
  display: none;
}

.carousel-status {
  gap: 0;
}

.carousel-next {
  color: #15130f;
  border-color: rgba(219,181,139,.92);
  background: radial-gradient(circle at 34% 28%, #fff6df 0%, #dbb58b 32%, #ac8c63 72%, #4a3c31 100%);
  box-shadow: 0 0 18px rgba(219,181,139,.78), 0 0 42px rgba(172,140,99,.48), inset 0 1px 0 rgba(255,255,255,.72);
  animation: goldArrowPulse 1s ease-in-out infinite;
}

.carousel-next:hover,
.carousel-next:focus-visible {
  box-shadow: 0 0 24px rgba(219,181,139,.95), 0 0 62px rgba(172,140,99,.62), inset 0 1px 0 rgba(255,255,255,.78);
}

.app-card p {
  min-height: 2.7em;
}

@keyframes goldArrowPulse {
  0%, 100% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 0 14px rgba(219,181,139,.68), 0 0 34px rgba(172,140,99,.42), 0 0 0 0 rgba(219,181,139,.34), inset 0 1px 0 rgba(255,255,255,.72);
  }
  50% {
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 0 26px rgba(219,181,139,1), 0 0 64px rgba(172,140,99,.68), 0 0 0 14px rgba(219,181,139,0), inset 0 1px 0 rgba(255,255,255,.82);
  }
}

@media (min-width: 1120px) and (max-height: 820px) {
  .brand-mark img { width: 36px; height: 36px; }
  .lantern { width: min(154px, 41%); }
  .organon-media .organon-title { width: min(210px, 62%); max-height: 62px; }
}

@media (max-width: 680px) {
  .brand-mark img { width: 34px; height: 34px; }
  .lantern { width: min(150px, 44%); }
}
