/* Design for AI Studio · premium site */
:root {
  --paper: #f3f0ea;
  --paper-2: #e9e4db;
  --ink: #111110;
  --ink-2: #4a4843;
  --muted: #8a867d;
  --line: rgba(17, 17, 16, 0.14);
  --accent: #2b2bd9;
  --night: #0d0d0c;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

.eyebrow {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.serif { font-family: var(--serif); font-weight: 400; }
.it { font-family: var(--serif); font-style: italic; font-weight: 400; }
.wrap { padding: 0 var(--gutter); max-width: 1600px; margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), padding 0.5s var(--ease);
  color: #fff;
}
.site-header.is-solid, .site-header.on-light {
  color: var(--ink);
  background: rgba(243, 240, 234, 0.86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 38px; height: 38px; transition: filter 0.5s; }
.site-header:not(.is-solid):not(.on-light) .brand img { filter: invert(1); }
.brand-name { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid currentColor; border-radius: 999px;
  padding: 11px 22px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s;
}
.pill:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.pill--accent:hover { background: var(--ink); border-color: var(--ink); }
.pill .arrow { transition: transform 0.4s var(--ease); }
.pill:hover .arrow { transform: translateX(4px); }
.nav .pill::after { display: none; }
.menu-btn { display: none; background: none; border: 0; color: inherit; cursor: pointer; width: 44px; height: 44px; }
.menu-btn span { display: block; width: 26px; height: 1px; background: currentColor; margin: 7px auto; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--night); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 var(--gutter);
  opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--serif); font-size: clamp(40px, 11vw, 64px); line-height: 1.15; }
