/* =========================================================
   个人作品集 · 全局基础样式
   页面固定宽 1920px，高度随内容确定；不使用动效。
   ========================================================= */

/* Local project typeface; license: assets/fonts/NotoSansSC-OFL.txt */
@font-face {
  font-family: "Noto Sans SC";
  src: url("assets/fonts/NotoSansSC-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
}

/* Local typeface; license: assets/fonts/NotoSerifSC-OFL.txt */
@font-face {
  font-family: "Noto Serif SC";
  src: url("assets/fonts/NotoSerifSC-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: block;
}

/* 1. Design tokens */
:root {
  color-scheme: light;
  --color-page: #ffffff;
  --color-paper: #e8e5e2;
  --color-text: #171717;
  --color-muted: #666666;
  --color-border: #e5e5e5;
  --font-sans: "Noto Sans SC", sans-serif;
  --type-display: 88px;
  --type-label: 48px;
  --type-heading: 52px;
  --type-body: 36px;
  --type-small: 28px;
  --type-meta: 24px;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;
  --leading-heading: 1.35;
  --leading-body: 1.75;
  --page-width: 1920px;
  --page-inset: 48px;
  --page-labelled-inset: 144px;

  --test: #0e0e0e;
}

/* 2. Reset and document defaults */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--color-page);
  color: var(--color-text);
  font-family: var(--font-sans);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--color-page);
  color: var(--color-text);
  font-size: 16px;
  font-weight: var(--weight-regular);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  height: auto;
}

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

/* 3. Accessible document structure */
.skip-link {
  position: absolute;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  transform: translateY(-150%);
  background: var(--color-text);
  color: var(--color-page);
  text-decoration: none;
}

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

.skip-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* 4. Portfolio page structure */
.portfolio {
  width: 100%;
}

.page {
  border-radius: 0;
  position: relative;
  width: var(--page-width);
  height: auto;
  min-height: 0;
  margin-inline: auto;
}

/* 5. Cover page */
.page--cover {
  aspect-ratio: 969 / 724;
  overflow: hidden;
  border-radius: 0;
  background: var(--color-paper);
  isolation: isolate;
}

.cover-rule {
  position: absolute;
  z-index: -1;
  top: 21.5%;
  right: 0;
  left: 0;
  height: 3.3%;
  background: linear-gradient(
    to bottom,
    rgba(50, 50, 50, 0.13) 0,
    rgba(50, 50, 50, 0.08) 10%,
    rgba(50, 50, 50, 0.025) 48%,
    rgba(50, 50, 50, 0) 100%
  );
  border-top: 1px solid rgba(60, 60, 60, 0.12);
}

.cover-label {
  position: absolute;
  z-index: 2;
  margin: 0;
  color: #292725;
  font-family: var(--font-sans);
  font-size: var(--type-meta);
  font-weight: var(--weight-regular);
  line-height: 1.05;
  letter-spacing: 0.015em;
}

.cover-label--top-left {
  top: 5.9%;
  left: 4.2%;
}

.cover-label--top-right {
  top: 5.2%;
  right: 3.1%;
  text-align: right;
}

.cover-label--side {
  top: 39.5%;
  left: 4.8%;
  font-size: var(--type-meta);
}

