:root {
  --sun: #f8bc2f;
  --sun-soft: #ffe3a0;
  --sun-deep: #d88914;
  --sea: #1f9eb3;
  --sea-deep: #0f5361;
  --aqua: #8edbd1;
  --coral: #f08c6d;
  --cream: #fff5df;
  --linen: #f3dfbf;
  --tea: #b37b42;
  --ink: #21190f;
  --soft-ink: #6b5843;
  --charcoal: #14100b;
  --rose: #d9a98d;
  --white: #fffdf7;
  --shadow: 0 30px 90px rgba(67, 39, 11, 0.2);
  --serif: "Noto Serif TC", serif;
  --sans: "Chocolate Classical Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.8;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 10%, rgba(248, 188, 47, 0.34), transparent 30rem),
    radial-gradient(circle at 82% 16%, rgba(31, 158, 179, 0.26), transparent 30rem),
    radial-gradient(circle at 70% 74%, rgba(240, 140, 109, 0.2), transparent 28rem),
    linear-gradient(135deg, #fffaf0 0%, #eaf6ee 36%, #f8dfb8 72%, #fff2d0 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  content: "";
  opacity: 0.27;
  background-image:
    linear-gradient(rgba(43, 36, 28, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 36, 28, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.cursor-light {
  position: fixed;
  top: var(--cursor-y, 50vh);
  left: var(--cursor-x, 50vw);
  z-index: -1;
  width: 36rem;
  height: 36rem;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 219, 209, 0.26), rgba(248, 188, 47, 0.16) 42%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: top 180ms ease, left 180ms ease;
}

.site-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(1120px, calc(100% - 32px));
  padding: 0.82rem 1rem;
  border: 1px solid rgba(255, 227, 160, 0.32);
  border-radius: 999px;
  color: var(--white);
  background: rgba(20, 16, 11, 0.48);
  box-shadow: 0 20px 60px rgba(25, 16, 6, 0.16);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  position: relative;
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe7a4, var(--sun));
  box-shadow: inset -8px -8px 20px rgba(222, 143, 24, 0.18), 0 12px 34px rgba(248, 188, 47, 0.38);
}

.sun-core {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--white);
}

.sun-ray {
  position: absolute;
  bottom: 12px;
  width: 28px;
  height: 13px;
  border: 2px solid rgba(255, 253, 247, 0.86);
  border-top: 0;
  border-radius: 0 0 999px 999px;
}

.ray-one {
  transform: translateY(7px);
}

.ray-two {
  width: 20px;
  transform: translateY(13px);
}

.ray-three {
  width: 12px;
  transform: translateY(19px);
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-tag {
  display: block;
  margin-top: -0.35rem;
  color: var(--sun-soft);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: rgba(255, 253, 247, 0.78);
  font-size: 0.92rem;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--sun-soft);
}

.scene-section {
  position: relative;
  overflow: hidden;
}

.hero {
  display: grid;
  min-height: 100svh;
  align-items: end;
  padding: 9rem max(1rem, calc((100vw - 1120px) / 2)) 5rem;
  color: var(--white);
  background: var(--charcoal);
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: -5%;
  z-index: -3;
  width: 110%;
  height: 110%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04);
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 76% 20%, rgba(142, 219, 209, 0.22), transparent 26rem),
    radial-gradient(circle at 62% 32%, rgba(248, 188, 47, 0.16), transparent 24rem),
    linear-gradient(90deg, rgba(9, 44, 52, 0.82), rgba(20, 16, 11, 0.42) 50%, rgba(20, 16, 11, 0.16)),
    linear-gradient(0deg, rgba(20, 16, 11, 0.9), transparent 42%);
}

.letterbox {
  position: absolute;
  left: 0;
  z-index: 6;
  width: 100%;
  height: clamp(42px, 8vw, 86px);
  background: #070503;
}

.letterbox.top {
  top: 0;
}

.letterbox.bottom {
  bottom: 0;
}

.hero-copy {
  position: relative;
  z-index: 8;
  max-width: 880px;
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--sun-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun-soft);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.15;
}

