/* ==========================================================
   Nunnu — Korean Snow · San Miguel
   Brand orange #C1440E, taken from the logo.
   ========================================================== */

:root {
  --orange:      #c1440e;
  --orange-deep: #96330a;
  --orange-lit:  #e0602a;
  --ember:       #f6ddd0;
  --cream:       #fdf0e8;
  --paper:       #fffaf6;
  --ink:         #1a1210;
  --ink-soft:    #6b564e;
  --line:        #efe0d8;
  --snow:        #ffffff;

  --shell: 74rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --measure: 36rem;

  --ease: cubic-bezier(.22,1,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, .display {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
}

.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; padding-block: clamp(4rem, 10vw, 8rem); }

/* ---------- HEADER ---------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.stuck {
  background: rgba(255, 252, 250, .82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
}
.site-header .shell {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 5.6rem;
}
.brand { display: block; line-height: 0; }
.brand img {
  /* the lockup carries the KOREAN SNOW - SV subline, so it needs real height
     to read as a logo rather than a favicon sitting in the corner */
  height: clamp(2.95rem, 5vw, 3.35rem); width: auto;
  transition: transform .4s var(--ease), height .35s var(--ease);
}
.brand:hover img { transform: scale(1.04); }

.nav { display: flex; align-items: center; gap: clamp(.9rem, 2.5vw, 2rem); }
.nav a {
  position: relative; text-decoration: none; font-size: .9375rem; font-weight: 500;
  color: var(--ink-soft); padding-block: .3rem; transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover { color: var(--orange); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--ink); }

.lang { display: flex; gap: .45rem; align-items: center; font-size: .75rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.lang a { text-decoration: none; transition: color .2s; }
.lang a:hover { color: var(--orange); }
.lang .on { color: var(--orange); }
.lang .sep { opacity: .35; font-weight: 400; }

/* ---------- HERO ------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3rem, 9vw, 6.5rem) clamp(4rem, 10vw, 7rem);
  background: linear-gradient(178deg, var(--cream) 0%, var(--paper) 62%);
}
.snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero .shell { position: relative; z-index: 2; }

/* giant ghost mark rotating behind the hero */
.ghost-mark {
  position: absolute; z-index: 0; pointer-events: none;
  right: -12%; top: 50%; width: min(60vw, 620px);
  translate: 0 -50%;
  opacity: .07;
  animation: spin 90s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 600; color: var(--orange);
  padding: .45rem .9rem .45rem .5rem; border-radius: 999px;
  background: rgba(193,68,14,.07); border: 1px solid rgba(193,68,14,.16);
  margin-bottom: 1.75rem;
}
.eyebrow .dot {
  width: .45rem; height: .45rem; border-radius: 50%; background: var(--orange);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1) } 50% { opacity:.35; transform:scale(.7) } }

.hero h1 { font-size: clamp(3.2rem, 12vw, 8.5rem); letter-spacing: -0.05em; }
.accent { color: var(--orange); font-style: normal; }
.hero .lede {
  font-size: clamp(1.1rem, 2vw, 1.375rem); color: var(--ink-soft);
  max-width: var(--measure); margin-top: 1.75rem;
}

/* word-by-word reveal */
.reveal-word {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  /* the mask must clip vertically only: pad the sides so round glyph
     terminals (the e in Nieve) are not shaved off */
  padding-inline: .09em; margin-inline: -.09em;
}
.reveal-word > span {
  display: inline-block;
  transform: translateY(105%);
  animation: word-up .95s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes word-up { to { transform: translateY(0); } }

/* ---------- BUTTONS --------------------------------------- */
.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.5rem; }
.btn {
  --bg: var(--orange); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: .55rem;
  text-decoration: none; font-size: .9375rem; font-weight: 500;
  padding: .95rem 1.8rem; border-radius: 999px; border: 1px solid var(--bg);
  background: var(--bg); color: var(--fg); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--orange-deep); transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 12px 28px -12px rgba(193,68,14,.6); }