.cover-cord {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.cover-cord path {
  fill: none;
  stroke: #514f4c;
  stroke-width: 1.6;
}

.cover-eyelet {
  position: absolute;
  z-index: 3;
  left: 50.15%;
  display: grid;
  width: 6.7%;
  aspect-ratio: 1;
  place-items: center;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #faf9f8;
  box-shadow: 0 3px 5px rgba(32, 31, 30, 0.34);
}

.cover-eyelet--dark {
  top: 10.2%;
}

.cover-eyelet--light {
  top: 23.9%;
}

.cover-eyelet--dark span {
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #171613;
}

.cover-eyelet--light span {
  width: 34%;
  aspect-ratio: 1;
  border: 3px solid #d5d2cf;
  border-radius: 50%;
  background: #ece9e6;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
}

.cover-heading {
  position: absolute;
  z-index: 2;
  top: 39.1%;
  right: 2.8%;
  width: 61%;
  text-align: right;
}

.cover-heading h1 {
  margin: 0;
  color: #111111;
  font-size: var(--type-display);
  font-weight: var(--weight-bold);
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.cover-heading p {
  margin: 8px 0 0;
  color: #2d2b29;
  font-family: var(--font-sans);
  font-size: var(--type-heading);
  font-weight: var(--weight-regular);
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.cover-year {
  position: absolute;
  z-index: 2;
  right: 2.3%;
  bottom: 3.2%;
  left: 2.3%;
  margin: 0;
  color: #d9382b;
  font-family: var(--font-sans);
  font-size: 700px;
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.055em;
  text-align: center;
  white-space: nowrap;
}

/* 6. Profile poster; both character layers share the original canvas. */
.page--profile {
  --profile-cream: #ffffff;
  --profile-red: #ba5c57;
  --profile-character-width: 1448px;
  --profile-character-left: 236px;
  --profile-character-top: 16px;
  --profile-footer-height: 214px;
  height: calc(var(--page-width) * 659 / 1063 - 214px);
  overflow: hidden;
  isolation: isolate;
  background: var(--profile-cream);
  color: var(--profile-red);
}

.page--profile p {
  margin: 0;
}

/* Back to front: solid copy, body, footer, arm, title outline. */
.profile-hero {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.profile-footer {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: var(--profile-footer-height);
  color: var(--profile-cream);
}

.profile-footer::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--profile-red);
  content: "";
}

.profile-footer__content {
  position: relative;
  z-index: 1;
  height: 100%;
}

.profile-footer__content::before {
  position: absolute;
  top: 12px;
  right: 70px;
  left: 70px;
  border-top: 2px solid rgba(251, 245, 239, 0.45);
  content: "";
}

.profile-masthead__edition {
  position: absolute;
  top: 50px;
  left: 92px;
  width: 320px;
  padding-left: 72px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.15;
}

.profile-masthead__arrow {
  position: absolute;
  top: -9px;
  left: 0;
  font-size: 48px;
  font-weight: 400;
}

.profile-masthead__barcode {
  display: block;
  width: 240px;
  height: 28px;
  margin-top: 36px;
  background: repeating-linear-gradient(to right, currentColor 0 3px, transparent 3px 7px, currentColor 7px 12px, transparent 12px 15px);
  opacity: 0.65;
}

.profile-masthead__number,
.profile-masthead__word {
  position: absolute;
  top: 4px;
  font-size: 168px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -10px;
}

.profile-masthead__number {
  left: 450px;
  transform: scaleX(1.25);
  transform-origin: left center;
}

.profile-masthead__statement {
  position: absolute;
  top: 44px;
  left: 832px;
  width: 300px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
}

.profile-masthead__pill {
  display: grid;
  height: 58px;
  margin-bottom: 22px !important;
  place-items: center;
  border: 3px solid rgba(251, 245, 239, 0.65);
  border-radius: 40px;
  font-size: 24px;
  font-weight: 700;
}

.profile-masthead__stamp {
  position: absolute;
  top: 46px;
  left: 1208px;
  width: 108px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.profile-masthead__checker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  height: auto;
  margin-bottom: 30px;
}
.profile-masthead__checker > span { grid-row: 1; aspect-ratio: 1; background: currentColor; }
.profile-masthead__checker > span:nth-child(1) { grid-column: 1; }
.profile-masthead__checker > span:nth-child(2) { grid-column: 3; }
.profile-masthead__checker > span:nth-child(3) { grid-column: 5; }
.profile-masthead__checker > span:nth-child(4) { grid-row: 2; grid-column: 2; }
.profile-masthead__checker > span:nth-child(5) { grid-row: 2; grid-column: 4; }

.profile-masthead__word {
  top: 24px;
  right: 144px;
  font-size: 120px;
  letter-spacing: -6px;
}

.profile-masthead__corner-arrow {
  position: absolute;
  right: 64px;
  bottom: 4px;
  font-size: 46px;
  line-height: 1;
}

.profile-hero__date,
.profile-hero__credit {
  position: absolute;
  top: var(--page-inset);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.profile-hero__date {
  left: 138px;
}

.profile-hero__credit {
  right: 132px;
}

.profile-hero__title {
  position: absolute;
  top: 84px;
  right: 116px;
  left: 116px;
  margin: 0;
  font-size: 360px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -18px;
  text-align: center;
}

.profile-hero__translation,
.profile-hero__pronunciation {
  position: absolute;
  top: 414px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
}

.profile-hero__translation {
  left: 364px;
}

.profile-hero__pronunciation {
  right: 376px;
}

.profile-hero__accent {
  position: absolute;
  z-index: 2;
  width: 88px;
  height: 24px;
  border-top: 6px solid currentColor;
  border-bottom: 6px solid currentColor;
}

.profile-hero__accent--side {
  top: 504px;
  left: 678px;
  width: 58px;
  transform: rotate(-35deg);
}

.profile-character {
  display: contents;
}

.profile-character img {
  position: absolute;
  top: var(--profile-character-top);
  left: var(--profile-character-left);
  width: var(--profile-character-width);
  height: auto;
}

.profile-character__body {
  z-index: 1;
}

.profile-character__arm {
  z-index: 3;
}

/* 7. Contents page */
.page--contents {
  padding: var(--page-inset) 84px var(--page-inset) 70px;
  background: #ffffff;
}

.contents-title {
  margin: 0;
  font-size: var(--type-label);
  font-weight: var(--weight-medium);
  line-height: 1.2;
}

.contents-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 84px;
  margin: 38px 34px 0 48px;
  padding: 0;
  list-style: none;
}

.contents-card {
  position: relative;
  display: flex;
  min-height: 434px;
  padding: 56px 28px 30px;
  flex-direction: column;
  overflow: hidden;
  border-radius: 44px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(14, 14, 14, 0.08),
    0 2px 8px rgba(14, 14, 14, 0.04);
}

.contents-card__background-number {
  position: absolute;
  top: 36px;
  right: 20px;
  color: #e7e7e7;
  font-family: var(--font-sans);
  font-size: 172px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}

.contents-card__heading {
  position: relative;
  margin: 0;
  color: #111111;
  font-weight: 700;
}

.contents-card__number {
  display: block;
  font-family: var(--font-sans);
  font-size: 64px;
  line-height: 1;
}

.contents-card__title {
  display: block;
  margin-top: 12px;
  font-size: var(--type-heading);
  line-height: var(--leading-heading);
  font-weight: var(--weight-bold);
}

.contents-card__image-slot {
  position: relative;
  height: 176px;
  margin-top: auto;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 28px;
  background: #f2f0ee;
}

.contents-card__image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contents-footer {
  margin: var(--page-inset) 0 0;
  font-family: var(--font-sans);
  font-size: var(--type-meta);
  line-height: 1.2;
  text-align: right;
  font-weight: var(--weight-regular);
}

/* 8. First section opener */
.page--section-intro {
  --intro-accent: #cd5051;
  aspect-ratio: 1028 / 580;
  overflow: hidden;
  background-color: #ffffff;
  background-image:
    linear-gradient(to right, rgba(110, 110, 110, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(110, 110, 110, 0.045) 1px, transparent 1px);
  background-size: 52px 48px;
  color: var(--intro-accent);
  isolation: isolate;
}

.section-intro__meta {
  position: absolute;
  top: 6%;
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--type-meta);
  font-weight: var(--weight-bold);
  line-height: 1;
  letter-spacing: -0.025em;
  transform: scaleY(0.7);
  transform-origin: top;
}

.section-intro__meta--left {
  left: 5.2%;
}

.section-intro__meta--right {
  right: 3.7%;
  text-align: right;
}

.section-intro__hero {
  position: absolute;
  z-index: 1;
  top: 32.5%;
  left: 22.8%;
  width: 1320px;
}

.section-intro__part {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2px;
}

.section-intro__title {
  width: max-content;
  margin: 24px 0 0;
  font-family: var(--font-sans);
  font-size: 224px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -8px;
  transform: scaleX(1.15);
  transform-origin: left center;
}

.section-intro__subtitle {
  margin: 20px 0 0 12px;
  font-family: var(--font-sans);
  font-size: 72px;
  font-weight: var(--weight-regular);
  line-height: 1.05;
  white-space: nowrap;
}

.section-intro__orbit {
  position: absolute;
  left: 46%;
  top: 52.8%;
  width: 690px;
  height: 205px;
  border: 3px solid rgba(205, 80, 81, 0.38);
  border-radius: 50%;
  transform: rotate(-23deg);
}

.section-intro__outline {
  position: absolute;
  bottom: 18px;
  left: 24.5%;
  margin: 0;
  color: transparent;
  font-family: var(--font-sans);
  font-size: 128px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
  -webkit-text-stroke: 2px rgba(110, 110, 110, 0.055);
}

.section-intro__dots {
  position: absolute;
  bottom: 82px;
  left: 5.8%;
  display: flex;
  gap: 12px;
}

.section-intro__dots span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--intro-accent);
}

