:root {
  color-scheme: dark;
  --bg: #0b0a0b;
  --surface: #181417;
  --ink: #faf6f3;
  --muted: #c9bfbe;
  --line: #393032;
  --red: #ff5554;
  --accent: #ef393d;
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 1rem; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid #ffd795; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
h1, h2, h3 { line-height: 1.24; letter-spacing: -.055em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: 1.22rem; }
.wrap { width: min(1180px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: absolute; left: 1em; top: -8em; z-index: 5; padding: .6em 1em; background: white; color: black; }
.skip:focus { top: .5em; }
.mast { background: #000; border-bottom: 1px solid #302425; }
.mast-row { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: 0 0 110px; }
.brand img { width: 110px; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px clamp(15px, 2.6vw, 38px); }
.main-nav a { padding: 10px 0; color: #d4ccca; text-decoration: none; font-weight: 650; font-size: .94rem; }
.main-nav a:hover, .main-nav a[aria-current] { color: #ff7774; }
.main-nav a[aria-current] { text-decoration: underline; text-underline-offset: 8px; }
.hero { position: relative; isolation: isolate; background: #080607; overflow: hidden; border-bottom: 1px solid #532426; }
.cover { position: absolute; inset: 0 0 0 29%; z-index: -2; }
.cover img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 36%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #090708 7%, #090708 26%, rgba(9,7,8,.90) 38%, rgba(9,7,8,.12) 62%, transparent 79%); }
.hero-inner { min-height: clamp(455px, 40vw, 575px); display: flex; align-items: center; padding-block: 54px; }
.hero-copy { width: min(53%, 600px); }
.hero h1 { font-size: clamp(2.9rem, 4.65vw, 4.65rem); line-height: 1.12; letter-spacing: -.075em; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-copy > p { color: #e1d9d7; margin-top: 22px; line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 24px; border-radius: 6px; font-weight: 750; line-height: 1.45; text-decoration: none; }
.primary { border: 1px solid var(--accent); background: #d82931; color: #fff; }
.primary:hover { background: #eb3941; color: #fff; }
.secondary { background: #191517; border: 1px solid #6e5c60; color: var(--ink); }
.secondary:hover { border-color: #ef8683; color: #fff; }
.address-link { display: inline-block; color: #c7b8b9; margin-top: 17px; font-size: .87rem; text-decoration: none; }
.address-link strong { margin-left: 6px; color: #f1e8e4; text-decoration: underline; }
.home-body { padding: clamp(36px, 5vw, 70px) 0 62px; }
.overview { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(38px, 7vw, 125px); }
.overview p, .feature p { margin-top: 15px; color: var(--muted); line-height: 1.85; }
.text-link { display: inline-block; color: #ff918e; font-weight: 650; }
.overview .text-link { margin-top: 12px; }
.directory { border-top: 2px solid var(--red); }
.directory h3 { padding-top: 13px; margin-bottom: 5px; }
.directory a { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 11px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.directory a span, .excerpt, .meta, figcaption { color: var(--muted); }
.directory a span { font-size: .9rem; }
.journal { margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--line); }
.posts { list-style: none; padding: 0; margin-top: 18px; }
.posts li { border-bottom: 1px solid var(--line); }
.posts a { display: grid; grid-template-columns: 116px minmax(0,1fr); align-items: center; gap: 20px; padding: 18px 0; text-decoration: none; }
.posts img { width: 100%; border-radius: 5px; }
.post-cover { width: 100%; margin-top: 18px; border-radius: 6px; }
.topic { color: #ff918e; font-weight: 650; font-size: .9rem; }
.posts strong { display: block; line-height: 1.45; font-size: 1.15rem; }
.excerpt { display: block; margin-top: 4px; font-size: .96rem; }
footer { border-top: 1px solid var(--line); background: #100e10; }
.foot-row { padding-block: 25px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 30px; font-size: .88rem; color: #b9aead; }
.foot-row nav, .jump { display: flex; flex-wrap: wrap; gap: 9px 21px; }
.foot-row a { text-decoration: none; }
.inner { max-width: 930px; margin: auto; padding: 26px 35px 72px; }
.crumbs { margin-bottom: clamp(25px, 4vw, 48px); }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; color: var(--muted); font-size: .88rem; padding: 0; }
.crumbs li:not(:first-child)::before { content: "/"; color: #8d797a; margin-inline: .55em; }
.crumbs a { text-decoration: none; }
.document { max-width: 830px; }
.reading { max-width: 745px; margin: auto; }
.title-block { border-bottom: 1px solid var(--line); padding-bottom: 23px; margin-bottom: 29px; }
.title-block h1 { font-size: clamp(2.05rem, 4.3vw, 3.6rem); line-height: 1.19; }
.lead, .document .lead { color: #ede5e1; font-size: clamp(1.08rem, 2vw, 1.25rem); }
.document p { color: var(--muted); margin-top: 13px; line-height: 1.91; }
.document h2 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); margin: 34px 0 0; }
.document a:not([class]) { text-decoration-color: #d27b77; }
.document .meta, figcaption { font-size: .88rem; }
.photo-aside { display: grid; grid-template-columns: 42% 1fr; align-items: center; gap: 27px; }
.photo-aside img { width: 100%; border-radius: 6px; }
.photo-aside h2, .feature h2 { margin-top: 0; }
.address-panel, .feature { border: 1px solid #533134; border-radius: 9px; background: var(--surface); }
.address-panel { border-left: 3px solid var(--red); padding: clamp(20px, 4vw, 32px); }
.address-panel > span { color: var(--muted); }
.address-panel > strong { display: block; font-size: clamp(1.6rem, 4vw, 2.15rem); }
.address-panel .actions { margin-top: 15px; }
.jump a { text-decoration: none; padding: 7px 14px; border: 1px solid var(--line); border-radius: 5px; }
.definitions { margin-top: 15px; }
.definitions dt { color: #ff918e; font-weight: 700; padding-top: 12px; }
.definitions dd { border-bottom: 1px solid var(--line); color: var(--muted); padding: 4px 0 12px; }
section[id] { scroll-margin-top: 20px; }
.faq details { border-bottom: 1px solid var(--line); padding: 17px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq summary::marker { color: var(--red); }
.back { padding-top: 18px; }
.feature { display: grid; grid-template-columns: 38% 1fr; align-items: center; overflow: hidden; text-decoration: none; }
.feature img { width: 100%; height: 100%; object-fit: cover; }
.feature > div { padding: 20px 24px; }
.feature h2 { margin-top: 5px; }
.feature p { font-size: .96rem; }
.comparison { display: grid; grid-template-columns: 3fr 2fr; align-items: start; gap: 16px; margin-top: 16px; }
.comparison img { width: 100%; }
.comparison .square { aspect-ratio: 1; height: auto; object-fit: cover; }
figcaption { margin-top: 6px; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 40px); }
  .mast-row { gap: 14px; }
  .main-nav { gap: 4px 15px; }
  .hero-copy { width: 57%; }
  .wide { display: none; }
  .overview { gap: 32px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .mast-row { flex-direction: column; gap: 0; padding-block: 3px 6px; }
  .brand { flex-basis: auto; }
  .brand img { width: 96px; }
  .main-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, 390px); gap: 0 4px; text-align: center; }
  .main-nav a { padding: 5px 0; font-size: .88rem; }
  .main-nav a[aria-current] { text-underline-offset: 4px; }
  .cover { inset: 0 0 auto; height: 315px; }
  .cover img { object-position: 66% 33%; }
  .hero::before { background: linear-gradient(0deg,#090708 0 38%,rgba(9,7,8,.92) 50%,rgba(9,7,8,.03) 79%); }
  .hero-inner { min-height: 510px; padding-block: 188px 27px; align-items: end; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(2.5rem, 9.5vw, 3.35rem); }
  .hero-copy > p { margin-top: 12px; }
  .actions { gap: 9px; margin-top: 17px; }
  .button { padding-inline: 18px; }
  .address-link { margin-top: 11px; }
  .overview, .photo-aside, .feature { grid-template-columns: 1fr; }
  .journal { margin-top: 32px; }
  .posts a { grid-template-columns: clamp(74px, 22vw, 116px) minmax(0, 1fr); gap: 12px; }
  .inner { padding: 16px 18px 46px; }
  .feature img { max-height: 235px; object-position: center 36%; }
  .feature > div { padding: 17px; }
  .photo-aside { gap: 17px; }
  .foot-row { justify-content: flex-start; }
  .comparison { gap: 9px; }
}
