/* ==========================================================================
   Total Art & Cultural Center — totalartcenter.com
   Core stylesheet. No build step, no dependencies.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Neutrals */
  --ink:        #14181f;
  --ink-2:      #2a3140;
  --slate:      #5b6472;
  --stone:      #8b94a3;
  --line:       #e4ded4;
  --line-soft:  #f0ebe3;
  --cream:      #fbf8f3;
  --cream-2:    #f5f0e7;
  --white:      #ffffff;

  /* Brand */
  --navy:       #1b2a4a;
  --navy-deep:  #111d35;
  --vermillion: #c8452f;   /* Minhwa red — art pillar */
  --jade:       #2e6b5e;   /* healthcare — CPhT pillar */
  --azure:      #2f5d8a;   /* computer pillar */
  --gold:       #c79a3c;

  /* Type */
  --display: "Cormorant Garamond", "Noto Serif KR", Georgia, serif;
  --sans:    "Inter", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Space + shape */
  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(20,24,31,.06), 0 2px 8px rgba(20,24,31,.04);
  --shadow:    0 4px 12px rgba(20,24,31,.07), 0 12px 32px rgba(20,24,31,.06);
  --shadow-lg: 0 8px 24px rgba(20,24,31,.10), 0 24px 64px rgba(20,24,31,.10);
  --maxw: 1200px;
  --gut: 24px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1,h2,h3,h4 { margin: 0 0 .5em; color: var(--ink); line-height: 1.18; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 780px; }
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
.grid { display: grid; gap: 28px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.center { text-align: center; }
.stack-sm > * + * { margin-top: 10px; }

/* ---------- 4. Type scale ---------- */
.display {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.1; }
.h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.14; }
.h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 600; letter-spacing: -0.005em; }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--slate); line-height: 1.62; }
.small { font-size: .93rem; }
.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--vermillion);
  margin-bottom: 14px;
}
.eyebrow.jade { color: var(--jade); }
.eyebrow.azure { color: var(--azure); }
.eyebrow.gold  { color: var(--gold); }
.eyebrow.light { color: var(--gold); }
.muted { color: var(--slate); }
.rule { width: 56px; height: 3px; background: var(--vermillion); border: 0; margin: 0 0 26px; border-radius: 2px; }
.rule.c { margin-inline: auto; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: .96rem; font-weight: 600; letter-spacing: .005em;
  transition: all .22s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--vermillion); color: #fff; box-shadow: 0 4px 14px rgba(200,69,47,.28); }