.section-intro__signature {
  position: absolute;
  right: 3.7%;
  bottom: 64px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--type-meta);
  font-weight: var(--weight-bold);
  line-height: 0.85;
  letter-spacing: -1px;
  text-align: right;
  transform: scaleY(0.75);
  transform-origin: bottom right;
}

/* Project divider between the section opener and umbrella cover */
.page--project-divider {
  padding: var(--page-inset) 104px;
  background: #ffffff;
}

.project-divider__panel {
  display: grid;
  min-height: 144px;
  margin: 0;
  padding: 28px 48px;
  place-items: center;
  border-radius: 28px;
  background: #0e0e0e;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: var(--type-heading);
  font-weight: var(--weight-bold);
  line-height: var(--leading-heading);
  box-shadow: 0 14px 28px rgba(14, 14, 14, 0.24);
}

/* 9. Artwork display page */
.page--artwork {
  padding: var(--page-inset) 120px;
  background: #ffffff;
}

.artwork-frame {
  width: 1440px;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 40px;
}

.artwork-frame img {
  width: 100%;
  height: auto;
}

/* 10. Project background page */
.page--project-background {
  padding: var(--page-labelled-inset) 106px var(--page-inset);
  background: #ffffff;
}

.project-overview__block + .project-overview__block,
.modeling-copy__idea + .modeling-copy__idea {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
}

