:root {
  --blue-050: #e9f2f2;
  --blue-100: #d7e9ed;
  --blue-200: #bfdde5;
  --blue-300: #a7cfdb;
  --blue-500: #5d9fb5;
  --blue-700: #2d6d86;
  --hover-blue: #9fc8d5;
  --ink: #173f52;
  --ink-soft: #557481;
  --paper: #f4eddf;
  --paper-deep: #e9ddc8;
  --coral: #dd7458;
  --yellow: #ebb63f;
  --mint: #6ebca8;
  --white: #fbfaf5;
  --shadow: 0 24px 65px rgba(41, 78, 92, 0.16);
  --shell: min(1180px, calc(100vw - 72px));
  --hand-font: "STKaiti", "KaiTi", "FangSong", serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--blue-200);
  font-family: var(--sans);
  overflow-x: hidden;
}

body::selection {
  color: var(--white);
  background: var(--ink);
}

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

button,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.clock-hero,
.page-section {
  position: relative;
  isolation: isolate;
  background-color: var(--blue-200);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.52), transparent 28rem),
    radial-gradient(circle at 84% 74%, rgba(238, 249, 248, 0.4), transparent 32rem),
    linear-gradient(112deg, transparent 0 58%, rgba(255, 255, 255, 0.12) 58% 59%, transparent 59% 100%);
}

.clock-hero::after,
.page-section::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.22;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E");
}

.clock-hero {
  --hero-shell: min(1700px, calc(100vw - 80px));
  display: grid;
  min-height: 100svh;
  padding: 34px 40px 24px;
  place-items: center;
  overflow: hidden;
}

.paper-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 32%, rgba(255, 255, 255, 0.08)),
    repeating-linear-gradient(0deg, transparent 0 9px, rgba(19, 63, 82, 0.018) 9px 10px);
}

.hero-cloud {
  position: absolute;
  width: 30vw;
  height: 24vw;
  border-radius: 50%;
  filter: blur(22px);
  background: rgba(255, 255, 255, 0.24);
}

.hero-cloud-one {
  top: -12vw;
  left: -8vw;
}

.hero-cloud-two {
  right: -10vw;
  bottom: -14vw;
}

.hero-heading {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 50%;
  width: var(--hero-shell);
  text-align: center;
  transform: translateX(-50%);
}

.eyebrow,
.section-kicker,
.case-label {
  margin: 0 0 0.65rem;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.67rem;
  letter-spacing: 0.17em;
}

.hero-heading h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Ink Free", "Segoe Print", "Comic Sans MS", cursive;
  font-size: clamp(2.6rem, 4vw, 5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.025em;
  white-space: nowrap;
  text-transform: uppercase;
  transform: rotate(-0.5deg) scaleX(0.94);
  -webkit-text-stroke: 0.8px currentColor;
  text-shadow:
    1px 2px 0 rgba(45, 109, 134, 0.2),
    -1px 0 0 rgba(23, 63, 82, 0.16),
    3px 4px 0 rgba(45, 109, 134, 0.08);
}

.clock-stage {
  --dial-size: clamp(470px, 70vmin, 720px);
  --dial-radius: calc(var(--dial-size) * 0.48);
  position: relative;
  width: var(--dial-size);
  height: var(--dial-size);
  margin-top: clamp(55px, 7vh, 90px);
}

.clock-face {
  --hour-angle: 310deg;
  --minute-angle: 45deg;
  --second-angle: 120deg;
  position: absolute;
  inset: 7%;
  border: 1.5px solid rgba(23, 63, 82, 0.32);
  border-radius: 50%;
  box-shadow:
    0 0 0 10px rgba(244, 237, 223, 0.18),
    var(--shadow),
    inset 0 0 80px rgba(255, 255, 255, 0.38);
  background:
    radial-gradient(circle at 52% 45%, rgba(255, 255, 255, 0.58), transparent 34%),
    var(--paper);
}

.clock-face::before,
.clock-face::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: var(--ink);
  box-shadow:
    0 -43vmin 0 -1px var(--ink),
    0 43vmin 0 -1px var(--ink),
    43vmin 0 0 -1px var(--ink),
    -43vmin 0 0 -1px var(--ink);
  opacity: 0.2;
  transform: translate(-50%, -50%);
}

.clock-face::after {
  width: 88%;
  height: 88%;
  border: 1px dashed rgba(23, 63, 82, 0.2);
  background: transparent;
  box-shadow: none;
}

.dial-ring {
  position: absolute;
  border: 1px solid rgba(23, 63, 82, 0.12);
  border-radius: 50%;
}

.dial-ring-one {
  inset: 10%;
}

.dial-ring-two {
  inset: 31%;
  border-style: dashed;
}

.dial-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.7;
}

.dial-dot-one { top: 18%; left: 24%; }
.dial-dot-two { right: 22%; bottom: 26%; background: var(--mint); }
.dial-dot-three { bottom: 18%; left: 29%; background: var(--yellow); }

.clock-center-copy {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: flex;
  width: 185px;
  height: 185px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(23, 63, 82, 0.12);
  border-radius: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
}

.clock-center-copy span {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.56rem;
  letter-spacing: 0.21em;
}