h1 {
  max-width: 920px;
  font-size: clamp(3.2rem, 8.8vw, 8.7rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

h3 {
  font-size: 1.45rem;
}

.hero-text {
  max-width: 680px;
  margin: 1.45rem 0 0;
  color: rgba(255, 253, 247, 0.82);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.78rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #3b2508;
  background: linear-gradient(135deg, #ffd66d, var(--sun) 48%, #8edbd1);
  box-shadow: 0 16px 44px rgba(31, 158, 179, 0.22), 0 12px 38px rgba(248, 188, 47, 0.26);
}

.button.secondary {
  border: 1px solid rgba(255, 253, 247, 0.3);
  color: var(--white);
  background: rgba(255, 253, 247, 0.1);
  backdrop-filter: blur(12px);
}

.title-card {
  position: absolute;
  right: max(1rem, calc((100vw - 1120px) / 2));
  bottom: 7.5rem;
  z-index: 8;
  max-width: 300px;
  padding: 1rem;
  border: 1px solid rgba(255, 253, 247, 0.24);
  border-radius: 1.2rem;
  color: rgba(255, 253, 247, 0.86);
  background: rgba(20, 16, 11, 0.38);
  backdrop-filter: blur(18px);
}

.title-card span {
  display: block;
  color: var(--sun-soft);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.title-card strong {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.marquee-strip {
  display: flex;
  overflow: hidden;
  border-block: 1px solid rgba(179, 123, 66, 0.24);
  color: #123d45;
  background: linear-gradient(90deg, rgba(255, 227, 160, 0.68), rgba(142, 219, 209, 0.54), rgba(240, 140, 109, 0.3));
}

.marquee-strip div {
  display: flex;
  min-width: 100%;
  gap: 2rem;
  padding: 0.85rem 1rem;
  animation: marquee 28s linear infinite;
}

.marquee-strip span {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.intro,
.works-showcase,
.visual-story,
.sea-cinema,
.movie-loops,
.film-language,
.process,
.packages,
.contact {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.intro-grid,
.packages {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.intro-copy p,
.work-copy p,
.package-copy p,
.contact-card p {
  color: var(--soft-ink);
  font-size: 1.05rem;
}

.works-showcase {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 clamp(4.5rem, 8vw, 7rem);
}

.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.work-pill {
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(31, 158, 179, 0.2);
  border-radius: 999px;
  color: #184952;
  background: rgba(255, 253, 247, 0.7);
  box-shadow: 0 10px 24px rgba(20, 16, 11, 0.05);
  font-size: 0.92rem;
  font-family: inherit;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.work-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(20, 16, 11, 0.08);
}

.work-pill.active {
  color: #3b2508;
  background: linear-gradient(135deg, #ffd66d, var(--sun) 55%, #8edbd1);
}

.work-pill:focus-visible {
  outline: 2px solid rgba(31, 158, 179, 0.45);
  outline-offset: 2px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.work-card {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  border: 1px solid rgba(179, 123, 66, 0.24);
  border-radius: 2rem;
  background: rgba(255, 253, 247, 0.66);
  box-shadow: var(--shadow);
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.work-card,
.library-card {
  cursor: pointer;
}

.work-card.featured {
  grid-column: span 2;
}

.work-card.is-hidden,
.library-card.is-hidden {
  display: none;
}

.work-card.is-selected,
.library-card.is-selected {
  box-shadow: 0 0 0 2px rgba(142, 219, 209, 0.9), 0 30px 80px rgba(15, 41, 48, 0.18);
}

.work-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 32px 90px rgba(16, 33, 38, 0.18);
}

.work-card:focus-visible,
.library-card:focus-visible {
  outline: 2px solid rgba(142, 219, 209, 0.9);
  outline-offset: 3px;
}

.work-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms ease, filter 900ms ease;
}

.work-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.03);
}

.work-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, transparent 18%, rgba(14, 28, 32, 0.24) 52%, rgba(20, 16, 11, 0.84) 100%);
}

.work-card::after {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 28px;
  z-index: 2;
  content: "";
  opacity: 0.55;
  background-image: repeating-linear-gradient(90deg, rgba(255, 253, 247, 0.88) 0 8px, transparent 8px 14px);
}

.work-copy {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 2;
  padding: 1.1rem;
  border: 1px solid rgba(255, 253, 247, 0.2);
  border-radius: 1.35rem;
  color: var(--white);
  background: rgba(20, 16, 11, 0.34);
  backdrop-filter: blur(16px);
}

.work-copy span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--sun-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.work-copy h3 {
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  letter-spacing: -0.06em;
}

.work-copy p {
  margin-bottom: 0;
  color: rgba(255, 253, 247, 0.78);
  font-size: 0.98rem;
}

.work-copy small {
  display: block;
  margin-top: 0.8rem;
  color: rgba(255, 253, 247, 0.62);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.library-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.3rem 0 1rem;
}

.library-head h3 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  letter-spacing: -0.06em;
}

.library-head p {
  max-width: 420px;
  margin: 0;
  color: var(--soft-ink);
}

.storyboard-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.3rem 0 1rem;
}

.storyboard-head h3 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  letter-spacing: -0.06em;
}

.storyboard-head p {
  max-width: 500px;
  margin: 0;
  color: var(--soft-ink);
}

.storyboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.storyboard-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(179, 123, 66, 0.2);
  border-radius: 1.6rem;
  background: rgba(255, 253, 247, 0.68);
  box-shadow: 0 18px 50px rgba(15, 18, 21, 0.1);
}

.storyboard-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.storyboard-card:hover img {
  transform: scale(1.05);
}

.storyboard-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 34%, rgba(10, 18, 19, 0.82) 100%),
    linear-gradient(90deg, rgba(255, 253, 247, 0.06), transparent 12%, transparent 88%, rgba(255, 253, 247, 0.06));
}

