/* ============================================================
   ABOUT TIME WEDDING — Design System v2
   Editorial minimalism · warm off-white × ink · italic-serif accents
   (ref. giacomovesprini.com — light, type-forward, gallery)
   ============================================================ */

/* Self-hosted Fraunces (variable) — vintage editorial serif, ref. giacomovesprini */
@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
/* Pretendard + Nanum Myeongjo loaded via <link> in HTML */

:root {
  /* Palette — warm near-white paper × near-black ink (ref. giacomovesprini) */
  --paper:    #F3F0E9;   /* base */
  --paper-2:  #FBF9F4;   /* raised */
  --white:    #FFFFFF;
  --ink:      #171310;   /* warm near-black */
  --ink-2:    #3B2A21;   /* logo brown */
  --muted:    #7E7266;
  --muted-2:  #A99E90;
  --line:     rgba(23,19,16,0.16);
  --line-soft:rgba(23,19,16,0.08);
  --accent:   #8A6A4B;   /* restrained bronze, used sparingly */

  --sans: 'Pretendard', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --serif:'Fraunces', 'Nanum Myeongjo', Georgia, serif;

  --container: 1360px;
  --narrow: 900px;
  --gutter: clamp(20px, 5.5vw, 88px);
  --section-y: clamp(84px, 12vw, 190px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--ink); color: var(--paper); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--narrow); }
.section { padding-block: var(--section-y); position: relative; }
.section--ink { background: var(--ink); color: var(--paper); }
.center { text-align: center; }
.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--muted); display: inline-block;
}
.it { font-family: var(--serif); font-style: normal; font-weight: 500; letter-spacing: 0; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -0.018em; color: var(--ink); }

.display {
  font-size: clamp(2.6rem, 8vw, 7rem);
  font-weight: 500; line-height: 0.98; letter-spacing: -0.022em;
}
.display .it { font-size: 1.02em; letter-spacing: -0.005em; }

.h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -0.02em; }
.h3 { font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 500; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.02rem, 1.35vw, 1.2rem); color: var(--muted); line-height: 1.85; letter-spacing: -0.01em; font-weight: 400; }
.section--ink .lead { color: rgba(244,241,235,0.66); }
.section--ink h2, .section--ink h3 { color: var(--paper); }

.section-head { margin-bottom: clamp(44px, 7vw, 88px); }
.section-head.center { max-width: 860px; margin-inline: auto; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head .lead { margin-top: 26px; max-width: 640px; }
.section-head.center .lead { margin-inline: auto; }

/* index number label (editorial) */
.idx { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--muted-2); font-weight: 600; }

