:root {
  --cine-ink: #11120f;
  --cine-cream: #f1ecdf;
  --cine-paper: #fbf7ed;
  --cine-gold: #d9a94a;
  --cine-moss: #263d35;
  --cine-line: rgba(241, 236, 223, .28);
}

html { scroll-behavior: smooth; }
body.cinematic-surface { background: var(--cine-ink); color: var(--cine-cream); }
body.cinematic-surface .site-header {
  background: rgba(12, 16, 14, .86);
  border-bottom: 1px solid rgba(255,255,255,.14);
  box-shadow: none;
  backdrop-filter: blur(16px);
}
body.cinematic-surface .brand-copy strong,
body.cinematic-surface .main-nav > a,
body.cinematic-surface .main-nav .language-switch a,
body.cinematic-surface .main-nav .link-button { color: #fff; }
body.cinematic-surface .brand-copy small { color: rgba(255,255,255,.58); }
body.cinematic-surface .nav-toggle { color: #fff; background: rgba(0,0,0,.22); border-color: rgba(255,255,255,.34); }
body.cinematic-surface .main-nav .variant-switch {
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  padding: .55rem .9rem;
}
body.cinematic-surface main { overflow: clip; }
body.cinematic-surface .site-footer { background: #090b09; border-top: 1px solid rgba(255,255,255,.12); }
body.cinematic-surface .mobile-tabbar { background: rgba(11,14,12,.96); border-color: rgba(255,255,255,.14); }
body.cinematic-surface .mobile-tabbar a { color: #f8f2e4; }
body.cinematic-surface .ai-widget-trigger { background: #efe2c5; color: #18231f; border-color: rgba(255,255,255,.38); box-shadow: 0 16px 46px rgba(0,0,0,.34); }
body.cinematic-surface .ai-widget { color: #1b2924; }

.cine-kicker {
  margin: 0 0 1rem;
  font: 700 .72rem/1.3 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.cine-hero {
  position: relative;
  min-height: min(940px, calc(100svh - 76px));
  display: grid;
  isolation: isolate;
  background: #17221f;
}
.cine-hero-media,
.cine-hero-overlay { position: absolute; inset: 0; }
.cine-hero-media { z-index: -2; overflow: hidden; transform: translateY(var(--cine-parallax-y, 0)); will-change: transform; }
.cine-hero-media img { width: 100%; height: calc(100% + 30px); object-fit: cover; object-position: center 48%; }
.cine-hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,13,11,.84) 0%, rgba(9,17,14,.5) 48%, rgba(8,15,13,.1) 78%),
    linear-gradient(0deg, rgba(10,15,13,.92) 0%, transparent 42%, rgba(5,10,9,.18) 100%);
}
.cine-hero-content { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(3.5rem, 8vh, 7rem) 2rem; }
.cine-hero .cine-kicker { color: #f1c66b; }
.cine-hero h1,
.cine-intro h2,
.cine-story h2,
.cine-section-head h2,
.cine-final h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.cine-hero h1 { max-width: 920px; font-size: clamp(3.3rem, 7.3vw, 7.6rem); line-height: .88; color: #fff9ed; }
.cine-lead { max-width: 670px; margin: 1.45rem 0 0; font-size: clamp(1rem, 1.4vw, 1.24rem); line-height: 1.65; color: rgba(255,255,255,.8); }
.cine-hero-actions { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.6rem; }
.cine-btn-primary,
.cine-search-submit { background: var(--cine-gold); color: #171711; border-color: var(--cine-gold); }
.cine-btn-primary:hover,
.cine-search-submit:hover { background: #efc568; color: #111; border-color: #efc568; }
.cine-ai-link,
.cine-story-ai { border: 0; background: transparent; color: #fff; padding: .7rem .2rem; font: inherit; font-weight: 700; cursor: pointer; }
.cine-ai-link span { color: #f2c45f; margin-left: .25rem; }
.cine-search {
  width: min(1040px, 100%);
  margin-top: clamp(1.6rem, 4vh, 3rem);
  padding: .72rem;
  display: grid;
  grid-template-columns: 1.35fr 1fr .72fr auto;
  gap: .5rem;
  color: #17211e;
  background: rgba(252,248,237,.94);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 1.15rem;
  box-shadow: 0 22px 64px rgba(0,0,0,.28);
  backdrop-filter: blur(16px);
}
.cine-search label { display: flex; flex-direction: column; justify-content: center; gap: .3rem; padding: .35rem .8rem; border-right: 1px solid rgba(20,34,29,.13); }
.cine-search label > span:first-child { color: #59635e; font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cine-search input { min-width: 0; width: 100%; border: 0; padding: .25rem 0; background: transparent; color: #13201b; box-shadow: none; font-size: .98rem; }
.cine-search input:focus { outline: 0; box-shadow: inset 0 -2px var(--cine-gold); }
.cine-search .date-field-control { display: grid; grid-template-columns: minmax(0,1fr) auto; }
.cine-search .date-picker-trigger { color: #263d35; }
.cine-search-submit { align-self: stretch; min-width: 150px; border-radius: .8rem; }
.cine-search .hero-search-error { grid-column: 1 / -1; margin: .2rem .8rem; color: #9f2f22; }
.cine-scroll-cue { width: fit-content; display: flex; align-items: center; gap: .8rem; margin-top: 1.3rem; color: rgba(255,255,255,.76); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.cine-scroll-cue i { display: inline-block; width: 42px; height: 1px; background: currentColor; }

.cine-intro { padding: clamp(5rem, 10vw, 10rem) 0; background: var(--cine-cream); color: var(--cine-ink); }
.cine-intro-grid { display: grid; grid-template-columns: .35fr 1.5fr .8fr; gap: clamp(1.5rem, 5vw, 6rem); align-items: start; }
.cine-index { margin: .5rem 0 0; color: #887b62; letter-spacing: .18em; }
.cine-intro .cine-kicker { color: #8e6e2d; }
.cine-intro h2 { font-size: clamp(2.8rem, 5.6vw, 6rem); line-height: .95; }
.cine-intro-grid > p:last-child { margin: 2.5rem 0 0; color: #5f5a4d; line-height: 1.75; }

.cine-stories { background: #0c0e0c; }
.cine-story { min-height: 86vh; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(340px, .85fr); align-items: stretch; border-top: 1px solid rgba(255,255,255,.12); opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
.cine-story.is-visible { opacity: 1; transform: none; }
.cine-story-reverse { grid-template-columns: minmax(340px, .85fr) minmax(0, 1.55fr); }
.cine-story-reverse .cine-story-media { order: 2; }
.cine-story-media { position: relative; min-height: 620px; overflow: hidden; }
.cine-story-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.42), transparent 45%); pointer-events: none; }
.cine-story-media picture,
.cine-story-media img { width: 100%; height: 100%; display: block; }
.cine-story-media img { object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.cine-story:hover .cine-story-media img { transform: scale(1.025); }
.cine-story-media > span { position: absolute; z-index: 1; left: 1.5rem; bottom: 1rem; font: 400 clamp(4rem, 8vw, 8rem)/1 Georgia, serif; color: rgba(255,255,255,.72); }
.cine-story-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.2rem, 5vw, 6rem); background: #111410; }
.cine-story .cine-kicker { color: #d7a64a; }
.cine-story h2 { font-size: clamp(3rem, 5vw, 5.7rem); line-height: .94; color: #fff8e9; }
.cine-story-copy > p:not(.cine-kicker) { max-width: 520px; margin: 1.7rem 0 0; color: rgba(255,255,255,.67); font-size: 1.03rem; line-height: 1.8; }
.cine-story-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.3rem; margin-top: 2.2rem; }
.cine-story-actions .text-link { color: #f0c261; }
.cine-story-ai { color: rgba(255,255,255,.84); }

.cine-marketplace,
.cine-offers { padding: clamp(5rem, 9vw, 9rem) 0; }
.cine-marketplace { background: #253a32; }
.cine-offers { background: var(--cine-paper); color: #171914; }
.cine-section-head { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 3rem; margin-bottom: 2.4rem; }
.cine-section-head .cine-kicker { color: #e2b354; }
.cine-section-head h2 { max-width: 760px; font-size: clamp(2.8rem, 5vw, 5.6rem); line-height: .94; }
.cine-section-head > p { margin: 0 0 .5rem; line-height: 1.7; color: rgba(255,255,255,.65); }
.cine-category-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.cine-category-card { position: relative; min-height: 440px; overflow: hidden; border-radius: .4rem; color: #fff; grid-column: span 4; }
.cine-category-card:nth-child(4), .cine-category-card:nth-child(5) { grid-column: span 6; min-height: 370px; }
.cine-category-card picture,
.cine-category-card img { width: 100%; height: 100%; display: block; }
.cine-category-card img { object-fit: cover; transition: transform .7s ease; }
.cine-category-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,9,7,.88), transparent 62%); }
.cine-category-card:hover img { transform: scale(1.04); }
.cine-category-card > span { position: absolute; z-index: 1; inset: auto 1.4rem 1.3rem; display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: .8rem; }
.cine-category-card i { font-size: .72rem; font-style: normal; color: #e8bb62; }
.cine-category-card strong { font: 400 clamp(1.6rem, 2.4vw, 2.5rem)/1 Georgia, serif; }
.cine-category-card small { color: rgba(255,255,255,.8); }
.cine-offers .cine-section-head .cine-kicker { color: #87661f; }
.cine-offers .cine-section-head > .text-link { justify-self: end; color: #425c51; }
.cine-offers .offer-card { background: #fff; color: #1a241f; box-shadow: 0 14px 38px rgba(30,38,32,.1); }
.cine-offers .offer-card h3,
.cine-offers .offer-card p,
.cine-offers .offer-card small { color: inherit; }

.cine-final { padding: clamp(6rem, 13vw, 13rem) 0; text-align: center; background: linear-gradient(135deg, #0b1511, #274439); }
.cine-final .container { max-width: 920px; }
.cine-final .cine-kicker { color: #e5b95f; }
.cine-final h2 { font-size: clamp(3rem, 6vw, 6.6rem); line-height: .92; }
.cine-final p:not(.cine-kicker) { max-width: 680px; margin: 1.5rem auto 2rem; color: rgba(255,255,255,.67); line-height: 1.75; }

body.cinematic-surface:not(.cinematic-home) main { background: var(--cine-paper); color: #18211d; }
body.cinematic-surface:not(.cinematic-home) .section,
body.cinematic-surface:not(.cinematic-home) .catalog-shell,
body.cinematic-surface:not(.cinematic-home) .detail-shell,
body.cinematic-surface:not(.cinematic-home) .auth-shell,
body.cinematic-surface:not(.cinematic-home) .assistant-shell { --surface: #fbf7ed; }
body.cinematic-surface:not(.cinematic-home) h1,
body.cinematic-surface:not(.cinematic-home) h2 { font-family: Georgia, 'Times New Roman', serif; letter-spacing: -.025em; }

@media (max-width: 980px) {
  .cine-hero { min-height: 900px; }
  .cine-search { grid-template-columns: 1fr 1fr; }
  .cine-search label:nth-child(2) { border-right: 0; }
  .cine-search-submit { min-height: 58px; }
  .cine-intro-grid { grid-template-columns: 1fr 3fr; }
  .cine-intro-grid > p:last-child { grid-column: 2; margin-top: 0; }
  .cine-story,
  .cine-story-reverse { min-height: auto; grid-template-columns: 1fr; }
  .cine-story-reverse .cine-story-media { order: 0; }
  .cine-story-media { min-height: min(72vw, 620px); }
  .cine-story-copy { min-height: 430px; }
  .cine-category-card { grid-column: span 6; }
  .cine-category-card:last-child { grid-column: 4 / span 6; }
}

@media (max-width: 720px) {
  body.cinematic-surface .site-header { background: #0d1411; }
  body.cinematic-surface .main-nav { background: #101713; border-color: rgba(255,255,255,.12); }
  body.cinematic-surface .ai-widget-trigger { width: 52px; height: 52px; min-width: 52px; padding: 0; justify-content: center; border-radius: 50%; }
  body.cinematic-surface .ai-widget-trigger > span { display: none; }
  .cine-hero { min-height: auto; }
  .cine-hero-content { min-height: calc(100svh - 70px); justify-content: flex-start; padding-top: clamp(3rem, 8vh, 5rem); padding-bottom: 2.4rem; }
  .cine-hero h1 { max-width: 12ch; font-size: clamp(3.25rem, 15vw, 5.1rem); }
  .cine-lead { max-width: 33rem; font-size: .96rem; line-height: 1.55; }
  .cine-hero-actions { flex-wrap: wrap; margin-top: 1.2rem; }
  .cine-search { grid-template-columns: 1fr 1fr; margin-top: 1.4rem; padding: .55rem; border-radius: .85rem; }
  .cine-search label { border-right: 0; border-bottom: 1px solid rgba(20,34,29,.13); padding: .45rem .55rem; }
  .cine-search label:first-child { grid-column: 1 / -1; }
  .cine-search-submit { min-width: 0; min-height: 52px; }
  .cine-scroll-cue { display: none; }
  .cine-intro { padding: 4.5rem 0; }
  .cine-intro-grid { grid-template-columns: 1fr; gap: 1rem; }
  .cine-intro-grid > p:last-child { grid-column: auto; }
  .cine-intro h2 { font-size: clamp(2.6rem, 13vw, 4.4rem); }
  .cine-story-media { min-height: 62vh; }
  .cine-story-copy { min-height: 360px; padding: 2.2rem 1.25rem 3rem; }
  .cine-story h2 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .cine-marketplace,
  .cine-offers { padding: 4.5rem 0; }
  .cine-section-head { grid-template-columns: 1fr; gap: 1.2rem; }
  .cine-section-head h2 { font-size: clamp(2.7rem, 12vw, 4.2rem); }
  .cine-category-grid { grid-template-columns: 1fr; }
  .cine-category-card,
  .cine-category-card:nth-child(4),
  .cine-category-card:nth-child(5),
  .cine-category-card:last-child { grid-column: auto; min-height: 58vw; }
  .cine-category-card > span { inset: auto 1rem 1rem; }
  .cine-final { padding: 6rem 0; }
}

@media (max-width: 430px) {
  .cine-hero h1 { font-size: clamp(2.95rem, 14vw, 4rem); }
  .cine-hero-content { padding-top: 2.25rem; }
  .cine-lead { margin-top: 1rem; }
  .cine-hero-actions { gap: .6rem; }
  .cine-btn-primary { padding-inline: 1rem; }
  .cine-ai-link { font-size: .9rem; }
  .cine-search { grid-template-columns: 1fr 1fr; }
  .cine-search label { min-width: 0; }
  .cine-search input { font-size: .88rem; }
  .cine-search-submit { font-size: .88rem; padding-inline: .7rem; }
  .cine-story-actions { align-items: flex-start; flex-direction: column; gap: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cine-hero-media { transform: none !important; will-change: auto; }
  .cine-story { opacity: 1; transform: none; transition: none; }
  .cine-story-media img,
  .cine-category-card img { transition: none; }
  .cine-story:hover .cine-story-media img,
  .cine-category-card:hover img { transform: none; }
}
