:root {
  --navy: #092f64;
  --navy-deep: #062143;
  --orange: #f5a716;
  --ink: #14263c;
  --muted: #5d6a79;
  --paper: #f7f4ed;
  --line: #d9dee5;
  --white: #fff;
  --serif: "Noto Serif KR", serif;
  --sans: "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }

:focus-visible { outline: 3px solid #e29a00; outline-offset: 4px; }

body { overflow-wrap: break-word; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--sans); background: var(--white); line-height: 1.7; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 76px; padding: 12px clamp(20px, 5vw, 76px); background: rgba(255,255,255,.95); border-bottom: 1px solid rgba(9,47,100,.1); backdrop-filter: blur(14px); }
.brand img { width: 220px; }
nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
nav a { color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 600; }
nav a:hover { color: var(--orange); }
.nav-cta, .button { border: 0; border-radius: 999px; cursor: pointer; font-weight: 700; }
.nav-cta { padding: 11px 19px; color: white; background: var(--navy); }
.menu-toggle { display: none; border: 0; background: transparent; font-weight: 700; color: var(--navy); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(820px, calc(100svh - 76px)); background: var(--paper); }
.hero-copy { align-self: center; min-width: 0; padding: clamp(48px, 6vw, 92px) clamp(28px, 4vw, 64px); }
.eyebrow { margin: 0 0 18px; color: var(--orange); font-size: .78rem; font-weight: 800; letter-spacing: .15em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 100%; margin-bottom: 30px; font-family: var(--serif); font-size: clamp(2.65rem, 4.5vw, 5.25rem); line-height: 1.34; letter-spacing: -.04em; overflow-wrap: keep-all; word-break: keep-all; }
h1 span { display: inline-block; position: relative; z-index: 0; color: var(--navy); white-space: nowrap; }
h1 span::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: .08em; height: .10em; background: var(--orange); opacity: .8; pointer-events: none; }
h1 .hero-final-line { color: var(--ink); }
h1 .hero-final-line::after { display: none; }
.hero-lead { max-width: 560px; color: var(--muted); font-size: clamp(1rem, 1.2vw, 1.18rem); line-height: 1.9; overflow-wrap: break-word; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 40px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; }
.button.primary { color: white; background: var(--navy); box-shadow: 0 12px 30px rgba(9,47,100,.18); }
.button.primary:hover { background: var(--navy-deep); transform: translateY(-1px); }
.text-link { color: var(--navy); font-weight: 700; text-underline-offset: 5px; }
.hero-media { position: relative; min-height: 560px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.image-note { position: absolute; right: 28px; bottom: 24px; margin: 0; padding: 10px 16px; color: var(--navy); background: rgba(255,255,255,.92); font-size: .82rem; font-weight: 700; }

.section-pad { padding: clamp(82px, 10vw, 150px) clamp(24px, 7vw, 110px); }
.manifesto { text-align: center; color: white; background: var(--navy-deep); }
.manifesto-small { margin-bottom: 18px; color: #aebed3; }
.manifesto-main { margin-bottom: 30px; font-family: var(--serif); font-size: clamp(2.3rem, 4vw, 4.6rem); font-weight: 600; line-height: 1.35; }
.manifesto-main::after { content: ""; display: block; width: 58px; height: 4px; margin: 32px auto 0; background: var(--orange); }
.manifesto-body { max-width: 700px; margin: 0 auto; color: #d4dde9; font-size: 1.08rem; }

.section-heading { max-width: 760px; margin-bottom: 56px; }
.section-heading h2, .contact h2 { margin-bottom: 20px; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 4.4rem); line-height: 1.25; letter-spacing: -.035em; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.service-feature { display: grid; grid-template-columns: 1.15fr .85fr; align-items: stretch; background: var(--paper); }
.service-image img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }
.service-copy { padding: clamp(40px, 6vw, 90px); }
.service-index, .output-number { color: var(--orange); font-size: 1.1rem; font-weight: 800; }
.service-copy h3, .output h3 { font-family: var(--serif); font-size: clamp(1.7rem, 2.5vw, 2.7rem); line-height: 1.3; }
.service-copy > p { color: var(--muted); }
blockquote { margin: 36px 0 0; padding-left: 20px; border-left: 4px solid var(--orange); color: var(--navy); font-family: var(--serif); font-size: 1.08rem; font-weight: 600; }
.process { margin-top: 72px; overflow-x: auto; }
.process ol { display: grid; grid-template-columns: repeat(7, minmax(150px, 1fr)); min-width: 1050px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process li { position: relative; padding: 28px 22px 0 0; }
.process li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--orange); }
.process span { display: block; color: var(--orange); font-size: .78rem; font-weight: 800; }
.process strong, .process small { display: block; }
.process strong { margin-top: 6px; color: var(--navy); }
.process small { margin-top: 7px; color: var(--muted); }

.output { color: white; background: var(--navy); }
.section-heading.light h2 { color: white; }
.output-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); }
.output-primary { padding: 48px; border: 1px solid rgba(255,255,255,.2); }
.output-primary p:last-child, .output-secondary p { color: #ccd7e6; }
.output-secondary article { display: grid; grid-template-columns: 48px 150px 1fr; gap: 18px; align-items: start; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.2); }
.output-secondary span { color: var(--orange); font-weight: 800; }
.output-secondary h3 { margin: 0; font-family: var(--sans); font-size: 1.05rem; }
.output-secondary p { margin: 0; font-size: .94rem; }