.storyboard-copy {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  color: var(--white);
}

.storyboard-copy span {
  display: block;
  color: var(--sun-soft);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.storyboard-copy strong {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: -0.05em;
}

.work-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid rgba(31, 158, 179, 0.2);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 82% 14%, rgba(142, 219, 209, 0.18), transparent 12rem),
    rgba(255, 253, 247, 0.72);
  box-shadow: var(--shadow);
}

.work-detail-media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 1.5rem;
}

.work-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
}

.detail-meta {
  margin: 0.5rem 0 1rem;
  color: var(--sea-deep);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: #174851;
  background: rgba(142, 219, 209, 0.18);
  font-size: 0.86rem;
}

.library-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x proximity;
}

.library-row::-webkit-scrollbar {
  height: 10px;
}

.library-row::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sun), var(--aqua));
}

.library-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(179, 123, 66, 0.22);
  border-radius: 1.6rem;
  background: #16120d;
  box-shadow: 0 18px 50px rgba(15, 18, 21, 0.16);
  scroll-snap-align: start;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.library-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 28px 70px rgba(15, 18, 21, 0.2);
}

.library-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms ease;
}

.library-card:hover img {
  transform: scale(1.06);
}

.library-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 34%, rgba(12, 10, 7, 0.88) 100%);
}

.library-copy {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  color: var(--white);
}

.library-copy strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: -0.05em;
}

.library-copy span {
  display: block;
  color: var(--sun-soft);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 2.6rem;
}

.poster-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-auto-rows: minmax(260px, auto);
  gap: 1rem;
}

.poster {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border: 1px solid rgba(179, 123, 66, 0.26);
  border-radius: 2rem;
  background: rgba(255, 253, 247, 0.62);
  box-shadow: var(--shadow);
  transform: translateZ(0);
}

.poster-large {
  grid-row: span 2;
  min-height: 760px;
}

.poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms ease, filter 900ms ease;
}

.poster:hover img {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.04);
}

.poster::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(20, 16, 11, 0.72), transparent 58%);
}

