:root {
  color-scheme: dark;
  --navy: #000a23;
  --panel: #07142e;
  --line: #2a364f;
  --ink: #f4f1ec;
  --muted: #bac3d3;
  --gold: #d6ad74;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--navy);
  font-family: system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  line-height: 1.65;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.site-header { border-bottom: 1px solid var(--line); padding: 15px 20px 0; }
.brand { display: block; width: 192px; margin: 0 auto 10px; }
.brand img { display: block; width: 100%; height: auto; }
nav { display: flex; justify-content: center; gap: clamp(15px, 5vw, 56px); }
nav a { font-size: 14px; padding: 11px 4px; border-bottom: 2px solid transparent; }
nav a:hover, nav a[aria-current] { color: var(--gold); border-color: var(--gold); }
main { flex: 1; width: min(100% - 44px, 1080px); margin: 0 auto; }
section { padding: 42px 0 54px; }
.page-heading { margin-bottom: 26px; }
.home .page-heading { text-align: center; margin-bottom: 32px; }
h1 { font-size: clamp(27px, 4vw, 39px); line-height: 1.25; margin: 0 0 12px; letter-spacing: -.035em; }
h2 { font-size: 21px; margin: 0 0 5px; }
p { margin: 0 0 14px; }
.page-heading p, .scene-info p, .home-card p { color: var(--muted); font-size: 14px; }
.scene-grid, .home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.scene, .home-card, .card, .sub-box { border: 1px solid var(--line); background: var(--panel); }
.home-card:hover { border-color: var(--gold); }
.home-card > div:last-child, .scene-info { padding: 19px 22px; }
.home-card h2 { display: flex; justify-content: space-between; }
.home-card h2 span, .action, .card > a { color: var(--gold); }
.home-card p { margin: 0; }
.scene-photo {
  aspect-ratio: 16 / 9;
  background-image: url('assets/mood.png');
  background-size: 200% 200%;
}
.event { background-position: left top; }
.food { background-position: right top; }
.wedding { background-position: left bottom; }
.menu { background-position: right bottom; }
.gallery-note { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.action { display: inline-block; padding-top: 4px; font-size: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 27px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.filters > div { display: flex; align-items: center; gap: 8px; }
.filters span { color: var(--muted); font-size: 13px; min-width: 27px; }
.filters button { padding: 8px 12px; color: var(--ink); background: transparent; border: 1px solid var(--line); cursor: pointer; font-size: 13px; }
.filters button[aria-pressed="true"] { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.package-title { margin: 0 0 18px; font-size: 21px; }
.package-title small { color: var(--muted); font-weight: 400; margin-left: 10px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card, .sub-box { padding: 21px; }
.card { display: flex; flex-direction: column; }
.card h4, .sub-box h4 { margin: 7px 0 0; font-size: 20px; }
.plan, .use, .notes { color: var(--muted); font-size: 13px; }
.plan { letter-spacing: .08em; }
.price { font-size: 37px; color: var(--gold); margin: 4px 0 12px; }
.price small { font-size: 15px; margin-left: 5px; }
.old { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.rows { padding: 10px 0; border-top: 1px solid var(--line); flex: 1; }
.row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 6px 0; }
.row span { color: var(--muted); }
.row strong { font-weight: 500; text-align: right; }
.card > a { border-top: 1px solid var(--line); padding-top: 10px; font-size: 13px; }
.common { background: var(--panel); padding: 14px 17px; margin: 16px 0; font-size: 14px; }
.notes { padding-left: 21px; }
.badge { display: inline-block; margin: 8px 8px 0 0; border: 1px solid var(--line); padding: 5px 10px; color: var(--gold); font-size: 12px; }
.sub { margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); }
.sub-box h4 { margin-bottom: 9px; }
.sub-box p { margin: 4px 0; font-size: 14px; }
.button { display: inline-block; padding: 10px 15px; background: var(--gold); color: var(--navy); border: 1px solid var(--gold); cursor: pointer; font-weight: 600; font-size: 14px; }
#contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; }
#inquiry { background: var(--panel); border: 1px solid var(--line); padding: 22px; }
#inquiry h3 { margin: 0 0 8px; }
#inquiry p, .steps p { font-size: 13px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
label { display: block; font-size: 13px; }
input, select, textarea { display: block; width: 100%; min-width: 0; padding: 7px; margin-top: 4px; color: var(--ink); background: var(--navy); border: 1px solid var(--line); }
textarea { resize: vertical; }
#inquiry button { margin-top: 14px; }
.form-status { margin: 10px 0 0; }
[hidden] { display: none !important; }
.process { border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 18px; }
.steps h3 { margin: 4px 0; }
.steps i { color: var(--gold); font-style: normal; }
footer { border-top: 1px solid var(--line); padding: 18px 22px; color: var(--muted); display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 22px; font-size: 12px; }
@media (max-width: 760px) {
  .cards, #contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  main { width: calc(100% - 32px); }
  .brand { width: 148px; }
  nav a { font-size: 13px; padding: 10px 1px; }
  section { padding: 29px 0 36px; }
  .scene-grid { grid-template-columns: 1fr; }
  .home-grid { gap: 10px; }
  .home-card > div:last-child { padding: 10px; }
  .home-card h2 { font-size: 17px; }
  .home-card p { font-size: 12px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* Studio typography and image-led layout */
.site-header { padding-top: 8px; }
.brand { width: 166px; margin-bottom: 4px; }
.home { padding-top: 26px; }
.studio-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: clamp(395px, 47vw, 535px);
  border: 1px solid var(--line);
}
.studio-hero-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(90deg, rgba(0, 10, 35, .96), rgba(0, 10, 35, .74) 38%, rgba(0, 10, 35, .1) 82%),
    linear-gradient(0deg, rgba(0, 10, 35, .76), transparent 50%),
    url('assets/camera-hero.webp');
  background-position: center, center, 62% center;
  background-size: cover;
}
.studio-hero-content { padding: 46px clamp(24px, 6vw, 76px); }
.editorial-title > span {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.045em;
}
@font-face {
  font-family: 'Studio Slogan Serif';
  src: url('assets/slogan-serif.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
.studio-hero h1 {
  font-family: 'Studio Slogan Serif', 'AppleMyungjo', 'Nanum Myeongjo', Batang, 'Noto Serif CJK KR', serif;
  font-size: clamp(36px, 6.1vw, 76px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.065em;
  margin-bottom: 26px;
  text-shadow: 0 3px 22px #0009;
}
.studio-hero h1 span { color: #efca94; }
.studio-hero p { color: #e2e5ec; font-size: 14px; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.studio-hero .button { display: inline-flex; align-items: center; gap: 14px; }
.studio-hero .button-outline { color: var(--ink); background: #000a2366; border-color: #f4f1ec60; }
.studio-hero .button-outline:hover { border-color: var(--ink); }
.image-credit { position: absolute; right: 15px; bottom: 12px; font-size: 11px; color: #e2e5ec; }
.home-grid { margin-top: 22px; }
.home-grid .scene-photo { aspect-ratio: 2.1; background-size: 200% auto; }
.home-card h2 span:first-child { font: 400 clamp(22px, 4vw, 36px) Georgia, serif; color: var(--ink); }
.home-card h2 { align-items: center; margin-bottom: 8px; }
.editorial-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 9px 16px; }
.editorial-title > span { font-size: clamp(45px, 7vw, 72px); line-height: 1.08; }
.editorial-title > small { font-size: 14px; letter-spacing: 0; color: var(--gold); font-weight: 500; }
.scene-info { padding: 22px; }
.scene-info .action { border-bottom: 1px solid #876c48; padding-bottom: 4px; }
.card { border-top: 2px solid #997a50; }
.price { font-family: Georgia, 'Times New Roman', serif; }
.price small { font-family: system-ui, sans-serif; }
@media (max-width: 560px) {
  .brand { width: 136px; }
  .studio-hero { min-height: 425px; align-items: flex-end; }
  .studio-hero-content { padding: 40px 20px 45px; }
  .studio-hero h1 { font-size: clamp(32px, 9vw, 48px); }
  .studio-hero p { font-size: 12px; max-width: 230px; }
  .studio-hero-image {
    background-image: linear-gradient(0deg, #000a23 0%, #000a23bb 35%, transparent 73%), url('assets/camera-hero.webp');
    background-position: center, 65% center;
  }
  .studio-hero .button { font-size: 13px; padding: 9px 11px; }
  .home-grid { margin-top: 12px; }
  .home-card h2 span:first-child { font-size: clamp(16px, 5vw, 23px); }
  .home-card h2 span:last-child { font-size: 13px; }
}

.portfolio-types, .portfolio-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.portfolio-types a { border: 1px solid var(--line); padding: 8px 22px; font-size: 14px; }
.portfolio-types a[aria-current] { border-color: var(--gold); color: var(--gold); }
.portfolio-empty { margin-top: 22px; padding: clamp(24px, 6vw, 65px); border: 1px solid var(--line); background: var(--panel); }
.portfolio-empty p { color: var(--muted); font-size: 14px; }
.portfolio-links { margin-top: 24px; }
.portfolio-links .action { padding: 0; }
@media (max-width: 560px) {
  nav { gap: clamp(7px, 2.5vw, 14px); }
  nav a { white-space: nowrap; }
}

.admin-grid, .work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.admin-panel, .portfolio-work { padding: 23px; border: 1px solid var(--line); background: var(--panel); }
.admin-panel h2 { margin-bottom: 16px; }
.admin-panel label { margin-top: 13px; }
.admin-panel p { font-size: 13px; color: var(--muted); margin: 7px 0 0; }
.admin-panel .publish-check { display: flex; align-items: center; gap: 9px; }
.publish-check input { width: auto; margin: 0; }
.admin-secondary { background: transparent; color: var(--gold); }
.admin-list { padding: 0; margin: 0; list-style: none; }
.admin-list li { border-bottom: 1px solid var(--line); padding: 14px 0; overflow-wrap: anywhere; }
.admin-list-actions { display: flex; gap: 8px; margin-top: 9px; }
.admin-list-actions button { border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; padding: 4px 10px; }
.admin-panel button:disabled { opacity: .65; cursor: wait; }
.work-grid { margin: 22px 0; }
.portfolio-work img, .portfolio-work video { display: block; width: 100%; max-height: 500px; object-fit: contain; background: var(--navy); }
.portfolio-work h3 { margin: 13px 0 5px; overflow-wrap: anywhere; }
.portfolio-work p { color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
@media (max-width: 700px) { .admin-grid, .work-grid { grid-template-columns: 1fr; } }

.menu-header { padding: 0; }
.menu-shell {
  position: relative;
  width: min(100% - 28px, 1080px);
  min-height: 60px;
  margin: auto;
}
.menu-brand {
  position: absolute;
  top: 11px;
  left: 0;
  display: block;
  width: clamp(146px, 30vw, 184px);
  aspect-ratio: 5.25;
  overflow: hidden;
}
.menu-brand img {
  display: block;
  width: 119%;
  max-width: none;
  height: auto;
  transform: translate(-8%, -73%);
}
.site-menu { padding-top: 12px; }
.site-menu summary {
  display: grid;
  place-items: center;
  width: 57px;
  min-height: 35px;
  margin: 0 0 12px auto;
  border: 1px solid #b87d35;
  border-radius: 999px;
  color: #e0ae6e;
  font-size: 13px;
  cursor: pointer;
  list-style: none;
}
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.site-menu .menu-close-label, .site-menu[open] .menu-open-label { display: none; }
.site-menu[open] .menu-close-label { display: inline; }
.site-menu nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  gap: 0;
  padding-bottom: 13px;
  text-align: left;
}
.site-menu nav a {
  padding: 12px 1px;
  border: 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.site-menu nav a:hover { color: var(--gold); }

.home-main { width: min(100% - 28px, 950px); }
.home-intro { padding: clamp(24px, 4vw, 44px) 0 42px; }
.home-identity { width: min(100%, 390px); margin: 0 auto clamp(30px, 5vw, 43px); text-align: center; }
.home-identity img { display: block; width: 100%; height: auto; }
.home-identity img, .menu-brand img { clip-path: inset(0 .08% 0 0); }
.home-identity p {
  position: relative;
  margin: -7.1% 0 0;
  font-family: 'Studio Slogan Serif', Batang, serif;
  letter-spacing: .43em;
  padding-left: .43em;
  font-size: clamp(14px, 3vw, 18px);
}
.home-copy { width: min(100%, 720px); margin: auto; }
.record-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px clamp(8px, 2.3vw, 16px);
  margin-bottom: clamp(24px, 4vw, 36px);
  color: #e3d6c2;
  font: 12px/1.5 ui-monospace, 'Courier New', monospace;
  letter-spacing: .025em;
  font-variant-numeric: tabular-nums;
}
.record-label { display: inline-flex; align-items: center; gap: 6px; color: #ff6d65; font-weight: 700; }
.record-dot { width: 6px; height: 6px; border-radius: 50%; background: #ef524a; animation: record-blink 1.35s ease-in-out infinite; }
@keyframes record-blink { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .record-dot { animation: none; } }
.home-copy h1 {
  margin: 0 0 21px;
  color: #f7efdf;
  font-family: 'Studio Slogan Serif', Batang, 'AppleMyungjo', serif;
  font-size: clamp(36px, 9vw, 73px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.065em;
}
.home-copy h1 span { color: #d5a05c; }
.home-description { color: #ded8cd; font-size: clamp(14px, 2.7vw, 17px); line-height: 1.8; max-width: 560px; }
.home-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.home-actions .button { padding: 12px 20px; background: #c18c4b; border-color: #c18c4b; }
.home-actions .home-outline { color: #e0ae6e; background: transparent; }
.home-actions .button:hover { filter: brightness(1.12); }

.portfolio-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  border: 0;
  background: var(--navy);
}

.album-list { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 22px; margin: 25px 0; }
.album-card { display: block; width: 100%; min-width: 0; border: 1px solid var(--line); background: var(--panel); }
.album-card:hover { border-color: var(--gold); }
.film-strip { padding: 17px 8px; background: #131313; position: relative; }
.film-strip::before, .film-strip::after {
  position: absolute;
  inset-inline: 8px;
  height: 6px;
  background: repeating-linear-gradient(90deg, #b9b9b9 0 10px, transparent 10px 22px);
  content: '';
}
.film-strip::before { top: 5px; }
.film-strip::after { bottom: 5px; }
.film-frames { width: 100%; min-width: 0; contain: inline-size; overflow: hidden; background: #252525; }
.film-track { display: flex; width: max-content; animation: film-slide 24s linear infinite; }
.film-run { display: flex; flex: none; gap: 5px; padding-right: 5px; }
.film-frames img { display: block; width: clamp(110px, 24vw, 230px); aspect-ratio: 4 / 3; object-fit: cover; }
@keyframes film-slide { to { transform: translateX(-50%); } }

.album-label { padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.album-label h2 { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.album-label > span { color: var(--gold); }
.album-detail { padding: 22px 0; max-width: 850px; margin: auto; }
.album-detail h2 { margin-top: 16px; font-size: 26px; }
.album-detail p { color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.album-detail figure { margin: 24px 0; }
.album-detail img { display: block; max-width: 100%; max-height: 86vh; width: auto; height: auto; margin: auto; }
.photo-order { padding-left: 25px; }
.photo-order li { margin: 8px 0; }
.photo-order img { width: 46px; height: 38px; object-fit: cover; vertical-align: middle; margin-right: 8px; }
.photo-order span { overflow-wrap: anywhere; margin-right: 6px; }
.photo-order button { margin: 3px 4px 3px 0; background: var(--navy); color: var(--ink); border: 1px solid var(--line); cursor: pointer; font-size: 12px; }

#works { border-top: 1px solid var(--line); scroll-margin-top: 18px; }
#works .portfolio-types { justify-content: flex-start; }
#works .portfolio-types a { min-width: 68px; text-align: center; }
#contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
#inquiry, #inquiry label { min-width: 0; }
#inquiry input, #inquiry select, #inquiry textarea { max-width: 100%; }
#inquiry input[type="date"] { appearance: none; -webkit-appearance: none; min-height: 42px; }
#inquiry input[type="date"]::-webkit-date-and-time-value { text-align: left; }
@media (max-width: 760px) {
  #contact { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 540px) {
  #inquiry { padding: 16px; }
  #inquiry .form-grid { grid-template-columns: minmax(0, 1fr); }
}

.studio-footer {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 38px 20px 42px;
  text-align: center;
}
.footer-social {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}
.studio-footer .footer-nav { flex-wrap: wrap; gap: 4px 22px; }
.studio-footer .footer-nav a { padding: 3px 0; }
.footer-name { margin: 0; color: var(--gold); font: 400 17px/1.5 Georgia, serif; letter-spacing: .1em; }
.footer-business { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px 15px; line-height: 1.8; }
.footer-business strong { color: var(--ink); font-weight: 500; }
@media (max-width: 420px) {
  .footer-business span:last-child { flex-basis: 100%; }
}