.project-overview__eyebrow {
  margin: 0;
  color: #555555;
  font-family: var(--font-sans);
  font-size: var(--type-small);
  font-weight: var(--weight-regular);
  line-height: 1.3;
}

.project-overview__heading {
  margin: 28px 0;
  color: #202020;
  font-size: var(--type-heading);
  font-weight: var(--weight-bold);
  line-height: var(--leading-heading);
}

.project-overview__heading--primary {
  font-size: var(--type-heading);
}

.project-overview__body {
  margin: 0;
  color: #5c5c5c;
  font-size: var(--type-body);
  font-weight: var(--weight-regular);
  line-height: var(--leading-body);
}

/* 11. Customer pain points */
.page--pain-points {
  display: grid;
  grid-template-columns: 600px minmax(0, 1fr);
  gap: 80px;
  align-items: stretch;
  padding: var(--page-labelled-inset) 108px var(--page-inset);
  background: #ffffff;
}

.pain-points__intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.pain-points__metric {
  margin: 0;
  color: #5070de;
  font-family: var(--font-sans);
  font-size: 192px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -8px;
}

.pain-points__metric span {
  margin-left: 8px;
  font-size: 96px;
  letter-spacing: 0;
}

.pain-points__summary {
  margin: 24px 0 0;
  color: #202020;
  font-size: var(--type-body);
  font-weight: var(--weight-bold);
  line-height: var(--leading-body);
}

.pain-points__description {
  margin: 0;
  padding-left: 32px;
  border-left: 4px solid #5070de;
  color: #5c5c5c;
  font-size: var(--type-small);
  line-height: var(--leading-body);
  font-weight: var(--weight-regular);
}

.pain-points__description strong {
  color: #202020;
  font-weight: 700;
}

