:root {
  --ink: #152426;
  --ink-soft: #506062;
  --ink-faint: #718083;
  --night: #0d191b;
  --night-raised: #142628;
  --night-soft: #1b3032;
  --paper: #f4f2ec;
  --paper-light: #fbfaf6;
  --white: #ffffff;
  --line: #d6d9d3;
  --line-dark: rgba(204, 224, 219, 0.16);
  --teal: #3b8e80;
  --teal-bright: #69c5b3;
  --teal-pale: #d9ebe6;
  --amber: #d39b45;
  --amber-pale: #f2e5cd;
  --shadow: 0 18px 48px rgba(22, 38, 40, 0.08);
  --shell: 1240px;
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  background: var(--teal-pale);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 2px;
  background: var(--white);
  color: var(--night);
  font-weight: 700;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(13, 25, 27, 0.96);
  color: #eef5f2;
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--shell));
  min-height: var(--header-height);
  margin-inline: auto;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  color: inherit;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(105, 197, 179, 0.55);
  background: rgba(105, 197, 179, 0.08);
  color: var(--teal-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.brand-name {
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 30px);
}

.nav-menu a {
  position: relative;
  padding-block: 25px;
  color: #b9c8c5;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-menu a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--teal-bright);
  content: "";
  transition: transform 180ms ease;
}

.nav-menu a:hover,
.nav-menu a[aria-current="true"] {
  color: var(--white);
}

.nav-menu a[aria-current="true"]::after {
  transform: scaleX(1);
}

.nav-menu .nav-contact {
  margin-left: 4px;
  padding: 10px 15px;
  border: 1px solid rgba(105, 197, 179, 0.42);
  color: #ecf9f6;
}

.nav-menu .nav-contact::after {
  display: none;
}

.nav-menu .nav-contact:hover,
.nav-menu .nav-contact[aria-current="true"] {
  border-color: var(--teal-bright);
  background: rgba(105, 197, 179, 0.09);
}

.nav-toggle {
  display: none;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
}

.nav-toggle-icon span {
  position: absolute;
  left: 0;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease, top 180ms ease;
}

.nav-toggle-icon span:first-child {
  top: 4px;
}

.nav-toggle-icon span:last-child {
  top: 12px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:first-child {
  top: 8px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:last-child {
  top: 8px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 40%, rgba(67, 139, 128, 0.13), transparent 31%),
    var(--night);
  color: #f1f6f4;
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(212, 232, 226, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 232, 226, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  align-items: start;
  gap: clamp(48px, 6vw, 92px);
  min-height: 0;
  padding-block: clamp(28px, 2vw, 32px) 32px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker,
.project-type,
.label {
  margin: 0;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-bright);
}

.eyebrow > span {
  width: 25px;
  height: 1px;
  background: currentColor;
}

.hero-name {
  margin: 26px 0 8px;
  color: #a8bbb7;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 650;
  letter-spacing: 0.01em;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: #f7faf9;
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.046em;
}

.hero h1 em {
  color: #93ccc0;
  font-style: normal;
  font-weight: 550;
}

.hero-intro {
  max-width: 700px;
  margin: 28px 0 0;
  color: #b7c5c2;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.72;
}

.platform-line {
  max-width: 750px;
  margin: 24px 0 0;
  color: #e2eae8;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.015em;
}

.platform-line span {
  margin-inline: 5px;
  color: var(--teal-bright);
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.button-primary {
  background: var(--teal-bright);
  color: #0b1e1c;
}

.button-primary:hover {
  transform: translateY(-2px);
  background: #7ed0c0;
}

.button-secondary {
  border-color: #7c8e8a;
  background: transparent;
  color: var(--white);
}

.button-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--teal-bright);
  background: rgba(105, 197, 179, 0.08);
}

.text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 7px;
  color: #d5dfdc;
  font-size: 13px;
  font-weight: 700;
  text-decoration-color: rgba(105, 197, 179, 0.45);
  transition: color 160ms ease;
}

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin: clamp(28px, 2.5vw, 36px) 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 54px;
  padding-right: 16px;
  border-right: 1px solid var(--line-dark);
  color: #acbbb8;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.hero-facts li + li {
  padding-left: 17px;
}