/* ---------- Buttons / links ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 30px; background: var(--bg); color: var(--fg);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 999px; transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--solid:hover { --bg: var(--ink-2); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--lg { padding: 19px 40px; font-size: 0.85rem; }
.btn--block { display: flex; width: 100%; }
.section--ink .btn--solid { --bg: var(--paper); --fg: var(--ink); }
.section--ink .btn--solid:hover { --bg: var(--white); }
.section--ink .btn--ghost { --fg: var(--paper); box-shadow: inset 0 0 0 1px rgba(244,241,235,0.4); }
.section--ink .btn--ghost:hover { --bg: var(--paper); --fg: var(--ink); }

/* text-link CTA (INQUIRE style) */
.tlink {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  padding-bottom: 4px; position: relative;
}
.tlink::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(1); transform-origin: right; transition: transform 0.45s var(--ease); }
.tlink:hover::after { transform: scaleX(0); }
.tlink .arrow { transition: transform 0.4s var(--ease); }
.tlink:hover .arrow { transform: translateX(6px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; padding-block: 26px;
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s;
  border-bottom: 1px solid transparent; mix-blend-mode: normal;
}
.header.scrolled { background: rgba(244,241,235,0.86); backdrop-filter: blur(16px) saturate(1.2); padding-block: 15px; border-color: var(--line-soft); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-direction: column; align-items: center; line-height: 1; gap: 3px; color: var(--ink); }
.brand__arc { width: 66%; height: 10px; margin-bottom: 1px; overflow: visible; }
.brand__arc path { fill: none; stroke: currentColor; stroke-width: 1; opacity: 0.8; }
.brand__name { font-family: var(--serif); font-weight: 400; font-size: 1.42rem; letter-spacing: 0.12em; color: currentColor; }
.brand__sub  { font-size: 0.52rem; letter-spacing: 0.52em; color: currentColor; opacity: 0.7; padding-left: 0.52em; text-transform: uppercase; }

/* header over dark hero (homepage): light logo/nav until scrolled */
.has-dark-hero .header:not(.scrolled) .brand,
.has-dark-hero .header:not(.scrolled) .nav__links a { color: #fff; opacity: 1; }
.has-dark-hero .header:not(.scrolled) .nav__links a { opacity: 0.82; }
.has-dark-hero .header:not(.scrolled) .nav-toggle span { background: #fff; }
.has-dark-hero .header:not(.scrolled) .btn--solid { --bg: #fff; --fg: var(--ink); }
.nav__links { display: flex; align-items: center; gap: 40px; }
.nav__links a { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); opacity: 0.7; transition: opacity 0.3s; }
.nav__links a:hover { opacity: 1; }
.nav__cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; flex-direction: column; gap: 6px; width: 30px; height: 20px; justify-content: center; }
.nav-toggle span { height: 1.5px; background: var(--ink); transition: 0.35s var(--ease); }

.drawer { position: fixed; inset: 0; z-index: 99; background: var(--paper); padding: 120px var(--gutter) 40px; transform: translateX(100%); transition: transform 0.55s var(--ease); display: flex; flex-direction: column; gap: 2px; }
.drawer.open { transform: translateX(0); }
.drawer a { font-size: 1.9rem; font-weight: 600; letter-spacing: -0.03em; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.drawer a .it { font-size: 1.05em; }
.drawer .btn { margin-top: 30px; }

/* ---------- Marquee (editorial ticker) ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 40px; animation: slide 34s linear infinite; }
.marquee span { font-family: var(--serif); font-style: normal; font-size: 1.15rem; color: var(--muted); }
.marquee span::after { content: "✦"; margin-left: 40px; font-style: normal; color: var(--muted-2); font-size: 0.7rem; vertical-align: middle; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Hero (editorial light) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 120px; }
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(40px, 6vw, 90px); }
.hero__eyebrow { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.hero__eyebrow::before { content: ""; width: 46px; height: 1px; background: var(--ink); opacity: 0.5; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.9rem); font-weight: 500; line-height: 1.22; letter-spacing: -0.022em; }
/* keep it in check on very wide screens */
@media (min-width: 1500px) { .hero h1 { font-size: 3.9rem; } }
.hero h1 .it { display: inline; }
.hero__row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end; margin-top: 40px; }
.hero__lead { max-width: 460px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-self: start; align-items: center; }
.hero__figure { position: relative; margin-top: clamp(40px, 5vw, 70px); aspect-ratio: 16/7; overflow: hidden; }
.hero__figure img { width: 100%; height: 100%; object-fit: cover; }
.hero__figure figcaption { position: absolute; left: 20px; bottom: 16px; color: var(--white); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; text-shadow: 0 1px 12px rgba(0,0,0,0.5); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.scroll-cue::before { content: ""; width: 40px; height: 1px; background: var(--muted); }

/* ---------- Stats row ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: clamp(28px, 4vw, 52px) 0; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: none; }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.stat__num .unit { font-size: 0.4em; letter-spacing: 0; margin-left: 4px; color: var(--muted); }
.stat__label { margin-top: 14px; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }

/* ---------- Benefits (editorial numbered rows) ---------- */
.blist { border-top: 1px solid var(--line); }
.brow { display: grid; grid-template-columns: 80px 1fr 1.1fr auto; gap: 30px; align-items: baseline; padding: clamp(26px,3vw,42px) 0; border-bottom: 1px solid var(--line); transition: padding-left 0.5s var(--ease); }
.brow:hover { padding-left: 14px; }
.brow__idx { font-family: var(--serif); font-style: normal; font-size: 1.4rem; color: var(--muted-2); }
.brow__title { font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 600; letter-spacing: -0.03em; }
.brow__title .en { display: block; font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-top: 8px; font-weight: 600; }
.brow__desc { color: var(--muted); font-size: 0.96rem; }
.brow__tag { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); opacity: 0.5; white-space: nowrap; }

/* ---------- Gallery grid (fairs / regions) ---------- */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 26px) clamp(14px,1.4vw,20px); }
.gal--2 { grid-template-columns: repeat(2, 1fr); }
.gcard { display: block; position: relative; }
.gcard__media { position: relative; overflow: hidden; aspect-ratio: 1/1; background: var(--paper-2); }
.gcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 0.6s; }
.gcard:hover .gcard__media img { transform: scale(1.05); }
.gcard__status { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; background: var(--paper); color: var(--ink); padding: 6px 11px; border-radius: 2px; }
.gcard__status[data-live="1"] { background: var(--ink); color: var(--paper); }
.gcard__status[data-urgent="1"] { background: #A8443A; color: #fff; }
.gcard__over { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; padding: 18px; opacity: 0; background: linear-gradient(180deg, transparent 40%, rgba(20,15,11,0.62)); transition: opacity 0.5s var(--ease); }
.gcard:hover .gcard__over { opacity: 1; }
.gcard__over .tlink { color: var(--white); }
.gcard__cap { padding: 18px 2px 0; }
.gcard__title { font-size: clamp(1.05rem, 1.5vw, 1.28rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.gcard__meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.02em; }
.gcard__meta .dot { color: var(--muted-2); }
.gcard__badges { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: 0.68rem; letter-spacing: 0.04em; color: var(--ink-2); border: 1px solid var(--line); border-radius: 100px; padding: 4px 11px; background: var(--paper-2); }
.gcard__cta { margin-top: 16px; }

/* region card variant (taller, name overlay) */
.rgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px,1.4vw,18px); }
.rcard { position: relative; display: block; overflow: hidden; aspect-ratio: 3/4; }
.rcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.rcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,15,11,0.05) 30%, rgba(20,15,11,0.7)); transition: background 0.5s; }
.rcard:hover img { transform: scale(1.06); }
.rcard__b { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 18px; color: var(--white); }
.rcard__en { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.8; }
.rcard__ko { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }
.rcard__n { font-size: 0.72rem; opacity: 0.75; margin-top: 4px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px,3vw,50px); }
.step { border-top: 1px solid var(--ink); padding-top: 22px; }
.section--ink .step { border-color: rgba(244,241,235,0.4); }
.step__num { font-family: var(--serif); font-style: normal; font-size: 1.5rem; color: var(--muted); }
.section--ink .step__num { color: var(--muted-2); }
.step h3 { font-size: 1.2rem; margin: 16px 0 12px; }
.step p { font-size: 0.94rem; color: var(--muted); }

/* ---------- Checklist ---------- */
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; }
.check { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.check__i { font-family: var(--serif); font-style: normal; color: var(--muted-2); font-size: 1.1rem; line-height: 1.4; }
.check b { display: block; font-size: 1.02rem; font-weight: 600; margin-bottom: 3px; }
.check span { font-size: 0.9rem; color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline { border-top: 1px solid rgba(244,241,235,0.3); }
.tl { display: grid; grid-template-columns: 220px 1fr; gap: 30px; padding: clamp(24px,3vw,40px) 0; border-bottom: 1px solid rgba(244,241,235,0.14); transition: padding-left 0.5s var(--ease); }
.tl:hover { padding-left: 12px; }
.tl__when { font-family: var(--serif); font-style: normal; font-size: 1.5rem; color: var(--paper); }
.tl__body h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--paper); }
.tl__body p { font-size: 0.94rem; color: rgba(244,241,235,0.62); max-width: 560px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px,2.5vw,40px); }
.review { border-top: 1px solid var(--line); padding-top: 26px; }
.review__stars { letter-spacing: 4px; font-size: 0.8rem; color: var(--ink); margin-bottom: 20px; }
.review p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink); }
.review__by { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.review__by b { font-size: 0.88rem; font-weight: 600; }
.review__by span { font-size: 0.76rem; color: var(--muted); }
.review__by .sep { color: var(--muted-2); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left; padding: clamp(24px,2.6vw,34px) 2px; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -0.03em; }
.qa__q .plus { flex: 0 0 auto; width: 22px; height: 22px; position: relative; }
.qa__q .plus::before, .qa__q .plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink); transition: transform 0.4s var(--ease); }
.qa__q .plus::before { width: 16px; height: 1.5px; transform: translate(-50%,-50%); }
.qa__q .plus::after { width: 1.5px; height: 16px; transform: translate(-50%,-50%); }
.qa.open .plus::after { transform: translate(-50%,-50%) scaleY(0); }
.qa__a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.qa__a p { padding: 0 2px 30px; color: var(--muted); font-size: 1rem; max-width: 720px; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; z-index: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: rgba(20,15,11,0.6); }
.cta .container { position: relative; z-index: 2; }
.cta h2 { color: var(--white); }
.cta .lead { color: rgba(255,255,255,0.78); }
.cta__note { margin-top: 22px; font-size: 0.76rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.6); text-transform: uppercase; }