.partner-roles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-roles > div { padding: 42px 42px 42px 0; }
.partner-roles > div + div { padding-left: 42px; border-left: 1px solid var(--line); }
.partner-roles span { color: var(--orange); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.partner-roles h3 { margin: 12px 0; font-family: var(--serif); font-size: 1.6rem; }
.partner-roles p { margin: 0; color: var(--muted); }
.operator { margin: 28px 0 0; color: var(--muted); font-size: .88rem; }

.contact { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(50px, 8vw, 120px); background: var(--paper); }
.contact-copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); }
.contact-copy .button { margin-top: 20px; }
.contact-details { align-self: center; }
dl { margin: 0; border-top: 1px solid var(--line); }
dl div { display: grid; grid-template-columns: 100px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
dt { font-weight: 700; color: var(--navy); }
dd { margin: 0; color: var(--muted); }
.contact-note { margin-top: 22px; color: var(--muted); font-size: .82rem; }

footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 34px clamp(24px, 7vw, 110px); color: #bfcadb; background: #07182d; }
footer img { width: 190px; background: white; }
footer p, footer small { margin: 0; font-size: .8rem; }
footer small { text-align: right; }

dialog { width: min(92vw, 650px); max-height: 90vh; max-height: 90dvh; padding: 0; border: 0; border-radius: 20px; box-shadow: 0 28px 80px rgba(7,24,45,.35); }
dialog::backdrop { background: rgba(6,22,42,.72); backdrop-filter: blur(4px); }
.dialog-shell { position: relative; display: grid; gap: 16px; max-height: 90vh; max-height: 90dvh; overflow-y: auto; padding: clamp(28px, 5vw, 52px); }
.dialog-shell h2 { margin-bottom: 0; font-family: var(--serif); font-size: 2rem; }
.dialog-intro { color: var(--muted); }
.dialog-close { position: absolute; top: 15px; right: 18px; border: 0; background: transparent; color: var(--navy); font-size: 2rem; cursor: pointer; }
label { display: grid; gap: 7px; color: var(--navy); font-size: .9rem; font-weight: 700; }
input, textarea, select { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: white; }
textarea { resize: vertical; }
.full { width: 100%; margin-top: 8px; }
.form-status { min-height: 24px; margin: 0; color: var(--navy); font-size: .88rem; text-align: center; }
.reveal { opacity: 1; transform: none; }
.js-enabled .reveal { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease; }
.js-enabled .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 22px; flex-direction: column; align-items: stretch; background: white; border-bottom: 1px solid var(--line); }
  nav.open { display: flex; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .hero-copy { order: 1; padding: clamp(48px, 8vw, 76px) clamp(24px, 6vw, 52px); }
  .hero-media { order: 2; min-height: clamp(300px, 55vw, 520px); max-height: 620px; }
  .service-feature, .output-layout, .contact { grid-template-columns: 1fr; }
  .partner-roles { grid-template-columns: 1fr; }
  .partner-roles > div { padding: 30px 0; }
  .partner-roles > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer img { margin: 0 auto; }
  footer small { text-align: center; }
}