.hero-facts li:last-child {
  padding-right: 0;
  border-right: 0;
}

.fact-index {
  padding-top: 1px;
  color: var(--teal-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
}

.hero-visual {
  position: relative;
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(180, 212, 204, 0.16);
  border-radius: 3px;
  background: rgba(18, 36, 38, 0.7);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.24);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  z-index: 2;
  width: 12px;
  height: 12px;
  content: "";
  pointer-events: none;
}

.hero-visual::before {
  top: 8px;
  left: 8px;
  border-top: 1px solid var(--teal-bright);
  border-left: 1px solid var(--teal-bright);
}

.hero-visual::after {
  right: 8px;
  bottom: 8px;
  border-right: 1px solid var(--teal-bright);
  border-bottom: 1px solid var(--teal-bright);
}

.visual-heading,
.visual-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-dark);
  color: #9eb1ad;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.system-state {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #b9cec9;
}

.system-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 4px rgba(105, 197, 179, 0.08);
}

.visual-footer {
  border-top: 1px solid var(--line-dark);
  border-bottom: 0;
  color: #829590;
  letter-spacing: 0.08em;
}

.signal-diagram {
  width: 100%;
  height: auto;
}

.signal-pulse path {
  stroke-dasharray: 3 9;
  stroke-dashoffset: 0;
  animation: signal-flow 3.2s linear infinite;
}

.signal-pulse path:nth-child(2) { animation-delay: -0.6s; }
.signal-pulse path:nth-child(3) { animation-delay: -1.2s; }
.signal-pulse path:nth-child(4) { animation-delay: -1.8s; }

@keyframes signal-flow {
  to { stroke-dashoffset: -24; }
}

.instrument-node,
.controller-node,
.hmi-node,
.process-node,
.cabinet-node {
  fill: none;
  stroke: #9bb2ad;
  stroke-width: 1.15;
}

.instrument-node text,
.controller-node text,
.hmi-node text,
.process-node text,
.cabinet-node text,
.stage-labels text {
  fill: #d5e2df;
  stroke: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  text-anchor: middle;
}

.instrument-node .sub,
.controller-node .micro,
.process-node .micro,
.cabinet-node .vertical-label {
  fill: #78908c;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.instrument-node .valve {
  fill: rgba(105, 197, 179, 0.05);
}

.terminals circle,
.node-led {
  fill: var(--teal-bright);
  stroke: none;
}

.controller-node > rect:not(:first-child) {
  fill: #192e30;
  stroke: #6f8984;
}

.hmi-node > rect:nth-child(2) {
  fill: #0f2022;
  stroke: #6f8984;
}

.hmi-node path {
  fill: none;
  stroke: var(--teal-bright);
}

.hmi-node circle {
  fill: #6f8984;
  stroke: none;
}

.process-node > circle:first-child {
  fill: rgba(105, 197, 179, 0.04);
  stroke: #4f736c;
}

.process-node path {
  fill: none;
  stroke: var(--teal-bright);
  stroke-width: 2;
}

.node-label {
  font-size: 8px !important;
  letter-spacing: 0.05em;
}

.stage-labels text:nth-child(odd) {
  fill: var(--teal-bright);
  font-size: 8px;
}

.stage-labels text:nth-child(even) {
  fill: #819590;
  font-size: 7px;
  letter-spacing: 0.08em;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper-light);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-grid > div {
  display: flex;
  min-height: 90px;
  align-items: center;
  gap: 13px;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
  color: #344648;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.trust-grid > div:first-child {
  border-left: 1px solid var(--line);
}

