:root {
  --ink: #11110f;
  --paper: #ecebe6;
  --paper-warm: #e3dfd5;
  --mission-green: #c4cbb8;
  --hero-paper: #e9ddd5;
  --brand-red: #c8443a;
  --store-red: #c9362f;
  --muted: #77766f;
  --line: rgba(17, 17, 15, 0.2);
  --orange: #ae5b45;
  --acid: #b9c5a8;
  --white: #f8f7f2;
  --page-padding: clamp(18px, 2.4vw, 38px);
  --radius: 2px;
  --display: "Barlow", "Noto Sans SC", sans-serif;
  --body: "Barlow", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  background: var(--paper);
}

body {
  min-width: 320px;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

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

button {
  color: inherit;
  font: inherit;
}

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

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

.page-noise {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.lang-zh .lang-en {
  display: none !important;
}

.lang-en .lang-zh {
  display: none !important;
}

.lang-en .lang-en {
  display: initial !important;
}

/* Shared */
.section-kicker {
  display: flex;
  gap: clamp(22px, 6vw, 110px);
  align-items: center;
  font-size: clamp(14px, 1.05vw, 16.5px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-kicker--light {
  color: #f3eee7;
}

.text-link,
.underlined-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.underlined-link {
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
}

/* Hero */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 70px var(--page-padding) 24px;
  background: var(--hero-paper);
}

.hero-meta,
.hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-footer {
  font-size: 12px;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-status > span:first-child {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(174, 91, 69, 0.12);
}

.hero-heading-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: end;
  gap: clamp(28px, 6vw, 110px);
}

.hero h1 {
  color: var(--brand-black);
  font: 700 clamp(86px, 17.2vw, 285px)/0.69 var(--display);
  letter-spacing: -0.09em;
  text-transform: uppercase;
}

.hero h1 > span {
  display: block;
}

.hero-heading-row {
  margin-left: 8vw;
  white-space: nowrap;
}

.hero-heading-row sup {
  display: inline-block;
  margin-right: 1vw;
  font-size: 0.1em;
  vertical-align: top;
  letter-spacing: 0;
}

.hero-intro {
  max-width: 560px;
  padding-bottom: 0.8vw;
  color: var(--brand-red);
  letter-spacing: -0.025em;
}

.hero-intro-lead {
  max-width: 510px;
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 700;
  line-height: 1.3;
}

.hero-about-copy {
  max-width: 520px;
  margin-top: clamp(18px, 2.2vw, 34px);
  color: #8e4a44;
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.65;
}

.hero-index {
  color: var(--muted);
}

/* Shared chapter transition */
.transition-panel {
  position: relative;
  z-index: 2;
  min-height: clamp(260px, 34svh, 380px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(40px, 4vw, 58px) var(--page-padding) clamp(58px, 6vw, 88px);
  color: var(--ink);
  background: var(--paper-warm);
  border-bottom: 1px solid rgba(17, 17, 15, 0.13);
}

.transition-panel::after {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: -34px;
  left: 0;
  height: 34px;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(227, 223, 213, 0.56), rgba(227, 223, 213, 0));
}

.transition-panel h2 {
  width: 100%;
  color: var(--ink);
  font: 700 clamp(42px, 5.5vw, 88px)/0.92 var(--display);
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.statement {
  color: var(--ink);
  background: var(--paper);
  scroll-margin-top: 55px;
}

.mission-transition {
  min-height: 50svh;
  align-items: center;
  justify-content: center;
  padding: clamp(52px, 6vw, 90px) var(--page-padding);
  background: var(--mission-green);
  text-align: center;
}

.mission-transition h2 {
  font-size: clamp(38px, 4.7vw, 76px);
  line-height: 0.98;
  white-space: normal;
}

.mission-transition-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.mission-transition-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mission-transition-title > span {
  display: block;
}

.mission-transition-title small {
  position: relative;
  z-index: 1;
  margin: -0.08em 0 -0.04em;
  padding: 0.3em 0.9em;
  color: rgba(17, 17, 15, 0.365);
  background: var(--mission-green);
  font: 400 clamp(13px, 1.05vw, 17px)/1.25 var(--body);
  letter-spacing: 0.025em;
}

.mission-transition::after {
  background: linear-gradient(180deg, rgba(196, 203, 184, 0.58), rgba(196, 203, 184, 0));
}

.mission-body {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3.5vw, 54px) var(--page-padding) clamp(60px, 7vw, 105px);
  background: var(--paper);
}

.mission-body-label {
  padding-bottom: 14px;
}

.mission-body-grid {
  position: absolute;
  inset: 0 var(--page-padding);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: clamp(70px, 10vw, 180px);
  padding-top: 0;
}

.mission-title-block h2 {
  font-size: clamp(54px, 6.4vw, 102px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.mission-copy {
  width: 100%;
  max-width: 520px;
  justify-self: end;
  padding-top: clamp(8px, 1.2vw, 20px);
}

.mission-copy-index {
  display: block;
  margin-bottom: clamp(40px, 5vw, 76px);
  color: rgba(17, 17, 15, 0.52);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.mission-copy > p {
  font-size: clamp(17px, 1.45vw, 23px);
  line-height: 1.75;
  letter-spacing: -0.018em;
}

.mission-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 220ms ease;
}

.mission-cta:hover {
  opacity: 0.58;
}

.anchor-placeholder {
  position: relative;
  top: -58px;
  display: block;
  visibility: hidden;
}

.service-index {
  padding: clamp(70px, 8vw, 120px) var(--page-padding) clamp(85px, 10vw, 150px);
  border-top: 1px solid var(--line);
}

.service-index a {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.service-index span {
  color: var(--muted);
  font-size: 11px;
}

.service-index strong {
  font-size: clamp(21px, 2.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.service-index i {
  font-size: 19px;
  font-style: normal;
  transition: transform 220ms ease;
}

.service-index a:hover i {
  transform: translateY(5px);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(100px, 15vw, 220px);
  border-top: 1px solid var(--line);
}

.metrics > div {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 160px;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

.metrics > div:first-child {
  padding-left: 0;
}

.metrics > div:last-child {
  border-right: 0;
}

.metrics strong {
  font: 700 clamp(40px, 5vw, 80px)/1 var(--display);
  letter-spacing: -0.06em;
}

.metrics span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

/* Project scroll story */
.projects {
  color: var(--paper);
  background: var(--ink);
}

.projects,
.about-page,
.online-gallery {
  border-top: 1px solid var(--line);
  scroll-margin-top: 55px;
}

.projects-heading {
  background: var(--paper-warm);
}

.project-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.project-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #272622;
}

.project-backdrop {
  position: absolute;
  z-index: -2;
  inset: -40px;
  background-image: var(--project-image, url("assets/images/project-covers/ip.png"));
  background-position: center;
  background-size: cover;
  filter: blur(18px) saturate(0.55) brightness(0.52);
  transform: scale(1.12);
  transition: background-image 420ms ease;
}

.project-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.2);
}

.project-marquee {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 0;
  display: flex;
  gap: 3vw;
  width: max-content;
  color: var(--white);
  font: 700 clamp(85px, 10vw, 170px)/1 var(--display);
  letter-spacing: -0.07em;
  transform: translateY(-50%);
  animation: project-marquee 14s linear infinite;
  white-space: nowrap;
}

.project-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(65%, 850px);
  aspect-ratio: 1.72;
  overflow: hidden;
  transform: translate(-50%, -50%);
  background: #ddd;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.project-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 260ms ease, transform 600ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.project-frame:hover img {
  transform: scale(1.025);
}

.project-stage.is-changing .project-frame img {
  opacity: 0;
  transform: scale(1.05);
}

.project-stage-meta {
  position: absolute;
  right: 8%;
  bottom: 10%;
  left: 8%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.project-stage-meta span:nth-child(2) {
  text-align: center;
}

.project-stage-meta span:nth-child(3) {
  text-align: right;
}

.project-counter {
  position: absolute;
  top: 28px;
  left: 28px;
  font-size: 11px;
}

.project-steps {
  background: var(--paper);
  color: var(--ink);
}

.project-step {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 11vh clamp(24px, 4vw, 65px);
  border-bottom: 1px solid var(--line);
  opacity: 0.38;
  transition: opacity 300ms ease;
}

.project-step.is-active {
  opacity: 1;
}

.step-number {
  margin-bottom: 20vh;
  font-size: 11px;
}

.project-step h3 {
  max-width: none;
  margin-bottom: 28px;
  font: 700 clamp(42px, 4.2vw, 72px)/0.95 var(--display);
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.project-step h3.project-step-title--ip {
  letter-spacing: 0.02em;
}

.project-step p {
  max-width: 520px;
  color: #4b4a45;
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.6;
}

.step-cta {
  align-self: flex-start;
  margin-top: 40px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
}

.step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 40px;
}

.step-actions .step-cta {
  margin-top: 0;
}

.step-cta--muted {
  color: var(--muted);
}

@keyframes project-marquee {
  to { transform: translate(-50%, -50%); }
}

/* Services */
.services {
  color: var(--ink);
  background: var(--paper);
}

.about-page {
  min-height: 100svh;
  padding: clamp(30px, 3.5vw, 54px) var(--page-padding) clamp(70px, 8vw, 120px);
}

.about-page-kicker {
  padding-bottom: 14px;
}

.about-page-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 2fr);
  align-items: start;
  gap: clamp(44px, 6vw, 96px);
  padding-top: clamp(54px, 6vw, 92px);
}

.about-page-copy h2 {
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.about-page-text {
  margin-top: clamp(42px, 5vw, 72px);
}

.about-page-text p {
  font-size: clamp(14px, 1.12vw, 17px);
  line-height: 1.75;
}

.about-page-text p + p {
  margin-top: clamp(24px, 2.6vw, 38px);
}

.about-page-contact {
  min-width: 0;
  padding-left: clamp(36px, 5vw, 80px);
  border-left: 1px solid var(--line);
  scroll-margin-top: 58px;
}

.about-page-contact > h3 {
  font-size: clamp(32px, 3.2vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.about-contact-list {
  margin-top: clamp(46px, 5.5vw, 82px);
  border-top: 1px solid var(--line);
}

.about-contact-row {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(90px, 0.4fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  min-height: clamp(92px, 8.5vw, 128px);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 220ms ease, background 220ms ease;
}

a.about-contact-row:hover,
.about-contact-row:has(.about-contact-row-link):hover {
  padding-right: 10px;
  padding-left: 10px;
  background: rgba(17, 17, 15, 0.035);
}

.about-contact-row-link {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-contact-row > :not(.about-contact-row-link) {
  position: relative;
  z-index: 1;
}

.about-contact-row > span:first-of-type {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.about-contact-row > span:nth-of-type(2) {
  font-size: clamp(13px, 1.1vw, 17px);
  font-weight: 700;
}

.about-contact-row strong {
  min-width: 0;
  font-size: clamp(14px, 1.25vw, 19px);
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.about-contact-row > i {
  font-size: 24px;
  font-style: normal;
}

.contact-qr-trigger {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.contact-qr-trigger:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.contact-qr {
  display: block;
  width: 58px;
  aspect-ratio: 1;
  object-fit: contain;
  pointer-events: none;
}

.services-content {
  padding: clamp(70px, 8vw, 120px) var(--page-padding) clamp(64px, 6.5vw, 100px);
}

.services-intro {
  display: flex;
  justify-content: flex-end;
  margin-bottom: clamp(46px, 5vw, 76px);
}

.services-intro p {
  max-width: 360px;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.5;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 0.25fr 1fr 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 96px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.service-list article > span {
  font-size: 11px;
}

.service-list h3 {
  font: 700 clamp(19px, 2vw, 30px)/1.12 var(--display);
  letter-spacing: -0.04em;
}

.service-list p {
  max-width: 440px;
  font-size: 12.5px;
  line-height: 1.5;
}

.service-list i {
  font-size: 28px;
  font-style: normal;
  transition: transform 220ms ease;
}

.service-list article:hover i {
  transform: translate(5px, -5px);
}

/* About */
.about-intro {
  padding-bottom: clamp(90px, 11vw, 170px);
}

.about-intro-label,
.about-directions-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: start;
  gap: clamp(60px, 10vw, 170px);
  padding-top: clamp(65px, 8vw, 120px);
}

.about-intro-grid > h2 {
  font-size: clamp(52px, 7vw, 112px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.about-copy {
  width: 100%;
  max-width: 760px;
  justify-self: end;
}

.about-copy p {
  font-size: clamp(17px, 1.45vw, 23px);
  line-height: 1.65;
}

.about-copy p + p {
  margin-top: clamp(30px, 4vw, 60px);
}

.about-directions {
  border-top: 1px solid var(--line);
}

.about-directions-label {
  padding: 18px 0;
  border-bottom: 0;
}

.about-directions-label > span:last-child {
  margin-left: auto;
}

.about-direction {
  display: grid;
  grid-template-columns: 80px minmax(180px, 0.55fr) minmax(280px, 1fr) auto;
  align-items: center;
  gap: 30px;
  min-height: clamp(110px, 9vw, 145px);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.about-direction > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.about-direction h3 {
  font-size: clamp(30px, 4vw, 62px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.055em;
}

.about-direction p {
  max-width: 520px;
  font-size: clamp(13px, 1.1vw, 17px);
  line-height: 1.55;
}

.about-direction i {
  font-size: 29px;
  font-style: normal;
  transition: transform 220ms ease;
}

.about-direction:hover i {
  transform: translate(5px, -5px);
}

.about-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(560px, 1.2fr);
  align-items: start;
  gap: clamp(60px, 9vw, 150px);
  margin-top: clamp(90px, 11vw, 165px);
  padding-top: clamp(50px, 6vw, 85px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 58px;
}

.about-contact-heading .contact-label {
  display: block;
  margin-bottom: clamp(46px, 6vw, 86px);
}

.about-contact-heading h3 {
  font-size: clamp(36px, 4.4vw, 70px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

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

.about-contact-channel {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 185px;
  flex-direction: column;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-contact-channel > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.about-contact-channel strong {
  max-width: calc(100% - 96px);
  margin-top: auto;
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.about-contact-channel:first-child strong {
  max-width: 100%;
}

.about-contact-channel > i {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 18px;
  font-style: normal;
  transition: transform 220ms ease;
}

.about-contact-channel:hover > i {
  transform: translate(4px, -4px);
}

.qr-placeholder {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 76px;
  aspect-ratio: 1;
  place-content: center;
  gap: 3px;
  border: 1px dashed var(--muted);
  background: repeating-linear-gradient(45deg, transparent 0 6px, rgba(17, 17, 15, 0.035) 6px 12px);
  text-align: center;
}

.qr-placeholder b {
  font-size: 12px;
  letter-spacing: 0.12em;
}

.qr-placeholder small {
  color: var(--muted);
  font-size: 9px;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1.55fr 0.45fr;
  min-height: 82svh;
  padding: clamp(40px, 4vw, 58px) var(--page-padding) 30px;
}

.contact-main {
  display: flex;
  flex-direction: column;
}

.contact h2 {
  margin: auto 0 clamp(55px, 8vw, 110px);
}

.contact-email {
  width: max-content;
  max-width: 100%;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-size: clamp(18px, 2.1vw, 34px);
  letter-spacing: -0.03em;
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 35px;
  padding-bottom: 8px;
}

.contact-details div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-details span {
  color: var(--muted);
  font-size: 10px;
}

.contact-details strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding: 30px var(--page-padding);
  border-top: 1px solid var(--line);
  font-size: 10px;
  text-transform: uppercase;
}

.site-footer a:last-child {
  justify-self: end;
  font-size: 16px;
  font-weight: 700;
}

/* Contact merged into services */
.contact-inline {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: clamp(50px, 9vw, 150px);
  margin-top: clamp(90px, 11vw, 170px);
  padding-top: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 58px;
}

.contact-prompt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-label {
  margin-bottom: clamp(45px, 6vw, 90px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-prompt h3 {
  font-size: clamp(34px, 5vw, 82px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.contact-inline .contact-email {
  margin-top: clamp(35px, 5vw, 70px);
}

.contact-inline .contact-details {
  justify-content: flex-end;
}

.contact-inline .contact-details span {
  color: var(--muted);
}

/* Online gallery */
.online-gallery {
  padding: clamp(55px, 6vw, 90px) var(--page-padding) clamp(110px, 14vw, 210px);
  background: var(--paper);
}

.gallery-topline {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.45fr);
  align-items: start;
  gap: 40px;
}

.gallery-topline > p {
  color: var(--muted);
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.55;
}

.online-gallery > h2 {
  max-width: 1300px;
  margin: clamp(75px, 10vw, 155px) 0 clamp(70px, 9vw, 135px);
  font-size: clamp(48px, 8.2vw, 134px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(18px, 2.4vw, 38px);
  align-items: start;
}

.gallery-card {
  grid-column: span 5;
}

.gallery-card--wide {
  grid-column: span 7;
}

.gallery-card--tall {
  padding-top: 10vw;
}

.gallery-card--offset {
  grid-column: 4 / span 7;
  margin-top: 5vw;
}

.gallery-card button {
  width: 100%;
  overflow: hidden;
  border: 0;
  background: #d8d3c9;
  cursor: zoom-in;
}

.gallery-card img {
  width: 100%;
  height: min(58vw, 760px);
  object-fit: contain;
  transition: transform 600ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.gallery-card:hover img {
  transform: scale(1.02);
}

.gallery-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 11px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

/* Modal surfaces */
.store-modal,
.gallery-lightbox {
  border: 0;
}

.store-modal::backdrop,
.gallery-lightbox::backdrop {
  background: rgba(17, 17, 15, 0.48);
  backdrop-filter: blur(5px);
}

.store-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 36px));
  max-height: calc(100dvh - 36px);
  padding: 0 0 42px;
  overflow: hidden;
  border-radius: 22px;
  color: var(--ink);
  background: var(--white);
  text-align: center;
  box-shadow: 0 28px 90px rgba(42, 25, 21, 0.25);
}

.store-logo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--white);
}

.store-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(34px, 7vw, 64px);
}

.store-modal > p {
  margin-top: 34px;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.store-modal > span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.store-modal--qr {
  padding: 0;
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  color: var(--white);
  background: rgba(17, 17, 15, 0.16);
  cursor: pointer;
  font-size: 22px;
}

.modal-close:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.gallery-lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 55px;
  background: rgba(17, 17, 15, 0.94);
}

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

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .projects,
  .about-page,
  .online-gallery,
  .statement {
    scroll-margin-top: var(--site-header-height);
  }

  .hero-heading-wrap,
  .services-intro,
  .contact,
  .contact-inline,
  .about-intro-grid,
  .about-contact,
  .gallery-topline,
  .mission-body-grid {
    grid-template-columns: 1fr;
  }

  .about-copy {
    max-width: 680px;
    justify-self: start;
  }

  .about-direction {
    grid-template-columns: 50px minmax(160px, 0.65fr) minmax(240px, 1fr) auto;
  }

  .about-page-layout {
    grid-template-columns: 1fr;
    gap: 84px;
  }

  .about-page-copy {
    max-width: 700px;
  }

  .about-page-contact {
    padding-top: 70px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .mission-body {
    min-height: 0;
  }

  .mission-body-grid {
    position: static;
    inset: auto;
    flex: 1;
    align-items: start;
    gap: 90px;
    padding-top: 76px;
  }

  .mission-copy {
    max-width: 620px;
    justify-self: start;
    padding-top: 0;
  }

  .hero h1 {
    font-size: clamp(76px, 20vw, 170px);
  }

  .hero-heading-row {
    margin-left: 0;
  }

  .hero-intro {
    margin-left: auto;
  }

  .project-story {
    --mobile-stage-height: min(42svh, 360px);
    display: block;
  }

  .project-stage {
    z-index: 5;
    top: var(--site-header-height);
    height: var(--mobile-stage-height);
    margin-bottom: calc(var(--mobile-stage-height) * -1);
  }

  .project-steps {
    position: relative;
    z-index: 4;
    background: transparent;
  }

  .project-step {
    min-height: max(78svh, calc(var(--mobile-stage-height) + 48svh));
    padding-top: calc(var(--mobile-stage-height) + 8svh);
    background: rgba(236, 235, 230, 0.98);
  }

  .step-number {
    margin-bottom: 10vh;
  }

  .project-frame {
    width: 78%;
  }

  .project-stage-meta {
    right: 5%;
    bottom: 6%;
    left: 5%;
  }

  .service-list article {
    grid-template-columns: 50px 1fr auto;
  }

  .service-list p {
    display: none;
  }

  .contact-details {
    padding-top: 80px;
  }

  .gallery-card,
  .gallery-card--wide {
    grid-column: span 6;
  }

  .gallery-card--offset {
    grid-column: 3 / span 8;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 70px;
  }

  .hero-meta p:first-child,
  .hero-index {
    display: none;
  }

  .hero-meta {
    justify-content: flex-end;
  }

  .hero-heading-wrap {
    gap: 50px;
  }

  .hero h1 {
    font-size: clamp(63px, 22vw, 112px);
    line-height: 0.78;
  }

  .hero-intro {
    width: 100%;
    max-width: none;
    margin-left: 0;
    padding-left: 18%;
    overflow-wrap: anywhere;
  }

  .transition-panel {
    min-height: clamp(340px, 48svh, 440px);
    padding-bottom: 54px;
  }

  .transition-panel h2 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 0.98;
    white-space: normal;
  }

  .mission-transition h2 {
    font-size: clamp(31px, 9vw, 42px);
  }

  .mission-body-grid {
    gap: 68px;
    padding-top: 64px;
  }

  .mission-body {
    padding-top: 24px;
    padding-bottom: 72px;
  }

  .mission-title-block h2 {
    font-size: clamp(42px, 12vw, 58px);
    line-height: 1.02;
  }

  .mission-copy-index {
    margin-bottom: 32px;
  }

  .mission-copy > p {
    font-size: 17px;
    line-height: 1.7;
  }

  .mission-cta {
    width: max-content;
    margin-top: 40px;
  }

  .metrics {
    grid-template-columns: 1fr;
    margin-top: 100px;
  }

  .metrics > div,
  .metrics > div:first-child {
    min-height: 125px;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-stage {
    height: var(--mobile-stage-height);
  }

  .project-frame {
    width: 85%;
    aspect-ratio: 1.35;
  }

  .project-stage-meta {
    grid-template-columns: 1fr auto;
  }

  .project-stage-meta span:nth-child(2) {
    display: none;
  }

  .project-marquee {
    font-size: 25vw;
  }

  .project-step {
    min-height: max(76svh, calc(var(--mobile-stage-height) + 44svh));
    padding: calc(var(--mobile-stage-height) + 7svh) var(--page-padding) 10vh;
  }

  .service-list article {
    min-height: 112px;
    gap: 14px;
  }

  .service-list h3 {
    font-size: 24px;
  }

  .contact {
    min-height: 90svh;
  }

  .contact-email {
    overflow-wrap: anywhere;
  }

  .service-index a {
    min-height: 78px;
  }

  .contact-inline {
    margin-top: 90px;
  }

  .about-intro {
    padding-bottom: 90px;
  }

  .about-intro-grid {
    gap: 54px;
    padding-top: 64px;
  }

  .about-intro-grid > h2 {
    font-size: clamp(48px, 15vw, 76px);
  }

  .about-direction {
    grid-template-columns: 40px 1fr auto;
    gap: 14px;
    min-height: 0;
    padding: 24px 0;
  }

  .about-direction > span {
    grid-column: 1;
    grid-row: 1;
  }

  .about-direction h3 {
    grid-column: 2;
    grid-row: 1;
  }

  .about-direction p {
    grid-column: 2 / -1;
    grid-row: 2;
  }

  .about-direction i {
    grid-column: 3;
    grid-row: 1;
  }

  .about-contact {
    gap: 64px;
    margin-top: 90px;
  }

  .about-contact-heading .contact-label {
    margin-bottom: 42px;
  }

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

  .about-contact-channel {
    min-height: 155px;
  }

  .about-page {
    padding-top: 24px;
    padding-bottom: 80px;
  }

  .about-page-layout {
    gap: 66px;
    padding-top: 54px;
  }

  .about-page-copy h2 {
    font-size: clamp(50px, 15vw, 68px);
  }

  .about-page-text {
    margin-top: 42px;
  }

  .about-page-text p {
    font-size: 15px;
    line-height: 1.7;
  }

  .about-page-contact {
    padding-top: 54px;
  }

  .about-page-contact > h3 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.05;
    white-space: normal;
  }

  .about-contact-list {
    margin-top: 42px;
  }

  .about-contact-row {
    grid-template-columns: 32px 70px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 96px;
  }

  .contact-qr {
    width: 48px;
  }

  .gallery-grid {
    display: block;
  }

  .gallery-card,
  .gallery-card--tall,
  .gallery-card--offset {
    margin: 0 0 58px;
    padding: 0;
  }

  .gallery-card img {
    height: 112vw;
    max-height: 600px;
  }

  .gallery-lightbox {
    padding: 52px 16px 20px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer p {
    display: none;
  }
}

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

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