﻿:root {
  --bg: #e9e8e8;
  --paper: #fafafa;
  --ink: #18231d;
  --ink-soft: #3b3b3b;
  --muted: #6f766f;
  --acid: #bfdb39;
  --acid-soft: #dce972;
  --forest: #123c2f;
  --line: rgba(24, 35, 29, 0.14);
  --shadow: 0 28px 80px rgba(24, 35, 29, 0.12);
  --radius: 28px;
  --max: 1700px;
  --pad: clamp(22px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: var(--bg);
  letter-spacing: 0;
  overflow-x: clip;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  color: inherit;
  font: inherit;
}

@keyframes site-header-in {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  width: min(calc(100% - 32px), var(--max));
  min-height: 62px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 9px 10px 9px 18px;
  border: 1px solid rgba(24, 35, 29, 0.12);
  border-radius: 999px;
  background: rgba(250, 250, 250, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(24, 35, 29, 0.08);
  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
  animation: site-header-in 0.34s ease 0.72s forwards;
}

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

.brand {
  gap: 10px;
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--acid);
  font-size: 13px;
  font-weight: 900;
}

.site-nav {
  justify-self: end;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(24, 35, 29, 0.05);
}

.site-nav a,
.filter-bar button,
.pill-button {
  border-radius: 999px;
}

.site-nav a {
  padding: 12px 15px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--ink);
  color: var(--paper);
}

@media (min-width: 1041px) {
  .site-nav a {
    padding: 10px 12px;
    font-size: 12px;
  }
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  justify-self: end;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--acid);
  transition: transform 0.24s ease;
}

section {
  scroll-margin-top: 0;
}

main {
  position: relative;
}

main > section:nth-child(1) {
  z-index: 1;
}

main > section:nth-child(2) {
  z-index: 2;
}

main > section:nth-child(3) {
  z-index: 3;
}

main > section:nth-child(4) {
  z-index: 4;
}

main > section:nth-child(5) {
  z-index: 5;
}

.section-pad {
  padding: clamp(82px, 10vw, 150px) var(--pad);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f4f3f1;
  animation: first-section-cover-in 1.05s cubic-bezier(0.2, 0.72, 0.18, 1) forwards;
}

.hero-panel {
  position: relative;
  width: min(100%, var(--max));
  min-height: 100svh;
  overflow: hidden;
  border-radius: 0;
  background: #f4f3f1;
  color: #111511;
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.97);
  animation: hero-panel-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes first-section-cover-in {
  to {
    transform: translate3d(0, 0, 0);
  }
}

.hero-brand {
  position: absolute;
  top: clamp(18px, 2.2vw, 34px);
  left: clamp(18px, 2.2vw, 34px);
  z-index: 5;
  margin: 0;
  color: rgba(17, 21, 17, 0.76);
  font-size: clamp(15px, 1.35vw, 22px);
  font-weight: 500;
  letter-spacing: -0.045em;
  opacity: 0;
  animation: hero-ui-in 0.32s ease 0.74s forwards;
}

.hero-copy {
  position: absolute;
  top: 25.5%;
  left: 56%;
  z-index: 3;
  width: min(68vw, 1120px);
  transform: translateX(-50%);
  text-align: left;
  pointer-events: none;
}

.hero-headline {
  margin: 0;
  color: #111511;
  font-family: Inter, "Helvetica Neue", "Segoe UI Light", Arial, sans-serif;
  font-size: clamp(72px, 8.2vw, 154px);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.06em;
}

.hero-title-line {
  display: block;
  opacity: 0.2;
}

.hero-title-line-one {
  transform: translate3d(-16vw, 0, 0) scale(0.72);
  animation: hero-title-one-in 0.58s cubic-bezier(0.22, 1, 0.36, 1) 0.68s forwards;
}

.hero-title-line-two {
  text-align: left;
  white-space: nowrap;
  transform: translate3d(16vw, 0, 0) scale(0.72);
  transform-origin: right center;
  animation: hero-title-two-in 0.58s cubic-bezier(0.22, 1, 0.36, 1) 0.68s forwards;
}

.hero-title-line-two::before {
  content: "Creative ";
  visibility: hidden;
}

.hero-subtitle {
  width: 100%;
  margin: clamp(22px, 2.4vw, 38px) 0 0;
  display: grid;
  grid-template-columns: max-content minmax(0, 620px);
  color: rgba(17, 21, 17, 0.58);
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: left;
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  animation: hero-subtitle-in 0.42s ease 1.06s forwards;
}