/* ---------- Legal ---------- */
.legal__box { font-size: 0.84rem; color: var(--muted); line-height: 1.9; border-top: 1px solid var(--line); padding-top: 28px; }
.legal__box b { color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(244,241,235,0.66); padding-block: clamp(60px,8vw,110px) 40px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 50px; padding-bottom: 46px; border-bottom: 1px solid rgba(244,241,235,0.14); }
.footer__brand .brand { align-items: flex-start; color: var(--paper); }
.footer__brand .brand__arc { width: 52%; }
.footer__brand .brand__name { font-size: 1.7rem; }
.footer__brand p { margin-top: 20px; font-size: 0.9rem; max-width: 340px; line-height: 1.8; }
.footer h4 { color: var(--paper); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 22px; }
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a { font-size: 0.9rem; opacity: 0.7; transition: opacity 0.3s; }
.footer__links a:hover { opacity: 1; }
.footer__regions { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__regions a { font-size: 0.78rem; letter-spacing: 0.02em; padding: 7px 14px; border: 1px solid rgba(244,241,235,0.18); border-radius: 100px; opacity: 0.8; transition: 0.3s; }
.footer__regions a:hover { opacity: 1; border-color: var(--paper); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 30px; font-size: 0.76rem; color: rgba(244,241,235,0.4); }

/* ---------- Scroll to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 26px; z-index: 95; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; line-height: 1; box-shadow: 0 12px 30px rgba(23,19,16,0.22); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.3s, visibility 0.4s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink-2); }
.to-top__arrow { font-size: 0.85rem; }
.to-top__label { font-size: 0.5rem; letter-spacing: 0.14em; font-weight: 700; }
@media (max-width: 820px) { .to-top { right: 16px; bottom: 84px; width: 44px; height: 44px; } }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(244,241,235,0.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line-soft); transform: translateY(120%); transition: transform 0.5s var(--ease); display: none; }
.sticky-cta.show { transform: translateY(0); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.07s; }
[data-reveal][data-delay="2"] { transition-delay: 0.14s; }
[data-reveal][data-delay="3"] { transition-delay: 0.21s; }
[data-reveal][data-delay="4"] { transition-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } .marquee__track { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Breadcrumb ---------- */
.crumb { padding-top: 130px; padding-bottom: 6px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.crumb a { opacity: 0.8; } .crumb a:hover { opacity: 1; }
.crumb li::after { content: "/"; margin-left: 10px; color: var(--line); }
.crumb li:last-child::after { content: ""; }

/* ---------- Region page hero (with venues) ---------- */
.rhero { padding-top: clamp(112px, 13vw, 150px); }
.rhero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; }
.rhero__sub { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: end; margin-top: 34px; }
.rhero__venues { font-size: 0.9rem; color: var(--muted); }
.rhero__venues b { color: var(--ink); font-weight: 600; }
.rhero__fig { margin-top: clamp(30px,4vw,54px); aspect-ratio: 21/9; overflow: hidden; }
.rhero__fig img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Full-bleed image hero (aspirational) ---------- */
.hero--img { justify-content: flex-end; color: var(--white); }
.hero--img::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--hero); background-size: cover; background-position: center 30%; }
.hero--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,15,11,0.34) 0%, rgba(20,15,11,0.24) 40%, rgba(20,15,11,0.78) 100%); }
.hero--img .eyebrow, .hero--img h1 { color: var(--white); }
.hero--img h1 { text-shadow: 0 2px 40px rgba(0,0,0,0.28); }
.hero--img .hero__eyebrow::before { background: var(--white); opacity: 0.7; }
.hero--img .hero__lead { color: rgba(255,255,255,0.86); }
.hero--img .scroll-cue { color: rgba(255,255,255,0.8); }
.hero--img .scroll-cue::before { background: rgba(255,255,255,0.8); }
.hero--img .btn--solid { --bg: var(--paper); --fg: var(--ink); }
.hero--img .btn--ghost { --fg: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5); }
.hero--img .btn--ghost:hover { --bg: var(--white); --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--white); }