.btn .arrow { transition: transform .35s var(--ease); position: relative; z-index: 1; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: #fff; border-color: var(--ink); box-shadow: 0 12px 28px -14px rgba(26,18,16,.5); }

/* ---------- MARQUEE --------------------------------------- */
.marquee {
  background: var(--orange); color: #fff; overflow: hidden;
  padding-block: .9rem; border-block: 1px solid var(--orange-deep);
}
.marquee-track { display: flex; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 1.4rem; padding-inline: .7rem;
  font-family: "Outfit", sans-serif; font-size: .95rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.marquee-track img { height: .8rem; width: auto; opacity: .85; }

/* ---------- SECTION HEADS --------------------------------- */
.section-head { max-width: var(--measure); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.kicker {
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 600; color: var(--orange); margin: 0 0 1rem;
}
.section-head h2 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
.section-head p { color: var(--ink-soft); margin-top: 1.1rem; }

/* ---------- REVEAL ON SCROLL ------------------------------ */
.r { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.r.in { opacity: 1; transform: none; }
.r-1 { transition-delay: .08s } .r-2 { transition-delay: .16s } .r-3 { transition-delay: .24s }
.r-4 { transition-delay: .32s } .r-5 { transition-delay: .4s }

/* ---------- CARDS ----------------------------------------- */
.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }

.card {
  position: relative; padding: clamp(1.6rem, 3vw, 2.2rem); border-radius: 1.4rem;
  background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.card::after {
  content: ""; position: absolute; inset: auto auto -40% -20%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(193,68,14,.14), transparent 68%);
  opacity: 0; transition: opacity .55s var(--ease); pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(90,40,15,.45); border-color: rgba(193,68,14,.3); }
.card:hover::after { opacity: 1; }
.card .ico { width: 2.4rem; margin-bottom: 1.4rem; transition: transform .7s var(--ease); }
.card:hover .ico { transform: rotate(180deg); }
.card h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.card p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* image placeholder */
.ph {
  position: relative; border-radius: 1.4rem; overflow: hidden;
  aspect-ratio: 4/3; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--ember), #f7ddd0 55%, #efc9b7);
  color: var(--orange-deep); font-size: .7rem; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 600;
}
.ph-tall { aspect-ratio: 3/4; }
.ph-wide { aspect-ratio: 16/8; }

/* ---------- MENU ------------------------------------------ */
.menu-group { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.menu-group > h3 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem); color: var(--orange);
  padding-bottom: .9rem; border-bottom: 2px solid var(--ember); margin-bottom: .5rem;
}
.menu-item {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1.05rem .9rem; border-radius: .8rem; margin-inline: -.9rem;
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.menu-item:hover { background: var(--cream); transform: translateX(5px); }
.menu-item .name { font-weight: 600; font-family: "Outfit", sans-serif; font-size: 1.12rem; letter-spacing: -.01em; }
.menu-item .ko { color: var(--orange); font-weight: 500; margin-left: .45rem; font-size: .95rem; }
.menu-item .desc { display: block; font-size: .875rem; color: var(--ink-soft); font-weight: 400; margin-top: .15rem; font-family: "Inter", sans-serif; letter-spacing: 0; }
.menu-item .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-.3rem); min-width: 1.5rem; }
.menu-item .price { font-variant-numeric: tabular-nums; font-weight: 600; font-family: "Outfit", sans-serif; }

/* ---------- PANELS ---------------------------------------- */
.panel { background: var(--cream); }
.panel-dark {
  background: var(--orange); color: #fff; overflow: hidden; position: relative;
}
.panel-dark .kicker { color: rgba(255,255,255,.75); }
.panel-dark p { color: rgba(255,255,255,.86); }
.panel-dark .btn { --bg: #fff; --fg: var(--orange); border-color: #fff; }
.panel-dark .btn::before { background: var(--ink); }
.panel-dark .btn:hover { color: #fff; }
.panel-dark .ghost-mark { opacity: .1; right: auto; left: -10%; }

/* ---------- DETAIL LISTS ---------------------------------- */
.dl { display: grid; gap: 1.6rem; margin: 0; }
.dl dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: .4rem; }
.dl dd { margin: 0; }
.dl dd a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; transition: color .25s; }
.dl dd a:hover { color: var(--orange); }