.hero-subtitle::before {
  content: "Creative\00a0";
  height: 0;
  overflow: hidden;
  visibility: hidden;
  color: transparent;
  font-family: Inter, "Helvetica Neue", "Segoe UI Light", Arial, sans-serif;
  font-size: clamp(72px, 8.2vw, 154px);
  font-weight: 400;
  line-height: 0;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.hero-portrait {
  position: absolute;
  left: clamp(18%, 24vw, 28%);
  bottom: 0;
  z-index: 4;
  height: clamp(520px, 72%, 820px);
  max-width: min(48vw, 640px);
  margin: 0;
  opacity: 0;
  overflow: visible;
  transform: translate3d(20px, 100px, 0) scale(0.96);
  clip-path: inset(100% 0 0 0);
  animation: hero-portrait-reveal 0.68s cubic-bezier(0.22, 1, 0.36, 1) 2.1s forwards;
}

.hero-portrait img {
  width: auto;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: bottom left;
  filter: grayscale(1) contrast(1.05);
}

.hero-contact-card {
  position: absolute;
  top: 96px;
  right: clamp(18px, 2.2vw, 34px);
  z-index: 6;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 0 22px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 18px 48px rgba(24, 35, 29, 0.14);
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  animation: hero-ui-in 0.32s ease 0.78s forwards;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-contact-card i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-style: normal;
  font-size: 20px;
  line-height: 1;
}

.hero-contact-card:hover {
  background: var(--acid-soft);
  transform: translateY(-2px);
}

@keyframes hero-panel-in {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes hero-title-one-in {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes hero-title-two-in {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes hero-subtitle-in {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-portrait-reveal {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0) grayscale(1);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes hero-portrait-reveal-mobile {
  to {
    opacity: 1;
    transform: translate3d(-50%, 0, 0) scale(1);
    filter: blur(0) grayscale(1);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes hero-ui-in {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-nav-in {
  to {
    opacity: 1;
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel,
  .hero-brand,
  .hero-contact-card,
  .hero-title-line,
  .hero-subtitle,
  .hero-portrait,
  .hero-card-nav {
    animation-duration: 0.01ms;
    animation-delay: 0.01ms;
  }
}

.hero-kicker,
.section-label,
.split-heading span,
.timeline-card span,
.modal-copy span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-grid,
.strength-grid,
.profile-intro,
.works-head,
.work-grid,
.timeline,
.contact-panel {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.hero-grid h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.96;
  font-weight: 900;
}

.hero-aside {
  max-width: 680px;
  align-self: auto;
}

.hero-aside p {
  margin: 0 auto 26px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 700;
  line-height: 1.75;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  background: var(--acid);
  color: var(--ink);
  border: 1px solid rgba(24, 35, 29, 0.12);
  font-weight: 900;
  transition: transform 0.22s ease, background 0.22s ease;
}

.pill-button:hover {
  background: var(--acid-soft);
  transform: translateY(-2px);
}

.pill-button.dark {
  background: var(--ink);
  color: var(--paper);
}

.hero-card-nav {
  position: absolute;
  left: 50%;
  bottom: clamp(24px, 5.2vw, 76px);
  z-index: 6;
  width: fit-content;
  max-width: min(100%, 340px);
  min-height: 48px;
  margin: 0 auto;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(3, minmax(82px, 1fr));
  gap: 2px;
  border-radius: 999px;
  background: rgba(250, 250, 250, 0.92);
  box-shadow: 0 24px 70px rgba(24, 35, 29, 0.12);
  opacity: 0;
  transform: translate3d(-50%, 10px, 0);
  animation: hero-nav-in 0.32s ease 0.82s forwards;
}

.hero-card-nav a {
  min-height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-card-nav a:hover,
.hero-card-nav a.is-active {
  background: var(--acid);
  color: var(--ink);
}

.hero-card-nav a:active {
  transform: scale(0.97);
}

.strength-card,
.timeline-card,
.contact-panel {
  border-radius: var(--radius);
  background: var(--bg);
}

.split-heading {
  width: min(100%, var(--max));
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 34px;
  align-items: start;
}

.split-heading h2,
.works-head h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(42px, 7vw, 104px);
  line-height: 0.94;
  font-weight: 900;
}

.works-head h2 sup {
  margin-left: 8px;
  vertical-align: super;
  color: var(--muted);
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 900;
}

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

.strength-card {
  min-height: 280px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.strength-card:hover {
  transform: translateY(-8px);
  background: var(--acid);
  box-shadow: var(--shadow);
}

.strength-card h3 {
  margin: 56px 0 14px;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.08;
}

.strength-card p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1.7;
}

.profile-intro {
  min-height: calc(100svh - clamp(82px, 10vw, 150px) * 2);
  padding: clamp(16px, 2vw, 28px);
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  border: 1px solid rgba(24, 35, 29, 0.08);
  border-radius: 20px;
  background: rgba(250, 250, 250, 0.9);
  color: var(--ink);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  box-shadow: 0 24px 70px rgba(24, 35, 29, 0.08);
}

.profile-visual {
  position: relative;
  margin: 0;
  padding-top: clamp(4px, 1vw, 14px);
}

.profile-visual::after {
  content: none;
}

.profile-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 310px);
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  border-radius: 18px;
}

.profile-visual figcaption {
  position: relative;
  z-index: 2;
  margin-top: 18px;
}

.profile-visual h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(36px, 3.8vw, 58px);
  line-height: 1;
  font-weight: 900;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-tags span {
  padding: 8px 12px;
  border: 1px solid rgba(24, 35, 29, 0.16);
  border-radius: 8px;
  background: rgba(250, 250, 250, 0.62);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.profile-tags span::first-letter {
  color: var(--acid);
}

.profile-contact-mini {
  display: grid;
  gap: 8px 18px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.profile-copy {
  min-height: clamp(460px, 54vw, 640px);
  padding: clamp(8px, 2vw, 28px) 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.profile-eyebrow {
  width: fit-content;
  margin: 0 0 14px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 2.6vw, 48px);
  font-weight: 400;
  line-height: 0.95;
  text-transform: lowercase;
  text-align: left;
}

.profile-eyebrow::first-letter {
  text-transform: uppercase;
}

.profile-eyebrow::after {
  content: "";
  display: block;
  width: 62%;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--acid);
}

.profile-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 2px solid rgba(24, 35, 29, 0.14);
}

.profile-topline strong {
  color: var(--ink);
  font-size: clamp(15px, 1.25vw, 19px);
  font-weight: 900;
  font-style: normal;
}

.profile-slogan {
  margin: 18px 0 16px;
  color: var(--ink);
  font-size: clamp(15px, 1.28vw, 20px);
  font-weight: 800;
  font-style: normal;
}

.profile-resume-block h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1;
  font-weight: 900;
}

.profile-resume-block p,
.profile-resume-block li {
  color: var(--ink-soft);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 700;
  line-height: 1.7;
}

.profile-resume-block p {
  margin: 0 0 6px;
  font-style: normal;
  font-weight: 800;
}

.profile-resume-block ol {
  margin: 0;
  padding-left: 1.2em;
}

.profile-resume-block.compact {
  margin-top: clamp(24px, 4vw, 56px);
}

.profile-skill-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-skill-icons span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: rgba(250, 250, 250, 0.64);
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.works {
  height: var(--works-scroll-height, 420svh);
  min-height: 320svh;
  position: relative;
  overflow: visible;
  background: #f4f3f1;
  color: var(--ink);
}

.works.section-pad {
  padding: 0;
}

.works .section-label,
.works-head p {
  color: var(--muted);
}

.works-head {
  position: absolute;
  inset: 0;
  z-index: 5;
  min-height: 100%;
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.8svh, 20px);
  text-align: center;
  pointer-events: none;
  opacity: var(--works-title-opacity, 1);
  transform: translate3d(0, var(--works-title-y, 0px), 0) scale(var(--works-title-scale, 1));
  transform-origin: center;
}

.works .works-head.reveal,
.works .works-head.reveal.is-visible {
  opacity: var(--works-title-opacity, 1);
  transform: translate3d(0, var(--works-title-y, 0px), 0) scale(var(--works-title-scale, 1));
  transition: none;
}

.works-head > div {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: clamp(8px, 1.4svh, 16px);
}

.works-head > div > .section-label {
  display: none;
}

.works-head h2 {
  width: min(100%, 760px);
  display: grid;
  justify-items: center;
  gap: clamp(8px, 1.2svh, 14px);
  color: var(--ink);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: clamp(58px, 7.2vw, 118px);
  line-height: 0.94;
  font-weight: 400;
  font-feature-settings: "kern" 1;
  filter: drop-shadow(0 24px 58px rgba(24, 35, 29, 0.08));
}

.heading-kicker {
  display: none;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(250, 250, 250, 0.58);
  color: var(--muted);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: clamp(11px, 0.86vw, 13px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.heading-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.heading-en {
  font-style: normal;
  font-weight: 760;
}

.heading-accent {
  font-weight: 760;
}

.heading-cn {
  margin-left: 0.08em;
  padding: 0.08em 0.22em 0.12em;
  border-radius: 999px;
  background: rgba(191, 219, 57, 0.82);
  color: var(--ink);
  font-size: 0.44em;
  font-weight: 900;
  line-height: 1.08;
}

.works-head p {
  max-width: 500px;
  margin: 0;
  display: none;
  color: rgba(24, 35, 29, 0.56);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 700;
  line-height: 1.45;
}

.works.is-category-view .works-head h2 {
  width: min(100%, 780px);
  font-size: clamp(40px, 4.4vw, 64px);
}

.filter-bar {
  position: absolute;
  right: clamp(24px, 4vw, 64px);
  bottom: clamp(26px, 7svh, 72px);
  z-index: 40;
  width: fit-content;
  max-width: min(calc(100% - 48px), 860px);
  margin: 0;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 6px;
  border-radius: 999px;
  background: rgba(250, 250, 250, 0.9);
  box-shadow: 0 18px 54px rgba(24, 35, 29, 0.08);
  scrollbar-width: none;
  opacity: var(--works-tabs-opacity, 0);
  transform: translate3d(0, var(--works-tabs-y, 16px), 0);
  transition: opacity 0.18s ease;
}

.works .filter-bar.reveal,
.works .filter-bar.reveal.is-visible {
  opacity: var(--works-tabs-opacity, 0);
  transform: translate3d(0, var(--works-tabs-y, 16px), 0);
}

.filter-bar button {
  flex: 0 0 auto;
  min-height: 38px;
  border: 0;
  padding: 0 14px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.filter-bar button:hover,
.filter-bar button.is-active {
  background: var(--acid);
  color: var(--ink);
}

.work-grid {
  position: absolute;
  inset: 0;
  z-index: 30;
  width: 100%;
  height: 100%;
  margin: 0;
  gap: clamp(14px, 2vw, 28px);
  overflow: visible;
  padding: 0;
  scroll-snap-type: none;
  scroll-behavior: auto;
  overscroll-behavior-x: auto;
  scrollbar-width: none;
  mask-image: none;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.filter-bar::-webkit-scrollbar,
.work-grid::-webkit-scrollbar {
  display: none;
}

.work-card {
  position: absolute;
  left: 0;
  top: clamp(190px, 26svh, 246px);
  width: clamp(230px, 24vw, 370px);
  flex: none;
  aspect-ratio: 4 / 5;
  min-height: 0;
  border: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper);
  color: var(--paper);
  cursor: pointer;
  text-align: left;
  scroll-snap-align: center;
  box-shadow: 0 26px 76px rgba(24, 35, 29, 0.22);
  pointer-events: auto;
  isolation: isolate;
  transform-origin: top left;
  transition: box-shadow 0.28s ease;
}

.work-card img,
.work-card video {
  opacity: 1;
  filter: none;
}

.work-card:nth-child(2n) {
  margin-top: 0;
}

.work-card:nth-child(3n) {
  margin-top: 0;
}

.work-card.is-large {
  width: clamp(260px, 28vw, 430px);
}

.work-card.is-tall {
  width: clamp(220px, 22vw, 330px);
}

.works.is-category-view .work-grid {
  gap: 0;
  padding: 0;
  scroll-snap-type: x proximity;
}

.works.is-category-view .work-card {
  top: clamp(160px, 24svh, 230px);
  width: clamp(390px, 38vw, 640px);
  border-radius: 26px;
  overflow: visible;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  transition: box-shadow 0.28s ease;
}

.works.is-category-view .work-card.is-large,
.works.is-category-view .work-card.is-tall {
  width: clamp(390px, 38vw, 620px);
}

.work-card img,
.work-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.72, 0.18, 1), filter 0.7s ease, opacity 0.28s ease;
}

.work-card .hover-video {
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}

.work-card.has-hover-video.is-previewing > img {
  opacity: 0;
}

.work-card.has-hover-video.is-previewing .hover-video {
  opacity: 1;
  visibility: visible;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0.22) 58%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 1;
  transition: opacity 0.25s ease;
}

.video-play-icon {
  position: absolute;
  top: clamp(12px, 1.2vw, 16px);
  right: clamp(12px, 1.2vw, 16px);
  z-index: 4;
  width: clamp(36px, 2.8vw, 40px);
  height: clamp(36px, 2.8vw, 40px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  backdrop-filter: blur(3px);
  pointer-events: none;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.18s ease;
}

.video-play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid rgba(255, 255, 255, 0.94);
}

.work-card:hover .video-play-icon {
  transform: scale(1.02);
  background: rgba(255, 255, 255, 0.12);
}

.work-card.is-previewing .video-play-icon {
  opacity: 0;
}

.work-card:hover img,
.work-card:hover video {
  transform: scale(1.055);
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(24, 35, 29, 0.16);
}

.work-card:hover::after {
  opacity: 1;
}

.works.is-category-view .work-card::after {
  display: none;
  opacity: 0;
  background: none;
}

.works.is-category-view .work-card img,
.works.is-category-view .work-card video {
  border-radius: inherit;
  box-shadow: 0 24px 70px rgba(24, 35, 29, 0.16);
}

.works.is-category-view .work-card[data-project-id^="listing-"] {
  background: #fff;
}

.works.is-category-view .work-card[data-project-id^="listing-"] img {
  object-fit: cover;
  object-position: center;
  background: #fff;
}

.works.is-category-view .work-card[data-project-id^="listing-"] .work-copy {
  grid-template-columns: 1fr;
  gap: 3px;
}

.works.is-category-view .work-card[data-project-id^="listing-"] .work-copy h3 {
  max-width: 100%;
  font-size: clamp(12px, 0.82vw, 14px);
  line-height: 1.28;
}

.works.is-category-view .work-card[data-project-id^="listing-"] .work-copy p {
  max-width: 100%;
  font-size: clamp(11px, 0.76vw, 13px);
  line-height: 1.22;
  text-align: left;
}

.works.is-category-view .work-card:hover::after {
  opacity: 0;
}

.work-copy {
  position: absolute;
  inset: auto 28px 28px;
  z-index: 2;
  opacity: 1;
  transform: translateY(0);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.work-card:hover .work-copy {
  opacity: 1;
  transform: translateY(0);
}

.works.is-category-view .work-copy {
  inset: calc(100% + 14px) 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  align-items: start;
  opacity: 1;
  transform: none;
  color: var(--ink);
  pointer-events: none;
}

.work-copy span {
  display: block;
  margin-bottom: 12px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #9edfe0;
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.work-copy h3 {
  max-width: 560px;
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 2.5vw, 42px);
  font-weight: 700;
  line-height: 1.12;
}

.works.is-category-view .work-copy h3 {
  max-width: 100%;
  color: var(--ink);
  font-size: clamp(12px, 0.82vw, 14px);
  font-weight: 500;
  line-height: 1.28;
}

.work-copy p {
  max-width: 540px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.7;
}

.works.is-category-view .work-copy p {
  max-width: 100%;
  margin: 0;
  color: rgba(24, 35, 29, 0.58);
  font-size: clamp(11px, 0.76vw, 13px);
  font-weight: 500;
  line-height: 1.22;
  text-align: left;
}

.works.is-category-view .work-copy span,
.works.is-category-view .work-copy strong {
  display: none;
}

.work-copy strong {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(158, 223, 224, 0.58);
  color: #fff;
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 800;
}

.work-copy strong b {
  font-size: 24px;
  font-weight: 500;
  line-height: 0.8;
}

.experience {
  min-height: 100svh;
  display: grid;
  align-items: stretch;
  background: #f7f6f2;
  color: var(--ink);
}

.advantage-showcase {
  position: relative;
  width: min(100%, var(--max));
  min-height: calc(100svh - clamp(82px, 10vw, 150px) * 2);
  margin: 0 auto;
  display: grid;
  align-content: space-between;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(circle at top right, rgba(157, 216, 207, 0.16), rgba(157, 216, 207, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
}

.advantage-showcase::before {
  content: "";
  position: absolute;
  inset: -18% -10% auto auto;
  width: 44vw;
  height: 44vw;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(157, 216, 207, 0.18), rgba(157, 216, 207, 0) 64%);
  pointer-events: none;
}

.advantage-backdrop {
  position: absolute;
  top: -0.14em;
  left: -0.04em;
  z-index: 0;
  color: rgba(24, 35, 29, 0.06);
  font-size: clamp(118px, 18vw, 340px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
}

.advantage-hero {
  position: relative;
  z-index: 1;
  padding-top: clamp(18px, 2.8vw, 42px);
}

.advantage-kicker {
  display: inline-block;
  margin-bottom: clamp(18px, 2vw, 28px);
  color: rgba(24, 35, 29, 0.62);
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 900;
  line-height: 1;
}

.advantage-hero h2 {
  max-width: 920px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(58px, 7.5vw, 134px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.advantage-columns {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(24, 35, 29, 0.12);
}

.advantage-column {
  min-height: clamp(300px, 33svh, 430px);
  padding: clamp(28px, 3vw, 48px) clamp(22px, 2.6vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(16px, 1.8vw, 24px);
  border-left: 1px solid rgba(24, 35, 29, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08));
}

.advantage-column:first-child {
  border-left: 0;
}

.advantage-icon {
  margin-bottom: auto;
  color: rgba(24, 35, 29, 0.55);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 700;
  line-height: 1;
}

.advantage-column h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(25px, 2.05vw, 36px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

.advantage-column p {
  max-width: 350px;
  margin: 0;
  color: rgba(24, 35, 29, 0.66);
  font-size: clamp(15px, 1.05vw, 19px);
  font-weight: 700;
  line-height: 1.7;
}

.timeline {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
}

.timeline-card {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
}

.timeline-card h3 {
  margin: 12px 0 24px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
}

.timeline-card ol {
  margin: 0;
  padding-left: 1.1em;
}

.timeline-card li,
.timeline-card p {
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.85;
}

.timeline-card.muted {
  background: var(--ink);
  color: var(--paper);
}

.timeline-card.muted p,
.timeline-card.muted span {
  color: rgba(250, 250, 250, 0.72);
}

.contact {
  min-height: 100svh;
  display: grid;
  align-items: center;
  background: var(--forest);
  color: var(--paper);
}

.contact-panel {
  position: relative;
  width: min(100%, var(--max));
  min-height: 100svh;
  padding: clamp(76px, 8vw, 126px) var(--pad) clamp(92px, 10vw, 148px);
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  background: transparent;
  box-shadow: none;
}

.contact-panel .section-label {
  margin-bottom: clamp(18px, 2.4vw, 34px);
  color: rgba(250, 250, 250, 0.72);
}

.contact-panel h2 {
  position: relative;
  z-index: 1;
  width: min(100%, 900px);
  margin: 0 0 clamp(48px, 5.4vw, 78px);
  color: var(--paper);
  font-size: clamp(92px, 10.8vw, 174px);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.065em;
}

.contact-panel h2 span {
  display: block;
}

.contact-panel h2 span:last-child {
  color: var(--acid);
  margin-top: 0.08em;
}

.contact-avatar {
  position: absolute;
  left: 50%;
  top: 39.5%;
  z-index: 2;
  width: clamp(78px, 7vw, 112px);
  aspect-ratio: 1;
  overflow: hidden;
  border: clamp(5px, 0.45vw, 8px) solid var(--bg);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 22px 60px rgba(7, 12, 9, 0.26);
}

.contact-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-email {
  display: grid;
  gap: 8px;
  color: rgba(250, 250, 250, 0.82);
  font-size: clamp(13px, 1.05vw, 18px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.contact-email a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-size: clamp(26px, 2.65vw, 42px);
  font-weight: 500;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.contact-email a::after {
  content: "\2198";
  width: 34px;
  height: 34px;
  margin-left: 10px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--acid);
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  padding: 24px;
}

.modal.is-open {
  display: grid;
  place-items: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 9, 0.76);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  z-index: 2;
  width: min(100%, 1540px);
  max-height: min(92vh, 940px);
  display: grid;
  grid-template-columns: minmax(300px, 0.36fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 28px;
  background: #f7f7f5;
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.38);
}

.modal-media {
  min-height: 720px;
  max-height: min(92vh, 940px);
  padding: clamp(22px, 3vw, 44px);
  overflow: auto;
  background: #f7f7f5;
  overscroll-behavior: contain;
}

.modal-media img,
.modal-media video {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.modal-media video {
  display: block;
  min-height: 520px;
  background: #050505;
}

.modal-gallery {
  display: grid;
  gap: clamp(26px, 4vw, 54px);
}

.modal-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 56px rgba(9, 20, 15, 0.12);
}

.modal-gallery img,
.modal-gallery video {
  display: block;
}

.modal-copy {
  padding: clamp(28px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  background: #f7f7f5;
  border-right: 1px solid rgba(24, 35, 29, 0.12);
}

.modal-copy > span {
  align-self: flex-start;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(24, 35, 29, 0.2);
  border-radius: 0;
  background: transparent;
  color: rgba(24, 35, 29, 0.58);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.modal-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 2.45vw, 42px);
  font-weight: 500;
  line-height: 1.08;
}

.modal-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1.75;
}

.modal-meta {
  display: grid;
  gap: 28px;
  margin-top: auto;
  color: var(--ink);
}

.modal-meta div {
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(24, 35, 29, 0.16);
}

.modal-meta span {
  color: rgba(24, 35, 29, 0.54);
  font-size: 12px;
  font-weight: 800;
}

.modal-meta strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

.modal-work-section {
  display: grid;
  gap: 18px;
}

.modal-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(24, 35, 29, 0.16);
  color: var(--ink);
}

.modal-section-title span {
  font-size: clamp(24px, 2.6vw, 42px);
  font-weight: 500;
}

.modal-section-title em {
  font-style: normal;
  color: rgba(24, 35, 29, 0.48);
  font-size: 14px;
  font-weight: 800;
}

.modal-section-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.modal-work-section.is-main-images .modal-section-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.modal-work-section.is-continuous .modal-section-items {
  grid-template-columns: 1fr;
  gap: 0;
}

.modal-work-section.is-continuous figure {
  border-radius: 0;
  box-shadow: none;
}

.modal-work-section.is-continuous img {
  width: 100%;
}

.modal[data-project-category="detail"] .modal-gallery {
  gap: 24px;
}

.modal[data-project-category="detail"] .modal-work-section {
  gap: 24px;
}

.modal[data-project-category="detail"] .modal-section-title {
  border-bottom-color: rgba(24, 35, 29, 0.2);
}

.modal[data-project-category="detail"] .modal-section-title span {
  max-width: 420px;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 0.98;
}

.modal[data-project-category="detail"] .modal-section-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  column-gap: clamp(18px, 2.2vw, 34px);
  row-gap: 0;
}

.modal-work-section.is-detail-flow .detail-flow-column {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
}

.modal-work-section.is-detail-flow .detail-flow-column:nth-child(2) {
  margin-top: clamp(72px, 7vw, 128px);
}

.modal[data-project-category="detail"] .modal-gallery figure {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.modal-work-section.is-detail-flow .detail-flow-column figure {
  margin: 0;
  overflow: visible;
}

.modal[data-project-category="detail"] .modal-gallery img {
  width: min(100%, 520px);
  margin: 0 auto;
}

.modal-work-section.is-detail-flow .detail-flow-column img {
  width: 100%;
  margin: 0;
}

.modal[data-project-category="site"] .modal-card {
  width: min(100%, 1720px);
  grid-template-columns: minmax(280px, 0.3fr) minmax(0, 1fr);
}

.modal[data-project-category="site"] .modal-media {
  padding: clamp(18px, 2vw, 32px);
}

.modal[data-project-category="site"] .modal-gallery {
  justify-items: center;
}

.modal[data-project-category="site"] .modal-section-items {
  grid-template-columns: 1fr;
  justify-items: center;
}

.modal[data-project-category="site"] .modal-gallery figure {
  width: min(100%, 1120px);
}

.modal[data-project-category="site"] .modal-gallery img {
  width: 100%;
}

.modal[data-project-category="aigc"] .modal-card {
  width: min(100%, 1640px);
  grid-template-columns: minmax(280px, 0.3fr) minmax(0, 1fr);
}

.modal[data-project-category="aigc"] .modal-media {
  background: #f4f3f1;
  padding: clamp(16px, 2.4vw, 34px);
}

.modal-work-section.is-aigc-mixed {
  gap: 18px;
}

.modal-work-section.is-aigc-mixed .modal-section-title {
  color: rgba(24, 35, 29, 0.72);
  border-bottom-color: rgba(24, 35, 29, 0.16);
}

.modal-work-section.is-aigc-mixed .modal-section-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(10px, 1.2vw, 18px);
}

.modal-work-section.is-aigc-mixed figure {
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.modal-work-section.is-aigc-mixed figure.is-horizontal {
  grid-column: 1 / -1;
}

.modal[data-project-id="aigc-effect"] .modal-work-section.is-aigc-mixed .modal-section-items {
  width: min(100%, 620px);
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
}

.modal[data-project-id="aigc-effect"] .modal-work-section.is-aigc-mixed figure.is-horizontal {
  grid-column: auto;
}

.modal[data-project-id="aigc-effect"] .modal-work-section.is-aigc-mixed figure:nth-child(8),
.modal[data-project-id="aigc-effect"] .modal-work-section.is-aigc-mixed figure:nth-child(11) {
  grid-column: 1 / -1;
}

.modal-work-section.is-aigc-mixed img,
.modal-work-section.is-aigc-mixed video {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.modal-close {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(24, 35, 29, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.modal-close:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(24, 35, 29, 0.28);
}

.modal-close:active {
  transform: scale(0.95);
}

@media (max-width: 640px) {
  .modal-close {
    width: 56px;
    height: 56px;
    top: 16px;
    right: 16px;
    font-size: 32px;
    box-shadow: 0 10px 30px rgba(24, 35, 29, 0.3);
  }

  .modal-close:hover {
    transform: scale(1.05);
  }
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--acid);
  box-shadow: 0 18px 46px rgba(24, 35, 29, 0.22);
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

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

.back-to-top:hover {
  background: var(--forest);
}

.reveal {
  opacity: 0;
  transform: translateY(58px);
  transition: opacity 0.82s ease, transform 0.9s cubic-bezier(0.2, 0.72, 0.18, 1);
}

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

@media (min-width: 1500px) {
  .hero-copy {
    width: min(72vw, 1180px);
  }

  .profile-intro {
    grid-template-columns: minmax(300px, 0.38fr) minmax(0, 1fr);
  }

  .works-head h2,
  .works.is-category-view .works-head h2 {
    width: min(100%, 920px);
  }

  .filter-bar {
    max-width: min(calc(100% - 64px), 1040px);
  }
}

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

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 28px;
    background: rgba(250, 250, 250, 0.96);
    box-shadow: 0 20px 50px rgba(24, 35, 29, 0.16);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s ease;
  }

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

  body.menu-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0 18px;
  }

  .hero-grid,
  .profile-intro,
  .timeline,
  .modal-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    top: 27%;
    left: 56%;
    width: min(78vw, 900px);
  }

  .hero-portrait {
    left: clamp(16%, 22vw, 26%);
    height: clamp(420px, 66%, 680px);
    max-width: min(48vw, 520px);
  }

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

  .split-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .work-card,
  .work-card.is-large,
  .work-card.is-tall {
    flex: 0 0 clamp(230px, 42vw, 360px);
    min-height: 0;
  }

  .modal-card {
    overflow: auto;
  }

  .modal[data-project-category="site"] .modal-card {
    width: min(100%, 760px);
    grid-template-columns: 1fr;
  }

  .modal[data-project-category="site"] .modal-copy {
    border-right: 0;
    border-bottom: 1px solid rgba(24, 35, 29, 0.12);
  }

  .modal[data-project-category="site"] .modal-media {
    min-height: 0;
    max-height: none;
  }

  .modal-media {
    min-height: 54vh;
  }

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

@media (max-width: 820px) {
  .section-pad {
    padding: 96px var(--pad) 56px;
  }

  .hero-card-nav {
    max-width: min(calc(100% - 34px), 420px);
  }

  .profile-intro {
    min-height: auto;
  }

  .profile-contact-mini,
  .profile-tags {
    max-width: 100%;
  }

  .advantage-showcase {
    min-height: auto;
  }

  .advantage-backdrop {
    font-size: clamp(86px, 22vw, 190px);
  }

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

  .advantage-column:nth-child(odd) {
    border-left: 0;
  }

  .advantage-column:nth-child(n + 3) {
    border-top: 1px solid rgba(24, 35, 29, 0.12);
  }

  .timeline-card {
    padding: 24px;
  }

  .contact-panel {
    border-radius: 28px;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 18px;
    --radius: 22px;
  }

  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), var(--max));
    min-height: 58px;
    padding-left: 12px;
  }

  .brand span:last-child {
    max-width: 176px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 100svh;
    padding: 0;
  }

  .hero-panel {
    min-height: 100svh;
    border-radius: 0;
  }

  .hero-brand {
    top: 16px;
    left: 18px;
    font-size: 15px;
  }

  .hero-contact-card {
    top: 14px;
    right: 14px;
    min-height: 44px;
    padding-left: 16px;
    font-size: 13px;
  }

  .hero-contact-card i {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }

  .hero-copy {
    top: 16%;
    left: 50%;
    width: min(calc(100vw - 42px), 560px);
    text-align: left;
  }

  .hero-headline {
    font-size: clamp(48px, 16vw, 82px);
    line-height: 0.88;
    letter-spacing: -0.052em;
  }

  .hero-title-line-one {
    transform: translate3d(-18vw, 0, 0) scale(0.72);
  }

  .hero-title-line-two {
    text-align: right;
    transform: translate3d(18vw, 0, 0) scale(0.72);
  }

  .hero-title-line-two::before {
    content: none;
  }

  .hero-subtitle {
    width: min(100%, 330px);
    margin: 16px 0 0 auto;
    display: block;
    font-size: 11px;
    line-height: 1.45;
  }

  .hero-subtitle::before {
    content: none;
  }

  .hero-portrait {
    left: 50%;
    bottom: 0;
    height: min(54svh, 440px);
    max-width: 82vw;
    transform: translate3d(-42%, 100px, 0) scale(0.96);
    animation-name: hero-portrait-reveal-mobile;
  }

  .hero-card-nav {
    width: min(calc(100% - 20px), 290px);
    min-height: 48px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    bottom: 14px;
  }

  .hero-card-nav a {
    min-height: 34px;
    font-size: 11px;
  }

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

  .strength-card {
    min-height: 210px;
  }

  .profile-visual,
  .profile-copy {
    min-height: auto;
  }

  .profile-visual {
    width: min(100%, 300px);
    justify-self: center;
  }

  .profile-copy {
    padding: 0;
  }

  .profile-intro {
    padding: 18px;
    gap: 26px;
  }

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

  .experience.section-pad {
    padding: 92px var(--pad) 64px;
  }

  .advantage-backdrop {
    top: 22px;
    font-size: clamp(70px, 24vw, 120px);
  }

  .advantage-hero {
    padding-top: 0;
  }

  .advantage-hero h2 {
    font-size: clamp(46px, 13vw, 68px);
  }

  .advantage-columns {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .advantage-column,
  .advantage-column:nth-child(odd) {
    min-height: 230px;
    padding: 26px 0;
    border-left: 0;
    border-top: 1px solid rgba(24, 35, 29, 0.12);
  }

  .advantage-column h3 {
    font-size: 28px;
  }

  .advantage-column p {
    font-size: 15px;
  }

  .split-heading h2,
  .works-head h2,
  .contact-panel h2 {
    font-size: clamp(38px, 13vw, 64px);
  }

  .work-card,
  .work-card.is-large,
  .work-card.is-tall {
    width: min(78vw, 320px);
    flex-basis: auto;
    min-height: 0;
    border-radius: 22px;
  }

  .works.is-category-view .work-card,
  .works.is-category-view .work-card.is-large,
  .works.is-category-view .work-card.is-tall {
    width: min(82vw, 340px);
    flex-basis: auto;
    border-radius: 24px;
  }

  .work-card:nth-child(2n),
  .work-card:nth-child(3n) {
    margin-top: 0;
  }

  .works-head {
    min-height: 0;
    padding-inline: 18px;
  }

  .works-head h2 {
    width: min(100%, 340px);
    font-size: clamp(38px, 12vw, 56px);
  }

  .works-head p {
    max-width: 300px;
    font-size: 12px;
  }

  .filter-bar {
    left: 18px;
    right: 72px;
    bottom: 20px;
    width: auto;
    max-width: none;
    transform: translate3d(0, var(--works-tabs-y, 16px), 0);
    justify-content: flex-start;
    padding: 6px;
  }

  .works .filter-bar.reveal,
  .works .filter-bar.reveal.is-visible {
    transform: translate3d(0, var(--works-tabs-y, 16px), 0);
  }

  .filter-bar button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .contact-panel {
    min-height: 100svh;
    padding: 82px 18px 96px;
  }

  .contact-panel h2 {
    width: min(100%, 340px);
    margin-bottom: 40px;
    font-size: clamp(60px, 17vw, 92px);
    line-height: 0.84;
    letter-spacing: -0.058em;
  }

  .contact-avatar {
    top: 40%;
    width: clamp(64px, 18vw, 86px);
    border-width: 5px;
  }

  .contact-email {
    font-size: 13px;
  }

  .contact-email a {
    font-size: clamp(22px, 7vw, 30px);
  }

  .work-copy {
    inset: auto 18px 18px;
  }

  .work-copy span {
    font-size: 11px;
  }

  .work-copy h3 {
    font-size: clamp(23px, 7vw, 30px);
  }

  .work-copy p {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.55;
  }

  .work-copy strong {
    margin-top: 14px;
    font-size: 13px;
  }

  .works.is-category-view .work-copy {
    inset: calc(100% + 10px) 0 auto;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .works.is-category-view .work-copy h3 {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.25;
  }

  .works.is-category-view .work-copy p {
    max-width: 100%;
    font-size: 11px;
    line-height: 1.3;
    text-align: left;
  }

  .modal {
    padding: 12px;
  }

  .modal-close {
    top: 18px;
    right: 18px;
  }

  .modal-card {
    max-height: min(90vh, 720px);
    border-radius: 22px;
  }

  .modal[data-project-category="site"] .modal-card {
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .modal[data-project-category="site"] .modal-copy {
    padding: 22px;
    gap: 20px;
  }

  .modal-media {
    min-height: 38vh;
    max-height: 52vh;
  }

  .modal[data-project-category="site"] .modal-media {
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding: 18px;
  }

  .modal[data-project-category="site"] .modal-gallery {
    gap: 22px;
  }

  .modal[data-project-category="site"] .modal-gallery figure {
    width: 100%;
  }

  .modal-section-items,
  .modal-work-section.is-main-images .modal-section-items {
    grid-template-columns: 1fr;
  }

  .modal[data-project-category="listing"] .modal-work-section.is-main-images .modal-section-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .modal[data-project-category="detail"] .modal-section-items {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .modal[data-project-category="aigc"] .modal-card {
    grid-template-columns: 1fr;
  }

  .modal-work-section.is-aigc-mixed .modal-section-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .modal[data-project-category="detail"] .modal-section-title span {
    font-size: clamp(26px, 8vw, 34px);
  }

  .modal-work-section.is-detail-flow .detail-flow-column:nth-child(2) {
    margin-top: 0;
  }

  .modal-copy {
    padding: 20px;
  }

  .modal-copy h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    font-size: 21px;
  }
}

.is-normalized-close {
  font-family: Inter, Arial, "Microsoft YaHei", "PingFang SC", sans-serif !important;
  font-style: normal !important;
  font-size: clamp(22px, 2.2vw, 32px) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-transform: none !important;
}

.is-normalized-close::before,
.is-normalized-close::after {
  content: none !important;
}

/* Keep the portfolio typography upright and make close controls unambiguous. */
body,
button,
input,
textarea,
select,
a,
p,
span,
small,
strong,
em,
i,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-style: normal !important;
}

.modal-close,
.detail-close,
.project-close,
.lightbox-close,
.video-close,
.drawer-close,
.is-normalized-close,
button[aria-label*="close" i],
button[aria-label*="关闭"],
button[title*="close" i],
button[title*="关闭"] {
  font-family: Inter, Arial, "Microsoft YaHei", "PingFang SC", sans-serif !important;
  font-style: normal !important;
  font-size: 0 !important;
  text-indent: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.modal-close::before,
.detail-close::before,
.project-close::before,
.lightbox-close::before,
.video-close::before,
.drawer-close::before,
.is-normalized-close::before,
button[aria-label*="close" i]::before,
button[aria-label*="关闭"]::before,
button[title*="close" i]::before,
button[title*="关闭"]::before {
  content: "\00d7" !important;
  font-size: clamp(20px, 2vw, 30px) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}
/* Final guard: keep all site text upright and normalize close controls. */
html,
body,
body * {
  font-style: normal !important;
}

.modal-close,
.detail-close,
.project-close,
.lightbox-close,
.video-close,
.drawer-close,
.is-normalized-close,
button[aria-label*="close" i],
button[aria-label*="关闭"],
button[title*="close" i],
button[title*="关闭"] {
  font-family: Inter, Arial, "Microsoft YaHei", "PingFang SC", sans-serif !important;
  font-style: normal !important;
  font-size: 0 !important;
  text-indent: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;
}

.modal-close::before,
.detail-close::before,
.project-close::before,
.lightbox-close::before,
.video-close::before,
.drawer-close::before,
.is-normalized-close::before,
button[aria-label*="close" i]::before,
button[aria-label*="关闭"]::before,
button[title*="close" i]::before,
button[title*="关闭"]::before {
  content: "\00d7" !important;
  font-size: clamp(18px, 1.8vw, 28px) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  color: currentColor !important;
}
/* Final override: keep all text upright and normalize close controls. */
html,
body,
body * {
  font-style: normal !important;
}

.modal-close,
.detail-close,
.project-close,
.lightbox-close,
.video-close,
.drawer-close,
.is-normalized-close,
button[aria-label*="close" i],
button[aria-label*="关闭"],
button[title*="close" i],
button[title*="关闭"] {
  font-family: Inter, Arial, "Microsoft YaHei", "PingFang SC", sans-serif !important;
  font-style: normal !important;
  font-size: 0 !important;
  text-indent: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;
}

.modal-close::before,
.detail-close::before,
.project-close::before,
.lightbox-close::before,
.video-close::before,
.drawer-close::before,
.is-normalized-close::before,
button[aria-label*="close" i]::before,
button[aria-label*="关闭"]::before,
button[title*="close" i]::before,
button[title*="关闭"]::before {
  content: "\00d7" !important;
  font-size: clamp(18px, 1.8vw, 28px) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  color: currentColor !important;
}
html,
body,
body * {
  font-style: normal !important;
}
html,
body,
body * {
  font-style: normal !important;
}

[data-close],
[data-modal-close],
[data-detail-close],
.close,
.close-btn,
.modal-close,
.detail-close,
.project-close,
.lightbox-close,
.case-close,
.work-close {
  font-family: Arial, Helvetica, sans-serif !important;
  font-style: normal !important;
}

.contact.section-pad {
  padding: 0;
}

.works.is-standard-flow {
  height: auto !important;
  min-height: 100svh;
  overflow: hidden;
}

.works.is-standard-flow .works-stage {
  position: relative;
  top: auto;
  height: auto;
  min-height: 100svh;
  overflow: visible;
  padding: clamp(104px, 9vw, 140px) 0 clamp(72px, 8vw, 120px);
}

.works.is-standard-flow .works-head {
  position: relative;
  inset: auto;
  min-height: 0;
  margin-bottom: clamp(24px, 3vw, 42px);
  padding: 0 var(--pad);
  justify-content: flex-start;
}

.works.is-standard-flow .works-head h2,
.works.is-standard-flow.is-category-view .works-head h2 {
  font-size: clamp(40px, 4.4vw, 64px);
}

.works.is-standard-flow .filter-bar,
.works.is-standard-flow .filter-bar.reveal,
.works.is-standard-flow .filter-bar.reveal.is-visible {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  width: fit-content;
  max-width: calc(100% - 2 * var(--pad));
  margin: 0 auto clamp(24px, 3vw, 40px);
  opacity: 1;
  transform: none;
}

.works.is-standard-flow .work-grid,
.works.is-standard-flow.is-category-view .work-grid {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 26px);
  padding: 0 var(--pad);
  overflow: visible;
  pointer-events: auto;
}

.works.is-standard-flow .work-card,
.works.is-standard-flow .work-card.is-large,
.works.is-standard-flow .work-card.is-tall,
.works.is-standard-flow.is-category-view .work-card,
.works.is-standard-flow.is-category-view .work-card.is-large,
.works.is-standard-flow.is-category-view .work-card.is-tall {
  position: relative;
  top: auto;
  left: auto;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden;
  border-radius: 16px;
  background: var(--paper);
  color: #fff;
  box-shadow: 0 18px 48px rgba(24, 35, 29, 0.14);
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.works.is-standard-flow.is-category-view .work-card::after {
  display: block;
  opacity: 1;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.72) 100%);
}

.works.is-standard-flow .work-copy,
.works.is-standard-flow.is-category-view .work-copy {
  inset: auto 18px 18px;
  display: block;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.works.is-standard-flow .work-copy h3,
.works.is-standard-flow.is-category-view .work-copy h3 {
  color: #fff;
  font-size: clamp(18px, 1.5vw, 26px);
  font-weight: 700;
}

.works.is-standard-flow .work-copy p,
.works.is-standard-flow .work-copy strong,
.works.is-standard-flow.is-category-view .work-copy p,
.works.is-standard-flow.is-category-view .work-copy strong {
  display: none;
}

@media (max-width: 1100px) {
  .works.is-standard-flow .work-grid,
  .works.is-standard-flow.is-category-view .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .works.is-standard-flow .works-stage {
    padding: 92px 0 72px;
  }

  .works.is-standard-flow .filter-bar,
  .works.is-standard-flow .filter-bar.reveal,
  .works.is-standard-flow .filter-bar.reveal.is-visible {
    width: calc(100% - 36px);
    max-width: none;
    margin-bottom: 22px;
  }

  .works.is-standard-flow .work-grid,
  .works.is-standard-flow.is-category-view .work-grid {
    grid-template-columns: 1fr;
    padding: 0 18px;
  }
}

.works.is-scroll-gallery {
  height: 100svh !important;
  min-height: 100svh;
}

/* Video projects open as a full-viewport player without project copy. */
.modal[data-project-category="video"] {
  padding: 0;
  background: #000;
}

.modal[data-project-category="video"] .modal-backdrop {
  background: #000;
  backdrop-filter: none;
}

.modal[data-project-category="video"] .modal-card {
  width: 100vw;
  height: 100dvh;
  max-height: none;
  display: block;
  overflow: hidden;
  border-radius: 0;
  background: #000;
  box-shadow: none;
}

.modal[data-project-category="video"] .modal-copy,
.modal[data-project-category="video"] .modal-section-title {
  display: none;
}

.modal[data-project-category="video"] .modal-media,
.modal[data-project-category="video"] .modal-gallery,
.modal[data-project-category="video"] .modal-work-section,
.modal[data-project-category="video"] .modal-section-items,
.modal[data-project-category="video"] .modal-gallery figure {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  border-radius: 0;
  background: #000;
  box-shadow: none;
}

.modal[data-project-category="video"] .modal-media video {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #000;
}

.modal[data-project-category="video"] .modal-close {
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  z-index: 5;
}

/* About screen: reference-led editorial layout in the site's existing palette. */
.strengths.section-pad {
  padding: 0;
  background: #f4f3f1;
}

.strengths .profile-intro {
  width: min(100%, var(--max));
  height: 100svh;
  min-height: 0;
  margin: 0 auto;
  padding: clamp(94px, 10svh, 124px) clamp(28px, 5vw, 80px) clamp(22px, 4svh, 42px);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(16px, 2.4svh, 28px);
  align-items: stretch;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #f4f3f1;
  box-shadow: none;
}

.profile-section-heading,
.profile-main,
.profile-details,
.profile-heading-copy,
.profile-name-row,
.profile-resume-heading {
  display: flex;
}

.profile-section-heading {
  align-items: flex-start;
  justify-content: space-between;
}

.profile-heading-copy {
  align-items: flex-start;
  gap: 14px;
}

.profile-heading-copy > i,
.profile-skills h3 > i,
.profile-experience h3 > i {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--acid);
}

.profile-heading-copy p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 40px);
  font-weight: 700;
  line-height: 0.95;
}

.profile-heading-copy span {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 600;
}

.profile-dot-grid {
  display: grid;
  grid-template-columns: repeat(3, 5px);
  gap: 7px;
  padding-top: 4px;
}

.profile-dot-grid i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
}

.profile-main {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(330px, 0.88fr) minmax(460px, 1.12fr);
  gap: clamp(40px, 7vw, 108px);
  align-items: center;
  padding: 0 clamp(0px, 2vw, 34px);
}

.strengths .profile-copy {
  min-height: 0;
  padding: 0;
  justify-content: center;
}

.profile-name-row {
  align-items: flex-end;
  gap: clamp(12px, 2vw, 28px);
}

.strengths .profile-eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.strengths .profile-eyebrow::after {
  display: none;
}

.profile-name-row h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(58px, 6.3vw, 104px);
  font-weight: 650;
  line-height: 0.88;
  letter-spacing: 0;
  white-space: nowrap;
}

.profile-signature {
  margin-bottom: 5px;
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 50px);
  font-weight: 400;
  line-height: 1;
}

.profile-role {
  display: grid;
  gap: 4px;
  margin-top: clamp(18px, 2.3svh, 26px);
  padding-left: 18px;
  border-left: 4px solid var(--acid);
}

.profile-role strong {
  color: var(--ink);
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 700;
  line-height: 1.2;
}

.profile-role span,
.strengths .profile-slogan {
  color: var(--ink-soft);
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 500;
}

.strengths .profile-slogan {
  margin: clamp(14px, 2svh, 22px) 0 0;
}

.strengths .profile-contact-mini {
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 8px clamp(16px, 2vw, 28px);
  margin-top: clamp(14px, 2svh, 22px);
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 600;
}

.strengths .profile-tags {
  margin-top: 14px;
  gap: 7px;
}

.strengths .profile-tags span {
  padding: 6px 9px;
  border-color: var(--line);
  border-radius: 4px;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
}

.strengths .profile-visual {
  width: 100%;
  height: min(40svh, 390px);
  min-height: 260px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg);
}

