@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&display=swap');

/* Shared visual system for the Korean, English and legacy entry pages. */
:root {
  --ink: #1c303b;
  --blue: #267b91;
  --pale: #f3f6f5;
  --muted: #65747b;
  --line: #dfe6e5;
  --dark: #152b36;
  --font: 'Manrope', 'Noto Sans KR', sans-serif;
  --content-width: min(90vw, 1920px);
  --page-edge: clamp(16px, 1.4vw, 32px);
  --header-height: clamp(88px, 5.7vw, 112px);
  --gutter: max(24px, calc((100% - var(--content-width)) / 2));
  --body-size: clamp(15px, calc(.55vw + 8px), 20px);
  --section-space: clamp(72px, 7vw, 144px);
}

body { font-size: var(--body-size); -webkit-font-smoothing: antialiased; }
html { scroll-padding-top: 28px; }
html:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }
::selection { background: #c7e2e5; color: #17343d; }
a, button, input, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid #30869b; outline-offset: 6px; }
button { font-family: var(--font); }
.site-shell { overflow: clip; }
img, svg { max-width: 100%; }
.hero-content, .about-layout > *, .principles > *, .solution-list > *,
.featured-product > *, .market-list > *, .footer-bottom > *,
.portfolio-grid > *, .fact-grid > *, .inquiry-form > * { min-width: 0; }

.header, .sub-header {
  position: relative;
  height: var(--header-height);
  padding: 0 var(--gutter);
  border: 0;
  background: #fff;
}
.brand { gap: 10px; }
.brand-logo { width: clamp(40px, 2.3vw, 52px); height: clamp(40px, 2.3vw, 52px); }
.brand b { font-size: clamp(18px, 1.2vw, 25px); letter-spacing: .12em; }
.brand small { display: block; margin-top: 5px; font-size: 8px; letter-spacing: .37em; }
.nav { gap: 34px; }
.nav a {
  position: relative;
  padding: 12px 0;
  font: 500 clamp(13px, .75vw, 18px) var(--font);
  letter-spacing: -.01em;
  color: #57666d;
}
.nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 4px;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.nav a[aria-current='page'] { color: var(--ink); }
.header-actions { gap: 28px; margin-left: 26px; }
.language-toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; color: #69767d; font: 500 clamp(12px, .65vw, 16px) var(--font); }
.language-toggle span:nth-child(2) { color: #c3cccf; }

.hero {
  min-height: clamp(560px, calc(100vh - var(--header-height) - 24px), 1080px);
  min-height: clamp(560px, calc(100svh - var(--header-height) - 24px), 1080px);
  margin: 0 var(--page-edge);
  padding: clamp(56px, 8vh, 140px) max(24px, calc(var(--gutter) - var(--page-edge))) clamp(28px, 3.5vh, 52px);
  border-radius: 20px;
  overflow: hidden;
  background: #102631;
}
.hero .hero-art { filter: saturate(.56); object-position: center; }
.hero::before {
  background: linear-gradient(90deg, rgba(12, 30, 40, .89), rgba(12, 30, 40, .55) 46%, rgba(12, 30, 40, .08) 100%);
}
.hero-content { max-width: min(900px, 58%); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 600 clamp(10px, .6vw, 14px) var(--font);
  letter-spacing: .16em;
  margin: 0 0 26px;
  color: var(--blue);
}
.eyebrow::before { content: ''; flex: 0 0 24px; height: 1px; background: currentColor; opacity: .65; }
.eyebrow.light { color: #a6d4dc; }
.hero h1 {
  font-size: clamp(48px, 4.5vw, 104px);
  line-height: 1.14;
  letter-spacing: -.055em;
  font-weight: 600;
}
.hero h1 em { color: #a6d4dc; }
html:lang(ko) .hero h1 { font-size: clamp(44px, 4vw, 96px); line-height: 1.25; letter-spacing: -.055em; }
.hero-copy { max-width: 50ch; margin: 26px 0 32px; font-size: var(--body-size); line-height: 1.9; color: #c4cfd3; }
.hero-cta { gap: 28px; }
.button {
  min-height: 50px;
  padding: 15px 22px;
  gap: 28px;
  border-radius: 6px;
  font-size: clamp(13px, .8vw, 18px);
  font-weight: 600;
  letter-spacing: 0;
  transition: background .2s, box-shadow .2s;
}
.button:hover { transform: none; }
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: #1d6478; box-shadow: 0 4px 16px #152b3614; }
.hero .button-primary { color: #213a43; background: #e7f0ef; }
.hero .button-primary:hover { background: #fff; }
.text-link { font: 600 clamp(13px, .75vw, 17px) var(--font); letter-spacing: 0; gap: 18px; min-height: 44px; }
.text-link.light { color: #e1e9e9; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: min(100%, 1000px);
  margin-top: auto;
  padding-top: 60px;
}
.hero-stats div { gap: 12px; padding-top: 17px; border-top: 1px solid #c8dce433; }
.hero-stats span { font-size: clamp(10px, .6vw, 14px); color: #9ebbc3; }
.hero-stats p { font-size: clamp(12px, .75vw, 17px); line-height: 1.6; color: #ccd8dc; }
.scroll-prompt { right: 38px; bottom: 40px; transform: none; color: #bdcdd2; font: 500 9px var(--font); letter-spacing: .12em; }
.scroll-prompt span:first-child { background: #a6d4dc; }

.section { padding: var(--section-space) var(--gutter); }
.section-heading h2, .featured-product h2, .sub-closing h2, .about-statement h2 {
  font-size: clamp(34px, 3.3vw, 72px);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -.05em;
}
html:lang(ko) .section-heading h2, html:lang(ko) .featured-product h2,
html:lang(ko) .sub-closing h2, html:lang(ko) .about-statement h2 { line-height: 1.38; }
.about-layout { grid-template-columns: 1.1fr .8fr; gap: clamp(40px, 6vw, 140px); padding: 42px 0 52px; border-bottom: 0; }
.about-lead { max-width: 48ch; font-size: clamp(19px, 1.5vw, 32px); font-weight: 500; line-height: 1.8; letter-spacing: -.025em; }
.about-copy { max-width: 52ch; font-size: var(--body-size); line-height: 1.9; }
.about-copy p { margin-bottom: 23px; }
.principles { gap: 0; padding-top: 0; border-top: 1px solid var(--line); }
.principle { min-height: 190px; padding: 28px 30px 0; border: 0; border-right: 1px solid var(--line); }
.principle:first-child { padding-left: 0; }
.principle:last-child { border-right: 0; }
.principle-no { position: absolute; top: 32px; right: 30px; font-size: 10px; color: #849398; }
.line-icon { display: flex; margin: 0 0 25px; color: #377b89; }
.line-icon svg { width: 27px; height: 27px; }
.principle h3 { margin-bottom: 9px; font-size: clamp(16px, 1.1vw, 24px); font-weight: 600; letter-spacing: -.02em; }
.principle p { max-width: 36ch; font-size: clamp(13px, .85vw, 18px); line-height: 1.7; }
.heading-row { align-items: flex-end; gap: 44px; }
.heading-side { max-width: 34ch; font-size: var(--body-size); line-height: 1.85; margin-bottom: 6px; }
.solutions { background: #f3f6f5; }
.solution-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 1.5vw, 32px); margin-top: 48px; }
.solution-card, .solution-card.featured {
  position: relative;
  min-height: clamp(452px, 27vw, 620px);
  padding: clamp(24px, 2vw, 42px);
  border: 1px solid #e1e8e6;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.solution-card:hover { transform: none; border-color: #9fbcbf; box-shadow: 0 8px 24px #203c4508; }
.solution-index { position: absolute; top: 30px; right: 30px; font-size: 10px; color: #839196; }
.solution-top { flex-direction: column; align-items: flex-start; gap: 23px; margin: 0 0 17px; }
.solution-icon, .featured .solution-icon { width: 44px; height: 44px; background: #edf4f3; color: #377b89; border-radius: 10px; }
.solution-icon svg { width: 24px; height: 24px; }
.solution-top p { margin: 0; font: 600 10px var(--font); letter-spacing: .12em; color: #657d83; }
.solutions .solution-card h3 { font-size: clamp(24px, 2.1vw, 42px); font-weight: 600; letter-spacing: -.04em; line-height: 1.3; }
.solutions .solution-summary, .solution-card.featured .solution-summary { min-height: 3.6em; margin: 18px 0 24px; font-size: var(--body-size); line-height: 1.8; color: var(--muted); }
.solutions .solution-card ul, .solution-card.featured ul { padding-top: 21px; border-color: var(--line); font-size: clamp(13px, .85vw, 18px); line-height: 1.75; }
.solution-card li, .solution-card.featured li { color: #5a6b73; padding: 0 0 10px 14px; }
.solution-card li::before { color: #5a919a; }

.featured-product {
  min-height: 0;
  margin: clamp(36px, 5vw, 100px) var(--page-edge);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: 16px;
  overflow: hidden;
  background: #f0f4f3;
  color: var(--ink);
}
.product-visual { min-height: clamp(380px, 30vw, 700px); }
.generated-product-art > img { filter: saturate(.55); }
.product-visual > p { left: 32px; bottom: 20px; color: #fff; font-size: 10px; }
.product-content { padding: 62px clamp(30px, 4.5vw, 70px); }
.product-content .eyebrow.light { color: var(--blue); }
.featured-product h2 { font-size: clamp(31px, 2.8vw, 64px); }
.product-content > p:not(.eyebrow) { max-width: 55ch; color: var(--muted); font-size: var(--body-size); line-height: 1.9; margin: 24px 0 30px; }
.product-points { border-color: #d5e0de; }
.product-points div { padding: 14px 0; border-color: #d5e0de; }
.product-points span { color: var(--blue); }
.product-points b { font-size: clamp(13px, .85vw, 18px); font-weight: 500; }
.network { padding-top: 56px; padding-bottom: 100px; }
.world-map.generated-map { width: 100%; max-width: none; height: auto; aspect-ratio: 1600 / 820; margin: 38px auto 22px; }
.generated-map > img { object-fit: contain; object-position: center; filter: none; }
.generated-map .map-pin { display: block; width: 8px; height: 8px; font-size: 9px; color: #354c55; transform: translate(-50%, -50%); }
.generated-map .map-pin i { display: block; }
.generated-map .map-pin b { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); white-space: nowrap; }
.generated-map .map-pin.eu b { left: auto; right: 15px; }
.generated-map .map-pin.me b { left: 50%; top: 17px; transform: translateX(-50%); }
.generated-map .map-pin.kr b { left: auto; right: 0; top: auto; bottom: 16px; transform: none; }
.generated-map .map-pin.eu { left: 50.4%; top: 21.1%; }
.generated-map .map-pin.tr { left: 58.1%; top: 27.8%; }
.generated-map .map-pin.me { left: 61.1%; top: 34%; }
.generated-map .map-pin.kr { left: 80.1%; right: auto; top: 29.3%; }
.map-pin i { width: 8px; height: 8px; background: #377b89; box-shadow: 0 0 0 4px #377b8918; }
.market-list { gap: 28px; }
.market-list div { padding-top: 21px; }
.market-list span { font-size: 10px; }
.market-list b { font-size: clamp(13px, .8vw, 18px); font-weight: 600; }
.market-list p { font-size: clamp(13px, .8vw, 18px); line-height: 1.7; }

.footer.footer-rich { padding: 0 var(--gutter); background: #152b36; color: #adbec4; }
.footer-rich .footer-top { min-height: 245px; gap: 40px; border-color: #ffffff21; }
.footer-rich .footer-top h2 { font-size: clamp(29px, 2.8vw, 60px); line-height: 1.3; font-weight: 500; letter-spacing: -.045em; }
.footer-rich .eyebrow { margin-bottom: 20px; }
.footer-rich .button-primary { border: 1px solid #b6cdd15c; background: transparent; color: #e0ecee; }
.footer-rich .button-primary:hover { background: #ffffff0d; }
.footer-rich .footer-bottom { min-height: 180px; grid-template-columns: .9fr 1.6fr 1.2fr auto; gap: 28px; font: 400 clamp(12px, .7vw, 16px)/1.9 var(--font); }
.footer-rich .footer-company strong { display: inline-block; margin-bottom: 7px; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: #e4ecee; }
.footer-rich .brand-logo { width: 36px; height: 36px; }
.footer .to-top { font: 500 10px var(--font); color: #b9cbd0; letter-spacing: .04em; }
.footer-rich .footer-contact { font-size: 10px; }

/* Interior pages use the same type scale and restrained surfaces. */
.sub-hero {
  min-height: clamp(340px, 38vh, 540px);
  margin: 0 var(--page-edge);
  padding: clamp(48px, 5vw, 100px) max(24px, calc(var(--gutter) - var(--page-edge)));
  background: #eff4f3;
  color: var(--ink);
  border-radius: 16px;
}
.sub-hero::after { width: 380px; height: 380px; right: -100px; top: -220px; border-color: #a9c2c24d; box-shadow: 0 0 0 65px #bfd5d417, 0 0 0 130px #bfd5d417; }
.sub-hero .eyebrow.light { color: var(--blue); }
.sub-hero > div { max-width: min(100%, 1160px); }
.sub-hero h1 { font-size: clamp(39px, 4vw, 88px); font-weight: 600; line-height: 1.2; letter-spacing: -.05em; }
html:lang(ko) .sub-hero h1 { line-height: 1.35; }
.sub-hero > div > p:last-child { max-width: 62ch; color: var(--muted); font-size: var(--body-size); line-height: 1.9; }
.sub-content { padding: var(--section-space) var(--gutter); }
.about-page-lead { max-width: 52ch; font-size: clamp(21px, 1.8vw, 36px); line-height: 1.8; font-weight: 500; letter-spacing: -.03em; }
.fact-grid { gap: 32px; margin: 65px 0; }
.fact-grid article { border-top: 1px solid var(--line); padding-top: 24px; }
.fact-grid h3 { font-size: 16px; font-weight: 600; margin-top: 28px; }
.fact-grid p { font-size: 13px; line-height: 1.8; }
.about-statement { padding: 54px; border-radius: 12px; background: var(--pale); }
.about-statement > p:not(.eyebrow) { font-size: 14px; line-height: 1.9; }
.portfolio-grid { background: #fff; gap: 24px; }
.portfolio-card { min-height: 340px; padding: 34px; border: 1px solid var(--line); border-radius: 12px; background: #fafcfb; }
.portfolio-card::before { display: none; }
.portfolio-card > span { float: right; font-size: 10px; }
.portfolio-card .eyebrow { font-size: 10px; letter-spacing: .08em; padding-right: 25px; }
.portfolio-card h2 { max-width: 38ch; margin: 24px 0; font-size: clamp(23px, 1.6vw, 34px); font-weight: 500; line-height: 1.5; letter-spacing: -.035em; }
.portfolio-card ul { max-width: 65ch; }
.portfolio-card li { font-size: var(--body-size); line-height: 1.8; }
.sub-closing { padding: 55px 24px 95px; }
.sub-closing .eyebrow { justify-content: center; }
.sub-closing > p:not(.eyebrow) { font-size: 14px; }
.contact-page { background: #fff; }
.contact-helper { font-size: 19px; font-weight: 500; }
.contact-page-cards { border-color: var(--line); }
.contact-page-cards article { border-color: var(--line); }
.inquiry-form { width: 100%; max-width: 1200px; gap: 28px 24px; }
.inquiry-form label { color: #3d6975; font: 600 12px var(--font); letter-spacing: 0; }
.inquiry-form input, .inquiry-form textarea { border: 1px solid #dbe4e3; border-radius: 6px; background: #fafcfb; padding: 14px 16px; font-size: max(16px, var(--body-size)); }
.inquiry-form input:focus, .inquiry-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #267b910c; }
.inquiry-form .notice { font-size: 12px; line-height: 1.8; }

/* Tablet: keep useful columns while switching to a touch-friendly menu. */
@media (max-width: 1100px) {
  :root {
    --content-width: calc(100% - 64px);
    --page-edge: 16px;
    --header-height: 84px;
    --body-size: 15px;
    --section-space: 76px;
  }
  .header-actions { margin-left: auto; gap: 18px; }
  .menu-toggle { display: block; width: 44px; min-height: 44px; padding: 10px; }
  .menu-toggle span { height: 1px; width: 24px; margin: 6px 0; }
  .nav {
    display: none;
    position: absolute;
    inset: var(--header-height) 0 auto;
    margin: 0;
    padding: 16px var(--gutter) 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 25px #1c303b0d;
    gap: 4px;
    flex-direction: column;
  }
  .nav.open { display: flex; }
  .nav a { width: max-content; max-width: 100%; min-height: 44px; font-size: 15px; }
  .hero { padding-top: 64px; }
  .hero-content { max-width: min(720px, 85%); }
  .hero h1 { font-size: clamp(46px, 6vw, 64px); }
  html:lang(ko) .hero h1 { font-size: clamp(42px, 5.6vw, 60px); }
  .hero-copy { max-width: 48ch; }
  .hero-stats { width: min(100%, 760px); gap: 24px; padding-top: 48px; }
  .scroll-prompt { display: none; }
  .heading-row { display: block; }
  .heading-side { max-width: 52ch; margin: 24px 0 0; }
  .about-layout { gap: 36px; }
  .solution-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
  .solution-card, .solution-card.featured { min-height: 0; padding: 28px; }
  .solution-card:last-child { grid-column: 1 / -1; }
  .solutions .solution-card h3 { font-size: 30px; }
  .solutions .solution-summary { min-height: 0; max-width: 55ch; }
  .product-content { padding: 42px 32px; }
  .featured-product h2 { font-size: 34px; }
  .footer-rich .footer-bottom { grid-template-columns: 1fr 1.7fr; padding: 32px 0; gap: 25px; }
  .footer-rich .to-top { grid-column: 2; }
  .sub-hero > div { max-width: 100%; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-card { padding: 28px; }
}

@media (max-width: 900px) {
  .hero::before { background: linear-gradient(90deg, #0c1e28ed, #0c1e28b3 60%, #0c1e2859); }
  .about-layout { grid-template-columns: 1fr; gap: 24px; padding: 32px 0 40px; }
  .about-copy { max-width: 65ch; }
  .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .principle { min-height: 0; padding: 28px 18px 0; }
  .principle:first-child { padding-left: 0; }
  .principle-no { right: 18px; }
  .principle h3 { font-size: 16px; }
  .principle p { font-size: 14px; }
  .featured-product { grid-template-columns: 1fr; }
  .product-visual { min-height: 0; aspect-ratio: 16 / 9; }
  .product-content { padding: 44px 32px; }
  .market-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .fact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .fact-grid h3 { font-size: 16px; margin-top: 24px; }
  .fact-grid p { font-size: 14px; }
  .footer-rich .footer-top { min-height: 0; padding: 48px 0; align-items: flex-start; gap: 28px; flex-direction: column; }
  .footer-rich .footer-top h2 { font-size: 36px; }
}

/* Phone: a single reading column and controls sized for touch. */
@media (max-width: 600px) {
  :root {
    --gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
    --page-edge: 12px;
    --header-height: 76px;
    --section-space: 60px;
  }
  html { scroll-padding-top: 20px; }
  .header, .sub-header { padding: 0 var(--gutter); gap: 10px; }
  .brand { gap: 8px; flex: 0 0 auto; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-wordmark { display: block; }
  .brand b { font-size: 15px; }
  .brand small { font-size: 7px; }
  .header-actions { gap: 8px; }
  .language-toggle { font-size: 12px; gap: 6px; }
  .hero {
    min-height: calc(100vh - var(--header-height) - 20px);
    min-height: calc(100svh - var(--header-height) - 20px);
    padding: clamp(36px, 6svh, 64px) 24px 24px;
    border-radius: 13px;
  }
  .hero .hero-art { object-position: 62% center; }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: clamp(34px, 9vw, 50px); }
  html:lang(ko) .hero h1 { font-size: clamp(30px, 8.4vw, 46px); }
  .hero .eyebrow { font-size: 9px; letter-spacing: .1em; }
  .hero-copy { font-size: 15px; margin: 24px 0 28px; line-height: 1.85; }
  .hero-cta { flex-wrap: wrap; gap: 18px 24px; }
  .button { min-height: 50px; font-size: 14px; padding: 14px 20px; }
  .text-link { min-height: 44px; font-size: 13px; }
  .hero-stats { width: 100%; gap: 12px; padding-top: 40px; }
  .hero-stats div { display: block; padding-top: 14px; }
  .hero-stats span { font-size: 10px; }
  .hero-stats p { margin-top: 8px; font-size: 12px; }
  .hero-stats p br { display: initial; }
  .section { padding: var(--section-space) var(--gutter); }
  .section-heading h2 { font-size: clamp(29px, 7.2vw, 40px); }
  .about-lead { font-size: 19px; }
  .about-copy, .heading-side { font-size: 15px; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle:first-child { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle:last-child { border-bottom: 0; }
  .principle-no { right: 0; top: 28px; }
  .line-icon { margin-bottom: 16px; }
  .principle h3 { font-size: 18px; }
  .principle p { font-size: 15px; }
  .solution-list { grid-template-columns: 1fr; gap: 18px; margin-top: 30px; }
  .solution-card, .solution-card.featured { padding: 24px; }
  .solution-card:last-child { grid-column: auto; }
  .solution-index { right: 24px; top: 24px; }
  .solutions .solution-card h3 { font-size: 28px; }
  .solutions .solution-summary { font-size: 15px; }
  .solutions .solution-card ul { font-size: 14px; }
  .featured-product { margin: 28px var(--page-edge); border-radius: 13px; }
  .product-visual { aspect-ratio: 4 / 3; }
  .product-content { padding: 36px 24px; }
  .featured-product h2 { font-size: clamp(28px, 7vw, 36px); }
  .product-content > p:not(.eyebrow) { font-size: 15px; }
  .network { padding-top: 38px; }
  .world-map.generated-map { aspect-ratio: 1.25; margin: 25px 0; transform: none; }
  .generated-map > img { object-fit: cover; object-position: 65% center; }
  .generated-map .map-pin { font-size: 8px; }
  .generated-map .map-pin.eu { left: 42.2%; top: 21.1%; }
  .generated-map .map-pin.tr { left: 54.2%; top: 27.8%; }
  .generated-map .map-pin.me { left: 58.9%; top: 34%; }
  .generated-map .map-pin.kr { left: 88.6%; top: 29.3%; }
  .market-list { gap: 20px; }
  .market-list b, .market-list p { font-size: 13px; }
  .footer-rich .footer-top h2 { font-size: clamp(28px, 7vw, 35px); }
  .footer.footer-rich .footer-bottom { grid-template-columns: 1fr; padding: 32px 0; gap: 22px; font-size: 13px; }
  .footer-rich .to-top { grid-column: auto; justify-self: start; min-height: 44px; display: inline-flex; align-items: center; }
  .sub-hero { min-height: 0; padding: 44px 24px; border-radius: 13px; }
  .sub-hero h1 { font-size: clamp(30px, 7.6vw, 40px); }
  .sub-hero > div > p:last-child { font-size: 15px; }
  .sub-content { padding: var(--section-space) var(--gutter); }
  .portfolio-grid { grid-template-columns: 1fr; gap: 18px; }
  .portfolio-card { min-height: 0; padding: 24px; }
  .portfolio-card h2 { font-size: 23px; }
  .portfolio-card li { font-size: 15px; }
  .about-page-lead { font-size: 21px; }
  .fact-grid { grid-template-columns: 1fr; gap: 20px; margin: 42px 0; }
  .fact-grid p { max-width: none; font-size: 15px; }
  .about-statement { padding: 32px 24px; }
  .about-statement h2, .sub-closing h2 { font-size: 30px; }
  .sub-closing { padding: 24px var(--gutter) 64px; }
  .contact-helper { font-size: 18px; }
  .contact-page-cards { grid-template-columns: 1fr; }
  .inquiry-form { grid-template-columns: 1fr; gap: 24px; }
  .inquiry-form .field.full, .inquiry-form .notice { grid-column: auto; }
  .inquiry-form .button { width: 100%; justify-content: center; }
}

@media (max-width: 380px) {
  .hero { padding-inline: 20px; }
  .hero .eyebrow { gap: 8px; font-size: 8px; }
  .hero .eyebrow::before { flex-basis: 16px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta .button { justify-content: space-between; }
  .hero-stats { gap: 10px; }
  .hero-stats p { font-size: 11px; }
  .hero h1 { font-size: 32px; }
  html:lang(ko) .hero h1 { font-size: 29px; }
}

/* Short landscape windows scroll naturally instead of squeezing the content. */
@media (max-height: 600px) and (min-width: 601px) {
  .hero { min-height: 0; padding-top: 40px; padding-bottom: 28px; }
  .hero-content { max-width: min(720px, 90%); }
  .hero-stats { padding-top: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
