@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/inter-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #08090b;
  --panel: #111318;
  --panel-2: #17191f;
  --line: rgba(255,255,255,.12);
  --muted: #a5a8b1;
  --text: #f5f5f7;
  --accent: #e50914;
  --accent-text: #ff2d37;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }

header {
  width: min(1440px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.logo { font-weight: 900; letter-spacing: -.04em; font-size: 1.18rem; }
.logo::first-letter { color: var(--accent-text); }
header nav { display: flex; gap: 24px; }
header nav a { color: var(--muted); text-decoration: none; font-size: .85rem; }
header nav a:hover { color: #fff; }
header > span { color: var(--muted); font-size: .7rem; letter-spacing: .1em; }

.intro {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 150px) 0 clamp(56px, 7vw, 100px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: end;
}
.intro-copy { max-width: 620px; padding-bottom: 8px; }
.hero-profile { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.hero-profile img { display: block; width: 76px; height: 76px; border: 1px solid var(--line); border-radius: 18px; object-fit: cover; object-position: 50% 34%; }
.hero-profile div { display: flex; flex-direction: column; gap: 3px; }
.hero-profile strong { font-size: 1rem; }
.hero-profile span { color: var(--muted); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.intro > div:first-child > p:first-child,
.short-meta,
.case-heading p:first-child {
  margin: 0 0 16px;
  color: var(--accent-text);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.short-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
.intro h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(3.1rem, 8vw, 8rem);
  line-height: .9;
  letter-spacing: -.07em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 28px; }
.hero-actions a { color: var(--muted); text-underline-offset: 6px; }
.hero-actions .primary-link { color: #fff; font-weight: 700; }
.intro-copy > p {
  max-width: 680px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}
.intro-copy > .hero-note { margin-top: 16px; color: #d4d5da; font-size: .93rem; }

.portrait-shelf {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 24px;
}
.section-intro { max-width: 850px; margin: 0 0 42px; }
.section-intro > p,
.contact > p {
  margin: 0 0 14px;
  color: var(--accent-text);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-intro > h2,
.contact > h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.section-intro > span { display: block; max-width: 700px; margin-top: 22px; color: var(--muted); font-size: 1.05rem; }
.short-card {
  display: grid;
  grid-template-columns: minmax(280px, 410px) minmax(0, 1fr);
  align-items: start;
  width: 100%;
  margin: 0 0 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}
.portrait-player {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #000;
}
.portrait-player video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.ai-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.74);
  border: 1px solid rgba(255,255,255,.24);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.short-info {
  min-width: 0;
  padding: clamp(36px, 6vw, 84px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.short-info h2 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(2.5rem, 5.5vw, 6.5rem);
  line-height: .92;
  letter-spacing: -.065em;
  overflow-wrap: anywhere;
}
.short-info > p:not(.short-meta) {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}
.short-info .spec-label {
  margin-top: 20px;
  color: #d8d9de;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.objective { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.objective h3 { margin: 0 0 8px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.objective p { margin: 0; color: var(--muted); }
.production-notes { margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.production-notes summary { padding: 16px 0; cursor: pointer; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.production-notes summary::marker { color: var(--accent-text); }
.production-notes dl { margin: 0; padding: 0 0 16px; }
.production-notes dl div { display: grid; grid-template-columns: minmax(150px,.7fr) minmax(0,1.3fr); gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.07); }
.production-notes dt { font-size: .75rem; font-weight: 700; }
.production-notes dd { margin: 0; color: var(--muted); font-size: .82rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tags span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d9dae0;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.short-info a {
  width: fit-content;
  margin-top: 34px;
  padding-bottom: 5px;
  border-bottom: 1px solid #fff;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.case-details {
  padding: clamp(72px, 9vw, 130px) max(24px, calc((100vw - 1280px) / 2));
  background: #f1f1ee;
  color: #101114;
}
.case-details.alt { background: #17191f; color: var(--text); }
.case-heading {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 8vw, 120px);
  align-items: end;
  margin-bottom: 72px;
}
.case-heading h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 5.5rem); line-height: .95; letter-spacing: -.06em; }
.case-heading p:last-child { margin: 0; max-width: 680px; color: #5d6068; font-size: 1.05rem; }
.case-details.alt .case-heading p:last-child { color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.detail-grid article,
.conversion {
  padding: clamp(26px, 3vw, 42px);
  border: 1px solid rgba(17,18,20,.16);
  border-radius: 16px;
}
.case-details.alt .detail-grid article,
.case-details.alt .conversion { border-color: var(--line); background: rgba(255,255,255,.025); }
.detail-grid h3,
.conversion h3 { margin: 0 0 14px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.detail-grid p,
.conversion p { margin: 0; color: #64666d; }
.case-details.alt .detail-grid p,
.case-details.alt .conversion p { color: var(--muted); }
.conversion { margin-top: 18px; }

.about {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(64px, 7vw, 104px) 0;
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: clamp(40px, 9vw, 140px);
}
.about h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5.4rem); line-height: .95; letter-spacing: -.055em; }
.about p { max-width: 680px; margin: 28px 0 0; color: var(--muted); }
.about-aside > span { display: block; margin-bottom: 24px; color: var(--accent-text); font-size: .73rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.about-aside figure { width: min(100%, 360px); margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; aspect-ratio: 4 / 5; background: var(--panel); }
.about-aside img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }

.process {
  padding: clamp(72px, 8vw, 118px) max(24px, calc((100vw - 1280px) / 2));
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.why-ai {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(72px, 8vw, 118px) 0;
  border-top: 1px solid var(--line);
}
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 46px; }
.benefit-grid article { min-width: 0; padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.benefit-grid b { color: var(--accent-text); font-size: .75rem; letter-spacing: .1em; }
.benefit-grid h3 { margin: 24px 0 12px; font-size: 1.15rem; line-height: 1.25; }
.benefit-grid p { margin: 0; color: var(--muted); font-size: .92rem; }
.why-note { max-width: 850px; margin: 28px 0 0; color: var(--muted); font-size: .9rem; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); }
.process-grid article { min-width: 0; padding: clamp(24px, 3vw, 36px); background: var(--panel); }
.process-grid b { color: var(--accent-text); font-size: .75rem; letter-spacing: .1em; }
.process-grid h3 { margin: 24px 0 12px; font-size: 1.05rem; line-height: 1.25; }
.process-grid p { margin: 0; color: var(--muted); font-size: .9rem; }

.contact {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 130px) 0;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}
.contact-intro > span { display: block; max-width: 560px; margin: 24px 0 0; color: var(--muted); }
.contact-intro small { display: block; margin-top: 30px; color: var(--muted); }
.contact-intro small a { color: #fff; text-underline-offset: 5px; }
.contact-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}
.form-row { min-width: 0; text-align: left; }
.form-row-wide, .form-submit { grid-column: 1 / -1; }
.form-row label { display: block; margin-bottom: 9px; color: #e9e9ec; font-size: .76rem; font-weight: 750; letter-spacing: .045em; }
.form-row input, .form-row textarea {
  display: block;
  width: 100%;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background: #0b0c0f;
  color: var(--text);
  font: inherit;
  font-size: .94rem;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form-row input { min-height: 50px; padding: 0 14px; }
.form-row textarea { min-height: 148px; padding: 13px 14px; resize: vertical; }
.form-row input::placeholder, .form-row textarea::placeholder { color: #777b85; }
.form-row input:focus, .form-row textarea:focus { border-color: #ff5860; box-shadow: 0 0 0 3px rgba(229,9,20,.16); }
.form-row input[aria-invalid="true"], .form-row textarea[aria-invalid="true"] { border-color: #ff5860; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; min-height: 0; }
.turnstile-wrap small { color: #8f929b; font-size: .68rem; line-height: 1.5; }
.turnstile-wrap small a { color: #bfc1c7; text-underline-offset: 3px; }
.form-submit { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; }
.contact-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; width: fit-content; margin: 0; padding: 12px 22px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; text-decoration: none; font-weight: 800; cursor: pointer; }
.contact-button:hover { background: #ff1b26; }
.contact-button:disabled { opacity: .62; cursor: wait; }
.form-status { flex: 1 1 220px; margin: 0; color: var(--muted); font-size: .84rem; }
.form-status.success { color: #72dda0; }
.form-status.error { color: #ff858b; }
.email-link { color: var(--muted); text-underline-offset: 5px; }
footer a { color: inherit; }

footer {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .76rem;
}

@media (max-width: 980px) {
  header > span { display: none; }
  .intro { grid-template-columns: 1fr; }
  .intro-copy { max-width: 760px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  header, .intro, .portrait-shelf, .why-ai, .about, footer { width: min(100% - 28px, 1280px); }
  header { min-height: 64px; padding: 18px 0 14px; flex-wrap: wrap; }
  header nav { width: 100%; min-width: 0; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
  header nav a { font-size: .73rem; }
  header > span { display: none; }
  .intro { grid-template-columns: 1fr; padding-top: 64px; }
  .intro > div, .intro-copy, .section-intro, .short-info, .about > div { min-width: 0; }
  .intro h1 { max-width: 100%; font-size: clamp(2.8rem, 13.5vw, 4rem); overflow-wrap: normal; }
  .intro p, .section-intro > span, .short-info p { overflow-wrap: anywhere; }
  .short-card { grid-template-columns: minmax(0,1fr); border-radius: 14px; margin-bottom: 30px; }
  .portrait-player { width: 100%; aspect-ratio: 9 / 16; }
  .short-info { padding: 32px 24px 38px; }
  .short-info h2 { font-size: clamp(2.3rem, 14vw, 4.2rem); }
  .production-notes dl div { grid-template-columns: 1fr; gap: 5px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .process { padding-inline: 14px; }
  .process-grid { grid-template-columns: 1fr; }
  .case-heading, .about { grid-template-columns: 1fr; }
  .contact { width: min(100% - 28px, 1280px); grid-template-columns: 1fr; gap: 38px; }
  .contact-form { grid-template-columns: 1fr; padding: 24px 18px; border-radius: 14px; }
  .form-row-wide, .form-submit { grid-column: auto; }
  .case-heading { gap: 24px; margin-bottom: 44px; }
  .detail-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}