.pain-points__bars {
  display: grid;
  align-content: space-between;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pain-points__bar-row {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.pain-points__bar-label {
  color: #202020;
  font-size: var(--type-small);
  line-height: 1.5;
  text-align: right;
  white-space: nowrap;
  font-weight: var(--weight-regular);
}

.pain-points__bar-track {
  min-width: 0;
  padding-right: 104px;
}

.pain-points__bar {
  position: relative;
  width: var(--bar-width);
  height: 40px;
  border-radius: 999px;
  background: var(--bar-color);
}

.pain-points__bar-percentage {
  position: absolute;
  top: 50%;
  left: 100%;
  margin-left: 16px;
  transform: translateY(-50%);
  color: #0e0e0e;
  font-family: var(--font-sans);
  font-size: var(--type-small);
  font-weight: var(--weight-bold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 12. SUNSKIP typeface and colour guide */
.page--type-colour {
  --brand-primary: #354790;
  --brand-secondary: #c3c3c3;
  --brand-contrast: #0e0e0e;
  --brand-accent: #ffa247;
  --brand-background: #faf9f9;
  background: #ffffff;
  color: var(--brand-contrast);
  font-family: var(--font-sans);
  font-synthesis: none;
}

.type-colour__type {
  padding: var(--page-inset) 120px;
  background: #e9edf5;
}

.type-colour__heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  font-weight: 700;
}

.type-colour__heading span:first-child {
  color: var(--brand-primary);
  font-size: 76px;
  line-height: 1.15;
}

.type-colour__heading span:last-child {
  font-size: 112px;
  line-height: 1.1;
}

.type-colour__font-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 80px;
  padding-bottom: 30px;
  border-bottom: 4px solid var(--brand-primary);
  font-size: 64px;
  line-height: 1.3;
}

.type-colour__font-heading p {
  margin: 0;
}

.type-specimens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 48px 152px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.type-specimen {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: baseline;
  font-weight: var(--specimen-weight);
  line-height: 1.5;
}

.type-specimen__weight {
  font-size: 42px;
}

.type-specimen__sample {
  font-size: 48px;
}

.type-colour__colour {
  padding: var(--page-inset) 120px;
}

.brand-palette {
  display: grid;
  grid-template-columns: 42.5% 22.5% 35%;
  min-height: 1000px;
}

.brand-palette__card {
  display: flex;
  padding: 56px;
  flex-direction: column;
  justify-content: space-between;
}

.brand-palette__card--primary {
  padding-inline: 80px;
  background: var(--brand-primary);
  color: var(--brand-background);
}

.brand-palette__card--secondary {
  background: var(--brand-secondary);
}

.brand-palette__role {
  margin: 0;
  font-size: var(--type-small);
  font-weight: var(--weight-medium);
  line-height: 1.3;
  text-align: right;
}

.brand-palette__name {
  margin: 0;
  font-size: var(--type-heading);
  font-weight: var(--weight-bold);
  line-height: 1.3;
}

.brand-palette__hex {
  margin: 12px 0 0;
  font-size: var(--type-small);
  line-height: 1.3;
  font-weight: var(--weight-regular);
}

.brand-palette__card--secondary .brand-palette__name {
  font-size: var(--type-heading);
}

.brand-palette__series {
  display: grid;
  grid-template-rows: 104px 1fr 1fr;
  gap: 28px;
  padding-left: 28px;
}

.brand-palette__series-title {
  margin: 0;
  font-size: var(--type-heading);
  font-weight: var(--weight-bold);
  line-height: 1.3;
}

.brand-palette__card--accent {
  background: var(--brand-accent);
}

.brand-palette__card--background {
  background: var(--brand-background);
}

.brand-palette__series .brand-palette__card {
  padding: 44px;
}

.brand-palette__series .brand-palette__name {
  font-size: var(--type-heading);
}

.brand-palette__series .brand-palette__hex {
  font-size: var(--type-small);
}

.brand-palette__contrast {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 160px;
  padding: 40px 120px;
  background: var(--brand-contrast);
  color: var(--brand-background);
  font-size: var(--type-small);
  font-weight: var(--weight-medium);
  line-height: 1.3;
}

.brand-palette__contrast p {
  margin: 0;
}

/* Master Color uses the same typography layout with its own palette. */
.page--type-colour--master-color {
  --brand-primary: #fed060;
  --brand-secondary: #faeccf;
  --brand-contrast: #0e0e0e;
  --brand-background: #faf9f9;
}

.page--type-colour--master-color .type-colour__type {
  background: var(--brand-secondary);
}

.page--type-colour--master-color .type-colour__heading span:first-child {
  color: var(--brand-contrast);
}

.page--type-colour--master-color .brand-palette__card--primary {
  color: var(--brand-contrast);
}

.page--type-colour--master-color .brand-palette__series {
  grid-template-rows: 104px 1fr;
}

/* 13. Mobile storefront long image */
.page--mobile-showcase {
  padding: var(--page-inset) 0;
  background: #ffffff;
}

.mobile-project-frame {
  width: 816px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 80px;
  background: #707070;
  box-shadow:
    0 24px 56px rgba(14, 14, 14, 0.18),
    0 6px 14px rgba(14, 14, 14, 0.08),
    inset 0 2px 0 rgba(255, 255, 255, 0.45);
}

.mobile-project-frame img {
  width: 100%;
  height: auto;
  border-radius: 72px;
}

.page--mobile-showcase--master-color {
  background: #faeccf;
}

/* 14. SAST product goals */
.page--project-goals {
  display: grid;
  grid-template-columns: 880px minmax(0, 1fr);
  gap: 64px;
  align-items: stretch;
  padding: var(--page-inset);
  background: #ffffff;
}

.project-goals__visual {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.project-goals__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-goals__copy {
  padding: 40px 0;
  color: #0e0e0e;
  font-family: var(--font-sans);
  font-size: var(--type-body);
  font-weight: var(--weight-regular);
  line-height: var(--leading-body);
}

.project-goals__copy p {
  margin: 0;
}

.project-goals__copy .project-goals__lead {
  margin-bottom: 24px;
}

.project-goals__copy strong {
  font-weight: 700;
}

.project-goals__list {
  margin: 28px 0 40px;
  padding-left: 52px;
}

.project-goals__list li + li {
  margin-top: 24px;
}

/* 15. SAST pain point comparison */
.page--pain-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  padding: var(--page-inset) 96px;
  background: #ffffff;
  color: #0e0e0e;
  font-family: var(--font-sans);
}

.comparison-card {
  display: flex;
  padding: 48px;
  flex-direction: column;
  border-radius: 40px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(14, 14, 14, 0.06),
    0 2px 8px rgba(14, 14, 14, 0.03);
  break-inside: avoid;
}

.comparison-card__title {
  margin: 0;
  font-size: var(--type-heading);
  font-weight: var(--weight-bold);
  line-height: 1.25;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.comparison-card__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 12px 36px;
  align-items: center;
}

.comparison-card__metric {
  display: contents;
  font-size: var(--type-small);
  line-height: 1.05;
}

.comparison-card__metric > strong {
  grid-column: 1;
  grid-row: 1 / 3;
  font-size: 112px;
  font-weight: 700;
  letter-spacing: -4px;
}

.comparison-card__metric > span {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

.comparison-card__metric > strong span {
  margin-left: 6px;
  font-size: 64px;
  letter-spacing: 0;
}

.comparison-card__columns {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 24px;
}

.comparison-card__product--ours {
  order: 0;
  width: 100%;
}

.comparison-card__product--other {
  order: 1;
  width: 74%;
}

.comparison-card__bar-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  font-size: var(--type-small);
  line-height: 1.4;
  font-weight: var(--weight-medium);
}

.comparison-card__bar-heading strong {
  font-size: var(--type-small);
  font-weight: var(--weight-bold);
  font-variant-numeric: tabular-nums;
}

.comparison-bar {
  height: 20px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: transparent;
}

.comparison-card__product--ours .comparison-bar {
  height: 44px;
}

.comparison-bar__fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.comparison-bar__fill--other {
  background: #eb8484;
}

.comparison-bar__fill--ours {
  background: #66d199;
}

.comparison-card__description {
  margin: 20px 0 0;
  font-size: var(--type-small);
  line-height: var(--leading-body);
  font-weight: var(--weight-regular);
}

/* 16. SAST typeface and colour guide */
.page--type-colour--sast {
  --brand-primary: #9f5831;
  color: #0e0e0e;
  font-family: var(--font-sans);
}

.page--type-colour--sast .type-colour__type {
  background: #f2eee8;
}

.sast-type-specimens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 100px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.sast-type-specimens li {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: center;
  min-height: 112px;
  font-size: 28px;
  line-height: 1.5;
}

.sast-type-specimens__sample {
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: var(--sample-size);
  font-weight: var(--sample-weight);
}

.sast-english-heading {
  margin-top: 64px;
}

.sast-english-specimen {
  margin: 32px 0 0;
  font-family: "Pristina", "Segoe Script", cursive;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.3;
}

.sast-palette {
  display: grid;
  grid-template-columns: 38% 25% 18% 19%;
  min-height: 1000px;
}

.sast-palette__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  background: var(--swatch);
  color: #0e0e0e;
}

.sast-palette__card--light-text {
  color: #ffffff;
}

.sast-palette__card p,
.sast-palette__card h3 {
  margin: 0;
}

.sast-palette__role {
  font-size: var(--type-small);
  font-weight: var(--weight-medium);
  text-align: right;
  line-height: 1.3;
}

.sast-palette__card h3 {
  font-size: var(--type-heading);
  font-weight: var(--weight-bold);
  line-height: 1.3;
}

.sast-palette__card div > p {
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: var(--type-small);
  line-height: 1.3;
  font-weight: var(--weight-regular);
}

.sast-palette__accents {
  display: grid;
  grid-template-rows: 32fr 27fr 23fr 18fr;
}

.sast-palette__accents .sast-palette__card {
  padding: 24px 32px;
}

.sast-palette__accents h3 {
  font-size: var(--type-heading);
}

.sast-palette__accents .sast-palette__role,
.sast-palette__accents .sast-palette__card div > p {
  font-size: 28px;
}

/* 17. SAST product gallery and detail page */
.page--sast-gallery,
.page--mobile-showcase--sast {
  background: #f2eee8;
}

.project-page-label {
  position: absolute;
  top: var(--page-inset);
  left: 70px;
  color: #0e0e0e;
}

.page--sast-gallery {
  padding: var(--page-labelled-inset) 108px var(--page-inset);
}

.sast-gallery {
  display: grid;
  grid-template-columns: 840px repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 408px);
  gap: 24px;
}