@media (max-width: 640px) {
  .hero-sunset .hero-copy { width: 100%; padding: 100px 24px 56px; }
  .hero-sunset h1 { width: 100%; font-size: clamp(1.75rem, 6.4vw, 2.6rem); line-height: 1.35; }
  .hero-sunset .hero-heading-line { white-space: normal; }
  .brand img { width: 172px; }
  .hero-copy { padding: 52px 24px 64px; }
  .hero-media { min-height: 300px; max-height: 460px; }
  h1 { font-size: clamp(2.35rem, 8.5vw, 3.2rem); line-height: 1.38; letter-spacing: -.035em; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .section-pad { padding: 76px 24px; }
  .service-copy, .output-primary { padding: 32px 24px; }
  .output-secondary article { grid-template-columns: 38px 1fr; }
  .output-secondary p { grid-column: 2; }
  .image-note { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* ------------------------------------------------------------------
   Readability and responsive-layout pass (all sections)
   Keep content visible, prevent collisions, and avoid forced scrolling.
   ------------------------------------------------------------------ */
:root {
  --accent-ink: #895500;
  --body-measure: 68ch;
}

html { scroll-padding-top: 96px; }
body {
  overflow-wrap: break-word;
  word-break: normal;
  line-height: 1.75;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
main { min-width: 0; }
section, article, div { min-width: 0; }
p, li, dd, blockquote {
  overflow-wrap: break-word;
  word-break: keep-all;
}
img { height: auto; }

.site-header { gap: clamp(16px, 2vw, 32px); }
.brand { flex: 0 1 auto; min-width: 0; }
.brand img { width: clamp(150px, 16vw, 210px); height: auto; }
nav { gap: clamp(12px, 1.55vw, 26px); }
nav a { line-height: 1.5; white-space: nowrap; }
nav a:hover { color: var(--accent-ink); }
.nav-cta { flex: 0 0 auto; min-height: 44px; }

.hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  min-height: 0;
}
.hero-copy { padding: clamp(48px, 5vw, 76px) clamp(28px, 4.3vw, 68px); }
.hero-copy > * { max-width: 100%; }
.eyebrow {
  color: var(--accent-ink);
  line-height: 1.55;
  letter-spacing: .1em;
  overflow-wrap: anywhere;
}
h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 4.25vw, 4.35rem);
  line-height: 1.48;
  letter-spacing: -.045em;
  margin-bottom: 28px;
  text-wrap: pretty;
}
h1 span {
  display: inline-block;
  max-width: 100%;
  padding-bottom: .08em;
  line-height: 1.45;
  vertical-align: baseline;
}
h1 span::after {
  bottom: .02em;
  height: .075em;
}
h1 .hero-final-line { padding-bottom: 0; }
.hero-lead {
  max-width: 48ch;
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.9;
  text-wrap: pretty;
}
.hero-actions { flex-wrap: wrap; gap: 14px 22px; margin-top: 30px; }
.hero-media { min-height: 0; height: auto; align-self: stretch; }
.hero-media img { min-height: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.image-note { max-width: calc(100% - 32px); line-height: 1.5; }

.section-pad { padding: clamp(64px, 7.5vw, 112px) clamp(24px, 6.5vw, 96px); }
.manifesto-small { line-height: 1.7; }
.manifesto-main {
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  line-height: 1.55;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.manifesto-body { max-width: 62ch; line-height: 1.95; text-wrap: pretty; }
.section-heading {
  max-width: 780px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-heading h2, .contact h2 {
  max-width: 24ch;
  font-size: clamp(1.9rem, 3.45vw, 3.5rem);
  line-height: 1.45;
  letter-spacing: -.035em;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: keep-all;
}
.section-heading > p:last-child,
.contact-copy > p:not(.eyebrow) {
  max-width: 65ch;
  font-size: 1rem;
  line-height: 1.9;
  text-wrap: pretty;
}

.service-feature { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.service-image { min-width: 0; min-height: 0; }
.service-image img { min-height: 100%; height: 100%; object-fit: cover; }
.service-copy { padding: clamp(30px, 4.4vw, 64px); }
.service-copy h3, .output h3 {
  font-size: clamp(1.55rem, 2.2vw, 2.25rem);
  line-height: 1.5;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.service-copy > p, .service-copy blockquote { line-height: 1.9; text-wrap: pretty; }
blockquote { font-size: 1rem; line-height: 1.9; }
.service-index, .output-number { color: var(--accent-ink); }

.process { margin-top: 56px; overflow: visible; }
.process ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 20px;
  min-width: 0;
  border-top: 0;
}
.process li {
  min-width: 0;
  padding: 22px 12px 0 0;
  border-top: 1px solid var(--line);
}
.process li::before { top: -6px; }
.process span { color: var(--accent-ink); }
.process strong { line-height: 1.55; overflow-wrap: break-word; }
.process small { font-size: .84rem; line-height: 1.65; overflow-wrap: break-word; }

.output-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
.output-primary { padding: clamp(28px, 3.5vw, 44px); }
.output-primary p, .output-secondary p { line-height: 1.85; text-wrap: pretty; }
.output-secondary article {
  grid-template-columns: 40px minmax(100px, .8fr) minmax(0, 1.5fr);
  gap: 14px;
  padding: 22px 0;
}
.output-secondary h3 { line-height: 1.6; }
.output-secondary p { overflow-wrap: break-word; }

.partner-roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.partner-roles > div { padding: 32px 28px 32px 0; }
.partner-roles > div + div { padding-left: 28px; }
.partner-roles span { color: var(--accent-ink); line-height: 1.6; }
.partner-roles h3 { font-size: clamp(1.25rem, 1.6vw, 1.55rem); line-height: 1.5; }
.partner-roles p { line-height: 1.85; text-wrap: pretty; }
.operator { line-height: 1.7; }

.contact { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 80px); }
.contact-copy, .contact-details { min-width: 0; }
dl div { grid-template-columns: minmax(78px, 100px) minmax(0, 1fr); gap: 14px; }
dt, dd { line-height: 1.7; overflow-wrap: break-word; }
.contact-note { line-height: 1.8; }

footer { grid-template-columns: minmax(140px, auto) minmax(0, 1fr) minmax(180px, auto); gap: 20px; }
footer img { max-width: 100%; height: auto; }
footer p, footer small { line-height: 1.8; }

dialog { max-width: calc(100vw - 24px); }
.dialog-shell { gap: 14px; }
.dialog-shell h2 { font-size: clamp(1.55rem, 4vw, 2rem); line-height: 1.45; text-wrap: balance; }
.dialog-intro, label { line-height: 1.75; }
input, textarea, select { min-height: 46px; }
textarea { min-height: 110px; }
.button, .nav-cta, .menu-toggle { line-height: 1.5; }

/* Mid-sized screens: stack content before columns become too narrow. */
@media (max-width: 1100px) {
  .site-header { padding-inline: 24px; }
  .brand img { width: 170px; }
  nav { gap: 14px; }
  nav a { font-size: .84rem; }
  .nav-cta { padding-inline: 15px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  h1 { font-size: clamp(2.5rem, 4vw, 3.6rem); }
  .output-secondary article { grid-template-columns: 36px minmax(0, 1fr); }
  .output-secondary p { grid-column: 2; }
}

@media (max-width: 980px) {
  .site-header { min-height: 72px; }
  .brand img { width: 180px; }
  nav {
    top: 72px;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    padding: 20px 24px 24px;
    gap: 4px;
  }
  nav a { padding: 10px 0; font-size: 1rem; }
  nav .nav-cta { margin-top: 10px; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: clamp(44px, 7vw, 72px) clamp(24px, 6vw, 56px); }
  h1 { max-width: 13ch; font-size: clamp(2.7rem, 6.2vw, 4.1rem); }
  .hero-media { min-height: clamp(300px, 55vw, 500px); max-height: 540px; }
  .hero-media img { min-height: 0; }
  .service-feature, .output-layout, .contact { grid-template-columns: minmax(0, 1fr); }
  .service-image img { height: clamp(280px, 48vw, 460px); min-height: 0; }
  .service-copy { padding: clamp(30px, 6vw, 56px); }
  .output-primary { padding: clamp(28px, 5vw, 42px); }
  .partner-roles { grid-template-columns: minmax(0, 1fr); }
  .partner-roles > div, .partner-roles > div + div { padding: 26px 0; border-left: 0; }
  .partner-roles > div + div { border-top: 1px solid var(--line); }
  .contact { gap: 42px; }
  footer { grid-template-columns: minmax(0, 1fr); text-align: center; }
  footer img { margin: 0 auto; }
  footer small { text-align: center; }
}

@media (max-width: 640px) {
  .site-header { padding: 10px 18px; }
  .brand img { width: 158px; }
  .menu-toggle { min-height: 44px; padding: 8px 10px; }
  .hero-copy { padding: 44px 22px 50px; }
  .hero-copy .eyebrow { font-size: .72rem; letter-spacing: .08em; }
  h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 8vw, 3rem);
    line-height: 1.52;
    letter-spacing: -.04em;
    margin-bottom: 22px;
  }
  h1 span { padding-bottom: .1em; }
  h1 span::after { height: .065em; bottom: .035em; }
  .hero-lead { font-size: .98rem; line-height: 1.85; }
  .hero-actions { gap: 18px; margin-top: 26px; }
  .hero-actions .button { width: 100%; }
  .hero-media { min-height: 280px; max-height: 390px; }
  .image-note { right: 12px; bottom: 12px; padding: 8px 11px; font-size: .76rem; }
  .section-pad { padding: 64px 22px; }
  .manifesto-main { font-size: clamp(1.75rem, 6.8vw, 2.5rem); line-height: 1.6; }
  .manifesto-body { font-size: .98rem; line-height: 1.9; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2, .contact h2 { font-size: clamp(1.7rem, 6.5vw, 2.4rem); line-height: 1.5; }
  .section-heading > p:last-child, .contact-copy > p:not(.eyebrow) { font-size: .96rem; }
  .service-image img { height: 260px; }
  .service-copy { padding: 28px 22px; }
  .service-copy h3, .output h3 { font-size: 1.45rem; line-height: 1.55; }
  blockquote { margin-top: 26px; padding-left: 14px; font-size: .98rem; }
  .process { margin-top: 44px; }
  .process ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .process li { padding: 20px 8px 0 0; }
  .process strong { font-size: .96rem; }
  .process small { font-size: .8rem; }
  .output-primary { padding: 26px 22px; }
  .output-secondary article { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 20px 0; }
  .output-secondary p { font-size: .92rem; }
  .partner-roles h3 { font-size: 1.35rem; }
  dl div { grid-template-columns: 74px minmax(0, 1fr); gap: 10px; padding: 15px 0; }
  .contact-copy .button { width: 100%; }
  footer { padding: 28px 22px; }
  footer img { width: 165px; }
  dialog { width: calc(100vw - 20px); max-height: 92dvh; border-radius: 14px; }
  .dialog-shell { max-height: 92dvh; padding: 28px 20px 22px; }
  .dialog-close { top: 8px; right: 12px; min-width: 44px; min-height: 44px; }
}

@media (max-width: 360px) {
  .brand img { width: 138px; }
  .hero-copy { padding-inline: 18px; }
  h1 { font-size: 2rem; }
  .section-pad { padding-inline: 18px; }
  .process ol { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Typography and service-step redesign: stronger hierarchy, larger numerals, clearer cards. */
.hero-copy > .eyebrow {
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.55;
  margin-bottom: clamp(20px, 2vw, 28px);
  color: var(--accent-ink);
}

.service-index,
.output-number {
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -.035em;
  font-weight: 800;
  margin-bottom: 18px;
}

.process { margin-top: clamp(42px, 5vw, 64px); }
.process ol {
  gap: 18px;
  align-items: stretch;
}
.process li {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 174px;
  padding: 22px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 18px rgb(19 42 75 / 5%);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.process li::before {
  content: none;
}
.process li:hover {
  transform: translateY(-3px);
  border-color: rgb(236 155 42 / 70%);
  box-shadow: 0 12px 26px rgb(19 42 75 / 9%);
}
.process span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 52px;
  min-height: 42px;
  margin-bottom: 16px;
  padding: 2px 9px;
  border-radius: 9px;
  background: #fff2d9;
  color: #8b4b00;
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.process strong {
  margin-top: 0;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.45;
  font-weight: 800;
  color: var(--navy);
}
.process small {
  margin-top: 8px;
  font-size: .94rem;
  line-height: 1.65;
  color: var(--muted);
}

/* The logo is now a transparent PNG, so it sits cleanly on any section background. */
.brand img { width: clamp(170px, 18vw, 230px); }
footer img { width: clamp(170px, 18vw, 220px); }

@media (max-width: 1100px) {
  .process ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand img { width: 190px; }
}
@media (max-width: 980px) {
  .process ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy > .eyebrow { font-size: clamp(1.05rem, 2.5vw, 1.25rem); }
}
@media (max-width: 640px) {
  .hero-copy .eyebrow {
    font-size: 1.03rem;
    letter-spacing: -.025em;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .service-index,
  .output-number { font-size: 1.7rem; margin-bottom: 14px; }
  .process { margin-top: 38px; }
  .process ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .process li { min-height: 166px; padding: 16px 13px 17px; border-radius: 12px; }
  .process span { min-width: 46px; min-height: 38px; margin-bottom: 13px; font-size: 1.22rem; }
  .process strong { font-size: 1rem; line-height: 1.5; }
  .process small { font-size: .88rem; line-height: 1.6; }
  .brand img { width: 160px; }
  footer img { width: 170px; }
}
@media (max-width: 360px) {
  .process ol { grid-template-columns: minmax(0, 1fr); }
  .process li { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .process li { transition: none; }
  .process li:hover { transform: none; }
}


/* Final polish: navigation distribution and unified orange accent */
:root { --orange: #f5a716; --accent-ink: #e87900; }
.site-header { justify-content: flex-start; gap: clamp(28px, 4vw, 72px); }
.site-header .brand { flex: 0 0 auto; }
.site-header nav { flex: 1 1 auto; display: flex; justify-content: space-evenly; align-items: center; gap: clamp(18px, 2.5vw, 42px); }
.site-header nav a { font-size: clamp(1rem, 1.12vw, 1.12rem); font-weight: 700; white-space: nowrap; }
.output-number, .output-secondary article > span { color: var(--orange) !important; }
.output-number { font-size: clamp(2.25rem, 3.2vw, 3.15rem) !important; font-weight: 800; line-height: 1.05; }
.output-secondary article > span { font-size: clamp(1.75rem, 2.4vw, 2.3rem) !important; font-weight: 800; }
/* Keep the consultation CTA's existing appearance and placement. */
@media (max-width: 980px) { .site-header { justify-content: space-between; gap: 16px; } .site-header nav { flex: initial; justify-content: initial; } .site-header nav a { font-size: 1rem; } }

/* Output section consistency: keep secondary numbers at the original compact size
   and make all output titles share the same sans-serif typographic treatment. */
.output-secondary article > span {
  font-size: 1rem !important;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.output-primary h3,
.output-secondary article h3 {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -.02em;
}
@media (max-width: 640px) {
  .output-secondary article > span { font-size: 1rem !important; }
  .output-primary h3,
  .output-secondary article h3 { font-size: 1.05rem; }
}


/* Targeted update: sunset family hero, writer profile popups, and service bars */
.site-header.hero-header {
  position: absolute; top: 0; left: 0; right: 0; width: 100%;
  min-height: 76px; background: linear-gradient(180deg, rgba(12,28,25,.48), rgba(12,28,25,.08));
  border-bottom: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(5px);
}
.hero-header .brand img { filter: brightness(0) invert(1); }
.hero-header nav a { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.hero-header .nav-cta { color: #173b32; background: #fff; }
.hero-header .menu-toggle { color: #fff; }
.hero-sunset {
  display: flex; align-items: center; position: relative; isolation: isolate;
  min-height: clamp(915px, 117vh, 1200px); padding-top: 76px;
  background-image: linear-gradient(90deg, rgba(12,30,25,.68) 0%, rgba(12,30,25,.34) 38%, rgba(12,30,25,.03) 78%), linear-gradient(0deg, rgba(11,30,24,.30), transparent 42%), url('assets/hero-family-sunset.jpg');
  background-size: cover; background-position: center 52%; color: #fff;
}
.hero-sunset .hero-copy { width: min(1100px, 88%); padding: clamp(68px, 8vw, 112px) clamp(28px, 5vw, 76px) 76px; transform: translateY(-16px); }
.hero-sunset .eyebrow { color: #fff0c8; }
.hero-sunset h1 { max-width: none; width: max-content; max-width: 100%; color: #fff; font-size: clamp(1.9rem, 3.25vw, 3.4rem); line-height: 1.3; letter-spacing: -.035em; text-shadow: 0 2px 18px rgba(0,0,0,.22); }
.hero-sunset .hero-heading-line { display: block; white-space: nowrap; }
.hero-sunset .hero-heading-line-last { margin-top: .08em; }
.hero-sunset h1 span { color: #fff; }
.hero-sunset h1 span::after { display: none; }
.hero-sunset .hero-lead { color: rgba(255,255,255,.95); text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.hero-sunset .hero-values-note { max-width: 760px; margin: 24px 0 0; color: rgba(255,255,255,.96); font-size: clamp(.82rem, 1.15vw, 1rem); line-height: 1.7; font-weight: 500; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.hero-sunset .button.primary { color: #17382f; background: #fff; box-shadow: 0 6px 22px rgba(0,0,0,.14); }
.hero-tagline { padding: 17px 24px; text-align: center; white-space: nowrap; overflow-x: auto; color: #fff; background: #243e31; font-size: clamp(.85rem, 1.4vw, 1.08rem); font-weight: 600; letter-spacing: .01em; }
.service-index { display: flex; align-items: center; width: 86px; height: 15px; margin: 0 0 22px; overflow: hidden; color: transparent; font-size: 0; background: var(--orange); border-radius: 1px; }
.process li span { display: block; width: 48px; height: 9px; margin-bottom: 14px; overflow: hidden; color: transparent; font-size: 0; background: var(--orange); border-radius: 1px; }
.operator.profile-launch { border: 0; padding: 0; background: transparent; cursor: pointer; font: inherit; text-align: left; color: var(--navy); font-weight: 700; }
.profile-launch span { margin-left: 10px; }
.writers-dialog, .writer-detail-dialog { width: min(92vw, 720px); max-height: 90dvh; overflow: auto; }
.writers-shell, .writer-detail-shell { position: relative; padding: clamp(26px, 4vw, 44px); }
.writers-shell h2, .writer-detail-shell h2 { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.2rem); }
.writers-shell .dialog-intro { margin-bottom: 26px; }
.writer-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.writer-card { display: grid; justify-items: center; gap: 8px; padding: 15px 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s, transform .2s; }
.writer-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.writer-card strong { font-size: .95rem; }
.writer-card > span:last-child { color: var(--muted); font-size: .75rem; }
.writer-avatar, .writer-detail-avatar { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; color: white; background: linear-gradient(135deg, #31584a, #d4a46c); font-family: var(--serif); font-size: 1.5rem; font-weight: 700; }
.writer-avatar.placeholder { color: #64756e; background: #e9eeeb; }
.writer-detail-dialog { width: min(92vw, 560px); }
.writer-detail-shell { display: grid; gap: 12px; }
.writer-detail-avatar { width: 88px; height: 88px; font-size: 2rem; }
.writer-detail-shell .eyebrow { margin-bottom: 0; }
.writer-detail-shell h2 { margin-bottom: 0; }
.writer-role { color: var(--muted); margin: 0; }
.writer-detail-shell h3 { margin: 12px 0 0; font-size: 1rem; }
.writer-detail-shell p { line-height: 1.85; }
@media (max-width: 980px) {
  .site-header.hero-header { position: absolute; }
  .hero-header nav { top: 76px; background: rgba(20,39,32,.96); }
  .hero-header nav a { color: #fff; }
  .hero-sunset { min-height: 1020px; background-position: 56% center; }
  .hero-sunset .hero-copy { width: 90%; padding: 120px 28px 60px; }
}
@media (max-width: 640px) {
  .hero-sunset { min-height: 975px; background-position: 58% center; }
  .hero-sunset .hero-copy { width: 100%; padding: 116px 24px 48px; }
  .hero-sunset h1 { font-size: clamp(2.1rem, 9vw, 3.2rem); }
  .hero-tagline { padding: 14px 12px; font-size: .78rem; }
  .writer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .writer-avatar { width: 54px; height: 54px; }
}

/* Final refinements: readable numbered process and seamless contact/footer */
.process li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 52px;
  min-height: 42px;
  margin: 0 0 16px;
  padding: 2px 9px;
  overflow: visible;
  border-radius: 9px;
  background: #fff2d9;
  color: #8b4b00;
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.contact,
footer {
  background: var(--paper);
}
footer {
  color: var(--muted);
  border-top: 1px solid var(--line);
}
footer img {
  display: block;
  height: auto;
  background: transparent;
  object-fit: contain;
}

/* Hero headline emphasis: bold orange underline on "삶의 지혜" */
.hero-copy h1 .hero-highlight {
  text-decoration-line: underline;
  text-decoration-color: #F47B20;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.12em;
  text-decoration-skip-ink: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

@media (max-width: 640px) { .hero-sunset .hero-copy { transform: translateY(-8px); padding-top: 88px; } .hero-sunset .hero-values-note { font-size: .82rem; margin-top: 20px; } }


/* Hero copy repositioning: lift headline and keep CTA-focused layout */
.hero-sunset .hero-copy { transform: translateY(-100px); }
.hero-sunset .hero-actions { margin-top: 26px; }
@media (max-width: 980px) { .hero-sunset .hero-copy { transform: translateY(-38px); } }
@media (max-width: 640px) { .hero-sunset .hero-copy { transform: translateY(-30px); } }
html body .hero-sunset .hero-copy {
  transform: translateY(-130px) !important;
}
/* 책자 인쇄물만 크기 조정 */
.output-primary h3 {
  font-size: 2rem !important;
}

/* 01 숫자만 작게 조정 */
.output-primary .output-number {
  font-size: 1.5rem !important;
}