.strengths .profile-visual img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 0;
}

.profile-details {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 0;
  padding-top: clamp(18px, 2.5svh, 26px);
  border-top: 1px solid var(--line);
}

.profile-skills {
  padding-right: clamp(24px, 4vw, 64px);
  border-right: 1px solid var(--line);
}

.profile-experience {
  padding-left: clamp(24px, 4vw, 64px);
}

.profile-skills h3,
.profile-experience h3 {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 750;
  line-height: 1.25;
}

.profile-skills h3 small,
.profile-experience h3 small {
  color: var(--ink-soft);
  font-size: 0.78em;
  font-weight: 500;
}

.strengths .profile-skill-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(54px, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  margin-top: clamp(14px, 2svh, 20px);
}

.strengths .profile-skill-icons > span {
  width: auto;
  height: auto;
  display: grid;
  justify-items: start;
  gap: 7px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.strengths .profile-skill-icons b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(24, 35, 29, 0.07);
}

.strengths .profile-skill-icons small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.profile-resume-list {
  display: grid;
  gap: clamp(10px, 1.4svh, 16px);
  margin-top: clamp(12px, 1.7svh, 18px);
}

.profile-resume-block {
  position: relative;
  padding-left: 18px;
}

.profile-resume-block::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
}

.profile-resume-heading {
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.strengths .profile-resume-block p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 750;
  line-height: 1.25;
}