.poster-caption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 2;
  padding: 1.15rem;
  border: 1px solid rgba(255, 253, 247, 0.22);
  border-radius: 1.35rem;
  color: var(--white);
  background: rgba(20, 16, 11, 0.34);
  backdrop-filter: blur(16px);
}

.poster-caption span,
.sun-poster span {
  color: var(--sun-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.poster-caption p {
  margin-bottom: 0;
  color: rgba(255, 253, 247, 0.78);
}

.sun-poster {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: #3d2608;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 253, 247, 0.72), transparent 9rem),
    linear-gradient(145deg, #ffe8a8, var(--sun) 52%, #8edbd1);
}

.sun-poster::after {
  content: none;
}

.sun-poster h3 {
  position: relative;
  z-index: 2;
  margin-top: 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.07em;
}

.sun-orbit {
  position: absolute;
  top: 13%;
  left: 50%;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(61, 38, 8, 0.2);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: orbit 8s linear infinite;
}

.sun-orbit::before,
.sun-orbit::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.sea-cinema {
  position: relative;
  overflow: hidden;
  width: min(1120px, calc(100% - 32px));
  min-height: 720px;
  margin: 0 auto clamp(4rem, 8vw, 7rem);
  border: 1px solid rgba(31, 158, 179, 0.28);
  border-radius: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  background: var(--sea-deep);
  box-shadow: var(--shadow);
}

.sea-image {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.03);
  animation: seaDrift 16s ease-in-out infinite alternate;
}

.sea-cinema::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 72% 16%, rgba(248, 188, 47, 0.18), transparent 18rem),
    linear-gradient(90deg, rgba(15, 83, 97, 0.78), rgba(15, 83, 97, 0.18)),
    linear-gradient(0deg, rgba(20, 16, 11, 0.72), transparent 48%);
}

.sea-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 720px;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 720px;
  padding: clamp(2rem, 6vw, 4.5rem);
}

.sea-copy .eyebrow {
  color: var(--sun-soft);
}

.sea-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 253, 247, 0.82);
  font-size: 1.08rem;
}

.sun-orbit::before {
  inset: 48px;
  background: rgba(255, 253, 247, 0.72);
}

.sun-orbit::after {
  top: 12px;
  left: 50%;
  width: 18px;
  height: 18px;
  background: var(--sun-deep);
}

.movie-loops {
  padding-top: 0;
}

.loop-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1rem;
}

.loop-card {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  border: 1px solid rgba(179, 123, 66, 0.24);
  border-radius: 2.1rem;
  color: var(--white);
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.loop-card.wide {
  grid-row: span 2;
  min-height: 720px;
}

.loop-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.loop-screen::before,
.loop-screen::after {
  position: absolute;
  right: 1.2rem;
  left: 1.2rem;
  z-index: 3;
  height: 1px;
  content: "";
  background: rgba(255, 253, 247, 0.34);
}

.loop-screen::before {
  top: 1.2rem;
}

.loop-screen::after {
  bottom: 1.2rem;
}

.loop-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: loopImageA 10s ease-in-out infinite;
}

.loop-screen img + img {
  opacity: 0;
  animation-name: loopImageB;
}

.loop-card:nth-child(2) .loop-screen img {
  animation-duration: 8.5s;
}

.loop-card:nth-child(3) .loop-screen img {
  animation-duration: 11s;
}

.loop-screen::selection {
  background: transparent;
}

.loop-card::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.08), transparent 22%, transparent 78%, rgba(255, 253, 247, 0.08)),
    linear-gradient(0deg, rgba(20, 16, 11, 0.82), transparent 62%);
}

.loop-card::after {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  left: 1.4rem;
  z-index: 4;
  height: 3px;
  content: "";
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--sun), var(--aqua), var(--coral)) 0 0 / 34% 100% no-repeat,
    rgba(255, 253, 247, 0.22);
  animation: progressBar 5.5s linear infinite;
}

.play-dot {
  position: absolute;
  top: 1.7rem;
  right: 1.7rem;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 253, 247, 0.36);
  border-radius: 50%;
  background: rgba(20, 16, 11, 0.32);
  backdrop-filter: blur(12px);
}

