/* =============================================================================
   HELLWEG corporate site — design system R2
   Monochrome editorial identity derived from the official logo:
   ink #231916 · paper white · warm greys · hairline rules · serif display.
   Quiet, spacious, reserved. No sales furniture.
   ========================================================================== */
/* Self-hosted CJK display serif — Noto Serif SC subset to the exact characters
   used on this site (regenerate the subset when copy gains new characters). */
@font-face {
  font-family: 'HW Serif SC';
  src: url('/assets/fonts/hw-serif-sc.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #231916;          /* logo ink (sampled) */
  --ink-deep: #1a1310;     /* footer ground */
  --paper: #ffffff;
  --paper-warm: #f7f5f1;
  --stone: #6f645a;        /* secondary text, warm grey */
  --faint: #a89c90;
  --hair: #e7e1d8;         /* hairline rules */
  --bronze: #8c6f4e;       /* single restrained accent */

  --wrap: 1120px;
  --font-display: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia,
                  'HW Serif SC', 'Songti SC', 'Noto Serif SC', 'Source Han Serif SC', 'STSong', 'SimSun', serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
               'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:lang(zh-CN) body, body:lang(zh-CN) { line-height: 1.9; }
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration: none; transition: color .22s var(--ease); }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: .01em;
  color: var(--ink);
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
::selection { background: #ece5da; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px;
}
.skip:focus { left: 0; }

/* ---- brand ------------------------------------------------------------------ */
.mk { display: inline-block; width: 26px; height: 24px; color: var(--ink); }
.wm { display: inline-flex; align-items: center; gap: 13px; }
.wm-img { height: 13px; width: auto; display: block; }
.wm-light .mk { color: #f4efe8; }

/* ---- header ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--hair);
}
.header-inner { display: flex; align-items: center; height: 86px; gap: 40px; }
.brand { flex: none; }
.nav { display: flex; gap: 34px; margin-left: auto; }
.nav-link {
  position: relative;
  font-size: 13px; letter-spacing: .16em; color: var(--stone);
  padding: 6px 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current] { color: var(--ink); }
.nav-link[aria-current]::after { transform: scaleX(1); }
.header-right { display: flex; align-items: center; gap: 22px; }

/* language dropdown with flags */
.fl { width: 18px; height: 12px; border-radius: 2px; box-shadow: inset 0 0 0 .5px rgba(35, 25, 22, .18); flex: none; }
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 8px 2px; cursor: pointer;
  font-family: var(--font-body); font-size: 12.5px; letter-spacing: .1em; color: var(--stone);
  transition: color .2s var(--ease);
}
.lang-btn:hover { color: var(--ink); }
.lang-btn .ch { width: 13px; height: 13px; color: var(--faint); transition: transform .25s var(--ease); }
.lang.open .lang-btn .ch { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 168px; z-index: 60;
  background: var(--paper); border: 1px solid var(--hair); border-radius: 3px;
  box-shadow: 0 14px 40px rgba(35, 25, 22, .10);
  padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 2px;
  font-size: 13.5px; color: var(--stone);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.lang-opt:hover { background: var(--paper-warm); color: var(--ink); }
.lang-opt.is-current { color: var(--ink); }
.lang-opt.is-current::after { content: ""; margin-left: auto; width: 5px; height: 5px; border-radius: 50%; background: var(--bronze); }

.burger {
  display: none; background: none; border: 0; padding: 10px 2px; cursor: pointer;
  flex-direction: column; gap: 6px;
}
.burger span { display: block; width: 22px; height: 1px; background: var(--ink); transition: transform .25s var(--ease); }
.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { display: none; }

/* ---- typographic primitives --------------------------------------------------- */
.eyebrow {
  display: block;
  font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 22px;
}
.section { padding: 110px 0; }
.section-tight { padding-top: 40px; }
.section-head { margin-bottom: 56px; }
.section-head h2, .split-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.lead { font-size: 18px; color: var(--stone); margin-top: 22px; max-width: 60ch; }

/* ---- hero (home) --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 150px 0 130px; }
.hero-mark {
  position: absolute; right: -70px; top: 50%; transform: translateY(-50%);
  width: 560px; pointer-events: none; will-change: transform;
}
.hero-mark .mk { width: 100%; height: auto; color: var(--ink); opacity: .045; }
.hero-inner { position: relative; max-width: 780px; z-index: 1; }
.hero-title { font-size: clamp(42px, 6.2vw, 74px); line-height: 1.12; }
.hero-sub { font-size: clamp(16.5px, 1.6vw, 19px); color: var(--stone); margin: 30px 0 0; max-width: 620px; }
.hl { display: block; overflow: hidden; }
.hl-i { display: block; }

/* a goods-diamond forever on its way across the foot of the hero */
.hero-route {
  position: absolute; left: 0; right: 0; bottom: 22px; height: 80px;
  color: var(--hair); pointer-events: none;
}
.hero-route svg { width: 100%; height: 100%; display: block; }
.hr-veh { color: var(--bronze); opacity: 0; }
.hr-svg { width: 100%; height: 100%; display: block; }

/* entrance choreography — only when motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  body { animation: page-in .45s var(--ease) both; }
  .hl-i { transform: translateY(112%); animation: hl-rise .85s var(--ease) forwards; }
  .hl:nth-child(2) .hl-i { animation-delay: .16s; }
  .hero .eyebrow { opacity: 0; animation: fade-up .7s var(--ease) .5s forwards; }
  .hero-sub { opacity: 0; animation: fade-up .7s var(--ease) .62s forwards; }
}
@keyframes page-in { from { opacity: 0; } }
@keyframes hl-rise { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hr-veh { display: none; }
}

/* ---- split intro ---------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.split-body { font-size: 17px; color: var(--stone); max-width: 60ch; }

/* ---- division list (editorial rows) ---------------------------------------------- */
.div-list { border-bottom: 1px solid var(--hair); }
.div-row {
  display: grid; grid-template-columns: 76px 1.15fr .85fr 44px;
  gap: 28px; align-items: center;
  padding: 42px 6px; border-top: 1px solid var(--hair);
  transition: background .3s var(--ease);
}
.div-row:hover { background: var(--paper-warm); }
.div-no { font-family: var(--font-display); font-size: 14px; letter-spacing: .12em; color: var(--bronze); }
.div-name { display: block; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; }
.div-pos { display: block; font-size: 14.5px; color: var(--stone); margin-top: 8px; }
.div-svcs { font-size: 13.5px; color: var(--faint); line-height: 2; }
.ar { width: 22px; height: 22px; color: var(--faint); transition: transform .3s var(--ease), color .3s var(--ease); }
.div-row:hover .ar { color: var(--ink); transform: translateX(6px); }
.div-arrow { justify-self: end; }

/* ---- presence band (the one dark moment) ------------------------------------------ */
.presence { background: var(--ink-deep); color: #f4efe8; padding: 110px 0; }
.presence .eyebrow { color: #b0906a; }
.presence h2 { color: #f4efe8; font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 60px; }
.pr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 40px 32px; }
.pr-node { border-top: 1px solid rgba(244, 239, 232, .18); padding-top: 22px; }
.pr-place { display: block; font-family: var(--font-display); font-size: 21px; color: #f4efe8; }
.pr-role { display: block; font-size: 13.5px; color: #9d9083; margin-top: 8px; line-height: 1.7; }

/* ---- values ------------------------------------------------------------------------ */
.val-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.val-item { border-top: 1px solid var(--hair); padding-top: 26px; }
.val-item .vg { width: 40px; height: 40px; color: var(--bronze); display: block; margin-bottom: 16px; }
.val-item h3 { font-size: 20px; margin-bottom: 12px; }
.val-item p { font-size: 15px; color: var(--stone); }
.reveal-init .val-item .vg path, .reveal-init .val-item .vg circle {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.3s var(--ease) .2s;
}
.reveal-init .val-item.is-in .vg path, .reveal-init .val-item.is-in .vg circle { stroke-dashoffset: 0; }

/* ---- closing line (home) --------------------------------------------------------------- */
.closing { padding: 40px 0 120px; text-align: center; }
.closing-line {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px); line-height: 1.5;
  color: var(--ink); max-width: 34ch; margin: 0 auto;
}

/* ---- inquiries (quiet close) --------------------------------------------------------- */
.inquiries {
  border-top: 1px solid var(--hair);
  padding: 60px 28px 110px;
  display: flex; flex-direction: column; gap: 14px;
}
.inq-label { font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--faint); }
.inq-mail { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 26px); color: var(--ink); }
.inq-mail:hover { color: var(--bronze); }

/* ---- inner page hero -------------------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding: 120px 0 84px; border-bottom: 1px solid var(--hair); }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.14; max-width: 20ch; position: relative; z-index: 1; }
/* subtle brand-mark watermark on plain heroes; division pages keep the ghost number */
.page-hero::after {
  content: ""; position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  width: 320px; height: 295px; pointer-events: none; opacity: .03;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 92'%3E%3Cpolygon points='50,4 88,25 50,46 12,25' fill='%23231916'/%3E%3Cpolygon points='12,56 50,77 88,56 88,66 50,87 12,66' fill='%23231916'/%3E%3C/svg%3E") no-repeat center / contain;
}
.div-hero::after { display: none; }
.ghost-no {
  position: absolute; right: 2%; top: -12%;
  font-family: var(--font-display); font-size: clamp(220px, 30vw, 380px); line-height: 1;
  color: var(--ink); opacity: .035; pointer-events: none; user-select: none;
}

/* engraved motif on division heroes, drawn in on load */
.div-motif {
  position: absolute; right: 110px; top: 50%; transform: translateY(-50%);
  width: 170px; color: var(--ink); opacity: .5; pointer-events: none;
}
.div-motif svg { width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .div-motif path, .div-motif circle {
    stroke-dasharray: 1; stroke-dashoffset: 1;
    animation: draw 1.6s var(--ease) .3s forwards;
  }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 1020px) { .div-motif { display: none; } }

/* ---- division page ------------------------------------------------------------------------ */
.div-intro { max-width: 760px; font-size: 17px; color: var(--stone); }
.div-intro p:first-child { font-size: 19.5px; color: var(--ink); line-height: 1.8; }
.svc-list { border-bottom: 1px solid var(--hair); }
.svc-block {
  display: grid; grid-template-columns: 320px 1fr; gap: 56px;
  border-top: 1px solid var(--hair); padding: 52px 0;
}
.svc-name { font-size: clamp(21px, 2.2vw, 25px); line-height: 1.35; }
.svc-body { font-size: 16px; color: var(--stone); max-width: 62ch; }

.div-pager {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center;
  padding: 40px 28px 26px;
}
.pg { display: flex; flex-direction: column; gap: 8px; }
.pg-label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); }
.pg-name { font-family: var(--font-display); font-size: 16px; color: var(--ink); }
.pg:hover .pg-name { color: var(--bronze); }
.pg-next { text-align: right; align-items: flex-end; }
.pg-all { font-size: 12.5px; letter-spacing: .18em; color: var(--stone); align-self: center; }
.pg-all:hover { color: var(--ink); }

/* ---- about ------------------------------------------------------------------------------------ */
.brand-plate { text-align: center; padding: 84px 28px 0; }
.brand-plate img { width: 188px; height: auto; }
.about-secs { border-bottom: 1px solid var(--hair); }
.about-sec {
  display: grid; grid-template-columns: 300px 1fr; gap: 56px;
  border-top: 1px solid var(--hair); padding: 56px 0;
}
.about-sec:first-child { border-top: none; }
.about-sec-head { display: flex; align-items: baseline; gap: 18px; }
.about-num { font-family: var(--font-display); font-size: 13px; letter-spacing: .12em; color: var(--bronze); }
.about-sec-head h2 { font-size: clamp(22px, 2.4vw, 27px); line-height: 1.3; }
.about-sec-body { font-size: 16.5px; color: var(--stone); max-width: 64ch; }
.sec-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-family: var(--font-display); font-size: 15.5px; color: var(--ink);
}
.sec-link .ar { width: 16px; height: 16px; color: var(--faint); transition: transform .25s var(--ease), color .25s var(--ease); }
.sec-link:hover { color: var(--bronze); }
.sec-link:hover .ar { color: var(--bronze); transform: translateX(4px); }