.profile-resume-heading time {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.strengths .profile-resume-block ol {
  margin: 5px 0 0;
  padding-left: 1.1em;
}

.strengths .profile-resume-block li {
  color: var(--ink-soft);
  font-size: clamp(10px, 0.8vw, 12px);
  font-weight: 500;
  line-height: 1.42;
}

@media (max-width: 900px) {
  .strengths .profile-intro {
    padding-inline: clamp(22px, 4vw, 38px);
  }

  .profile-main {
    grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
    gap: 30px;
    padding-inline: 0;
  }

  .profile-details {
    grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr);
  }

  .profile-skills {
    padding-right: 24px;
  }

  .profile-experience {
    padding-left: 24px;
  }
}

@media (max-width: 680px) {
  .strengths .profile-intro {
    padding: 82px 18px 18px;
    grid-template-rows: auto auto auto;
    gap: 14px;
    overflow-y: auto;
  }

  .profile-heading-copy {
    gap: 10px;
  }

  .profile-heading-copy > i {
    width: 8px;
    height: 8px;
    margin-top: 5px;
  }

  .profile-heading-copy p {
    font-size: 22px;
  }

  .profile-heading-copy span {
    margin-top: 4px;
    font-size: 11px;
  }

  .profile-dot-grid {
    grid-template-columns: repeat(3, 4px);
    gap: 5px;
  }

  .profile-dot-grid i {
    width: 4px;
    height: 4px;
  }

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

  .profile-name-row {
    justify-content: space-between;
  }

  .profile-name-row h2 {
    font-size: 46px;
  }

  .profile-signature {
    font-size: 28px;
  }

  .strengths .profile-eyebrow {
    margin-bottom: 6px;
    font-size: 9px;
  }

  .profile-role {
    gap: 2px;
    margin-top: 12px;
    padding-left: 12px;
    border-left-width: 3px;
  }

  .profile-role strong {
    font-size: 16px;
  }

  .profile-role span,
  .strengths .profile-slogan {
    font-size: 11px;
  }

  .strengths .profile-slogan {
    margin-top: 9px;
  }

  .strengths .profile-contact-mini {
    grid-template-columns: 1fr 1fr;
    gap: 5px 10px;
    margin-top: 9px;
    font-size: 9px;
  }

  .strengths .profile-tags {
    margin-top: 9px;
  }

  .strengths .profile-tags span {
    padding: 4px 7px;
    font-size: 9px;
  }

  .strengths .profile-visual {
    height: min(24svh, 210px);
    min-height: 170px;
  }

  .profile-details {
    grid-template-columns: 1fr;
    gap: 13px;
    padding-top: 13px;
  }

  .profile-skills {
    padding: 0 0 13px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .profile-experience {
    padding: 0;
  }

  .profile-skills h3,
  .profile-experience h3 {
    font-size: 12px;
  }

  .profile-skills h3 > i,
  .profile-experience h3 > i {
    width: 7px;
    height: 7px;
    margin-top: 4px;
  }

  .strengths .profile-skill-icons {
    gap: 8px;
    margin-top: 10px;
  }

  .strengths .profile-skill-icons b {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .strengths .profile-skill-icons small {
    font-size: 8px;
  }

  .profile-resume-list {
    gap: 8px;
    margin-top: 9px;
  }

  .strengths .profile-resume-block p {
    font-size: 10px;
  }

  .profile-resume-heading time,
  .strengths .profile-resume-block li {
    font-size: 8px;
  }
}

/* Compact about-screen refinement. The section stays full-height for page stacking. */
.strengths.section-pad {
  padding: clamp(88px, 9svh, 108px) var(--pad) clamp(26px, 4svh, 40px);
  display: grid;
  align-items: center;
}

.strengths .profile-intro {
  width: min(100%, 1320px);
  height: auto;
  min-height: 0;
  padding: 0;
  grid-template-rows: auto auto auto;
  gap: clamp(18px, 2.2svh, 24px);
  overflow: visible;
}

.profile-heading-copy p {
  font-size: clamp(26px, 2.2vw, 34px);
}

.profile-heading-copy span {
  margin-top: 6px;
  font-size: 12px;
}

.profile-main {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: clamp(42px, 6vw, 82px);
  padding: 0 clamp(0px, 1.5vw, 20px);
}

.profile-name-row h2 {
  font-size: clamp(58px, 5.3vw, 78px);
  font-weight: 620;
}

.profile-signature {
  margin-bottom: 2px;
  font-size: clamp(26px, 2.6vw, 38px);
}

.profile-role {
  margin-top: clamp(14px, 1.8svh, 20px);
  padding-left: 14px;
  border-left-width: 3px;
}

.profile-role strong {
  font-size: clamp(17px, 1.4vw, 22px);
}

.profile-role span {
  font-size: clamp(11px, 0.9vw, 13px);
}

.strengths .profile-contact-mini {
  width: min(100%, 470px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(18px, 2.2svh, 24px);
}

.strengths .profile-contact-mini > span {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding-left: 12px;
  border-left: 2px solid rgba(191, 219, 57, 0.78);
}

.strengths .profile-contact-mini small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.strengths .profile-contact-mini strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: clamp(10px, 0.86vw, 12px);
  font-weight: 600;
}

.strengths .profile-visual {
  width: min(100%, 520px);
  height: min(31svh, 290px);
  min-height: 230px;
  justify-self: end;
  border-radius: 6px;
}

.profile-details {
  grid-template-columns: minmax(430px, 1fr) minmax(0, 1.18fr);
  padding-top: clamp(16px, 2svh, 22px);
}

.profile-skills {
  padding-right: clamp(22px, 3vw, 42px);
}

.profile-experience {
  padding-left: clamp(22px, 3vw, 42px);
}

.profile-skills h3,
.profile-experience h3 {
  font-size: clamp(13px, 1vw, 16px);
}

.strengths .profile-skill-icons {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 13px);
  margin-top: 14px;
}

.strengths .profile-skill-icons b {
  width: 38px;
  height: 38px;
  font-size: 13px;
}

.strengths .profile-skill-icons small {
  font-size: 9px;
}

.profile-resume-list {
  gap: 11px;
  margin-top: 12px;
}

.profile-resume-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: clamp(10px, 1.5vw, 20px);
}

.strengths .profile-resume-block p {
  font-size: clamp(11px, 0.9vw, 13px);
}

.profile-resume-heading > span,
.profile-resume-heading time {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

.strengths .profile-resume-block .profile-resume-desc {
  position: relative;
  margin: 5px 0 0;
  padding-left: 12px;
  color: var(--ink-soft);
  font-size: clamp(9px, 0.76vw, 11px);
  font-weight: 500;
  line-height: 1.4;
}

.profile-resume-desc::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--acid);
}

@media (max-width: 1000px) {
  .strengths.section-pad {
    padding: 88px clamp(22px, 4vw, 38px) 24px;
  }

  .profile-main {
    grid-template-columns: minmax(250px, 1fr) minmax(320px, 430px);
    gap: 30px;
    padding-inline: 0;
  }

  .strengths .profile-visual {
    width: min(100%, 430px);
    height: min(28svh, 250px);
    min-height: 210px;
  }

  .profile-details {
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  }

  .strengths .profile-skill-icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .strengths.section-pad {
    padding: 78px 18px 16px;
    align-items: start;
  }

  .strengths .profile-intro {
    max-height: calc(100svh - 94px);
    gap: 13px;
    overflow-y: auto;
  }

  .profile-heading-copy p {
    font-size: 21px;
  }

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

  .profile-name-row h2 {
    font-size: 44px;
  }

  .profile-signature {
    font-size: 25px;
  }

  .strengths .profile-contact-mini {
    margin-top: 12px;
  }

  .strengths .profile-visual {
    width: 100%;
    height: min(22svh, 185px);
    min-height: 160px;
  }

  .profile-details {
    grid-template-columns: 1fr;
  }

  .strengths .profile-skill-icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-resume-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 10px;
  }

  .profile-resume-heading > span {
    grid-column: 1;
    grid-row: 2;
  }

  .profile-resume-heading time {
    grid-column: 2;
    grid-row: 1;
  }
}

/* About-screen layout: circular portrait left, structured profile content right. */
.strengths .profile-intro {
  width: min(100%, 1320px);
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  grid-template-rows: 1fr;
  gap: clamp(44px, 6vw, 86px);
  align-items: center;
}

.strengths .profile-visual {
  position: relative;
  width: clamp(290px, 27vw, 390px);
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  justify-self: center;
  overflow: visible;
  border-radius: 50%;
  background: transparent;
}

.strengths .profile-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  border-radius: 50%;
}

.profile-photo-dots {
  position: absolute;
  top: 14%;
  left: -28px;
  display: grid;
  grid-template-columns: repeat(3, 5px);
  gap: 7px;
  z-index: 2;
}

.profile-photo-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(191, 219, 57, 0.9);
}

.profile-content {
  min-width: 0;
  display: grid;
  gap: clamp(24px, 3svh, 34px);
}

.profile-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 250px);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
}

.strengths .profile-copy {
  display: block;
}

.profile-name-row {
  align-items: baseline;
  gap: 12px;
}

.profile-name-row h2 {
  font-size: clamp(38px, 3.7vw, 54px);
  font-weight: 650;
  line-height: 1;
}

.profile-signature {
  margin: 0;
  font-size: clamp(27px, 2.6vw, 38px);
}

.profile-role {
  gap: 3px;
  margin-top: 12px;
  padding: 0;
  border: 0;
}

.profile-role strong {
  font-size: clamp(16px, 1.35vw, 20px);
}

.strengths .profile-contact-mini {
  width: auto;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 18px;
}

.strengths .profile-contact-mini > span {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  padding: 0;
  border: 0;
}

.strengths .profile-contact-mini small,
.strengths .profile-contact-mini strong {
  font-size: clamp(10px, 0.88vw, 12px);
}

.profile-section-heading {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
}

.profile-heading-copy {
  display: block;
}

.profile-heading-copy > i {
  display: none;
}

.profile-heading-copy p {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 650;
  line-height: 1;
}

.profile-heading-copy p::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 12px;
  border-radius: 2px;
  background: var(--acid);
}

.profile-heading-copy span {
  margin-top: 8px;
  font-size: 12px;
}

.profile-section-heading .profile-dot-grid {
  align-self: flex-end;
  padding: 0;
}

.profile-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 2.6svh, 30px);
  padding: 0;
  border: 0;
}

.profile-skills,
.profile-experience {
  padding: 0;
  border: 0;
}

.profile-skills h3,
.profile-experience h3 {
  font-size: clamp(15px, 1.25vw, 18px);
}