.play-dot::before {
  position: absolute;
  top: 50%;
  left: 53%;
  width: 0;
  height: 0;
  content: "";
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--sun-soft);
  transform: translate(-50%, -50%);
}

.loop-meta {
  position: absolute;
  right: 1.35rem;
  bottom: 2.4rem;
  left: 1.35rem;
  z-index: 5;
}

.loop-meta span {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--sun-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.loop-meta h3 {
  max-width: 620px;
  font-size: clamp(1.7rem, 3.5vw, 3.3rem);
  letter-spacing: -0.07em;
}

.image-river {
  display: flex;
  overflow: hidden;
  gap: 1rem;
  margin: 1rem 0 4rem;
  padding: 1rem 0;
  background: linear-gradient(90deg, #0d3038, #2b1d10, #0f5361, #2b1d10);
}

.river-track {
  display: flex;
  flex: 0 0 auto;
  gap: 1rem;
  min-width: 100%;
  animation: imageRiver 46s linear infinite;
}

.river-track img {
  width: clamp(190px, 22vw, 360px);
  height: clamp(260px, 30vw, 460px);
  flex: 0 0 auto;
  border: 1px solid rgba(255, 227, 160, 0.22);
  border-radius: 1.2rem;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
  filter: saturate(0.96) contrast(1.04);
}

.storyboard-wall {
  min-height: 78vh;
  margin: 2rem 0;
  color: var(--white);
  background: var(--charcoal);
}

.wall-image {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.02);
}

.storyboard-wall::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 20% 28%, rgba(248, 188, 47, 0.14), transparent 22rem),
    linear-gradient(90deg, rgba(20, 16, 11, 0.82), rgba(20, 16, 11, 0.28)),
    linear-gradient(0deg, rgba(20, 16, 11, 0.72), transparent 40%);
}

.wall-overlay {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16vh 0;
}

.wall-overlay .eyebrow {
  color: var(--sun-soft);
}

.wall-overlay h2 {
  max-width: 820px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.style-card,
.step,
.package-note,
.contact-card {
  border: 1px solid rgba(179, 123, 66, 0.24);
  background: rgba(255, 253, 247, 0.64);
  box-shadow: 0 20px 64px rgba(67, 39, 11, 0.09);
  backdrop-filter: blur(14px);
}

.style-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 1.5rem;
  border-radius: 1.7rem;
}

.style-card::before {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 188, 47, 0.22), transparent 68%);
}

.style-card.featured {
  color: #3b2508;
  background:
    radial-gradient(circle at 70% 12%, rgba(255, 253, 247, 0.72), transparent 8rem),
    linear-gradient(145deg, #ffe7a4, var(--sun) 44%, #8edbd1);
  transform: translateY(-1.2rem);
}

.card-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
  border-radius: 50%;
  color: var(--sun-deep);
  background: rgba(248, 188, 47, 0.12);
  font-family: var(--serif);
  font-weight: 900;
}

.featured .card-number {
  color: var(--white);
  background: rgba(43, 36, 28, 0.24);
}

.style-card p,
.step p,
.package-note p {
  color: var(--soft-ink);
}

.quote-band {
  position: relative;
  overflow: hidden;
  width: min(1120px, calc(100% - 32px));
  margin: 1rem auto;
  padding: clamp(3rem, 8vw, 5.5rem) 2rem;
  border-radius: 2.2rem;
  color: #3b2508;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.72), rgba(255, 214, 109, 0.6), rgba(142, 219, 209, 0.44), rgba(240, 140, 109, 0.24)),
    url("data:image/svg+xml,%3Csvg width='90' height='90' viewBox='0 0 90 90' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 45c13-20 41-20 54 0-13 20-41 20-54 0Z' fill='none' stroke='%23de8f18' stroke-opacity='.18' stroke-width='1'/%3E%3C/svg%3E");
  box-shadow: var(--shadow);
  text-align: center;
}

