:root {
  --paper: #f6f3ed;
  --paper-bright: #fffdf9;
  --ink: #252a44;
  --ink-soft: #5d6175;
  --blue: #5069ac;
  --coral: #d77d85;
  --apricot: #edb88f;
  --line: rgba(37, 42, 68, 0.16);
  --radius: 22px;
  --font-sans: "PingFang SC", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", Arial, sans-serif;
  --font-traditional: "PingFang TC", "Source Han Sans TC", "Noto Sans CJK TC", "Microsoft JhengHei", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select {
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
}

button,
input,
select {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
.hero:focus-visible {
  outline: 2px solid var(--apricot);
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: 78px;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(130px, 0.55fr);
  align-items: center;
  padding: 0 3.2vw;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
}

.brand-mark img {
  width: 33px;
  height: 33px;
  object-fit: cover;
}

.brand-name,
.footer-name {
  font-family: var(--font-traditional);
  font-weight: 200;
  letter-spacing: 0.08em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.35vw, 24px);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.desktop-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-weight: 300;
}

.desktop-nav small {
  font-size: 7px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.66;
}

.desktop-nav a,
.header-cta {
  position: relative;
}

.desktop-nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transition: right 240ms ease;
}

.desktop-nav a:hover::after,
.footer-links a:hover::after {
  right: 0;
}

.header-cta {
  justify-self: end;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: color 220ms ease, background 220ms ease;
}

.header-cta:hover {
  color: var(--ink);
  background: white;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  color: white;
  background: #55576b;
}

.hero-media,
.hero-shade,
.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 900ms ease, transform 7.5s ease;
}

.hero-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(22, 24, 40, 0.55) 0%, rgba(22, 24, 40, 0.08) 52%, rgba(22, 24, 40, 0.22) 100%),
    linear-gradient(0deg, rgba(22, 24, 40, 0.52) 0%, transparent 48%);
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: 6.4vw;
  top: 25vh;
  max-width: 760px;
}

.hero-kicker,
.section-label,
.roof-copy > p,
.card-index {
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.23em;
}

.hero-copy h1 {
  margin: 0;
  max-width: 9em;
  font-family: var(--font-traditional);
  font-size: clamp(3rem, 5.6vw, 6.2rem);
  font-weight: 200;
  line-height: 0.98;
  letter-spacing: 0.08em;
  text-wrap: balance;
}

.hero-line {
  margin: 28px 0 0;
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 200;
  letter-spacing: 0.28em;
}

.hero-footer {
  position: absolute;
  z-index: 2;
  left: 3.2vw;
  right: 3.2vw;
  bottom: 36px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.slide-note span {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 200;
  letter-spacing: 0.08em;
}

.slide-note p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(33, 36, 52, 0.2);
  backdrop-filter: blur(12px);
}

.gallery-controls button {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

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

.gallery-controls span {
  min-width: 54px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.booking-card {
  position: absolute;
  z-index: 3;
  right: 3.2vw;
  top: 118px;
  width: min(360px, calc(100vw - 32px));
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 14px;
  color: var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.93);
  box-shadow: 0 24px 70px rgba(24, 27, 46, 0.18);
  backdrop-filter: blur(14px);
}

.booking-field {
  display: grid;
  gap: 7px;
}

.booking-field:nth-child(3) {
  grid-column: 1 / -1;
}

.booking-field label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}

.booking-field input,
.booking-field select {
  width: 100%;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
}

.booking-card button,
.primary-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-size: 13px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.booking-card button {
  grid-column: 1 / -1;
}

.booking-card button:hover,
.primary-link:hover {
  background: #3e5697;
  transform: translateY(-1px);
}

.booking-card button:active,
.primary-link:active {
  transform: scale(0.98);
}

.section-shell {
  width: min(1380px, calc(100% - 8vw));
  margin: 0 auto;
}

.manifesto {
  padding-top: clamp(110px, 14vw, 210px);
  padding-bottom: clamp(100px, 13vw, 180px);
}