.trust-grid span {
  color: #2d7469;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
}

.section {
  padding-block: clamp(48px, 3.5vw, 60px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.55fr);
  gap: clamp(60px, 9vw, 130px);
}

.section-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 100%;
  padding-bottom: 13px;
  border-bottom: 1px solid currentColor;
}

.section-kicker span {
  flex: 0 0 auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
}

.section h2,
.contact-section h2 {
  margin: 22px 0 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.profile-section {
  background: var(--paper);
}

.section-intro {
  align-self: start;
}

.profile-portrait {
  position: relative;
  width: 170px;
  height: 204px;
  margin: 32px 0 0;
  overflow: hidden;
  border: 1px solid #9fc8bf;
  border-radius: 4px;
  background: #dfe8e3;
  box-shadow: 0 12px 30px rgba(22, 38, 40, 0.1);
}

/* .profile-portrait::after {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  content: "";
  pointer-events: none;
} */

.profile-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(2.55);
  transform-origin: 54% 35%;
}

.profile-content .lead {
  margin: 0 0 30px;
  color: #26383a;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 480;
  line-height: 1.48;
  letter-spacing: -0.02em;
}

.profile-content > p:not(.lead),
.profile-columns p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.profile-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-bottom: 26px;
}

.profile-content blockquote {
  position: relative;
  margin: 42px 0 0;
  padding: 28px 34px 28px 60px;
  border-left: 3px solid var(--teal);
  background: var(--paper-light);
  color: #2a4241;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 620;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.profile-content blockquote span {
  position: absolute;
  top: 11px;
  left: 21px;
  color: #9cbbb4;
  font-family: Georgia, serif;
  font-size: 42px;
}

.expertise-section {
  border-top: 1px solid var(--line);
  background: var(--paper-light);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: clamp(50px, 9vw, 140px);
  margin-bottom: 54px;
}

.section-heading .section-kicker {
  max-width: 395px;
}