.quote-band::before {
  position: absolute;
  inset: -40%;
  content: "";
  background: conic-gradient(from 90deg, transparent, rgba(255, 253, 247, 0.46), transparent 26%);
  animation: sweep 7s linear infinite;
}

.quote-band p {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.05em;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
  border-radius: 1.45rem;
}

.step::after {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  width: 42px;
  height: 28px;
  content: "";
  opacity: 0.18;
  background-image: repeating-linear-gradient(90deg, #21190f 0 8px, transparent 8px 14px);
}

.step span {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--sun-deep);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 900;
}

.packages {
  align-items: stretch;
}

.package-note {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 380px;
  padding: 2rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 16% 18%, rgba(248, 188, 47, 0.35), transparent 9rem),
    radial-gradient(circle at 86% 18%, rgba(31, 158, 179, 0.22), transparent 10rem),
    rgba(255, 253, 247, 0.72);
}

.package-note span {
  color: var(--sun-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.package-note p {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.55;
}

.contact {
  padding-bottom: 3rem;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4.5rem);
  border-radius: 2.4rem;
}

.contact-card::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 310px;
  height: 310px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 219, 209, 0.38), rgba(248, 188, 47, 0.38) 42%, transparent 70%);
}

.contact-card p {
  max-width: 670px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: var(--soft-ink);
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 800ms ease,
    transform 800ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08) translate3d(1.6%, -1%, 0);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

@keyframes orbit {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes seaDrift {
  from {
    transform: scale(1.02) translate3d(-1%, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(1.5%, -1%, 0);
  }
}

@keyframes loopImageA {
  0%,
  42% {
    opacity: 1;
    transform: scale(1.08) translate3d(0, 0, 0);
  }

  50%,
  92% {
    opacity: 0;
    transform: scale(1.14) translate3d(-2%, -1%, 0);
  }

  100% {
    opacity: 1;
    transform: scale(1.08) translate3d(0, 0, 0);
  }
}

@keyframes loopImageB {
  0%,
  42% {
    opacity: 0;
    transform: scale(1.12) translate3d(2%, 1%, 0);
  }

  50%,
  92% {
    opacity: 1;
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  100% {
    opacity: 0;
    transform: scale(1.12) translate3d(2%, 1%, 0);
  }
}

@keyframes progressBar {
  from {
    background-size: 0 100%, 100% 100%;
  }

  to {
    background-size: 100% 100%, 100% 100%;
  }
}

@keyframes imageRiver {
  to {
    transform: translateX(calc(-100% - 1rem));
  }
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: 860px;
  }

  .title-card {
    right: 1rem;
    bottom: 5.5rem;
    left: 1rem;
    max-width: none;
  }

  .intro-grid,
  .works-grid,
  .packages,
  .poster-grid,
  .loop-grid {
    grid-template-columns: 1fr;
  }

  .poster-large {
    min-height: 560px;
  }

  .work-card,
  .work-card.featured {
    min-height: 520px;
    grid-column: auto;
  }

  .work-detail {
    grid-template-columns: 1fr;
  }

  .library-head {
    align-items: start;
    flex-direction: column;
  }

  .storyboard-head {
    align-items: start;
    flex-direction: column;
  }

  .storyboard-grid {
    grid-template-columns: 1fr 1fr;
  }

  .loop-card,
  .loop-card.wide {
    min-height: 560px;
  }

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

  .style-card.featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  .site-header,
  .intro,
  .visual-story,
  .works-showcase,
  .sea-cinema,
  .movie-loops,
  .film-language,
  .process,
  .packages,
  .contact,
  .quote-band,
  .site-footer,
  .wall-overlay {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    border-radius: 1.4rem;
  }

  .brand-tag {
    display: none;
  }

  .hero {
    min-height: 780px;
    padding-inline: 1rem;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.9rem);
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .poster,
  .poster-large {
    min-height: 470px;
  }

  .sea-cinema,
  .sea-copy {
    min-height: 620px;
  }

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

  .storyboard-grid {
    grid-template-columns: 1fr;
  }

  .package-note p {
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