.sast-gallery figure {
  margin: 0;
}

.sast-gallery__main {
  grid-row: 1 / 3;
}

.sast-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page--mobile-showcase--sast {
  padding-top: var(--page-labelled-inset);
}

/* 18. Mooncake gift box typography and palette */
.page--type-colour--mooncake {
  --brand-primary: #eedbb2;
  --brand-secondary: #9f5c2f;
  --brand-contrast: #3d6054;
  --brand-background: #f9f0de;
}

.page--type-colour--mooncake .type-colour__type {
  background: var(--brand-background);
}

.page--type-colour--mooncake .type-colour__heading span:first-child {
  color: var(--brand-contrast);
}

.page--type-colour--mooncake .type-specimens {
  font-family: "Noto Serif SC", serif;
}

.page--type-colour--mooncake .brand-palette__card--primary {
  color: var(--brand-contrast);
}

.page--type-colour--mooncake .brand-palette__card--secondary {
  color: var(--brand-background);
}

.page--type-colour--mooncake .brand-palette__series {
  grid-template-rows: 104px 1fr;
}

.page--mooncake-gallery,
.page--mobile-showcase--mooncake {
  background: #f9f0de;
}

.page--mobile-showcase--mooncake {
  padding-top: var(--page-labelled-inset);
}