.section-label {
  color: var(--blue);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 8vw;
  align-items: end;
}

.manifesto h2,
.room-copy h2,
.spaces-heading h2,
.roof-copy h2,
.arrival-copy h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 200;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.manifesto h2 {
  max-width: 13em;
  font-size: clamp(2.4rem, 4.7vw, 5rem);
  line-height: 1.08;
}

.manifesto h2 span {
  display: block;
  color: var(--coral);
}

.manifesto-copy {
  padding-bottom: 8px;
}

.manifesto-copy p,
.room-copy > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.manifesto-copy a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.manifesto-copy a span {
  transition: transform 180ms ease;
}

.manifesto-copy a:hover span {
  transform: translate(3px, 3px);
}

.room-story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(50px, 9vw, 140px);
  align-items: center;
  padding-bottom: clamp(120px, 16vw, 230px);
}

.room-image-wrap {
  position: relative;
  min-height: min(76vw, 860px);
  overflow: hidden;
  border-radius: var(--radius);
}

.room-image-wrap img,
.space-card img,
.immersive-roof > img,
.subpage-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-number {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 11px 15px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.92);
  font-size: 11px;
  letter-spacing: 0.12em;
  backdrop-filter: blur(10px);
}

.room-copy {
  padding-right: 4vw;
}

.room-copy h2,
.spaces-heading h2 {
  max-width: 13em;
  font-size: clamp(2.05rem, 3.5vw, 4.1rem);
  line-height: 1.12;
}

.room-copy > p {
  max-width: 33em;
  margin-top: 32px;
}

.room-facts {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.room-facts span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.spaces {
  padding-bottom: clamp(120px, 14vw, 200px);
}

.spaces-heading {
  max-width: 870px;
  margin-bottom: clamp(62px, 8vw, 110px);
}

.space-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.55fr);
  grid-template-rows: minmax(500px, 68vh) minmax(430px, 58vh);
  gap: 24px;
}

.space-card {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border-radius: var(--radius);
}

.space-card-wide {
  grid-row: 1;
}

.space-card-color {
  grid-column: 2;
  grid-row: 1;
  padding: clamp(32px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  background: var(--coral);
}

.space-card-color .card-index {
  color: rgba(37, 42, 68, 0.75);
}

.space-card-color h3 {
  margin: auto 0 0;
  max-width: 9em;
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 2.4vw, 2.85rem);
  font-weight: 200;
  line-height: 1.25;
  text-wrap: balance;
}

.mini-mark {
  position: absolute;
  top: 50%;
  right: 12%;
  width: 96px;
  height: 96px;
  transform: translateY(-50%);
}

.mini-mark span {
  position: absolute;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

.mini-mark span:nth-child(1) {
  top: 0;
  left: 0;
  background: var(--blue);
}

.mini-mark span:nth-child(2) {
  top: 0;
  right: 0;
  background: var(--apricot);
}

.mini-mark span:nth-child(3) {
  bottom: 0;
  right: 0;
  background: #e59aa0;
}

.mini-mark span:nth-child(4) {
  bottom: 0;
  left: 0;
  background: var(--paper-bright);
}

.space-card-roof {
  grid-column: 1 / -1;
  grid-row: 2;
}

.space-card-caption {
  position: absolute;
  inset: auto 20px 20px;
  width: min(380px, calc(100% - 40px));
  padding: 19px 20px;
  border-radius: calc(var(--radius) - 6px);
  color: var(--ink);
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(12px);
}

.space-card-caption span {
  display: block;
  font-family: var(--font-sans);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.space-card-caption p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.immersive-roof {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
}

.roof-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(20, 27, 51, 0.66), rgba(20, 27, 51, 0.03) 67%);
}

.roof-copy {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 8vw));
  margin: 0 auto;
  padding-bottom: clamp(68px, 10vw, 128px);
  text-align: center;
}

.roof-copy h2 {
  font-size: clamp(2.35rem, 5.1vw, 5.2rem);
  line-height: 1.06;
  text-wrap: balance;
}

