:root { --canvas: #efeee7; --paper: #faf9f4; --ink: #18221c; --muted: #687169; --green: #142018; --green-soft: #263d30; --gold: #b1935d; --line: #d6d9d0; --serif: "Noto Serif SC", serif; --serif-en: "Cormorant Garamond", "Times New Roman", serif; --sans: "Noto Sans SC", system-ui, sans-serif; --mono: "SFMono-Regular", Menlo, Consolas, monospace; --display: "Cormorant Garamond", serif; }
* { box-sizing: border-box; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--canvas); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
.language-switch { display: inline-flex; align-items: center; gap: 0; margin-left: 14px; padding: 3px; color: var(--muted); font: 500 10px/1 var(--mono, monospace); letter-spacing: .08em; white-space: nowrap; border: 1px solid rgba(38,61,48,.22); border-radius: 3px; background: rgba(250,249,244,.72); }
.language-switch span { width: 1px; height: 13px; margin: 0 2px; overflow: hidden; font-size: 0; background: rgba(38,61,48,.2); }
.language-switch button { appearance: none; -webkit-appearance: none; display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 30px; padding: 5px 8px; border: 0; border-radius: 2px; outline: none; background: transparent !important; color: inherit; font: inherit; font-synthesis: none; letter-spacing: .08em; cursor: pointer; transition: color .2s, background-color .2s, box-shadow .2s; }
.language-switch button:hover { color: var(--green); background: rgba(38,61,48,.06) !important; }
.language-switch button.is-active { color: var(--green); background: rgba(177,147,93,.1) !important; box-shadow: inset 0 -1px var(--gold); }
.portal-page { min-height: 100svh; padding: 26px clamp(20px, 7vw, 112px) 72px; }
.portal-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.portal-brand { display: inline-flex; align-items: center; gap: 12px; }
.portal-brand img { width: 34px; height: 37px; object-fit: contain; filter: sepia(.25) saturate(.7) hue-rotate(70deg) brightness(.7); }
.portal-brand span { display: grid; gap: 3px; line-height: 1; }
.portal-brand strong { font: 600 1.1rem var(--display); letter-spacing: .12em; }
.portal-brand em { color: var(--muted); font: 500 .7rem var(--serif); font-style: normal; letter-spacing: .16em; }
.portal-back { color: var(--muted); border-bottom: 1px solid #aeb8af; padding-bottom: 4px; font-size: .72rem; }
.portal-intro { max-width: 760px; padding: clamp(70px, 10vw, 128px) 0 54px; }
.eyebrow { margin: 0 0 13px; color: var(--gold); font-size: .66rem; letter-spacing: .17em; }
.portal-intro h1 { max-width: 700px; margin: 0; font: 400 4.4rem/1.2 var(--serif); overflow-wrap: anywhere; }
.portal-intro h1 span { display: block; }
.portal-intro > p:last-child { max-width: 650px; margin: 24px 0 0; color: var(--muted); line-height: 1.95; }
.portal-choices { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--green); border-bottom: 1px solid var(--green); }
.portal-choice { min-width: 0; min-height: 300px; display: grid; grid-template-columns: 42px minmax(0, 1fr) 28px; gap: 22px; align-content: space-between; padding: 28px 30px 30px; background: var(--paper); transition: background .2s, color .2s; }
.portal-choice + .portal-choice { border-left: 1px solid var(--green); }
.portal-choice:hover { background: #e7ebe3; }
.portal-choice.is-dark { color: #eff1e9; background: var(--green); }
.portal-choice.is-dark:hover { background: var(--green-soft); }
.choice-index { color: var(--gold); font: 600 1.2rem var(--display); }
.choice-copy { min-width: 0; display: grid; align-content: end; gap: 9px; }
.choice-copy small { color: var(--muted); font-size: .68rem; letter-spacing: .08em; }
.is-dark .choice-copy small { color: rgba(239,241,233,.55); }
.choice-copy strong { font: 500 2.1rem var(--serif); overflow-wrap: anywhere; }
.choice-copy em { color: var(--gold); font-style: normal; font-size: .73rem; }
.choice-copy b { color: var(--muted); font-size: .7rem; font-weight: 400; line-height: 1.7; }
.is-dark .choice-copy b { color: rgba(239,241,233,.66); }
.choice-arrow { align-self: start; color: var(--gold); font-size: 1.2rem; }
.portal-principle { display: grid; grid-template-columns: 86px 1fr; gap: 24px; max-width: 820px; margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line); }
.principle-mark { color: var(--green); font: 600 1.7rem var(--display); letter-spacing: .08em; }
.portal-principle h2 { margin: 0; font: 500 1.35rem var(--serif); }
.portal-principle p:not(.eyebrow) { max-width: 720px; margin: 15px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.9; }
@media (max-width: 900px) { .portal-intro h1 { font-size: 3.2rem; } }
@media (max-width: 680px) { .portal-page { padding-inline: 16px; } .portal-header { align-items: flex-start; flex-direction: column; } .portal-intro { padding-top: 64px; padding-right: 18px; } .portal-intro h1 { max-width: 100%; font-size: 2.2rem; line-height: 1.32; } .portal-choices { width: 100%; grid-template-columns: minmax(0, 1fr); } .portal-choice { min-height: 230px; grid-template-columns: 42px minmax(0, 1fr) 24px; gap: 14px; padding: 26px 20px; } .portal-choice + .portal-choice { border-top: 1px solid var(--green); border-left: 0; } .choice-copy strong { font-size: 1.65rem; } .choice-copy em, .choice-copy b { overflow-wrap: anywhere; } .portal-principle { grid-template-columns: 1fr; gap: 12px; } }
.portal-header .language-switch { align-self: center; }
html[lang="en"] .portal-intro h1,
html[lang="en"] .portal-choice strong,
html[lang="en"] .portal-principle h2 {
  font-family: var(--serif-en);
  letter-spacing: .02em;
}
html[lang="en"] .portal-intro h1 { line-height: 1.08; }
html[lang="en"] .portal-intro > p:last-child,
html[lang="en"] .choice-copy b,
html[lang="en"] .portal-principle p:not(.eyebrow) { line-height: 1.7; }
html[lang="en"] .portal-brand em,
html[lang="en"] .portal-back,
html[lang="en"] .portal-choice small,
html[lang="en"] .portal-choice em { letter-spacing: .06em; }
@media (max-width: 680px) { .portal-header .language-switch { align-self: flex-end; margin-top: -8px; } .portal-header .language-switch button { min-width: 42px; min-height: 40px; } }