.clock-center-copy strong {
  margin: 0.25rem 0;
  font-family: var(--hand-font);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.clock-center-copy small {
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.dial-doodle {
  position: absolute;
  z-index: 1;
  width: 86px;
  height: 69px;
  border-radius: 18px;
  background-image: url("assets/cat-doodles-reference.webp");
  background-repeat: no-repeat;
  background-size: 300% 500%;
  mix-blend-mode: multiply;
  opacity: 0.14;
  pointer-events: none;
}

.doodle-one {
  top: 19%;
  left: 23%;
  background-position: 50% 0%;
  transform: rotate(-8deg);
}

.doodle-two {
  top: 25%;
  right: 20%;
  background-position: 100% 0%;
  transform: rotate(7deg);
}

.doodle-three {
  bottom: 21%;
  left: 20%;
  background-position: 0% 50%;
  transform: rotate(5deg);
}

.doodle-four {
  right: 22%;
  bottom: 18%;
  background-position: 100% 50%;
  transform: rotate(-6deg);
}

.clock-hand {
  position: absolute;
  z-index: 4;
  bottom: 50%;
  left: 50%;
  display: block;
  width: 4px;
  border-radius: 999px 999px 2px 2px;
  background: var(--ink);
  transform-origin: 50% 100%;
  transition: transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hour-hand {
  height: 22%;
  transform: translateX(-50%) rotate(var(--hour-angle));
}

.minute-hand {
  width: 3px;
  height: 31%;
  background: var(--blue-700);
  transform: translateX(-50%) rotate(var(--minute-angle));
}

.second-hand {
  z-index: 5;
  width: 1.5px;
  height: 34%;
  background: var(--coral);
  transform: translateX(-50%) rotate(var(--second-angle));
  transition-duration: 350ms;
}

.clock-pin {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--ink);
  background: var(--coral);
  transform: translate(-50%, -50%);
}

.clock-cat {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  display: flex;
  width: clamp(96px, 13vmin, 138px);
  height: clamp(96px, 13vmin, 138px);
  align-items: center;
  justify-content: center;
  transform:
    translate(-50%, -50%)
    rotate(var(--angle))
    translateY(calc(var(--dial-radius) * -1))
    rotate(var(--counter));
}

.cat-disc {
  --near-scale: 1;
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(23, 63, 82, 0.24);
  border-radius: 44% 56% 48% 52% / 52% 45% 55% 48%;
  box-shadow: 0 11px 26px rgba(35, 75, 91, 0.12);
  background: rgba(244, 237, 223, 0.96);
  place-items: center;
  transform: scale(var(--near-scale));
  transition: box-shadow 260ms ease, transform 260ms ease, background 260ms ease;
}

.clock-cat:nth-of-type(2n) .cat-disc {
  border-radius: 56% 44% 53% 47% / 48% 55% 45% 52%;
}

.cat-disc::before {
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(23, 63, 82, 0.12);
  border-radius: inherit;
  content: "";
}

.cat-disc img {
  width: 88%;
  max-height: 78%;
  object-fit: contain;
  transform: translateY(3px);
  transition: filter 200ms ease;
}

.cat-label {
  position: absolute;
  right: -34px;
  bottom: -2px;
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.68rem 0.38rem;
  border: 1px solid rgba(23, 63, 82, 0.22);
  border-radius: 4px 12px 5px 10px;
  box-shadow: 4px 5px 0 rgba(23, 63, 82, 0.07);
  background: var(--paper);
  font-family: var(--hand-font);
  font-size: clamp(0.8rem, 1.45vmin, 1rem);
  letter-spacing: 0.08em;
  transform: rotate(-2deg);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.clock-cat:nth-of-type(2n) .cat-label {
  right: auto;
  left: -34px;
  transform: rotate(2deg);
}

.cat-label b {
  color: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.56rem;
}

.clock-cat:hover,
.clock-cat:focus-visible {
  z-index: 20;
}

.clock-cat:hover .cat-disc,
.clock-cat:focus-visible .cat-disc {
  box-shadow: 0 21px 36px rgba(35, 75, 91, 0.2);
  background: #e7f2f4;
  animation: cat-hop 620ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.clock-cat:hover .cat-label,
.clock-cat:focus-visible .cat-label {
  color: var(--ink);
  border-color: rgba(45, 109, 134, 0.5);
  background: var(--hover-blue);
  transform: rotate(0) translateY(-4px);
}

@keyframes cat-hop {
  0% { translate: 0 0; rotate: 0deg; }
  38% { translate: 0 -22px; rotate: -4deg; }
  68% { translate: 0 3px; rotate: 2deg; }
  100% { translate: 0 0; rotate: 0deg; }
}

.clock-hint {
  position: absolute;
  right: max(42px, calc((100vw - 1700px) / 2 + 42px));
  bottom: 28px;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--hand-font);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.page-section {
  min-height: 100svh;
  padding: clamp(90px, 11vw, 150px) 0;
  border-top: 1px solid rgba(23, 63, 82, 0.14);
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.section-heading h2,
.about-heading h2,
.profile-copy h2,
.copy-intro h2 {
  margin: 0;
  font-family: var(--hand-font);
  font-size: clamp(2.8rem, 5.6vw, 6.4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.03em;
}

.section-heading > p,
.heading-action > p {
  width: min(380px, 36vw);
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.8;
}

.section-kicker {
  color: var(--ink-soft);
}

.profile-section {
  background-color: var(--blue-100);
}

.profile-layout {
  display: grid;
  min-height: calc(100svh - 200px);
  grid-template-columns: minmax(380px, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(70px, 9vw, 130px);
}

.photo-column {
  position: relative;
  min-height: 690px;
}

.photo-intro {
  position: absolute;
  z-index: 20;
  top: -26px;
  left: -14px;
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  color: var(--ink-soft);
}

.photo-intro span {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
}

.photo-intro p {
  margin: 0;
  font-family: var(--hand-font);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: right;
}

.photo-stack {
  position: relative;
  display: block;
  width: min(100%, 475px);
  height: 610px;
  margin: 28px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.photo-card {
  --stack-order: 0;
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 12px solid var(--paper);
  border-bottom-width: 48px;
  border-radius: 3px;
  box-shadow: 0 22px 55px rgba(35, 75, 91, 0.2);
  background: var(--paper);
  transform:
    translate(calc(var(--stack-order) * 12px), calc(var(--stack-order) * 12px))
    rotate(calc((var(--stack-order) - 2) * 1.4deg))
    scale(calc(1 - var(--stack-order) * 0.035));
  transform-origin: 50% 85%;
  transition: transform 560ms cubic-bezier(0.2, 0.75, 0.2, 1), opacity 360ms ease, filter 360ms ease;
}

.photo-card::after {
  position: absolute;
  right: 14px;
  bottom: -36px;
  content: "WAN KE · LIFE FRAGMENTS";
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card:nth-child(2) img { object-position: center 27%; }
.photo-card:nth-child(3) img { object-position: center 30%; }
.photo-card:nth-child(4) img { object-position: center 30%; }
.photo-card:nth-child(5) img { object-position: center 35%; }

.photo-card.is-sliding {
  z-index: 30 !important;
  opacity: 0;
  transform: translate(18px, 88%) rotate(8deg) scale(0.94);
}

.profile-copy h2 em {
  color: var(--coral);
  font-style: normal;
}

.profile-copy h2 {
  font-size: clamp(2.8rem, 4.2vw, 4.85rem);
  white-space: nowrap;
}

.profile-lead {
  max-width: 710px;
  margin: 2rem 0 2.4rem;
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  line-height: 2;
}

.identity-grid {
  display: grid;
  margin: 0 0 2rem;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(23, 63, 82, 0.2);
  border-bottom: 1px solid rgba(23, 63, 82, 0.2);
}

.identity-grid div {
  padding: 1rem 0.6rem;
  border-right: 1px solid rgba(23, 63, 82, 0.16);
}

.identity-grid div:first-child { padding-left: 0; }
.identity-grid div:last-child { border-right: 0; }
.identity-grid dt { color: var(--ink-soft); font-size: 0.65rem; }
.identity-grid dd { margin: 0.35rem 0 0; font-size: 0.9rem; }

.profile-detail-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 1rem;
}

.paper-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(23, 63, 82, 0.17);
  border-radius: 4px 16px 6px 13px;
  box-shadow: 7px 8px 0 rgba(23, 63, 82, 0.055);
  background: rgba(244, 237, 223, 0.88);
}

.paper-card > p {
  margin: 0;
  color: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
}

.paper-card h3 {
  margin: 0.35rem 0 0.9rem;
  font-family: var(--hand-font);
  font-size: 1.25rem;
  font-weight: 400;
}

.language-card ul,
.operation-copy ul,
.award-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.language-card li {
  display: flex;
  justify-content: space-between;
  padding: 0.37rem 0;
  border-top: 1px dashed rgba(23, 63, 82, 0.14);
  font-size: 0.75rem;
}

.language-card li:first-child { border-top: 0; }

.tool-capability-list {
  display: grid;
  gap: 0.68rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-capability-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.72rem;
  padding-top: 0.68rem;
  border-top: 1px dashed rgba(23, 63, 82, 0.16);
}

.tool-capability-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.tool-capability-list li > p {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.65;
}

.tool-logo-row {
  display: flex;
  align-items: center;
  gap: 0.28rem;
}

.tool-logo {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 9px;
  filter: saturate(0.86) drop-shadow(0 3px 4px rgba(23, 63, 82, 0.12));
}

.tool-logo-sprite {
  background-image: url("assets/profile/tools/creative-tools.webp");
  background-repeat: no-repeat;
  background-size: 154px 97px;
}

.logo-gaoding { background-position: -13px -2px; }
.logo-xiumi { background-position: -59px -2px; }
.logo-capcut { background-position: -112px -2px; }
.logo-canva { background-position: -13px -47px; }
.logo-photoshop { background-position: -61px -46px; }
.logo-premiere { background-position: -112px -47px; }

.tool-logo-ai {
  object-fit: cover;
  background: #2d2d2b;
}

.operation-section {
  background-color: var(--blue-200);
  overflow: hidden;
}

.operation-section .section-heading h2 {
  font-size: clamp(3rem, 4.4vw, 5.1rem);
  white-space: nowrap;
}

.rail-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.rail-controls p {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.64rem;
}

.rail-controls p span {
  color: var(--coral);
  font-size: 1.2rem;
}

.rail-controls p b {
  font-weight: 400;
}

.rail-controls > div,
.vertical-controls > div {
  display: flex;
  gap: 0.6rem;
}

.round-button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(23, 63, 82, 0.38);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  place-items: center;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.round-button:hover {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-2px);
}

.project-rail {
  display: grid;
  grid-auto-columns: min(910px, 78vw);
  grid-auto-flow: column;
  gap: 1.4rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0.3rem max(1px, calc((100vw - min(1180px, 100vw - 72px)) / 2)) 2.4rem 0;
  cursor: grab;
  scrollbar-width: none;
  scroll-snap-type: inline mandatory;
}

.project-rail::-webkit-scrollbar,
.event-stack::-webkit-scrollbar,
.copy-rail::-webkit-scrollbar {
  display: none;
}

.project-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.operation-card {
  display: grid;
  min-height: 520px;
  overflow: hidden;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(23, 63, 82, 0.18);
  border-radius: 10px 36px 12px 32px;
  box-shadow: var(--shadow);
  background: var(--paper);
  scroll-snap-align: start;
}

.operation-visual {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  place-items: center;
  background: #80b8c8;
}

.operation-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 68% 20%, rgba(255, 255, 255, 0.42), transparent 38%);
  pointer-events: none;
}

.operation-media-slider::before,
.operation-media-single::before {
  position: absolute;
  z-index: 0;
  inset: 7% 8%;
  border: 1px solid rgba(244, 237, 223, 0.42);
  border-radius: 18px 34px 20px 30px;
  background: rgba(244, 237, 223, 0.16);
  content: "";
}

.operation-media-slider > img,
.operation-media-single > img {
  position: absolute;
  z-index: 1;
  width: 84%;
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 22px 18px rgba(23, 63, 82, 0.2));
}

.operation-media-slider > img {
  opacity: 0;
  transform: translateY(18%);
  transition: opacity 420ms ease, transform 560ms cubic-bezier(.2, .75, .2, 1);
}

.operation-media-slider > img:first-of-type,
.operation-media-slider > img.is-active {
  opacity: 1;
  transform: translateY(0);
}

.operation-media-slider > img.was-active {
  opacity: 0;
  transform: translateY(-18%);
}

.operation-media-slider .qr-slide {
  width: 58%;
  height: 58%;
}

.operation-media-dark { background: #426f80; }
.operation-media-pale { background: #a9cdd7; }
.operation-media-warm { background: #c5d9d4; }

.phone-visual img {
  z-index: 1;
  width: min(42%, 250px);
  max-height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 28px 22px rgba(23, 63, 82, 0.24));
  transform: rotate(-4deg);
}

.collage-visual {
  background: #dbe5dd;
}

.collage-visual img {
  width: 84%;
  height: 79%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 18px 40px rgba(23, 63, 82, 0.18);
  transform: rotate(2deg);
}

.pale { background: #c5dce1; }
.dark-visual { background: #2d5770; }

.floating-note,
.metric-seal {
  position: absolute;
  z-index: 2;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(23, 63, 82, 0.18);
  border-radius: 8px 14px 7px 16px;
  box-shadow: 3px 5px 0 rgba(23, 63, 82, 0.08);
  background: var(--paper);
  font-family: var(--hand-font);
  font-size: 0.78rem;
}

.note-one { top: 18%; left: 10%; transform: rotate(-5deg); }
.note-two { right: 8%; bottom: 18%; transform: rotate(3deg); }
.note-three { right: 8%; top: 18%; transform: rotate(4deg); }

.metric-seal {
  right: 6%;
  bottom: 8%;
  display: flex;
  width: 110px;
  height: 110px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--coral);
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 700;
  transform: rotate(-7deg);
}

.metric-seal small {
  margin-top: 0.2rem;
  font-size: 0.6rem;
  font-weight: 400;
}

.metric-seal.light {
  color: var(--ink);
  background: var(--paper);
}

.operation-copy {
  display: flex;
  padding: clamp(2rem, 3vw, 3.25rem);
  flex-direction: column;
  justify-content: center;
}

.operation-copy h3 {
  font-size: clamp(2rem, 2.7vw, 3rem);
}

.operation-copy > p:first-child,
.data-copy > p:first-child,
.award-copy > p:first-child {
  margin: 0 0 0.9rem;
  color: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.13em;
}

.operation-copy h3,
.planning-story h3,
.data-copy h3,
.award-copy h3 {
  margin: 0 0 1.3rem;
  font-family: var(--hand-font);
  font-size: clamp(2rem, 3vw, 3.6rem);
  font-weight: 400;
  line-height: 1.12;
}

.operation-copy > p:not(:first-child),
.planning-story > p,
.data-copy > p,
.award-copy > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.8;
}

.operation-copy ul {
  margin-top: 1.2rem;
  border-top: 1px solid rgba(23, 63, 82, 0.15);
}

.operation-copy li {
  padding: 0.62rem 0;
  border-bottom: 1px dashed rgba(23, 63, 82, 0.15);
  font-size: 0.75rem;
}

.operation-copy a {
  align-self: flex-start;
  border-bottom: 1px solid currentColor;
  font-size: 0.75rem;
}

.operation-links {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 1.15rem;
}

.operation-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.operation-video-links {
  flex-direction: column;
  gap: 0.35rem;
}

.qr-note {
  align-self: flex-start;
  margin-top: 1.15rem !important;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(23, 63, 82, 0.18);
  border-radius: 999px;
  color: var(--ink) !important;
  background: rgba(255, 255, 255, 0.35);
  font-family: var(--hand-font);
  font-size: 0.74rem !important;
}

.photography-card {
  display: grid;
  min-height: 620px;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  padding: clamp(2rem, 3.5vw, 3.6rem);
  background: linear-gradient(155deg, rgba(244, 237, 223, 0.98), rgba(215, 233, 237, 0.92));
}

.photography-copy {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) 1.15fr;
  align-items: end;
  gap: 0.4rem 2rem;
  margin-bottom: 1.5rem;
}

.photography-copy > p:first-child {
  margin: 0;
  color: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.13em;
}

.photography-copy h3 {
  margin: 0;
  grid-column: 1;
  font-family: var(--hand-font);
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
}

.photography-copy > p:last-child {
  margin: 0 0 0.25rem;
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.8;
}

.photography-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  min-height: 0;
}

.photography-gallery figure {
  margin: 0;
  min-width: 0;
}

.photography-shot {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 7px solid rgba(251, 250, 245, 0.88);
  border-bottom-width: 24px;
  box-shadow: 0 14px 28px rgba(23, 63, 82, 0.16);
  background: #b8d4da;
}

.photography-shot img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 134%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%) rotate(90deg);
}

.photography-gallery figure:nth-child(2n) .photography-shot { transform: translateY(10px) rotate(1.5deg); }
.photography-gallery figure:nth-child(2n + 1) .photography-shot { transform: rotate(-1.2deg); }

.photography-gallery figcaption {
  margin-top: -18px;
  padding: 0 0.6rem;
  font-family: var(--hand-font);
  font-size: 0.7rem;
  text-align: center;
}

.rail-progress {
  height: 2px;
  margin-top: 0.2rem;
  background: rgba(23, 63, 82, 0.14);
}

.rail-progress span {
  display: block;
  width: calc(100% / 7);
  height: 100%;
  background: var(--coral);
  transform-origin: left;
  transition: transform 250ms ease;
}

.planning-section { background-color: #b2d3de; }

.planning-heading h2 {
  font-size: clamp(2.7rem, 5vw, 5.6rem);
}

.planning-case {
  display: grid;
  grid-template-columns: minmax(330px, 0.74fr) minmax(0, 1.26fr);
  overflow: hidden;
  border: 1px solid rgba(23, 63, 82, 0.18);
  border-radius: 8px 34px 9px 31px;
  box-shadow: var(--shadow);
  background: var(--paper);
}

.planning-story {
  padding: clamp(2rem, 4vw, 4.3rem);
}

.planning-story ol {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.planning-story li {
  position: relative;
  display: grid;
  padding: 0.85rem 0 0.85rem 3.1rem;
  border-top: 1px dashed rgba(23, 63, 82, 0.16);
}

.planning-story li > span {
  position: absolute;
  top: 0.95rem;
  left: 0;
  color: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
}

.planning-story li strong { font-family: var(--hand-font); font-size: 1rem; font-weight: 400; }
.planning-story li small { margin-top: 0.22rem; color: var(--ink-soft); font-size: 0.65rem; }

.event-stack {
  display: grid;
  grid-auto-columns: minmax(66%, 470px);
  grid-auto-flow: column;
  gap: 1rem;
  overflow-x: auto;
  padding: 2rem 2rem 2rem 0;
  background: var(--blue-700);
  cursor: ew-resize;
  scroll-snap-type: inline mandatory;
}

.event-stack figure {
  position: relative;
  min-height: 540px;
  margin: 0;
  overflow: hidden;
  border: 10px solid var(--paper);
  border-bottom-width: 44px;
  box-shadow: 0 18px 38px rgba(10, 37, 50, 0.24);
  background: var(--paper);
  scroll-snap-align: center;
}

.event-stack figure:nth-child(2n) { transform: rotate(1.4deg); }
.event-stack figure:nth-child(2n + 1) { transform: rotate(-1.2deg); }

.event-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-stack figcaption {
  position: absolute;
  right: 8px;
  bottom: -33px;
  font-family: var(--hand-font);
  font-size: 0.75rem;
}

.metric-strip {
  display: grid;
  margin-top: 1.35rem;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(23, 63, 82, 0.25);
  border-bottom: 1px solid rgba(23, 63, 82, 0.25);
}

.metric-strip div {
  display: flex;
  padding: 1.5rem 1.2rem;
  align-items: baseline;
  gap: 0.65rem;
  border-right: 1px solid rgba(23, 63, 82, 0.18);
}

.metric-strip div:last-child { border-right: 0; }
.metric-strip strong { color: var(--coral); font-family: var(--hand-font); font-size: 2rem; font-weight: 400; }
.metric-strip span { color: var(--ink-soft); font-size: 0.7rem; }

.data-section { background-color: var(--blue-100); }

.data-feature,
.award-feature {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(23, 63, 82, 0.18);
  border-radius: 9px 30px 8px 28px;
  box-shadow: var(--shadow);
  background: var(--paper);
}

.data-feature {
  grid-template-columns: 1.1fr 0.9fr;
}

.data-visual {
  position: relative;
  display: grid;
  min-height: 430px;
  padding: 2rem;
  place-items: center;
  background: #183e54;
}

.data-visual img {
  width: 90%;
  filter: drop-shadow(0 22px 35px rgba(0, 0, 0, 0.25));
}

.data-visual span {
  position: absolute;
  right: 1.3rem;
  bottom: 1.3rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  color: var(--paper);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
}

.data-visual span:last-child { right: 5.8rem; }

.data-copy,
.award-copy {
  display: flex;
  padding: clamp(2.2rem, 5vw, 5rem);
  flex-direction: column;
  justify-content: center;
}

.data-steps {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.7rem;
  font-family: var(--hand-font);
  font-size: 0.82rem;
}

.data-steps span {
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(23, 63, 82, 0.18);
  border-radius: 999px;
}

.data-steps i { color: var(--coral); font-style: normal; }

.award-feature {
  margin-top: 1.4rem;
  grid-template-columns: 0.9fr 1.1fr;
}

.award-feature figure {
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  background: #dfd4be;
}

.award-feature figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.award-copy li {
  display: grid;
  padding: 0.75rem 0;
  grid-template-columns: 130px 1fr;
  border-top: 1px dashed rgba(23, 63, 82, 0.16);
  font-size: 0.7rem;
}

.award-copy li:first-child { margin-top: 1.4rem; }
.award-copy li strong { color: var(--coral); }
.award-copy li span { color: var(--ink-soft); }

.design-section { background-color: #b9d8e1; }

.heading-action {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 1.2rem;
}

.paper-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 2.2rem;
  padding: 0.7rem 1rem 0.7rem 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 4px 13px 5px 11px;
  background: var(--paper);
  cursor: pointer;
  font-size: 0.78rem;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.paper-button span,
.primary-button span,
.secondary-button span { color: var(--coral); }

.paper-button:hover,
.primary-button:hover,
.secondary-button:hover {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-3px) rotate(-0.5deg);
}

.design-gallery {
  position: relative;
  min-height: 650px;
  perspective: 1800px;
}

.design-gallery figure {
  --rotation: calc((var(--i) - 3.5) * 1.45deg);
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(330px, 29vw);
  height: 535px;
  margin: 0;
  overflow: hidden;
  border: 10px solid var(--paper);
  border-bottom-width: 46px;
  box-shadow: 0 26px 55px rgba(23, 63, 82, 0.2);
  background: var(--paper);
  transform:
    translate(-50%, -50%)
    translate(calc((var(--i) - 3.5) * 20px), calc((var(--i) - 3.5) * 4px))
    rotate(var(--rotation));
  transition:
    top 780ms cubic-bezier(0.2, 0.78, 0.2, 1),
    left 780ms cubic-bezier(0.2, 0.78, 0.2, 1),
    width 780ms cubic-bezier(0.2, 0.78, 0.2, 1),
    height 780ms cubic-bezier(0.2, 0.78, 0.2, 1),
    transform 780ms cubic-bezier(0.2, 0.78, 0.2, 1),
    box-shadow 420ms ease;
  transition-delay: calc(var(--i) * 38ms);
}

.design-gallery figure:hover {
  z-index: 20;
  box-shadow: 0 34px 70px rgba(23, 63, 82, 0.3);
}

.design-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.design-gallery figcaption {
  position: absolute;
  right: 8px;
  bottom: -34px;
  font-family: var(--hand-font);
  font-size: 0.72rem;
}

.design-gallery.is-expanded {
  display: grid;
  min-height: auto;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  perspective: none;
}

.design-gallery.is-expanded figure {
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  height: min(39vw, 470px);
  transform: translate(0, 0) rotate(0);
}

.gallery-hint {
  margin: 1.2rem 0 0;
  color: var(--ink-soft);
  font-family: var(--hand-font);
  font-size: 0.78rem;
  text-align: center;
}

.copy-section { background-color: var(--blue-100); }

.copy-layout {
  display: grid;
  min-height: 720px;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: clamp(65px, 10vw, 145px);
}

.copy-intro > p:not(.section-kicker) {
  max-width: 480px;
  margin: 2rem 0;
  color: var(--ink-soft);
  line-height: 1.9;
}

.copy-metrics {
  display: grid;
  max-width: 520px;
  margin: 2.3rem 0;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(23, 63, 82, 0.2);
  border-bottom: 1px solid rgba(23, 63, 82, 0.2);
}

.copy-metrics div {
  display: flex;
  padding: 1rem 0.8rem;
  flex-direction: column;
  border-right: 1px solid rgba(23, 63, 82, 0.16);
}

.copy-metrics div:last-child { border-right: 0; }
.copy-metrics strong { color: var(--coral); font-family: var(--hand-font); font-size: 1.4rem; font-weight: 400; }
.copy-metrics span { margin-top: 0.2rem; color: var(--ink-soft); font-size: 0.65rem; }

.text-link {
  display: inline-block;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.78rem;
}

.vertical-showcase {
  display: grid;
  height: 690px;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 1rem;
}

.vertical-controls {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 0;
}

.vertical-controls > p {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--hand-font);
  font-size: 0.78rem;
  writing-mode: vertical-rl;
}

.vertical-controls > div { flex-direction: column; }

.copy-rail {
  overflow-y: auto;
  border: 1px solid rgba(23, 63, 82, 0.18);
  border-radius: 8px 28px 10px 26px;
  box-shadow: var(--shadow);
  background: var(--paper);
  scrollbar-width: none;
  scroll-snap-type: block mandatory;
}

.copy-rail article {
  position: relative;
  display: grid;
  min-height: 100%;
  padding: 2rem;
  place-items: center;
  scroll-snap-align: start;
}

.copy-rail article:nth-child(2) { background: #d7e6e0; }
.copy-rail article:nth-child(3) { background: #c7dce3; }

.copy-rail img {
  max-width: 84%;
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 22px 35px rgba(23, 63, 82, 0.2));
}

.copy-rail article > p {
  position: absolute;
  right: 2rem;
  bottom: 1.4rem;
  left: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  font-family: var(--hand-font);
  font-size: 0.8rem;
}

.copy-rail article > p span {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
}

.about-section {
  background-color: #b2d3dd;
}

.about-heading {
  max-width: 900px;
  margin-bottom: 3.5rem;
}

.about-heading > p:last-child {
  margin: 1.4rem 0 0;
  color: var(--ink-soft);
}

.personality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trait-card {
  min-width: 0;
  height: 290px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: 1200px;
}

.trait-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 680ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.trait-card.is-flipped .trait-inner {
  transform: rotateY(180deg);
}

.trait-front,
.trait-back {
  position: absolute;
  display: flex;
  inset: 0;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 1.6rem;
  border: 1px solid rgba(23, 63, 82, 0.2);
  border-radius: 7px 24px 8px 21px;
  box-shadow: 8px 9px 0 rgba(23, 63, 82, 0.06);
  backface-visibility: hidden;
  background: var(--paper);
}

.trait-front::before {
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(23, 63, 82, 0.15);
  border-radius: inherit;
  content: "";
}

.trait-front small {
  position: absolute;
  top: 1.1rem;
  left: 1.2rem;
  color: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
}

.trait-front strong,
.trait-back strong {
  font-family: var(--hand-font);
  font-size: 2rem;
  font-weight: 400;
}

.trait-front em {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.58rem;
  font-style: normal;
  letter-spacing: 0.14em;
}

.trait-back {
  color: var(--paper);
  background: var(--ink);
  transform: rotateY(180deg);
}

.trait-back p {
  margin: 1rem 0 0;
  color: rgba(244, 237, 223, 0.75);
  font-size: 0.75rem;
  line-height: 1.8;
  text-align: center;
}

.experience-block {
  margin-top: 6rem;
}

.experience-block > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.6rem;
}

.experience-block > header p {
  margin: 0;
  color: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.experience-block > header h3 {
  margin: 0;
  font-family: var(--hand-font);
  font-size: 1.8rem;
  font-weight: 400;
}

.experience-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(23, 63, 82, 0.28);
}

.experience-line article {
  position: relative;
  min-height: 310px;
  padding: 2rem 2rem 2rem 0;
  border-right: 1px solid rgba(23, 63, 82, 0.2);
}

.experience-line article + article { padding-left: 2rem; }
.experience-line article:last-child { border-right: 0; }

.experience-line time {
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.58rem;
}

.experience-line article > span {
  position: absolute;
  top: -11px;
  right: 1.4rem;
  display: grid;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.52rem;
  place-items: center;
}

.experience-line h4 {
  min-height: 56px;
  margin: 1.2rem 0 0.8rem;
  font-family: var(--hand-font);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.4;
}

.experience-line p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.8;
}

.experience-line strong {
  display: block;
  margin-top: 1.2rem;
  color: var(--coral);
  font-size: 0.68rem;
}

.contact-panel {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 3rem;
  padding: clamp(2.2rem, 5vw, 5rem);
  border: 1px solid rgba(23, 63, 82, 0.2);
  border-radius: 10px 36px 12px 34px;
  box-shadow: var(--shadow);
  background: var(--paper);
}

.contact-panel > div:first-child p {
  margin: 0 0 1rem;
  color: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
}

.contact-panel h3 {
  margin: 0;
  font-family: var(--hand-font);
  font-size: clamp(2rem, 3.7vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.primary-button,
.secondary-button {
  min-width: 235px;
}

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

.secondary-button:hover {
  color: var(--ink);
  background: var(--blue-200);
}

.clock-return {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  display: flex;
  width: 66px;
  height: 66px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(23, 63, 82, 0.36);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(23, 63, 82, 0.13);
  background: rgba(244, 237, 223, 0.9);
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity 240ms ease, transform 240ms ease;
  backdrop-filter: blur(10px);
}

.clock-return.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.clock-return span { color: var(--coral); font-size: 1.05rem; }
.clock-return small { font-family: var(--hand-font); font-size: 0.6rem; }

footer {
  display: flex;
  padding: 1.3rem 2.5rem;
  justify-content: space-between;
  border-top: 1px solid rgba(23, 63, 82, 0.16);
  color: var(--ink-soft);
  background: var(--blue-200);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

.contact-dialog {
  width: min(540px, calc(100vw - 36px));
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(23, 63, 82, 0.3);
  border-radius: 8px 28px 9px 25px;
  box-shadow: 0 28px 80px rgba(12, 42, 56, 0.3);
  color: var(--ink);
  background: var(--paper);
}

.contact-dialog::backdrop {
  background: rgba(23, 63, 82, 0.45);
  backdrop-filter: blur(10px);
}

.contact-dialog > img {
  width: 108px;
  margin: -1.3rem auto 0.5rem;
}

.contact-dialog > p:first-of-type {
  margin: 0;
  color: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-align: center;
}

.contact-dialog h2 {
  margin: 0.6rem 0;
  font-family: var(--hand-font);
  font-size: 2.7rem;
  font-weight: 400;
  text-align: center;
}

.contact-dialog > p:last-of-type {
  margin: 0 auto 1.6rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.7;
  text-align: center;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 15px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 1.6rem;
}

.contact-list {
  border-top: 1px solid rgba(23, 63, 82, 0.18);
}

.contact-list > div {
  display: grid;
  min-height: 55px;
  align-items: center;
  grid-template-columns: 78px 1fr auto;
  gap: 0.7rem;
  border-bottom: 1px dashed rgba(23, 63, 82, 0.18);
}

.contact-list span {
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.55rem;
}

.contact-list strong { font-size: 0.8rem; font-weight: 500; }

.contact-list button {
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(23, 63, 82, 0.22);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.62rem;
}

.contact-dialog > a {
  display: block;
  margin-top: 1.5rem;
  padding: 0.8rem 1rem;
  border-radius: 5px 12px 6px 10px;
  color: var(--paper);
  background: var(--ink);
  text-align: center;
  font-size: 0.75rem;
}

.toast {
  position: fixed;
  z-index: 300;
  bottom: 24px;
  left: 50%;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 200ms ease, transform 200ms ease;
  font-size: 0.72rem;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms ease, transform 760ms cubic-bezier(0.2, 0.78, 0.2, 1);
}

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

@media (max-width: 1100px) {
  :root { --shell: min(100% - 48px, 980px); }
  .profile-layout { grid-template-columns: 0.9fr 1.1fr; gap: 55px; }
  .photo-stack { height: 560px; }
  .photo-column { min-height: 635px; }
  .identity-grid { grid-template-columns: repeat(2, 1fr); }
  .identity-grid div:nth-child(2) { border-right: 0; }
  .identity-grid div:nth-child(-n + 2) { border-bottom: 1px solid rgba(23, 63, 82, 0.16); }
  .planning-case { grid-template-columns: 0.82fr 1.18fr; }
  .event-stack { grid-auto-columns: 82%; }
  .design-gallery.is-expanded { grid-template-columns: repeat(3, 1fr); }
  .personality-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 720px); }
  .clock-hero { min-height: 760px; padding: 20px 16px; }
  .hero-heading { top: 22px; left: 50%; }
  .hero-heading h1 { font-size: clamp(1.6rem, 6.5vw, 2.2rem); }
  .clock-stage { --dial-size: min(86vw, 610px); margin-top: 90px; }
  .clock-cat { width: clamp(72px, 14vw, 105px); height: clamp(72px, 14vw, 105px); }
  .cat-label { right: -23px; padding: 0.34rem 0.48rem; font-size: 0.72rem; }
  .clock-cat:nth-of-type(2n) .cat-label { left: -23px; }
  .clock-center-copy { width: 138px; height: 138px; }
  .clock-center-copy strong { font-size: 1.15rem; }
  .clock-hint { right: 18px; bottom: 18px; font-size: 0.7rem; }
  .page-section { padding: 85px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 1rem; margin-bottom: 2.2rem; }
  .section-heading > p,
  .heading-action > p { width: auto; }
  .profile-layout,
  .copy-layout { grid-template-columns: 1fr; }
  .profile-layout { gap: 70px; }
  .profile-copy { order: -1; }
  .photo-column { width: min(100%, 500px); margin: 0 auto; }
  .operation-card { min-height: 690px; grid-template-columns: 1fr; grid-template-rows: 370px auto; }
  .photography-card { min-height: auto; grid-template-rows: auto auto; padding: 2rem; }
  .photography-copy { grid-template-columns: 1fr; align-items: start; }
  .photography-copy > p:last-child { margin-top: 0.7rem; grid-column: 1; grid-row: auto; }
  .photography-gallery { grid-template-columns: repeat(2, 1fr); }
  .project-rail { grid-auto-columns: min(610px, 88vw); }
  .planning-case,
  .data-feature,
  .award-feature { grid-template-columns: 1fr; }
  .event-stack { grid-auto-columns: 78%; padding-left: 1rem; }
  .event-stack figure { min-height: 460px; }
  .metric-strip { grid-template-columns: repeat(2, 1fr); }
  .metric-strip div:nth-child(2) { border-right: 0; }
  .metric-strip div:nth-child(-n + 2) { border-bottom: 1px solid rgba(23, 63, 82, 0.18); }
  .award-copy { order: 2; }
  .design-gallery.is-expanded { grid-template-columns: repeat(2, 1fr); }
  .design-gallery.is-expanded figure { height: min(72vw, 520px); }
  .copy-layout { gap: 55px; }
  .vertical-showcase { height: 630px; }
  .experience-line { grid-template-columns: 1fr; }
  .experience-line article { min-height: auto; padding: 2rem 0; border-right: 0; border-bottom: 1px solid rgba(23, 63, 82, 0.17); }
  .experience-line article + article { padding-left: 0; }
  .experience-line article:last-child { border-bottom: 0; }
  .contact-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 26px); }
  .clock-hero { min-height: 720px; }
  .hero-heading { z-index: 30; }
  .hero-heading h1 { font-size: clamp(1.25rem, 6.3vw, 1.65rem); }
  .clock-stage { --dial-size: 74vw; margin-top: 96px; }
  .clock-face { inset: 2%; }
  .clock-cat { width: 68px; height: 68px; }
  .cat-label { right: -20px; bottom: -15px; padding: 0.25rem 0.38rem; font-size: 0.62rem; letter-spacing: 0.02em; }
  .clock-cat:nth-of-type(2n) .cat-label { left: -20px; }
  .cat-label b { display: none; }
  .clock-center-copy { width: 108px; height: 108px; }
  .clock-center-copy small { font-size: 0.45rem; }
  .dial-doodle { width: 48px; height: 39px; border-radius: 10px; }
  .clock-hint { right: auto; bottom: 20px; left: 20px; }
  .section-heading h2,
  .about-heading h2,
  .profile-copy h2,
  .copy-intro h2 { font-size: 2.65rem; }
  .profile-lead { font-size: 0.9rem; }
  .profile-detail-grid { grid-template-columns: 1fr; }
  .photo-column { min-height: 570px; }
  .photo-stack { width: calc(100% - 34px); height: 500px; }
  .photo-intro { left: 0; }
  .project-rail { grid-auto-columns: 88vw; }
  .operation-card { min-height: 640px; grid-template-rows: 310px auto; }
  .photography-card { min-height: auto; grid-template-rows: auto auto; padding: 1.35rem; }
  .photography-gallery { gap: 0.5rem; }
  .operation-copy { padding: 1.7rem; }
  .operation-copy h3,
  .planning-story h3,
  .data-copy h3,
  .award-copy h3 { font-size: 2rem; }
  .planning-story,
  .data-copy,
  .award-copy { padding: 1.7rem; }
  .event-stack { grid-auto-columns: 88%; padding: 1rem; }
  .event-stack figure { min-height: 390px; }
  .metric-strip strong { font-size: 1.5rem; }
  .metric-strip div { align-items: flex-start; flex-direction: column; }
  .data-visual { min-height: 300px; padding: 1.1rem; }
  .data-steps { align-items: flex-start; flex-direction: column; }
  .data-steps i { rotate: 90deg; }
  .award-feature figure { min-height: 320px; }
  .heading-action { align-items: flex-start; }
  .design-gallery { min-height: 510px; }
  .design-gallery figure { width: 64vw; height: 430px; }
  .design-gallery.is-expanded { grid-template-columns: 1fr 1fr; gap: 0.55rem; }
  .design-gallery.is-expanded figure { height: 76vw; border-width: 6px; border-bottom-width: 34px; }
  .design-gallery.is-expanded figcaption { bottom: -25px; }
  .copy-metrics { grid-template-columns: 1fr; }
  .copy-metrics div { border-right: 0; border-bottom: 1px solid rgba(23, 63, 82, 0.16); }
  .copy-metrics div:last-child { border-bottom: 0; }
  .vertical-showcase { height: 570px; grid-template-columns: 54px minmax(0, 1fr); }
  .copy-rail article { padding: 1rem; }
  .copy-rail img { max-width: 96%; max-height: 470px; }
  .copy-rail article > p { right: 1rem; bottom: 1rem; left: 1rem; }
  .personality-grid { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .trait-card { height: 230px; }
  .trait-front,
  .trait-back { padding: 1rem; }
  .trait-front strong,
  .trait-back strong { font-size: 1.45rem; }
  .trait-back p { font-size: 0.65rem; }
  .experience-block > header { align-items: flex-start; flex-direction: column; gap: 0.4rem; }
  .contact-panel { padding: 1.7rem; }
  .contact-actions,
  .primary-button,
  .secondary-button { width: 100%; }
  .clock-return { right: 14px; bottom: 14px; width: 58px; height: 58px; }
  footer { align-items: center; flex-direction: column; gap: 0.3rem; padding: 1rem; }
}

/* 2026 portfolio refresh */
.page-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 920px;
}

