/* Viett: rice paper, jade ink, lantern red, saffron sun */
:root {
  --paper: #f7f1e3; --paper-2: #efe5cf; --card: #fffaf0; --ink: #1f1b16; --muted: #6b6255;
  --jade: #0d3b36; --jade-2: #145a50; --jade-3: #2f7d6d; --red: #d7263d; --saffron: #f2b33d; --line: #e2d6bb;
  --sky-1: #f9d9a8; --sky-2: #f6efe0; --sun: #f2b33d; --bird: #3b3a33;
  --karst-3: #9fbfae; --karst-2: #4f8a78; --karst-1: #1f5a4d; --sea-1: #2f7d6d; --sea-2: #0d3b36; --wave: #f7f1e3;
  --hull: #3a2618; --sail: #d7263d; --string: #3a2618; --lantern: #d7263d;
  --s0: #d9cdb3; --s1: #9cc7b5; --s2: #2f7d6d;
  --r: 18px; --shadow: 0 1px 0 rgba(31,27,22,.04), 0 10px 30px -18px rgba(13,59,54,.45);
  --serif: 'Prata', 'Georgia', serif; --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #12201d; --paper-2: #182a26; --card: #1b2f2a; --ink: #efe7d6; --muted: #a9b3a6; --line: #2a423c;
    --jade: #0a2a26; --jade-2: #9fd3c1; --jade-3: #6cc0a8; --red: #ff5a6e; --saffron: #f5c35e;
    --sky-1: #2a3b52; --sky-2: #12201d; --sun: #f5c35e; --bird: #c9c1ad;
    --karst-3: #2c4a45; --karst-2: #1f3d37; --karst-1: #142c28; --sea-1: #16352f; --sea-2: #0a1a17; --wave: #6cc0a8;
    --hull: #0a1412; --string: #c9c1ad; --s0: #2a3a36; --s1: #3e7466; --s2: #6cc0a8;
    color-scheme: dark;
  }
}
*, *::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: 400 17px/1.65 var(--sans); }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(120,100,60,.08) 1px, transparent 1px); background-size: 6px 6px; }
a { color: var(--jade-2); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 0 0 .4em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .85em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--card); padding: 6px 12px; border-radius: 8px; }
.eyebrow { font: 800 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 0 0 .9em; }
.eyebrow--light { color: var(--saffron); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark { width: 38px; height: 38px; flex: none; }
.lm-hat { fill: var(--saffron); } .lm-band { stroke: var(--jade-2); stroke-width: 1.6; }
.lm-sun { fill: var(--red); } .lm-sea { stroke: var(--jade-3); stroke-width: 2.2; stroke-linecap: round; }
.logo__text { font: 400 1.35rem/1 var(--serif); }
.logo__text em { font-style: normal; color: var(--red); margin-left: .18em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; }
.nav a:hover, .nav a[aria-current] { background: var(--paper-2); color: var(--jade-2); }
.mega > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px;
  border-radius: 999px; background: var(--jade); color: #f7f1e3; font-weight: 700; font-size: .93rem; white-space: nowrap; }
.mega > summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: .2s; }
.burger::before, .burger::after { content: ''; position: absolute; left: 0; }
.burger::before { top: -5px; } .burger::after { top: 5px; }
.mega[open] .burger { background: transparent; }
.mega[open] .burger::before { top: 0; transform: rotate(45deg); }
.mega[open] .burger::after { top: 0; transform: rotate(-45deg); }
.mega__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); max-height: calc(100vh - 66px); overflow: auto; }
.mega__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; padding-block: 28px 36px; }
.mega__list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.mega__list li { break-inside: avoid; }
.mega__list a { display: flex; align-items: baseline; gap: 10px; padding: 6px 0; color: var(--ink); text-decoration: none; border-bottom: 1px dashed var(--line); }
.mega__list a:hover { color: var(--red); }
.mega__list small { margin-left: auto; color: var(--muted); font-size: .75rem; }
.mega__list b { font: 800 .72rem/1 var(--sans); color: var(--red); min-width: 1.6em; }