/* 19. Travel Fan typography and desktop artwork */
.page--type-colour--travel-fan {
  --brand-primary: #ffffff;
  --brand-secondary: #b8c37e;
  --brand-contrast: #0e0e0e;
  --brand-background: #707070;
}

.page--type-colour--travel-fan .type-colour__type {
  background: #f0f2e7;
}

.page--type-colour--travel-fan .type-colour__heading span:first-child {
  color: #707070;
}

.page--type-colour--travel-fan .type-colour__font-heading {
  border-color: #aab46f;
}

.page--type-colour--travel-fan .brand-palette__card--primary {
  color: #0e0e0e;
}

.page--type-colour--travel-fan .brand-palette__series {
  grid-template-rows: 104px repeat(3, 1fr);
}

.travel-fan-palette__backboard {
  background: #707070;
  color: #ffffff;
}

.travel-fan-palette__positive {
  background: #aab46f;
}

.travel-fan-palette__negative {
  background: #e7635b;
}

.page--travel-fan-gallery,
.page--desktop-showcase--travel-fan {
  background: #ffffff;
}

.page--travel-fan-gallery .sast-gallery {
  grid-template-columns: 870px repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 516px);
}

.page--desktop-showcase--travel-fan {
  padding-top: var(--page-labelled-inset);
}

.desktop-project-frame {
  width: 1680px;
  padding: 16px;
  border-radius: 32px;
  background: #707070;
}

.desktop-project-frame img {
  border-radius: 16px;
}

/* 20. Graphic design artwork grids */
.page--graphic-gallery {
  padding: var(--page-labelled-inset) 108px var(--page-inset);
  background: #ffffff;
}

.retouch-gallery {
  display: grid;
  grid-template-columns: 834px 846px;
  gap: 24px;
  align-items: center;
}

.retouch-gallery__products,
.retouch-gallery__portraits,
.store-ad-gallery {
  display: grid;
  gap: 24px;
}

.retouch-gallery__products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.store-ad-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page--graphic-gallery figure {
  margin: 0;
}

.page--graphic-gallery img {
  width: 100%;
  height: auto;
}

/* 21. Leaflet pairs and trifold mockups */
.leaflet-gallery,
.leaflet-gallery__pair,
.trifold-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.leaflet-gallery {
  gap: 72px;
}

.leaflet-gallery__pair {
  gap: 24px;
}

.leaflet-gallery img {
  box-shadow: 0 12px 28px rgba(14, 14, 14, 0.12),
    0 3px 8px rgba(14, 14, 14, 0.06);
}

.trifold-gallery {
  gap: 32px;
}

/* 22. Roll-up banner mockups */
.rollup-gallery {
  display: grid;
  grid-template-columns: repeat(2, 560px);
  justify-content: center;
  align-items: center;
  gap: 64px;
}

/* 23. Headphone concept and modeling artwork */
.page--modeling-copy {
  padding: var(--page-labelled-inset) 108px var(--page-inset);
  background: #ffffff;
  color: #0e0e0e;
  font-family: var(--font-sans);
}

