:root {
  --paper: #f7f8fa;
  --white: #ffffff;
  --ink: #222733;
  --muted: #737b8c;
  --line: #dfe3ea;
  --blue: #258be2;
  --blue-soft: #d8efff;
  --pink: #e79bcf;
  --display: "Bahnschrift", "DIN Alternate", "Microsoft YaHei", sans-serif;
  --body: "Aptos", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  scroll-snap-type: y proximity;
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--blue);
  transform: translateY(-200%);
}

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

.blueprint {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(41, 55, 82, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 55, 82, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: grid;
  height: 76px;
  padding: 0 clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 50% 50% 46% 54%;
  color: var(--blue);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  transform: rotate(-5deg);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.brand:hover .brand-mark {
  color: var(--white);
  background: var(--blue);
  transform: rotate(8deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  font-family: var(--display);
}

.brand-copy strong {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}

.brand-copy small {
  margin-top: 0.16rem;
  color: var(--muted);
  font-size: 0.42rem;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  gap: clamp(1.5rem, 3.6vw, 4rem);
  font-size: 0.8rem;
}

.nav-links a {
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transition: transform 220ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.language {
  display: flex;
  justify-self: end;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 0.6rem;
}

.language strong {
  color: var(--blue);
}

.language span {
  color: #b8bdc7;
}

.side-rail {
  position: fixed;
  top: 76px;
  bottom: 0;
  left: 0;
  z-index: 15;
  display: flex;
  width: 78px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  pointer-events: none;
}

.side-bar {
  width: 10px;
  height: 150px;
  background: var(--blue);
  box-shadow: 18px 0 0 rgba(37, 139, 226, 0.08);
}

.side-rail p {
  margin: 0;
  font-family: var(--display);
  font-size: 0.55rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-orientation: mixed;
  writing-mode: vertical-rl;
}

.hero,
.works,
.about,
.contact {
  scroll-margin-top: 76px;
  scroll-snap-align: start;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: clamp(7rem, 12vh, 9rem) clamp(2rem, 6vw, 7rem) clamp(3rem, 6vh, 5rem);
  align-items: center;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.8fr);
  gap: clamp(3rem, 7vw, 8rem);
  overflow: hidden;
}

.hero::before,
.works::before,
.about::before {
  position: absolute;
  top: 9rem;
  right: 2.2rem;
  color: rgba(34, 39, 51, 0.035);
  content: attr(data-label);
  font-family: var(--display);
  font-size: clamp(5rem, 10vw, 11rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  writing-mode: vertical-rl;
  pointer-events: none;
}

.hero-visual {
  position: relative;
  min-height: min(69vw, 670px);
}

.hero-picture {
  position: absolute;
  top: 0;
  right: 8%;
  bottom: 12%;
  left: -8vw;
  overflow: hidden;
  background: #cce5ff;
  clip-path: polygon(0 0, 100% 0, 94% 75%, 75% 75%, 75% 100%, 0 100%);
  box-shadow: 0 26px 70px rgba(42, 67, 107, 0.18);
}

.hero-picture::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(25, 44, 92, 0.08), transparent 60%);
  content: "";
}

.hero-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-visual:hover .hero-picture img {
  transform: scale(1.025);
}

.portrait-card {
  position: absolute;
  right: 0;
  bottom: 2%;
  z-index: 3;
  width: min(33%, 255px);
  padding: 0.65rem;
  border: 1px solid rgba(37, 139, 226, 0.4);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 45px rgba(39, 66, 112, 0.16);
}

.portrait-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.portrait-card span {
  display: block;
  padding: 0.65rem 0 0.1rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.48rem;
  letter-spacing: 0.14em;
}

.visual-square {
  position: absolute;
  bottom: 0;
  left: 29%;
  z-index: 4;
  width: 58px;
  height: 58px;
  border: 2px solid var(--blue);
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(36%);
}

.visual-caption {
  position: absolute;
  bottom: 2.5%;
  left: 3%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.48rem;
  letter-spacing: 0.14em;
}

.visual-caption b {
  width: 70px;
  height: 1px;
  background: var(--blue);
}

.hero-info {
  position: relative;
  z-index: 5;
  padding-right: clamp(0rem, 3vw, 3rem);
}

.section-code {
  margin: 0 0 1.1rem;
  color: var(--blue);
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.16em;
}

.hero-info h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.2rem, 7vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.78;
}

.hero-info h1 span,
.hero-info h1 small {
  display: block;
}

.hero-info h1 small {
  margin-top: 1.1rem;
  color: var(--pink);
  font-size: 0.28em;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-line {
  display: flex;
  height: 42px;
  margin: 1.6rem 0 1.2rem;
  align-items: end;
  justify-content: end;
}

.hero-line::before {
  width: 74%;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: rotate(-14deg);
  transform-origin: right;
}

.hero-line span {
  width: 13px;
  height: 13px;
  margin-left: -3px;
  background: var(--blue);
}

.hero-lead {
  margin: 0;
  font-size: clamp(1.1rem, 1.65vw, 1.5rem);
  font-weight: 650;
  line-height: 1.6;
}

.hero-description {
  max-width: 470px;
  margin: 1.1rem 0 1.8rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.primary-link {
  display: inline-flex;
  min-width: 180px;
  height: 48px;
  padding-left: 1.2rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--ink);
  font-size: 0.78rem;
  font-weight: 650;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease;
}

.primary-link i {
  display: grid;
  width: 48px;
  height: 100%;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  font-size: 1rem;
  font-style: normal;
}

.primary-link:hover {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
}

.primary-link:hover i {
  background: #176eb8;
}

.hero-meta {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  color: #a3a9b5;
  font-family: var(--display);
  font-size: 0.48rem;
  letter-spacing: 0.12em;
}

.scroll-mark {
  position: absolute;
  right: 3.5rem;
  bottom: 2rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.48rem;
  letter-spacing: 0.14em;
}

.scroll-mark b {
  width: 2px;
  height: 55px;
  background: var(--ink);
  animation: scroll-line 2s ease-in-out infinite;
}

.works {
  position: relative;
  min-height: 100svh;
  padding: clamp(7rem, 11vh, 9rem) clamp(2rem, 7vw, 8rem) clamp(3rem, 7vh, 6rem);
  overflow: hidden;
}

.section-top {
  display: flex;
  max-width: 1320px;
  margin: 0 auto 2.5rem;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.section-top h2,
.about-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.4vw, 5rem);
  letter-spacing: -0.06em;
}

.section-top > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.project-stage {
  display: grid;
  max-width: 1320px;
  min-height: min(61vh, 610px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.75fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  transition: opacity 180ms ease, transform 180ms ease;
}

.project-stage.is-switching {
  opacity: 0;
  transform: translateY(10px);
}

.project-art {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    var(--project-color);
  background-size: 30px 30px, 30px 30px, auto;
}

.project-art::before {
  position: absolute;
  top: 11%;
  right: 10%;
  width: 54%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: var(--project-radius);
  box-shadow: 0 0 0 42px rgba(255, 255, 255, 0.055), 0 0 0 84px rgba(255, 255, 255, 0.035);
  content: "";
  transform: rotate(var(--project-rotate));
  transition: transform 600ms ease;
}

.project-stage:hover .project-art::before {
  transform: rotate(calc(var(--project-rotate) + 14deg)) scale(1.03);
}

.art-number {
  position: absolute;
  bottom: -0.09em;
  left: -0.03em;
  color: rgba(255, 255, 255, 0.16);
  font-family: var(--display);
  font-size: clamp(10rem, 25vw, 24rem);
  font-weight: 700;
  letter-spacing: -0.12em;
  line-height: 0.7;
}

.art-window {
  position: absolute;
  top: 17%;
  right: 14%;
  z-index: 2;
  width: 42%;
  min-width: 210px;
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: var(--white);
  background: rgba(11, 25, 61, 0.2);
  backdrop-filter: blur(8px);
}

.art-window span {
  display: block;
  font-family: var(--display);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
}

.art-window strong {
  display: block;
  margin-top: 2.5rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 4rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.art-cross {
  position: absolute;
  top: 9%;
  left: 9%;
  width: 34px;
  height: 34px;
}

.art-cross::before,
.art-cross::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--white);
  content: "";
}

.art-cross::after {
  transform: rotate(90deg);
}

.art-label {
  position: absolute;
  right: 3%;
  bottom: 5%;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--display);
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.project-info {
  position: relative;
  display: flex;
  padding: clamp(2rem, 4vw, 4.5rem);
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
}

.project-info::before {
  position: absolute;
  top: 9%;
  right: 8%;
  width: 12px;
  height: 12px;
  background: var(--blue);
  content: "";
}

.project-info h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.5vw, 5.2rem);
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.project-info .english-title {
  display: block;
  margin: 0.7rem 0 1.8rem;
  color: var(--pink);
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.project-divider {
  position: relative;
  width: 100%;
  height: 35px;
  margin-bottom: 1.2rem;
}

.project-divider::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: rotate(-7deg);
}