/* ---------- Hero slideshow (swipe / auto) ---------- */
.hero--slides { position: relative; overflow: hidden; color: var(--white); }
.hero__track { position: absolute; inset: 0; z-index: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide { position: relative; flex: 0 0 100%; scroll-snap-align: center; background-size: cover; background-position: center 32%; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(20,15,11,0.34) 0%, rgba(20,15,11,0.22) 42%, rgba(20,15,11,0.72) 100%); }
.hero--slides .hero__inner { position: relative; z-index: 2; pointer-events: none; }
.hero--slides .hero__inner a, .hero--slides .hero__inner button { pointer-events: auto; }
.hero__dots { position: absolute; left: var(--gutter); bottom: 22px; z-index: 3; display: flex; gap: 10px; }
.hero__dot { width: 26px; height: 2px; background: rgba(255,255,255,0.4); border-radius: 2px; padding: 0; cursor: pointer; transition: background 0.4s; }
.hero__dot.on { background: #fff; }
.hero__count { position: absolute; right: var(--gutter); bottom: 18px; z-index: 3; font-size: 0.72rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.75); font-variant-numeric: tabular-nums; }
.hero--slides .eyebrow, .hero--slides h1 { color: var(--white); }
.hero--slides h1 { text-shadow: 0 2px 40px rgba(0,0,0,0.3); }
.hero--slides .hero__eyebrow::before { background: #fff; opacity: 0.7; }
.hero--slides .hero__lead { color: rgba(255,255,255,0.86); }
.hero--slides .scroll-cue { color: rgba(255,255,255,0.8); }
.hero--slides .scroll-cue::before { background: rgba(255,255,255,0.8); }
.hero--slides .btn--solid { --bg: var(--paper); --fg: var(--ink); }
.hero--slides .btn--ghost { --fg: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5); }
.hero--slides .btn--ghost:hover { --bg: var(--white); --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--white); }

/* ---------- Landing modal (박람회 신청 페이지 iframe) ---------- */
.lmodal { position: fixed; inset: 0; z-index: 300; display: none; }
.lmodal.open { display: block; }
.lmodal__scrim { position: absolute; inset: 0; background: rgba(20,15,11,0.62); backdrop-filter: blur(4px); }
.lmodal__panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(1080px, 94vw); height: min(94vh, 980px); background: #fff; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 40px 100px rgba(0,0,0,0.45); }
@media (max-width: 720px) { .lmodal__panel { width: calc(100vw - 16px); height: 94vh; } }
.lmodal__bar { display: flex; align-items: center; gap: 10px; padding: 11px 12px 11px 16px; border-bottom: 1px solid var(--line); background: var(--paper); flex: 0 0 auto; }
.lmodal__t { flex: 1 1 auto; min-width: 0; font-size: 0.86rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.01em; }
.lmodal__new { flex: 0 0 auto; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 100px; padding: 7px 12px; transition: 0.3s; }
.lmodal__new:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.lmodal__x { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font-size: 0.9rem; transition: 0.3s; }
.lmodal__x:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.lmodal__body { position: relative; flex: 1 1 auto; background: #fff; overflow: hidden; }
.lmodal__frame { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; }
.lmodal__hint { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 10px 14px; font-size: 0.74rem; color: var(--muted); text-align: center; background: linear-gradient(rgba(251,249,244,0), var(--paper-2) 40%); pointer-events: none; }
.lmodal__hint a { color: var(--ink-2); text-decoration: underline; pointer-events: auto; }

/* ---------- Parallax (fixed-image scroll) ---------- */
.parallax { position: relative; min-height: 96vh; display: flex; align-items: center; justify-content: flex-start; text-align: left; color: var(--white); overflow: hidden; clip-path: inset(0); }
/* PC·모바일 공통 진짜 '고정' 배경: clip-path로 자른 fixed 레이어(iOS 포함 동작) */
.parallax__bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; background-size: cover; background-position: center; }
.parallax__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,15,11,0.35), rgba(20,15,11,0.5)); }
.parallax .container { position: relative; z-index: 2; }
.parallax .eyebrow { color: rgba(255,255,255,0.75); }
.parallax h2 { color: var(--white); font-size: clamp(2.2rem, 6vw, 5.2rem); }
.parallax .lead { color: rgba(255,255,255,0.82); margin: 22px auto 0; max-width: 560px; }
/* magazine editorial block */
.parallax__mag { max-width: 620px; }
.parallax__eyebrow { color: rgba(255,255,255,0.72); }
.parallax__name { font-family: var(--serif); color: var(--white); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; margin: 22px 0 0; }
.parallax__text { color: rgba(255,255,255,0.85); font-size: clamp(1rem, 1.35vw, 1.16rem); line-height: 1.9; margin-top: 26px; max-width: 500px; }
.parallax__sign { margin-top: 26px; font-family: var(--serif); font-size: 1.5rem; color: rgba(255,255,255,0.9); }