/* hero */
.hero { position: relative; min-height: min(78vh, 640px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.junk { animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(600px, 400px); } to { transform: translate(700px, 404px); } }
@media (prefers-reduced-motion: reduce) { .junk { animation: none; } }
.hero__inner { padding-block: 56px 150px; }
.hero__title { font-size: clamp(2.4rem, 6.4vw, 5rem); margin: 0 0 .3em; color: var(--jade); max-width: 12ch; }
.hero__lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 36ch; margin: 0 0 1.4em; color: var(--ink); }
.hero .eyebrow--light { color: var(--red); }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border-radius: 999px; background: var(--card); color: var(--jade); text-decoration: none; font-weight: 700; font-size: .92rem; box-shadow: var(--shadow); }
.chip:hover { background: var(--jade); color: #f7f1e3; }
.chip--ghost { background: transparent; box-shadow: inset 0 0 0 2px currentColor; }
@media (prefers-color-scheme: dark) { .hero__title { color: var(--ink); } .chip { color: var(--ink); } .chip:hover { background: var(--jade-3); color: #0a1a17; } }

/* blocks */
.block { padding-block: clamp(48px, 7vw, 88px); }
.block__head { max-width: 720px; margin-bottom: 28px; }
.block__head p.muted { margin: 0; }
.paper { background: var(--jade); color: #f7f1e3; position: relative; }
.paper h2 { color: #f7f1e3; }
.paper .eyebrow { color: var(--saffron); }
@media (prefers-color-scheme: dark) { .paper { background: #0a1a17; } }

/* season calendar */
.season { display: grid; gap: 4px; overflow-x: auto; padding-bottom: 6px; }
.season__row { display: grid; grid-template-columns: minmax(130px, 1.4fr) repeat(12, minmax(30px, 1fr)); gap: 4px; align-items: center; min-width: 560px; }
.season__row--head span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: center; }
.season__row a { font-weight: 700; color: var(--ink); text-decoration: none; font-size: .95rem; }
.season__row a:hover { color: var(--red); }
.s { display: inline-block; height: 30px; border-radius: 8px; }
.s0 { background: var(--s0); } .s1 { background: var(--s1); } .s2 { background: var(--s2); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: .85rem; color: var(--muted); margin-top: 14px; }
.legend .s { width: 18px; height: 18px; border-radius: 5px; vertical-align: middle; margin-right: -8px; }

/* resorts */
.resorts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.resort a { position: relative; display: flex; flex-direction: column; min-height: 150px; padding: 18px 18px 16px; border-radius: var(--r);
  text-decoration: none; color: #f7f1e3; overflow: hidden; isolation: isolate; transition: transform .2s, box-shadow .2s; box-shadow: var(--shadow); }
.resort a::after { content: ''; position: absolute; right: -36px; top: -36px; width: 104px; height: 104px; border-radius: 50%; background: var(--saffron); opacity: .9; z-index: -1; transition: transform .3s; }
.resort a::before { content: ''; position: absolute; inset: auto 0 0 0; height: 46px; z-index: -1; opacity: .5;
  background: radial-gradient(circle at 10px -4px, transparent 12px, rgba(255,255,255,.25) 13px, transparent 14px) 0 0 / 28px 20px repeat-x; }
.resort a:hover { transform: translateY(-3px); color: #fff; }
.resort a:hover::after { transform: scale(1.15); }
.resort--0 a { background: #145a50; } .resort--1 a { background: #b8323f; } .resort--2 a { background: #2f6f8f; }
.resort--3 a { background: #3d5a2a; } .resort--4 a { background: #7a4b2a; } .resort--5 a { background: #0d3b36; }
.resort--1 a::after { background: #f7c873; } .resort--4 a::after { background: #e9a23b; }
.resort__region { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.resort__name { font: 400 1.55rem/1.1 var(--serif); margin-top: auto; }
.resort__meta { font-size: .82rem; opacity: .85; margin-top: 6px; }

/* topics */
.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 28px; }
.topics a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(247,241,227,.18); color: #f7f1e3; text-decoration: none; font-size: 1.05rem; }
.topics b { font: 400 1.25rem/1 var(--serif); color: var(--saffron); min-width: 1.8em; }
.topics a:hover span { color: var(--saffron); }

/* cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.cards a { display: block; height: 100%; padding: 13px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 600; transition: border-color .15s, transform .15s; }
.cards a:hover { border-color: var(--jade-3); transform: translateY(-1px); color: var(--jade-2); }
.cards a.is-ready { border-left: 4px solid var(--red); }
.cards--dense { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.cards--dense a { padding: 10px 14px; font-size: .95rem; }
.more { font-weight: 700; }

/* inner page header */
.phead { position: relative; overflow: hidden; isolation: isolate; color: var(--ink); }
.phead__art { position: absolute; inset: 0; z-index: -1; }
.phead__art .scene { position: absolute; inset: 0; }
.phead__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 0%, color-mix(in srgb, var(--paper) 80%, transparent) 45%, transparent 85%); }
.phead__art .lanterns { display: none; }
.phead__inner { padding-block: 34px 120px; }
.phead h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 0; max-width: 20ch; color: var(--jade); }
.phead .eyebrow--light { color: var(--red); }
.phead__date { margin: .8em 0 0; font-size: .85rem; color: var(--muted); }
@media (prefers-color-scheme: dark) { .phead h1 { color: var(--ink); } }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 22px; padding: 0; font-size: .85rem; }
.crumbs li + li::before { content: '›'; margin-right: 4px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.layout { padding-block: 40px 80px; }
.article { max-width: 760px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.5em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.2em 0; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--paper-2); font-weight: 700; }
.prose blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 4px solid var(--saffron); background: var(--card); border-radius: 0 12px 12px 0; }
.prose ul li::marker { color: var(--red); }
.intro .prose { max-width: 760px; font-size: 1.08rem; }
.soon { position: relative; padding: 26px 28px 24px 84px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.soon::before { content: ''; position: absolute; left: 26px; top: 26px; width: 36px; height: 44px; border-radius: 50% / 45%; background: var(--red);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--saffron) 45%, transparent); }
.soon__title { font: 400 1.35rem/1.2 var(--serif); margin: 0 0 .3em; }
.soon p { margin: 0; }
.plan { margin-top: 14px; font-size: .9rem; }
.kw { border-collapse: collapse; margin-top: 8px; } .kw td { padding: 3px 10px 3px 0; border-bottom: 1px dashed var(--line); }
.links { margin-top: 44px; }
.links h2 { font-size: 1.45rem; }
.aff:empty { display: none; }

/* footer */
.foot { position: relative; margin-top: 40px; background: var(--jade); color: #d9e4dc; padding-top: 40px; }
.foot__wave { position: absolute; top: -59px; left: 0; width: 100%; height: 60px; fill: var(--jade); }
@media (prefers-color-scheme: dark) { .foot, .foot__wave { background: none; } .foot { background: #0a1a17; } .foot__wave { fill: #0a1a17; } }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.6fr; gap: 36px; padding-block: 20px 36px; }
.foot__grid nav { display: flex; flex-wrap: wrap; gap: 4px 16px; align-content: start; }
.foot__grid nav a { color: #d9e4dc; text-decoration: none; font-size: .9rem; }
.foot__grid nav a:hover { color: var(--saffron); }
.foot__h { width: 100%; margin: 0 0 8px; font-weight: 800; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--saffron); }
.foot__brand p { font-size: .92rem; opacity: .8; }
.logo--light { color: #f7f1e3; }
.foot__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 18px 26px; font-size: .82rem; opacity: .7; }

@media (max-width: 900px) {
  .nav { display: none; }
  .mega { margin-left: auto; }
  .mega__grid { grid-template-columns: 1fr; gap: 24px; }
  .foot__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .mega__list { columns: 1; }
  .mega > summary { padding: 9px 13px; }
  .logo__text { font-size: 1.15rem; }
  .hero__inner { padding-block: 40px 120px; }
  .soon { padding: 22px 20px 20px 70px; }
  .soon::before { left: 20px; width: 30px; height: 38px; }
  .phead__art::after { background: linear-gradient(180deg, var(--paper) 10%, color-mix(in srgb, var(--paper) 70%, transparent) 60%, transparent); }
}
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--paper) 78%, transparent) 0%, color-mix(in srgb, var(--paper) 45%, transparent) 38%, transparent 62%); }
@media (max-width: 700px) { .hero::before { background: linear-gradient(180deg, color-mix(in srgb, var(--paper) 70%, transparent) 0%, color-mix(in srgb, var(--paper) 40%, transparent) 60%, transparent 85%); } }

/* photos */
.hero__photo, .phead__photo, .resort__img, .topics--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero--photo { min-height: min(88vh, 720px); }
.hero--photo::before { z-index: -1; background: linear-gradient(0deg, rgba(8,24,21,.86) 0%, rgba(8,24,21,.5) 42%, rgba(8,24,21,.08) 78%), linear-gradient(90deg, rgba(8,24,21,.5) 0%, transparent 65%); }
.hero--photo .hero__title { color: #fff; }
.hero--photo .hero__lead { color: rgba(255,255,255,.9); }
.hero--photo .eyebrow--light { color: var(--saffron); }
.hero--photo .chip { background: rgba(255,250,240,.94); color: var(--jade); }
.hero--photo .chip:hover { background: var(--saffron); color: #1f1b16; }
.hero--photo .chip--ghost { background: transparent; color: #fff; }
.phead--photo .phead__art::after { background: linear-gradient(90deg, rgba(8,24,21,.82) 0%, rgba(8,24,21,.45) 55%, rgba(8,24,21,.08) 100%), linear-gradient(0deg, rgba(8,24,21,.45), transparent 45%); }
.phead--photo .phead__photo { z-index: 0; }
.phead--photo .phead__inner { padding-block: 40px 96px; }
.phead--photo h1 { color: #fff; }
.phead--photo .eyebrow--light { color: var(--saffron); }
.phead--photo .phead__date, .phead--photo .crumbs, .phead--photo .crumbs a, .phead--photo .crumbs li { color: rgba(255,255,255,.85); }
.resort__img { transition: transform .6s ease; }
.resort--img a { min-height: 240px; background: #0d3b36; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.resort--img a::after { display: none; }
.resort--img a::before { inset: 0; height: auto; opacity: 1; background: linear-gradient(0deg, rgba(8,24,21,.86) 0%, rgba(8,24,21,.25) 55%, rgba(8,24,21,.05) 100%); }
.resort--img a:hover .resort__img { transform: scale(1.06); }
.topics--img { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.topics--img a { position: relative; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 4px; min-height: 160px; padding: 14px 16px;
  border: 0; border-radius: 14px; overflow: hidden; isolation: isolate; background: #0a2a26; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.topics--img a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,24,21,.9) 0%, rgba(8,24,21,.2) 70%); }
.topics--img img { transition: transform .6s ease; }
.topics--img a:hover img { transform: scale(1.06); }
.topics--img b { font-size: 1rem; }
.topics--img span { font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .resort__img, .topics--img img { transition: none; } }
.hero__photo { object-position: 55% 75%; }

/* brand */
.logo__word { display: block; height: 54px; width: auto; }
.logo__tag { font: 600 .78rem/1.2 var(--sans); color: var(--muted); letter-spacing: .02em; padding-left: 12px; border-left: 1px solid var(--line); }
.logo--light .logo__word { height: 76px; }
.logo--light .logo__tag { color: rgba(247,241,227,.75); border-color: rgba(247,241,227,.25); }
@media (max-width: 760px) { .top .logo__tag { display: none; } .top .logo__word { height: 46px; } }
