@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable-dynamic-subset.css");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@600;700&display=swap");

:root {
  --bg: #f2eadc;
  --panel: #221d18;
  --paper: #f2eadc;
  --paper-soft: #e7d8c1;
  --ink: #15120f;
  --text: #15120f;
  --body: #625647;
  --muted: #a89073;
  --red: #c34332;
  --amber: #d19b4c;
  --line: rgba(248, 240, 226, 0.16);
  --dark-line: rgba(21, 18, 15, 0.14);
  --shadow: 0 20px 42px rgba(8, 6, 4, 0.3);
  --max: 1260px;
  --sans: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --serif: "Noto Serif KR", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  letter-spacing: 0;
  word-break: keep-all;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.sample-note {
  margin: 0;
  padding: 9px 18px;
  background: var(--panel);
  color: rgba(248, 240, 226, 0.78);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  gap: 22px;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 10px;
}

.brandline,
.site-header nav,
.header-cta {
  display: flex;
  align-items: center;
}

.brandline {
  gap: 10px;
  font-size: 13px;
  font-weight: 900;
}

.brandline span {
  width: 14px;
  height: 14px;
  background: var(--red);
}

.site-header nav {
  gap: 22px;
  color: var(--body);
  font-size: 13px;
  font-weight: 700;
}

.site-header a:hover,
.site-header a:focus-visible {
  color: var(--amber);
}

.header-cta {
  justify-self: end;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  background: var(--panel);
  color: var(--paper);
  font-size: 13px;
  font-weight: 900;
}

.hero,
.shot-section,
.channel-section,
.brief-section,
.page-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(140px, 0.18fr) minmax(0, 1fr) minmax(300px, 0.36fr);
  grid-template-areas: "ticket sheet copy";
  gap: 20px;
  min-height: calc(100svh - 82px);
  padding: 26px 0 82px;
}

.hero-copy,
.production-ticket {
  min-width: 0;
  color: var(--text);
}