.section-heading > p {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-card {
  padding: clamp(28px, 3vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.capability-card header {
  display: flex;
  align-items: flex-start;
  gap: 19px;
  min-height: 80px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.capability-icon {
  display: grid;
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid #bad3cd;
  background: #edf5f2;
  color: var(--teal);
}

.capability-icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.capability-card header span:not(.capability-icon) {
  display: block;
  margin-bottom: 5px;
  color: var(--teal);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capability-card h3 {
  margin: 0;
  color: #273a3c;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.capability-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.capability-card li {
  position: relative;
  padding: 7px 0 7px 15px;
  color: #536265;
  font-size: 14px;
  line-height: 1.45;
}

.capability-card li::before {
  position: absolute;
  top: 15px;
  left: 0;
  width: 5px;
  height: 1px;
  background: var(--teal);
  content: "";
}

.supporting-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  background: #eff1ec;
}

.supporting-card header {
  border-bottom: 0;
  padding-bottom: 0;
}

.supporting-card ul {
  margin-top: 0;
}

.projects-section {
  position: relative;
  background: var(--night);
  color: #dfe9e6;
}

.projects-section::before {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(196, 222, 215, 0.035) 50%, transparent calc(50% + 0.5px));
  background-size: 160px 100%;
  content: "";
  pointer-events: none;
}

.projects-section .page-shell {
  position: relative;
}

.section-heading.light h2 {
  color: #f1f6f4;
}

.section-heading.light > p {
  color: #a6b7b3;
}

.section-heading.light .section-kicker {
  color: var(--teal-bright);
}

.projects-list {
  display: grid;
  gap: 28px;
}

.project-card {
  overflow: hidden;
  border: 1px solid rgba(190, 217, 210, 0.18);
  border-radius: 3px;
  background: #122426;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.13);
  transition: transform 220ms ease, border-color 220ms ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(105, 197, 179, 0.43);
}

.project-header {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 190px;
  align-items: start;
  gap: 32px;
  padding: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line-dark);
}

.project-number {
  color: #738985;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.project-number strong {
  display: block;
  margin-top: 8px;
  color: var(--teal-bright);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.project-type {
  margin-bottom: 11px;
  color: var(--teal-bright);
}

.project-header h3 {
  max-width: 700px;
  margin: 0;
  color: #f3f7f6;
  font-size: clamp(23px, 2.8vw, 34px);
  font-weight: 610;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.project-header h3 + p {
  max-width: 750px;
  margin: 18px 0 0;
  color: #9fb0ad;
  font-size: 14px;
  line-height: 1.75;
}

.result-badge {
  position: relative;
  padding: 17px 0 17px 20px;
  border-left: 2px solid var(--amber);
}

.result-badge::before {
  position: absolute;
  top: 0;
  left: -2px;
  width: 2px;
  height: 8px;
  background: #ffe0a7;
  content: "";
}

.result-badge strong,
.result-badge span {
  display: block;
}

.result-badge strong {
  color: #f1cc8f;
  font-size: 16px;
  line-height: 1.35;
}

.result-badge span {
  margin-top: 6px;
  color: #99aaa6;
  font-size: 11px;
  line-height: 1.45;
}

.project-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 0;
}

.project-brief,
.contribution {
  padding: clamp(28px, 4vw, 46px);
}

.project-brief {
  border-right: 1px solid var(--line-dark);
  background: rgba(0, 0, 0, 0.07);
}

.project-brief > div + div {
  margin-top: 27px;
  padding-top: 27px;
  border-top: 1px solid var(--line-dark);
}

.project-card h4 {
  margin: 0 0 9px;
  color: #7fb4aa;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.project-card p {
  margin: 0;
}

.project-brief p,
.contribution li {
  color: #aab9b6;
  font-size: 13px;
  line-height: 1.72;
}

.project-brief .project-result {
  border-top-color: rgba(211, 155, 69, 0.32);
}

.project-result h4 {
  color: #e1b66e;
}

.project-result p {
  color: #e0e7e5;
}

.contribution ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.contribution li {
  position: relative;
  padding: 11px 0 11px 18px;
  border-bottom: 1px solid rgba(204, 224, 219, 0.08);
}

.contribution li::before {
  position: absolute;
  top: 21px;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--teal-bright);
  content: "";
}

.technology-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line-dark);
  background: #102022;
}

.technology-list span {
  padding: 5px 9px;
  border: 1px solid rgba(177, 205, 198, 0.16);
  border-radius: 2px;
  color: #92a7a2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.experience-section {
  background: var(--paper);
}

.experience-record {
  border-top: 3px solid var(--teal);
  background: var(--paper-light);
  box-shadow: var(--shadow);
}

.experience-meta {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(150px, 0.5fr);
  gap: 30px;
  padding: clamp(28px, 4vw, 45px);
  border-bottom: 1px solid var(--line);
}

.experience-meta > div + div {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.experience-meta h3 {
  margin: 8px 0 3px;
  color: #243638;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.experience-meta p:not(.label) {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.experience-summary {
  margin: 0;
  padding: 28px clamp(28px, 4vw, 45px);
  border-bottom: 1px solid var(--line);
  color: #314648;
  font-size: 17px;
  font-weight: 550;
  line-height: 1.65;
}

.responsibility-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 35px;
  margin: 0;
  padding: 24px clamp(28px, 4vw, 45px) 38px;
  list-style: none;
}

.responsibility-list li {
  position: relative;
  padding: 12px 0 12px 20px;
  border-bottom: 1px solid #e4e5df;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.responsibility-list li::before {
  position: absolute;
  top: 23px;
  left: 0;
  width: 7px;
  height: 1px;
  background: var(--teal);
  content: "";
}

.credentials-section {
  border-top: 1px solid var(--line);
  background: var(--paper-light);
}

.credentials-section .section-heading {
  grid-template-columns: minmax(0, 1fr);
}

