/* Angent packaging homepage · cool white, deep navy, brand blue */
:root {
  --paper: #ffffff;
  --paper-deep: #eff4f9;
  --ink: #122239;
  --muted: #51617a;
  --rule: #d5dfe9;
  --accent: #154ba9;
  --accent-hover: #103c89;
  --on-accent: #ffffff;
  --band-muted: #50637e;
  --focus: #167ad9;
  --control: #f7faff;
  --error: #9e292b;
  --font-display: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  --font-body: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  --max: 1120px;
  --gap: clamp(16px, 2.5vw, 32px);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-top: 20px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--font-body); word-break: keep-all; }
button, input { font: inherit; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--accent-hover); }
:where(a, button, input, video):focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; inset: 12px auto auto 12px; z-index: 2; padding: 12px 16px; background: var(--control); transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.mast { border-bottom: 1px solid var(--rule); }
.mast-inner { min-height: 68px; display: flex; justify-content: space-between; align-items: center; gap: var(--gap); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 750; white-space: nowrap; }
.brand img { display: block; object-fit: contain; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
nav a { font-size: 14px; text-decoration: none; }
nav a:hover { text-decoration: underline; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--font-display); line-height: 1.18; font-weight: 700; letter-spacing: -.045em; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
h1 { font-size: clamp(42px, 6.2vw, 86px); max-width: 8.3em; }
h2 { font-size: clamp(30px, 4vw, 49px); }
h3 { font-size: 18px; line-height: 1.35; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: center; padding-block: clamp(36px, 6vw, 80px); }
.hero-copy p { max-width: 31em; margin-top: 20px; color: var(--muted); }
.hero-film { justify-self: center; width: min(100%, clamp(296px, 42vh, 390px)); }
video, .process-grid img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: var(--paper-deep); }
.hero-film figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }
.actions { display: flex; gap: 12px 24px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.primary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700; cursor: pointer; }
.primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.primary:active { background: var(--ink); color: var(--on-accent); }
.primary:disabled, .apply .primary:disabled { background: var(--paper-deep); border-color: var(--rule); color: var(--muted); cursor: default; }
.text-link { font-weight: 650; }
.section { padding-block: clamp(44px, 6.5vw, 84px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.section-head p, .process-grid p, .film-grid p { color: var(--muted); }
.process { background: var(--paper-deep); }
.process-grid, .film-grid { margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.process-grid { counter-reset: step; padding: 0; list-style: none; }
.process-grid li { counter-increment: step; }
.process-grid img { aspect-ratio: 3 / 4; height: auto; object-position: center 55%; }
.process-grid figcaption, .film-grid figcaption { padding-top: 12px; }
.process-grid h3::before { content: counter(step, decimal-leading-zero); color: var(--accent); display: inline-block; margin-right: 8px; font-size: 13px; font-variant-numeric: tabular-nums; }
.process-grid p, .film-grid p { font-size: 14px; margin-top: 8px; }
.apply { background: var(--accent); color: var(--on-accent); }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 7vw, 100px); }
.apply-grid > div > p { max-width: 27em; margin-top: 12px; }
.apply .note { color: var(--band-muted); font-size: 14px; }
.inquiry-form { display: grid; align-content: start; gap: 8px; }
.inquiry-form label { font-weight: 650; }
.inquiry-form input:not([type="hidden"]):not([type="checkbox"]) { width: 100%; min-height: 45px; padding: 8px 12px; border: 1px solid var(--rule); background: var(--control); color: var(--ink); margin-bottom: 4px; }
.inquiry-form .consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 8px; font-size: 14px; }
.consent input { margin: 4px 0 0; width: 16px; height: 16px; flex: none; accent-color: var(--focus); }
.apply .primary, .apply .submit { justify-self: start; margin-top: 8px; background: var(--on-accent); border-color: var(--on-accent); color: var(--accent); }
.apply .primary:hover, .apply .submit:hover { background: var(--paper-deep); }
.apply a:hover { color: var(--control); }
.form-status:not(:empty) { margin-top: 4px; font-size: 14px; }
.form-status a { margin-inline-start: 8px; font-weight: 700; }
.honeypot { position: absolute; width: 1px; height: 1px; clip-path: inset(100%); }
.footer { padding: 24px 0 32px; color: var(--muted); font-size: 14px; }
.footer .container { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.footer strong { color: var(--ink); }
@media (max-width: 760px) {
  .container { width: calc(100% - 36px); }
  .mast-inner { flex-wrap: wrap; min-height: auto; padding-block: 16px; gap: 8px 16px; }
  nav { gap: 4px 16px; }
  nav a { font-size: 13px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  h1 { max-width: 12em; font-size: clamp(37px, 9vw, 63px); }
  .hero-copy p { margin-top: 12px; }
  .hero-film { justify-self: center; width: min(100%, 252px); }
  .process-grid, .film-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .apply-grid { grid-template-columns: minmax(0, 1fr); }
}

:root {
  --night: #102541;
  --hero-soft: #c4d6ec;
  --sky: #aee1ff;
  --sky-hover: #d2efff;
  --media-edge: #435b77;
  --form-shadow: #13375712;
}
.mast-inner { min-height: 72px; }
.brand { font-size: 17px; }
.nav-contact { color: var(--accent); font-weight: 750; border-bottom: 1px solid var(--accent); }
.hero-band { background: var(--night); color: var(--on-accent); }
.hero { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(24px, 5vw, 64px); padding-block: clamp(36px, 4.5vw, 64px); }
.hero-copy h1 { max-width: 8em; font-size: clamp(44px, 5.3vw, 76px); text-wrap: initial; }
.hero-copy p { color: var(--hero-soft); }
.hero .primary { color: var(--night); background: var(--sky); border-color: var(--sky); }
.hero .primary:hover, .hero .primary:active { background: var(--sky-hover); }
.hero .text-link:hover { color: var(--sky); }
.primary { border-radius: 8px; }
.hero-film { width: min(100%, 508px); justify-self: end; }
.hero-reel { position: relative; }
.hero-reel video { width: 59%; border-radius: 10px; border: 1px solid var(--media-edge); }
.hero-stills { position: absolute; inset: 0 0 0 61.5%; display: grid; grid-template-rows: repeat(2, minmax(0,1fr)); gap: 12px; }
.hero-stills img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 63%; border: 1px solid var(--media-edge); border-radius: 10px; }
.hero-film figcaption { color: var(--hero-soft); }
.process { background: var(--paper); }
.process-grid img, .film-grid video { border-radius: 9px; }
.process-grid h3::before { font-weight: 750; }
#films { border-top: 1px solid var(--rule); }
.apply { background: var(--paper-deep); color: var(--ink); }
.apply-wrap { width: min(624px, calc(100% - 40px)); }
.apply-intro { margin-bottom: 24px; }
.apply-intro h2 { font-size: clamp(30px, 3.6vw, 46px); }
.apply-intro p { margin-top: 6px; color: var(--muted); }
.apply .note { color: var(--muted); font-size: 13px; }
.inquiry-form { gap: 16px; background: var(--paper); padding: clamp(20px, 4vw, 32px); border: 1px solid var(--rule); border-radius: 16px; box-shadow: 0 8px 24px var(--form-shadow); }
.field { display: grid; gap: 6px; min-width: 0; }
.field-hint { font-size: 11px; font-weight: 500; color: var(--muted); }
.field-pair { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 12px; }
.inquiry-form input:not([type="hidden"]):not([type="checkbox"]) { margin: 0; min-height: 48px; border-radius: 8px; }
.inquiry-form input::placeholder { color: var(--muted); opacity: .8; }
.inquiry-form .consent { margin-top: 0; font-size: 13px; font-weight: 550; }
.consent input { accent-color: var(--accent); }
.apply a, .apply a:hover { color: var(--accent); }
.apply .primary, .apply .submit { width: 100%; margin-top: 0; background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.apply .primary:hover, .apply .submit:hover { background: var(--accent-hover); }
.form-status:empty { display: none; }
.footer { border-top: 1px solid var(--rule); }
@media (max-width: 760px) {
  .mast-inner { min-height: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy h1 { max-width: 12em; font-size: clamp(36px, 8.7vw, 56px); }
  .hero-copy p { margin-top: 12px; }
  .actions { margin-top: 20px; }
  .hero-film { justify-self: start; }
  .hero-stills { gap: 8px; }
  .apply-wrap { width: calc(100% - 32px); }
}
@media (max-width: 360px) {
  .field-pair { grid-template-columns: minmax(0, 1fr); }
}