/* the heritage page reads as a road: a rail with diamond waypoints */
.road { position: relative; padding-left: 46px; }
.road::before {
  content: ""; position: absolute; left: 10px; top: 10px; bottom: 10px; width: 1px;
  background: var(--hair);
}
.road .about-sec { position: relative; }
.road .about-sec::after {
  content: ""; position: absolute; left: -40.5px; top: 68px;
  width: 9px; height: 9px; background: var(--bronze); transform: rotate(45deg);
}
@media (max-width: 880px) {
  .road { padding-left: 0; }
  .road::before, .road .about-sec::after { display: none; }
}

/* ---- contact ------------------------------------------------------------------------------------ */
.contact-rows { max-width: 760px; border-bottom: 1px solid var(--hair); }
.ct-row {
  display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: baseline;
  border-top: 1px solid var(--hair); padding: 30px 0;
}
.ct-row:first-child { border-top: none; }
.ct-label { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--faint); }
.ct-value { font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px); line-height: 1.7; }
.ct-value a:hover { color: var(--bronze); }

/* contact layout: details left, form right */
.contact-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
.contact-layout .contact-rows { max-width: none; }

/* the form — hairline fields, serif emphasis, one solid ink action */
.cform-title { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 34px; }
.cform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 36px; }
.cf-field { display: flex; flex-direction: column; gap: 9px; }
.cf-wide { grid-column: 1 / -1; }
.cf-field > span {
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--faint);
}
.cf-field input, .cf-field select, .cf-field textarea {
  font-family: var(--font-display); font-size: 17px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--hair);
  border-radius: 0; padding: 6px 0 12px; transition: border-color .25s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.cf-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a89c90' stroke-width='1.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 16px;
  padding-right: 26px;
}
.cf-field textarea { resize: vertical; line-height: 1.7; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus {
  outline: none; border-bottom-color: var(--ink);
}
.cf-submit {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 38px; padding: 15px 34px;
  background: var(--ink); color: #f4efe8; border: 1px solid var(--ink);
  font-family: var(--font-body); font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease);
}
.cf-submit .ar { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.cf-submit:hover { background: transparent; color: var(--ink); }
.cf-submit:hover .ar { transform: translateX(5px); }
.cf-note { margin-top: 22px; font-size: 12.5px; color: var(--faint); max-width: 46ch; line-height: 1.8; }

/* scroll reveal — active only when JS confirms motion is allowed */
.reveal-init [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-init [data-reveal].is-in { opacity: 1; transform: none; }

/* corridor line draws itself in as the map reveals */
.reveal-init .pr-map .pm-line {
  stroke-dasharray: 1180; stroke-dashoffset: 1180;
  transition: stroke-dashoffset 1.8s var(--ease) .2s;
}
.reveal-init .pr-map.is-in .pm-line { stroke-dashoffset: 0; }

/* keyboard focus — bronze ring, mouse clicks unaffected */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 1px;
}

/* print — content only, ink on white */
@media print {
  .site-header, .site-footer, .burger, .lang, .mobile-nav,
  .inquiries, .div-pager, .cform, .hero-mark, .ghost-no, .pr-map { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .presence { background: none; color: #000; padding: 24pt 0; }
  .presence h2, .pr-place { color: #000; }
  .pr-role { color: #444; }
  .section, .hero, .page-hero { padding: 18pt 0; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  a { color: #000; text-decoration: none; }
}

/* ---- footer -------------------------------------------------------------------------------------- */
.site-footer { background: var(--ink-deep); color: #b3a89b; padding: 92px 0 34px; }
.foot-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 0.8fr 1fr; gap: 48px;
  padding-bottom: 64px; border-bottom: 1px solid rgba(244, 239, 232, .12);
}
.foot-tag { margin: 26px 0 0; font-size: 14px; color: #8d8175; max-width: 34ch; line-height: 1.9; }
.foot-col h4 {
  font-family: var(--font-body); font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: #7a6f63; margin-bottom: 20px; font-weight: 500;
}
.foot-col ul { display: flex; flex-direction: column; gap: 12px; }
.foot-col a { color: #b3a89b; font-size: 14px; }
.foot-col a:hover { color: #f4efe8; }
.foot-langs { margin-top: 26px; font-size: 13px; color: #7a6f63; }
.foot-lang { color: #b3a89b; }
.foot-lang.is-current { color: #f4efe8; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 26px; font-size: 12.5px; color: #7a6f63;
}
.icp { color: #7a6f63; }
.icp:hover { color: #b3a89b; }

/* ---- responsive ------------------------------------------------------------------------------------ */
@media (max-width: 1020px) {
  .pr-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .div-row { grid-template-columns: 56px 1fr 44px; }
  .div-svcs { display: none; }
}
@media (max-width: 880px) {
  .nav { display: none; }
  .header-inner { height: 72px; }
  .header-right { margin-left: auto; }
  .burger { display: flex; }
  .site-header .lang { display: none; }
  .mobile-nav {
    display: none; flex-direction: column;
    padding: 8px 28px 30px; border-top: 1px solid var(--hair); background: var(--paper);
  }
  .menu-open .mobile-nav { display: flex; }
  .mnav-link {
    padding: 16px 0; font-family: var(--font-display); font-size: 19px;
    border-bottom: 1px solid var(--hair);
  }
  .mnav-lang { display: flex; flex-direction: column; gap: 2px; margin-top: 22px; }
  .mnav-lang .lang-opt { padding: 11px 4px; font-size: 15px; }

  .section { padding: 76px 0; }
  .hero { padding: 96px 0 120px; }
  .hero-mark { width: 380px; right: -110px; }
  .hero-route { bottom: 10px; height: 84px; }
  .split, .svc-block, .about-sec { grid-template-columns: 1fr; gap: 22px; }
  .split-head h2 { margin-top: 4px; }
  .div-pager { grid-template-columns: 1fr; gap: 22px; padding-top: 30px; }
  .pg-next { text-align: left; align-items: flex-start; }
  .val-grid { grid-template-columns: 1fr; gap: 28px; }
  .ct-row { grid-template-columns: 1fr; gap: 6px; }
  .contact-layout { grid-template-columns: 1fr; gap: 56px; }
  .cform-grid { grid-template-columns: 1fr; gap: 26px; }
  .ghost-no { font-size: 200px; top: -6%; right: -4%; }
}
@media (max-width: 560px) {
  .pr-grid { grid-template-columns: 1fr; gap: 26px; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .div-row { grid-template-columns: 44px 1fr 34px; gap: 16px; padding: 30px 4px; }
  .wrap { padding: 0 22px; }
  .inquiries { padding-left: 22px; padding-right: 22px; }
  .div-pager { padding-left: 22px; padding-right: 22px; }
  .brand-plate { padding-top: 64px; }
  .brand-plate img { width: 150px; }
}

/* ---- legal ------------------------------------------------------------------ */
.legal-secs { max-width: 720px; }
.legal-sec { border-top: 1px solid var(--hair); padding: 38px 0; }
.legal-sec:first-child { border-top: none; padding-top: 0; }
.legal-sec h2 { font-size: 21px; margin-bottom: 16px; }
.legal-sec p { font-size: 15.5px; color: var(--stone); }

/* ---- corridor route map (presence band) -------------------------------------- */
.pr-map { margin: 0 0 54px; }
.pm-svg { width: 100%; height: auto; display: block; }
.pm-line { stroke: rgba(244, 239, 232, .32); stroke-width: 1.3; }
.pm-node { fill: var(--bronze); }
.pm-label { fill: #f4efe8; font-family: var(--font-display); font-size: 17px; letter-spacing: .02em; }
@media (max-width: 880px) { .pr-map { display: none; } }

/* ---- 404 ------------------------------------------------------------------- */
.nf { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.nf-inner { position: relative; text-align: center; padding: 60px 28px; }
.nf-code {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%);
  font-family: var(--font-display); font-size: clamp(200px, 40vw, 420px); line-height: 1;
  color: var(--ink); opacity: .04; pointer-events: none; user-select: none;
}
.nf-mark { width: 64px; height: auto; color: var(--ink); margin-bottom: 40px; }
.nf-lines { display: flex; flex-direction: column; gap: 16px; }
.nf-lines a { font-family: var(--font-display); font-size: clamp(17px, 2.2vw, 21px); color: var(--stone); }
.nf-lines a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
