:root {
  color-scheme: light;
  --ink: #102143;
  --ink-strong: #07142c;
  --muted: #637086;
  --soft: rgba(16, 33, 67, 0.72);
  --line: rgba(16, 33, 67, 0.14);
  --paper: #f8fafc;
  --surface: #ffffff;
  --navy: #172a55;
  --blue: #2f74aa;
  --gold: #d6a83f;
  --gold-soft: rgba(214, 168, 63, 0.14);
  --shadow: 0 30px 90px rgba(16, 33, 67, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 0%, rgba(214, 168, 63, 0.1), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(47, 116, 170, 0.09), transparent 30%),
    var(--paper);
  color: var(--ink);
  font-family:
    Pretendard,
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  letter-spacing: 0;
  line-height: 1.6;
  overflow-wrap: break-word;
  word-break: keep-all;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  background: var(--ink-strong);
  border-radius: 999px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  left: 18px;
  padding: 10px 16px;
  position: fixed;
  top: 14px;
  transform: translateY(-140%);
  transition: transform 160ms ease;
  z-index: 100;
}

.skip-link:focus {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  transform: translateY(0);
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(248, 250, 252, 0.82);
  border-bottom: 1px solid transparent;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(20px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition:
    background 180ms ease,
    border-color 180ms ease;
  z-index: 10;
}

.site-header.is-scrolled {
  background: rgba(248, 250, 252, 0.94);
  border-color: var(--line);
  box-shadow: 0 12px 36px rgba(16, 33, 67, 0.08);
}

.brand,
.nav-links {
  align-items: center;
  display: flex;
}

.brand {
  color: var(--ink-strong);
  font-size: 21px;
  font-weight: 900;
  gap: 14px;
  letter-spacing: 0.08em;
  min-width: 0;
}

.brand img {
  height: 58px;
  object-fit: contain;
  width: 58px;
}

.nav-links {
  color: var(--soft);
  font-size: 14px;
  gap: clamp(14px, 2.3vw, 28px);
  white-space: nowrap;
}

.nav-links a {
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover {
  color: var(--ink-strong);
}

.nav-links a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--gold);
  color: var(--ink-strong);
  font-weight: 900;
  padding-bottom: 2px;
}

.nav-links a.nav-highlight {
  align-items: center;
  background: linear-gradient(135deg, rgba(214, 168, 63, 0.22), rgba(255, 255, 255, 0.42));
  border: 1px solid rgba(214, 168, 63, 0.48);
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(214, 168, 63, 0.12);
  color: var(--ink-strong);
  display: inline-flex;
  font-weight: 900;
  gap: 6px;
  padding: 7px 12px;
}

.nav-links a.nav-highlight::after {
  content: "↗";
  font-size: 12px;
  line-height: 1;
}

.nav-links a.nav-highlight:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-strong);
  transform: translateY(-1px);
}

.nav-toggle {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(16, 33, 67, 0.08);
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.nav-toggle span {
  background: var(--ink-strong);
  border-radius: 999px;
  display: block;
  height: 2px;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  width: 18px;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  display: grid;
  min-height: 88vh;
  overflow: hidden;
  padding: 104px clamp(20px, 4vw, 56px) 58px;
  place-items: center start;
  position: relative;
}

.hero-bg,
.hero-bg img,
.hero-bg::after {
  inset: 0;
  position: absolute;
}

.hero-bg img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  width: 100%;
}

.hero-bg::after {
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0.9) 38%, rgba(248, 250, 252, 0.45) 70%, rgba(248, 250, 252, 0.12) 100%),
    linear-gradient(0deg, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0) 22%);
  content: "";
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-label,
.project-type {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--ink-strong);
  font-size: clamp(40px, 5.4vw, 68px);
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 20px;
  max-width: 900px;
}

.hero-copy {
  color: var(--soft);
  font-size: clamp(17px, 1.55vw, 20px);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--ink-strong);
  box-shadow: 0 16px 34px rgba(7, 20, 44, 0.18);
  color: #ffffff;
}

.button.secondary {
  background: var(--surface);
  color: var(--ink-strong);
}

.button.kakao {
  background: #fee500;
  border-color: #fee500;
  color: #191600;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(214, 168, 63, 0.26);
  border-radius: 8px;
  bottom: 58px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  max-width: 390px;
  padding: 22px;
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  width: min(390px, calc(100% - 40px));
  z-index: 1;
}

.hero-panel div {
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}

.hero-panel span,
.timeline span,
.service-index,
.meaning-grid span {
  color: var(--blue);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  font-size: 16px;
  line-height: 1.48;
}

.section {
  padding: clamp(76px, 9vw, 132px) clamp(20px, 4vw, 56px);
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.98), rgba(248, 250, 252, 0.84)),
    url("assets/missionlab-hero.jpg?v=opt1") center / cover;
  border-bottom: 1px solid var(--line);
  padding: 150px clamp(20px, 4vw, 56px) clamp(70px, 8vw, 112px);
}

.page-hero h1 {
  max-width: 980px;
}

.page-hero p:not(.eyebrow) {
  color: var(--soft);
  font-size: clamp(18px, 2vw, 24px);
  margin-bottom: 0;
  max-width: 760px;
}

.intro,
.section-heading {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
}

.intro {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.brand-visual {
  align-self: stretch;
  background: var(--surface);
  border: 1px solid rgba(214, 168, 63, 0.28);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(16, 33, 67, 0.08);
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.brand-visual::after {
  background: linear-gradient(180deg, transparent 56%, rgba(7, 20, 44, 0.16));
  content: "";
  inset: 0;
  position: absolute;
}

.brand-visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.visual-more {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  bottom: 18px;
  box-shadow: 0 14px 32px rgba(7, 20, 44, 0.16);
  color: var(--ink-strong);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  position: absolute;
  right: 18px;
  transition:
    background 180ms ease,
    transform 180ms ease;
  z-index: 2;
}

.visual-more:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.intro-copy h2,
.work h2,
.service h2,
.process h2,
.contact h2,
.meaning h2 {
  color: var(--ink-strong);
  font-size: clamp(32px, 5vw, 64px);
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 18px;
}

.intro-copy p {
  color: var(--soft);
  font-size: clamp(18px, 2.1vw, 25px);
  max-width: 980px;
}

.stats {
  align-self: end;
  display: grid;
  gap: 10px;
  grid-column: 2;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0 0;
}

.stats div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.stats dt {
  color: var(--blue);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1;
}

.stats dd {
  color: var(--muted);
  margin: 8px 0 0;
}

.section-heading {
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p,
.hero-panel p,
.project-body p,
.service-grid p,
.timeline p,
.meaning-grid p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0;
}

.section-heading p {
  max-width: 540px;
}

.inline-actions {
  margin-top: 24px;
}

.text-link {
  color: var(--navy);
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
}

.text-link:hover {
  color: var(--gold);
}

.route-grid,
.contact-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.route-card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(16, 33, 67, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 24px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.route-card {
  overflow: hidden;
  position: relative;
}

.route-card::before {
  background: linear-gradient(90deg, var(--gold), rgba(47, 116, 170, 0.6));
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.route-card:hover {
  border-color: rgba(214, 168, 63, 0.46);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.route-card span,
.contact-card span {
  color: var(--blue);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.route-card h3,
.contact-card h3 {
  color: var(--ink-strong);
  font-size: 24px;
  line-height: 1.18;
  margin-bottom: 12px;
}

.route-card p,
.contact-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0;
}

.contact-card .button {
  margin-top: auto;
  width: fit-content;
}

.meaning {
  background: linear-gradient(180deg, #f3f6fb 0%, var(--paper) 100%);
}

.meaning-layout {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
}

.meaning-logo {
  align-items: center;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 44%, rgba(214, 168, 63, 0.14), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(214, 168, 63, 0.24);
  border-radius: 8px;
  box-shadow: 0 22px 62px rgba(16, 33, 67, 0.11);
  display: flex;
  justify-content: center;
  max-width: 360px;
  padding: clamp(24px, 4vw, 44px);
  width: 100%;
}

.meaning-logo img {
  display: block;
  filter: drop-shadow(0 16px 24px rgba(16, 33, 67, 0.14));
  height: auto;
  max-width: 210px;
  width: 100%;
}

.meaning-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.meaning-grid article,
.service-grid div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.meaning-grid h3,
.service-grid h3 {
  color: var(--ink-strong);
  font-size: 23px;
  line-height: 1.18;
  margin-bottom: 12px;
}

.project-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(16, 33, 67, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  position: relative;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.project-card:hover {
  border-color: rgba(214, 168, 63, 0.46);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.project-card.featured {
  grid-column: span 2;
}

.project-preview {
  --preview-scale: 1;
  aspect-ratio: 4 / 3;
  background: #0f172a;
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
}

.project-card.featured .project-preview {
  aspect-ratio: 16 / 10;
}

.project-preview iframe {
  border: 0;
  height: 760px;
  inset: 28px 0 0;
  pointer-events: none;
  position: absolute;
  transform: scale(var(--preview-scale));
  transform-origin: top left;
  width: 1180px;
}

.browser-bar {
  align-items: center;
  background: #15223e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.browser-bar span {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: block;
  height: 7px;
  width: 7px;
}

.browser-bar span:first-child {
  background: #d95f55;
}

.browser-bar span:nth-child(2) {
  background: var(--gold);
}

.browser-bar span:nth-child(3) {
  background: var(--blue);
}

.project-body {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(16, 33, 67, 0.08);
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-top: -28px;
  min-height: 196px;
  padding: 22px 24px 24px;
  position: relative;
  z-index: 2;
}

.project-card:not(.featured) .project-body {
  margin-top: -18px;
  min-height: 176px;
  padding: 18px 20px 22px;
}

.project-card:not(.featured) .project-body p:not(.project-type) {
  opacity: 0.84;
}

.project-body h3 {
  color: var(--ink-strong);
  font-size: 23px;
  line-height: 1.18;
  margin-bottom: 12px;
}

.project-link {
  color: var(--navy);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  margin-top: auto;
  padding-top: 24px;
  width: fit-content;
}

.project-link:hover {
  color: var(--gold);
}

.service {
  background: var(--ink-strong);
  color: #ffffff;
}

.service .section-label,
.service h2 {
  color: #ffffff;
}

.service-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.service-grid div {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.service-grid h3 {
  color: #ffffff;
}

.service-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.service-index {
  color: var(--gold);
}

.process {
  background: var(--surface);
}

.section-heading.compact {
  grid-template-columns: 1fr;
  margin-bottom: 24px;
}

.timeline {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  border-right: 1px solid var(--line);
  min-height: 220px;
  padding: 28px;
}

.timeline li:last-child {
  border-right: 0;
}

.timeline strong {
  color: var(--ink-strong);
  display: block;
  font-size: 24px;
  margin-bottom: 12px;
}

.process-roles {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.process-roles article {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(16, 33, 67, 0.06);
  padding: 24px;
}

.process-roles span {
  color: var(--gold);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.process-roles h3 {
  color: var(--ink-strong);
  font-size: 22px;
  margin-bottom: 10px;
}

.process-roles p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0;
}

.contact {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(214, 168, 63, 0.22), transparent 42%),
    linear-gradient(90deg, var(--navy), var(--ink-strong));
  color: #ffffff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: clamp(56px, 8vw, 100px) clamp(20px, 4vw, 56px);
}

.contact .eyebrow,
.contact h2 {
  color: #ffffff;
}

.contact h2 {
  max-width: 920px;
}

.contact-copy {
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 0;
  max-width: 620px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.setup-note {
  color: var(--muted);
  font-size: 14px;
  margin: 20px 0 0;
}

.site-footer {
  align-items: flex-start;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 14px;
  gap: 18px;
  justify-content: space-between;
  padding: 30px clamp(20px, 4vw, 56px);
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  color: var(--ink-strong);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.footer-brand span {
  color: var(--muted);
}

.business-info {
  display: flex;
  flex-wrap: wrap;
  font-style: normal;
  gap: 6px 14px;
  justify-content: flex-end;
  max-width: 760px;
}

.business-info span {
  white-space: nowrap;
}

.business-number {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.business-info a {
  color: var(--ink);
  font-weight: 800;
}

.business-info a:hover {
  color: var(--gold);
}

.business-info .business-check {
  align-items: center;
  background: rgba(214, 168, 63, 0.14);
  border: 1px solid rgba(214, 168, 63, 0.42);
  border-radius: 999px;
  color: var(--ink-strong);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  min-height: 24px;
  padding: 0 9px;
}

.business-info .business-check:hover {
  background: var(--gold);
  color: var(--ink-strong);
}

.back-to-top {
  align-items: center;
  background: var(--ink-strong);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  bottom: 22px;
  box-shadow: 0 18px 42px rgba(7, 20, 44, 0.24);
  color: #ffffff;
  display: inline-flex;
  font-size: 20px;
  font-weight: 900;
  height: 52px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 22px;
  transition:
    background 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
  transform: translateY(8px);
  width: 52px;
  z-index: 20;
}

.show-back-to-top .back-to-top {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--navy);
  transform: translateY(-3px);
}

@media (max-width: 1120px) {
  .hero {
    min-height: auto;
    padding-bottom: 330px;
  }

  .hero-panel {
    bottom: 40px;
    left: 20px;
    max-width: none;
    right: 20px;
  }

  .meaning-layout {
    grid-template-columns: 1fr;
  }

  .meaning-logo {
    justify-self: center;
    max-width: 360px;
  }

  .service-grid,
  .process-roles,
  .route-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline li:nth-child(2) {
    border-right: 0;
  }

  .timeline li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 980px) {
  .intro,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-column: auto;
  }

  .brand-visual {
    min-height: 240px;
  }

  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-card.featured {
    grid-column: span 2;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1040px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 18px;
  }

  .brand {
    font-size: 18px;
    gap: 12px;
    letter-spacing: 0.075em;
  }

  .brand img {
    height: 50px;
    width: 50px;
  }

  .nav-links {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 2px;
    left: 18px;
    opacity: 0;
    padding: 8px;
    pointer-events: none;
    position: absolute;
    right: 18px;
    top: calc(100% + 8px);
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
    white-space: normal;
    z-index: 30;
  }

  .nav-links a {
    border-radius: 6px;
    color: var(--ink-strong);
    font-weight: 800;
    padding: 13px 16px;
  }

  .nav-links a:hover {
    background: var(--gold-soft);
  }

  .nav-links a[aria-current="page"] {
    background: rgba(16, 33, 67, 0.06);
    box-shadow: none;
    padding-bottom: 13px;
  }

  .nav-links a.nav-highlight {
    background: var(--gold-soft);
    border-color: rgba(214, 168, 63, 0.42);
    border-radius: 6px;
    justify-content: space-between;
    padding: 13px 16px;
    width: 100%;
  }

  .nav-links a.nav-highlight:hover {
    background: rgba(214, 168, 63, 0.24);
    transform: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 126px 18px 330px;
  }

  h1 {
    font-size: clamp(40px, 14vw, 60px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    flex: 1 1 auto;
    min-width: 144px;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .stats,
  .meaning-grid,
  .project-grid,
  .route-grid,
  .process-roles,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .meaning-logo {
    max-width: 260px;
    padding: 28px;
  }

  .meaning-logo img {
    max-width: 150px;
  }

  .meaning-grid article {
    padding: 18px;
  }

  .project-card.featured {
    grid-column: auto;
  }

  .timeline li,
  .timeline li:nth-child(2) {
    border-right: 0;
  }

  .timeline li:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .contact,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .business-info {
    justify-content: flex-start;
  }

  .business-info span {
    white-space: normal;
  }

  .business-number {
    flex-wrap: wrap;
  }

  .contact-actions,
  .contact-card .button {
    width: 100%;
  }

  .back-to-top {
    bottom: 16px;
    height: 46px;
    right: 16px;
    width: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