.strengths .profile-skill-icons {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.strengths .profile-skill-icons > span {
  width: auto;
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(250, 250, 250, 0.42);
  color: var(--ink-soft);
  font-size: clamp(9px, 0.76vw, 11px);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.profile-resume-list {
  gap: 0;
  margin-top: 12px;
}

.profile-resume-block {
  padding: 0 0 12px 18px;
  border-bottom: 1px solid var(--line);
}

.profile-resume-block + .profile-resume-block {
  padding-top: 12px;
}

.profile-resume-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.profile-resume-block + .profile-resume-block::before {
  top: 17px;
}

@media (max-width: 1000px) {
  .strengths .profile-intro {
    grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
    gap: 34px;
  }

  .strengths .profile-visual {
    width: clamp(230px, 30vw, 300px);
  }

  .profile-summary {
    grid-template-columns: minmax(0, 1fr) minmax(140px, 190px);
    gap: 24px;
  }

  .strengths .profile-skill-icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .strengths.section-pad {
    padding: 78px 18px 16px;
    align-items: start;
  }

  .strengths .profile-intro {
    max-height: calc(100svh - 94px);
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 18px;
    overflow-y: auto;
  }

  .strengths .profile-visual {
    width: min(62vw, 230px);
  }

  .profile-photo-dots {
    left: -18px;
  }

  .profile-content {
    gap: 20px;
  }

  .profile-summary {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 14px;
  }

  .profile-name-row {
    display: grid;
    gap: 2px;
  }

  .profile-name-row h2 {
    font-size: 38px;
  }

  .profile-signature {
    font-size: 23px;
  }

  .profile-heading-copy p {
    font-size: 28px;
  }

  .profile-section-heading .profile-dot-grid {
    display: none;
  }

  .strengths .profile-contact-mini > span {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .strengths .profile-skill-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-resume-heading {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* Mobile keeps the same composition as desktop, scaled to one dynamic viewport. */
@media (max-width: 720px) {

  .hero,
  .hero-panel {
    height: 100dvh;
    min-height: 100dvh;
  }

  .hero-copy {
    top: 23%;
    left: 52%;
    width: calc(100vw - 28px);
  }

  .hero-headline {
    font-size: clamp(40px, 11.5vw, 50px);
    line-height: 0.86;
  }

  .hero-title-line-one {
    white-space: nowrap;
  }

  .hero-title-line-two {
    text-align: left;
    white-space: nowrap;
  }

  .hero-title-line-two::before {
    content: "Creative ";
    visibility: hidden;
  }

  .hero-subtitle {
    width: 100%;
    margin: 12px 0 0;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    font-size: 9px;
    line-height: 1.4;
  }

  .hero-subtitle::before {
    content: "Creative\00a0";
    height: 0;
    overflow: hidden;
    visibility: hidden;
    font-family: Inter, "Helvetica Neue", "Segoe UI Light", Arial, sans-serif;
    font-size: clamp(40px, 11.5vw, 50px);
    font-weight: 400;
    line-height: 0;
    letter-spacing: -0.052em;
    white-space: nowrap;
  }

  .hero-portrait {
    left: 43%;
    height: min(48dvh, 360px);
    max-width: 66vw;
  }

  .hero-card-nav {
    width: min(calc(100% - 28px), 270px);
    min-height: 44px;
    padding: 5px;
    bottom: 10px;
  }

  .hero-card-nav a {
    min-height: 32px;
    font-size: 10px;
  }

  .strengths.section-pad {
    padding: 76px 12px 14px;
    align-items: center;
  }

  .strengths .profile-intro {
    width: 100%;
    height: auto;
    max-height: none;
    grid-template-columns: minmax(100px, 34%) minmax(0, 1fr);
    grid-template-rows: 1fr;
    gap: 12px;
    align-items: center;
    overflow: visible;
  }

  .strengths .profile-visual {
    width: min(100%, 132px);
    align-self: center;
  }

  .profile-photo-dots {
    display: none;
  }

  .profile-content {
    gap: 12px;
  }

  .profile-summary {
    grid-template-columns: minmax(0, 1fr) 70px;
    gap: 8px;
  }

  .profile-name-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
  }

  .profile-name-row h2 {
    font-size: 22px;
  }

  .profile-signature {
    font-size: 14px;
  }

  .profile-role {
    gap: 1px;
    margin-top: 7px;
  }

  .profile-role strong {
    font-size: 10px;
  }

  .profile-role span {
    font-size: 7px;
  }

  .strengths .profile-contact-mini {
    gap: 4px;
    margin-top: 9px;
  }

  .strengths .profile-contact-mini > span {
    grid-template-columns: 29px minmax(0, 1fr);
    gap: 4px;
  }

  .strengths .profile-contact-mini small,
  .strengths .profile-contact-mini strong {
    font-size: 7px;
  }

  .profile-section-heading {
    gap: 8px;
  }

  .profile-heading-copy p {
    font-size: 18px;
  }

  .profile-heading-copy p::after {
    width: 18px;
    height: 2px;
    margin-top: 6px;
  }

  .profile-heading-copy span {
    margin-top: 4px;
    font-size: 7px;
  }

  .profile-details {
    gap: 12px;
  }

  .profile-skills h3,
  .profile-experience h3 {
    gap: 5px;
    font-size: 10px;
  }

  .profile-skills h3 > i,
  .profile-experience h3 > i {
    width: 5px;
    height: 5px;
    margin-top: 4px;
  }

  .strengths .profile-skill-icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-top: 7px;
  }

  .strengths .profile-skill-icons > span {
    min-height: 23px;
    padding: 4px 3px;
    font-size: 7px;
  }

  .profile-resume-list {
    margin-top: 7px;
  }

  .profile-resume-block {
    padding: 0 0 7px 10px;
  }

  .profile-resume-block + .profile-resume-block {
    padding-top: 7px;
  }

  .profile-resume-block::before {
    width: 4px;
    height: 4px;
    top: 3px;
  }

  .profile-resume-block + .profile-resume-block::before {
    top: 10px;
  }

  .profile-resume-heading {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 5px;
  }

  .strengths .profile-resume-block p {
    font-size: 8px;
  }

  .profile-resume-heading > span,
  .profile-resume-heading time {
    font-size: 7px;
  }

  .profile-resume-heading > span,
  .profile-resume-heading time {
    grid-column: auto;
    grid-row: auto;
  }

  .strengths .profile-resume-block .profile-resume-desc {
    margin-top: 3px;
    padding-left: 7px;
    font-size: 7.5px;
    line-height: 1.32;
  }

  .profile-resume-desc::before {
    width: 3px;
    height: 3px;
  }

  .experience.section-pad {
    padding: 76px 12px 14px;
  }

  .advantage-showcase {
    width: 100%;
    height: 100%;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: stretch;
  }

  .advantage-backdrop {
    top: 2px;
    font-size: clamp(54px, 17vw, 72px);
  }

  .advantage-hero {
    padding-top: 4px;
  }

  .advantage-kicker {
    font-size: 9px;
  }

  .advantage-hero h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .advantage-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-self: end;
    margin-top: 0;
  }

  .advantage-column,
  .advantage-column:nth-child(odd),
  .advantage-column:nth-child(n + 3) {
    min-height: min(34dvh, 250px);
    padding: 12px 7px;
    gap: 7px;
    border-top: 1px solid rgba(24, 35, 29, 0.12);
    border-left: 1px solid rgba(24, 35, 29, 0.12);
  }

  .advantage-column:first-child {
    border-left: 0;
  }

  .advantage-icon {
    font-size: 15px;
  }

  .advantage-column h3 {
    font-size: clamp(10px, 2.8vw, 13px);
    line-height: 1.2;
  }

  .advantage-column p {
    font-size: clamp(7px, 1.9vw, 9px);
    line-height: 1.38;
  }
}

/* Final reference alignment for the profile screen header, type and icons. */
.strengths.section-pad {
  padding: 18px var(--pad) clamp(12px, 2svh, 20px);
  grid-template-rows: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.profile-local-nav {
  width: min(100%, 1700px);
  height: 52px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.profile-local-brand {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1c3d33;
  color: #f7f5f0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
}

.profile-local-nav nav {
  display: flex;
  align-items: center;
  gap: clamp(44px, 5vw, 82px);
}

.profile-local-nav nav a {
  position: relative;
  padding: 18px 0 14px;
  color: #222c27;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.profile-local-nav nav a.is-active::after {
  content: "";
  position: absolute;
  right: 25%;
  bottom: 7px;
  left: 25%;
  height: 2px;
  background: #c4db37;
}

.strengths .profile-intro {
  height: 100%;
  min-height: 0;
}

.strengths .profile-name-row h2 {
  font-family: "Microsoft YaHei UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 560;
}

.strengths .profile-signature {
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(38px, 4vw, 66px);
  font-weight: 400;
  line-height: 0.9;
  transform: translateY(5px) rotate(-5deg);
}

.strengths .profile-skill-icons b svg {
  width: 54%;
  height: 54%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.strengths .profile-resume-block::before,
.strengths .profile-resume-block + .profile-resume-block::before {
  display: none;
}

.strengths .profile-job-icon {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(164, 183, 47, 0.55);
  border-radius: 13px;
  background: #f5f3ef;
  color: #1c3d33;
}

.strengths .profile-job-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.is-profile-screen .site-header {
  opacity: 0 !important;
  pointer-events: none;
  transform: translateX(-50%) translateY(-12px) !important;
}

@media (max-width: 720px) {
  .strengths.section-pad {
    padding: 12px max(12px, calc((100vw - 340px) / 2)) 10px;
    grid-template-rows: 34px minmax(0, 1fr);
    gap: 8px;
  }

  .profile-local-nav {
    width: min(100%, 340px);
    height: 34px;
  }

  .profile-local-brand {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }

  .profile-local-nav nav {
    gap: 15px;
  }

  .profile-local-nav nav a {
    padding: 10px 0 8px;
    font-size: 6.5px;
  }

  .profile-local-nav nav a.is-active::after {
    bottom: 4px;
    height: 1px;
  }

  .strengths .profile-intro {
    --profile-panel-height: min(43dvh, 360px);
    height: 100%;
  }

  .strengths .profile-signature {
    font-size: 18px;
    transform: rotate(-5deg);
  }

  .strengths .profile-job-icon {
    width: 23px;
    height: 23px;
    border-radius: 7px;
  }

  .strengths .profile-job-icon svg {
    width: 11px;
    height: 11px;
  }
}

/* Annotated profile cleanup: smaller portrait and a single uninterrupted info column. */
.strengths .profile-intro {
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(38px, 5vw, 70px);
}

.strengths .profile-visual {
  width: clamp(240px, 22vw, 310px);
}

.profile-summary {
  grid-template-columns: 1fr;
}

.strengths .profile-copy {
  width: min(100%, 540px);
}

.profile-resume-heading {
  grid-template-columns: 1fr;
}

.strengths .profile-resume-block .profile-resume-desc {
  max-width: 760px;
}

@media (max-width: 1000px) {
  .strengths .profile-intro {
    grid-template-columns: minmax(180px, 250px) minmax(0, 1fr);
    gap: 28px;
  }

  .strengths .profile-visual {
    width: clamp(180px, 26vw, 250px);
  }
}

@media (max-width: 720px) {
  .strengths .profile-intro {
    grid-template-columns: minmax(88px, 30%) minmax(0, 1fr);
    gap: 10px;
  }

  .strengths .profile-visual {
    width: min(100%, 112px);
  }

  .profile-summary,
  .profile-resume-heading {
    grid-template-columns: 1fr;
  }
}

/* Mobile composition: keep each screen full-height while grouping its content. */
@media (max-width: 720px) {
  :root {
    --max: 340px;
  }

  .strengths.section-pad {
    padding: 76px 12px 14px;
    align-items: start;
  }

  .strengths .profile-intro {
    grid-template-columns: minmax(124px, 34%) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .strengths .profile-visual {
    width: min(100%, 144px);
    align-self: start;
  }

  .advantage-showcase {
    height: auto;
    grid-template-rows: auto auto;
    align-content: start;
    gap: 24px;
  }

  .advantage-columns {
    align-self: start;
  }
}

/* Final about-screen composition, matched to the supplied editorial reference. */
.strengths.section-pad {
  padding: clamp(78px, 8.5svh, 96px) var(--pad) clamp(20px, 3svh, 30px);
  display: grid;
  align-items: center;
  background: #f4f3f1;
}

.strengths .profile-intro {
  width: min(100%, 1700px);
  height: min(840px, calc(100svh - clamp(104px, 11svh, 122px)));
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  grid-template-rows: clamp(430px, 50svh, 540px) auto;
  column-gap: clamp(58px, 5.2vw, 88px);
  row-gap: clamp(56px, 7.5svh, 76px);
  align-items: stretch;
  overflow: visible;
}

.strengths .profile-content {
  display: contents;
}

.strengths .profile-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0 0 0 14%;
  align-self: stretch;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.strengths .profile-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 14%;
  left: 7%;
  width: 28%;
  border-radius: 34px 0 0 34px;
  background: #30463a;
}

.strengths .profile-visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 3%;
  left: 2%;
  width: 68%;
  height: 82%;
  border-top: 1px solid rgba(191, 219, 57, 0.9);
  border-left: 1px solid rgba(191, 219, 57, 0.9);
  border-radius: 34px 0 0 34px;
  pointer-events: none;
}

.strengths .profile-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin-left: auto;
  display: block;
  object-fit: cover;
  object-position: center 43%;
  border-radius: 36px;
  box-shadow: none;
}

.strengths .profile-photo-dots {
  position: absolute;
  z-index: 2;
  top: auto;
  right: -1.5%;
  bottom: -3%;
  left: auto;
  width: clamp(56px, 4.8vw, 78px);
  height: clamp(56px, 4.8vw, 78px);
  display: block;
  border-radius: 50%;
  background: rgba(191, 219, 57, 0.86);
}

.strengths .profile-photo-dots i {
  display: none;
}

.strengths .profile-summary {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  padding-top: clamp(4px, 0.8svh, 10px);
}

.strengths .profile-copy {
  width: 100%;
  max-width: 700px;
  padding: 0;
}

.profile-about-title {
  margin-bottom: clamp(36px, 4.5svh, 46px);
  display: grid;
  justify-items: start;
}

.profile-about-title strong {
  color: #30463a;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(58px, 6.7vw, 110px);
  font-weight: 650;
  line-height: 0.9;
  letter-spacing: 0;
  white-space: nowrap;
}

.profile-about-title span {
  margin-top: clamp(14px, 1.8svh, 20px);
  color: #30463a;
  font-size: clamp(15px, 1.25vw, 21px);
  font-weight: 600;
}

.profile-about-title span::after {
  content: "";
  width: 36px;
  height: 3px;
  margin-top: 10px;
  display: block;
  border-radius: 2px;
  background: var(--acid);
}

.strengths .profile-name-row {
  display: flex;
  align-items: baseline;
  gap: clamp(18px, 2vw, 30px);
}

.strengths .profile-name-row h2 {
  font-size: clamp(42px, 4.1vw, 70px);
  line-height: 1;
}

.strengths .profile-signature {
  color: #a9c323;
  font-size: clamp(32px, 3.4vw, 58px);
}

.strengths .profile-role {
  margin-top: clamp(18px, 2.4svh, 26px);
  padding-left: clamp(14px, 1.4vw, 20px);
  border-left: 3px solid var(--acid);
}

.strengths .profile-role strong {
  font-size: clamp(18px, 1.65vw, 28px);
}

.strengths .profile-role span {
  font-size: clamp(13px, 1.08vw, 18px);
}

.strengths .profile-contact-mini {
  width: 100%;
  margin-top: clamp(24px, 3.2svh, 34px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.strengths .profile-contact-mini > span {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding: 0;
  border: 0;
}

.strengths .profile-contact-mini small,
.strengths .profile-contact-mini strong {
  font-size: clamp(12px, 1vw, 16px);
}

@media (min-width: 721px) {
  .strengths .profile-contact-mini > span {
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
  }

  .strengths .profile-contact-mini > span::before {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    align-self: center;
    border: 1px solid rgba(169, 195, 35, 0.75);
    border-radius: 9px;
    color: #9eb71c;
    font-size: 20px;
    line-height: 1;
  }

  .strengths .profile-contact-mini > span:first-child::before {
    content: "☎";
  }

  .strengths .profile-contact-mini > span:last-child::before {
    content: "✉";
  }

  .strengths .profile-contact-mini small,
  .strengths .profile-contact-mini strong {
    grid-column: 2;
  }
}

.strengths .profile-details {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: clamp(20px, 2.6svh, 28px) 0 0;
  border-top: 1px solid rgba(48, 70, 58, 0.16);
}

.strengths .profile-skills {
  min-width: 0;
  padding-right: clamp(28px, 4vw, 64px);
  border-right: 1px solid rgba(48, 70, 58, 0.14);
}

.strengths .profile-experience {
  min-width: 0;
  padding-left: clamp(28px, 4vw, 64px);
}

.strengths .profile-skills h3,
.strengths .profile-experience h3 {
  color: #30463a;
  font-size: clamp(15px, 1.2vw, 20px);
  line-height: 1.2;
}

.strengths .profile-skills h3 > i,
.strengths .profile-experience h3 > i {
  width: 4px;
  height: 18px;
  margin-top: 0;
  border-radius: 0;
  background: var(--acid);
}

.strengths .profile-skill-icons {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.3vw, 20px);
  margin-top: 20px;
}

.strengths .profile-skill-icons > span {
  min-width: 0;
  min-height: 0;
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
}

.strengths .profile-skill-icons b {
  width: clamp(52px, 4.4vw, 68px);
  height: clamp(52px, 4.4vw, 68px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(48, 70, 58, 0.12);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.72);
  color: #9eb71c;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 650;
  box-shadow: 0 6px 16px rgba(24, 35, 29, 0.06);
}

.strengths .profile-skill-icons small {
  color: var(--ink-soft);
  font-size: clamp(10px, 0.82vw, 13px);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.strengths .profile-resume-list {
  gap: 12px;
  margin-top: 17px;
}

.strengths .profile-resume-block {
  padding: clamp(15px, 1.8svh, 20px) clamp(18px, 1.8vw, 28px);
  border: 1px solid rgba(48, 70, 58, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 4px 12px rgba(24, 35, 29, 0.05);
}

.strengths .profile-resume-block + .profile-resume-block {
  padding-top: clamp(15px, 1.8svh, 20px);
  border-top: 1px solid rgba(48, 70, 58, 0.08);
}

.strengths .profile-resume-block::before,
.strengths .profile-resume-block + .profile-resume-block::before {
  display: none;
}

.strengths .profile-resume-block p {
  font-size: clamp(12px, 1.02vw, 16px);
}

.strengths .profile-resume-block .profile-resume-desc {
  max-width: none;
  margin-top: 5px;
  font-size: clamp(10px, 0.82vw, 13px);
}

@media (max-width: 720px) {
  .strengths.section-pad {
    padding: 72px max(12px, calc((100vw - 340px) / 2)) 12px;
    align-items: center;
  }

  .strengths .profile-intro {
    width: min(100%, 340px);
    height: calc(100dvh - 84px);
    grid-template-columns: minmax(0, 0.43fr) minmax(0, 0.57fr);
    grid-template-rows: minmax(0, 0.92fr) minmax(0, 1.08fr);
    column-gap: 14px;
    row-gap: 14px;
    align-items: stretch;
    overflow: visible;
  }

  .strengths .profile-visual {
    width: 100%;
    height: 100%;
    padding-left: 5px;
  }

  .strengths .profile-visual::before {
    inset: 8% 8% 7% 0;
    border-radius: 12px 0 0 12px;
  }

  .strengths .profile-visual::after {
    top: -4%;
    left: -2%;
    width: 72%;
    height: 55%;
    border-radius: 10px 0 0 10px;
  }

  .strengths .profile-visual img {
    width: calc(100% - 5px);
    object-position: 52% center;
    border-radius: 12px;
  }

  .strengths .profile-photo-dots {
    right: -3px;
    bottom: -6px;
    width: 24px;
    height: 24px;
  }

  .strengths .profile-summary {
    align-items: center;
    padding-top: 0;
  }

  .profile-about-title {
    margin-bottom: 16px;
  }

  .profile-about-title strong {
    font-size: clamp(24px, 7.4vw, 29px);
  }

  .profile-about-title span {
    margin-top: 7px;
    font-size: 9px;
  }

  .profile-about-title span::after {
    width: 20px;
    height: 2px;
    margin-top: 5px;
  }

  .strengths .profile-name-row {
    gap: 6px;
  }

  .strengths .profile-name-row h2 {
    font-size: 22px;
  }

  .strengths .profile-signature {
    font-size: 15px;
  }

  .strengths .profile-role {
    margin-top: 9px;
    padding-left: 7px;
    border-left-width: 2px;
  }

  .strengths .profile-role strong {
    font-size: 10px;
  }

  .strengths .profile-role span {
    font-size: 7px;
  }

  .strengths .profile-contact-mini {
    margin-top: 13px;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .strengths .profile-contact-mini > span {
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 4px;
  }

  .strengths .profile-contact-mini small,
  .strengths .profile-contact-mini strong {
    font-size: 7px;
  }

  .strengths .profile-details {
    grid-template-columns: minmax(0, 0.43fr) minmax(0, 0.57fr);
    gap: 0;
    padding-top: 13px;
  }

  .strengths .profile-skills {
    padding-right: 9px;
  }

  .strengths .profile-experience {
    padding-left: 9px;
  }

  .strengths .profile-skills h3,
  .strengths .profile-experience h3 {
    gap: 4px;
    font-size: 8.5px;
  }

  .strengths .profile-skills h3 > i,
  .strengths .profile-experience h3 > i {
    width: 2px;
    height: 11px;
  }

  .strengths .profile-skill-icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 4px;
    margin-top: 10px;
  }

  .strengths .profile-skill-icons b {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    font-size: 9px;
  }

  .strengths .profile-skill-icons small {
    max-width: 42px;
    font-size: 6.5px;
    white-space: normal;
  }

  .strengths .profile-resume-list {
    gap: 6px;
    margin-top: 8px;
  }

  .strengths .profile-resume-block,
  .strengths .profile-resume-block + .profile-resume-block {
    padding: 8px;
    border-radius: 6px;
  }

  .strengths .profile-resume-block p {
    font-size: 8px;
    line-height: 1.25;
  }

  .strengths .profile-resume-block .profile-resume-desc {
    margin-top: 4px;
    padding-left: 6px;
    font-size: 6.8px;
    line-height: 1.35;
  }
}

/* About screen: dark editorial panel matched to the supplied reference. */
.strengths.section-pad {
  padding: clamp(82px, 8.5svh, 102px) var(--pad) clamp(14px, 2svh, 24px);
  display: grid;
  align-items: center;
  background: #f5f3ef;
}

.strengths .profile-intro {
  --profile-panel-height: clamp(430px, 54svh, 560px);
  position: relative;
  isolation: isolate;
  width: min(100%, 1700px);
  height: min(850px, calc(100svh - clamp(104px, 11svh, 126px)));
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  grid-template-rows: var(--profile-panel-height) minmax(0, 1fr);
  gap: clamp(24px, 3svh, 34px) 0;
  align-items: stretch;
  overflow: visible;
}

.strengths .profile-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: var(--profile-panel-height);
  border-radius: clamp(38px, 3.5vw, 58px);
  background: #1c3d33;
}

.strengths .profile-content {
  display: contents;
}

.strengths .profile-summary {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: clamp(48px, 5vw, 82px) clamp(28px, 3vw, 52px) clamp(46px, 4vw, 72px) clamp(68px, 7vw, 118px);
  color: #f7f5f0;
}

.strengths .profile-copy {
  width: min(100%, 620px);
  max-width: none;
  padding: 0;
}

.strengths .profile-about-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.strengths .profile-about-title::before {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--acid);
}

.strengths .profile-about-title strong,
.strengths .profile-about-title span {
  margin: 0;
  color: #d0df4a;
  font-family: Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: clamp(13px, 1.2vw, 19px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.strengths .profile-about-title span {
  color: rgba(247, 245, 240, 0.9);
  font-weight: 500;
}

.strengths .profile-about-title span::before {
  content: "/";
  margin-right: 12px;
  color: rgba(247, 245, 240, 0.72);
}

.strengths .profile-about-title span::after {
  display: none;
}

.strengths .profile-name-row {
  margin-top: clamp(42px, 5svh, 58px);
  display: flex;
  align-items: flex-end;
  gap: clamp(24px, 3vw, 46px);
}

.strengths .profile-name-row h2 {
  margin: 0;
  color: #f7f5f0;
  font-size: clamp(54px, 5.4vw, 88px);
  font-weight: 760;
  line-height: 0.92;
}

.strengths .profile-signature {
  color: #c4db37;
  font-family: "Bodoni MT", Didot, "Times New Roman", serif;
  font-size: clamp(48px, 5vw, 82px);
  font-weight: 600;
  line-height: 0.84;
  transform: translateY(2px);
}

.strengths .profile-role {
  margin-top: clamp(30px, 3.8svh, 42px);
  padding-left: clamp(18px, 1.6vw, 24px);
  border-left: 4px solid #c4db37;
}

.strengths .profile-role strong {
  color: #f7f5f0;
  font-size: clamp(21px, 2vw, 32px);
  font-weight: 560;
}

.strengths .profile-role span {
  margin-top: 5px;
  color: rgba(247, 245, 240, 0.72);
  font-size: clamp(13px, 1.2vw, 19px);
  font-weight: 400;
}

.strengths .profile-contact-mini {
  width: min(100%, 590px);
  margin-top: clamp(32px, 4svh, 46px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 46px);
}

.strengths .profile-contact-mini > span {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 0;
  border: 0;
}

.strengths .profile-contact-mini > span::before {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 245, 240, 0.72);
  border-radius: 13px;
  color: #c4db37;
  font-size: 22px;
  line-height: 1;
}

.strengths .profile-contact-mini > span:first-child::before {
  content: "☎";
}

.strengths .profile-contact-mini > span:last-child::before {
  content: "✉";
}

.strengths .profile-contact-mini small,
.strengths .profile-contact-mini strong {
  grid-column: 2;
  color: #f7f5f0;
  font-size: clamp(11px, 0.95vw, 15px);
  line-height: 1.25;
}

.strengths .profile-contact-mini small {
  font-weight: 500;
}

.strengths .profile-contact-mini strong {
  overflow-wrap: anywhere;
  font-weight: 400;
}

.strengths .profile-visual {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  width: auto;
  height: auto;
  min-height: 0;
  margin: clamp(38px, 4vw, 48px) clamp(38px, 4vw, 48px) clamp(38px, 4vw, 48px) 10px;
  padding: 0;
  align-self: stretch;
  overflow: hidden;
  border: 1px solid rgba(247, 245, 240, 0.65);
  border-radius: clamp(26px, 2.5vw, 40px);
  background: #e8e5df;
}

.strengths .profile-visual::before,
.strengths .profile-visual::after,
.strengths .profile-photo-dots {
  display: none;
}

.strengths .profile-visual img {
  position: static;
  width: 100%;
  height: 100%;
  margin: 0;
  display: block;
  object-fit: cover;
  object-position: center 43%;
  border-radius: 0;
  box-shadow: none;
}

.strengths .profile-details {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-self: stretch;
  padding: 0 clamp(34px, 4vw, 70px);
  border: 0;
}

.strengths .profile-skills,
.strengths .profile-experience {
  min-width: 0;
  padding-top: 4px;
}

.strengths .profile-skills {
  padding-right: clamp(34px, 4vw, 68px);
  border-right: 1px solid rgba(28, 61, 51, 0.34);
}

.strengths .profile-experience {
  padding-left: clamp(34px, 4vw, 68px);
}

.strengths .profile-skills h3,
.strengths .profile-experience h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #151d19;
  font-size: clamp(16px, 1.3vw, 21px);
  font-weight: 720;
  line-height: 1.2;
}

.strengths .profile-skills h3 > i,
.strengths .profile-experience h3 > i {
  width: 13px;
  height: 13px;
  margin: 0;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #c4db37;
}

.strengths .profile-skills h3 small,
.strengths .profile-experience h3 small {
  color: #3a433f;
  font-size: 0.8em;
  font-weight: 500;
}

.strengths .profile-skill-icons {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.35vw, 22px);
  margin-top: clamp(22px, 2.5svh, 30px);
}

.strengths .profile-skill-icons > span {
  min-width: 0;
  min-height: 0;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.strengths .profile-skill-icons b {
  width: clamp(54px, 4.7vw, 76px);
  height: clamp(54px, 4.7vw, 76px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(164, 183, 47, 0.3);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.42);
  color: #1c3d33;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(16px, 1.55vw, 25px);
  font-weight: 650;
  box-shadow: none;
}

.strengths .profile-skill-icons small {
  color: #3c4440;
  font-size: clamp(9px, 0.78vw, 12px);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.strengths .profile-resume-list {
  position: relative;
  display: grid;
  gap: clamp(14px, 1.7svh, 20px);
  margin-top: clamp(18px, 2svh, 24px);
}

.strengths .profile-resume-list::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 20px;
  width: 1px;
  background: rgba(196, 219, 55, 0.8);
}

.strengths .profile-resume-block,
.strengths .profile-resume-block + .profile-resume-block {
  position: relative;
  min-height: 46px;
  padding: 0 0 0 62px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.strengths .profile-resume-block::before,
.strengths .profile-resume-block + .profile-resume-block::before {
  content: "■";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(164, 183, 47, 0.55);
  border-radius: 13px;
  background: #f5f3ef;
  color: #1c3d33;
  font-size: 14px;
}

.strengths .profile-resume-heading {
  display: block;
}

.strengths .profile-resume-block p {
  margin: 0;
  color: #161d19;
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 700;
  line-height: 1.3;
}

.strengths .profile-resume-block .profile-resume-desc {
  position: relative;
  max-width: none;
  margin-top: 6px;
  padding-left: 14px;
  color: #404844;
  font-size: clamp(9px, 0.78vw, 12px);
  font-weight: 450;
  line-height: 1.42;
}

.strengths .profile-resume-desc::before {
  width: 4px;
  height: 4px;
  background: #151d19;
}

@media (max-width: 720px) {
  .strengths.section-pad {
    padding: 72px max(12px, calc((100vw - 340px) / 2)) 12px;
    align-items: center;
  }

  .strengths .profile-intro {
    --profile-panel-height: min(43dvh, 360px);
    width: min(100%, 340px);
    height: calc(100dvh - 84px);
    grid-template-columns: minmax(0, 0.47fr) minmax(0, 0.53fr);
    grid-template-rows: var(--profile-panel-height) minmax(0, 1fr);
    gap: 14px 0;
    overflow: visible;
  }

  .strengths .profile-intro::before {
    border-radius: 26px;
  }

  .strengths .profile-summary {
    padding: 20px 8px 18px 18px;
    align-items: center;
  }

  .strengths .profile-about-title {
    gap: 5px;
  }

  .strengths .profile-about-title::before {
    width: 6px;
    height: 6px;
  }

  .strengths .profile-about-title strong,
  .strengths .profile-about-title span {
    font-size: 7px;
  }

  .strengths .profile-about-title span::before {
    margin-right: 5px;
  }

  .strengths .profile-name-row {
    margin-top: 24px;
    display: grid;
    gap: 4px;
  }

  .strengths .profile-name-row h2 {
    font-size: 25px;
  }

  .strengths .profile-signature {
    font-size: 22px;
    transform: none;
  }

  .strengths .profile-role {
    margin-top: 16px;
    padding-left: 7px;
    border-left-width: 2px;
  }

  .strengths .profile-role strong {
    font-size: 10px;
  }

  .strengths .profile-role span {
    margin-top: 2px;
    font-size: 6.5px;
  }

  .strengths .profile-contact-mini {
    margin-top: 18px;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .strengths .profile-contact-mini > span {
    grid-template-columns: 27px minmax(0, 1fr);
    column-gap: 5px;
  }

  .strengths .profile-contact-mini > span::before {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    font-size: 10px;
  }

  .strengths .profile-contact-mini small,
  .strengths .profile-contact-mini strong {
    font-size: 6.2px;
  }

  .strengths .profile-visual {
    width: auto;
    height: auto;
    margin: 18px 16px 18px 0;
    border-radius: 18px;
  }

  .strengths .profile-visual img {
    width: 100%;
    height: 100%;
    object-position: 55% center;
  }

  .strengths .profile-details {
    grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
    padding: 0;
  }

  .strengths .profile-skills,
  .strengths .profile-experience {
    padding-top: 5px;
  }

  .strengths .profile-skills {
    padding-right: 9px;
  }

  .strengths .profile-experience {
    padding-left: 9px;
  }

  .strengths .profile-skills h3,
  .strengths .profile-experience h3 {
    gap: 5px;
    font-size: 8.5px;
  }

  .strengths .profile-skills h3 > i,
  .strengths .profile-experience h3 > i {
    width: 6px;
    height: 6px;
  }

  .strengths .profile-skill-icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px 4px;
    margin-top: 11px;
  }

  .strengths .profile-skill-icons > span {
    gap: 4px;
  }

  .strengths .profile-skill-icons b {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    font-size: 9px;
  }

  .strengths .profile-skill-icons small {
    max-width: 42px;
    font-size: 6px;
    white-space: normal;
  }

  .strengths .profile-resume-list {
    gap: 9px;
    margin-top: 10px;
  }

  .strengths .profile-resume-list::before {
    top: 12px;
    bottom: 12px;
    left: 11px;
  }

  .strengths .profile-resume-block,
  .strengths .profile-resume-block + .profile-resume-block {
    min-height: 30px;
    padding: 0 0 0 31px;
  }

  .strengths .profile-resume-block::before,
  .strengths .profile-resume-block + .profile-resume-block::before {
    width: 23px;
    height: 23px;
    border-radius: 7px;
    font-size: 8px;
  }

  .strengths .profile-resume-block p {
    font-size: 7.4px;
  }

  .strengths .profile-resume-block .profile-resume-desc {
    margin-top: 3px;
    padding-left: 7px;
    font-size: 6.2px;
    line-height: 1.32;
  }
}

/* Final precedence: these rules must follow every earlier profile iteration. */
.strengths.section-pad {
  padding: 18px var(--pad) clamp(12px, 2svh, 20px);
  grid-template-rows: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.strengths .profile-intro {
  height: 100%;
  min-height: 0;
}

.strengths .profile-name-row h2 {
  font-family: "Microsoft YaHei UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 560;
}

.strengths .profile-signature {
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(38px, 4vw, 66px);
  font-weight: 400;
  line-height: 0.9;
  transform: translateY(5px) rotate(-5deg);
}

.strengths .profile-resume-block::before,
.strengths .profile-resume-block + .profile-resume-block::before {
  display: none;
}

@media (max-width: 720px) {
  .strengths.section-pad {
    padding: 12px max(12px, calc((100vw - 340px) / 2)) 10px;
    grid-template-rows: 34px minmax(0, 1fr);
    gap: 8px;
  }

  .strengths .profile-intro {
    --profile-panel-height: min(43dvh, 360px);
    height: 100%;
  }

  .strengths .profile-signature {
    font-size: 18px;
    transform: rotate(-5deg);
  }
}

/* Profile proportions matched to the compact landscape reference. */
.strengths .profile-intro {
  --profile-panel-height: clamp(320px, 61svh, 540px);
}

.strengths .profile-intro::before {
  border-radius: clamp(30px, 3.4vw, 48px);
}

.strengths .profile-summary {
  padding: clamp(30px, 3.8svh, 44px) clamp(24px, 2.8vw, 46px) clamp(28px, 3.6svh, 42px) clamp(58px, 6.5vw, 104px);
}

.strengths .profile-about-title strong,
.strengths .profile-about-title span {
  font-size: clamp(12px, 1vw, 16px);
}

.strengths .profile-name-row {
  margin-top: clamp(24px, 3.8svh, 36px);
  gap: clamp(22px, 2.7vw, 42px);
}

.strengths .profile-name-row h2 {
  font-size: clamp(46px, min(5vw, 9svh), 76px);
  font-weight: 520;
  line-height: 0.94;
}

.strengths .profile-signature {
  position: relative;
  font-family: "Segoe Script", "Brush Script MT", "Monotype Corsiva", cursive;
  font-size: clamp(34px, min(4vw, 7svh), 58px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
  line-height: 0.88;
  transform: translateY(3px) rotate(-6deg);
}

.strengths .profile-signature::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -10px;
  left: -8%;
  height: 2px;
  border-radius: 2px;
  background: #c4db37;
  transform: rotate(-12deg);
  transform-origin: left center;
}

.strengths .profile-role {
  margin-top: clamp(18px, 2.8svh, 26px);
  padding-left: clamp(14px, 1.4vw, 20px);
  border-left-width: 3px;
}

.strengths .profile-role strong {
  font-size: clamp(17px, min(1.7vw, 3.5svh), 26px);
}

.strengths .profile-role span {
  margin-top: 3px;
  font-size: clamp(11px, min(1vw, 2.3svh), 16px);
}

.strengths .profile-contact-mini {
  margin-top: clamp(20px, 3svh, 30px);
  gap: clamp(22px, 2.6vw, 38px);
}

.strengths .profile-contact-mini > span {
  grid-template-columns: 46px minmax(0, 1fr);
  column-gap: 10px;
}

.strengths .profile-contact-mini > span::before {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  font-size: 18px;
}

.strengths .profile-contact-mini small,
.strengths .profile-contact-mini strong {
  font-size: clamp(10px, min(0.86vw, 1.9svh), 14px);
}

.strengths .profile-visual {
  margin: clamp(25px, 3vw, 36px) clamp(28px, 3.2vw, 42px) clamp(25px, 3vw, 36px) 10px;
  border-radius: clamp(24px, 2.8vw, 34px);
}

.strengths .profile-skill-icons b {
  width: clamp(46px, 4.2vw, 64px);
  height: clamp(46px, 4.2vw, 64px);
  border-radius: 11px;
}

/* Final profile proportions: a long portrait panel aligned to the text block. */
@media (min-width: 721px) {
  .strengths .profile-intro {
    --profile-side-inset: clamp(48px, 6vw, 104px);
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  }

  .strengths .profile-summary {
    align-items: flex-start;
    padding-top: clamp(32px, 3.7svh, 50px);
    padding-left: var(--profile-side-inset);
  }

  .strengths .profile-visual {
    width: calc(100% - var(--profile-side-inset));
    height: min(calc(var(--profile-panel-height) - clamp(44px, 5vw, 68px)), clamp(330px, 46svh, 450px));
    margin: clamp(18px, 2vw, 28px) var(--profile-side-inset) clamp(18px, 2vw, 28px) 0;
    align-self: center;
    aspect-ratio: 1.6 / 1;
    border-radius: clamp(26px, 2.6vw, 40px);
  }

  .strengths .profile-visual img {
    object-position: center 38%;
  }

  .strengths .profile-name-row {
    margin-top: clamp(28px, 3.4svh, 42px);
  }

  .strengths .profile-role {
    margin-top: clamp(22px, 3svh, 34px);
  }

  .strengths .profile-role span {
    line-height: 1.42;
  }

  .strengths .profile-contact-mini {
    margin-top: clamp(26px, 3.4svh, 38px);
  }
}

/* The local A mark follows the reference's compact, hand-drawn identity. */
.profile-local-brand {
  color: #f7f5f0;
  font-family: "Segoe Script", "Brush Script MT", "Monotype Corsiva", cursive;
  font-size: 31px;
  font-style: italic;
  font-weight: 400;
  transform: rotate(-10deg);
}

@media (max-width: 720px) {
  .profile-local-brand {
    font-size: 20px;
  }

  .strengths .profile-signature {
    font-family: "Segoe Script", "Brush Script MT", "Monotype Corsiva", cursive;
    font-style: italic;
  }
}

@media (max-width: 720px) {
  .strengths .profile-intro {
    --profile-panel-height: min(43dvh, 360px);
  }

  .strengths .profile-summary {
    padding: 18px 8px 16px 17px;
  }

  .strengths .profile-name-row {
    margin-top: 20px;
    gap: 3px;
  }

  .strengths .profile-name-row h2 {
    font-size: 23px;
  }

  .strengths .profile-signature {
    font-size: 17px;
    transform: rotate(-6deg);
  }

  .strengths .profile-signature::after {
    bottom: -4px;
    height: 1px;
  }

  .strengths .profile-role {
    margin-top: 13px;
  }

  .strengths .profile-contact-mini {
    margin-top: 14px;
  }

  .strengths .profile-contact-mini > span {
    grid-template-columns: 25px minmax(0, 1fr);
  }

  .strengths .profile-contact-mini > span::before {
    width: 22px;
    height: 22px;
    font-size: 9px;
  }

  .strengths .profile-visual {
    margin: 16px 14px 16px 0;
    border-radius: 17px;
  }
}

/* AI poster detail: grouped editorial rhythm from the supplied reference. */
.modal[data-project-id="aigc-poster"] .modal-gallery {
  width: min(100%, 920px);
  margin: 0 auto;
  gap: clamp(30px, 4vw, 54px);
}

.modal[data-project-id="aigc-poster"] .modal-work-section {
  gap: 12px;
}

.modal[data-project-id="aigc-poster"] .modal-section-title {
  justify-content: flex-start;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 0;
}

.modal[data-project-id="aigc-poster"] .modal-section-title::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d49a20;
}

.modal[data-project-id="aigc-poster"] .modal-section-title span {
  color: #3a403d;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 650;
}

.modal[data-project-id="aigc-poster"] .modal-section-title em {
  display: none;
}

.modal[data-project-id="aigc-poster"] .modal-work-section.is-aigc-mixed .modal-section-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 12px);
}

.modal[data-project-id="aigc-poster"] .modal-work-section.is-poster-home .modal-section-items {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(6px, 0.8vw, 10px);
}

.modal[data-project-id="aigc-poster"] .modal-work-section.is-poster-home figure.is-horizontal {
  grid-column: auto;
}

.modal[data-project-id="aigc-poster"] .modal-work-section.is-poster-home figure:nth-child(1),
.modal[data-project-id="aigc-poster"] .modal-work-section.is-poster-home figure:nth-child(5) {
  grid-column: 1 / -1;
}

.modal[data-project-id="aigc-poster"] .modal-work-section.is-poster-home figure:nth-child(n + 2):nth-child(-n + 4) {
  grid-column: span 4;
}

.modal[data-project-id="aigc-poster"] .modal-work-section.is-poster-home figure:nth-child(n + 6) {
  grid-column: span 6;
}

.modal[data-project-id="aigc-poster"] .modal-work-section.is-poster-home figure:nth-child(n + 6) img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.modal[data-project-id="aigc-poster"] .modal-work-section.is-poster-pair figure.is-horizontal {
  grid-column: auto;
}

.modal[data-project-id="aigc-poster"] .modal-work-section.is-poster-pair figure:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc(50% - 6px);
  justify-self: center;
}

.modal[data-project-id="aigc-poster"] .modal-work-section.is-aigc-mixed figure {
  margin: 0;
}

.modal[data-project-id="aigc-poster"] .modal-work-section.is-aigc-mixed img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 680px) {
  .modal[data-project-id="aigc-poster"] .modal-gallery {
    gap: 30px;
  }

  .modal[data-project-id="aigc-poster"] .modal-work-section.is-poster-home .modal-section-items {
    gap: 5px;
  }

  .modal[data-project-id="aigc-poster"] .modal-work-section.is-aigc-mixed .modal-section-items {
    gap: 8px;
  }
}

/* AI effect detail: paired products with full-width exploded views. */
.modal[data-project-id="aigc-effect"] .modal-gallery {
  width: min(100%, 760px);
  margin: 0 auto;
  gap: clamp(30px, 4vw, 48px);
}

.modal[data-project-id="aigc-effect"] .modal-work-section {
  gap: 12px;
}

.modal[data-project-id="aigc-effect"] .modal-section-title {
  justify-content: flex-start;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 0;
}

.modal[data-project-id="aigc-effect"] .modal-section-title::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d49a20;
}