.mobile-menu a em { font-style: italic; }
.mobile-menu .close { position: absolute; top: 18px; right: var(--gutter); background: none; border: 0; color: inherit; font-size: 28px; cursor: pointer; width: 44px; height: 44px; }
.mobile-menu .meta { margin-top: 40px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; background: var(--night); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%);
}
.hero-content { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 0 var(--gutter) clamp(20px, 3vw, 40px); }
.hero-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(8px, 1.5vw, 20px); }
.hero-meta p { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; max-width: 340px; line-height: 1.7; opacity: 0.9; }
.wordmark {
  font-family: var(--serif); font-weight: 400; text-transform: uppercase;
  font-size: clamp(44px, 9.1vw, 172px); line-height: 0.86; letter-spacing: -0.01em;
  white-space: nowrap;
}
.wordmark em { font-style: italic; text-transform: none; letter-spacing: -0.02em; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { display: block; width: 1px; height: 46px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: #fff; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(100px, 16vw, 220px) 0 clamp(80px, 12vw, 160px); }
.manifesto-grid { display: grid; grid-template-columns: 1fr 2.2fr; gap: var(--gutter); align-items: start; }
.statement { font-family: var(--serif); font-size: clamp(44px, 7vw, 120px); line-height: 0.98; letter-spacing: -0.02em; }
.statement em { font-style: italic; color: var(--accent); }
.manifesto-body { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 520px; }
.lead em { font-family: var(--serif); font-style: italic; font-size: 1.18em; color: var(--ink); }
.manifesto-cta { display: flex; align-items: flex-end; justify-content: flex-start; }

/* ---------- Gallery ---------- */
.gallery { padding: 0 0 clamp(100px, 14vw, 200px); }
.gallery-head { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: clamp(40px, 6vw, 80px); }
.g-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 2vw, 28px); align-items: start; }
.g-item { position: relative; overflow: hidden; }
.g-item .ph { overflow: hidden; background: var(--paper-2); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.g-item.in img { transform: scale(1); }
.g-item:hover img { transform: scale(1.03); }
.g-item figcaption { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-top: 12px; }
.g1 { grid-column: 1 / span 5; } .g1 .ph { aspect-ratio: 4/5; }
.g2 { grid-column: 7 / span 4; margin-top: 22vw; } .g2 .ph { aspect-ratio: 3/4; }
.g3 { grid-column: 11 / span 2; margin-top: 8vw; } .g3 .ph { aspect-ratio: 9/16; }
.g4 { grid-column: 2 / span 3; margin-top: -6vw; } .g4 .ph { aspect-ratio: 3/4; }
.g5 { grid-column: 6 / span 6; margin-top: 6vw; } .g5 .ph { aspect-ratio: 16/10; }
.g6 { grid-column: 1 / span 4; margin-top: 6vw; } .g6 .ph { aspect-ratio: 4/5; }
.g7 { grid-column: 6 / span 3; margin-top: 14vw; } .g7 .ph { aspect-ratio: 3/4; }
.g8 { grid-column: 9 / span 4; } .g8 .ph { aspect-ratio: 4/5; }
.quote-inline { grid-column: 5 / span 5; align-self: center; margin-top: 8vw; font-family: var(--serif); font-size: clamp(28px, 3vw, 48px); line-height: 1.1; }
.quote-inline em { font-style: italic; }

/* ---------- Services ---------- */
.services { background: var(--night); color: var(--paper); padding: clamp(90px, 12vw, 180px) 0; }
.services-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-bottom: clamp(48px, 7vw, 100px); align-items: end; }
.services-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.6vw, 96px); line-height: 1; letter-spacing: -0.02em; }
.services-head h2 em { font-style: italic; }
.services-head p { color: #b9b4aa; max-width: 440px; justify-self: end; }
.s-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 28px); }
.s-card { position: relative; display: block; overflow: hidden; aspect-ratio: 3/4.2; border-radius: 2px; }
.s-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 1s; filter: saturate(0.92); }
.s-card:hover img { transform: scale(1.05); filter: saturate(1.05); }
.s-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.7) 100%); }
.s-card .num { position: absolute; top: 22px; left: 24px; z-index: 2; font-size: 11px; letter-spacing: 0.22em; }
.s-card .title { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.s-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.05; }
.s-card h3 em { font-style: italic; }
.s-card .go { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.6); display: grid; place-items: center; transition: background 0.4s, color 0.4s; }
.s-card:hover .go { background: #fff; color: var(--ink); }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 52px); display: inline-flex; align-items: center; gap: 48px; }
.marquee span em { font-style: italic; }
.marquee span::after { content: "✦"; font-size: 0.4em; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { padding: clamp(100px, 14vw, 200px) 0; }
.about-grid { display: grid; grid-template-columns: 5fr 1fr 6fr; gap: var(--gutter); align-items: start; }
.about-media { position: relative; }
.about-media .main { aspect-ratio: 4/5; overflow: hidden; }
.about-media .main img { width: 100%; height: 100%; object-fit: cover; }
.about-media .float { position: absolute; width: 46%; right: -18%; bottom: -10%; aspect-ratio: 3/4; overflow: hidden; border: 10px solid var(--paper); }
.about-media .float img { width: 100%; height: 100%; object-fit: cover; }
.about-text { grid-column: 3; padding-top: 2vw; }
.about-text h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 100px); line-height: 0.95; letter-spacing: -0.02em; margin: 18px 0 10px; }
.about-text h2 em { font-style: italic; }
.about-text .role { font-size: 14px; color: var(--ink-2); margin-bottom: 40px; }
.creds { list-style: none; border-top: 1px solid var(--line); }
.creds li { display: grid; grid-template-columns: 54px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.creds li b { font-weight: 500; font-size: 11px; letter-spacing: 0.18em; color: var(--muted); padding-top: 4px; }
.about-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }

/* ---------- Course ---------- */
.course { background: var(--paper-2); padding: clamp(90px, 12vw, 170px) 0; }
.course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.course-poster { aspect-ratio: 4/5; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,0.45); }
.course-poster img { width: 100%; height: 100%; object-fit: cover; }
.course h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 104px); line-height: 0.95; letter-spacing: -0.02em; margin: 18px 0 28px; }
.course h2 em { font-style: italic; }
.course p.lead { margin-bottom: 36px; }
.course-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Instagram strip ---------- */
.ig { padding: clamp(90px, 12vw, 160px) 0 clamp(60px, 8vw, 120px); }
.ig-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.ig-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 76px); line-height: 1; }
.ig-head h2 em { font-style: italic; color: var(--accent); }
.ig-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ig-row a { aspect-ratio: 4/5; overflow: hidden; }
.ig-row img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity 0.4s; }
.ig-row a:hover img { transform: scale(1.05); opacity: 0.9; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--paper); padding: clamp(80px, 10vw, 140px) 0 28px; overflow: hidden; }
.footer-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gutter); align-items: end; margin-bottom: clamp(60px, 9vw, 130px); }
.footer-cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.4vw, 112px); line-height: 0.95; letter-spacing: -0.02em; }
.footer-cta h2 em { font-style: italic; }
.footer-cta .pill { color: var(--paper); }
.footer-cta .pill:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.14); font-size: 14px; }
.footer-cols h4 { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.footer-cols a, .footer-cols p { display: block; color: #d9d4ca; line-height: 2; }
.footer-cols a:hover { color: #fff; }
.footer-word { font-family: var(--serif); text-transform: uppercase; font-size: clamp(40px, 8.9vw, 168px); line-height: 0.85; white-space: nowrap; margin: 40px 0 20px; color: var(--paper); }
.footer-word em { font-style: italic; text-transform: none; }
.footer-bottom { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(150px, 18vw, 240px) 0 clamp(60px, 8vw, 110px); }
.page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 9vw, 160px); line-height: 0.9; letter-spacing: -0.025em; margin-top: 20px; }
.page-hero h1 em { font-style: italic; }
.page-hero .intro { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-top: clamp(32px, 4vw, 60px); align-items: end; }

.vol-list { border-top: 1px solid var(--line); }
.vol { display: grid; grid-template-columns: 80px 1.4fr 1fr 220px; gap: var(--gutter); align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); transition: background 0.4s; position: relative; }
.vol:hover { background: rgba(17,17,16,0.035); }
.vol .n { font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }
.vol h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 54px); line-height: 1; }
.vol h3 em { font-style: italic; }
.vol .date { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.vol .thumb { aspect-ratio: 1; overflow: hidden; width: 100%; max-width: 220px; justify-self: end; }
.vol .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.vol:hover .thumb img { transform: scale(1.06); }
.vol.soon { opacity: 0.55; }
.tag { display: inline-block; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 999px; padding: 4px 10px; margin-left: 10px; vertical-align: middle; }

.split-feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; }
.split-feature .media { overflow: hidden; }
.split-feature .media img { width: 100%; height: 100%; object-fit: cover; }
.split-feature .body { background: var(--night); color: var(--paper); padding: clamp(48px, 7vw, 120px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.split-feature h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.6vw, 78px); line-height: 1; margin: 18px 0 24px; }
.split-feature h2 em { font-style: italic; }
.split-feature p { color: #b9b4aa; max-width: 460px; margin-bottom: 32px; }
.split-feature .pill { color: var(--paper); align-self: flex-start; }
.split-feature .pill:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* Form */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); padding-bottom: clamp(100px, 12vw, 180px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.field input {
  font: inherit; font-size: 18px; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--ink); padding: 10px 0; border-radius: 0;
  transition: border-color 0.3s;
}
.field input:focus { outline: none; border-bottom-color: var(--accent); border-bottom-width: 2px; }
.form button { grid-column: 1 / -1; justify-self: start; cursor: pointer; font: inherit; font-size: 11px; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.form-poster { aspect-ratio: 4/5; overflow: hidden; position: sticky; top: 100px; }
.form-poster img { width: 100%; height: 100%; object-fit: cover; }

.embed-frame { width: 100%; height: calc(100svh - 70px); border: 0; margin-top: 70px; display: block; background: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; } .reveal.d2 { transition-delay: 0.2s; } .reveal.d3 { transition-delay: 0.3s; }
.line-mask { display: block; overflow: hidden; }
.line-mask > span { display: block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.in .line-mask > span, .line-mask.in > span { transform: none; }
.hero .line-mask > span { animation: rise 1.6s var(--ease) 0.25s forwards; }
@keyframes rise { to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .line-mask > span { transform: none; }
  .g-item img { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .manifesto-grid, .manifesto-body, .services-head, .course-grid, .footer-cta, .page-hero .intro, .form-wrap, .split-feature { grid-template-columns: 1fr; }
  .services-head p { justify-self: start; }
  .s-grid { grid-template-columns: 1fr; }
  .s-card { aspect-ratio: 4/5; }
  .about-grid { grid-template-columns: 1fr; }
  .about-text { grid-column: auto; padding-top: 60px; }
  .about-media { margin-right: 20%; }
  .footer-cols { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .g-grid { grid-template-columns: repeat(6, 1fr); }
  .g1 { grid-column: 1 / span 4; } .g2 { grid-column: 3 / span 4; margin-top: 8vw; }
  .g3 { grid-column: 1 / span 2; margin-top: -30vw; } .g4 { grid-column: 1 / span 3; margin-top: 8vw; }
  .g5 { grid-column: 1 / -1; } .g6 { grid-column: 1 / span 3; } .g7 { grid-column: 4 / span 3; margin-top: 20vw; }
  .g8 { grid-column: 2 / span 5; } .quote-inline { grid-column: 1 / -1; margin: 40px 0; }
  .ig-row { grid-template-columns: repeat(3, 1fr); }
  .vol { grid-template-columns: 1fr 96px; gap: 8px 16px; }
  .vol .n { grid-column: 1; } .vol h3 { grid-column: 1; } .vol .date { grid-column: 1; }
  .vol .thumb { grid-column: 2; grid-row: 1 / span 3; max-width: 96px; }
  .form-poster { position: static; max-width: 420px; }
  .split-feature .media { aspect-ratio: 4/5; }
}
@media (max-width: 640px) {
  .hero-media { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .hero-meta p { display: none; }
  .wordmark { white-space: normal; font-size: clamp(52px, 16vw, 90px); line-height: 0.88; }
  .footer-word { white-space: normal; font-size: 18vw; }
  .brand-name { display: none; }
  .form { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .ig-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- 3D: tilt + depth ---------- */
[data-tilt] { transform-style: preserve-3d; transition: transform 0.6s var(--ease); will-change: transform; }
[data-tilt]:hover { transition: transform 0.12s linear; }
.tilt-glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.5s; z-index: 3; mix-blend-mode: soft-light; }
.course-poster, .form-poster { position: relative; }
.g-grid { perspective: 1600px; }
[data-depth] { will-change: transform; }


/* ---------- Orbit sphere ---------- */
.orbit { position: relative; height: 100svh; min-height: 640px; background: #ecebe7; overflow: hidden; color: var(--ink); }
.orbit canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.orbit canvas:active { cursor: grabbing; }
.orbit-ui { position: absolute; inset: 0; pointer-events: none; padding: 96px var(--gutter) 28px; }
.orbit-ui a, .orbit-ui button { pointer-events: auto; }
.o-tl { position: absolute; top: 96px; left: var(--gutter); }
.o-tl h2 { font-family: var(--sans); font-weight: 400; font-size: clamp(30px, 3.2vw, 52px); line-height: 1.02; letter-spacing: -0.03em; }
.o-tl h2 em { font-family: var(--serif); font-style: italic; letter-spacing: -0.01em; font-size: 1.08em; }
.o-chip { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 12px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.o-chip i { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffb27a, #e8481c 60%, #9b2a0c); box-shadow: 0 2px 6px rgba(232,72,28,0.4); }
.o-tr { position: absolute; top: 100px; right: var(--gutter); display: flex; gap: clamp(20px, 3vw, 48px); font-size: 12px; line-height: 1.4; color: var(--ink-2); }
.o-tr b { font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.o-bl { position: absolute; left: var(--gutter); bottom: 34px; max-width: 250px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.o-br { position: absolute; right: var(--gutter); bottom: 26px; text-align: right; font-size: clamp(30px, 3.2vw, 52px); line-height: 1; letter-spacing: -0.03em; }
.o-br .it { font-size: 1.1em; letter-spacing: -0.01em; }
.o-bar { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 999px; padding: 6px 8px 6px 6px; box-shadow: 0 10px 30px -12px rgba(0,0,0,0.25); }
.o-btn { display: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 14px; cursor: pointer; }
.o-btn:not(.o-close) { background: transparent; color: var(--ink); }
.o-caption { display: none; font-size: 12px; letter-spacing: 0.06em; padding: 0 8px; white-space: nowrap; }
.o-cta { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; padding: 0 14px 0 0; }
.o-plus { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 18px; }
.orbit.is-focus .o-btn, .orbit.is-focus .o-caption { display: inline-grid; place-items: center; }
.orbit.is-focus .o-caption { display: inline-block; }
.orbit.is-focus .o-cta { display: none; }
.orbit.is-focus .o-tr span, .orbit.is-focus .o-bl { opacity: 0; }
.o-tr span, .o-bl { transition: opacity 0.5s var(--ease); }
.orbit.no-webgl { background: url(img/collage-dfai.jpg) center/cover; }
@media (max-width: 760px) {
  .o-tr span { display: none; }
  .o-tr { top: 100px; }
  .o-bl { display: none; }
  .o-br { bottom: 96px; font-size: 30px; }
  .o-bar { bottom: 24px; }
}

/* ---------- Luxury film hero ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lx { --lx-yellow: #eeeaa3; position: relative; height: 100svh; min-height: 680px; background: #050505; color: #f3f0ea; overflow: hidden; }
.lx-media { position: absolute; inset: 0; }
.lx-video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; filter: blur(16px); transform: scale(1.08);
  transition: opacity 1.4s var(--ease), filter 2.4s var(--ease), transform 6s cubic-bezier(0.16, 1, 0.3, 1); }
.lx-video.is-on { opacity: 1; filter: blur(0); transform: scale(1.02); }
.lx-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.15) 38%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.4) 100%), linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.5) 100%); }
.lx-nav { position: absolute; z-index: 3; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gutter); }
.lx-brand { display: flex; align-items: center; gap: 12px; }
.lx-brand img { width: 40px; height: 40px; filter: invert(1); }
.lx-brand span { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; }
.lx-nav nav { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.lx-nav nav a { font-size: 13px; opacity: 0.88; transition: opacity 0.3s; } .lx-nav nav a:hover { opacity: 1; }
.lx-menu { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; cursor: pointer; }
.lx-menu span { display: block; width: 26px; height: 1px; background: currentColor; margin: 7px auto; }
.lx-intro { position: absolute; z-index: 2; top: 104px; left: var(--gutter); max-width: 270px; }
.lx-kicker { font-size: 13px; font-weight: 500; line-height: 1.35; }
.lx-small { margin-top: 10px; font-size: 12px; line-height: 1.5; color: rgba(243,240,234,0.6); }
.lx-title { position: absolute; z-index: 2; left: var(--gutter); top: 50%; transform: translateY(-40%);
  font-family: var(--serif); font-weight: 400; text-transform: uppercase; color: var(--lx-yellow);
  font-size: clamp(44px, 5.4vw, 92px); line-height: 0.92; letter-spacing: -0.01em; }
.lx-title em { font-style: italic; }
.lx-l { display: block; overflow: hidden; }
.lx-foot { position: absolute; z-index: 2; left: var(--gutter); bottom: 36px; max-width: 290px; font-size: 12px; line-height: 1.55; color: rgba(243,240,234,0.55); display: grid; gap: 12px; }
.lx-side { position: absolute; z-index: 2; right: var(--gutter); top: 50%; transform: translateY(-38%); width: clamp(220px, 19vw, 290px); text-align: center; }
.lx-label { font-size: 11px; color: rgba(243,240,234,0.6); }
.lx-name { margin-top: 6px; font-size: 14px; }
.lx-desc { margin: 10px auto 18px; font-size: 11px; line-height: 1.5; color: rgba(243,240,234,0.5); }
.lx-card { display: block; background: #fff; border-radius: 22px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6); transition: transform 0.6s var(--ease); }
.lx-card:hover { transform: translateY(-6px) rotate(-1deg); }
.lx-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 12px; }
.lx-price { display: inline-flex; gap: 8px; margin-top: 14px; font-family: var(--serif); font-size: 26px; }
.lx-price span { transition: transform 0.4s var(--ease); } .lx-price:hover span { transform: translateX(5px); }
/* entrance */
.lx-l > *, .lx-l { animation: lxUp 1.4s var(--ease) backwards; }
.lx-l:nth-child(2) { animation-delay: 0.12s; } .lx-l:nth-child(3) { animation-delay: 0.24s; }
.lx-intro, .lx-foot, .lx-side, .lx-nav { animation: lxFade 1.6s var(--ease) 0.5s backwards; }
@keyframes lxUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes lxFade { from { opacity: 0; } to { opacity: 1; } }
.lx-page .site-header:not(.is-solid) { opacity: 0; pointer-events: none; transform: translateY(-100%); }
.lx-page .site-header { transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), background 0.5s, padding 0.5s; }
@media (max-width: 1000px) {
  .lx-nav nav { display: none; } .lx-menu { display: block; }
  .lx-side { display: none; }
  .lx-title { top: auto; bottom: 150px; transform: none; font-size: clamp(44px, 11vw, 80px); }
  .lx-foot { bottom: 28px; }
  .lx-media::after { background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.85) 100%); }
}
@media (max-width: 640px) {
  .lx-brand span { display: none; }
  .lx-intro { top: 92px; }
  .lx-foot p + p { display: none; }
  .lx-title { bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) { .lx-video { transition: opacity 0.6s; filter: none; transform: none; } .lx-l, .lx-intro, .lx-foot, .lx-side, .lx-nav { animation: none; } }

/* ---------- Product hotspots, zoom shots, panel ---------- */
.lx-shot { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease), transform 1.4s var(--ease); }
.lx-shot video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.lx-shot.is-on { opacity: 1; }
.lx-shot--wide { transform-origin: var(--zx, 50%) var(--zy, 50%); }
.lx.is-zoom .lx-shot--wide { transform: scale(1.9); }
.lx-shot:not(.lx-shot--wide) { transform: scale(1.12); }
.lx-shot:not(.lx-shot--wide).is-on { transform: scale(1); }
.lx-hotspots { position: absolute; inset: 0; z-index: 2; pointer-events: none; transition: opacity 0.5s; }
.lx.is-zoom .lx-hotspots, .lx.is-panel .lx-hotspots { opacity: 0; }
.lx-hot { position: absolute; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; pointer-events: auto; }
.lx-hot::before { content: "Ver detalle"; position: absolute; left: 50%; top: calc(50% + 26px); transform: translate(-50%, 6px); white-space: nowrap; font: 500 10px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: #111; background: #fff; padding: 7px 10px; border-radius: 999px; opacity: 0; transition: opacity 0.3s, transform 0.3s; pointer-events: none; }
.lx-hot:hover::before, .lx-hot:focus-visible::before { opacity: 1; transform: translate(-50%, 0); }
.lx-hot:hover i { transform: scale(1.25); }
.lx-hot i { position: absolute; inset: 52px; transition: transform 0.3s; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,0.6); animation: lxPulse 2.2s infinite; }
.lx-hot::after { content: ""; position: absolute; inset: 43px; pointer-events: none; border-radius: 50%; border: 1px solid rgba(255,255,255,0.7); }
@keyframes lxPulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.55); } 70% { box-shadow: 0 0 0 16px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.lx-intro, .lx-title, .lx-foot, .lx-side { transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.lx.is-zoom .lx-title { opacity: 0.25; }
.lx.is-zoom .lx-intro, .lx.is-zoom .lx-foot { opacity: 0.4; }
.lx.is-panel .lx-title, .lx.is-panel .lx-intro, .lx.is-panel .lx-foot { opacity: 0; transform: translateX(-30px); }
.lx-card { border: 0; cursor: pointer; width: 100%; }
.lx-price { background: none; border: 0; color: inherit; cursor: pointer; }
.lx-side.is-swapping .lx-card img, .lx-side.is-swapping .lx-name { opacity: 0; }
.lx-card img, .lx-name { transition: opacity 0.35s; }
.lx-panel { position: absolute; z-index: 4; top: 0; bottom: 0; left: 0; width: var(--pw); background: #f6f4ef; color: var(--ink);
  padding: 90px clamp(24px, 3vw, 44px) 32px; display: flex; flex-direction: column; text-align: center;
  transform: translateX(-102%); transition: transform 0.9s var(--ease); box-shadow: 30px 0 60px -30px rgba(0,0,0,0.5); }
.lx.is-panel .lx-panel { transform: none; }
.lx-back { position: absolute; top: 28px; left: clamp(24px, 3vw, 44px); background: none; border: 0; font: inherit; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; color: var(--ink-2); }
.lx-p-label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.lx-p-title { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.3vw, 38px); line-height: 1.1; margin: 10px 0 12px; }
.lx-p-desc { font-size: 12px; line-height: 1.6; color: var(--ink-2); max-width: 380px; margin: 0 auto; }
.lx-p-img { flex: 1; min-height: 0; margin: 22px 0; background: linear-gradient(180deg, #ececec, #f9f9f9); display: grid; place-items: center; overflow: hidden; }
.lx-p-img img { width: 100%; height: 100%; object-fit: contain; }
.lx-p-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.lx-p-btn { background: var(--ink); color: #fff; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; padding: 14px 18px; flex: 1; text-align: center; }
.lx-p-btn:hover { background: var(--accent); }
.lx-p-tag { font-family: var(--serif); font-size: 22px; }
@media (prefers-reduced-motion: reduce) { .lx-shot, .lx-panel { transition: none; } .lx-hot i { animation: none; } }
/* text never blocks taps on the products */
.lx-intro, .lx-title, .lx-foot { pointer-events: none; }
.lx-hotspots { z-index: 3; }
.lx-nav { z-index: 5; }
.lx-panel { z-index: 6; }

/* side detail window on every screen; the close-up slides right to stay visible beside it */
.lx { --pw: min(500px, 38vw); }
.lx-shot:not(.lx-shot--wide) { transition: opacity 0.9s var(--ease), transform 1.2s var(--ease); }

.lx.is-panel .lx-side { opacity: 0; transform: translate(30px, -38%); pointer-events: none; }
@media (max-width: 1000px) {
  .lx { --pw: min(440px, 64vw); }
  .lx-panel { padding: 64px 20px 20px; }
  .lx-p-title { font-size: 24px; }
  .lx-p-desc { font-size: 11px; }
  .lx-p-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .lx-p-tag { font-size: 18px; text-align: center; }
  .lx.is-panel .lx-nav nav, .lx.is-panel .lx-brand { opacity: 0; }
}
@media (max-width: 640px) {
  .lx { --pw: 78vw; }
  .lx-back { left: 20px; }
}
.lx-sub { display: block; margin-top: 18px; max-width: 30ch; font-family: var(--sans); text-transform: none; font-size: clamp(14px, 1.15vw, 18px); line-height: 1.45; letter-spacing: 0; color: rgba(243,240,234,0.85); animation: lxFade 1.6s var(--ease) 0.5s backwards; }
@media (max-width: 640px) { .lx-intro { display: none; } }

/* ---------- Hero layout v2: white type, clear grid ---------- */
.lx-intro, .lx-foot { display: none !important; }
.lx-left { position: absolute; z-index: 2; left: var(--gutter); top: 50%; transform: translateY(-46%); max-width: min(620px, 46vw); pointer-events: none; }
.lx-left a { pointer-events: auto; }
.lx-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 26px; animation: lxFade 1.4s var(--ease) 0.3s backwards; }
.lx-eyebrow span { width: 34px; height: 1px; background: rgba(255,255,255,0.6); }
.lx .lx-title { position: static; transform: none; color: #fff; font-size: clamp(44px, 5.2vw, 88px); line-height: 0.95; letter-spacing: -0.015em; text-shadow: 0 2px 30px rgba(0,0,0,0.25); }
.lx .lx-title em { font-style: italic; }
.lx-left .lx-sub { display: block; margin-top: 26px; max-width: 34ch; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.6; color: rgba(255,255,255,0.78); animation: lxFade 1.6s var(--ease) 0.5s backwards; }
.lx-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; animation: lxFade 1.6s var(--ease) 0.7s backwards; }
.lx-btn { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: #111; padding: 14px 24px; border-radius: 999px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; transition: background 0.3s, color 0.3s; }
.lx-btn span { transition: transform 0.3s var(--ease); } .lx-btn:hover { background: var(--accent); color: #fff; } .lx-btn:hover span { transform: translateX(4px); }
.lx-link { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 3px; }
.lx-bar { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 18px 0 22px; border-top: 1px solid rgba(255,255,255,0.16); font-size: 11px; line-height: 1.5; color: rgba(255,255,255,0.6); pointer-events: none; animation: lxFade 1.6s var(--ease) 0.8s backwards; }
.lx-bar p:last-child { text-align: right; }
.lx-bar p:first-child { max-width: 44ch; }
.lx-scroll { display: flex; align-items: center; gap: 10px; letter-spacing: 0.24em; text-transform: uppercase; font-size: 10px; }
.lx-scroll i { width: 1px; height: 22px; background: rgba(255,255,255,0.35); position: relative; overflow: hidden; }
.lx-scroll i::after { content: ""; position: absolute; left: 0; top: -60%; width: 1px; height: 60%; background: #fff; animation: cue 2.4s var(--ease) infinite; }
.lx .lx-side { top: 50%; transform: translateY(-46%); }
.lx.is-panel .lx-left { opacity: 0; transform: translate(-30px, -46%); }
.lx.is-panel .lx-bar { opacity: 0; }
.lx-left, .lx-bar { transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.lx-media::after { background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.35) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.45) 100%), linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 72%, rgba(0,0,0,0.6) 100%); }
@media (max-width: 1000px) {
  .lx-left { top: auto; bottom: 92px; transform: none; max-width: none; right: var(--gutter); }
  .lx.is-panel .lx-left { transform: translateX(-30px); }
  .lx .lx-title { font-size: clamp(40px, 9vw, 72px); }
  .lx-bar { grid-template-columns: 1fr auto; }
  .lx-bar p:first-child { display: none; }
  .lx-scroll { justify-self: start; }
  .lx-media::after { background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.85) 100%); }
}
@media (max-width: 640px) {
  .lx-eyebrow { margin-bottom: 16px; }
  .lx-left .lx-sub { margin-top: 14px; font-size: 13px; }
  .lx-actions { margin-top: 20px; gap: 18px; }
  .lx-btn { padding: 12px 18px; }
  .lx-bar p:last-child { font-size: 10px; }
}
@media (min-width: 641px) {
  .lx-left { max-width: min(780px, 54vw); }
  .lx .lx-title { font-size: clamp(40px, 4.7vw, 84px); }
  .lx .lx-title .lx-l { white-space: nowrap; }
}
