:root {
  --ink: #161a22;
  --muted: #697080;
  --paper: #fffdf9;
  --panel: #ffffff;
  --yellow: #ffbf19;
  --yellow-light: #fff4c6;
  --blue: #3d7dfa;
  --purple: #6a4eff;
  --green: #28a86b;
  --line: #e8e7e1;
  --shadow: 0 24px 70px rgba(25, 28, 36, 0.1);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.22;
  background-image: radial-gradient(rgba(17, 21, 28, 0.15) 0.6px, transparent 0.6px);
  background-size: 8px 8px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 42%);
}

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

.site-header {
  width: min(1320px, calc(100% - 48px));
  height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  position: relative;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  font-size: 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.brand-mark i {
  position: absolute;
  width: 11px;
  height: 11px;
  right: 7px;
  bottom: 7px;
  border: 2px solid var(--paper);
  border-radius: 50%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.site-nav {
  display: flex;
  gap: 38px;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  padding: 29px 0 23px;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  height: 3px;
  left: 50%;
  right: 50%;
  bottom: 16px;
  border-radius: 99px;
  background: var(--yellow);
  transition: left 0.2s ease, right 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  left: 2px;
  right: 2px;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--yellow);
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(28, 28, 28, 0.12);
}

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 72px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #4f5665;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #29b46d;
  box-shadow: 0 0 0 4px rgba(41, 180, 109, 0.12);
}

.hero h1 {
  max-width: 690px;
  margin: 25px 0 22px;
  font-size: clamp(50px, 4.2vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.065em;
  font-weight: 900;
}

.hero-line {
  display: block;
  width: fit-content;
  position: relative;
  white-space: nowrap;
}

.hero-highlight {
  position: relative;
  z-index: 1;
}

.hero-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: -8px;
  bottom: 5px;
  height: 13px;
  background: var(--yellow);
  z-index: -1;
  transform: rotate(-1deg);
}

.hero-lead {
  max-width: 610px;
  margin: 0;
  color: #5d6471;
  font-size: 18px;
  line-height: 1.8;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  transition: 0.2s ease;
}

.button-primary {
  background: var(--yellow);
}

.button-ghost {
  border: 1px solid #d8d7d1;
  background: var(--panel);
}

.capability-row {
  margin-top: 29px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #5d6471;
  font-size: 13px;
}

.capability-row span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.capability-row i {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid #aab0ba;
  border-radius: 50%;
  color: var(--ink);
  font-style: normal;
  font-size: 10px;
}

.hero-visual {
  min-height: 535px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.portrait-wrap {
  width: 380px;
  height: 490px;
  margin-right: 62px;
  overflow: hidden;
  position: relative;
  border-radius: 38% 38% 28px 28px;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.85), transparent 24%),
    linear-gradient(145deg, #fff7d8 0%, #ffd65f 100%);
  border: 1px solid rgba(20, 24, 31, 0.08);
  box-shadow: var(--shadow);
}

.portrait-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 25, 33, 0.18), transparent 40%);
  pointer-events: none;
}

.portrait-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.portrait-accent {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}

.accent-one {
  width: 130px;
  height: 130px;
  left: -36px;
  top: 70px;
  background: var(--yellow);
}

.accent-two {
  width: 80px;
  height: 80px;
  right: -28px;
  top: 26px;
  border: 16px solid #b7d1ff;
}

.portrait-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.portrait-label strong {
  font-size: 16px;
}

.portrait-label span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.impact-card {
  width: 330px;
  padding: 20px;
  position: absolute;
  right: 0;
  bottom: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(21, 25, 33, 0.16);
  backdrop-filter: blur(18px);
}

.impact-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.impact-head div {
  display: flex;
  flex-direction: column;
}

.impact-head small {
  color: #8b919b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.impact-head strong {
  margin-top: 6px;
  font-size: 18px;
}

.spark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--yellow);
}

.mini-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0;
  color: #555d6b;
  font-size: 11px;
}

.mini-flow span {
  padding: 6px 8px;
  border-radius: 7px;
  background: #f5f5f3;
  font-weight: 700;
}