.btn-primary:hover { background: #b13a26; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(200,69,47,.34); }
.btn-jade { background: var(--jade); color: #fff; box-shadow: 0 4px 14px rgba(46,107,94,.28); }
.btn-jade:hover { background: #245549; transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: var(--white); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.32); color: #fff; }
.btn-light:hover { background: rgba(255,255,255,.20); transform: translateY(-2px); }
.btn-solid-light { background: #fff; color: var(--navy-deep); }
.btn-solid-light:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.btn .arw { transition: transform .22s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.c { justify-content: center; }

/* ---------- 6. Top utility bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,.82);
  font-size: .83rem;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar a { color: rgba(255,255,255,.86); }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; opacity: .75; flex: none; }

/* Language switch */
.lang { display: inline-flex; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; overflow: hidden; }
.lang button {
  background: transparent; border: 0; color: rgba(255,255,255,.72);
  padding: 4px 13px; font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  transition: all .18s var(--ease);
}
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--navy-deep); }
.lang button:hover:not([aria-pressed="true"]) { color: #fff; }

/* ---------- 7. Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(251,248,243,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { line-height: 1.12; }
.brand-name { font-family: var(--display); font-size: 1.22rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.brand-sub { font-size: .63rem; letter-spacing: .17em; text-transform: uppercase; color: var(--stone); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: 10px 15px; border-radius: var(--r-sm);
  font-size: .94rem; font-weight: 550; color: var(--ink-2);
  transition: all .18s var(--ease);
}
.nav-links > li > a:hover { color: var(--vermillion); background: var(--cream-2); }
.nav-links > li > a[aria-current="page"] { color: var(--vermillion); }
.nav-links > li > a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; background: var(--vermillion);
  border-radius: 2px; margin-top: 5px;
}
.has-sub > a::after { content: " ▾"; font-size: .7em; opacity: .55; }
.subnav {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 268px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .18s var(--ease);
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav a { display: block; padding: 11px 14px; border-radius: var(--r-sm); font-size: .92rem; }
.subnav a:hover { background: var(--cream-2); color: var(--vermillion); }
.subnav .sn-t { font-weight: 600; color: var(--ink); display: block; }
.subnav .sn-d { font-size: .8rem; color: var(--stone); display: block; margin-top: 1px; }

.nav-cta { flex: none; }
.burger {
  display: none; background: transparent; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); padding: 9px 11px; line-height: 0;
}
.burger svg { width: 20px; height: 20px; }

/* Mobile drawer */
.drawer {
  display: none; border-top: 1px solid var(--line); background: var(--cream);
  padding: 12px var(--gut) 26px;
}
.drawer.open { display: block; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line-soft); font-weight: 550; }
.drawer .sub a { padding-left: 20px; font-size: .92rem; color: var(--slate); font-weight: 450; }
.drawer .btn { margin-top: 18px; width: 100%; justify-content: center; }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 48%, #253a63 100%);
  color: #fff;
  padding: 104px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 80% 8%,  rgba(199,154,60,.20), transparent 62%),
    radial-gradient(760px 460px at 8% 92%,  rgba(200,69,47,.20),  transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .05; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at 62% 38%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 62% 38%, #000, transparent 72%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lede { color: rgba(255,255,255,.80); max-width: 56ch; }
.hero-media {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.14);
}
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }

/* Video background */
.hero-video-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--navy-deep); }
.hero-video-bg video { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.hero-video-bg::after {                     /* scrim keeps the headline legible */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(17,29,53,.90) 0%, rgba(17,29,53,.72) 45%, rgba(27,42,74,.55) 100%);
}
.hero.has-video { padding: 128px 0 118px; }
.hero.has-video .hero-grid { grid-template-columns: 1fr; }
.hero.has-video .lede { max-width: 60ch; }
.hero.has-video .display { text-shadow: 0 2px 30px rgba(0,0,0,.35); }

/* Data-saving and motion-sensitivity: fall back to the poster still. */
@media (max-width: 760px) {
  .hero-video-bg video { display: none; }
  .hero-video-bg { background: var(--navy-deep) url("../../images/hero-poster.jpg") center/cover no-repeat; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video-bg video { display: none; }
  .hero-video-bg { background: var(--navy-deep) url("../../images/hero-poster.jpg") center/cover no-repeat; }
}

/* Page hero for interior pages */
.pagehead {
  background: linear-gradient(150deg, var(--navy-deep), var(--navy) 70%, #24365c);
  color: #fff; padding: 74px 0 68px; position: relative; overflow: hidden;
}
.pagehead::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(720px 400px at 88% 0%, rgba(199,154,60,.20), transparent 64%);
}
.pagehead .wrap { position: relative; z-index: 2; }
.pagehead h1 { color: #fff; margin-bottom: 14px; }
.pagehead .lede { color: rgba(255,255,255,.80); max-width: 62ch; margin-bottom: 0; }
.crumbs { font-size: .82rem; color: rgba(255,255,255,.58); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .5; margin: 0 7px; }

/* ---------- 9. Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.trust-item { padding: 26px 18px; text-align: center; border-right: 1px solid var(--line-soft); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-family: var(--display); font-size: 1.65rem; color: var(--ink); line-height: 1.1; }
.trust-item span { display: block; font-size: .82rem; color: var(--stone); letter-spacing: .05em; text-transform: uppercase; font-weight: 600; margin-top: 5px; }

/* ---------- 10. Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-media { aspect-ratio: 16 / 10; background: var(--cream-2); position: relative; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--slate); font-size: .96rem; }
.card-foot { margin-top: auto; padding-top: 14px; }
.card-link { font-weight: 600; font-size: .92rem; color: var(--vermillion); display: inline-flex; align-items: center; gap: 7px; }
.card-link:hover { gap: 11px; }
.card.jade .card-link { color: var(--jade); }
.card.azure .card-link { color: var(--azure); }
.card-top-rule { height: 4px; background: var(--vermillion); }
.card.jade .card-top-rule { background: var(--jade); }
.card.azure .card-top-rule { background: var(--azure); }

/* Pillar tag */
.tag {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 999px; margin-bottom: 12px;
}
.tag.art  { background: rgba(200,69,47,.10);  color: var(--vermillion); }
.tag.cpht { background: rgba(46,107,94,.10);  color: var(--jade); }
.tag.comp { background: rgba(47,93,138,.10);  color: var(--azure); }

/* Feature list */
.feat { display: flex; gap: 16px; }
.feat-ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--cream-2); display: grid; place-items: center; color: var(--vermillion);
}
.feat-ico svg { width: 22px; height: 22px; }
.feat h3 { font-size: 1.04rem; margin-bottom: 5px; }
.feat p { font-size: .93rem; color: var(--slate); margin: 0; }