.modal[data-project-id="aigc-effect"] .modal-section-title span {
  color: #3a403d;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 650;
}

.modal[data-project-id="aigc-effect"] .modal-section-title em {
  display: none;
}

.modal[data-project-id="aigc-effect"] .modal-work-section.is-aigc-mixed .modal-section-items {
  width: 100%;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 12px);
}

.modal[data-project-id="aigc-effect"] .modal-work-section.is-aigc-mixed figure {
  margin: 0;
}

.modal[data-project-id="aigc-effect"] .modal-work-section.is-aigc-mixed figure.is-horizontal {
  grid-column: 1 / -1;
}

.modal[data-project-id="aigc-effect"] .modal-work-section.is-aigc-mixed img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 680px) {
  .modal[data-project-id="aigc-effect"] .modal-gallery {
    gap: 30px;
  }

  .modal[data-project-id="aigc-effect"] .modal-work-section.is-aigc-mixed .modal-section-items {
    gap: 8px;
  }
}

/* Product retouch detail: before/after pairs stay side by side. */
.modal[data-project-id="aigc-retouch"] .modal-gallery {
  width: min(100%, 760px);
  margin: 0 auto;
  gap: clamp(24px, 3vw, 40px);
}

.modal[data-project-id="aigc-retouch"] .modal-work-section.is-aigc-mixed .modal-section-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 12px);
}