.hero-copy {
  grid-area: copy;
  display: grid;
  align-content: center;
  min-height: 0;
  padding: 0 0 0 8px;
  background: transparent;
  box-shadow: none;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.eyebrow,
.production-ticket span,
.hero-shot-specs span,
.shot-list span,
.channel-grid span {
  display: block;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section-copy h2,
.channel-section h2,
.brief-section h2 {
  margin: 14px 0 18px;
  font-family: var(--sans);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero h1 {
  max-width: 460px;
  font-size: clamp(30px, 2.8vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.hero-copy p:not(.eyebrow),
.section-copy p,
.channel-section > p,
.brief-section > div > p {
  margin: 0;
  color: var(--body);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-actions .button {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.hero-actions .button.primary {
  background: #2563eb;
  color: #fff;
}

.hero-actions .button.secondary {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.2);
}

.hero-shot-specs {
  display: grid;
  gap: 8px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-shot-specs li {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: var(--paper-soft);
}

.hero-shot-specs strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.3;
}

.contact-sheet {
  grid-area: sheet;
  display: grid;
  min-width: 0;
  grid-template-columns: 1.15fr 0.78fr 0.88fr;
  grid-template-rows: 1fr 0.82fr;
  gap: 12px;
  min-height: 680px;
  padding: 16px;
  background: var(--panel);
  box-shadow: 0 18px 36px rgba(64, 44, 24, 0.18);
}

.frame {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #272018;
}

.frame-wide {
  grid-column: span 2;
}

.frame-tall {
  grid-row: span 2;
  grid-column: 3;
  grid-row: 1 / span 2;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.frame:hover img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.04);
}

.frame figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 7px 9px;
  background: rgba(15, 13, 11, 0.76);
  color: var(--paper);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.production-ticket {
  grid-area: ticket;
  display: grid;
  align-content: space-between;
  min-height: 680px;
  padding: 22px;
  background: var(--red);
  color: var(--paper);
  box-shadow: 0 18px 36px rgba(64, 44, 24, 0.18);
}

.production-ticket span {
  color: #ffd4c9;
}

.production-ticket strong {
  display: block;
  margin: 30px 0 10px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}

.production-ticket p {
  margin: 0;
  color: rgba(248, 240, 226, 0.8);
  font-size: 14px;
}

.shot-section,
.channel-section,
.brief-section {
  padding: 88px 0;
}

.shot-section {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.shot-section .section-copy h2 {
  font-size: clamp(30px, 3.2vw, 46px);
}

.shot-list {
  display: grid;
  background: var(--paper);
  color: var(--text);
  box-shadow: var(--shadow);
}

.shot-row {
  display: grid;
  grid-template-columns: 0.42fr 1fr 0.86fr 0.74fr;
}

.shot-row > * {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border-top: 1px solid var(--dark-line);
}

.shot-row > * + * {
  border-left: 1px solid var(--dark-line);
}

.shot-head {
  background: var(--panel);
  color: var(--paper);
}

.shot-head span {
  color: var(--amber);
}

.shot-row strong {
  color: var(--red);
}

.shot-row p {
  color: var(--body);
}

.channel-section > .eyebrow,
.channel-section h2 {
  max-width: 820px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.channel-grid article {
  min-height: 250px;
  padding: 26px;
  background: var(--panel);
  box-shadow: 0 12px 24px rgba(8, 6, 4, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.channel-grid article:nth-child(even) {
  background: #2a2119;
}

.channel-grid article:hover {
  transform: translateY(-2px);
  background: #33281e;
}

.channel-grid strong {
  display: block;
  margin: 46px 0 12px;
  font-size: 23px;
  line-height: 1.28;
}

.channel-grid p {
  margin: 0;
  color: rgba(248, 240, 226, 0.72);
}

.brief-section {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(340px, 0.56fr);
  gap: 18px;
  align-items: stretch;
}

.brief-section > div,
.brief-form {
  min-width: 0;
  padding: clamp(26px, 4vw, 44px);
  background: var(--paper);
  color: var(--text);
  box-shadow: var(--shadow);
}

.brief-form {
  display: grid;
  gap: 12px;
}

.brief-form label {
  font-size: 13px;
  font-weight: 900;
}

.brief-form input,
.brief-form select,
.brief-form textarea {
  width: 100%;
  border: 0;
  background: var(--paper-soft);
  color: var(--text);
  padding: 14px 16px;
  outline: 0;
}

.brief-form input:focus,
.brief-form select:focus,
.brief-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(195, 67, 50, 0.24);
}

.brief-form button {
  min-height: 48px;
  margin-top: 8px;
  border: 0;
  background: var(--text);
  color: var(--paper);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease;
}

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

.brief-form [data-form-status] {
  min-height: 22px;
  margin: 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 42px;
  color: var(--body);
  font-size: 13px;
}

.page-footer strong {
  color: var(--text);
}

@media (max-width: 1080px) {
  .hero,
  .shot-section,
  .brief-section {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .hero-copy,
  .contact-sheet,
  .production-ticket {
    grid-area: auto;
  }

  .hero-copy {
    order: 1;
  }

  .production-ticket {
    order: 2;
  }

  .contact-sheet {
    order: 3;
  }

  .contact-sheet {
    min-height: 620px;
  }

  .production-ticket {
    min-height: auto;
  }

  .production-ticket strong {
    writing-mode: horizontal-tb;
    font-size: clamp(24px, 4vw, 34px);
  }

  .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .sample-note {
    text-align: left;
  }

  .site-header {
    grid-template-columns: 1fr;
    width: min(100% - 32px, var(--max));
  }

  .site-header nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .header-cta {
    justify-self: start;
  }

  .hero,
  .shot-section,
  .channel-section,
  .brief-section,
  .page-footer {
    width: min(100% - 32px, var(--max));
  }

  .hero-copy {
    min-height: 0;
    padding-left: 0;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero h1,
  .section-copy h2,
  .channel-section h2,
  .brief-section h2 {
    font-size: clamp(30px, 9vw, 44px);
  }

  .contact-sheet {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-shot-specs li {
    grid-template-columns: 1fr;
  }

  .frame,
  .frame-wide,
  .frame-tall {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .shot-row {
    grid-template-columns: 1fr;
  }

  .shot-row > * + * {
    border-left: 0;
  }

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

  .shot-section,
  .channel-section,
  .brief-section {
    padding: 64px 0;
  }

  .page-footer {
    flex-direction: column;
  }
}

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