/* Global One — The printed annual. Colours kept from the brand (navy #003174, blue #007bc8). */
:root {
  --bg: #edf0f3;
  --surface: #e1e6ec;
  --ink: #0f1d33;
  --muted: #4a586c;
  --accent: #0067ab;
  --accent-ink: #ffffff;
  --navy: #003174;
  --navy-ink: #ffffff;
  --navy-soft: #b9c8de;
  --pale: #c9daea;
  --pale-ink: #0f1d33;

  --font-display: "Switzer", system-ui, sans-serif;
  --font-text: "Switzer", system-ui, sans-serif;

  --step-small: 0.875rem;
  --step-body: 1.125rem;
  --step-lead: clamp(1.375rem, 1rem + 1vw, 1.875rem);
  --step-head: clamp(2.5rem, 1.2rem + 3.6vw, 4.25rem);
  --step-display: clamp(5.5rem, 9.8vw, 9.375rem);

  --margin: 32px;
  --gutter: 24px;

  --radius: 0px;                          /* one radius for the whole page: 0, or large, decided once */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);        /* entrances, moving hovers, UI under 600ms */
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);       /* slow scale and drift on photographs */
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-reveal: 800ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); line-height: 1.5; font-kerning: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; background: var(--surface); }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 6rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; hyphens: none; }
.head { font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.025em; }
p { max-width: 62ch; text-wrap: pretty; }
p + p { margin-top: 0.9em; }

/* ---------- layout ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.4rem; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
.link-plain { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 0.07em; }
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-color: currentColor; }
}
.field { width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem; background: var(--surface); border: 0; border-radius: var(--radius); font-size: max(1rem, var(--step-body)); }

/* ---------- motion helpers (content stays visible without JavaScript) ---------- */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines [data-line] { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: ad-rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
  .js .lines [data-line] { transform: translateY(105%); animation: ad-line 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@keyframes ad-rise { to { opacity: 1; transform: none; } }
@keyframes ad-line { to { transform: none; } }

body { letter-spacing: -0.005em; font-size: var(--step-body); }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.04em; line-height: 0.95; color: var(--ink); }
.soft { color: var(--muted); }
.nums { font-variant-numeric: tabular-nums; }
.button { font-weight: 500; }
.button:hover { background: var(--navy); }

/* Korean site (root_page.slug != 'eng' -> html.site-ko, set in base.html): Pretendard only, for Hangul, Latin and figures alike. Switzer is the English site's font and is not loaded here */
.site-ko { --font-display: "Pretendard Variable", "Pretendard", system-ui, sans-serif; --font-text: "Pretendard Variable", "Pretendard", system-ui, sans-serif; }
.site-ko body { font-family: var(--font-text); word-break: keep-all; overflow-wrap: anywhere; letter-spacing: -0.01em; }
.site-ko h1, .site-ko h2, .site-ko h3 { letter-spacing: -0.03em; }
.site-ko .hero-title { font-size: clamp(3.5rem, 8vw, 7.5rem); line-height: 1.04; letter-spacing: -0.04em; }
.site-ko .about-lead, .site-ko .about-more { line-height: 1.4; letter-spacing: -0.02em; }
:where(.site-ko) p { line-height: 1.65; }   /* Korean body copy. :where() keeps it at element weight, so a paragraph class with its own line-height (.hero-sentence, .tile-figure, .legal…) still wins */
.site-ko .legal { font-size: var(--step-body); }

/* page sits above the sticky footer */
.page { position: relative; z-index: 1; background: var(--bg); }

/* ---------- notice ---------- */
.notice > span:first-child { max-width: 75ch; }
.notice { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; padding: 12px var(--margin); background: var(--navy); color: var(--navy-ink); font-size: var(--step-small); text-decoration: none; }
.notice-go { text-decoration: underline; text-underline-offset: 0.2em; }
.notice:hover .notice-go { text-decoration-thickness: 2px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 34fr 66fr; column-gap: 0; padding: 28px var(--margin) 0; min-height: calc(100svh - 44px); overflow: clip; }
.hero-left { display: flex; flex-direction: column; padding-right: var(--gutter); }
.wordmark { font-weight: 600; font-size: var(--step-lead); letter-spacing: -0.03em; line-height: 1; text-decoration: none; color: var(--navy); }
.wordmark img { display: block; width: 200px; height: auto; background: none; }
.hero-sentence { margin-top: 24vh; font-size: var(--step-lead); line-height: 1.3; max-width: 22ch; }
.hero-action { margin-top: 32px; align-self: flex-start; }
.hero-right { display: flex; flex-direction: column; min-width: 0; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: var(--step-body); padding-top: 2px; }
.nav a { text-decoration-color: transparent; }
.hero-title { margin-top: 7vh; font-size: var(--step-display); font-weight: 700; line-height: 0.86; letter-spacing: -0.045em; color: var(--navy); }
.hero-figure { position: relative; flex: 1; display: flex; flex-direction: column; margin-top: 120px; padding-top: 48px; }
.hero-photo { flex: 1; min-height: 280px; overflow: clip; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; background: var(--surface); }
.hero-block { position: absolute; left: 0; top: 0; width: 280px; padding: 18px 22px 20px; background: var(--navy); color: var(--navy-ink); transform: translateY(0); }
.hero-block-figure { font-size: var(--step-head); font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
.hero-block-text { margin-top: 8px; font-size: var(--step-body); line-height: 1.35; }

/* ---------- intro ---------- */
.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: 180px var(--margin) 160px; }
.intro-text { grid-column: 6 / 13; grid-row: 1; }
.statement { font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.02em; text-indent: 3em; max-width: 42ch; }
.intro-body { margin-top: 40px; max-width: 58ch; }
.intro-photo { grid-column: 1 / 5; grid-row: 1 / 3; align-self: start; margin-top: 140px; }
.intro-photo img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; object-position: 62% 70%; }
.intro-note { grid-column: 6 / 9; grid-row: 2; margin-top: 56px; font-size: var(--step-small); line-height: 1.5; color: var(--muted); }

