/* finesse · register=brand · A=brand-blue+open-sky+morning-orange+signal-red · B=editorial-serif+humanist-sans · C=layered-exhibit · D=canvas+CSS · E=energetic-city-service */
:root {
  --v12-focus: #0b57d0;
  --v12-hero-mobile-scrim: linear-gradient(180deg, rgba(235, 248, 255, .34) 0%, rgba(242, 250, 255, .8) 56%, rgba(255, 253, 248, .98) 100%);
  --v12-hero-mobile-wash: linear-gradient(90deg, rgba(246, 252, 255, .9) 0%, rgba(238, 248, 255, .62) 76%, rgba(238, 248, 255, .12) 100%);
  --v12-map-fallback: rgba(11, 71, 119, .82);
}

html,
body {
  overflow-x: clip;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--v12-focus);
  outline-offset: 4px;
}

:where(h1, h2, h3, h4, p, a, button) {
  min-width: 0;
  overflow-wrap: anywhere;
}

.map-load-status {
  display: none;
  margin: 20px 0 0;
  color: var(--v12-map-fallback);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.outlook-map[data-map-state='unavailable'] .map-load-status {
  display: block;
}

@media (max-width: 720px) {
  .hero__media::after {
    background: var(--v12-hero-mobile-scrim);
  }

  .hero__wash {
    background: var(--v12-hero-mobile-wash);
  }

  .hero__lead {
    color: var(--ink-900);
  }

  .workplace-gallery__rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(44px, 1fr));
    gap: 4px 8px;
  }

  .workplace-gallery__rail button {
    width: 100%;
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 900px) {
  .section-heading--editorial.v9-section-heading,
  .services__intro.v9-section-heading,
  .workplace__intro.v9-section-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .v9-section-heading > .v9-section-heading__title,
  .v9-section-heading > .v9-section-heading__lead {
    width: 100%;
  }

  .site-brand {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}

/* V13: one coherent civic-service visual system over the preserved V12 behavior. */
:root {
  --v13-paper: #fffdf8;
  --v13-paper-cool: #edf8ff;
  --v13-surface: #fffefa;
  --v13-surface-cool: #e5f5ff;
  --v13-ink: #0b2c4d;
  --v13-ink-muted: #3f607a;
  --v13-brand: #0b57d0;
  --v13-brand-deep: #073579;
  --v13-mineral: #0a73b0;
  --v13-sky: #31a8e5;
  --v13-mineral-soft: #d8f0ff;
  --v13-sun: #f5a524;
  --v13-origin: #d83b35;
  --v13-gold: #b45309;
  --v13-edge: rgba(11, 87, 208, .14);
  --v13-edge-strong: rgba(11, 87, 208, .24);
  --v13-shadow-feature: 0 30px 80px rgba(16, 91, 157, .14);
  --v13-shadow-card: 0 18px 46px rgba(16, 91, 157, .1);
  --v13-radius-feature: 24px;
  --v13-radius-card: 18px;
  --v13-radius-media: 14px;
  --v13-radius-control: 10px;
  --v13-action-surface: rgba(255, 254, 250, .86);
  --v13-action-border: rgba(11, 87, 208, .16);
  --v13-action-ink: #073579;
  --v13-action-icon-surface: #e5f5ff;
  --v13-action-icon-ink: #0b57d0;
  --v13-action-shadow: 0 6px 18px rgba(16, 91, 157, .08);
  --v13-action-shadow-hover: 0 9px 22px rgba(16, 91, 157, .11);
  --v13-section-head: clamp(88px, 7vw, 112px);
  --v13-section-tail: clamp(56px, 4.5vw, 72px);
  --v13-section-divider: rgba(11, 87, 208, .18);
  --v13-section-divider-layer: linear-gradient(90deg, transparent, var(--v13-section-divider) 12%, var(--v13-section-divider) 88%, transparent);
  --v13-heading-content-gap: clamp(40px, 4.4vw, 62px);
}

html { background: var(--v13-paper-cool); }
body { color: var(--v13-ink); background: var(--v13-paper); }

.site-header {
  border-bottom-color: var(--v13-edge);
  background: rgba(255, 254, 250, .92);
}

.site-header.is-scrolled {
  background: rgba(255, 254, 250, .96);
  box-shadow: 0 10px 32px rgba(16, 91, 157, .1);
}

.site-nav__cta,
.button,
.workplace-gallery__controls button {
  border-radius: var(--v13-radius-control);
}

.site-nav a,
.result-caption a,
.contact__address a,
.contact__channels a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}

.scroll-cue { min-width: 44px; }

.site-nav__cta {
  border-color: rgba(180, 83, 9, .38);
  color: var(--v13-gold) !important;
  background: rgba(255, 254, 250, .9);
}

.hero {
  --hero-title-ink: #403931;
  --hero-title-accent: #975727;
  background: var(--v13-paper);
}
.hero h1 { color: var(--hero-title-ink); }
.hero h1 em { color: var(--hero-title-accent); }
.hero__media img { filter: saturate(1.1) contrast(1.07) brightness(1.015); }
.hero__media::after {
  background: linear-gradient(90deg, rgba(255, 253, 248, .9) 0%, rgba(246, 252, 255, .64) 34%, rgba(236, 248, 255, .1) 63%, rgba(236, 248, 255, 0) 82%);
}
.hero__wash {
  background: linear-gradient(180deg, rgba(213, 241, 255, .06), transparent 58%, rgba(7, 53, 121, .12));
}
.hero__grid { opacity: .045; }

.button {
  border-color: var(--v13-brand);
  background: var(--v13-brand);
  box-shadow: 0 14px 32px rgba(11, 87, 208, .2);
}

.about { background: linear-gradient(180deg, #fffdf8 0%, #f8fcff 100%); }
.workplace { --v13-section-surface: linear-gradient(180deg, #fffefa 0%, #f2faff 100%); }

.about,
.outlook.outlook--service-map,
.service-stage-section,
.workplace,
.platform {
  padding-top: var(--v13-section-head);
  padding-bottom: var(--v13-section-tail);
}

.section-heading--editorial.v9-section-heading,
.services__intro.v9-section-heading,
.workplace__intro.v9-section-heading {
  margin-bottom: var(--v13-heading-content-gap);
}

.service-stage-section .services__intro {
  padding-top: 0;
  padding-bottom: 0;
}

.service-stage-section .service-console { margin-bottom: 0; }

.service-stage-section,
.platform {
  --v13-section-surface: linear-gradient(180deg, #eaf7ff 0%, #f5fbff 100%);
}

.outlook.outlook--service-map {
  --outlook-map-paper: var(--v13-paper-cool);
  --outlook-map-ink: var(--v13-ink);
  --outlook-map-line: var(--v13-edge-strong);
  --outlook-map-line-soft: var(--v13-edge);
  --outlook-map-base: #d7efff;
  --outlook-map-awaken: #8bcef3;
  --outlook-map-final: #51a1da;
  --outlook-map-edge: rgba(10, 68, 117, .78);
  --outlook-map-shadow: #8fbcd6;
  --outlook-map-teal: var(--v13-mineral);
  --outlook-map-gold: var(--v13-gold);
  --outlook-map-origin: var(--v13-origin);
  --v13-section-surface: linear-gradient(180deg, #f7fcff 0%, #e7f6ff 100%);
}

.about::before,
.about__halo,
.service-stage-section::after,
.workplace::before,
.workplace::after,
.platform::before,
.contact__lines {
  opacity: .12;
}

.section-heading h2,
.services__intro h2,
.workplace__intro h2,
.contact h2 {
  color: var(--v13-ink);
  letter-spacing: -.015em;
}

.v9-section-heading > .v9-section-heading__lead,
.company-proof__facts dt,
.workplace__intro > div > p,
.contact__inner > p:not(.eyebrow) {
  color: var(--v13-ink-muted);
}

.v9-section-heading .section-kicker,
.section-kicker,
.eyebrow,
.scene-copy__eyebrow,
.contact__address > span {
  color: var(--v13-gold) !important;
}

.shareholder-story,
.company-proof,
.about__statement--vision,
.contact__address,
.platform-flow {
  border: 1px solid var(--v13-edge);
  border-radius: var(--v13-radius-card);
  color: var(--v13-ink);
  background: var(--v13-surface) !important;
  box-shadow: var(--v13-shadow-card);
}

.company-proof,
.about__statement--vision {
  background: var(--v13-surface-cool) !important;
}

.shareholder-story::after,
.company-proof::before {
  opacity: .28;
}

.outlook-map__body {
  min-height: clamp(490px, 46vw, 680px);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--v13-edge);
  border-radius: var(--v13-radius-feature);
  background: var(--v13-surface);
  box-shadow: var(--v13-shadow-feature);
}

.outlook-map .map-stage {
  min-height: 490px;
  border: 0;
  border-right: 1px solid var(--v13-edge);
  background: linear-gradient(145deg, #fffefa 0%, #e2f4ff 100%);
  box-shadow: none;
}

.outlook-map .future-directions {
  grid-template-rows: repeat(3, minmax(0, 1fr));
  border: 0;
  background: var(--v13-surface);
}

.outlook-map .future-directions article {
  min-height: 0;
  padding: clamp(24px, 2.3vw, 34px) clamp(28px, 2.7vw, 42px);
  border-color: var(--v13-edge);
}

.outlook-map .future-directions article::before {
  border-color: var(--v13-surface);
  width: 3px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--v13-brand), var(--v13-sky));
  box-shadow: none;
}

.outlook-map .future-directions p {
  color: var(--v13-mineral);
  font-size: var(--type-ui);
  line-height: 1.4;
  letter-spacing: .12em;
}
.outlook-map .future-directions h3 {
  max-width: 13em;
  color: var(--v13-ink);
  font-size: clamp(20px, 1.65vw, 27px);
  line-height: 1.42;
}

.outlook-map .map-node__halo,
.outlook-map .map-node__bloom,
.outlook-map .map-node__pulse,
.outlook-map .map-subnode__halo {
  display: none;
}

.outlook-map .map-node__dot,
.outlook-map .map-subnode__dot {
  fill: var(--v13-mineral);
  stroke-width: 1;
}

.outlook-map .map-subnode__dot {
  fill: rgba(10, 115, 176, .88);
  stroke: #f5fbff;
}

.outlook-map .map-node--origin .map-node__origin-dot {
  fill: var(--v13-origin);
  stroke: #fbfdff;
  stroke-width: 2;
}

.map-stage__legend {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 20px;
  display: flex;
  gap: 18px;
  padding: 8px 11px;
  border: 1px solid var(--v13-edge);
  border-radius: var(--v13-radius-control);
  color: var(--v13-ink-muted);
  background: rgba(255, 254, 250, .9);
  font-size: var(--type-ui);
  letter-spacing: .06em;
  backdrop-filter: blur(8px);
}

.map-stage__legend span { display: inline-flex; align-items: center; gap: 7px; }
.map-stage__legend i { width: 7px; height: 7px; border-radius: 50%; }
.map-stage__legend-origin { background: var(--v13-origin); box-shadow: none; }
.map-stage__legend-node { background: var(--v13-mineral); box-shadow: none; }

.outlook-map .map-stage.is-building .map-node__dot,
.outlook-map .map-stage.is-building .map-node__origin-dot,
.outlook-map .map-stage.is-building .map-subnode__dot {
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.service-console {
  border-color: var(--v13-edge);
  border-radius: var(--v13-radius-feature);
  background: var(--v13-surface);
  box-shadow: var(--v13-shadow-feature);
}

/* finesse · component: service-action-link · register=brand
 * states: default · hover · focus-visible · active
 * tokens: inherited (v13 visual system) */
.result-caption {
  right: 24px;
  bottom: 24px;
}

.result-caption a {
  min-width: 124px;
  min-height: 48px;
  justify-content: space-between;
  gap: 11px;
  padding: 7px 9px 7px 17px;
  border: 1px solid var(--v13-action-border);
  border-radius: 12px;
  color: var(--v13-action-ink);
  background: var(--v13-action-surface);
  box-shadow: var(--v13-action-shadow);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .04em;
  text-shadow: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.result-caption__icon {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--v13-action-icon-ink);
  background: var(--v13-action-icon-surface);
  transition: transform .2s ease;
}

.result-caption__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.result-caption a:focus-visible {
  outline: 3px solid var(--v12-focus);
  outline-offset: 3px;
}

.result-caption a:active {
  border-color: var(--v13-edge-strong);
  color: var(--v13-action-ink);
  background: var(--v13-surface);
  box-shadow: var(--v13-action-shadow);
  transform: translateY(1px);
}

@media (hover: hover) and (pointer: fine) {
  .result-caption a:hover {
    border-color: var(--v13-edge-strong);
    color: var(--v13-action-ink);
    background: var(--v13-surface);
    box-shadow: var(--v13-action-shadow-hover);
    transform: translateY(-1px);
  }

  .result-caption a:hover .result-caption__icon {
    transform: translate(1px, -1px);
  }

  .result-caption--internal a:hover .result-caption__icon {
    transform: translateY(2px);
  }
}

.workplace-card::after,
.workplace-card figcaption {
  display: none;
}

.contact__heading { grid-area: title; }
.contact__heading .section-kicker { margin: 0 0 14px; }
.contact__heading h2 { margin-top: 0; }

.service-switcher {
  border-color: var(--v13-edge);
  background: var(--v13-surface);
}

.service-switcher button + button::before { background: var(--v13-edge); }
.service-switcher button:hover { background: rgba(216, 240, 255, .7); }
.service-switcher button.is-active {
  color: var(--v13-brand);
  background: var(--v13-mineral-soft);
}
.tab-progress { background: var(--v13-brand); }
.service-stage { background: var(--v13-paper-cool); }
.scene-copy { background: var(--v13-surface); }
.scene-copy::after { background: linear-gradient(to bottom, transparent, var(--v13-edge-strong), transparent); }

.workplace-card {
  border-color: var(--v13-edge);
  border-radius: var(--v13-radius-media);
  background: var(--v13-surface-cool);
  box-shadow: var(--v13-shadow-feature);
}

.workplace-gallery__viewport { border-radius: var(--v13-radius-media); }
.workplace-gallery__controls button {
  border-color: var(--v13-edge-strong);
  color: var(--v13-brand);
  background: var(--v13-surface);
}

.platform-flow { overflow: hidden; }
.platform-flow__head { background: var(--v13-brand); }

.contact {
  --v13-section-head: clamp(72px, 5.5vw, 88px);
  --v13-section-surface: linear-gradient(108deg, #e1f4ff 0%, #fffdf8 60%, #fff0d7 100%);
  padding-top: var(--v13-section-head);
}

.outlook.outlook--service-map,
.service-stage-section,
.workplace,
.platform,
.contact {
  background:
    var(--v13-section-divider-layer) center top / var(--wrap) 1px no-repeat,
    var(--v13-section-surface);
}

.contact__channels div,
.site-footer__bottom { border-color: var(--v13-edge); }
.contact__channels dt { color: var(--v13-ink-muted); }
.contact__channels dd { color: var(--v13-brand); }

.site-footer {
  color: rgba(16, 43, 67, .78);
  background: linear-gradient(112deg, #cfeaff 0%, #e0f5ff 58%, #ffedcf 100%);
}

.site-footer__bottom {
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 16px 0 22px;
  text-align: center;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 20px;
  max-width: 100%;
  color: var(--v13-ink-muted);
  font-size: var(--type-ui);
  line-height: 1.8;
}

.site-footer__legal p { color: inherit; }

.site-footer__icp {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 4px;
  color: inherit;
  letter-spacing: .04em;
  white-space: nowrap;
  text-underline-offset: 4px;
}

.site-footer__icp:hover,
.site-footer__icp:focus-visible {
  color: var(--v13-brand-deep);
  text-decoration: underline;
}

@media (max-width: 720px) {
  .site-footer__legal { flex-direction: column; }
}

.footer-shareholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: var(--v13-radius-control);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.footer-shareholder--hooju img {
  width: 148px;
  max-height: 40px;
  object-fit: contain;
}

.footer-shareholder:hover,
.footer-shareholder:focus-visible {
  border-color: var(--v13-edge-strong);
  background: rgba(255, 254, 250, .6);
  transform: translateY(-2px);
}

@media (hover: hover) and (pointer: fine) {
  .shareholder-story,
  .company-proof,
  .about__statement--vision,
  .contact__address,
  .workplace-card {
    transition: transform .38s cubic-bezier(.22, 1, .36, 1), box-shadow .38s ease, border-color .38s ease;
  }

  .shareholder-story:hover,
  .company-proof:hover,
  .contact__address:hover,
  .workplace-card:hover {
    border-color: var(--v13-edge-strong);
    box-shadow: 0 24px 60px rgba(15, 55, 87, .13);
    transform: translateY(-3px);
  }
}

@media (max-width: 900px) {
  .outlook-map__body { gap: 0; }
  .outlook-map .map-stage {
    border-right: 0;
    border-bottom: 1px solid var(--v13-edge);
  }
}

@media (max-width: 720px) {
  :root {
    --v13-radius-feature: 20px;
    --v13-radius-card: 16px;
    --v13-radius-media: 12px;
    --v13-section-head: 64px;
    --v13-section-tail: 40px;
    --v13-heading-content-gap: clamp(36px, 8vw, 44px);
  }

  .contact { --v13-section-head: 64px; }

  .hero__media::after {
    background: linear-gradient(180deg, rgba(226, 245, 255, .25) 0%, rgba(237, 248, 255, .72) 55%, rgba(255, 253, 248, .97) 100%);
  }

  .hero__wash {
    background: linear-gradient(90deg, rgba(246, 252, 255, .84) 0%, rgba(230, 246, 255, .54) 74%, rgba(230, 246, 255, .1) 100%);
  }

  .outlook-map__body { margin-inline: 0; }
  .map-stage__legend {
    right: 14px;
    bottom: 14px;
    gap: 12px;
    padding: 7px 9px;
  }

  .service-console {
    margin-inline: 12px;
    border-right: 1px solid var(--v13-edge);
    border-left: 1px solid var(--v13-edge);
    box-shadow: var(--v13-shadow-card);
  }

  .result-caption {
    right: 16px;
    bottom: 16px;
  }

  .result-caption a {
    min-height: 44px;
    padding: 6px 8px 6px 15px;
  }

  .footer-shareholder { max-width: 100%; }

  .scene-copy { padding-inline: 22px; }
  .contact__address { padding-inline: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .shareholder-story,
  .company-proof,
  .about__statement--vision,
  .contact__address,
  .workplace-card {
    transition: none;
  }

  .result-caption a,
  .result-caption__icon {
    animation: none;
    transition: none;
  }
}