.identity-grid {
  grid-template-columns: 0.82fr 1.22fr 1.76fr;
}

.identity-grid dd {
  line-height: 1.65;
}

.language-card li strong {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.35rem;
  text-align: right;
}

.language-card li strong small {
  color: var(--ink-soft);
  font-size: 0.58rem;
  font-weight: 500;
}

.qr-callout {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.1rem;
  padding: 0.55rem 0.65rem 0.55rem 0.9rem;
  border: 1px solid rgba(23, 63, 82, 0.18);
  border-radius: 999px;
  background: rgba(185, 216, 225, 0.36);
  color: var(--ink);
  font-family: var(--hand-font);
  font-size: 0.72rem;
}

.qr-callout img {
  width: 74px;
  height: 74px;
  padding: 4px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}

.data-chart-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.7vw, 1.35rem);
  padding: clamp(2.2rem, 4vw, 4rem);
  background: linear-gradient(145deg, #8fc3d1, #a8d1da 55%, #79adbd);
}

.data-chart-grid::before {
  position: absolute;
  inset: 7% 6%;
  border: 1px solid rgba(244, 237, 223, 0.48);
  border-radius: 18px 34px 20px 30px;
  content: "";
}

.data-chart-grid > img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(23, 63, 82, 0.18));
}

.photography-gallery figure:nth-child(-n + 3) .photography-shot img {
  transform: translate(-50%, -50%) rotate(270deg);
}