/* ---------- figures mosaic ---------- */
.figures { padding: 0 0 200px; }
.figures-title { padding: 0 var(--margin) 40px; font-size: var(--step-head); }
.mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; height: min(66vw, 920px); }
.mosaic-photo { grid-row: 1 / 3; overflow: clip; }
.mosaic-photo img { width: 100%; height: 100%; object-fit: cover; }
.tile { padding: 28px; }
.tile-navy { background: var(--navy); color: var(--navy-ink); }
.tile-pale { background: var(--pale); color: var(--pale-ink); }
.tile-figure { font-size: clamp(3.5rem, 5.6vw, 6rem); font-weight: 600; line-height: 0.95; letter-spacing: -0.04em; }
.tile-text { margin-top: 16px; font-size: var(--step-body); line-height: 1.4; max-width: 26ch; }

/* ---------- history ---------- */
.history { padding: 0 var(--margin) 200px; }
.history-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.history-title { font-size: var(--step-head); line-height: 1.02; max-width: 20ch; }
.history-title .soft { display: block; }
.history-body { display: grid; grid-template-columns: 200px 1fr; gap: 40px; margin-top: 56px; }
.tabs { display: flex; flex-direction: column; gap: 6px; }
.tab { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 72px; padding: 10px 18px; background: var(--surface); text-align: left; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.tab:hover { background: var(--pale); }
.tab:active { transform: scale(0.98); }
.tab[aria-selected="true"], .tab[aria-current] { background: var(--navy); color: var(--navy-ink); }
.tab-name { font-size: var(--step-body); font-weight: 500; }
.tab-years { font-size: var(--step-small); opacity: 0.85; }
.eras { min-width: 0; }
.era { display: flex; flex-direction: column; gap: 4px; }
.js .era[hidden] { display: none; }
.band { display: grid; grid-template-columns: 22% 1fr; align-items: center; min-height: 84px; padding: 14px 20px; background: var(--surface); }
.band:nth-child(even) { background: #d6dde5; }
.band-date { font-size: var(--step-body); font-weight: 500; }
.band-what { font-size: var(--step-body); font-weight: 500; line-height: 1.3; }
.band-note { display: block; margin-top: 2px; font-size: var(--step-small); font-weight: 400; color: var(--muted); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: 140px var(--margin) 200px; background: var(--pale); }
.about-side { grid-column: 1 / 5; }
.about-title { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.2; }
.facts { margin: 40px 0 0; display: grid; gap: 18px; font-size: var(--step-small); }
.facts dt { color: var(--muted); }
.facts dd { margin: 2px 0 0; font-size: var(--step-body); }
.about-text { grid-column: 6 / 13; }
.about-lead, .about-more { font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.02em; max-width: 40ch; }
.about-lead::after { content: ""; display: block; clear: both; }
.about-lead strong { font-weight: 600; }
.about-more { margin-top: 1.2em; color: var(--muted); }
.dropcap { float: left; width: 3.66em; height: 3.66em; margin: 0.12em 0.5em 0 0; object-fit: cover; }

/* ---------- strategies ---------- */
.strategies { padding: 200px var(--margin) 120px; }
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-bottom: 80px; }
.q { grid-column: 1 / 6; font-size: var(--step-lead); font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; }
.a { grid-column: 6 / 12; max-width: 44ch; padding-top: 0.35em; line-height: 1.55; }

/* ---------- check ---------- */
.check { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: 160px var(--margin) 180px; background: var(--navy); color: var(--navy-ink); }
.check h2, .check h3 { color: var(--navy-ink); }
.check-side { grid-column: 1 / 5; }
.check-intro { margin-top: 28px; max-width: 34ch; color: var(--navy-ink); }
.check-photo { margin-top: 48px; }
.check-photo video { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: #0b3f86; }
.check-photo figcaption { margin-top: 12px; font-size: var(--step-small); color: var(--navy-soft); max-width: 40ch; }
.check-tool { grid-column: 6 / 13; }
.check-label { display: block; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; }
.check-row { display: flex; gap: 8px; margin-top: 20px; }
.check-field { flex: 1; min-height: 72px; padding: 0 24px; font-size: var(--step-lead); background: #ffffff; color: var(--ink); }
.check-field::placeholder { color: #7a8697; }
.check-button { min-height: 72px; padding: 0 36px; font-size: var(--step-body); background: #ffffff; color: var(--navy); }
.check-button:hover { background: var(--pale); color: var(--navy); }
.check-result { min-height: 5.2em; margin-top: 24px; font-size: var(--step-lead); line-height: 1.35; max-width: 40ch; }
.check-result:empty { min-height: 0; margin-top: 0; }
.check-result[data-state="ok"] { color: #ffffff; }
.check-result[data-state="no"] { color: #ffd2cc; }
.check-result strong { display: block; font-weight: 600; }
.official { margin-top: 40px; padding: 32px; background: #0b3f86; }
.official-title { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.2; }
.official-list { margin-top: 20px; display: grid; gap: 10px; }
.official-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; }
.official-list li > span:first-child { color: var(--navy-soft); }
.official-note { margin-top: 24px; max-width: 60ch; color: var(--navy-ink); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; padding: 180px var(--margin) 140px; }
.contact-title { grid-column: 1 / 6; font-size: var(--step-head); line-height: 1; }
.contact-photo { grid-column: 6 / 9; aspect-ratio: 1; overflow: clip; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-links { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 10px; }
.contact-q { font-weight: 500; margin-bottom: 10px; }
.contact-where { margin-top: 14px; font-size: var(--step-small); color: var(--muted); }

/* ---------- footer ---------- */
.footer { position: sticky; bottom: 0; z-index: 0; display: grid; grid-template-rows: auto 1fr auto auto; min-height: 100svh; padding: 48px var(--margin) 24px; background: var(--navy); color: var(--navy-soft); font-size: var(--step-body); }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gutter); }
.footer-cols ul { display: grid; gap: 6px; align-content: start; padding: 0; list-style: none; }
.footer-cols p + p { margin-top: 6px; }
.footer a { color: var(--navy-soft); }
.footer a:hover { color: #ffffff; }
.f-first { color: #ffffff; font-weight: 500; }
.footer-mark { grid-row: 3; align-self: end; margin-top: 48px; }
.footer-mark svg { width: 100%; height: auto; overflow: visible; }
.footer-mark text { font-family: var(--font-display); font-weight: 700; font-size: 190px; letter-spacing: -0.05em; fill: #ffffff; }
.legal { grid-row: 4; margin-top: 20px; max-width: 75ch; font-size: var(--step-small); line-height: 1.5; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { transition-delay: calc(var(--d, 0) * 80ms); }
  .hero-photo img { animation: drift 18s var(--ease-soft) infinite alternate; transform-origin: 60% 70%; }
  .js .hero-block { opacity: 0; transform: translateY(24px); animation: ad-rise 900ms var(--ease-out) 700ms forwards; }
  .band { transition: transform var(--t-hover) var(--ease-out); }
  .band:hover { transform: translateX(6px); }
  .contact-photo img, .mosaic-photo img { transition: transform 1200ms var(--ease-soft); }
  .contact-photo:hover img, .mosaic-photo:hover img { transform: scale(1.04); }
}
@keyframes drift { from { transform: scale(1.0); } to { transform: scale(1.08) translateX(-1.5%); } }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 38fr 62fr; }
  .hero-sentence { margin-top: 18vh; }
  .intro-text { grid-column: 5 / 13; }
  .about-text { grid-column: 5 / 13; }
  .check-side { grid-column: 1 / 13; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
  .check-side .check-photo { grid-column: 2; grid-row: 1 / 3; margin-top: 0; }
  .check-tool { grid-column: 1 / 13; margin-top: 56px; }
  .contact-title { grid-column: 1 / 13; max-width: 18ch; }
  .contact-photo { grid-column: 1 / 5; margin-top: 48px; }
  .contact-links { grid-column: 6 / 13; margin-top: 48px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
  :root { --margin: 20px; --gutter: 16px; }
  .page p, .page h2, .page h3 { max-width: none; }
  .notice { padding: 12px var(--margin); }
  .hero { display: flex; flex-direction: column; min-height: 0; padding-top: 20px; }
  .hero-left { display: contents; }
  .wordmark { order: 1; }
  .hero-right { display: contents; }
  .nav { order: 2; margin-top: 20px; gap: 6px 18px; }
  .hero-title { order: 3; margin-top: 44px; font-size: 17vw; line-height: 0.86; }
  .site-ko .hero-title { font-size: 14vw; line-height: 1.08; }
  .hero-sentence { order: 4; margin-top: 28px; max-width: none; }
  .hero-action { order: 5; margin-top: 24px; align-self: stretch; }
  .hero-figure { order: 6; flex: none; display: block; margin: 56px calc(var(--margin) * -1) 0; padding-top: 0; }
  .hero-photo { height: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .hero-block { position: static; width: auto; padding: 18px var(--margin) 22px; }

  .intro { display: flex; flex-direction: column; padding: 96px var(--margin) 112px; }
  .statement { text-indent: 0; }
  .intro-body { margin-top: 24px; }
  .intro-photo { width: 62%; align-self: flex-end; margin-top: 48px; }
  .intro-photo img { aspect-ratio: 4 / 5; }
  .intro-note { margin-top: 20px; }

  .figures { padding-bottom: 112px; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; height: auto; }   /* minmax(0, …): a square tile with long text grows taller, never wider than the screen */
  .mosaic-photo { grid-column: 1 / 3; grid-row: 1; aspect-ratio: 4 / 3; }
  .tile { aspect-ratio: 1; padding: 18px; }
  .tile-figure { font-size: 8.4vw; }
  .tile-text { font-size: var(--step-small); }

  .history { padding-bottom: 112px; }
  .history-head { flex-direction: column; align-items: stretch; }
  .history-action { align-self: stretch; }
  .history-body { display: block; margin-top: 40px; }
  .tabs { flex-direction: row; position: sticky; top: 0; z-index: 2; background: var(--bg); padding-block: 8px; }
  .tab { flex: 1; min-height: 64px; padding: 8px 10px; }
  .eras { margin-top: 12px; }
  .band { grid-template-columns: 1fr; gap: 4px; padding: 16px; }

  .about { display: flex; flex-direction: column-reverse; padding: 96px var(--margin) 112px; }
  .dropcap { width: 110px; height: 110px; }
  .about-side { margin-top: 48px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
  .facts dd { font-size: var(--step-small); }

  .strategies { padding: 112px var(--margin) 56px; }
  .row { display: block; padding-bottom: 56px; }
  .a { margin-top: 12px; padding-top: 0; }

  .check { display: block; padding: 96px var(--margin) 112px; }
  .check-side { display: block; }
  .check-photo { margin-top: 32px; }
  .check-row { flex-direction: column; }
  .check-result { min-height: 0; }
  .check-result:empty { margin-top: 0; }
  .check-button { min-height: 60px; }
  .check-field { min-height: 60px; }
  .official { padding: 24px 20px; margin-inline: calc(var(--margin) * -1); }
  .official-list li { grid-template-columns: 72px 1fr; }

  .contact { display: block; padding: 112px var(--margin) 96px; }
  .contact-photo { width: 96px; float: left; margin: 40px 16px 0 0; }
  .contact-links { margin-top: 40px; }
  .contact-where { clear: both; }

  .footer { padding-top: 40px; }
  .footer-cols { gap: 32px 16px; font-size: var(--step-small); }
}

/* ---------- Korean page (source: g1am.co.kr) ---------- */
.hero-block-link { display: block; text-decoration: none; transition: background-color var(--t-hover) ease; }
.hero-block-link:hover { background: #0b3f86; }
.hero-block-label { display: block; font-size: var(--step-small); color: var(--navy-soft); }
.hero-block-link .hero-block-text { display: block; margin-top: 10px; font-size: var(--step-body); line-height: 1.45; }

.about-body { margin-top: 1.4em; max-width: 52ch; }
.about-sign { display: block; margin-top: 12px; color: var(--muted); }

ol.years { list-style: none; padding: 0; margin: 64px var(--margin) 0; display: grid; gap: 4px; }
.year { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: 22px 0; background: var(--surface); }
.year:nth-child(even) { background: #d6dde5; }
.year-num { grid-column: 1 / 6; padding-left: 20px; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; }
.year-items { grid-column: 6 / 13; list-style: none; padding: 0 20px 0 0; display: grid; gap: 4px; }

.org { padding: 200px var(--margin) 40px; }
.org-chart { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-areas: "left board right" "left ceo right" "teams teams teams"; gap: 8px var(--gutter); margin-top: 48px; }
.org-box { margin: 0; padding: 22px; text-align: center; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; max-width: none; }
.org-board { grid-area: board; background: var(--surface); }
.org-ceo { grid-area: ceo; background: var(--navy); color: var(--navy-ink); }
.org-col { list-style: none; padding: 0; display: grid; gap: 6px; align-content: center; }
.org-col li, .org-teams li { padding: 14px 18px; background: var(--surface); }
.org-left { grid-area: left; }
.org-right { grid-area: right; }
.org-sub { margin-left: 32px; background: #d6dde5 !important; }
.org-teams { grid-area: teams; list-style: none; padding: 0; margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.org-teams li { padding: 22px 18px; font-weight: 500; }
.org-teams .org-strong { background: var(--pale); }

.philosophy { margin-bottom: 140px; }
.philosophy-title { font-size: var(--step-lead); letter-spacing: -0.02em; }
.creed { list-style: none; padding: 0; margin-top: 32px; display: grid; gap: 8px; }
.creed li { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; color: var(--navy); }
.a-list { list-style: none; padding: 0.35em 0 0; display: grid; gap: 6px; }

.notices { padding: 80px var(--margin) 200px; }
.notices-cols { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gutter); margin-top: 48px; }
.board-title { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.2; }
.board-title-gap { margin-top: 48px; }
.board-list { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 4px; }
.board-list a { display: grid; grid-template-columns: 8.5em 1fr; gap: 16px; padding: 16px 18px; background: var(--surface); text-decoration: none; transition: background-color var(--t-hover) ease; }
.board-plain a { grid-template-columns: 1fr; }
.board-list a:hover { background: var(--pale); }
.board-date { color: var(--muted); }
.board-file { display: inline-block; width: 1em; height: 1em; margin-left: 0.4em; vertical-align: -0.125em; fill: none; stroke: var(--muted); stroke-width: 1.75; stroke-linejoin: miter; }

/* ---------- board detail ---------- */
.post-files { margin-top: 56px; display: grid; gap: 4px; }
.post-files a { display: block; padding: 16px 18px; background: var(--surface); text-decoration: none; transition: background-color var(--t-hover) ease; }
.post-files a:hover { background: var(--pale); }
.post-back { margin-top: 56px; }

/* ---------- board list & detail (sub pages: small header, board tabs on the left like history) ---------- */
.subhead { display: grid; grid-template-columns: 34fr 66fr; align-items: start; padding: 28px var(--margin) 0; }
.board-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.board-more { font-size: var(--step-small); color: var(--muted); }
.board-page { min-height: 100svh; padding: 120px var(--margin) 200px; }   /* short lists still cover the sticky footer until scrolled */
.board-body { display: grid; grid-template-columns: 200px 1fr; gap: 40px; margin-top: 56px; }
a.tab { text-decoration: none; }
.board-main { min-width: 0; }
.board-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.board-count { color: var(--muted); }
.board-search { display: flex; gap: 8px; width: min(100%, 26rem); }
.board-search .field { flex: 1; min-width: 0; }
.board-empty { padding: 16px 18px; background: var(--surface); color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 40px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 3rem; min-height: 3rem; padding: 0 0.9rem; background: var(--surface); text-decoration: none; transition: background-color var(--t-hover) ease; }
.pager a:hover { background: var(--pale); }
.pager [aria-current="page"] { background: var(--navy); color: var(--navy-ink); }
.board-post-head { padding: 24px 18px; background: var(--surface); }
.board-post-title { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.3; }
.board-post-facts { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 16px; font-size: var(--step-small); color: var(--muted); }
.board-post-facts div { display: flex; gap: 8px; }
.board-post-facts dd { color: var(--ink); }
.board-post-body { padding: 40px 18px 0; overflow-wrap: anywhere; }
/* text pasted into the editor from other sites carries inline background and font; text follows the theme instead */
.board-post-body p, .board-post-body span, .board-post-body font { background-color: transparent !important; font-family: inherit !important; }

/* ---------- single HTML pages (company_html_page: 개인정보보호정책·신용정보활용체제) ---------- */
/* html_code was pasted from the old theme: small <h5> headings, wrappers (.contentsType1 > .Privacy/.Credit) with their own padding and line-height,
   an inline 50px gap above the intro, <br> spacers between sections. Size and spacing follow the theme; colours stay as the content sets them
   (.color01 blue headings). The inline gap needs !important. */
.html-page-body { max-width: 62ch; margin-inline: auto; }   /* the reading column sits centred in the space beside the tabs; lines stay left-aligned */
.html-page-body .contentsType1 > p:first-child { padding-top: 0 !important; }
.html-page-body .contentsType1 > div { padding: 0; line-height: inherit; }
.html-page-body .contentsType1 > div > br { display: none; }
.html-page-body h4, .html-page-body h5, .html-page-body h6 { margin: 56px 0 16px; font-size: var(--step-lead); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; text-wrap: balance; }
.html-page-body b, .html-page-body strong { font-weight: 600; }

.fraud-lead { font-size: var(--step-lead); line-height: 1.45; letter-spacing: -0.02em; max-width: 34ch; }
.official-rules { list-style: none; padding: 0; display: grid; gap: 10px; }
.official .official-title { margin-top: 28px; }

.contact-dl { margin: 0; display: grid; gap: 14px; }
.contact-dl dt { font-size: var(--step-small); color: var(--muted); }
.contact-dl dd { margin: 2px 0 0; }

@media (max-width: 1100px) {
  .notices-cols { grid-template-columns: 1fr; gap: 48px; }
  .org-chart { grid-template-columns: 1fr 1fr; grid-template-areas: "board board" "ceo ceo" "left right" "teams teams"; }
  .org-col { margin-top: 24px; }
  .org-teams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subhead { grid-template-columns: 38fr 62fr; }
  .post-back { display: flex; width: fit-content; margin-inline: auto; }   /* tablet and mobile: list button centred under the post */
}
@media (max-width: 720px) {
  ol.years { margin: 40px var(--margin) 0; }
  .year { display: block; padding: 16px; }
  .year-num { padding: 0; display: block; }
  .year-items { padding: 0; margin-top: 6px; }
  .org { padding: 112px var(--margin) 24px; }
  .org-col { margin-top: 24px; }
  .org-teams { margin-top: 24px; grid-template-columns: 1fr 1fr; }
  .philosophy { margin-bottom: 96px; }
  .creed li { font-size: 9vw; }
  .notices { padding: 56px var(--margin) 112px; }
  .board-list a { grid-template-columns: 1fr; gap: 2px; }
  .subhead { display: flex; flex-direction: column; padding-top: 20px; }
  .board-page { padding: 56px var(--margin) 112px; }
  .board-body { display: block; margin-top: 40px; }
  .board-body .tab { align-items: center; text-align: center; }   /* phone: board tabs sit side by side, names centred in each */
  .board-main { margin-top: 12px; }
  .board-search { width: 100%; }
  .html-page-body h4, .html-page-body h5, .html-page-body h6 { margin-top: 40px; }
}
.site-ko .check-side { grid-column: 1 / 7; }
.site-ko .check-tool { grid-column: 7 / 13; }
.site-ko .notices-title { padding-right: 0; }
@media (max-width: 1100px) { .site-ko .check-side, .site-ko .check-tool { grid-column: 1 / 13; } }
.site-ko .about-more { font-size: var(--step-body); line-height: 1.7; color: var(--ink); max-width: 52ch; letter-spacing: -0.01em; }
.site-ko .hero-sentence { max-width: 26ch; }
@media (max-width: 720px) {
  .site-ko .about { flex-direction: column; }
  .site-ko .about-side { margin: 0 0 28px; }
  .org-chart { display: flex; flex-direction: column; }
  .org-board { order: 1; } .org-ceo { order: 2; margin-top: 8px; } .org-left { order: 3; } .org-right { order: 4; } .org-teams { order: 5; }
}