.modal[data-project-id="aigc-retouch"] .modal-work-section.is-aigc-mixed figure,
.modal[data-project-id="aigc-retouch"] .modal-work-section.is-aigc-mixed figure.is-horizontal {
  position: relative;
  grid-column: auto;
  margin: 0;
}

.modal[data-project-id="aigc-retouch"] .retouch-comparison-label {
  position: absolute;
  top: clamp(7px, 0.85vw, 12px);
  left: clamp(7px, 0.85vw, 12px);
  z-index: 1;
  color: #29443a;
  background: transparent;
  font-size: clamp(10px, 0.85vw, 13px);
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
}

.modal[data-project-id="aigc-retouch"] .modal-work-section.is-aigc-mixed img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 680px) {
  .modal[data-project-id="aigc-retouch"] .modal-work-section.is-aigc-mixed .modal-section-items {
    gap: 8px;
  }

  .modal[data-project-id="aigc-retouch"] .retouch-comparison-label {
    top: 6px;
    left: 6px;
    font-size: 10px;
  }
}

/* Packaging detail: landscape media spans a row; portrait media pairs up. */
.modal[data-project-category="packaging"] .modal-section-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(10px, 1.2vw, 18px);
}

.modal[data-project-category="packaging"] .modal-section-items figure.is-horizontal {
  grid-column: 1 / -1;
}

.modal[data-project-category="packaging"] .modal-section-items figure.is-vertical {
  grid-column: auto;
}

@media (max-width: 680px) {
  .modal[data-project-category="packaging"] .modal-section-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

/* Advantage screen: editorial split layout matched to the supplied reference. */
.experience.section-pad {
  position: relative;
  min-height: 100svh;
  height: 100svh;
  padding: 0;
  display: block;
  overflow: hidden;
  background: #f7f6f2;
}

.experience .advantage-showcase {
  isolation: isolate;
  width: min(100%, 1700px);
  min-height: 0;
  height: 100%;
  margin: 0 auto;
  display: block;
  overflow: visible;
  background: transparent;
}

.experience .advantage-showcase::before {
  inset: 74% 0 0;
  width: auto;
  height: auto;
  border-radius: 0 44px 0 0;
  background: #1d4a3c;
  opacity: 1;
  z-index: -2;
}

.experience .advantage-backdrop {
  top: 12.5%;
  left: -0.05em;
  color: rgba(31, 67, 55, 0.045);
  font-size: clamp(92px, 8.8vw, 156px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0;
}

.experience .advantage-hero {
  position: absolute;
  top: 30.5%;
  left: clamp(38px, 5vw, 84px);
  z-index: 1;
  width: min(40.5%, 650px);
  padding: 0;
}

.experience .advantage-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(30px, 3vw, 48px);
  color: #244a3e;
  font-size: clamp(18px, 1.35vw, 23px);
  font-weight: 750;
  line-height: 1;
}

.experience .advantage-kicker::before,
.experience .advantage-hero h2::after,
.experience .advantage-column h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  flex: 0 0 auto;
  background: #c6db48;
}

.experience .advantage-hero h2 {
  position: relative;
  max-width: none;
  margin: 0;
  padding-bottom: clamp(40px, 4.4vw, 70px);
  color: #193c31;
  font-size: clamp(52px, 5.3vw, 88px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  white-space: nowrap;
}

.experience .advantage-hero h2::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 5px;
}

.advantage-intro {
  margin: 0;
  color: rgba(32, 49, 43, 0.72);
  font-size: clamp(16px, 1.2vw, 21px);
  font-weight: 500;
  line-height: 1.62;
}

.experience .advantage-columns {
  position: absolute;
  top: 12.3%;
  right: 0;
  bottom: 6.7%;
  left: 49.2%;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border: 0;
}

.experience .advantage-column,
.experience .advantage-column:first-child {
  min-height: 0;
  padding: clamp(34px, 3.1vw, 52px) clamp(30px, 2.7vw, 46px);
  display: flex;
  justify-content: flex-start;
  gap: clamp(16px, 1.5vw, 24px);
  border: 1px solid rgba(32, 49, 43, 0.10);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.47);
  box-shadow: none;
}