.credentials-section .section-heading > div {
  max-width: 840px;
}

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

.credential-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  background: var(--white);
  box-shadow: 0 10px 34px rgba(25, 42, 43, 0.045);
}

.credential-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
  color: var(--teal);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.credential-top time {
  color: var(--ink-faint);
  text-align: right;
}

.credential-card h3 {
  margin: 27px 0 22px;
  color: #253739;
  font-size: clamp(21px, 2.4vw, 29px);
  font-weight: 630;
  line-height: 1.27;
  letter-spacing: -0.025em;
}

.credential-card .institution {
  margin: -8px 0 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.graduation-project {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-left: 2px solid var(--teal);
  background: #f3f6f2;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.graduation-project strong {
  color: #2b4546;
  font-weight: 750;
}

.credential-card dl {
  margin: auto 0 0;
}

.credential-card dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  padding: 11px 0;
  border-top: 1px solid #e8e8e3;
}

.credential-card dt {
  color: var(--ink-faint);
  font-size: 11px;
}

.credential-card dd {
  margin: 0;
  color: #344648;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.credential-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 20px 0 0;
  padding: 12px;
  border: 1px solid #e3d5b9;
  background: #fbf6eb;
  color: #665c4b;
  font-size: 11px;
  line-height: 1.55;
}

.credential-note svg {
  flex: 0 0 auto;
  width: 17px;
  margin-top: 1px;
  fill: none;
  stroke: #9c7739;
  stroke-linecap: round;
  stroke-width: 1.3;
}

.training {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
  gap: 50px;
  margin-top: 22px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  background: #eef0eb;
}

.training > div > p:last-child {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.training ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.training li {
  position: relative;
  padding: 10px 0 10px 17px;
  border-bottom: 1px solid #daddd6;
  color: #4b5b5d;
  font-size: 13px;
  line-height: 1.5;
}

.training li::before {
  position: absolute;
  top: 19px;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--teal);
  content: "";
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 4.5vw, 72px);
  background: #193032;
  color: #dce7e4;
}

.contact-section::before {
  position: absolute;
  top: -170px;
  right: -120px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(105, 197, 179, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(105, 197, 179, 0.025), 0 0 0 140px rgba(105, 197, 179, 0.018);
  content: "";
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(380px, 0.8fr);
  align-items: center;
  gap: clamp(55px, 9vw, 130px);
}

.contact-copy .section-kicker {
  max-width: 390px;
  color: var(--teal-bright);
}

.contact-section h2 {
  max-width: 760px;
  color: #f4f8f7;
}

.contact-copy > p:not(.section-kicker, .location-line) {
  max-width: 680px;
  margin: 25px 0 0;
  color: #abbdb9;
  font-size: 16px;
  line-height: 1.75;
}

.location-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 26px 0 0;
  color: #c6d4d1;
  font-size: 12px;
  font-weight: 650;
}