.planning-heading > p {
  max-width: 430px;
}

.design-gallery {
  position: static;
  display: grid;
  min-height: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2rem);
  perspective: none;
}

.design-gallery figure,
.design-gallery.is-expanded figure {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  height: clamp(320px, 32vw, 470px);
  margin: 0;
  overflow: visible;
  border: 0;
  box-shadow: none;
  background: transparent;
  transform: none;
  transition: transform 260ms ease, filter 260ms ease;
}

.design-gallery figure:hover {
  z-index: auto;
  box-shadow: none;
  filter: drop-shadow(0 22px 24px rgba(23, 63, 82, 0.18));
  transform: translateY(-7px);
}

.design-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(23, 63, 82, 0.14));
}

.copy-rail article > p {
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(23, 63, 82, 0.12);
  border-radius: 10px;
  background: rgba(251, 250, 245, 0.88);
  backdrop-filter: blur(8px);
}

.copy-rail img {
  max-width: 78%;
  max-height: 600px;
}

.internship-section {
  background: linear-gradient(145deg, #d8e9e8, #c1dde2 58%, #b3d3dd);
}

.internship-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1.48fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 7rem);
}

.internship-heading {
  position: sticky;
  top: 2.5rem;
}

.internship-heading h2 {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 4.6vw, 5.2rem);
  line-height: 1.08;
}