.experience .advantage-icon {
  width: clamp(58px, 4.8vw, 82px);
  height: clamp(58px, 4.8vw, 82px);
  margin: 0 0 clamp(12px, 1.4vw, 22px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #203f35;
  background: #eef3ca;
}

.experience .advantage-icon svg {
  width: 42%;
  height: 42%;
}

.experience .advantage-column h3 {
  position: relative;
  margin: 0;
  padding-bottom: clamp(22px, 2.1vw, 34px);
  color: #203f35;
  font-size: clamp(27px, 2.05vw, 37px);
  font-weight: 780;
  line-height: 1.18;
  letter-spacing: 0;
}

.experience .advantage-column h3::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
}

.experience .advantage-column p {
  max-width: 29ch;
  margin: 0;
  color: rgba(32, 49, 43, 0.66);
  font-size: clamp(15px, 1.08vw, 19px);
  font-weight: 500;
  line-height: 1.65;
}

.advantage-note {
  position: absolute;
  left: clamp(38px, 5vw, 84px);
  bottom: 10.6%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
  color: #fff;
}

.advantage-note-arrow {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1b4236;
  background: #d4e551;
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
}

.advantage-note p {
  margin: 0;
  padding-left: clamp(18px, 1.7vw, 28px);
  border-left: 1px solid rgba(255, 255, 255, 0.55);
  font-size: clamp(15px, 1.12vw, 19px);
  font-weight: 500;
  line-height: 1.62;
}

@media (max-width: 760px) {
  .experience .advantage-showcase::before {
    inset: 72% 0 0;
    border-radius: 0 20px 0 0;
  }

  .experience .advantage-backdrop {
    top: 14%;
    font-size: clamp(48px, 17vw, 78px);
  }

  .experience .advantage-hero {
    top: 26%;
    left: 12px;
    width: 44%;
  }

  .experience .advantage-kicker {
    gap: 6px;
    margin-bottom: 16px;
    font-size: 9px;
  }

  .experience .advantage-kicker::before {
    width: 14px;
    height: 2px;
  }

  .experience .advantage-hero h2 {
    padding-bottom: 22px;
    font-size: clamp(25px, 8.7vw, 38px);
    line-height: 1.1;
    white-space: normal;
  }

  .experience .advantage-hero h2::after {
    width: 20px;
    height: 3px;
  }

  .advantage-intro {
    font-size: 8px;
    line-height: 1.55;
  }

  .experience .advantage-columns {
    top: 12.5%;
    right: 10px;
    bottom: 7.7%;
    left: 50%;
    gap: 4px;
  }

  .experience .advantage-column,
  .experience .advantage-column:first-child {
    padding: 10px 8px;
    gap: 7px;
    border-radius: 5px;
  }

  .experience .advantage-icon {
    width: 31px;
    height: 31px;
    margin-bottom: 3px;
  }

  .experience .advantage-column h3 {
    padding-bottom: 10px;
    font-size: clamp(10px, 3.2vw, 14px);
    line-height: 1.25;
  }

  .experience .advantage-column h3::after {
    width: 16px;
    height: 2px;
  }

  .experience .advantage-column p {
    font-size: clamp(7px, 1.95vw, 9px);
    line-height: 1.45;
  }

  .advantage-note {
    left: 12px;
    bottom: 8.8%;
    gap: 8px;
  }

  .advantage-note-arrow {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }

  .advantage-note p {
    padding-left: 9px;
    font-size: clamp(7px, 2vw, 9px);
    line-height: 1.45;
  }
}

/* Project names stay on one line and scale with the viewport. */
.modal .modal-copy h2 {
  max-width: 100%;
  font-size: clamp(18px, 2.1vw, 40px);
  line-height: 1.08;
  letter-spacing: 0;
  white-space: nowrap;
  word-break: keep-all;
}

@media (max-width: 680px) {
  .modal .modal-copy h2 {
    font-size: clamp(18px, 5.2vw, 24px);
  }
}

/* AI model detail: grouped like AI effects; landscape spans, portraits pair. */
.modal[data-project-id="aigc-model"] .modal-gallery {
  width: min(100%, 760px);
  margin: 0 auto;
  gap: clamp(30px, 4vw, 48px);
}

.modal[data-project-id="aigc-model"] .modal-work-section {
  gap: 12px;
}

.modal[data-project-id="aigc-model"] .modal-section-title {
  justify-content: flex-start;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 0;
}

.modal[data-project-id="aigc-model"] .modal-section-title::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d49a20;
}

.modal[data-project-id="aigc-model"] .modal-section-title span {
  color: #3a403d;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 650;
}

.modal[data-project-id="aigc-model"] .modal-section-title em {
  display: none;
}

.modal[data-project-id="aigc-model"] .modal-work-section.is-aigc-mixed .modal-section-items {
  width: 100%;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(8px, 1vw, 12px);
}

.modal[data-project-id="aigc-model"] .modal-work-section.is-aigc-mixed figure {
  margin: 0;
}

.modal[data-project-id="aigc-model"] .modal-work-section.is-aigc-mixed figure.is-horizontal {
  grid-column: 1 / -1;
}

.modal[data-project-id="aigc-model"] .modal-work-section.is-aigc-mixed img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 680px) {
  .modal[data-project-id="aigc-model"] .modal-gallery {
    gap: 30px;
  }

  .modal[data-project-id="aigc-model"] .modal-work-section.is-aigc-mixed .modal-section-items {
    gap: 8px;
  }
}

/* Fixed section stack: wheel/touch state is controlled by script.js. */
html.section-stack-enabled,
body.section-stack-enabled {
  height: 100%;
  overflow: hidden !important;
  overflow-y: hidden !important;
  overscroll-behavior: none;
}

body.section-stack-enabled main {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

body.section-stack-enabled main > section,
body.section-stack-enabled main > section.is-section-visible,
body.section-stack-enabled main > section.works,
body.section-stack-enabled main > section.works.is-scroll-gallery {
  position: fixed;
  inset: 0;
  top: 0;
  z-index: var(--section-z, 1);
  width: 100%;
  height: 100dvh !important;
  min-height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  transform-origin: 50% 0;
  transition:
    transform 860ms cubic-bezier(0.22, 0.72, 0.18, 1),
    filter 860ms cubic-bezier(0.22, 0.72, 0.18, 1);
  }

body.section-stack-enabled main > section:not(:first-child) {
  border-radius: 20px 20px 0 0;
}

body.section-stack-enabled main > section.is-section-current {
  pointer-events: auto !important;
  transform: translate3d(0, 0, 0) scale(1);
  filter: brightness(1);
}

body.section-stack-enabled main > section.is-section-past {
  pointer-events: none !important;
  transform: translate3d(0, -2vh, 0) scale(0.985);
  filter: brightness(0.84);
}

body.section-stack-enabled main > section.is-section-future {
  pointer-events: none !important;
  transform: translate3d(0, 100%, 0) scale(1);
  filter: brightness(1);
}

body.section-stack-enabled main > section.is-section-no-transition {
  transition: none !important;
}

body.section-stack-enabled .works-stage {
  position: absolute;
  inset: 0;
  height: 100%;
}

@media (max-width: 720px) {
  body.section-stack-enabled main > section:not(:first-child) {
    border-radius: 16px 16px 0 0;
  }
}

/* Contact screen: lighter hero typography with two clean contact rows. */
.contact-panel .section-label {
  font-family: Inter, "Helvetica Neue", "Segoe UI Light", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}

.contact-panel h2 {
  width: min(100%, 1040px);
  margin-bottom: clamp(38px, 4.4vw, 62px);
  font-family: Inter, "Helvetica Neue", "Segoe UI Light", Arial, sans-serif;
  font-size: clamp(88px, 10.2vw, 164px);
  font-weight: 300;
  line-height: 0.86;
  letter-spacing: 0;
}

.contact-avatar {
  top: 39%;
}

.contact-avatar img {
  object-position: 50% 30%;
  filter: grayscale(1);
}

.contact-details {
  width: min(100%, 680px);
  display: grid;
  gap: clamp(14px, 1.8vw, 22px);
  color: rgba(250, 250, 250, 0.8);
  font-family: Inter, "Helvetica Neue", "Segoe UI Light", Arial, sans-serif;
  text-align: center;
}

.contact-detail {
  display: grid;
  justify-items: center;
  gap: 5px;
}

.contact-detail > span {
  font-size: clamp(12px, 0.95vw, 16px);
  font-weight: 400;
  line-height: 1.3;
}

.contact-value-row {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 0.8vw, 12px);
}

.contact-value-row > a,
.contact-value-row > .contact-value {
  color: var(--paper);
  font-size: clamp(24px, 2.25vw, 36px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: 0;
  white-space: nowrap;
}

.contact-value-row > a:hover,
.contact-value-row > a:focus-visible {
  color: var(--acid);
}

.contact-copy-button {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(250, 250, 250, 0.32);
  border-radius: 50%;
  background: rgba(250, 250, 250, 0.06);
  color: rgba(250, 250, 250, 0.78);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.contact-copy-button:hover,
.contact-copy-button:focus-visible,
.contact-copy-button.is-copied {
  border-color: var(--acid);
  background: rgba(199, 224, 57, 0.12);
  color: var(--acid);
}

.contact-copy-button:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

.contact-copy-icon {
  position: relative;
  width: 14px;
  height: 14px;
}

.contact-copy-icon::before,
.contact-copy-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 9px;
  border: 1.4px solid currentColor;
  border-radius: 2px;
}

.contact-copy-icon::before {
  top: 1px;
  right: 1px;
}

.contact-copy-icon::after {
  bottom: 1px;
  left: 1px;
  background: var(--forest);
}

.contact-copy-button.is-copied .contact-copy-icon::before {
  top: 3px;
  left: 2px;
  width: 9px;
  height: 5px;
  border-width: 0 0 1.8px 1.8px;
  border-radius: 0;
  transform: rotate(-45deg);
}

.contact-copy-button.is-copied .contact-copy-icon::after {
  display: none;
}

@media (max-width: 720px) {
  .contact-panel {
    padding: 68px 18px 38px;
  }

  .contact-panel .section-label {
    margin-bottom: 18px;
  }

  .contact-panel h2 {
    width: min(100%, 340px);
    margin-bottom: 34px;
    font-size: clamp(52px, 15vw, 70px);
    line-height: 0.88;
  }

  .contact-avatar {
    top: 38.5%;
    width: clamp(62px, 17vw, 78px);
  }

  .contact-details {
    width: min(100%, 340px);
    gap: 14px;
  }

  .contact-detail > span {
    font-size: 11px;
  }

  .contact-value-row > a,
  .contact-value-row > .contact-value {
    max-width: 100%;
    font-size: clamp(20px, 6.3vw, 27px);
  }

  .contact-copy-button {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
}

/* Final mobile composition: keep each screen compact, grouped and unobstructed. */
@media (max-width: 720px) {

  /* Mobile: remove dimming filter on past section to avoid ghosting */
  body.section-stack-enabled main > section.is-section-past {
    filter: none;
    opacity: 0;
  }

  body.section-stack-enabled main > section.is-section-future {
    filter: none;
  }

  .hero,
  .hero-panel {
    height: 100svh;
    min-height: 100svh;
  }

  .strengths.section-pad {
    padding: 10px max(12px, calc((100vw - 340px) / 2)) 12px;
    grid-template-rows: 34px auto;
    gap: 8px;
    align-items: stretch;
    overflow-y: auto;
  }

  .strengths .profile-intro {
    --profile-panel-height: min(42svh, 350px);
    width: min(100%, 340px) !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr) !important;
    grid-template-rows: var(--profile-panel-height) auto !important;
    gap: 10px 0 !important;
    align-self: center !important;
    overflow: visible !important;
  }

  .strengths .profile-name-row {
    margin-top: 12px;
  }

  .strengths .profile-name-row h2 {
    font-size: clamp(14px, 4.2vw, 22px) !important;
  }

  .strengths .profile-role {
    margin-top: 8px;
  }

  .strengths .profile-role strong {
    font-size: 10px !important;
  }

  .strengths .profile-role span {
    font-size: 10px !important;
  }

  .strengths .profile-contact-mini {
    margin-top: 12px;
    gap: 6px;
  }

  .strengths .profile-contact-mini > span {
    font-size: 9px !important;
  }

  .strengths .profile-contact-mini small,
  .strengths .profile-contact-mini strong {
    font-size: 10px !important;
  }

  .strengths .profile-contact-mini strong {
    overflow-wrap: normal;
    white-space: nowrap;
  }

  .strengths .profile-visual {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    align-self: center !important;
    width: calc(100% - 8px) !important;
    height: auto !important;
    aspect-ratio: 1.6 / 1 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  .strengths .profile-visual::before {
    content: none;
  }

  .strengths .profile-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% center;
    border-radius: 18px;
    margin-left: 0;
  }

  .strengths .profile-summary {
    grid-column: 1 !important;
    grid-row: 1 !important;
    z-index: auto;
    color: #111511 !important;
    display: flex;
    align-items: flex-start;
    padding: 14px 4px 10px 10px !important;
    background: transparent;
    pointer-events: auto;
  }

  .strengths .profile-details {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    align-self: start;
  }

  .experience.section-pad {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
  }

  .experience .advantage-showcase {
    height: 100%;
    min-height: 0;
  }

  .experience .advantage-showcase::before {
    inset: 76% 0 0;
  }

  .experience .advantage-backdrop {
    top: 11%;
  }

  .experience .advantage-hero {
    top: 27%;
    left: 12px;
    width: 44%;
  }

  .experience .advantage-columns {
    top: 12%;
    right: 10px;
    bottom: 25%;
    left: 50%;
    align-items: stretch;
  }

  .experience .advantage-column,
  .experience .advantage-column:first-child {
    height: 100%;
    min-height: 0;
    padding: clamp(8px, 1.7svh, 13px) 8px;
    justify-content: center;
  }

  .experience .advantage-icon {
    margin-bottom: 3px;
  }

  .advantage-note {
    bottom: 8%;
  }
}

/* Compact typography for the project information sidebar. */
.modal .modal-copy > span {
  font-size: 10px;
}

.modal .modal-copy h2 {
  font-size: clamp(16px, 1.55vw, 30px);
}

.modal .modal-copy > p {
  font-size: clamp(12px, 0.82vw, 14px);
  line-height: 1.65;
}

.modal .modal-meta span {
  font-size: 10px;
}

.modal .modal-meta strong {
  font-size: clamp(12px, 0.85vw, 14px);
}

@media (max-width: 680px) {
  .modal .modal-copy h2 {
    font-size: clamp(16px, 4.5vw, 21px);
  }
}

/* Mobile matches desktop: centered text with photo overlapping from below. */
@media (max-width: 720px) {
  .hero-copy {
    top: 38% !important;
    left: 50% !important;
    width: 80vw !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    z-index: 3 !important;
  }

  .hero-headline {
    font-size: clamp(24px, 6.2vw, 36px) !important;
    line-height: 0.88 !important;
  }

  .hero-subtitle {
    display: grid !important;
    font-size: 9px !important;
    grid-template-columns: max-content minmax(0, 1fr) !important;
  }

  .hero-subtitle::before {
    content: "Creative\00a0" !important;
    font-size: clamp(24px, 6.2vw, 36px) !important;
  }

  .hero-portrait {
    top: auto !important;
    right: auto !important;
    bottom: 150px !important;
    left: 50% !important;
    width: auto !important;
    height: clamp(240px, 48svh, 380px) !important;
    max-width: 64vw !important;
    overflow: hidden !important;
    z-index: 4 !important;
    transform: translateX(-50%) !important;
    animation-name: hero-portrait-reveal !important;
  }

  .hero-portrait img {
    width: auto !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
  }

  .strengths .profile-intro {
    align-self: start;
  }

  /* Mobile: make the entire modal scroll as one unit so the copy text scrolls with the media */
  .modal-card {
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }

  .modal-media {
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* Mobile: compact modal copy typography */
  .modal .modal-copy {
    padding: 14px 16px !important;
    gap: 12px !important;
  }

  .modal .modal-copy > span {
    font-size: 9px !important;
    padding: 0 0 8px !important;
  }

  .modal .modal-copy h2 {
    font-size: 16px !important;
  }

  .modal .modal-copy > p {
    font-size: 11px !important;
    line-height: 1.45 !important;
  }

  .modal .modal-meta {
    gap: 14px !important;
  }

  .modal .modal-meta div {
    padding-top: 8px !important;
    gap: 4px !important;
  }

  .modal .modal-meta span {
    font-size: 9px !important;
  }

  .modal .modal-meta strong {
    font-size: 11px !important;
  }
}