.location-line svg {
  width: 18px;
  margin-right: 3px;
  fill: none;
  stroke: var(--teal-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.location-line span {
  color: var(--teal-bright);
}

.contact-panel {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(177, 211, 202, 0.21);
  border-top: 3px solid var(--teal-bright);
  background: rgba(8, 20, 21, 0.2);
}

.contact-panel .label {
  color: var(--teal-bright);
}

.email-link {
  display: inline-block;
  max-width: 100%;
  margin-top: 14px;
  overflow-wrap: anywhere;
  color: #f1f7f5;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 650;
  line-height: 1.4;
  text-decoration-color: rgba(105, 197, 179, 0.44);
}

.contact-panel .contact-actions {
  gap: 10px;
  margin-top: 28px;
}

.copy-email {
  display: none;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #a8bbb7;
  font-size: 12px;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(105, 197, 179, 0.35);
  text-underline-offset: 4px;
  cursor: pointer;
}

.js .copy-email {
  display: inline-flex;
}

.copy-email:hover {
  color: var(--white);
}

.copy-email svg {
  width: 18px;
  fill: none;
  stroke: var(--teal-bright);
  stroke-width: 1.2;
}

.copy-status {
  min-height: 19px;
  margin: 3px 0 0;
  color: #bcd8d2;
  font-size: 11px;
}

.site-footer {
  border-top: 1px solid rgba(177, 211, 202, 0.14);
  background: var(--night);
  color: #a6b5b2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 35px;
  min-height: 140px;
  padding-block: 30px;
}

.footer-brand {
  color: #edf4f2;
}

.footer-grid > p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.65;
}

.footer-grid > p span {
  color: #859894;
  font-weight: 500;
}

.footer-grid .copyright {
  color: #859894;
  text-align: right;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
    gap: 45px;
  }

  .hero h1 {
    font-size: clamp(38px, 4.7vw, 55px);
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-facts li,
  .hero-facts li + li {
    min-height: 0;
    padding: 0;
    border: 0;
  }

  .hero-facts br {
    display: none;
  }

  .project-header {
    grid-template-columns: 75px minmax(0, 1fr);
  }

  .result-badge {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .page-shell,
  .nav-shell {
    width: min(calc(100% - 36px), var(--shell));
  }

  .site-header,
  .nav-shell {
    min-height: var(--header-height);
  }

  .nav-shell {
    flex-wrap: wrap;
  }

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

  .nav-menu {
    width: 100%;
    flex-wrap: wrap;
    gap: 2px 18px;
    padding: 8px 0 18px;
  }

  .nav-menu a {
    min-height: 44px;
    padding: 12px 0;
  }

  .nav-menu a::after {
    bottom: 5px;
  }

  .nav-menu .nav-contact {
    padding: 10px 14px;
  }

  .js .nav-shell {
    position: relative;
    flex-wrap: wrap;
  }

  .js .nav-menu {
    position: absolute;
    top: 100%;
    right: -18px;
    left: -18px;
    display: grid;
    width: auto;
    align-items: stretch;
    justify-content: stretch;
    max-height: 0;
    overflow: hidden;
    padding: 0 18px;
    visibility: hidden;
    border-bottom: 1px solid var(--line-dark);
    background: rgba(13, 25, 27, 0.99);
    transition: max-height 220ms ease, visibility 220ms;
  }

  .js .nav-menu[data-open] {
    max-height: 480px;
    padding-block: 12px 20px;
    visibility: visible;
  }

  .js .nav-menu a {
    width: 100%;
    padding: 12px 4px;
  }

  .js .nav-menu .nav-contact {
    margin: 5px 0 0;
    padding: 11px 14px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-block: 52px 40px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: min(100%, 680px);
    margin: 12px auto 0;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .hero-facts li,
  .hero-facts li + li {
    padding: 0 14px;
    border-right: 1px solid var(--line-dark);
  }

  .hero-facts li:first-child {
    padding-left: 0;
  }

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

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

  .trust-grid > div:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .trust-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .section-intro {
    max-width: 720px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

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

  .project-brief {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .project-brief > div + div {
    margin: 0;
    padding: 0 0 0 24px;
    border-top: 0;
    border-left: 1px solid var(--line-dark);
  }

  .project-brief .project-result {
    border-top: 0;
    border-left-color: rgba(211, 155, 69, 0.32);
  }

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

  .contact-panel {
    max-width: 640px;
  }
}

@media (max-width: 680px) {
  .page-shell,
  .nav-shell {
    width: min(calc(100% - 30px), var(--shell));
  }

  .brand-name {
    font-size: 14px;
  }

  .nav-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .js .nav-menu {
    right: -15px;
    left: -15px;
    padding-inline: 15px;
  }

  .hero-grid {
    gap: 46px;
    padding-block: 48px 32px;
  }

  .hero h1 {
    font-size: clamp(36px, 11.4vw, 52px);
  }

  .hero-intro {
    margin-top: 23px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .hero-facts li,
  .hero-facts li + li {
    padding: 0;
    border-right: 0;
  }

  .hero-facts br {
    display: none;
  }

  .visual-heading,
  .visual-footer {
    padding-inline: 12px;
  }

  .visual-footer span:nth-child(2) {
    display: none;
  }

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

  .trust-grid > div,
  .trust-grid > div:first-child,
  .trust-grid > div:nth-child(3) {
    min-height: 68px;
    padding: 15px 4px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .trust-grid > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 52px;
  }

  .section-grid {
    gap: 36px;
  }

  .section h2,
  .contact-section h2 {
    font-size: clamp(32px, 10vw, 43px);
  }

  .profile-columns {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .profile-content blockquote {
    padding: 25px 24px 25px 48px;
  }

  .profile-content blockquote span {
    left: 15px;
  }

  .capability-grid,
  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .capability-card ul {
    grid-template-columns: 1fr;
  }

  .supporting-card {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .supporting-card header {
    padding-bottom: 25px;
    border-bottom: 1px solid var(--line);
  }

  .supporting-card ul {
    margin-top: 24px;
  }

  .project-header {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .project-number strong {
    display: inline;
    margin-left: 7px;
    font-size: 17px;
  }

  .result-badge {
    grid-column: auto;
  }

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

  .project-brief > div + div {
    margin-top: 24px;
    padding: 24px 0 0;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .project-brief .project-result {
    border-top-color: rgba(211, 155, 69, 0.32);
    border-left: 0;
  }

  .contribution ul,
  .responsibility-list,
  .training ul {
    grid-template-columns: 1fr;
  }

  .experience-meta {
    grid-template-columns: 1fr;
  }

  .experience-meta > div + div {
    padding: 22px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .credential-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .credential-top time {
    text-align: left;
  }

  .credential-card dl div {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .credential-card dd {
    text-align: left;
  }

  .training {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .location-line {
    align-items: flex-start;
    display: grid;
    grid-template-columns: 20px 1fr;
  }

  .location-line span {
    display: none;
  }

  .contact-panel {
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 42px;
  }

  .footer-grid .copyright {
    text-align: left;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 36px;
  }

  .platform-line {
    font-size: 12px;
  }

  .hero-visual {
    margin-inline: -4px;
    width: calc(100% + 8px);
  }

  .project-header,
  .project-brief,
  .contribution,
  .capability-card,
  .credential-card,
  .contact-panel {
    padding-inline: 22px;
  }
}

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

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

  .signal-pulse {
    display: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --ink-soft: #334244;
    --line: #aeb4ae;
  }

  .hero-intro,
  .project-brief p,
  .contribution li,
  .section-heading.light > p {
    color: #d7e2df;
  }

  .project-card,
  .hero-visual,
  .contact-panel {
    border-color: #8fb9b0;
  }
}

@media print {
  .site-header,
  .hero-visual,
  .hero-actions,
  .copy-email,
  .site-footer {
    display: none !important;
  }

  body,
  .hero,
  .projects-section,
  .contact-section {
    background: #fff !important;
    color: #111 !important;
  }

  .hero-grid {
    min-height: 0;
    padding-block: 30px;
  }

  .hero h1,
  .hero h1 em,
  .section-heading.light h2,
  .project-header h3,
  .contact-section h2 {
    color: #111 !important;
  }

  .hero-intro,
  .platform-line,
  .hero-facts li,
  .project-header h3 + p,
  .project-brief p,
  .contribution li,
  .project-result p,
  .contact-copy > p:not(.section-kicker, .location-line) {
    color: #333 !important;
  }

  .section,
  .contact-section {
    padding-block: 45px;
  }

  .project-card,
  .contact-panel {
    break-inside: avoid;
    border-color: #aaa;
    background: #fff;
    box-shadow: none;
  }
}