.roof-copy a {
  display: inline-flex;
  margin-top: 34px;
  padding: 13px 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.12em;
  transition: color 180ms ease, background 180ms ease;
}

.roof-copy a:hover {
  color: var(--ink);
  background: white;
}

.arrival {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(50px, 10vw, 160px);
  padding-top: clamp(110px, 14vw, 210px);
  padding-bottom: clamp(110px, 14vw, 200px);
}

.arrival-mark {
  display: grid;
  place-items: center;
}

.arrival-mark img {
  width: min(100%, 320px);
  height: auto;
  mix-blend-mode: multiply;
}

.arrival-copy h2 {
  font-size: clamp(2.35rem, 4.6vw, 4.8rem);
  line-height: 1.08;
}

.arrival-details {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.primary-link {
  width: 180px;
  margin-top: 34px;
}

.site-footer {
  min-height: 270px;
  padding: 58px 4vw 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 60px;
  color: white;
  background: var(--ink);
}

.footer-name {
  font-size: 22px;
}

.site-footer p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 28px;
  max-width: 760px;
  font-size: 12px;
}

.footer-links a {
  position: relative;
}

.copyright {
  grid-column: 1 / -1;
  align-self: end;
}

.subpage {
  min-height: 100dvh;
  background: var(--paper);
}