/* Checklist */
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 11px; color: var(--slate); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--jade) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/11px no-repeat;
}
.checks.red li::before { background-color: var(--vermillion); }

/* ---------- 11. Panels & bands ---------- */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; }
.panel-cream { background: var(--cream-2); border-color: transparent; }
.band-dark {
  background: linear-gradient(140deg, var(--navy-deep), var(--navy) 68%, #26375c);
  color: #fff; position: relative; overflow: hidden;
}
.band-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(680px 380px at 12% 100%, rgba(200,69,47,.22), transparent 62%);
}
.band-dark .wrap { position: relative; z-index: 2; }
.band-dark h2, .band-dark h3, .band-dark h4 { color: #fff; }
.band-dark p { color: rgba(255,255,255,.78); }
/* Lists on dark: --slate would fail contrast against navy. */
.band-dark .checks li,
.band-dark li,
.hero .checks li { color: rgba(255,255,255,.84); }
.band-dark .checks li::before { background-color: var(--gold); }
.band-dark .checks.red li::before { background-color: var(--vermillion); }
.band-dark .muted, .band-dark .small { color: rgba(255,255,255,.66); }
.band-dark a:not(.btn) { color: var(--gold); }
.band-dark a:not(.btn):hover { color: #e2bd68; }
.band-cream { background: var(--cream-2); }
.band-white { background: var(--white); }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); background: var(--cream-2); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* Stat row */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.stat { padding: 22px 4px; }
.stat b { display: block; font-family: var(--display); font-size: 2.5rem; line-height: 1; color: var(--gold); }
.stat span { font-size: .87rem; color: rgba(255,255,255,.72); }

/* Gallery strip */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure {
  margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3/4;
  background: #fff; border: 1px solid var(--line);
  padding: 14px; display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
/* contain, not cover — a painting must never be cropped to fit a tile */
.gallery img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.gallery figure:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery figure:hover img { transform: scale(1.03); }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 22px; }
.step { display: flex; gap: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; }
.step::before {
  counter-increment: s; content: counter(s);
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: .95rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 5px; }
.step p { margin: 0; color: var(--slate); font-size: .95rem; }

/* Table */
.tbl { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: .95rem; }
.tbl th, .tbl td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.tbl th { background: var(--cream-2); font-weight: 650; color: var(--ink); font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Testimonial */
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.quote p { font-family: var(--display); font-size: 1.22rem; line-height: 1.5; color: var(--ink); font-style: italic; }
.quote footer { font-size: .88rem; color: var(--stone); font-style: normal; }
.quote footer b { color: var(--ink-2); font-style: normal; display: block; font-size: .95rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 600; color: var(--ink); font-size: 1.03rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 300; color: var(--vermillion); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq .faq-a { padding: 0 40px 24px 0; color: var(--slate); }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* Notice */
.notice {
  border-left: 4px solid var(--gold); background: rgba(199,154,60,.08);
  padding: 18px 22px; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .95rem;
}
.notice p:last-child { margin-bottom: 0; }
.notice.jade { border-left-color: var(--jade); background: rgba(46,107,94,.07); }

/* ---------- 12. Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 620; color: var(--ink); letter-spacing: .01em; }
.field label .req { color: var(--vermillion); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .96rem; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fff; color: var(--ink); width: 100%;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,42,74,.10);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: .8rem; color: var(--stone); }
.form-note { font-size: .85rem; color: var(--stone); }
.form-status { display: none; margin-top: 16px; padding: 14px 18px; border-radius: var(--r-sm); font-size: .93rem; }
.form-status.show { display: block; }
.form-status.ok      { background: rgba(46,107,94,.10);  color: var(--jade);       border: 1px solid rgba(46,107,94,.24); }
.form-status.warn    { background: rgba(199,154,60,.12); color: #8a6a1f;           border: 1px solid rgba(199,154,60,.34); }
.form-status.pending { background: var(--cream-2);       color: var(--slate);      border: 1px solid var(--line); }
form button[type="submit"]:disabled { opacity: .6; cursor: progress; }

/* Honeypot — hidden from people, visible to bots that fill in every field. */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 13. Contact blocks ---------- */
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .ci { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--cream-2); display: grid; place-items: center; color: var(--navy); }
.contact-item .ci svg { width: 19px; height: 19px; }
.contact-item h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--stone); margin-bottom: 3px; }
.contact-item p { margin: 0; font-size: 1.02rem; color: var(--ink); font-weight: 550; }
.contact-item a:hover { color: var(--vermillion); }
.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.68); padding: 70px 0 0; font-size: .94rem; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 650; }
.site-footer a { color: rgba(255,255,255,.68); }
.site-footer a:hover { color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 52px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 10px; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.foot-brand .brand-name { color: #fff; }
.foot-brand .brand-sub { color: rgba(255,255,255,.45); }
.foot-badge {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 16px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 7px 15px;
  font-size: .78rem; color: rgba(255,255,255,.80); letter-spacing: .03em;
}
.foot-badge svg { width: 15px; height: 15px; color: var(--gold); }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.10); padding: 22px 0 30px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .84rem; color: rgba(255,255,255,.45);
}

