/* A graphic portfolio restyle inspired by the reference's scale and palette.
   Existing copy, film assets, navigation, and form behavior remain in place. */
:root {
  color-scheme: dark;
  --bg: #090909;
  --panel: #151515;
  --panel-2: #1b1b1b;
  --text: #f2edbd;
  --muted: #bbb8a2;
  --line: #343432;
  --accent: #f04b3d;
  --blue: #37a4d7;
  --display: 'Pretendard Variable', Pretendard, 'Malgun Gothic', sans-serif;
  --body: 'Pretendard Variable', Pretendard, 'Malgun Gothic', sans-serif;
}

body { background: var(--bg); color: var(--text); }
::selection { background: var(--blue); color: #090909; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip-link { background: var(--text); color: #090909; }
.site-shell { background: var(--bg); }
.site-shell::before { display: none; }
.site-header, .hero, .section-shell, .site-footer { width: min(100% - 76px, 1520px); }
.site-header { height: 88px; border-bottom: 0; position: relative; z-index: 20; }
.brand { gap: 12px; }
.brand-mark { color: var(--blue); font-size: 32px; font-weight: 900; letter-spacing: -.1em; }
.brand-mark span { color: var(--accent); }
.brand-name { color: var(--text); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.desktop-nav { gap: clamp(12px, 1.75vw, 28px); }
.desktop-nav a { color: var(--text); font-size: 14px; font-weight: 700; }
.desktop-nav a:hover, .site-footer a:hover { color: var(--blue); }
.desktop-nav a:last-child { color: #090909; border: 0; border-radius: 999px; background: var(--accent); padding: 11px 20px; }
.desktop-nav a:last-child:hover { color: #090909; background: var(--text); }
.mobile-menu summary { color: var(--text); border: 1px solid var(--text); border-radius: 999px; background: transparent; }
.mobile-menu nav { background: #171717; border: 1px solid #55554d; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,.55); }
.mobile-menu nav a { color: var(--text); }
.mobile-menu nav a:hover { color: var(--blue); }

/* An oversized headline and a film-still strip lead the first screen. */
.hero { min-height: 0; display: block; padding-block: 38px 120px; }
.hero-copy { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); column-gap: clamp(30px, 6vw, 105px); align-items: start; padding-bottom: 64px; }
.eyebrow { grid-column: 1 / -1; color: var(--text); margin: 0 0 38px; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.eyebrow-line { width: 35px; height: 3px; background: var(--blue); }
.hero h1 { grid-column: 1 / -1; grid-row: auto; align-self: auto; width: 100%; margin: 0 0 68px; color: var(--text); font: 900 clamp(74px, 11.4vw, 174px)/.96 var(--display); letter-spacing: -.055em; overflow-wrap: normal; text-align: center; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--blue); font: normal 900 1em/.96 var(--display); letter-spacing: -.055em; }
.hero-service-line { grid-column: 1; grid-row: auto; color: var(--text); font-size: clamp(29px, 3.4vw, 48px); line-height: 1.2; font-weight: 800; letter-spacing: -.03em; margin: 0; }
.hero-audience { grid-column: 2; grid-row: auto; max-width: 580px; color: var(--muted); font-size: 17px; line-height: 1.72; margin: 0; }
.hero-audience strong { color: var(--accent); font-size: clamp(20px, 1.7vw, 26px); font-weight: 800; line-height: 1.3; margin-bottom: 16px; }
.hero-audience p + p { margin-top: 12px; }
.hero-audience .hero-closing { color: var(--text); font-weight: 700; }
.hero-copy .primary-button { grid-column: 2; grid-row: auto; justify-self: start; margin-top: 22px; }
.primary-button { min-height: 50px; min-width: 0; padding: 12px 22px; gap: 20px; border: 0; border-radius: 999px; background: var(--accent); color: #090909; font-size: 14px; font-weight: 800; box-shadow: none; }
.primary-button::after { font-size: 16px; }
.primary-button:hover { background: var(--text); border-color: var(--text); color: #090909; transform: translateY(-2px); }
.hero-art { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 12px; height: clamp(360px, 40vw, 600px); }
.hero-art-main, .hero-art-side img { background: #191919; border-radius: 7px; }
.hero-art-side { gap: 12px; }
.hero-art-main::after { border-radius: 7px; }
.hero-art-main span { color: var(--text); background: #090909c9; border-radius: 999px; padding: 8px 13px; bottom: 18px; left: 18px; font-size: 11px; }
.hero-art-index { color: #090909; background: var(--blue); border-radius: 999px; bottom: 18px; right: 18px; padding: 8px 13px; font-size: 11px; }

/* Section titles are intentionally bold and almost poster-sized. */
.section-shell { border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.works-section, .services-section, .packages-section, .process-section { padding-block: 105px 130px; }
.section-kicker { display: inline-block; width: fit-content; margin-bottom: 24px; padding: 7px 13px; border-radius: 999px; background: var(--blue); color: #090909; font-size: 11px; font-weight: 900; line-height: 1.25; letter-spacing: .07em; }
.section-heading { align-items: end; margin-bottom: 62px; }
.section-heading h2, .section-intro h2 { color: var(--text); font: 900 clamp(58px, 7.5vw, 120px)/1.06 var(--display); letter-spacing: -.045em; }
.section-heading > p { color: var(--muted); max-width: 330px; font-size: 17px; line-height: 1.6; }
.accent-dot { color: var(--accent); }

/* Vertical showreel sits inside a dark cinema panel. */
.showreel-section { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(35px, 6vw, 95px); align-items: center; padding-block: 110px 125px; }
.showreel-intro h2 { font-size: clamp(64px, 7vw, 108px); }
.section-intro h2 em { color: var(--accent); font: normal 900 1em/1.06 var(--display); }
.section-intro > p:not(.section-kicker) { color: var(--muted); max-width: 430px; font-size: 18px; line-height: 1.7; margin: 34px 0 54px; }
.showreel-note { border-top-color: #55554a; color: var(--text); width: min(100%,430px); font-size: 11px; font-weight: 800; }
.showreel-stage { height: 650px; background: #171719; border: 1px solid #353535; border-radius: 8px; }
.showreel-stage::before, .showreel-stage::after { background: var(--blue); opacity: .6; }
.showreel-frame { height: 590px; box-shadow: 0 24px 50px rgba(0,0,0,.55); }
.stage-label { color: var(--text); font-weight: 700; }

/* Two film cases: strong titles, colorful metadata, and large real stills. */
.works-section .section-heading > p { max-width: 385px; }
.works-grid.two-work { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); justify-content: stretch; }
.two-work .featured-work { display: block; padding: 0; background: transparent; }
.two-work .featured-work:nth-child(2) { margin-top: 105px; }
.two-work .featured-work .work-visual { max-width: none; aspect-ratio: 9/11.7; background: #1c1c1c; border-radius: 7px; }
.work-visual::after { background: linear-gradient(180deg, rgba(0,0,0,.22), transparent 30%, transparent 58%, rgba(0,0,0,.44)); }
.work-index { top: 17px; left: 17px; color: #090909; background: var(--blue); border-radius: 999px; padding: 8px 12px; font-size: 11px; font-weight: 900; }
.two-work .featured-work:nth-child(2) .work-index { background: var(--accent); }
.work-play { left: 19px; bottom: 19px; width: auto; height: 42px; padding: 0 17px; border: 0; border-radius: 999px; background: var(--text); color: #090909; font-size: 13px; font-weight: 800; }
.work-visual:hover .work-play { background: var(--accent); color: #090909; border-color: var(--accent); }
.two-work .featured-work .work-info { padding: 25px 0 0; }
.two-work .featured-work .work-meta { color: var(--blue); border: 0; margin: 0 0 14px; padding: 0; font-size: 12px; font-weight: 800; }
.two-work .featured-work:nth-child(2) .work-meta { color: var(--accent); }
.two-work .featured-work h3 { color: var(--text); font: 900 clamp(42px, 4.5vw, 72px)/1.05 var(--display); letter-spacing: -.035em; margin: 0 0 11px; }
.two-work .featured-work .work-info p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0; }

/* Production message follows the reference's big text and accent words. */
.service-lead { grid-template-columns: minmax(0, 1fr) minmax(0, .88fr); gap: clamp(40px, 7vw, 110px); background: transparent; border-top: 1px solid var(--line); border-left: 0; padding: 50px 0 0; margin: 0; }
.service-lead strong { color: var(--text); font: 900 clamp(38px, 4.35vw, 68px)/1.2 var(--display); letter-spacing: -.035em; }
.service-lead > div { border-left: 0; padding-left: 0; }
.service-lead ol { margin: 0 0 30px; }
.service-lead li { color: var(--text); font-size: 18px; line-height: 1.5; border-bottom: 1px solid var(--line); padding: 0 0 18px; margin-bottom: 18px; }
.service-lead li::before { color: var(--blue); font-size: 14px; font-weight: 900; }
.service-lead p { color: var(--accent); font-size: clamp(20px, 2vw, 27px); font-weight: 800; }

/* Content-format slots and test offer stay intact. */
.packages-section .section-heading { margin-bottom: 52px; }
.format-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-bottom: 22px; }
.format-card { min-height: 350px; gap: 26px; padding: clamp(27px, 3vw, 42px); border: 1px solid #53534c; border-radius: 7px; background: #151515; }
.format-card-heading span { display: inline-block; color: #090909; background: var(--blue); border-radius: 999px; padding: 7px 12px; font-size: 11px; font-weight: 900; letter-spacing: .05em; }
.format-card:nth-child(2) .format-card-heading span { background: var(--accent); }
.format-card-heading h3 { color: var(--text); font: 800 clamp(30px, 3vw, 46px)/1.17 var(--display); letter-spacing: -.025em; margin: 18px 0 0; }
.format-video-slot { min-height: 180px; color: var(--muted); border: 1px dashed #626258; border-radius: 4px; background: #0d0d0d; }
.format-video-slot span { font-size: 14px; }
.format-films { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.format-card[id] { scroll-margin-top: 64px; }
.viral-film { min-width: 0; padding: 0; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.viral-film-thumb { display: block; position: relative; overflow: hidden; aspect-ratio: 9 / 12; border-radius: 4px; background: #090909; }
.viral-film-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.32), transparent 34%, transparent 60%, rgba(0,0,0,.65)); pointer-events: none; }
.viral-film-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.viral-film:hover .viral-film-thumb img, .viral-film:focus-visible .viral-film-thumb img { transform: scale(1.05); }
.viral-film-number, .viral-film-play { position: absolute; z-index: 1; left: 12px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.viral-film-number { top: 12px; }
.viral-film-play { bottom: 12px; background: var(--accent); color: #090909; border-radius: 999px; padding: 8px 11px; }
.viral-film-caption { display: flex; flex-direction: column; gap: 5px; margin-top: 11px; }
.viral-film-caption strong { font-size: clamp(14px, 1.35vw, 18px); font-weight: 800; line-height: 1.35; word-break: keep-all; }
.viral-film-caption small { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .07em; }
.viral-film:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
@media (max-width: 520px) {
  .format-films { grid-template-columns: 1fr; }
  .format-films .viral-film { display: grid; grid-template-columns: minmax(84px, 34%) 1fr; gap: 16px; align-items: center; }
  .format-films .viral-film-caption { margin: 0; overflow-wrap: anywhere; }
}
.test-pack { background: var(--text); border: 0; border-radius: 7px; padding: clamp(36px, 5vw, 68px); margin-top: 0; }
.test-pack > div > span { color: #252521; font-weight: 900; }
.test-pack h3 { color: #090909; font-weight: 900; letter-spacing: -.035em; }
.test-pack h3 em { color: var(--accent); font: normal 900 1em var(--display); }
.test-pack p { color: #242422; font-weight: 500; }
.test-pack small { color: #494940; }
.test-pack-action strong { color: #090909; font-weight: 900; }
.test-pack-action .primary-button { background: var(--accent); color: #090909; }
.test-pack-action .primary-button:hover { background: var(--blue); }
.price-note { color: var(--muted); }

/* Four clear steps lead to the inquiry section. */
.process-list { gap: clamp(18px, 2.5vw, 35px); }
.process-list li { border-top: 3px solid var(--blue); min-height: 235px; padding-top: 24px; }
.process-list li:nth-child(even) { border-top-color: var(--accent); }
.process-list li > span { color: var(--blue); font-size: 15px; font-weight: 900; }
.process-list li:nth-child(even) > span { color: var(--accent); }
.process-list h3 { color: var(--text); font-size: clamp(26px, 2.5vw, 36px); font-weight: 800; margin: 42px 0 9px; }
.process-list p { color: var(--muted); font-size: 16px; line-height: 1.6; }

/* Contact keeps the original form and delivery endpoint. */
.contact-section { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(45px, 6vw, 90px); align-items: start; min-height: 0; margin-bottom: 80px; padding: clamp(46px, 5vw, 75px) 0 70px; border-top: 1px solid var(--line); background: transparent; }
.contact-section .section-kicker { color: #090909; background: var(--accent); }
.contact-section h2 { color: var(--text); font: 900 clamp(48px, 5vw, 78px)/1.14 var(--display); letter-spacing: -.035em; max-width: 760px; }
.contact-section h2 em { color: var(--blue); font: normal 900 1em var(--display); }
.contact-copy > p:not(.section-kicker) { color: var(--muted); font-size: 18px; line-height: 1.6; margin: 30px 0 35px; }
.contact-copy .primary-button { margin-bottom: 25px; }
.instagram-handle { color: var(--text); border-bottom-color: var(--text); font-size: 16px; font-weight: 700; }
.instagram-handle:hover { color: var(--blue); border-color: var(--blue); }
.contact-form { padding: clamp(28px, 3.1vw, 46px); border: 1px solid #56564d; border-radius: 7px; background: #161616; }
.contact-form-heading span { color: var(--blue); font-weight: 900; }
.contact-form-heading h3 { color: var(--text); font: 800 clamp(30px, 3vw, 45px)/1.17 var(--display); letter-spacing: -.025em; }
.contact-form-heading p { color: var(--muted); }
.contact-fields label { color: var(--text); }
.contact-fields label span { color: var(--accent); }
.contact-fields input, .contact-fields textarea { color: var(--text); border-bottom-color: #77776a; }
.contact-fields input::placeholder, .contact-fields textarea::placeholder { color: #a6a28e; }
.contact-fields input:focus, .contact-fields textarea:focus { border-bottom-color: var(--blue); }
.form-status { color: var(--text); }
.form-status[data-state="error"] { color: #ff9e92; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; gap: 20px 36px; align-items: start; min-height: 0; padding: 35px 0 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 800; }
.site-footer > span:first-child { color: var(--text); }
.site-footer > a { color: var(--text); }
.footer-right { gap: 24px; }
.footer-instagram { color: var(--text); }
.footer-instagram span { color: var(--accent); }
.footer-wordmark { grid-column: 1 / -1; width: 100%; overflow: hidden; color: var(--text); font: 900 clamp(54px, 10.2vw, 165px)/.85 var(--display); letter-spacing: -.085em; white-space: nowrap; margin-top: 48px; }

.video-dialog { background: #151515; color: var(--text); border: 1px solid #626258; border-radius: 9px; }
.dialog-index { color: var(--blue); }
.dialog-header h2 { color: var(--text); font-weight: 900; }
.dialog-close { color: var(--text); border-color: #77776a; }
.dialog-close:hover { background: var(--accent); border-color: var(--accent); color: #090909; }
.dialog-footer .dialog-fullscreen { color: var(--text); border: 1px solid #77776a; border-radius: 999px; }
.dialog-footer button { color: var(--text); }
.dialog-footer button:hover { color: var(--blue); }

@media (max-width: 1120px) {
  .hero h1 { font-size: clamp(70px, 10.6vw, 118px); }
  .showreel-stage { height: 590px; }
  .showreel-frame { height: 530px; }
}

@media (max-width: 900px) {
  .site-header, .hero, .section-shell, .site-footer { width: min(100% - 54px, 1520px); }
  .hero { padding-block: 35px 95px; }
  .hero-copy { grid-template-columns: 1fr; padding-bottom: 42px; }
  .eyebrow, .hero h1, .hero-service-line, .hero-audience, .hero-copy .primary-button { grid-column: 1; grid-row: auto; }
  .hero h1 { font-size: clamp(70px, 11vw, 115px); margin: 25px 0 48px; text-align: left; }
  .hero-service-line { margin-bottom: 18px; }
  .hero-audience { max-width: 660px; }
  .hero-copy .primary-button { margin-top: 26px; }
  .hero-art { height: 450px; }
  .showreel-section { grid-template-columns: 1fr; gap: 42px; }
  .showreel-stage { height: 585px; }
  .showreel-frame { height: 525px; }
  .section-heading { display: block; }
  .section-heading > p { text-align: left; max-width: 630px; margin-top: 20px; }
  .works-section .section-heading > p { max-width: 630px; }
  .service-lead { grid-template-columns: 1fr; gap: 35px; }
  .service-lead strong { max-width: 750px; }
  .format-grid { grid-template-columns: 1fr; }
  .contact-section { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 700px) {
  .site-header, .hero, .section-shell, .site-footer { width: min(100% - 36px, 520px); }
  .site-header { height: 76px; }
  .brand-mark { font-size: 29px; }
  .hero { padding-block: 35px 75px; }
  .eyebrow { margin-bottom: 20px; font-size: 10px; }
  .hero h1 { font-size: clamp(42px, 11.7vw, 77px); margin: 20px 0 42px; letter-spacing: -.05em; }
  .hero-service-line { font-size: 29px; }
  .hero-audience { font-size: 15px; }
  .hero-audience strong { font-size: 19px; }
  .hero-art { height: 350px; gap: 7px; }
  .hero-art-side { gap: 7px; }
  .hero-art-main span { left: 8px; bottom: 8px; font-size: 8px; padding: 6px 8px; }
  .hero-art-index { right: 8px; bottom: 8px; font-size: 8px; padding: 6px 8px; }
  .section-kicker { margin-bottom: 18px; }
  .section-heading h2, .section-intro h2, .showreel-intro h2 { font-size: clamp(47px, 11vw, 68px); }
  .works-section, .services-section, .packages-section, .process-section { padding-block: 77px 95px; }
  .showreel-section { padding-block: 78px 90px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading > p { font-size: 15px; }
  .section-intro > p:not(.section-kicker) { font-size: 16px; margin: 28px 0 40px; }
  .showreel-stage { height: 510px; }
  .showreel-frame { height: 460px; }
  .works-grid.two-work { grid-template-columns: 1fr; gap: 65px; }
  .two-work .featured-work:nth-child(2) { margin-top: 0; }
  .two-work .featured-work .work-visual { aspect-ratio: 9/12; }
  .two-work .featured-work h3 { font-size: clamp(40px, 10vw, 60px); }
  .work-play { left: 10px; bottom: 10px; height: 38px; padding: 0 12px; font-size: 12px; }
  .service-lead { gap: 35px; padding-top: 36px; }
  .service-lead strong { font-size: clamp(36px, 9vw, 48px); }
  .service-lead li { font-size: 16px; }
  .service-lead p { font-size: 21px; }
  .format-card { min-height: 280px; padding: 26px; }
  .format-video-slot { min-height: 145px; }
  .format-films { gap: 10px; }
  .viral-film-number, .viral-film-play { left: 8px; font-size: 10px; }
  .viral-film-number { top: 8px; }
  .viral-film-play { bottom: 8px; padding: 7px 9px; }
  .viral-film-caption strong { font-size: 14px; }
  .test-pack { padding: 35px 28px; }
  .process-list { grid-template-columns: 1fr; gap: 12px; }
  .process-list li { min-height: 0; padding: 21px 0 26px; }
  .process-list h3 { margin: 18px 0 8px; }
  .contact-section { padding: 55px 0 65px; margin-bottom: 50px; }
  .contact-section h2 { font-size: clamp(38px, 9.4vw, 57px); }
  .contact-copy .primary-button { margin-bottom: 22px; }
  .contact-form { padding: 26px 22px; }
  .contact-fields { grid-template-columns: 1fr; row-gap: 17px; }
  .site-footer { grid-template-columns: 1fr auto; gap: 16px; }
  .site-footer > a { display: none; }
  .footer-right { gap: 15px; }
  .footer-wordmark { font-size: clamp(54px, 13vw, 90px); margin-top: 30px; }
  .dialog-content { padding: 12px; }
  .video-dialog { height: min(84dvh, 700px); }
  .dialog-footer { gap: 7px; }
  .dialog-footer button { font-size: 12px; }
  .dialog-footer .dialog-fullscreen { padding: 8px; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: clamp(40px, 11.8vw, 46px); }
  .contact-section h2 { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .work-visual img, .primary-button { transition: none; }
}