.mini-flow i {
  color: #adb2bc;
  font-style: normal;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  gap: 14px;
}

.impact-grid div {
  display: flex;
  flex-direction: column;
}

.impact-grid small {
  color: #8b919b;
  font-size: 10px;
}

.impact-grid b {
  margin-top: 4px;
  font-size: 13px;
}

.statement {
  border-block: 1px solid var(--line);
  background: #fff;
}

.statement-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.statement p {
  margin: 0;
  font-size: 16px;
  font-weight: 750;
}

.statement-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.statement-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f4f4f1;
  color: #606774;
  font-size: 12px;
  font-weight: 650;
}

.section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 42px;
}

.section-kicker {
  color: #8b6a00;
}

.section-heading h2,
.skills-intro h2,
.about-copy h2 {
  margin: 12px 0 0;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.section-heading > p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.case {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(33, 37, 45, 0.055);
  overflow: hidden;
}

.case-featured {
  min-height: 575px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  background:
    radial-gradient(circle at 88% 18%, rgba(117, 83, 255, 0.1), transparent 30%),
    #fff;
}

.case-copy {
  padding: 54px;
}

.case-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.case-index {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.case-badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: #725500;
  background: var(--yellow-light);
  font-size: 11px;
  font-weight: 800;
}

.case-badge-blue {
  background: #e8f0ff;
  color: #2d61ba;
}

.case-badge-purple {
  background: #eeeaff;
  color: #5842c9;
}

.case-badge-green {
  background: #e5f7ee;
  color: #21784e;
}

.case h3 {
  margin: 16px 0 0;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.case-subtitle {
  margin: 9px 0 26px;
  color: var(--muted);
  font-size: 16px;
}

.problem-box {
  margin: 24px 0;
  padding: 19px;
  border-left: 3px solid var(--yellow);
  border-radius: 0 12px 12px 0;
  background: #faf9f6;
}

.problem-box span {
  font-size: 11px;
  font-weight: 850;
}

.problem-box p {
  margin: 7px 0 0;
  color: #606775;
  font-size: 13px;
  line-height: 1.75;
}

.solution-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 25px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.solution-flow::-webkit-scrollbar {
  display: none;
}

.solution-flow span {
  flex: 0 0 auto;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-size: 11px;
  font-weight: 750;
}

.solution-flow i {
  color: #adb2bb;
  font-style: normal;
  font-size: 12px;
}

.delivery-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.delivery-line > span {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #168652;
  background: #e6f8ef;
  font-size: 11px;
}

.delivery-line p {
  margin: 0;
  color: #535b68;
  font-size: 13px;
  line-height: 1.7;
}

.case-media {
  min-height: 575px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
    radial-gradient(circle, #dad6ff 1px, transparent 1px);
  background-size: auto, 18px 18px;
}

.case-media::before {
  content: "";
  width: 380px;
  height: 380px;
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(140deg, #efeaff, #f9f1bf);
  filter: blur(2px);
}

.phone-shell {
  width: 240px;
  height: 500px;
  padding: 10px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 6px solid #171a21;
  border-radius: 38px;
  background: #171a21;
  box-shadow: 0 30px 70px rgba(20, 20, 28, 0.24);
  transform: rotate(3deg) translateY(35px);
}

.phone-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 24px;
}

.phone-speaker {
  width: 70px;
  height: 19px;
  position: absolute;
  z-index: 2;
  left: calc(50% - 35px);
  top: 9px;
  border-radius: 0 0 13px 13px;
  background: #171a21;
}

.media-note {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 28px;
  padding: 12px 15px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 11px;
  font-weight: 750;
  transform: rotate(-3deg);
}

.media-note span {
  display: block;
  margin-bottom: 4px;
  color: #806000;
  font-size: 9px;
}

.note-yellow {
  background: var(--yellow-light);
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 22px;
}

.case-compact {
  display: grid;
  grid-template-rows: 280px auto;
}

.case-visual,
.research-visual {
  overflow: hidden;
  position: relative;
  background: #edf4fe;
}

.dashboard-visual {
  padding: 28px 0 0 28px;
}

.dashboard-visual img {
  width: 110%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  border-radius: 16px 0 0 0;
  box-shadow: -5px 8px 34px rgba(19, 61, 103, 0.14);
}

.workflow-visual {
  min-height: 300px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.96), transparent 27%),
    linear-gradient(145deg, #e8f2ff 0%, #dceaff 62%, #cbdcf7 100%);
}

.workflow-dashboard {
  width: 78%;
  height: 82%;
  position: absolute;
  left: 24px;
  top: 28px;
  object-fit: cover;
  object-position: top left;
  border: 5px solid rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(22, 59, 104, 0.16);
}

.workflow-phone-stack {
  width: 220px;
  height: 270px;
  position: absolute;
  right: 10px;
  top: 13px;
  z-index: 2;
}

.workflow-phone {
  margin: 0;
  overflow: hidden;
  position: absolute;
  border: 5px solid #fff;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 42px rgba(26, 47, 78, 0.23);
}

.workflow-phone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.workflow-phone-one {
  width: 132px;
  height: 260px;
  left: 1px;
  top: 2px;
  transform: rotate(-5deg);
}

.workflow-phone-two {
  width: 188px;
  height: 116px;
  right: 1px;
  top: 142px;
  transform: rotate(6deg);
}

.skill-flag {
  position: absolute;
  left: 24px;
  bottom: 16px;
  z-index: 3;
  padding: 9px 12px;
  border: 2px solid var(--ink);
  border-radius: 9px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.research-visual {
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 191, 25, 0.25), transparent 25%),
    #f5f1ff;
}

.research-console-card {
  width: 385px;
  height: 224px;
  position: absolute;
  right: 18px;
  top: 25px;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(31, 27, 57, 0.18);
  transform: rotate(2deg);
}

.research-console-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.research-console-card > span {
  position: absolute;
  right: 12px;
  bottom: 11px;
  padding: 8px 10px;
  border-radius: 9px;
  color: #fff;
  background: #17617e;
  box-shadow: 0 8px 22px rgba(24, 82, 107, 0.22);
  font-size: 10px;
  font-weight: 850;
}

.research-output-phone {
  width: 82px;
  height: 170px;
  position: absolute;
  z-index: 4;
  right: 20px;
  bottom: -25px;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(31, 27, 57, 0.22);
  transform: rotate(6deg);
}

.research-output-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.research-stack {
  position: absolute;
  left: 22px;
  top: 40px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.research-stack span {
  width: fit-content;
  padding: 10px 13px;
  border: 1px solid rgba(42, 34, 85, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 9px 24px rgba(60, 43, 120, 0.09);
  font-size: 12px;
  font-weight: 750;
}

.research-stack span:nth-child(2) {
  margin-left: 10px;
}

.research-stack span:nth-child(3) {
  margin-left: 22px;
  background: var(--yellow-light);
}

.case-compact-copy {
  padding: 34px;
}

.case-compact h3 {
  font-size: 25px;
}

.case-compact-copy > p {
  min-height: 69px;
  margin: 13px 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.repeat-flow {
  display: grid;
  grid-template-columns: 1fr auto 0.8fr auto 1fr;
  align-items: center;
  gap: 7px;
  margin: 4px 0 20px;
}

.repeat-flow span,
.repeat-flow strong {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 9px;
  text-align: center;
  font-size: 10px;
  line-height: 1.35;
}

.repeat-flow span {
  border: 1px solid var(--line);
  color: #5e6673;
  background: #fafafa;
}

.repeat-flow strong {
  color: #604700;
  background: var(--yellow-light);
}

.repeat-flow i {
  color: #a3a9b3;
  font-style: normal;
  font-size: 11px;
}

.research-pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1.1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 5px;
  margin: 4px 0 20px;
}

.research-pipeline span,
.research-pipeline strong {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 7px 5px;
  border-radius: 9px;
  text-align: center;
  font-size: 9px;
  line-height: 1.35;
}

.research-pipeline span {
  border: 1px solid var(--line);
  color: #5e6673;
  background: #fafafa;
}

.research-pipeline strong {
  color: #4433a8;
  background: #eeeaff;
}

.research-pipeline i {
  color: #a3a9b3;
  font-style: normal;
  font-size: 10px;
}

.case-compact ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.case-compact li {
  position: relative;
  padding-left: 18px;
  color: #555d69;
  font-size: 12px;
}

.case-compact li::before {
  content: "";
  width: 6px;
  height: 6px;
  position: absolute;
  left: 0;
  top: 5px;
  border-radius: 50%;
  background: var(--yellow);
}

.case-wide {
  min-height: 320px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  margin-top: 22px;
  background:
    radial-gradient(circle at 20% 110%, rgba(255, 191, 25, 0.24), transparent 35%),
    #171b23;
  color: #fff;
}

.case-wide-copy {
  padding: 44px;
}

.case-wide h3 {
  font-size: 29px;
}

.case-wide p {
  margin: 15px 0 25px;
  color: #bac0ca;
  font-size: 14px;
  line-height: 1.75;
}

.case-wide .case-index {
  color: #fff;
}

.deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.deliverables span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #d9dce2;
  background: rgba(255, 255, 255, 0.055);
  font-size: 11px;
}

.pet-preview {
  min-height: 320px;
  overflow: hidden;
  position: relative;
  background: #eef5ff;
}

.pet-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.process-section {
  background: #f5f4ef;
  border-block: 1px solid var(--line);
}

.process-heading {
  margin-bottom: 50px;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}

.process-rail::before {
  content: "";
  height: 1px;
  position: absolute;
  left: 8%;
  right: 8%;
  top: 70px;
  background: #d7d6d0;
}

.process-rail article {
  padding: 0 22px;
  position: relative;
  text-align: center;
}

.process-rail article > span {
  color: #959aa4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.process-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 18px auto 22px;
  position: relative;
  z-index: 1;
  border: 1px solid #d9d8d2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(28, 32, 38, 0.07);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 17px;
  font-weight: 800;
}

.process-rail article:nth-child(3) .process-icon {
  background: var(--yellow);
  border-color: var(--yellow);
}

.process-rail h3 {
  margin: 0;
  font-size: 17px;
}

.process-rail p {
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.skills {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: start;
}

.skills-intro h2 {
  font-size: clamp(35px, 3.6vw, 49px);
}

.skill-groups {
  border-top: 1px solid var(--line);
}

.skill-groups > div {
  display: grid;
  grid-template-columns: 42px 180px 1fr;
  align-items: center;
  gap: 15px;
  min-height: 100px;
  border-bottom: 1px solid var(--line);
}

.skill-number {
  color: #9a9fa8;
  font-size: 10px;
  font-weight: 800;
}

.skill-groups h3 {
  margin: 0;
  font-size: 17px;
}

.skill-groups p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.about-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 80px;
  align-items: center;
  padding-top: 50px;
}

.about-photo {
  height: 560px;
  overflow: hidden;
  position: relative;
  border-radius: 30px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.92), transparent 23%),
    linear-gradient(155deg, #fff8dd 0%, #f3d877 42%, #f1c12a 100%);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.about-stamp {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-around;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
}

.about-stamp span {
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.about-copy {
  padding-right: 30px;
}

.about-lead {
  margin: 26px 0 18px !important;
  color: var(--ink) !important;
  font-size: 20px !important;
  font-weight: 700;
  line-height: 1.65 !important;
}

.about-copy > p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.about-values span {
  padding: 8px 13px;
  border-radius: 999px;
  background: #f0efeb;
  color: #565e6a;
  font-size: 12px;
  font-weight: 650;
}

.about-copy blockquote {
  margin: 34px 0 0;
  padding: 22px 0 0 24px;
  border-top: 1px solid var(--line);
  border-left: 3px solid var(--yellow);
  color: #343a44;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.75;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.footer-brand .brand-mark {
  width: 38px;
  height: 38px;
  font-size: 19px;
}

.footer-inner > p {
  color: #9a9fa8;
  font-size: 11px;
}

.footer-inner > a {
  justify-self: end;
  font-size: 12px;
  font-weight: 750;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 1050px) {
  .site-nav {
    gap: 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 62px;
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow {
    margin-inline: auto;
  }

  .hero h1,
  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .capability-row {
    justify-content: center;
  }

  .hero-visual {
    min-height: 560px;
    max-width: 650px;
    width: 100%;
    margin-inline: auto;
  }

  .case-featured {
    grid-template-columns: 1fr;
  }

  .case-media {
    min-height: 540px;
  }

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

  .case-compact {
    grid-template-columns: 0.9fr 1.1fr;
    grid-template-rows: auto;
    min-height: 400px;
  }

  .case-visual,
  .research-visual {
    min-height: 400px;
  }

  .skills {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

@media (max-width: 780px) {
  .shell,
  .site-header {
    width: min(100% - 32px, 650px);
  }

  .site-header {
    height: 72px;
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .header-cta {
    padding: 10px 13px;
    font-size: 12px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
    padding-bottom: 55px;
    gap: 45px;
  }

  .hero h1 {
    font-size: clamp(31px, 8.4vw, 38px);
    letter-spacing: -0.06em;
  }

  .hero-line {
    width: auto;
    white-space: nowrap;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-lead {
    font-size: 16px;
  }

  .capability-row {
    gap: 12px;
    font-size: 11px;
  }

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

  .portrait-wrap {
    width: min(330px, calc(100% - 42px));
    height: 430px;
    margin-right: 0;
  }

  .impact-card {
    width: min(300px, calc(100% - 28px));
    right: 0;
    bottom: -22px;
  }

  .statement-inner {
    padding: 25px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .statement-tags {
    justify-content: flex-start;
  }

  .section {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .section-heading h2,
  .skills-intro h2,
  .about-copy h2 {
    font-size: 38px;
  }

  .case-copy,
  .case-wide-copy {
    padding: 30px 24px;
  }

  .case h3 {
    font-size: 27px;
  }

  .case-media {
    min-height: 500px;
  }

  .phone-shell {
    width: 220px;
    height: 450px;
  }

  .case-compact {
    grid-template-columns: 1fr;
    grid-template-rows: 250px auto;
  }

  .case-visual,
  .research-visual {
    min-height: 250px;
  }

  .workflow-phone-stack {
    right: 5px;
    transform: scale(0.88);
    transform-origin: right center;
  }

  .workflow-dashboard {
    left: 16px;
  }

  .case-compact-copy {
    padding: 27px 24px;
  }

  .research-visual img {
    max-width: none;
  }

  .research-stack {
    left: 13px;
    top: 28px;
    transform: scale(0.85);
    transform-origin: left top;
  }

  .research-console-card {
    width: 320px;
    height: 210px;
    right: -18px;
    top: 20px;
  }

  .research-output-phone {
    right: 9px;
  }

  .research-pipeline {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 3px;
  }

  .research-pipeline span,
  .research-pipeline strong {
    padding-inline: 3px;
    font-size: 8px;
  }

  .case-wide {
    grid-template-columns: 1fr;
  }

  .pet-preview {
    min-height: 260px;
  }

  .process-rail {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process-rail::before {
    width: 1px;
    height: auto;
    left: 30px;
    right: auto;
    top: 30px;
    bottom: 30px;
  }

  .process-rail article {
    display: grid;
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto;
    column-gap: 18px;
    padding: 15px 0;
    text-align: left;
  }

  .process-rail article > span {
    display: none;
  }

  .process-icon {
    grid-row: 1 / 3;
    margin: 0;
  }

  .process-rail h3 {
    align-self: end;
  }

  .process-rail p {
    margin: 6px 0 0;
  }

  .skill-groups > div {
    grid-template-columns: 38px 1fr;
    gap: 8px;
    padding: 22px 0;
  }

  .skill-groups p {
    grid-column: 2;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 20px;
  }

  .about-photo {
    height: 500px;
  }

  .about-copy {
    padding-right: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner > p {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