/* ---------- Gallery wall (framed / 액자) ---------- */
.wall { columns: 3; column-gap: clamp(16px, 2vw, 30px); }
.wall .frame { break-inside: avoid; margin: 0 0 clamp(16px, 2vw, 30px); background: var(--white); padding: clamp(8px, 0.8vw, 13px); border: 1px solid var(--line-soft); box-shadow: 0 14px 36px rgba(23,19,16,0.10); transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease); }
.wall .frame:hover { transform: translateY(-5px); box-shadow: 0 26px 60px rgba(23,19,16,0.18); }
.wall .frame img { width: 100%; display: block; }
.wall .frame figcaption { text-align: center; font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); padding: 13px 4px 5px; }
@media (max-width: 900px) { .wall { columns: 2; } }
@media (max-width: 520px) { .wall { columns: 2; column-gap: 12px; } .wall .frame { margin-bottom: 12px; padding: 6px; } .wall .frame figcaption { display: none; } }

/* editorial text tiles inside the wall */
.i { font-style: italic; }
.wall .note { break-inside: avoid; margin: 0 0 clamp(16px, 2vw, 30px); padding: clamp(10px, 1.2vw, 22px) clamp(6px,0.6vw,10px) clamp(18px,2vw,30px); display: inline-block; width: 100%; }
.wall .note__k { font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted-2); }
.wall .note h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.8vw, 2.15rem); line-height: 1.18; letter-spacing: -0.02em; margin-top: 12px; }
.wall .note p { color: var(--muted); font-size: 0.9rem; line-height: 1.8; margin-top: 14px; }
.wall .note .rule-sm { width: 34px; height: 1px; background: var(--line); margin-top: 16px; }

/* section heading with English on top, Korean subtitle */
.head-en { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -0.02em; line-height: 1.1; }
.head-en .i { font-weight: 500; }
.head-ko { display: block; margin-top: 14px; font-family: var(--sans); font-size: clamp(0.95rem, 1.3vw, 1.1rem); font-weight: 500; letter-spacing: 0.01em; color: var(--muted); }