.project-info > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.project-tags {
  display: flex;
  margin: 1.6rem 0;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tags span,
.dialog-tags span {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--display);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.project-detail-button {
  display: inline-flex;
  width: max-content;
  padding: 0.75rem 1rem;
  align-items: center;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 650;
  transition: color 200ms ease, background 200ms ease;
}

.project-detail-button:hover {
  color: var(--white);
  background: var(--ink);
}

.project-toolbar {
  display: flex;
  max-width: 1320px;
  margin: 1.6rem auto 0;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.project-nav {
  display: flex;
  flex: 1;
  gap: 0.6rem;
}

.project-nav button {
  position: relative;
  width: min(92px, 16vw);
  height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
}

.project-nav button::before {
  position: absolute;
  inset: 0;
  background: var(--nav-color);
  content: "";
  opacity: 0;
  transition: opacity 200ms ease;
}

.project-nav button span {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.project-nav button:hover::before,
.project-nav button.is-active::before {
  opacity: 1;
}

.project-nav button:hover span,
.project-nav button.is-active span {
  color: var(--white);
}

.project-controls {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.project-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease;
}

.project-controls button:hover {
  color: var(--white);
  background: var(--ink);
}

.project-controls p {
  margin: 0;
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.project-controls p span:first-child {
  color: var(--blue);
  font-size: 1.1rem;
}

.about {
  position: relative;
  min-height: 100svh;
  padding: clamp(7rem, 11vh, 9rem) clamp(2rem, 8vw, 10rem) clamp(4rem, 8vh, 7rem);
  overflow: hidden;
}

.about-heading,
.vision,
.about-body {
  max-width: 1160px;
  margin-inline: auto;
}

.about-heading {
  margin-bottom: 2.8rem;
}

.vision {
  padding: 2rem clamp(1rem, 5vw, 5rem);
  border-left: 5px solid var(--blue);
}

.vision > p {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
}

.vision blockquote {
  margin: 0;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  background-clip: text;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 4.7rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.35;
}

.about-body {
  display: grid;
  margin-top: 3.2rem;
  align-items: center;
  grid-template-columns: minmax(260px, 0.72fr) 1.28fr;
  gap: clamp(3rem, 7vw, 7rem);
}

.about-photo {
  position: relative;
  padding: 0.8rem;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 16px 16px 0 var(--blue-soft);
}

.about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.about-photo span {
  position: absolute;
  right: -2rem;
  bottom: 1.2rem;
  padding: 0.45rem 0.7rem;
  color: var(--white);
  background: var(--blue);
  font-family: var(--display);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
}

.about-copy h3 {
  margin: 0 0 1.6rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.7vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.about-copy p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.85;
}

.value-list {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.value-list span {
  padding: 0.7rem 0.9rem;
  border-left: 3px solid var(--blue);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(52, 71, 105, 0.07);
  font-family: var(--display);
  font-size: 0.62rem;
}

.contact {
  min-height: 72vh;
  padding: clamp(7rem, 12vh, 10rem) clamp(2rem, 10vw, 12rem);
}

.contact-main {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.contact-main h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.5rem, 8vw, 9rem);
  letter-spacing: -0.075em;
  line-height: 0.95;
}

.contact-main h2 span {
  color: var(--blue);
}

.contact-button {
  display: flex;
  width: 190px;
  height: 58px;
  padding-left: 1.2rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--ink);
  font-size: 0.78rem;
  font-weight: 650;
}

.contact-button i {
  display: grid;
  width: 58px;
  height: 100%;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  font-style: normal;
}

.contact-button:hover {
  color: var(--white);
  background: var(--ink);
}

.site-footer {
  display: flex;
  min-height: 94px;
  padding: 1.5rem clamp(1.5rem, 6vw, 7rem);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
  font-family: var(--display);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

.site-footer a {
  color: var(--blue);
}

.project-dialog {
  width: min(90vw, 660px);
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  color: var(--ink);
  background:
    linear-gradient(rgba(41, 55, 82, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 55, 82, 0.03) 1px, transparent 1px),
    var(--white);
  background-size: 24px 24px;
  box-shadow: 18px 18px 0 var(--blue);
}

.project-dialog::backdrop {
  background: rgba(26, 32, 47, 0.58);
  backdrop-filter: blur(6px);
}

.project-dialog[open] {
  animation: dialog-in 220ms ease-out;
}

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  background: var(--white);
  cursor: pointer;
  font-size: 1.4rem;
}

.dialog-close:hover {
  color: var(--white);
  background: var(--ink);
}

.project-dialog h2 {
  margin: 1rem 0 1.4rem;
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.project-dialog > p:not(.section-code) {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.dialog-tags {
  display: flex;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.dialog-link {
  display: inline-flex;
  margin-top: 2rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--ink);
  font-size: 0.72rem;
  font-weight: 650;
}

.dialog-link:hover {
  color: var(--white);
  background: var(--ink);
}

.dialog-link.is-disabled {
  opacity: 0.42;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@keyframes scroll-line {
  50% { transform: scaleY(0.45); transform-origin: bottom; }
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
}

@media (max-width: 1000px) {
  .side-rail {
    display: none;
  }

  .hero {
    padding-inline: 2rem;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 2.5rem;
  }

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

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

@media (max-width: 760px) {
  html {
    scroll-snap-type: none;
  }

  .site-header {
    height: 68px;
    padding: 0 1rem;
    grid-template-columns: 1fr auto;
  }

  .brand-copy small,
  .language {
    display: none;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a:not(:nth-child(2)) {
    display: none;
  }

  .hero,
  .works,
  .about,
  .contact {
    scroll-margin-top: 68px;
  }

  .hero {
    min-height: auto;
    padding: 6.4rem 1rem 3.5rem;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    min-height: 52vh;
  }

  .hero-picture {
    right: 4%;
    bottom: 10%;
    left: -1rem;
    clip-path: polygon(0 0, 100% 0, 94% 77%, 70% 77%, 70% 100%, 0 100%);
  }

  .hero-picture img {
    object-position: 55% center;
  }

  .portrait-card {
    right: 0;
    width: 31%;
    min-width: 112px;
  }

  .visual-square {
    left: 24%;
    width: 42px;
    height: 42px;
  }

  .visual-caption {
    display: none;
  }

  .hero-info {
    padding-right: 0;
  }

  .hero-info h1 {
    font-size: clamp(4.3rem, 23vw, 7rem);
  }

  .hero-line {
    width: 75%;
    margin-left: auto;
  }

  .scroll-mark {
    display: none;
  }

  .works {
    padding: 6rem 1rem 4rem;
  }

  .section-top {
    align-items: start;
    flex-direction: column;
  }

  .project-stage {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .project-art {
    min-height: 47vh;
  }

  .art-window {
    width: 48%;
    min-width: 175px;
  }

  .project-info {
    min-height: 390px;
  }

  .project-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .project-nav {
    width: 100%;
  }

  .project-nav button {
    width: 25%;
  }

  .project-controls {
    align-self: flex-end;
  }

  .about {
    padding: 6rem 1rem 4rem;
  }

  .vision {
    padding: 1.5rem 1rem;
  }

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

  .about-photo {
    width: min(88%, 430px);
    margin: 0 auto;
  }

  .contact {
    min-height: 70vh;
    padding: 6rem 1rem;
  }

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

  .contact-main h2 {
    font-size: clamp(3.5rem, 18vw, 6rem);
  }

  .site-footer {
    padding: 2rem 1rem;
    align-items: start;
    flex-direction: column;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::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;
  }
}