.internship-heading > p:last-child {
  max-width: 360px;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  line-height: 1.9;
}

.internship-browser {
  overflow: hidden;
  border: 1px solid rgba(23, 63, 82, 0.2);
  border-radius: 28px 10px 30px 12px;
  box-shadow: var(--shadow);
  background: rgba(251, 250, 245, 0.9);
}

.internship-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.55rem;
  border-bottom: 1px solid rgba(23, 63, 82, 0.14);
  background: rgba(142, 193, 206, 0.34);
}

.internship-tab {
  display: flex;
  min-width: 0;
  padding: 0.85rem 0.75rem;
  align-items: center;
  flex-direction: column;
  gap: 0.22rem;
  border: 0;
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.internship-tab:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

.internship-tab.is-active {
  color: var(--ink);
  box-shadow: 0 7px 18px rgba(23, 63, 82, 0.11);
  background: var(--paper);
}

.internship-tab span {
  overflow: hidden;
  max-width: 100%;
  font-family: var(--hand-font);
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.internship-tab small {
  font-size: 0.51rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.internship-panels {
  min-height: 690px;
}

.internship-panel {
  padding: clamp(2rem, 4vw, 3.8rem);
}

.internship-panel.is-active {
  animation: internship-in 460ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.internship-panel > header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.55rem 1.2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(23, 63, 82, 0.2);
}

.internship-panel time {
  grid-column: 1 / -1;
  color: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.63rem;
  letter-spacing: 0.08em;
}

.internship-panel h3 {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--hand-font);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.35;
}

.internship-panel > header p {
  justify-self: start;
  margin: 0;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(23, 63, 82, 0.18);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  white-space: nowrap;
}

.internship-details {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.7rem;
}

.internship-details p {
  margin: 0;
  color: #34596b;
  font-size: 0.78rem;
  line-height: 2;
  text-align: justify;
}

@keyframes internship-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.trait-front {
  padding: 0.8rem;
  overflow: hidden;
}

.trait-front img {
  width: 88%;
  height: 82%;
  border-radius: 18px 7px 20px 8px;
  object-fit: contain;
}

.trait-front em {
  position: absolute;
  right: 1rem;
  bottom: 0.75rem;
  z-index: 2;
  padding: 0.3rem 0.48rem;
  border-radius: 999px;
  background: rgba(251, 250, 245, 0.86);
}

.trait-card:nth-child(1) .trait-front { background: #e5eee4; }
.trait-card:nth-child(2) .trait-front { background: #f4e4e8; }
.trait-card:nth-child(3) .trait-front { background: #fff1c9; }
.trait-card:nth-child(4) .trait-front { background: #f5eee3; }

.trait-back p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.95;
}

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

  .identity-grid div,
  .identity-grid div:nth-child(2) {
    padding-left: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 63, 82, 0.16);
  }

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

  .design-gallery,
  .design-gallery.is-expanded {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .design-gallery figure,
  .design-gallery.is-expanded figure {
    height: min(45vw, 430px);
  }

  .internship-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .internship-heading {
    position: static;
  }
}

@media (max-width: 820px) {
  .data-chart-grid {
    min-height: 370px;
  }

  .internship-panels {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .language-card li strong {
    max-width: 58%;
    flex-wrap: wrap;
  }

  .qr-callout img {
    width: 66px;
    height: 66px;
  }

  .data-chart-grid {
    min-height: 310px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    padding: 1.35rem;
  }

  .design-gallery,
  .design-gallery.is-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .design-gallery figure,
  .design-gallery.is-expanded figure {
    height: 68vw;
  }

  .internship-tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
  }

  .internship-tab {
    min-width: 72%;
    scroll-snap-align: center;
  }

  .internship-panel {
    padding: 1.4rem;
  }

  .internship-panel > header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .internship-panel > header p {
    justify-self: start;
  }

  .internship-details p {
    font-size: 0.72rem;
    line-height: 1.9;
    text-align: left;
  }

  .trait-front img {
    width: 94%;
    height: 84%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* 2026-09 global visual refinement */
:root {
  --fresh-font: "STXihei", "华文细黑", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  --hero-font: "Tw Cen MT Condensed Bold", "Agency FB", "Arial Narrow", sans-serif;
  --hand-font: var(--fresh-font);
  --sans: var(--fresh-font);
}

body * {
  font-family: var(--fresh-font) !important;
}

.hero-heading {
  top: 4px;
}

.hero-heading h1 {
  color: #fff;
  font-family: var(--hero-font) !important;
  font-size: clamp(2.9rem, 4.4vw, 5.4rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.095em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 0 rgba(23, 63, 82, 0.12);
  transform: rotate(-0.5deg) scaleX(1);
}

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

.identity-grid div:nth-child(2) {
  border-right: 0;
}

.identity-grid div:nth-child(3) {
  grid-column: 1 / -1;
  padding-left: 0;
  border-top: 1px solid rgba(23, 63, 82, 0.16);
  border-right: 0;
}

.identity-grid dd {
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  white-space: nowrap;
}

.qr-callout img {
  width: 104px;
  height: 104px;
  padding: 5px;
}

.data-chart-slider {
  min-height: 520px;
  background: linear-gradient(145deg, rgba(238, 247, 244, 0.98), rgba(203, 229, 235, 0.98));
}

.data-chart-slider > img {
  width: 84%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(23, 63, 82, 0.13));
}

.photography-gallery {
  align-self: center;
  width: 100%;
  padding-block: 1.5rem;
}

.internship-layout {
  display: block;
}

.internship-heading {
  position: static;
  max-width: none;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.internship-heading h2 {
  margin-top: 1rem;
}

.internship-heading > p:last-child {
  max-width: none;
  margin: 1.1rem auto 0;
}

.internship-browser {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.trait-front img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: scale(1.1);
  transform-origin: center;
  filter: contrast(1.02) saturate(1.02);
}

@media (min-width: 981px) {
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .section-heading > p {
    width: auto;
    max-width: none;
    white-space: nowrap;
  }

  .section-heading h2,
  .about-heading h2,
  .profile-copy h2,
  .copy-intro h2,
  .internship-heading h2 {
    font-size: clamp(2.65rem, 3.55vw, 3.75rem);
    line-height: 1.06;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  .profile-lead,
  .photo-intro p,
  .copy-intro > p:not(.section-kicker),
  .about-heading > p:last-child,
  .internship-heading > p:last-child,
  .contact-panel h3 {
    white-space: nowrap;
  }

  .operation-copy h3 {
    font-size: clamp(1.35rem, 1.6vw, 1.7rem);
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .photography-copy {
    grid-template-columns: minmax(360px, 0.9fr) 1.1fr;
  }

  .photography-copy h3 {
    font-size: clamp(2rem, 2.4vw, 2.5rem);
    white-space: nowrap;
  }

  .contact-panel h3 {
    font-size: clamp(1.9rem, 2.5vw, 2.6rem);
  }
}

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

  .identity-grid div,
  .identity-grid div:nth-child(2),
  .identity-grid div:nth-child(3) {
    grid-column: auto;
    padding-left: 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 63, 82, 0.16);
  }

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

  .identity-grid dd {
    white-space: normal;
  }

  .internship-heading {
    margin-bottom: 1.8rem;
    text-align: left;
  }

  .data-chart-slider {
    min-height: 430px;
  }
}

@media (max-width: 820px) {
  .hero-heading {
    top: 12px;
  }

  .hero-heading h1 {
    font-size: clamp(1.8rem, 8.3vw, 3.2rem);
    letter-spacing: 0.06em;
  }

  .section-heading h2,
  .about-heading h2,
  .profile-copy h2,
  .copy-intro h2,
  .internship-heading h2,
  .operation-copy h3,
  .profile-lead,
  .photo-intro p,
  .copy-intro > p:not(.section-kicker),
  .about-heading > p:last-child,
  .internship-heading > p:last-child,
  .contact-panel h3 {
    white-space: normal;
  }

  .photography-gallery {
    padding-block: 1rem;
  }

  .trait-front img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 560px) {
  .qr-callout img {
    width: 90px;
    height: 90px;
  }

  .data-chart-slider {
    min-height: 330px;
  }

  .data-chart-slider > img {
    width: 90%;
    height: 82%;
  }
}