.modeling-copy {
  font-size: var(--type-body);
  line-height: var(--leading-body);
  font-weight: var(--weight-regular);
}

.modeling-copy p {
  margin: 0;
}

.modeling-copy p + p {
  margin-top: 48px;
}

.modeling-copy strong {
  font-weight: 700;
}

.modeling-copy__idea h3 {
  margin: 0 0 24px;
  font-size: var(--type-heading);
  font-weight: var(--weight-bold);
  line-height: var(--leading-heading);
}

.modeling-copy .modeling-copy__eyebrow {
  margin: 0 0 24px;
  color: #555555;
  font-family: var(--font-sans);
  font-size: var(--type-small);
  font-weight: var(--weight-regular);
  line-height: 1.3;
}

.headphone-process-gallery {
  display: grid;
  gap: 32px;
}

.headphone-render-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

/* 24. Alternating split render showcases */
.page--split-render {
  display: grid;
  grid-template-columns: repeat(2, 800px);
  gap: 104px;
  align-items: center;
  padding: var(--page-inset) 108px;
  background: #ffffff;
  color: #0e0e0e;
  font-family: var(--font-sans);
}

.split-render {
  position: relative;
  width: 100%;
  aspect-ratio: var(--render-ratio);
  margin: 0;
  overflow: hidden;
}

.split-render__half {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.split-render__half--left {
  clip-path: inset(0 50% 0 0);
}

.split-render__half--right {
  clip-path: inset(0 0 0 50%);
}

.split-render-copy {
  text-align: left;
}

.page--split-render--reverse .split-render-copy {
  text-align: right;
}

.split-render-copy h2 {
  margin: 0;
  font-size: var(--type-display);
  font-weight: var(--weight-bold);
  line-height: var(--leading-heading);
}

.split-render-copy p {
  margin: 32px 0 0;
  font-size: var(--type-body);
  line-height: var(--leading-body);
  font-weight: var(--weight-regular);
}

/* 25. Umbrella visual emotion collage */
.page--umbrella-moodboard {
  padding: var(--page-labelled-inset) 96px var(--page-inset);
  background: #ffffff;
  color: #0e0e0e;
}

.umbrella-moodboard__collage {
  position: relative;
  height: 1344px;
  isolation: isolate;
}

.umbrella-moodboard__image {
  position: absolute;
  margin: 0;
  overflow: hidden;
}

.umbrella-moodboard__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.umbrella-moodboard__image--sky {
  top: 0;
  left: 0;
  width: 60%;
  height: 46%;
}

.umbrella-moodboard__image--sky img {
  object-position: center 60%;
}

.umbrella-moodboard__image--umbrella {
  top: 0;
  right: 0;
  width: 40%;
  height: 46%;
}

.umbrella-moodboard__image--umbrella img {
  object-position: center 62%;
}

.umbrella-moodboard__image--vitality {
  z-index: 1;
  top: 38%;
  left: 0;
  width: 43%;
  height: 36%;
}

.umbrella-moodboard__image--vitality img {
  object-position: center 30%;
}

.umbrella-moodboard__image--quiet {
  top: 46%;
  right: 0;
  width: 57%;
  height: 54%;
}

.umbrella-moodboard__image--quiet img {
  object-position: center 20%;
}

.umbrella-moodboard__notes {
  position: absolute;
  top: 74%;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  width: 43%;
  margin: 0;
  padding: 24px;
  list-style: none;
  background: #ffffff;
  font-family: var(--font-sans);
  font-size: var(--type-small);
  line-height: 1.3;
  font-weight: var(--weight-regular);
}

.umbrella-moodboard__notes li {
  display: flex;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid #c3c3c3;
  white-space: nowrap;
}

.umbrella-moodboard__notes img {
  width: 104px;
  height: 42px;
  object-fit: cover;
}

.umbrella-moodboard__notes li:nth-child(2) img {
  object-position: center 30%;
}

.umbrella-moodboard__arrow {
  font-family: var(--font-sans);
  font-size: 36px;
  line-height: 1;
}

/* 26. PDF / print defaults */
@page {
  margin: 0;
}

@media print {
  html,
  body {
    min-width: 0;
    min-height: 0;
    background: #ffffff;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .skip-link {
    display: none;
  }

  .page {
    border-radius: 0;
    width: var(--page-width);
    margin: 0;
    break-after: page;
  }

  .page:last-child {
    break-after: auto;
  }

  img,
  figure {
    break-inside: avoid;
  }
}