.subpage-header {
  height: 82px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.subpage-brand {
  color: var(--ink);
}

.subpage-back {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: color 180ms ease, background 180ms ease;
}

.subpage-back:hover {
  color: white;
  background: var(--blue);
}

.subpage-hero {
  width: min(1380px, calc(100% - 8vw));
  min-height: calc(100dvh - 82px);
  margin: 0 auto;
  padding: 5vw 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(52px, 8vw, 130px);
}

.subpage-visual {
  position: relative;
  min-height: min(70vw, 760px);
  overflow: hidden;
  border-radius: var(--radius);
}

.subpage-visual img {
  object-fit: cover;
}

.subpage-status {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.22em;
}

.subpage-copy h1 {
  margin: 0;
  max-width: 12em;
  font-family: var(--font-sans);
  font-size: clamp(2.35rem, 4.2vw, 4.8rem);
  font-weight: 200;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.subpage-english {
  max-width: 34em;
  margin: 22px 0 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.08em;
}

.subpage-message {
  margin: 60px 0 0;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 200;
  letter-spacing: 0.08em;
}

.subpage-note {
  max-width: 31em;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
}

.subpage-nav {
  padding: 34px 4vw;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  background: var(--paper-bright);
}

.subpage-nav a {
  min-width: 0;
  padding: 8px 20px;
  display: grid;
  gap: 7px;
  border-left: 1px solid var(--line);
  font-size: 12px;
}

.subpage-nav a:first-child {
  border-left: 0;
}

.subpage-nav a.is-current {
  color: var(--blue);
}

.subpage-nav small,
.mobile-menu small {
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

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

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    color: white;
    background: transparent;
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .mobile-menu {
    position: absolute;
    top: 68px;
    left: 3.2vw;
    right: 3.2vw;
    padding: 18px;
    display: grid;
    gap: 2px;
    border-radius: var(--radius);
    color: var(--ink);
    background: rgba(255, 253, 249, 0.97);
    box-shadow: 0 22px 60px rgba(27, 30, 48, 0.22);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .mobile-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu a {
    padding: 13px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-radius: 12px;
    font-size: 13px;
  }

  .mobile-menu a:hover {
    background: rgba(80, 105, 172, 0.08);
  }

  .booking-card {
    width: 320px;
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .manifesto-copy {
    max-width: 560px;
  }

  .room-story {
    gap: 50px;
  }

  .space-grid {
    grid-template-columns: 1fr 0.7fr;
  }

  .subpage-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    gap: 50px;
  }

  .subpage-nav {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 22px;
  }
}

@media (max-width: 760px) {
  :root {
    --radius: 18px;
  }

  .site-header {
    height: 68px;
    padding: 0 18px;
  }

  .brand-name {
    max-width: 17em;
    font-size: 12px;
  }

  .mobile-menu {
    left: 16px;
    right: 16px;
  }

  .hero {
    min-height: 100dvh;
  }

  .hero-image:nth-child(2) {
    object-position: 54% center;
  }

  .hero-copy {
    left: 20px;
    right: 20px;
    top: 20vh;
  }

  .hero-copy h1 {
    max-width: 7em;
    font-size: clamp(2.65rem, 12vw, 3.9rem);
    line-height: 1.04;
  }

  .hero-line {
    margin-top: 18px;
    font-size: 14px;
    letter-spacing: 0.2em;
  }

  .hero-kicker {
    margin-bottom: 16px;
    font-size: 9px;
  }

  .booking-card {
    top: auto;
    right: 16px;
    bottom: 106px;
    width: calc(100% - 32px);
    padding: 17px;
    gap: 14px 12px;
  }

  .booking-field:nth-child(3) {
    grid-column: auto;
  }

  .booking-card button {
    grid-column: 1 / -1;
    min-height: 44px;
  }

  .hero-footer {
    left: 18px;
    right: 18px;
    bottom: 26px;
  }

  .slide-note p {
    display: none;
  }

  .slide-note span {
    margin-bottom: 0;
    font-size: 15px;
  }

  .gallery-controls {
    gap: 8px;
    padding: 5px;
  }

  .gallery-controls button {
    width: 32px;
    height: 32px;
  }

  .gallery-controls span {
    display: none;
  }

  .section-shell {
    width: calc(100% - 32px);
  }

  .manifesto {
    padding-top: 100px;
    padding-bottom: 110px;
  }

  .manifesto h2 {
    font-size: clamp(2.25rem, 10vw, 3.6rem);
  }

  .manifesto-grid {
    gap: 38px;
  }

  .room-story {
    grid-template-columns: 1fr;
    gap: 55px;
    padding-bottom: 120px;
  }

  .room-image-wrap {
    min-height: 128vw;
  }

  .room-copy {
    padding-right: 0;
  }

  .space-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 16px;
  }

  .space-card,
  .space-card-wide,
  .space-card-color,
  .space-card-roof {
    grid-column: auto;
    grid-row: auto;
    min-height: 112vw;
  }

  .space-card-color {
    min-height: 86vw;
  }

  .space-card-roof {
    min-height: 82vw;
  }

  .space-card-caption {
    inset: auto 12px 12px;
    width: calc(100% - 24px);
  }

  .immersive-roof {
    min-height: 88dvh;
  }

  .immersive-roof > img {
    object-position: 48% center;
  }

  .roof-copy {
    width: calc(100% - 32px);
    padding-bottom: 58px;
  }

  .roof-copy h2 {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
  }

  .arrival {
    grid-template-columns: 1fr;
    gap: 55px;
    padding-top: 110px;
    padding-bottom: 110px;
  }

  .arrival-mark img {
    width: 200px;
  }

  .arrival-details {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-footer {
    min-height: 360px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .copyright {
    grid-column: auto;
  }

  .subpage-header {
    height: 68px;
    padding: 0 18px;
  }

  .subpage-header .brand-mark {
    width: 32px;
    height: 32px;
  }

  .subpage-back {
    padding: 9px 12px;
    font-size: 10px;
  }

  .subpage-hero {
    width: calc(100% - 32px);
    min-height: auto;
    padding: 40px 0 90px;
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .subpage-visual {
    min-height: 118vw;
  }

  .subpage-copy h1 {
    font-size: clamp(2.15rem, 9vw, 3.3rem);
  }

  .subpage-message {
    margin-top: 42px;
  }

  .subpage-nav {
    padding: 24px 16px;
    grid-template-columns: 1fr;
  }

  .subpage-nav a,
  .subpage-nav a:first-child {
    padding: 14px 4px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .subpage-nav a:first-child {
    border-top: 0;
  }
}

@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;
  }
}