/* ---------- 15. Reveal on scroll ---------- */
/* Progressive enhancement: content is visible by default. The hidden-then-reveal
   state is only applied once JS confirms IntersectionObserver is available, so
   nothing is ever invisible to a crawler, a printer, or a JS-disabled browser. */
.rv-on .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv-on .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv-on .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 16. Image placeholder (until real art is dropped in) ---------- */
.ph {
  width: 100%; height: 100%; position: relative;
  background:
    linear-gradient(135deg, rgba(27,42,74,.08), rgba(200,69,47,.08)),
    repeating-linear-gradient(45deg, var(--cream-2) 0 14px, var(--cream) 14px 28px);
  display: grid; place-items: center; text-align: center; padding: 24px;
  border: 1px dashed rgba(27,42,74,.28); border-radius: inherit;
}
.ph::before {
  content: "PHOTO NEEDED";
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  font-size: .62rem; font-weight: 700; letter-spacing: .16em;
  color: #fff; background: var(--vermillion);
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.ph code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .74rem; color: var(--ink-2); letter-spacing: .02em;
  background: rgba(255,255,255,.75); padding: 5px 9px; border-radius: 4px;
}

/* ---------- 17. Korean typography adjustments ---------- */
html[lang="ko"] body { font-size: 16.5px; letter-spacing: -0.01em; word-break: keep-all; }
html[lang="ko"] .display, html[lang="ko"] .h1, html[lang="ko"] .h2 { letter-spacing: -0.03em; font-weight: 600; }
html[lang="ko"] .eyebrow { letter-spacing: .08em; }
html[lang="ko"] .brand-sub { letter-spacing: .08em; }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { max-width: 560px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .split { gap: 40px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .g3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.rev .split-media { order: -1; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .trust .wrap { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .gallery { grid-template-columns: repeat(2,1fr); }
  section { padding: 72px 0; }
}
@media (max-width: 640px) {
  :root { --gut: 18px; }
  body { font-size: 16px; }
  .g2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .topbar-left span:nth-child(3) { display: none; }
  .panel { padding: 24px; }
  section { padding: 60px 0; }
  .hero { padding: 72px 0 68px; }
  .btn { padding: 13px 22px; }
}

/* ---------- 19. Print ---------- */
@media print {
  .topbar, .site-header, .drawer, .site-footer, .btn-row { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .hero, .pagehead, .band-dark { background: #fff !important; color: #000 !important; }
  .hero h1, .pagehead h1, .band-dark h2 { color: #000 !important; }
}
