﻿/*
  style.css 负责网站的视觉效果。
  维护时可以这样理解：HTML 决定“有什么内容”，CSS 决定“这些内容长什么样”。
*/

:root {
  /* 这些变量是网站的基础设计系统。以后想换主色，优先改这里。 */
  --bg: #f7f9fc;
  --panel: #ffffff;
  --text: #121826;
  --muted: #5f6f89;
  --line: #dfe6f1;
  --blue: #0b63f6;
  --blue-dark: #0847b8;
  --blue-soft: #eaf2ff;
  --shadow: 0 18px 50px rgba(24, 46, 84, 0.1);
  --radius: 8px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

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

p {
  line-height: 1.8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  margin: 0;
  padding: 18px max(24px, calc((100% - var(--max-width)) / 2));
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  gap: 24px;
  background: rgba(247, 249, 252, 0.94);
  backdrop-filter: blur(14px);
}

/* 滚动后只加阴影，不再改变导航高度，避免刚开始滚动时页面跳动。 */
.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(24, 46, 84, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.brand img {
  display: block;
  width: auto;
  height: 54px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  color: #25314a;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--blue);
}

.mobile-home-button,
.mobile-menu-button,
.mobile-menu {
  display: none;
}

.mobile-home-button,
.mobile-menu-button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.mobile-home-button {
  align-items: center;
  justify-content: center;
}

.home-icon {
  position: relative;
  width: 19px;
  height: 17px;
  display: block;
}

.home-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1px;
  width: 13px;
  height: 13px;
  border-left: 2px solid var(--blue);
  border-top: 2px solid var(--blue);
  transform: rotate(45deg);
  transform-origin: center;
}

.home-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 0;
  width: 11px;
  height: 10px;
  border: 2px solid #172033;
  border-top: 0;
  border-radius: 1px 1px 2px 2px;
}

.mobile-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #172033;
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.mobile-menu a {
  display: block;
  padding: 14px 12px;
  border-radius: 6px;
  color: #25314a;
  font-weight: 800;
}

.mobile-menu a:hover {
  color: var(--blue);
  background: var(--blue-soft);
}

.site-header.menu-open .mobile-menu {
  display: block;
}

.nav-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 14px;
}

.nav-button,
.primary-button {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(11, 99, 246, 0.22);
}

.nav-button {
  justify-self: end;
}

.nav-button:hover,
.primary-button:hover {
  background: var(--blue-dark);
}

.secondary-button {
  background: #fff;
  border: 1px solid #b8c4d8;
  color: #1c2a42;
}

.section-shell {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

/*
  顶部导航是 sticky 固定导航。
  点击 nav 的 #about / #projects 等锚点时，预留一点顶部距离，避免标题被导航栏盖住。
*/
#about,
#projects,
#workflow,
#capabilities,
#contact {
  scroll-margin-top: 118px;
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
  padding: 38px 0 70px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.23;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--blue);
}

.hero-description {
  max-width: 560px;
  margin: 28px 0 0;
  color: #52627a;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.hero-visual {
  min-height: 520px;
}

.blueprint-card {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #f7fbff;
  box-shadow: var(--shadow);
}

.hero-visual-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.gear,
.machine-block,
.cae-map,
.flow-box,
.ai-node {
  position: absolute;
}