.hours-row { display: flex; justify-content: space-between; gap: 2rem; padding-block: .55rem; border-bottom: 1px solid var(--line); font-size: .96rem; }
.hours-row:last-child { border-bottom: 0; }
.hours-row .d { color: var(--ink-soft); }
.hours-row.today { color: var(--orange); font-weight: 600; }
.hours-row.today .d { color: var(--orange); }
.hours-row.today .d::before { content: "\25CF"; font-size: .5em; vertical-align: middle; margin-right: .55em; }
.panel-dark .hours-row { color: rgba(255,255,255,.9); }
.panel-dark .hours-row .d { color: rgba(255,255,255,.62); }
.panel-dark .hours-row.today,
.panel-dark .hours-row.today .d { color: #fff; font-weight: 600; }

/* ---------- FORM ------------------------------------------ */
.form { display: grid; gap: 1.15rem; }
.form label { display: grid; gap: .4rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.form input, .form textarea {
  font: inherit; font-size: .96rem; padding: .85rem 1rem; letter-spacing: 0; text-transform: none;
  border: 1px solid var(--line); border-radius: .7rem; background: #fff; color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
.form input:focus, .form textarea:focus {
  outline: 0; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(193,68,14,.12);
}
.form textarea { min-height: 8.5rem; resize: vertical; }
.form button { justify-self: start; cursor: pointer; font-family: inherit; margin-top: .3rem; }

/* ---------- FOOTER ---------------------------------------- */
.site-footer { background: var(--ink); color: #fff; padding-block: clamp(3.5rem, 7vw, 5rem) 2.5rem; }
.site-footer .cols { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr repeat(auto-fit, minmax(9rem, 1fr)); }
.site-footer img.wm { height: 2rem; width: auto; margin-bottom: 1.1rem; }
.site-footer h4 { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-lit); margin: 0 0 1rem; font-weight: 600; }
.site-footer p, .site-footer li { color: rgba(255,255,255,.6); font-size: .93rem; }
.site-footer a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.colophon {
  margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  color: rgba(255,255,255,.4); font-size: .8rem;
}

/* ---------- MISC ------------------------------------------ */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; position: fixed; background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: .5rem; z-index: 100; }
::selection { background: var(--orange); color: #fff; }

/* scroll progress bar */
#progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 80;
  background: var(--orange); transform-origin: 0 50%; transform: scaleX(0);
}

@media (max-width: 46rem) {
  .site-header .shell { flex-wrap: wrap; min-height: 0; padding-block: .9rem; gap: .8rem; }
  .nav { order: 3; width: 100%; gap: 1.3rem; padding-top: .8rem; border-top: 1px solid var(--line); overflow-x: auto; }
  .nav a { white-space: nowrap; }
  .ghost-mark { opacity: .05; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .r { opacity: 1; transform: none; }
  .reveal-word > span { transform: none; }
  .snow { display: none; }
}


/* ---------- PHOTOS ---------------------------------------- */
.figure { margin: 0; }
.figure .frame {
  position: relative; overflow: hidden; border-radius: 1.4rem;
  background: linear-gradient(140deg, var(--ember), #f2cdb8 55%, #e8b79c);
  display: grid; place-items: center;
  color: var(--orange-deep); font-size: .7rem; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 600;
}
.figure .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.figure figcaption {
  margin-top: .9rem; font-size: .8125rem; color: var(--ink-soft);
}
.figure figcaption b { font-weight: 500; color: var(--ink); }
.ratio-3x4 { aspect-ratio: 3/4; }
.ratio-4x5 { aspect-ratio: 4/5; }
.ratio-1x1 { aspect-ratio: 1/1; }
.ratio-16x9 { aspect-ratio: 16/9; }
.ratio-21x9 { aspect-ratio: 21/9; }
.fullbleed { width: 100vw; margin-left: 50%; translate: -50% 0; }
.fullbleed .frame { border-radius: 0; }
.panel-dark .figure .frame { background: rgba(0,0,0,.15); color: rgba(255,255,255,.5); }
.panel-dark .figure figcaption,
.panel-dark .figure figcaption b { color: rgba(255,255,255,.75); }

/* ---------- STRIP (orange marquee) ------------------------ */
.strip { background: var(--orange); color: #fff; overflow: hidden;
  padding-block: .95rem; border-block: 1px solid var(--orange-deep); }
.strip-track { display: flex; width: max-content; animation: slide 42s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-track span {
  display: inline-flex; align-items: center; gap: 1.4rem; padding-inline: .8rem;
  font-family: "Outfit", sans-serif; font-size: .9rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.strip-track img { height: .8rem; width: auto; opacity: .85; filter: brightness(0) invert(1); }

/* ---------- MENU PREVIEW ---------------------------------- */
.preview-item {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .95rem .9rem; margin-inline: -.9rem; border-radius: .7rem;
  border-bottom: 1px solid var(--line); transition: background .35s var(--ease);
}
.preview-item:hover { background: var(--cream); }
.panel-dark .preview-item { border-color: rgba(255,255,255,.18); }
.panel-dark .preview-item:hover { background: rgba(255,255,255,.08); }
.preview-item .name { font-family: "Outfit", sans-serif; font-weight: 600; }
.preview-item .ko { color: var(--orange); font-size: .875rem; margin-left: .45rem; }
.panel-dark .preview-item .ko { color: rgba(255,255,255,.75); }
.preview-item .dots { flex: 1; }
.preview-item .price { font-variant-numeric: tabular-nums; font-weight: 600; font-family: "Outfit", sans-serif; }

/* ---------- link-style button ----------------------------- */
button.link, a.link {
  display: inline-flex; align-items: center; gap: .55rem; text-decoration: none;
  font-size: .9375rem; font-weight: 500; color: var(--ink); cursor: pointer;
  background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: 0 0 .4rem; font-family: inherit; transition: color .3s, border-color .3s, gap .3s var(--ease);
}
button.link:hover, a.link:hover { color: var(--orange); border-bottom-color: var(--orange); gap: .9rem; }
.panel-dark button.link, .panel-dark a.link { color: #fff; border-bottom-color: rgba(255,255,255,.35); }
.panel-dark button.link:hover, .panel-dark a.link:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- MAPS DIALOG ----------------------------------- */
.mapdlg { border: 0; padding: 0; background: transparent; max-width: 30rem;
  width: calc(100% - 2.5rem); color: var(--ink); }
.mapdlg::backdrop { background: rgba(26,18,16,.6); backdrop-filter: blur(4px); }
.mapdlg[open] .mapdlg-in { animation: dlg-in .45s var(--ease) both; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.mapdlg-in { position: relative; background: var(--paper); border-radius: 1.4rem;
  padding: clamp(1.75rem, 5vw, 2.5rem); box-shadow: 0 40px 80px -30px rgba(60,25,10,.55); }
.mapdlg h2 { font-size: clamp(1.35rem, 4vw, 1.75rem); }
.mapdlg .sub { color: var(--ink-soft); font-size: .9rem; margin: .6rem 0 1.6rem; }
.mapopts { display: grid; border-top: 1px solid var(--line); }
.mapopt { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem .25rem; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: padding .35s var(--ease), color .3s, background .3s; border-radius: .5rem; }
.mapopt:hover { padding-inline: .8rem .25rem; color: var(--orange); background: var(--cream); }
.mo-name { font-family: "Outfit", sans-serif; font-size: 1.0625rem; font-weight: 500; }
.mo-go { color: var(--orange); transition: transform .35s var(--ease); }
.mapopt:hover .mo-go { transform: translateX(4px); }
.mapdlg .coords { margin: 1.4rem 0 0; font-size: .75rem; color: var(--ink-soft);
  font-variant-numeric: tabular-nums; }
.mapclose { position: absolute; top: .9rem; right: 1rem; width: 2.2rem; height: 2.2rem;
  border: 0; background: none; color: var(--ink-soft); font-size: 1.5rem; line-height: 1;
  cursor: pointer; border-radius: 50%; transition: background .3s, color .3s; }
.mapclose:hover { background: var(--cream); color: var(--ink); }


/* ---------- PHOTO PANEL (matches the shot's own backdrop) -- */
.panel-photo { background: #c03805; color: #fff; overflow: hidden; position: relative; }
.panel-photo h2, .panel-photo h3 { color: #fff; }
.panel-photo p { color: rgba(255,255,255,.88); }
.panel-photo .kicker { color: rgba(255,255,255,.72); }
.panel-photo .ghost-mark { opacity: .09; }
.panel-photo a.link, .panel-photo button.link {
  color: #fff; border-bottom-color: rgba(255,255,255,.4);
}
.panel-photo a.link:hover, .panel-photo button.link:hover { border-bottom-color: #fff; }
.panel-photo .btn { --bg:#fff; background:#fff; color:#c03805; border-color:#fff; }
.panel-photo .btn:hover { background: var(--ink); border-color: var(--ink); color:#fff; }

/* uncropped image: let it sit on the panel with no frame or crop */
.figure.bare .frame { background: none; border-radius: 0; aspect-ratio: auto; overflow: visible; }
.figure.bare .frame img {
  width: 100%; height: auto; max-height: min(78vh, 640px);
  object-fit: contain; margin-inline: auto;
  /* no frame, no shadow: feather all four edges so the shot dissolves
     into the panel instead of showing a rectangle */
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0, #000 3.5%, #000 96.5%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right,  transparent 0, #000 3.5%, #000 96.5%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
  mask-composite: intersect;
}
.figure.bare figcaption { color: rgba(255,255,255,.7); margin-top: 1.1rem; }
.figure.bare figcaption b { color: rgba(255,255,255,.9); }


/* ---------- SNOW IN ANY SECTION --------------------------- */
section, .hero { position: relative; }
.snow {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.hero > .shell, section > .shell { position: relative; z-index: 2; }
.panel, .panel-dark, .panel-photo { overflow: hidden; }


/* ---------- INTRO ----------------------------------------- */
.intro {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  overflow: hidden; cursor: pointer;
}
.intro-bg { position: absolute; inset: 0; background: var(--orange); }
.intro-stage { position: relative; transform-origin: top left; will-change: transform; }
.intro-word {
  position: absolute; inset: 0; width: 100%; height: auto; display: block;
}
.intro-word-orange { opacity: 0; }
.intro-mark-wrap { position: absolute; will-change: transform, opacity; }
.intro-mark { width: 100%; height: 100%; display: block; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }
