/* Notre-Dame Guide — main stylesheet
   Palette: limestone, nave night, rose-window blue, gilt, ruby (booking only) */
:root {
  --stone-50: #F6F5F1;
  --stone-100: #ECE9E2;
  --stone-200: #DDD8CD;
  --stone-400: #A39C8E;
  --ink: #1B2130;
  --ink-soft: #4A5162;
  --night: #16213D;
  --night-2: #22305A;
  --blue: #2B4C9B;
  --blue-soft: #E3E9F6;
  --gilt: #C59B3E;
  --gilt-soft: #F4EBD6;
  --ruby: #9E2338;
  --ruby-dark: #7E1A2C;
  --ok: #2F6B4F;
  --line: #D9D4C8;
  --radius-xl: 32px;
  --radius-l: 20px;
  --radius-m: 12px;
  --radius-s: 8px;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --measure: 68ch;
}
.nd-lang-ko { --serif: "Noto Serif KR", Georgia, serif; --sans: "Noto Sans KR", system-ui, sans-serif; }
.nd-lang-ja { --serif: "Noto Serif JP", Georgia, serif; --sans: "Noto Sans JP", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--stone-50); color: var(--ink); font: 400 17px/1.65 var(--sans); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--night); }
:focus-visible { outline: 3px solid var(--gilt); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--night); color: #fff; padding: 10px 16px; border-radius: var(--radius-s); }
.skip:focus { left: 8px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--night); letter-spacing: -0.005em; }
.nd-lang-ko h1, .nd-lang-ko h2, .nd-lang-ja h1, .nd-lang-ja h2, .nd-lang-ko h3, .nd-lang-ja h3 { line-height: 1.35; letter-spacing: 0; }

/* Buttons ------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 12px 22px; border-radius: 999px; font: 700 15px/1.2 var(--sans); text-decoration: none; text-align: center; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn--ruby { background: var(--ruby); color: #fff; }
.btn--ruby:hover { background: var(--ruby-dark); color: #fff; }
.btn--gold { background: var(--gilt); color: var(--night); }
.btn--gold:hover { background: #D9B256; color: var(--night); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn--line { border-color: currentColor; color: inherit; background: transparent; }
.btn--line:hover { background: var(--night); color: #fff; border-color: var(--night); }
.btn--large { min-height: 54px; padding: 15px 28px; font-size: 16px; }
.btn--small { min-height: 40px; padding: 9px 16px; font-size: 14px; }
.btn--block { width: 100%; }

/* Banner -------------------------------------------------------------- */
.banner { background: var(--gilt-soft); color: var(--night); overflow: hidden; border-bottom: 1px solid #E8DBB8; position: relative; z-index: 31; }
.banner__track { display: flex; width: max-content; gap: 64px; padding: 9px 0; color: inherit; text-decoration: none; font-size: 14px; font-weight: 600; animation: marquee 38s linear infinite; }
.banner__track span { white-space: nowrap; }
.banner:hover .banner__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 32px)); } }
@media (prefers-reduced-motion: reduce) { .banner__track { width: auto; padding: 9px var(--gutter); } .banner__track span[aria-hidden] { display: none; } .banner__track span { white-space: normal; } }

/* Header -------------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 30; background: rgba(246,245,241,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); color: var(--night); }
.header--over { position: absolute; left: 0; right: 0; top: auto; background: transparent; border-color: transparent; backdrop-filter: none; color: #fff; }
.header--over.is-stuck { position: fixed; top: 0; background: rgba(22,33,61,.96); border-color: rgba(255,255,255,.08); }
.header__inner { max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.header__left { display: flex; align-items: center; gap: 18px; }
.header__right { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.burger { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; color: inherit; font: 700 14px var(--sans); cursor: pointer; }
.burger__lines { display: grid; gap: 3px; width: 16px; }
.burger__lines i { display: block; height: 1.5px; background: currentColor; border-radius: 2px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.logo__mark { width: 34px; height: 34px; color: var(--blue); flex: none; }
.header--over .logo__mark { color: #9DB5F0; }
.logo__text { font: 700 21px/1 var(--serif); letter-spacing: .01em; }
.logo__sub { font-weight: 500; font-style: italic; }
.nav__list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__list a { color: inherit; text-decoration: none; font-weight: 700; font-size: 15px; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav__list a:hover, .nav__list a[aria-current] { border-color: var(--gilt); }
.lang { position: relative; }
.lang__current { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border-radius: 999px; cursor: pointer; font-weight: 800; font-size: 14px; }
.lang__current::-webkit-details-marker { display: none; }
.lang__current:hover { background: rgba(127,127,127,.12); }
.lang__list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; width: 300px; max-width: calc(100vw - 32px); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 10px; margin: 0; list-style: none; background: #fff; border-radius: var(--radius-m); box-shadow: 0 18px 40px rgba(22,33,61,.18); border: 1px solid var(--line); }
.lang__list a { display: block; padding: 8px 10px; border-radius: var(--radius-s); color: var(--ink); text-decoration: none; font-size: 15px; }
.lang__list a:hover { background: var(--stone-100); }
.lang__list a[aria-current] { background: var(--blue-soft); font-weight: 700; }
@media (max-width: 1080px) { .nav { display: none; } .header__inner { grid-template-columns: 1fr auto; } }
@media (max-width: 640px) {
  .burger__label, .logo__sub { display: none; }
  .burger { padding: 8px 12px; }
  .header__cta { display: none; }
  .logo__text { font-size: 19px; }
}

/* Side panel ---------------------------------------------------------- */
.panel { position: fixed; inset: 0; z-index: 60; }
.panel[hidden] { display: none; }
.panel__scrim { position: absolute; inset: 0; background: rgba(22,33,61,.5); }
.panel__sheet { position: absolute; top: 0; left: 0; bottom: 0; width: min(480px, 100%); overflow-y: auto; background: var(--stone-50); padding: 28px 32px 48px; border-radius: 0 var(--radius-xl) var(--radius-xl) 0; animation: slidein .28s ease-out; }
@keyframes slidein { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
.panel__close { float: right; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--night); background: none; font: 700 14px var(--sans); color: var(--night); cursor: pointer; }
.panel__home { display: block; font: 600 30px/1.2 var(--serif); color: var(--night); text-decoration: none; margin: 4px 0 18px; }
.panel__section { border-top: 1px solid var(--line); padding: 16px 0 6px; }
.panel__heading { margin: 0 0 6px; font: 700 13px var(--sans); color: var(--ruby); letter-spacing: .02em; }
.panel__list { list-style: none; margin: 0; padding: 0; }
.panel__list a { display: block; padding: 7px 0; font: 600 21px/1.25 var(--serif); color: var(--night); text-decoration: none; }
.panel__list a:hover { color: var(--blue); }
.panel__meta { list-style: none; padding: 16px 0 0; margin: 8px 0 0; border-top: 1px solid var(--line); display: flex; gap: 18px; font-size: 14px; }
.panel__search input { width: 100%; margin-top: 20px; min-height: 48px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; background: #fff; }

/* Hero (front) -------------------------------------------------------- */
.hero { background: radial-gradient(120% 90% at 78% 30%, #2C3D72 0%, var(--night) 55%, #0F1830 100%); color: #fff; border-radius: 0 0 var(--radius-xl) var(--radius-xl); overflow: hidden; }
.hero__inner { max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter) 64px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero__title { color: #fff; font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; margin: 0 0 22px; font-weight: 600; max-width: 13ch; }
.nd-lang-ko .hero__title, .nd-lang-ja .hero__title { font-size: clamp(34px, 4.6vw, 60px); max-width: 16ch; line-height: 1.25; }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: #D7DDEC; max-width: 52ch; margin: 0 0 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { color: #C8D3EE; }
.facade--hero { width: 100%; max-width: 460px; display: block; margin: 0 auto; filter: drop-shadow(0 0 40px rgba(43,76,155,.45)); }
.facade__rose { transform-origin: 200px 186px; animation: rose 2.4s ease-out both; }
.facade__halo { animation: halo 3s ease-out both; }
@keyframes rose { from { opacity: 0; transform: rotate(-30deg) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes halo { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 104px; }
  .hero__art { order: -1; max-width: 240px; margin: 0 auto; }
}

/* Tiles --------------------------------------------------------------- */
.tiles { max-width: var(--max); margin: 40px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; min-height: 210px; padding: 24px; border-radius: var(--radius-l); display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; text-decoration: none; overflow: hidden; color: #fff; }
.tile::before { content: ""; position: absolute; right: -40px; top: -40px; width: 170px; height: 170px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 0 0 18px rgba(255,255,255,.04), 0 0 0 36px rgba(255,255,255,.03); }
.tile__k { font-size: 14px; font-weight: 700; opacity: .85; }
.tile__t { font: 600 28px/1.1 var(--serif); }
.tile:hover .tile__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.tile--night { background: var(--night); }
.tile--blue { background: var(--blue); }
.tile--ruby { background: var(--ruby); }
.tile--stone { background: var(--stone-200); color: var(--night); }
.tile--stone::before { border-color: rgba(22,33,61,.18); }
@media (max-width: 960px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 140px; } }

/* Statement / satin / journal / band ---------------------------------- */
.statement { max-width: 980px; margin: 0 auto; padding: 96px var(--gutter) 72px; }
.statement__text { font: 500 clamp(26px, 3.2vw, 40px)/1.28 var(--serif); color: var(--night); margin: 0; }
.nd-lang-ko .statement__text, .nd-lang-ja .statement__text { font-size: clamp(21px, 2.4vw, 30px); line-height: 1.6; }
.satin { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.satin__grid { background: var(--stone-100); border-radius: var(--radius-xl); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.satin__icon { width: 44px; height: 44px; color: var(--blue); }
.satin__title { font-size: 25px; margin: 12px 0 8px; }
.satin__item p { margin: 0; color: var(--ink-soft); max-width: 36ch; }
@media (max-width: 820px) { .satin__grid { grid-template-columns: 1fr; gap: 28px; } }
.home-content { max-width: 860px; margin: 0 auto; padding: 72px var(--gutter) 24px; }
.journal { max-width: var(--max); margin: 0 auto; padding: 48px var(--gutter) 24px; }
.journal__title { font-size: clamp(32px, 4vw, 48px); margin: 0 0 28px; }
.journal__group { display: grid; grid-template-columns: 220px 1fr; gap: 24px; border-top: 1px solid var(--line); padding: 22px 0; }
.journal__heading { margin: 6px 0 0; font-weight: 800; color: var(--ruby); font-size: 14px; }
.journal__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 36px; }
.journal__list--archive { grid-template-columns: 1fr; max-width: 820px; }
.journal__item a { display: block; padding: 10px 0; text-decoration: none; color: inherit; }
.journal__name { display: block; font: 600 21px/1.25 var(--serif); color: var(--night); }
.journal__item a:hover .journal__name { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; }
.journal__excerpt { display: block; font-size: 15px; color: var(--ink-soft); margin-top: 3px; }
@media (max-width: 820px) { .journal__group { grid-template-columns: 1fr; gap: 4px; } .journal__list { grid-template-columns: 1fr; } }
.band { max-width: var(--max); margin: 56px auto 96px; padding: 0 var(--gutter); }
.band__inner { background: var(--night); color: #fff; border-radius: var(--radius-xl); padding: clamp(36px, 6vw, 72px); background-image: radial-gradient(60% 120% at 100% 0%, rgba(197,155,62,.22), transparent 60%); }
.band__title { color: #fff; font-size: clamp(30px, 3.6vw, 46px); margin: 0 0 12px; max-width: 20ch; }
.band__text { color: #D7DDEC; max-width: 56ch; margin: 0 0 26px; }

/* Article layout ------------------------------------------------------ */
.article-shell { max-width: var(--max); margin: 0 auto; padding: 32px var(--gutter) 64px; }
.article-shell--page { max-width: 900px; }
.crumbs { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--ink-soft); }
.crumbs__sep { color: var(--stone-400); }
.article__header { max-width: 880px; padding: 16px 0 28px; }
.article__title { font-size: clamp(34px, 4.8vw, 60px); margin: 0 0 16px; }
.nd-lang-ko .article__title, .nd-lang-ja .article__title { font-size: clamp(28px, 3.6vw, 44px); }
.article__lead { font-size: 19px; color: var(--ink-soft); margin: 0 0 18px; max-width: 64ch; }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--ink-soft); margin: 0; }
.article__meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gilt); margin-right: 20px; vertical-align: middle; }
.article__image { margin: 0 0 32px; border-radius: var(--radius-l); overflow: hidden; }
.article__image img { display: block; width: 100%; }
.article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.article__aside { position: sticky; top: 96px; display: grid; gap: 18px; }
@media (max-width: 1000px) { .article__layout { grid-template-columns: minmax(0, 1fr); } .article__aside { position: static; } }

.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px; }
.widget__title { font: 600 22px/1.2 var(--serif); color: var(--night); margin: 0 0 8px; }
.widget--cta { background: var(--night); color: #D7DDEC; border: 0; }
.widget--cta .widget__title { color: #fff; }
.widget--cta p { font-size: 15px; margin: 0 0 16px; }
.widget--cta .widget__title { font-size: 22px; margin-bottom: 8px; }
.widget--guides ul { list-style: none; margin: 0; padding: 0; }
.widget--guides a { display: block; padding: 7px 0; border-bottom: 1px solid var(--stone-100); text-decoration: none; color: var(--ink); font-size: 15px; line-height: 1.4; }
.widget--guides a:hover, .widget--guides a[aria-current] { color: var(--blue); }
.widget--guides a[aria-current] { font-weight: 700; }

.toc { background: var(--stone-100); border-radius: var(--radius-m); padding: 16px 22px; margin: 0 0 32px; }
.toc__title { font-weight: 800; cursor: pointer; font-size: 15px; }
.toc__list { margin: 10px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; }
.toc__list li { break-inside: avoid; padding: 3px 0; }
@media (max-width: 640px) { .toc__list { columns: 1; } }

/* Entry content ------------------------------------------------------- */
.entry { max-width: var(--measure); }
.entry--narrow { max-width: 72ch; }
.home-content .entry { max-width: none; }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: clamp(28px, 3vw, 38px); margin: 2em 0 .5em; }
.entry h3 { font-size: 24px; margin: 1.6em 0 .4em; }
.nd-lang-ko .entry h2, .nd-lang-ja .entry h2 { font-size: clamp(23px, 2.4vw, 30px); }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li + li { margin-top: .35em; }
.entry strong { font-weight: 800; }
.entry blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gilt); font: italic 500 22px/1.45 var(--serif); color: var(--night); }

/* TL;DR */
.tldr { background: var(--night); color: #E6EAF4; border-radius: var(--radius-l); padding: 22px 26px; }
.tldr__title { margin: 0 0 8px; font: 700 15px var(--sans); color: var(--gilt); }
.tldr ul { margin: 0; padding-left: 1.1em; }
.tldr li { color: #E6EAF4; }
.tldr li::marker { color: var(--gilt); }
.tldr a { color: #fff; }

/* Quick answer */
.snippet { border: 1.5px solid var(--blue); background: var(--blue-soft); border-radius: var(--radius-l); padding: 20px 24px; }
.snippet__label { display: inline-block; font-weight: 800; font-size: 13px; color: var(--blue); margin-bottom: 6px; }
.snippet p { margin: 0; font-size: 18px; }

/* Key facts */
.keyfacts { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 8px 24px; }
.keyfacts__title { font: 600 22px var(--serif); color: var(--night); margin: 14px 0 4px; }
.keyfacts dl { margin: 0; display: grid; grid-template-columns: minmax(120px, 34%) 1fr; }
.keyfacts dt, .keyfacts dd { margin: 0; padding: 10px 0; border-top: 1px solid var(--stone-100); }
.keyfacts dt { font-weight: 800; font-size: 15px; color: var(--ink-soft); padding-right: 16px; }
@media (max-width: 520px) { .keyfacts dl { grid-template-columns: 1fr; } .keyfacts dd { border-top: 0; padding-top: 0; } }

/* Callouts */
.callout { border-radius: var(--radius-m); padding: 16px 20px; background: var(--gilt-soft); border-left: 4px solid var(--gilt); }
.callout--warn { background: #FBE9EC; border-color: var(--ruby); }
.callout p { margin: 0; }

/* Table */
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.compare th, .compare td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--stone-100); vertical-align: top; }
.compare thead th { background: var(--stone-100); font-weight: 800; color: var(--night); }
.compare tbody tr:last-child td { border-bottom: 0; }

/* Pros / cons */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pros, .cons { list-style: none; margin: 0; padding: 18px 20px; border-radius: var(--radius-m); }
.pros { background: #E8F2EC; }
.cons { background: #FBE9EC; }
.pros__title, .cons__title { font-weight: 800; margin-bottom: 6px; }
.pros li + li, .cons li + li { margin-top: .4em; }
@media (max-width: 640px) { .proscons { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; padding: 0; counter-reset: s; }
.steps > li { counter-increment: s; position: relative; padding: 0 0 18px 56px; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--night); color: #fff; display: grid; place-items: center; font: 700 17px var(--serif); }
.steps > li::after { content: ""; position: absolute; left: 18.5px; top: 42px; bottom: 4px; width: 1px; background: var(--line); }
.steps > li:last-child::after { display: none; }
.steps h3 { margin: 4px 0 4px; font-size: 21px; }
.steps p { margin: 0; }

/* Timeline */
.timeline { list-style: none; padding: 0; border-left: 2px solid var(--gilt); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 16px 22px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--stone-50); border: 2px solid var(--gilt); }
.timeline strong { font-family: var(--serif); font-size: 21px; color: var(--night); margin-right: 8px; }

/* CTA card */
.cta-card { display: grid; grid-template-columns: 1fr auto; gap: 18px 24px; align-items: center; background: var(--stone-100); border-radius: var(--radius-l); padding: 24px 26px; border-left: 5px solid var(--ruby); }
.cta-card__title { margin: 0 0 4px; font-size: 25px; }
.cta-card__text { margin: 0; color: var(--ink-soft); }
@media (max-width: 640px) { .cta-card { grid-template-columns: 1fr; } }

/* Tour / hotel cards */
.offer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px 24px; }
.offer__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.offer__name { margin: 0; font-size: 24px; }
.offer__badge { font-size: 13px; font-weight: 800; color: var(--night); background: var(--gilt-soft); border-radius: 999px; padding: 4px 12px; }
.offer__facts { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-soft); }
.offer__facts strong { color: var(--ink); }
.offer p { margin: 0 0 12px; }

/* GYG widget */
.gyg { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 12px; min-height: 120px; }
.gyg__intro { margin: 4px 6px 10px; font-weight: 700; font-size: 15px; color: var(--ink-soft); }

/* Quiz */
.quiz { background: var(--blue-soft); border-radius: var(--radius-l); padding: 24px 26px; }
.quiz__title { margin: 0 0 4px; font-size: 28px; }
.quiz__intro { margin: 0 0 14px; color: var(--ink-soft); }
.quiz__list { list-style: none; padding: 0; margin: 0; counter-reset: q; }
.quiz__q { counter-increment: q; background: #fff; border-radius: var(--radius-m); padding: 16px 18px; }
.quiz__q + .quiz__q { margin-top: 10px; }
.quiz__prompt { margin: 0 0 10px; font-weight: 800; }
.quiz__prompt::before { content: counter(q) ". "; color: var(--blue); }
.quiz__options { display: grid; gap: 8px; }
.quiz__options button { text-align: left; min-height: 44px; padding: 10px 14px; border-radius: var(--radius-s); border: 1.5px solid var(--line); background: var(--stone-50); font: 600 15px/1.35 var(--sans); color: var(--ink); cursor: pointer; }
.quiz__options button:hover:not([disabled]) { border-color: var(--blue); }
.quiz__options button.is-right { border-color: var(--ok); background: #E8F2EC; }
.quiz__options button.is-wrong { border-color: var(--ruby); background: #FBE9EC; }
.quiz__options button[disabled] { cursor: default; }
.quiz__explain { margin: 10px 0 0; font-size: 15px; color: var(--ink-soft); }
.quiz__score { margin: 14px 0 0; font-weight: 800; color: var(--night); }

/* FAQ */
.faq__title { margin-bottom: .4em; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 800; position: relative; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 26px var(--serif); color: var(--blue); }
.faq__item[open] .faq__q::after { content: "–"; }
.faq__a { padding: 0 0 16px; }
.faq__a p { margin: 0; }

/* Read also, related, author */
.readalso { background: var(--stone-100); border-radius: var(--radius-m); padding: 14px 18px; }
.readalso strong { margin-right: 6px; }
.related { border-top: 2px solid var(--night); padding-top: 18px; }
.related__title { margin: 0 0 8px; font: 600 24px var(--serif); color: var(--night); }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
.related a { display: block; padding: 6px 0; }
@media (max-width: 640px) { .related ul { grid-template-columns: 1fr; } }
.links-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.links-list a { font: 600 20px/1.3 var(--serif); }
@media (max-width: 640px) { .links-list { grid-template-columns: 1fr; } }
.author { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 20px; }
.author__mono { width: 56px; height: 56px; border-radius: 50%; background: var(--night); color: var(--gilt); display: grid; place-items: center; font: 700 22px var(--serif); }
.author p { margin: 0; font-size: 15px; }
.disclosure { font-size: 13px; color: var(--ink-soft); }

/* Footer -------------------------------------------------------------- */
.footer { background: linear-gradient(180deg, var(--night) 0%, #0F1830 100%); color: #C9D1E4; border-radius: var(--radius-xl) var(--radius-xl) 0 0; margin-top: 40px; }
.footer__inner { max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter) 32px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.footer__facade { width: 120px; color: #6F82B8; }
.footer__about { font-size: 15px; max-width: 40ch; }
.footer__official { color: var(--gilt); font-size: 14px; }
.footer__heading { font: 600 21px var(--serif); color: #fff; margin: 0 0 10px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col a { color: #C9D1E4; text-decoration: none; display: block; padding: 5px 0; font-size: 15px; }
.footer__col a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter) 96px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.footer__disclosure { margin: 0 0 10px; }
.footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal a { color: #C9D1E4; }
@media (max-width: 900px) { .footer__inner { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__inner { grid-template-columns: 1fr; } }

/* Sticky bar ---------------------------------------------------------- */
.stickybar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 25; width: min(760px, calc(100% - 24px)); display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 20px; background: var(--night); color: #E6EAF4; border-radius: 999px; box-shadow: 0 14px 34px rgba(15,24,48,.35); }
.stickybar[hidden] { display: none; }
.stickybar__text { margin: 0; flex: 1; font-size: 14px; line-height: 1.35; }
.stickybar__text strong { color: #fff; }
.stickybar__close { background: none; border: 0; color: #AEB8D2; font-size: 22px; width: 36px; height: 36px; cursor: pointer; border-radius: 50%; }
@media (max-width: 640px) { .stickybar { border-radius: var(--radius-l); bottom: 10px; } .stickybar__text span { display: none; } }

.searchform input[type=search] { min-height: 46px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; width: 100%; max-width: 420px; }
.empty { font-size: 18px; color: var(--ink-soft); }
.nav-links { display: flex; gap: 10px; margin-top: 24px; }

/* Lists inside .entry that are layouts, not prose */
.entry .links-list, .entry .quiz__list, .entry .steps, .entry .timeline, .entry .pros, .entry .cons, .entry .related ul, .entry .offer__facts { padding-left: 0; }
.entry .timeline { padding-left: 0; margin-left: 6px; }
.entry .links-list li + li, .entry .quiz__list li + li, .entry .related li + li, .entry .offer__facts li + li { margin-top: 0; }
.entry .quiz__q + .quiz__q { margin-top: 10px; }
.entry .quiz__title, .entry .faq__title { margin-top: 0; }
.entry .cta-card__title, .entry .offer__name { margin-top: 0; }
.entry .offer__name { margin: 0; }
.entry .steps h3 { margin: 4px 0 4px; }

.entry .faq { margin-top: 2.4em; }
.cta-card__title { font-family: var(--serif); font-weight: 600; color: var(--night); line-height: 1.15; }
.author p + p { margin-top: 8px; }
.toc__list a { overflow-wrap: anywhere; }
.entry { overflow-wrap: break-word; }
.article__body { min-width: 0; }

/* CJK line breaking */
html[lang^="ko"] body{word-break:keep-all;overflow-wrap:anywhere}
html[lang^="ja"] body{line-break:strict;word-break:normal}
html[lang^="ja"] h1,html[lang^="ja"] h2,html[lang^="ko"] h1,html[lang^="ko"] h2{text-wrap:balance}