.gear {
  border-radius: 50%;
  border: 18px solid #b8c7da;
  background: radial-gradient(circle, #f9fbff 0 24%, #7387a6 25% 34%, #dfe7f2 35% 100%);
  box-shadow: inset 0 0 0 12px #ffffff, 0 22px 44px rgba(42, 63, 98, 0.18);
}

.gear-large {
  width: 250px;
  height: 250px;
  left: 170px;
  top: 140px;
}

.gear-small {
  width: 150px;
  height: 150px;
  left: 300px;
  top: 105px;
  border-width: 12px;
}

.machine-block {
  left: 50px;
  bottom: 55px;
  width: 210px;
  height: 130px;
  border: 1px solid #aebed4;
  background:
    linear-gradient(90deg, transparent 0 22px, rgba(11, 99, 246, 0.12) 22px 24px, transparent 24px 48px),
    linear-gradient(#ffffff, #dfe8f3);
  box-shadow: 0 20px 34px rgba(45, 70, 105, 0.12);
}

.cae-map {
  right: 0;
  top: 0;
  width: 225px;
  height: 235px;
  background:
    radial-gradient(circle at 25% 30%, #00a36c 0 15%, transparent 16%),
    radial-gradient(circle at 58% 32%, #f1d04b 0 18%, transparent 19%),
    radial-gradient(circle at 78% 55%, #f06445 0 17%, transparent 18%),
    radial-gradient(circle at 48% 68%, #2d8cff 0 22%, transparent 23%),
    linear-gradient(135deg, #0943a0, #2dd4bf);
  opacity: 0.9;
  clip-path: polygon(18% 8%, 88% 0, 100% 48%, 70% 96%, 20% 82%, 0 40%);
}

.flow-box,
.ai-node {
  padding: 10px 14px;
  border: 1px solid #abc2e5;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: #24405f;
  font-weight: 800;
  font-size: 13px;
}

.flow-1 { right: 165px; bottom: 152px; }
.flow-2 { right: 92px; bottom: 105px; }
.flow-3 { right: 185px; bottom: 62px; }
.flow-4 { right: 42px; bottom: 45px; }

.ai-node {
  right: 112px;
  bottom: 12px;
  color: var(--blue);
  border-style: dashed;
}

.about {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: stretch;
  padding: 20px 0 70px;
}

.profile-card,
.capability-card,
.project-card,
.value-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.profile-card {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.profile-photo {
  height: 205px;
  overflow: hidden;
  background: #eef3f9;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 55% 38%;
  filter: grayscale(100%) contrast(0.92) brightness(1.04);
}

.profile-body {
  padding: 22px;
}

.profile-body h2 {
  margin: 0 0 8px;
}

.profile-body p,
.profile-body a {
  display: block;
  margin: 7px 0;
  color: var(--muted);
  font-size: 14px;
}

.profile-body a {
  color: var(--blue);
  font-weight: 800;
}

.about-copy h2,
.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.35;
}

.about-copy > p:not(.eyebrow),
.contact p {
  color: var(--muted);
}

.about-copy {
  display: flex;
  flex-direction: column;
}

.about-copy .value-grid {
  margin-top: auto;
  padding-top: 30px;
}

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

.value-item {
  padding: 22px 18px;
}

.value-item strong,
.value-item span {
  display: block;
}

.value-item span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.stacked {
  padding: 42px 0;
}

.section-heading {
  margin-bottom: 24px;
}

.row-heading {
  display: flex;
  justify-content: flex-start;
  gap: 24px;
  align-items: end;
}

.row-heading a {
  color: var(--blue);
  font-weight: 900;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.four-columns {
  grid-template-columns: repeat(4, 1fr);
}

.three-columns {
  grid-template-columns: repeat(3, 1fr);
}

.capability-card {
  padding: 26px;
  word-break: keep-all;
  overflow-wrap: normal;
}

.icon-box {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: var(--radius);
  color: var(--blue);
  background: var(--blue-soft);
  font-weight: 900;
}

.capability-card h3,
.project-card h3 {
  margin: 0 0 12px;
}

.capability-card p,
.project-card p {
  color: var(--muted);
  font-size: 15px;
}

.capability-card ul {
  margin: 22px 0 0;
  padding-left: 18px;
  color: #3f4d63;
  font-size: 14px;
  line-height: 1.75;
}

.capability-card li {
  margin-bottom: 6px;
}

.exploration-slot {
  min-height: 220px;
}

.slot-line,
.slot-area {
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(11, 99, 246, 0.08), rgba(11, 99, 246, 0.02));
}

.slot-line {
  width: 68%;
  height: 18px;
  margin-top: 22px;
}

.slot-area {
  height: 82px;
  margin-top: 18px;
  border: 1px dashed rgba(11, 99, 246, 0.18);
}

.exploration-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 44px;
  align-items: center;
}

.exploration-intro h2 {
  margin: 0;
  /* 현재 탐색 중인 방향 섹션의 큰 제목 크기입니다. */
  font-size: clamp(32px, 3.1vw, 46px);
  line-height: 1.2;
}

.exploration-intro p:not(.eyebrow) {
  margin: 26px 0 0;
  color: #26364f;
  font-size: 20px;
  line-height: 1.75;
  word-break: keep-all;
}

.exploration-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}

.flow-card,
.strength-item,
.application-card,
.exploration-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(24, 46, 84, 0.07);
}

.flow-card {
  min-height: 230px;
  padding: 26px 20px;
  text-align: center;
}

.flow-number {
  display: block;
  color: var(--blue);
  font-size: 26px;
  font-weight: 900;
}

.flow-icon,
.application-icon {
  width: 72px;
  height: 72px;
  margin: 18px auto 20px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: var(--blue);
  border: 3px solid rgba(11, 99, 246, 0.82);
  background: var(--blue-soft);
  font-weight: 900;
  font-size: 22px;
}

.flow-card h3,
.application-card h4 {
  margin: 0;
  font-size: 22px;
}

.flow-card p,
.application-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.flow-arrow {
  color: var(--blue);
  font-size: 42px;
  font-weight: 900;
}

.llm-strengths,
.application-block {
  margin-top: 44px;
}

.llm-strengths h3,
.application-block h3 {
  margin: 0 0 18px;
  font-size: 24px;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.strength-item {
  min-height: 76px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #17233a;
  font-size: 20px;
  font-weight: 800;
}

.strength-item span {
  color: var(--blue);
  font-size: 26px;
  font-weight: 900;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.application-card {
  min-height: 160px;
  padding: 24px 18px;
  text-align: center;
}

.application-card .application-icon {
  width: 62px;
  height: 62px;
  margin-top: 0;
  margin-bottom: 16px;
  border-width: 2px;
}

.exploration-note {
  margin-top: 24px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #111c31;
}

.exploration-note span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.exploration-note strong {
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.35;
}

.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-image {
  height: 180px;
  border-bottom: 1px solid var(--line);
}

.equipment-image {
  background: url("./assets/skill-1.jpg") center / cover no-repeat;
}

.cae-image {
  background: url("./assets/skill-2.jpg") center / cover no-repeat;
}

.ai-image {
  background: url("./assets/skill-5.jpg") center / cover no-repeat;
}

.visualization-image {
  background: url("./assets/skill-3.jpg") center / cover no-repeat;
}

.sourcing-image {
  background: url("./assets/skill-4.jpg") center / cover no-repeat;
}

.general-image {
  background: url("./assets/skill-6.jpg") center / cover no-repeat;
}

.project-body {
  padding: 22px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.tag,
.tag-row span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.toolbox-intro {
  max-width: 820px;
  margin: -6px 0 24px;
  color: #32415a;
  font-size: 17px;
  line-height: 1.8;
  word-break: keep-all;
}

.problem-card,
.toolbox-panel,
.outcome-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(24, 46, 84, 0.06);
}

.problem-card {
  width: min(760px, 100%);
  margin: 0 auto 26px;
  padding: 28px 34px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-color: #c8d8f5;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.problem-card strong,
.problem-card span,
.toolbox-grid strong,
.toolbox-grid span,
.outcome-grid strong,
.outcome-grid span {
  display: block;
}

.problem-card strong,
.toolbox-panel-title strong,
.outcome-grid strong {
  font-size: 20px;
}

.problem-card span,
.toolbox-grid span,
.outcome-grid span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
}

.toolbox-panel {
  padding: 24px 28px 28px;
}

.toolbox-connector {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.toolbox-connector.single,
.toolbox-connector.split {
  height: 48px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.toolbox-connector.single::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 30px;
  border-left: 2px dashed #7fa8f4;
  transform: translateX(-50%);
}

.toolbox-connector.single::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 13px;
  height: 13px;
  border-right: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  transform: translateX(-50%) rotate(45deg);
}

.connector-arrow {
  position: absolute;
  top: 0;
  width: 1px;
  height: 48px;
  transform: translateX(-50%);
}

.connector-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 30px;
  border-left: 2px dashed #7fa8f4;
  transform: translateX(-50%);
}

.connector-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 13px;
  height: 13px;
  border-right: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  transform: translateX(-50%) rotate(45deg);
}

.connector-arrow.left {
  left: calc(25% - 4.5px);
}

.connector-arrow.right {
  left: calc(75% + 4.5px);
}

.outcome-grid {
  position: relative;
}

.toolbox-panel-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--blue);
}

.toolbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.toolbox-grid article {
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.toolbox-grid strong {
  font-size: 18px;
}

.outcome-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.outcome-grid article {
  padding: 22px 24px;
}

.outcome-grid .toolbox-arrow {
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  font-size: 26px;
}

.workflow-note {
  margin: 22px 0 0;
  padding: 15px 18px;
  border-radius: var(--radius);
  color: #3b587c;
  background: var(--blue-soft);
  text-align: center;
}

.contact {
  margin-top: 32px;
  padding: 38px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  color: #31415c;
  font-weight: 800;
}

.contact-list > * {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--blue-soft);
}

.contact-list a {
  color: var(--blue);
}

.site-footer {
  margin-top: 56px;
  padding: 26px max(24px, calc((100% - var(--max-width)) / 2));
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #a8b3c7;
  background: #080d16;
  font-size: 13px;
}

.footer-logo {
  width: 118px;
  height: auto;
  display: block;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

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

  .four-columns,
  .three-columns,
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .section-shell {
    width: min(100% - 32px, var(--max-width));
  }

  #about,
  #projects,
  #workflow,
  #capabilities,
  #contact {
    scroll-margin-top: 82px;
  }

  .site-header {
    grid-template-columns: 42px 1fr 42px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(223, 230, 241, 0.72);
  }

  .site-header .brand {
    grid-column: 2;
    justify-self: center;
  }

  .site-header .mobile-home-button {
    display: inline-flex !important;
    grid-column: 1;
    justify-self: start;
  }

  .site-header .mobile-menu-button {
    grid-column: 3;
    justify-self: end;
  }

  .brand img {
    height: 34px;
  }

  .mobile-menu-button {
    width: 42px;
    height: 42px;
  }

  .nav-button {
    display: none;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .hero {
    gap: 22px;
    padding: 24px 0 42px;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy .eyebrow {
    order: 1;
  }

  .hero h1 {
    order: 2;
  }

  .hero-description {
    order: 3;
  }

  .eyebrow {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: clamp(32px, 9vw, 38px);
    line-height: 1.18;
  }

  .hero-description {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.68;
  }

  .hero-actions {
    order: 5;
    gap: 12px;
    margin-top: 0;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
    min-height: 52px;
  }

  .hero-visual {
    display: block;
    order: 4;
    min-height: 0;
    margin-top: 4px;
  }

  .blueprint-card {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
  }

  .four-columns,
  .value-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  /*
    手机端主要 역량 卡片改成横向滑动。
    这样 6 张能力卡不会把页面拉得太长，用户可以左右滑动查看。
  */
  #projects .three-columns {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 88%);
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 6%;
    padding: 0 6% 12px;
    -webkit-overflow-scrolling: touch;
  }

  #projects .three-columns::-webkit-scrollbar {
    height: 6px;
  }

  #projects .three-columns::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #c7d8f5;
  }

  #projects .project-card {
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .problem-card,
  .toolbox-panel {
    padding: 20px;
  }

  .problem-card,
  .toolbox-panel-title {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .toolbox-grid,
  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .connector-arrow.left {
    left: 50%;
  }

  .connector-arrow.right {
    display: none;
  }

  .toolbox-grid article,
  .outcome-grid article {
    width: 100%;
    min-height: auto;
  }

  .about {
    gap: 28px;
    padding: 12px 0 42px;
  }

  .about-copy .value-grid {
    width: 100%;
    margin-top: 24px;
    padding-top: 0;
    justify-items: stretch;
  }

  .value-item {
    width: 100%;
  }

  .profile-card {
    width: 100%;
  }

  .profile-photo {
    height: 220px;
  }

  .about-copy h2,
  .section-heading h2,
  .contact h2 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .stacked {
    padding: 32px 0;
  }

  .project-image {
    height: 132px;
  }

  .project-body {
    padding: 18px;
  }

  .project-card h3 {
    font-size: 20px;
    line-height: 1.32;
    min-height: 54px;
  }

  .project-card p {
    font-size: 15px;
    line-height: 1.7;
    margin-top: 0;
  }

  .tag-row {
    padding-top: 14px;
  }

  .exploration-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .exploration-intro h2 {
    font-size: clamp(30px, 8.8vw, 36px);
    word-break: keep-all;
  }

  .exploration-intro p:not(.eyebrow) {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.62;
  }

  .exploration-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .flow-arrow {
    display: none;
  }

  .flow-card {
    min-height: 0;
    padding: 14px 8px;
  }

  .flow-number {
    font-size: 19px;
  }

  .flow-icon {
    width: 44px;
    height: 44px;
    margin: 10px auto 12px;
    border-width: 2px;
    border-radius: 14px;
    font-size: 16px;
  }

  .flow-card h3 {
    font-size: 16px;
    line-height: 1.25;
  }

  .flow-card p {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
  }

  .llm-strengths,
  .application-block {
    margin-top: 22px;
  }

  .llm-strengths h3,
  .application-block h3 {
    margin-bottom: 12px;
    font-size: 22px;
  }

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

  .strength-item {
    min-height: 54px;
    padding: 12px 8px;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    text-align: center;
  }

  .strength-item span {
    font-size: 17px;
  }

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

  .application-card {
    min-height: 0;
    padding: 16px 10px;
  }

  .application-card .application-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    border-radius: 14px;
    font-size: 16px;
  }

  .application-card h4 {
    font-size: 17px;
    line-height: 1.25;
  }

  .application-card p {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
  }

  .exploration-note {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    padding: 16px;
  }

  .exploration-note span {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
  }

  .exploration-note strong {
    font-size: 17px;
  }

  .contact {
    padding: 24px;
  }

  .site-footer {
    align-items: flex-start;
    padding: 26px 24px;
  }

  .footer-logo {
    width: 96px;
    height: auto;
  }

}