/* editorial split band */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 6vw, 100px); }
.split__media { aspect-ratio: 4/5; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body .eyebrow { margin-bottom: 22px; }
.split__body h2 { margin-bottom: 24px; }
.split--rev .split__media { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }

/* editorial marquee of images (aura gallery) */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px,1.4vw,18px); }
.mosaic figure { overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.m-a { grid-column: span 5; aspect-ratio: 4/5; }
.m-b { grid-column: span 7; aspect-ratio: 3/2; }
.m-c { grid-column: span 7; aspect-ratio: 3/2; }
.m-d { grid-column: span 5; aspect-ratio: 4/5; }
@media (max-width: 720px) { .m-a,.m-b,.m-c,.m-d { grid-column: span 12; } }

/* ---------- Modal (apply funnel) ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal__scrim { position: absolute; inset: 0; background: rgba(20,15,11,0.55); backdrop-filter: blur(5px); opacity: 0; transition: opacity 0.4s var(--ease); }
.modal.open .modal__scrim { opacity: 1; }
.modal__panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -46%); width: min(660px, calc(100vw - 28px)); max-height: min(88vh, 800px); background: var(--paper); border-radius: 6px; display: flex; flex-direction: column; overflow: hidden; opacity: 0; transition: opacity 0.45s var(--ease), transform 0.5s var(--ease); box-shadow: 0 50px 110px rgba(0,0,0,0.4); }
.modal.open .modal__panel { opacity: 1; transform: translate(-50%, -50%); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px clamp(20px,3vw,30px); border-bottom: 1px solid var(--line); }
.modal__step { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.modal__title { font-family: var(--serif); font-size: clamp(1.3rem,3vw,1.7rem); font-weight: 500; letter-spacing: -0.01em; }
.modal__title .it { font-style: normal; }
.modal__close { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); transition: 0.3s; }
.modal__close:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.modal__body { padding: clamp(20px,3vw,28px); overflow-y: auto; }
.modal__back { display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; transition: color 0.3s; }
.modal__back:hover { color: var(--ink); }

.mregions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mregion { padding: 18px 10px; border: 1px solid var(--line); border-radius: 4px; text-align: center; transition: 0.3s var(--ease); }
.mregion:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.mregion__en { font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); display: block; }
.mregion:hover .mregion__en { color: rgba(255,255,255,0.7); }
.mregion__ko { font-size: 1.08rem; font-weight: 600; margin-top: 5px; transition: color 0.3s; }
.mregion:hover .mregion__ko { color: var(--paper); }

.mfairs { display: flex; flex-direction: column; gap: 12px; }
.mfair { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 5px; transition: 0.3s var(--ease); }
.mfair:hover { border-color: var(--ink); background: var(--paper-2); }
.mfair__thumb { width: 66px; height: 66px; flex: 0 0 auto; object-fit: cover; border-radius: 4px; background: var(--paper-2); }
.mfair__info { flex: 1 1 auto; min-width: 0; }
.mfair__badge { display: inline-block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 100px; background: var(--paper-2); color: var(--muted); margin-bottom: 6px; }
.mfair__badge[data-live="1"] { background: var(--ink); color: var(--paper); }
.mfair__badge[data-urgent="1"] { background: #A8443A; color: #fff; }
.mfair__t { font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em; }
.mfair__m { font-size: 0.8rem; color: var(--muted); margin-top: 3px; }
.mfair__go { flex: 0 0 auto; padding: 11px 18px; font-size: 0.72rem; }
.mempty { text-align: center; color: var(--muted); padding: 40px 10px; font-size: 0.94rem; }
@media (max-width: 520px) {
  .mregions { grid-template-columns: repeat(2, 1fr); }
  .mfair__go span.txt { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) { .gal { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1100px) {
  .gal { grid-template-columns: repeat(3, 1fr); }
  .rgrid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero__row { grid-template-columns: 1fr; gap: 26px; }
  .brow { grid-template-columns: 40px 1fr; gap: 8px 18px; }
  .brow__desc { grid-column: 2; }
  .brow__tag { display: none; }
  .steps { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .rhero__sub { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 1fr; gap: 8px; }
  .sticky-cta { display: block; }
}
@media (max-width: 560px) {
  .gal, .gal--2 { grid-template-columns: 1fr 1fr; }
  .rgrid { grid-template-columns: repeat(2, 1fr); }
  .gcard__badges { display: none; }
}

/* ============ 마감임박 플로팅 FAB (다이아몬드) ============ */
.urgent-fab { position: fixed; right: 22px; bottom: 84px; z-index: 96; display: flex; align-items: center; gap: 10px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s; }
.urgent-fab.in { opacity: 1; visibility: visible; transform: none; }
.urgent-fab__btn {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%;
  background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink);
  display: grid; place-items: center; cursor: pointer; position: relative;
  box-shadow: 0 12px 30px rgba(23,19,16,0.20);
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.urgent-fab__btn svg { width: 23px; height: 23px; display: block; position: relative; z-index: 1; }
/* 주목 유도 펄스 링 (버튼색 테두리) */
.urgent-fab__btn::before {
  content: ""; position: absolute; inset: -1.5px; border-radius: 50%;
  border: 1.5px solid var(--ink); animation: fabpulse 2.4s var(--ease) infinite;
}
@keyframes fabpulse {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.55); opacity: 0; }
  100% { opacity: 0; }
}
.urgent-fab:hover .urgent-fab__btn { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.urgent-fab__label {
  display: flex; align-items: center; gap: 9px; max-width: 0; overflow: hidden; opacity: 0;
  padding: 0; border: 0; background: var(--paper); color: var(--ink); border-radius: 999px;
  white-space: nowrap; cursor: pointer; font-family: inherit; box-shadow: 0 12px 30px rgba(23,19,16,0.16);
  transition: max-width 0.5s var(--ease), opacity 0.4s var(--ease), padding 0.5s var(--ease);
}
.urgent-fab.in:hover .urgent-fab__label,
.urgent-fab.in:focus-within .urgent-fab__label,
.urgent-fab.peek .urgent-fab__label { max-width: 360px; opacity: 1; padding: 11px 17px; border: 1px solid var(--line); }
.urgent-fab__tag { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.06em; color: #fff; background: #A8443A; padding: 4px 9px; border-radius: 999px; }
.urgent-fab__name { font-size: 0.73rem; font-weight: 700; letter-spacing: 0.09em; }
.urgent-fab__go { font-size: 0.71rem; font-weight: 600; color: var(--ink-2); }
@media (max-width: 820px) { .urgent-fab { right: 16px; bottom: 138px; } .urgent-fab__btn { width: 44px; height: 44px; } }
@media (max-width: 520px) { .urgent-fab__name { display: none; } }
@media (prefers-reduced-motion: reduce) { .urgent-fab__btn::before { animation: none; } }

/* 마감임박 모달 그룹(지역별) */
.umodal__lead { font-size: 0.82rem; color: var(--ink-2); margin: 0 0 18px; line-height: 1.55; }
.ugroup { margin-bottom: 22px; }
.ugroup:last-child { margin-bottom: 0; }
.ugroup__h { display: flex; align-items: baseline; gap: 10px; padding-bottom: 9px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.ugroup__ko { font-family: var(--serif); font-size: 1.12rem; color: var(--ink); }
.ugroup__en { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ugroup__n { margin-left: auto; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; color: #A8443A; }

/* ============ 모바일 메인 히어로: 축소 · 좌하단 배치(배경 노출) ============ */
@media (max-width: 600px) {
  .hero--slides, .hero--img { min-height: 100svh; }
  .hero--slides .hero__inner, .hero--img .hero__inner { padding-bottom: 22px; }
  .hero--slides .hero__eyebrow, .hero--img .hero__eyebrow { margin-bottom: 12px; gap: 9px; }
  .hero--slides .hero__eyebrow::before, .hero--img .hero__eyebrow::before { width: 26px; }
  .hero--slides .hero__eyebrow .eyebrow, .hero--img .hero__eyebrow .eyebrow { font-size: 0.55rem; letter-spacing: 0.15em; }
  .hero--slides h1, .hero--img h1 { font-size: 1.55rem; line-height: 1.3; letter-spacing: -0.01em; }
  .hero--slides .hero__row, .hero--img .hero__row { margin-top: 15px; gap: 13px; }
  .hero--slides .hero__lead, .hero--img .hero__lead { font-size: 0.8rem; line-height: 1.5; max-width: 17rem; }
  .hero--slides .hero__actions .btn, .hero--img .hero__actions .btn { padding: 11px 22px; }  /* 박스만 축소, 글씨 크기 유지 */
  .hero--slides .hero__inner > div:last-child, .hero--img .hero__inner > div:last-child { margin-top: 18px !important; }
  .hero--slides .scroll-cue, .hero--img .scroll-cue { font-size: 0.6rem; }
}
