:root {
  color: #111111;
  background: #ffffff;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --black: #111111;
  --gray-900: #2a2a2a;
  --gray-700: #555555;
  --gray-500: #858585;
  --gray-300: #c9c9c9;
  --gray-200: #dddddd;
  --gray-100: #f2f2f2;
  --white: #ffffff;
  --page-width: 1180px;
}

/* Homepage concept previews: ?layout=a (libr-led) / ?layout=b (editorial-led). */
.home-page .editorial-hero {
  min-height: 760px;
  display: block;
  position: relative;
  padding-block: 46px 92px;
}

.home-page .editorial-hero-media {
  width: min(1120px, 88%);
  height: 650px;
  aspect-ratio: auto;
  position: relative;
  margin-left: auto;
  overflow: hidden;
  background: #b8aa9b;
}

.home-page .hero-look {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(43, 33, 29, 0.28);
  color: #302823;
  background: #d4c8b9;
}

.home-page .hero-look::before,
.home-page .scene-look-placeholder::before {
  content: "";
  width: 23%;
  aspect-ratio: 1;
  position: absolute;
  top: 17%;
  left: 50%;
  border: 1px solid rgba(43, 33, 29, 0.42);
  border-radius: 50%;
  transform: translateX(-50%);
}

.home-page .hero-look::after,
.home-page .scene-look-placeholder::after {
  content: "";
  width: 52%;
  height: 48%;
  position: absolute;
  bottom: 14%;
  left: 50%;
  border: 1px solid rgba(43, 33, 29, 0.42);
  border-radius: 48% 48% 8% 8%;
  transform: translateX(-50%);
}

.home-page .hero-look span,
.home-page .hero-look small,
.home-page .scene-look-placeholder span,
.home-page .scene-look-placeholder small {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 16px;
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.home-page .hero-look small,
.home-page .scene-look-placeholder small {
  left: auto;
  right: 18px;
  opacity: 0.7;
}

.home-page .hero-look--main {
  inset: 0;
  background: #b8aa9b;
}

.home-page .hero-look--main::before {
  width: 12%;
  top: 11%;
}

.home-page .hero-look--main::after {
  width: 29%;
  height: 60%;
  bottom: 8%;
}

.home-page .hero-look--back {
  width: 24%;
  height: 62%;
  z-index: 2;
  left: 4.5%;
  bottom: 0;
  background: #cfc3b5;
}

.home-page .hero-look--detail {
  width: 25%;
  height: 52%;
  z-index: 2;
  right: 4.5%;
  top: 8%;
  background: #ded5c9;
}

.home-page .editorial-hero-copy {
  width: 650px;
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: 42px;
  margin: 0;
  padding: 30px 44px 18px 0;
  background: var(--editorial-cream);
}

.home-page .editorial-hero-copy h1 {
  max-width: none;
  margin-bottom: 20px;
  font-size: clamp(4.7rem, 6.6vw, 6.35rem);
  line-height: 0.98;
}

.home-page .editorial-hero-copy p {
  max-width: 500px;
  margin-bottom: 18px;
  line-height: 1.75;
}

.home-page[data-home-layout="b"] .editorial-hero {
  min-height: 790px;
  padding-top: 40px;
}

.home-page[data-home-layout="b"] .editorial-hero-media {
  width: 94%;
  height: 620px;
  margin: 0;
}

.home-page[data-home-layout="b"] .hero-look--back {
  width: 22%;
  height: 70%;
  left: 8%;
}

.home-page[data-home-layout="b"] .hero-look--detail {
  width: 21%;
  height: 60%;
  right: 7%;
  top: 0;
}

.home-page[data-home-layout="b"] .editorial-hero-copy {
  width: min(940px, 74%);
  left: auto;
  right: 0;
  bottom: 24px;
  padding: 30px 0 8px 42px;
}

.home-page[data-home-layout="b"] .editorial-hero-copy h1 {
  font-size: clamp(4.2rem, 5.8vw, 5.65rem);
}

.home-page .scene-editorial {
  padding-block: 112px 120px;
}

.home-page .scene-editorial .editorial-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.home-page .scene-editorial .editorial-section-heading h2 {
  max-width: 760px;
  font-size: clamp(3.7rem, 5.2vw, 5rem);
  line-height: 1.02;
}

.home-page .scene-editorial .editorial-section-heading p {
  max-width: 360px;
  margin: 0 0 10px;
  text-align: right;
}

.home-page .scene-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(330px, 0.72fr);
  align-items: start;
  gap: 52px;
}

.home-page .scene-feature-link {
  display: block;
}

.home-page .scene-feature-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: #b8aa9b;
}

.home-page .scene-look-placeholder {
  position: absolute;
  inset: 0;
  color: #302823;
}

.home-page .scene-look-placeholder::before {
  width: 11%;
  top: 12%;
}

.home-page .scene-look-placeholder::after {
  width: 27%;
  height: 61%;
  bottom: 7%;
}

.home-page .scene-feature-copy {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  grid-template-rows: auto auto;
  column-gap: 34px;
  margin: 0;
  padding: 22px 0 0;
  border-bottom: 1px solid var(--editorial-line);
  background: transparent;
}

.home-page .scene-feature-copy > span {
  grid-column: 1;
}

.home-page .scene-feature-copy h3 {
  grid-column: 1;
  margin: 4px 0 22px;
  font-size: clamp(2.5rem, 3.5vw, 3.35rem);
  line-height: 1;
}

.home-page .scene-feature-copy p {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  align-self: end;
  color: var(--editorial-muted);
}

.home-page .scene-feature-copy strong {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  justify-self: start;
}

.home-page .scene-text-list {
  border-top: 1px solid var(--editorial-ink);
}

.home-page .scene-text-list a {
  min-height: 116px;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  padding: 18px 0;
}

.home-page .scene-text-list h3 {
  font-size: 1.35rem;
}

.home-page[data-home-layout="b"] .scene-feature {
  grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.5fr);
}

.home-page[data-home-layout="b"] .scene-feature-link {
  grid-column: 2;
}

.home-page[data-home-layout="b"] .scene-text-list {
  grid-column: 1;
  grid-row: 1;
}

.home-page[data-home-layout="b"] .scene-feature-copy {
  grid-template-columns: minmax(220px, 0.75fr) minmax(280px, 1.25fr);
}

.home-page .featured-editorial {
  padding-block: 108px 124px;
}

.home-page .featured-editorial .editorial-section-heading {
  margin-bottom: 38px;
}

.home-page .featured-editorial-grid {
  display: block;
}

.home-page .featured-single {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 24px 46px;
  align-items: start;
}

.home-page .featured-single-media {
  grid-column: 1 / 3;
}

.home-page .featured-single-media .image-placeholder {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 7;
  border: 0;
}

.home-page .featured-single > p {
  max-width: 650px;
  margin: 0;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  line-height: 1.45;
}

.home-page .featured-single > .editorial-link {
  justify-self: end;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .home-page .editorial-hero-copy {
    width: min(610px, 68%);
  }

  .home-page .editorial-hero-copy h1,
  .home-page[data-home-layout="b"] .editorial-hero-copy h1 {
    font-size: clamp(4rem, 7.7vw, 5rem);
  }

  .home-page .scene-feature,
  .home-page[data-home-layout="b"] .scene-feature {
    grid-template-columns: minmax(0, 1.28fr) minmax(290px, 0.72fr);
    gap: 34px;
  }

  .home-page[data-home-layout="b"] .scene-feature-link {
    grid-column: 2;
  }
}

@media (max-width: 700px) {
  .home-page .editorial-hero,
  .home-page[data-home-layout="b"] .editorial-hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    padding-block: 30px 74px;
  }

  .home-page .editorial-hero-media,
  .home-page[data-home-layout="b"] .editorial-hero-media {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    order: 1;
  }

  .home-page .hero-look--back {
    width: 30%;
    height: 55%;
    left: 3%;
  }

  .home-page .hero-look--detail {
    width: 28%;
    height: 45%;
    right: 3%;
  }

  .home-page .editorial-hero-copy,
  .home-page[data-home-layout="b"] .editorial-hero-copy {
    width: 95%;
    position: relative;
    order: 2;
    left: auto;
    right: auto;
    bottom: auto;
    margin: -48px 0 0;
    padding: 24px 18px 0 0;
  }

  .home-page .editorial-hero-copy h1,
  .home-page[data-home-layout="b"] .editorial-hero-copy h1 {
    font-size: clamp(2.85rem, 12.5vw, 3.45rem);
  }

  .home-page .scene-editorial .editorial-section-heading {
    display: block;
    margin-bottom: 32px;
  }

  .home-page .scene-editorial .editorial-section-heading h2 {
    font-size: clamp(3.1rem, 14vw, 4rem);
  }

  .home-page .scene-editorial .editorial-section-heading p {
    margin-top: 16px;
    text-align: left;
  }

  .home-page .scene-feature,
  .home-page[data-home-layout="b"] .scene-feature {
    display: flex;
    flex-direction: column;
    gap: 42px;
  }

  .home-page .scene-feature-link,
  .home-page[data-home-layout="b"] .scene-feature-link,
  .home-page .scene-text-list,
  .home-page[data-home-layout="b"] .scene-text-list {
    width: 100%;
  }

  .home-page .scene-feature-media {
    aspect-ratio: 4 / 5;
  }

  .home-page .scene-feature-copy,
  .home-page[data-home-layout="b"] .scene-feature-copy {
    display: block;
    padding-top: 18px;
  }

  .home-page .scene-feature-copy h3 {
    font-size: 2.8rem;
  }

  .home-page .scene-feature-copy p {
    margin-bottom: 14px;
  }

  .home-page .featured-single {
    display: block;
  }

  .home-page .featured-single-media .image-placeholder {
    aspect-ratio: 4 / 5;
    margin-bottom: 24px;
  }

  .home-page .featured-single > p {
    margin-bottom: 18px;
    font-size: 1.65rem;
  }

  .home-page .featured-single > .editorial-link {
    justify-self: auto;
  }
}

/* Desktop hero scale correction: keep the approved composition without an oversized first screen. */
@media (min-width: 901px) {
  .home-page .editorial-hero,
  .home-page[data-home-layout="b"] .editorial-hero {
    min-height: 650px;
    padding-block: 38px 68px;
  }

  .home-page .editorial-hero-media,
  .home-page[data-home-layout="b"] .editorial-hero-media {
    width: min(960px, 80%);
    height: 540px;
  }

  .home-page .editorial-hero-copy,
  .home-page[data-home-layout="b"] .editorial-hero-copy {
    width: min(500px, 46%);
    top: 82px;
    left: 54px;
  }

  .home-page .editorial-hero-copy h1,
  .home-page[data-home-layout="b"] .editorial-hero-copy h1 {
    font-size: clamp(3.75rem, 5vw, 4.7rem);
  }
}

/* Interactive scene gallery — scoped to the homepage scene section only. */
.home-page .scene-gallery {
  width: 100%;
}

.home-page .scene-gallery-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
  align-items: end;
  gap: 0;
}

.home-page .scene-gallery-main-media {
  min-width: 0;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: #b8aa9b;
}

.home-page .scene-gallery-main-media small {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: rgba(43, 33, 29, 0.66);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.home-page .scene-gallery-figure,
.home-page .scene-thumbnail-media i {
  position: absolute;
  inset: 0;
}

.home-page .scene-gallery-figure::before,
.home-page .scene-thumbnail-media i::before {
  content: "";
  width: 11%;
  aspect-ratio: 1;
  position: absolute;
  top: 12%;
  left: 50%;
  border: 1px solid rgba(43, 33, 29, 0.4);
  border-radius: 50%;
  transform: translateX(-50%);
}

.home-page .scene-gallery-figure::after,
.home-page .scene-thumbnail-media i::after {
  content: "";
  width: 28%;
  height: 61%;
  position: absolute;
  bottom: 7%;
  left: 50%;
  border: 1px solid rgba(43, 33, 29, 0.4);
  border-radius: 48% 48% 8% 8%;
  transform: translateX(-50%);
}

.home-page .scene-gallery-main-copy {
  z-index: 2;
  margin-left: -58px;
  padding: 28px 32px 26px;
  border-block: 1px solid var(--editorial-line);
  background: rgba(247, 243, 235, 0.94);
}

.home-page .scene-gallery-number {
  margin-bottom: 8px;
  color: var(--editorial-accent);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.home-page .scene-gallery-main-copy h3 {
  margin: 0 0 15px;
  font-size: clamp(3.1rem, 4.5vw, 4.45rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.home-page .scene-gallery-main-copy > p:not(.scene-gallery-number) {
  max-width: 330px;
  margin-bottom: 20px;
  color: var(--editorial-muted);
  line-height: 1.8;
}

.home-page .scene-gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.home-page .scene-thumbnail {
  min-width: 0;
  padding: 0;
  border: 0;
  color: var(--editorial-ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.home-page .scene-thumbnail-media {
  display: block;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: #d2c7b9;
}

.home-page .scene-thumbnail-media[data-scene="internship"],
.home-page .scene-thumbnail-media[data-scene="weekend"] {
  background: #c5b8aa;
}

.home-page .scene-thumbnail-media[data-scene="date"] {
  background: #ded5c9;
}

.home-page .scene-thumbnail-media[data-scene="travel"] {
  background: #bfb2a4;
}

.home-page .scene-thumbnail-media i::before {
  width: 15%;
  top: 15%;
}

.home-page .scene-thumbnail-media i::after {
  width: 38%;
  height: 55%;
  bottom: 8%;
}

.home-page .scene-thumbnail strong {
  display: block;
  padding: 9px 0 0;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.3;
}

.home-page .scene-thumbnail:hover,
.home-page .scene-thumbnail:focus-visible {
  color: var(--editorial-accent);
  outline: none;
}

.home-page [data-image-slot] > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .featured-single-copy {
  grid-column: 1 / 2;
  max-width: 680px;
}

.home-page .featured-single-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 3.4vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.home-page .featured-single-copy p {
  max-width: 620px;
  margin: 0 0 18px;
  color: var(--editorial-muted);
  line-height: 1.8;
}

@media (max-width: 700px) {
  .home-page .scene-gallery-main {
    display: block;
  }

  .home-page .scene-gallery-main-media {
    aspect-ratio: 4 / 5;
  }

  .home-page .scene-gallery-main-copy {
    margin-left: 0;
    padding-top: 22px;
  }

  .home-page .scene-gallery-main-copy h3 {
    font-size: 3.2rem;
  }

  .home-page .scene-gallery-thumbnails {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 14px;
    margin-top: 38px;
  }

  .home-page .scene-thumbnail:last-child {
    grid-column: auto;
  }

  .home-page .featured-single-copy {
    max-width: none;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
}

/* The scene-strip hint is intentionally desktop-only. */
.home-page .scene-scroll-arrow {
  display: none;
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

h4 {
  margin-bottom: 12px;
  font-size: 1rem;
}

p:last-child,
ul:last-child {
  margin-bottom: 0;
}

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

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-shell main {
  flex: 1;
}

.page-width,
.header-inner,
.footer-inner {
  width: min(calc(100% - 64px), var(--page-width));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--black);
  background: var(--white);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  margin: 0;
  color: var(--black);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  padding: 22px 0 18px;
  border-bottom: 4px solid transparent;
  color: var(--gray-700);
  font-size: 0.96rem;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--black);
  border-bottom-color: var(--black);
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--black);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--gray-700);
  font-size: 0.875rem;
}

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 64px;
  padding-block: 72px;
}

.hero-title {
  max-width: 620px;
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
}

.hero-subtitle {
  margin-bottom: 12px;
  color: var(--gray-900);
  font-size: 1.05rem;
}

.hero-description {
  max-width: 610px;
  margin-bottom: 32px;
  color: var(--gray-700);
  font-size: 1.05rem;
}

.primary-button,
.secondary-button,
.filter-button,
.text-button {
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

.primary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--black);
  color: var(--white);
  background: var(--black);
  font-weight: 700;
}

.primary-button:hover {
  color: var(--black);
  background: var(--white);
}

.secondary-button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--black);
  color: var(--black);
  background: var(--white);
  font-weight: 700;
}

.secondary-button:hover {
  color: var(--white);
  background: var(--black);
}

.full-button {
  width: 100%;
}

.text-link,
.text-button {
  display: inline-block;
  padding: 0 0 2px;
  border-bottom: 1px solid currentColor;
  color: var(--black);
  background: transparent;
  font-weight: 700;
}

.image-placeholder {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px dashed var(--gray-700);
  color: var(--gray-700);
  background: var(--gray-100);
  text-align: center;
}

.image-placeholder small {
  color: var(--gray-500);
}

.hero > .image-placeholder {
  min-height: 440px;
}

.section {
  padding-block: 88px;
  border-top: 1px solid var(--gray-300);
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading p {
  color: var(--gray-700);
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.scene-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--black);
}

.scene-entry {
  min-height: 270px;
  padding: 28px;
  border-right: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--black);
  text-decoration: none;
}

.scene-entry:nth-child(3n + 1) {
  border-left: 1px solid var(--gray-300);
}

.scene-entry:hover {
  background: var(--gray-100);
}

.scene-entry h3 {
  margin-top: 38px;
  font-size: 1.5rem;
}

.entry-index,
.content-status {
  color: var(--gray-700);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.featured-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.featured-case {
  padding-top: 18px;
  border-top: 1px solid var(--black);
}

.featured-case .image-placeholder {
  margin-bottom: 20px;
}

.featured-case > p:not(.content-status) {
  color: var(--gray-700);
}

.project-intro {
  padding-block: 96px;
  color: var(--white);
  background: var(--black);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 72px;
}

.project-intro .text-link {
  color: var(--white);
}

.page-layout {
  padding-block: 72px 104px;
}

.page-header {
  max-width: 820px;
  margin-bottom: 56px;
}

.page-header h1 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
}

.page-header p {
  color: var(--gray-700);
  font-size: 1.12rem;
}

.recommender-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  border: 1px solid var(--black);
}

.recommendation-form,
.result-panel {
  padding: 36px;
}

.recommendation-form {
  border-right: 1px solid var(--black);
}

.form-intro {
  margin-bottom: 30px;
}

.form-intro h2 {
  font-size: 1.5rem;
}

.form-intro p {
  color: var(--gray-700);
}

.form-field {
  min-width: 0;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}

.form-field > label,
.form-field > legend {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.form-field input[type="number"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--black);
  border-radius: 0;
  color: var(--black);
  background: var(--white);
}

.form-field input[aria-invalid="true"] {
  border-width: 2px;
}

.field-help,
.field-error {
  margin: 7px 0 0;
  font-size: 0.82rem;
}

.field-help {
  color: var(--gray-700);
}

.field-error {
  color: var(--black);
  font-weight: 700;
  text-decoration: underline;
}

.radio-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--gray-300);
  border-left: 1px solid var(--gray-300);
}

.radio-option {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-right: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
  cursor: pointer;
  font-size: 0.86rem;
}

.radio-option:has(input:checked) {
  color: var(--white);
  background: var(--black);
}

.radio-option input {
  accent-color: var(--black);
}

.radio-option:has(input:checked) input {
  accent-color: var(--white);
}

.demo-notice,
.supporting-note {
  padding: 12px 14px;
  border-left: 4px solid var(--black);
  background: var(--gray-100);
  color: var(--gray-900) !important;
  font-size: 0.88rem;
}

.empty-state {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border: 1px dashed var(--gray-500);
  color: var(--gray-700);
  text-align: center;
}

.empty-state span {
  color: var(--black);
  font-weight: 700;
}

.match-summary,
.metadata-list {
  margin: 0;
}

.match-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 24px;
  border-top: 1px solid var(--gray-300);
  border-left: 1px solid var(--gray-300);
}

.match-summary div,
.metadata-list div {
  padding: 11px 12px;
}

.match-summary div {
  border-right: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
}

.match-summary dt,
.metadata-list dt {
  color: var(--gray-700);
  font-size: 0.75rem;
  font-weight: 700;
}

.match-summary dd,
.metadata-list dd {
  margin: 2px 0 0;
}

.case-detail {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px solid var(--black);
}

.detail-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.detail-lead {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr);
  gap: 24px;
}

.metadata-list {
  border-top: 1px solid var(--black);
}

.metadata-list div {
  border-bottom: 1px solid var(--gray-300);
}

.detail-section {
  margin-top: 32px;
}

.detail-section h4 {
  padding-bottom: 9px;
  border-bottom: 1px solid var(--black);
}

.detail-section ul {
  padding-left: 20px;
}

.item-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.item-placeholder .image-placeholder {
  min-height: 130px;
  margin-bottom: 9px;
}

.item-placeholder p {
  margin-bottom: 0;
  color: var(--gray-700);
  font-size: 0.76rem;
}

.item-placeholder strong {
  font-size: 0.86rem;
}

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

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--black);
}

.filter-button {
  padding: 12px 20px;
  border: 1px solid var(--black);
  border-bottom: 0;
  color: var(--black);
  background: var(--white);
  font-weight: 700;
}

.filter-button + .filter-button {
  border-left: 0;
}

.filter-button.is-active,
.filter-button:hover {
  color: var(--white);
  background: var(--black);
}

.result-count {
  margin: 20px 0 8px;
  color: var(--gray-700);
  font-size: 0.85rem;
}

.case-row {
  scroll-margin-top: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--black);
}

.case-row:last-child {
  border-bottom: 1px solid var(--black);
}

.case-summary {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
}

.case-summary .image-placeholder {
  min-height: 300px;
}

.case-summary-copy h2 {
  font-size: 2rem;
}

.metadata-list.compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
  border-left: 1px solid var(--gray-300);
}

.metadata-list.compact div {
  border-right: 1px solid var(--gray-300);
}

.review-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0 64px;
}

.review-content {
  min-width: 0;
}

.review-header {
  grid-column: 1 / -1;
}

.review-toc {
  position: sticky;
  top: 24px;
  align-self: start;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--black);
}

.review-toc strong,
.review-toc a {
  padding: 9px 0;
  border-bottom: 1px solid var(--gray-300);
  text-decoration: none;
  font-size: 0.85rem;
}

.review-toc a:hover {
  padding-left: 6px;
  background: var(--gray-100);
}

.review-section {
  scroll-margin-top: 24px;
  padding: 0 0 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--black);
}

.review-section h2 {
  margin-top: 10px;
}

.review-section p,
.review-section li {
  max-width: 760px;
}

.status-mark {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--black);
  font-size: 0.72rem;
  font-weight: 700;
}

.status-in-progress {
  background: var(--gray-200);
}

.status-planned {
  border-style: dashed;
  color: var(--gray-700);
}

.status-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.status-columns > div {
  padding-top: 14px;
  border-top: 1px solid var(--black);
}

.status-columns ul {
  padding-left: 18px;
}

.process-line {
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 0;
  padding: 18px 0;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  list-style: none;
  overflow-x: auto;
}

.process-line li {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--gray-700);
  font-size: 0.84rem;
  white-space: nowrap;
}

.process-line li:not(:last-child)::after {
  content: '→';
  color: var(--gray-500);
}

.process-line .is-current {
  color: var(--black);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 900px) {
  .hero,
  .recommender-layout,
  .review-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 40px;
  }

  .hero > .image-placeholder {
    min-height: 360px;
  }

  .recommendation-form {
    border-right: 0;
    border-bottom: 1px solid var(--black);
  }

  .review-header {
    grid-column: auto;
  }

  .review-toc {
    position: static;
    margin-bottom: 52px;
  }

  .featured-list,
  .status-columns {
    gap: 24px;
  }

  .case-summary {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .page-width,
  .header-inner,
  .footer-inner {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .header-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-block: 18px 12px;
  }

  .main-nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
  }

  .nav-link {
    flex: 0 0 auto;
    padding: 6px 0 8px;
  }

  .hero,
  .section,
  .page-layout,
  .project-intro {
    padding-block: 56px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 16vw, 4.2rem);
  }

  .hero > .image-placeholder {
    min-height: 280px;
  }

  .scene-list,
  .featured-list,
  .intro-grid,
  .case-summary,
  .detail-lead,
  .detail-columns,
  .status-columns {
    grid-template-columns: 1fr;
  }

  .scene-entry {
    min-height: auto;
    border-left: 1px solid var(--gray-300);
  }

  .scene-entry h3 {
    margin-top: 20px;
  }

  .split-heading,
  .footer-inner,
  .detail-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-case + .featured-case {
    margin-top: 20px;
  }

  .recommendation-form,
  .result-panel {
    padding: 24px 18px;
  }

  .radio-list,
  .match-summary,
  .metadata-list.compact {
    grid-template-columns: 1fr;
  }

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

  .case-summary .image-placeholder {
    min-height: 240px;
  }

  .filter-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--black);
  }

  .filter-button,
  .filter-button + .filter-button {
    border: 0;
    border-right: 1px solid var(--black);
    border-bottom: 1px solid var(--black);
  }

  .filter-button:nth-child(even) {
    border-right: 0;
  }

  .filter-button:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }
}

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

/* Editorial direction: scoped to the homepage and case library only. */
.editorial-page {
  --editorial-cream: #f3eee3;
  --editorial-paper: #faf6ee;
  --editorial-ink: #1d1b18;
  --editorial-muted: #6f6960;
  --editorial-line: #bdb3a5;
  --editorial-accent: #a65f46;
  color: var(--editorial-ink);
  background: var(--editorial-cream);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.editorial-page h1,
.editorial-page h2,
.editorial-page h3,
.editorial-page h4 {
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-weight: 400;
}

.editorial-page .site-header {
  position: relative;
  z-index: 20;
  border-bottom: 0;
  background: var(--editorial-cream);
}

.editorial-page .brand,
.editorial-page .nav-link {
  color: var(--editorial-ink);
}

.editorial-page .nav-link:hover,
.editorial-page .nav-link.is-active {
  border-bottom-color: var(--editorial-accent);
}

.editorial-page .primary-button {
  border-color: var(--editorial-accent);
  color: var(--editorial-paper);
  background: var(--editorial-accent);
}

.editorial-page .primary-button:hover {
  color: var(--editorial-accent);
  background: transparent;
}

.editorial-page .secondary-button {
  border-color: var(--editorial-ink);
  color: var(--editorial-ink);
  background: transparent;
}

.editorial-page .secondary-button:hover {
  border-color: var(--editorial-accent);
  color: var(--editorial-paper);
  background: var(--editorial-accent);
}

.editorial-page .text-link {
  color: var(--editorial-accent);
}

.editorial-page .image-placeholder {
  border-color: #988f82;
  color: #655f57;
  background: #d8cec0;
}

.editorial-page .image-placeholder small {
  color: #756d63;
}

.editorial-page .site-footer {
  border-top-color: var(--editorial-line);
  background: var(--editorial-cream);
}

.editorial-hero {
  min-height: 790px;
  position: relative;
  padding-block: 70px 120px;
}

.editorial-hero-media {
  width: 76%;
  min-height: 570px;
  margin-left: auto;
  position: relative;
  z-index: 1;
  border: 0;
  background: #c6b7a6 !important;
}

.editorial-brand {
  position: absolute;
  z-index: 2;
  top: 120px;
  left: -0.04em;
  margin: 0;
  color: var(--editorial-paper);
  font-size: clamp(7.5rem, 14vw, 12.7rem);
  line-height: 0.73;
  letter-spacing: -0.085em;
  pointer-events: none;
}

.editorial-brand span {
  display: block;
}

.editorial-brand span:last-child {
  margin-left: 0.14em;
  font-size: 0.58em;
  letter-spacing: -0.06em;
}

.editorial-hero-copy {
  width: min(620px, 54%);
  position: absolute;
  z-index: 3;
  bottom: 45px;
  left: 0;
  padding: 34px 40px 0 0;
  background: var(--editorial-cream);
}

.editorial-hero-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(3.7rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.editorial-hero-copy h2 em {
  color: var(--editorial-accent);
  font-weight: 400;
}

.editorial-hero-copy p {
  max-width: 520px;
  margin-bottom: 25px;
  color: var(--editorial-muted);
  font-size: 1rem;
}

.editorial-section {
  padding-block: 130px;
  border-top: 1px solid var(--editorial-line);
}

.editorial-section-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 70px;
}

.editorial-section-heading h2 {
  margin: 0;
  font-size: clamp(4.8rem, 8.2vw, 8rem);
  line-height: 0.83;
  letter-spacing: -0.065em;
}

.editorial-section-heading p {
  max-width: 360px;
  margin-bottom: 8px;
  color: var(--editorial-muted);
}

.scene-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(310px, 0.58fr);
  align-items: start;
  gap: 72px;
}

.scene-feature-link {
  position: relative;
  color: var(--editorial-ink);
  text-decoration: none;
}

.scene-feature-media {
  min-height: 650px;
  border: 0;
}

.scene-feature-copy {
  width: min(520px, 78%);
  margin: -145px 0 0 auto;
  position: relative;
  z-index: 2;
  padding: 28px 0 0 34px;
  background: var(--editorial-cream);
}

.scene-feature-copy span,
.case-story .content-status,
.featured-story .content-status,
.cases-editorial-header > p {
  color: var(--editorial-accent);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.scene-feature-copy h3 {
  margin: 4px 0 8px;
  font-size: clamp(4rem, 7vw, 6.8rem);
  line-height: 0.9;
}

.scene-feature-copy p {
  color: var(--editorial-muted);
}

.scene-feature-copy strong {
  color: var(--editorial-accent);
}

.scene-text-list {
  border-top: 1px solid var(--editorial-ink);
}

.scene-text-list a {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--editorial-line);
  color: var(--editorial-ink);
  text-decoration: none;
}

.scene-text-list a:hover h3,
.scene-text-list a:hover i {
  color: var(--editorial-accent);
}

.scene-text-list span {
  color: var(--editorial-muted);
  font-size: 0.72rem;
}

.scene-text-list h3 {
  margin: 0;
  font-size: 1.65rem;
}

.scene-text-list p {
  grid-column: 2 / 4;
  margin: -8px 0 0;
  color: var(--editorial-muted);
  font-size: 0.82rem;
}

.scene-text-list i {
  font-style: normal;
  color: var(--editorial-accent);
  font-size: 0.76rem;
  font-weight: 750;
  white-space: nowrap;
}

.featured-editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 80px 26px;
}

.featured-story {
  min-width: 0;
}

.featured-story-media .image-placeholder {
  border: 0;
}

.featured-story-copy h3 {
  margin: 8px 0 14px;
  font-size: clamp(2.5rem, 4.2vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.featured-story-copy > p:not(.content-status) {
  color: var(--editorial-muted);
}

.featured-story--lead {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(290px, 0.7fr);
  align-items: end;
  gap: 48px;
}

.featured-story--lead .image-placeholder {
  min-height: 500px;
}

.featured-story--portrait {
  grid-column: 2 / 7;
}

.featured-story--portrait .image-placeholder {
  min-height: 560px;
  margin-bottom: 24px;
}

.featured-story--banner {
  grid-column: 7 / 13;
  align-self: end;
  position: relative;
  padding-top: 150px;
}

.featured-story--banner .image-placeholder {
  min-height: 340px;
}

.featured-story--banner .featured-story-copy {
  width: 84%;
  margin: -72px 0 0 auto;
  position: relative;
  padding: 22px 0 0 28px;
  background: var(--editorial-cream);
}

.featured-story--banner .featured-story-copy > p:not(.content-status) {
  display: none;
}

.editorial-cases-layout {
  padding-block: 95px 140px;
}

.cases-editorial-header {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 90px;
}

.cases-editorial-header > p {
  grid-column: 1 / -1;
  margin-bottom: -18px;
}

.cases-editorial-header h1 {
  margin: 0;
  font-size: clamp(6rem, 12vw, 11.8rem);
  line-height: 0.69;
  letter-spacing: -0.075em;
}

.cases-editorial-header h1 em {
  color: var(--editorial-accent);
  font-weight: 400;
}

.cases-editorial-header > span {
  max-width: 350px;
  padding-bottom: 8px;
  color: var(--editorial-muted);
}

.cases-page .filter-bar {
  display: flex;
  gap: 25px;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid var(--editorial-line);
}

.cases-page .filter-button,
.cases-page .filter-button + .filter-button {
  padding: 0 0 4px;
  border: 0;
  color: var(--editorial-muted);
  background: transparent;
  font-size: 0.82rem;
}

.cases-page .filter-button:hover,
.cases-page .filter-button.is-active {
  color: var(--editorial-accent);
  background: transparent;
  box-shadow: inset 0 -2px var(--editorial-accent);
}

.cases-page .result-count {
  margin: 14px 0 0;
  color: var(--editorial-muted);
}

.cases-page .case-list {
  padding-top: 80px;
}

.case-story {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 34px;
  padding: 90px 0;
  border-top: 1px solid var(--editorial-line);
}

.case-story:first-child {
  padding-top: 0;
  border-top: 0;
}

.case-story-media,
.case-story-copy {
  min-width: 0;
}

.case-story-media .image-placeholder {
  min-height: 430px;
  border: 0;
}

.case-story-copy h2 {
  margin: 9px 0 18px;
  font-size: clamp(3.4rem, 6vw, 6.2rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.case-story-copy > p:not(.content-status) {
  margin-bottom: 26px;
  color: var(--editorial-muted);
}

.case-story--lead .case-story-media {
  grid-column: 1 / 13;
}

.case-story--lead .case-story-media .image-placeholder {
  min-height: 650px;
}

.case-story--lead .case-story-copy {
  grid-column: 2 / 9;
  margin-top: -120px;
  padding: 28px 40px 0 0;
  position: relative;
  background: var(--editorial-cream);
}

.case-story--split .case-story-media,
.case-story--compact .case-story-media {
  grid-column: 1 / 8;
}

.case-story--split .case-story-copy,
.case-story--compact .case-story-copy {
  grid-column: 9 / 13;
}

.case-story--reverse .case-story-media,
.case-story--offset .case-story-media {
  grid-column: 6 / 13;
  order: 2;
}

.case-story--reverse .case-story-copy,
.case-story--offset .case-story-copy {
  grid-column: 1 / 5;
  order: 1;
}

.case-story--wide .case-story-media {
  grid-column: 2 / 12;
}

.case-story--wide .case-story-media .image-placeholder {
  min-height: 510px;
}

.case-story--wide .case-story-copy {
  grid-column: 4 / 10;
  text-align: center;
}

.case-story--compact .case-story-media {
  padding-right: 90px;
}

.case-story--compact .case-story-copy h2 {
  font-size: clamp(3rem, 5vw, 5rem);
}

.case-story--offset .case-story-media {
  padding-left: 70px;
}

.editorial-case-detail {
  grid-column: 1 / -1;
  margin-top: 70px;
  padding: 80px 0 0;
  border-top: 2px solid var(--editorial-accent);
}

.editorial-case-detail > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}

.editorial-case-detail > header p {
  color: var(--editorial-accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.editorial-case-detail > header h3 {
  margin: 0;
  font-size: clamp(4rem, 7.5vw, 7rem);
  line-height: 0.9;
}

.editorial-detail-hero .image-placeholder {
  min-height: 640px;
  border: 0;
}

.editorial-detail-intro {
  width: min(760px, 78%);
  margin: 55px auto 110px;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: 1.35rem;
  line-height: 1.8;
}

.editorial-items {
  display: grid;
  gap: 90px;
}

.editorial-item {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(260px, 1.1fr);
  align-items: center;
  gap: 70px;
}

.editorial-item.is-reversed .image-placeholder {
  order: 2;
}

.editorial-item.is-reversed .editorial-item-media {
  order: 2;
}

.editorial-item .image-placeholder {
  min-height: 370px;
  border: 0;
}

.editorial-item-media {
  width: 100%;
  min-width: 0;
  margin: 0;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  background: #d8cec2;
}

.editorial-item-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.editorial-item span {
  color: var(--editorial-accent);
  font-size: 0.75rem;
  font-weight: 800;
}

.editorial-item h4 {
  margin: 8px 0 20px;
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.editorial-item p,
.editorial-detail-footer p {
  color: var(--editorial-muted);
}

.editorial-detail-footer {
  width: min(720px, 76%);
  margin: 110px 0 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--editorial-ink);
}

.editorial-detail-footer h4 {
  font-size: 2.8rem;
}

@media (max-width: 900px) {
  .editorial-brand {
    font-size: clamp(6rem, 16vw, 9rem);
  }

  .scene-feature {
    grid-template-columns: 1fr;
  }

  .scene-text-list {
    margin-left: 14%;
  }

  .featured-story--lead {
    grid-template-columns: 1fr;
  }

  .featured-story--portrait {
    grid-column: 1 / 7;
  }

  .featured-story--banner {
    grid-column: 7 / 13;
  }

  .cases-editorial-header h1 {
    font-size: clamp(5.6rem, 13vw, 8rem);
  }
}

@media (max-width: 700px) {
  .editorial-hero {
    min-height: 720px;
    display: block;
    padding-block: 34px 100px;
  }

  .editorial-hero-media {
    width: 88%;
    min-height: 420px;
  }

  .editorial-brand {
    top: 95px;
    font-size: clamp(4.4rem, 23vw, 6.2rem);
  }

  .editorial-brand span:last-child {
    margin-top: 0.08em;
    margin-left: 0;
    font-size: 0.51em;
  }

  .editorial-hero-copy {
    width: 92%;
    bottom: 25px;
    padding: 26px 22px 0 0;
  }

  .editorial-hero-copy h2 {
    font-size: clamp(3.1rem, 15vw, 4.2rem);
  }

  .editorial-section {
    padding-block: 88px;
  }

  .editorial-section-heading,
  .cases-editorial-header {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 48px;
  }

  .editorial-section-heading h2 {
    font-size: clamp(4.1rem, 20vw, 5.8rem);
  }

  .scene-feature-media {
    min-height: 430px;
  }

  .scene-feature-copy {
    width: 88%;
    margin-top: -85px;
    padding-left: 22px;
  }

  .scene-feature-copy h3 {
    font-size: 4.4rem;
  }

  .scene-text-list {
    margin-left: 0;
  }

  .featured-editorial-grid {
    display: block;
  }

  .featured-story,
  .featured-story--lead {
    display: block;
    margin-bottom: 80px;
  }

  .featured-story-media .image-placeholder,
  .featured-story--lead .image-placeholder,
  .featured-story--portrait .image-placeholder,
  .featured-story--banner .image-placeholder {
    min-height: 390px;
  }

  .featured-story--banner {
    padding-top: 0;
  }

  .featured-story--banner .featured-story-copy {
    width: 90%;
    margin-top: -48px;
  }

  .featured-story-copy h3 {
    font-size: 3.3rem;
  }

  .editorial-cases-layout {
    padding-block: 68px 100px;
  }

  .cases-editorial-header h1 {
    font-size: clamp(5.2rem, 25vw, 7rem);
  }

  .cases-page .filter-bar {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
  }

  .cases-page .filter-button,
  .cases-page .filter-button + .filter-button {
    flex: 0 0 auto;
    grid-column: auto;
    border: 0;
  }

  .cases-page .case-list {
    padding-top: 40px;
  }

  .case-story {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 72px 0;
  }

  .case-story-media,
  .case-story-copy,
  .case-story--lead .case-story-media,
  .case-story--lead .case-story-copy,
  .case-story--split .case-story-media,
  .case-story--split .case-story-copy,
  .case-story--reverse .case-story-media,
  .case-story--reverse .case-story-copy,
  .case-story--wide .case-story-media,
  .case-story--wide .case-story-copy,
  .case-story--compact .case-story-media,
  .case-story--compact .case-story-copy,
  .case-story--offset .case-story-media,
  .case-story--offset .case-story-copy {
    width: 100%;
    margin: 0;
    padding: 0;
    order: initial;
    text-align: left;
  }

  .case-story--lead .case-story-copy {
    width: 91%;
    margin-top: -65px;
    padding: 22px 22px 0 0;
  }

  .case-story-media .image-placeholder,
  .case-story--lead .case-story-media .image-placeholder,
  .case-story--wide .case-story-media .image-placeholder {
    min-height: 410px;
  }

  .case-story-copy h2 {
    font-size: clamp(3.5rem, 17vw, 4.8rem);
  }

  .editorial-case-detail {
    width: 100%;
    margin-top: 35px;
    padding-top: 55px;
  }

  .editorial-case-detail > header {
    display: block;
  }

  .editorial-case-detail > header h3 {
    font-size: 4rem;
  }

  .editorial-detail-hero .image-placeholder {
    min-height: 430px;
  }

  .editorial-detail-intro,
  .editorial-detail-footer {
    width: 100%;
    margin: 44px 0 75px;
  }

  .editorial-item,
  .editorial-item.is-reversed {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .editorial-item.is-reversed .image-placeholder {
    order: initial;
  }

  .editorial-item.is-reversed .editorial-item-media {
    order: initial;
  }

  .editorial-item .image-placeholder {
    min-height: 340px;
  }
}

/* Editorial refinement: hierarchy, alignment and fixed A/B/C case templates. */
.editorial-page .brand {
  color: #2b211d;
  font-weight: 900;
}

.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--editorial-accent);
  background: transparent;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.editorial-link span,
.editorial-link b {
  font-size: 1.08em;
  font-weight: 400;
}

.editorial-link:hover {
  color: var(--editorial-ink);
}

.editorial-hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
  padding-block: 78px 112px;
}

.editorial-hero-media {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 10;
  grid-column: 4 / 13;
  grid-row: 1;
  margin: 0;
  align-self: center;
}

.editorial-hero-copy {
  width: auto;
  position: relative;
  z-index: 3;
  grid-column: 1 / 8;
  grid-row: 1;
  align-self: end;
  bottom: auto;
  left: auto;
  margin-bottom: 48px;
  padding: 30px 42px 10px 0;
  background: transparent;
}

.editorial-hero-copy h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(4.8rem, 7.4vw, 7.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.editorial-hero-copy h1 em {
  color: var(--editorial-accent);
  font-weight: 400;
}

.editorial-hero-copy p {
  max-width: 510px;
  margin-bottom: 22px;
  padding-right: 20px;
  color: var(--editorial-muted);
  line-height: 1.85;
}

.scene-editorial .editorial-section-heading {
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
  margin-bottom: 52px;
}

.scene-editorial .editorial-section-heading h2 {
  font-size: clamp(3.8rem, 6.2vw, 6rem);
  line-height: 0.94;
}

.scene-feature {
  grid-template-columns: minmax(0, 1.28fr) minmax(330px, 0.72fr);
  align-items: start;
  gap: 58px;
}

.scene-feature-media {
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.scene-feature-copy {
  width: calc(100% - 28px);
  margin: -42px 0 0 28px;
  padding: 17px 24px 0;
  background: var(--editorial-cream);
}

.scene-feature-copy h3 {
  margin: 3px 0 8px;
  font-size: clamp(3rem, 4.7vw, 4.5rem);
  line-height: 0.98;
}

.scene-feature-copy p {
  margin-bottom: 15px;
}

.scene-feature-copy .editorial-link {
  color: var(--editorial-accent);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.9rem;
}

.scene-text-list a {
  min-height: 106px;
  padding: 20px 0;
}

.scene-text-list h3 {
  font-size: 1.52rem;
}

.featured-story .editorial-link,
.featured-editorial .editorial-section-heading .editorial-link {
  margin-top: 3px;
}

.cases-editorial-header {
  margin-bottom: 76px;
}

.cases-editorial-header h1 {
  font-size: clamp(5.8rem, 10.5vw, 10rem);
  line-height: 0.84;
  letter-spacing: -0.065em;
}

.cases-editorial-header > span {
  line-height: 1.8;
}

.cases-page .filter-bar {
  margin-top: 10px;
}

.cases-page .case-list {
  padding-top: 50px;
}

.case-story {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 54px;
  padding: 72px 0;
}

.case-story-media .image-placeholder {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.case-story-copy h2 {
  max-width: 620px;
  margin: 8px 0 18px;
  font-size: clamp(2.8rem, 4.1vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.case-story-copy > p:not(.content-status) {
  max-width: 620px;
  margin-bottom: 24px;
  line-height: 1.85;
}

.case-story--a .case-story-media {
  grid-column: 1 / 7;
}

.case-story--a .case-story-copy {
  grid-column: 8 / 13;
}

.case-story--b .case-story-copy {
  grid-column: 1 / 7;
  grid-row: 1;
}

.case-story--b .case-story-media {
  grid-column: 7 / 13;
  grid-row: 1;
}

.case-story--c .case-story-media {
  grid-column: 1 / 13;
}

.case-story--c .case-story-media .image-placeholder {
  aspect-ratio: 16 / 10;
}

.case-story--c .case-story-copy {
  grid-column: 2 / 9;
  margin-top: -54px;
  padding: 22px 34px 2px 0;
  position: relative;
  background: var(--editorial-cream);
}

.case-story .editorial-link {
  font-size: 0.92rem;
}

.personalized-match-banner {
  margin: 0 0 20px;
  padding: 0 0 9px;
  border-bottom: 1px solid rgba(166, 95, 70, 0.22);
  color: #6f665f;
  background: transparent;
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.78rem;
  line-height: 1.65;
}

.personalized-match-banner strong {
  color: var(--editorial-accent);
  font-weight: 700;
}

@media (max-width: 900px) {
  .editorial-hero-copy h1 {
    font-size: clamp(4.2rem, 9vw, 6rem);
  }

  .scene-feature {
    grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.9fr);
    gap: 38px;
  }

  .case-story {
    gap: 38px;
  }
}

@media (max-width: 700px) {
  .editorial-hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    padding-block: 38px 84px;
  }

  .editorial-hero-media {
    width: 100%;
    aspect-ratio: 4 / 5;
    order: 1;
  }

  .editorial-hero-copy {
    width: 94%;
    order: 2;
    margin: -44px 0 0;
    padding: 25px 22px 0 0;
    background: var(--editorial-cream);
  }

.editorial-hero-copy h1 {
  margin-bottom: 18px;
  font-size: clamp(2.9rem, 13vw, 3.55rem);
  line-height: 1.04;
}

  .scene-editorial .editorial-section-heading {
    grid-template-columns: 1fr;
    margin-bottom: 38px;
  }

  .scene-editorial .editorial-section-heading h2 {
    font-size: clamp(3.5rem, 16vw, 4.6rem);
    line-height: 0.98;
  }

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

  .scene-feature-media {
    aspect-ratio: 4 / 5;
  }

  .scene-feature-copy {
    width: calc(100% - 18px);
    margin: -34px 0 0 18px;
    padding: 15px 18px 0;
  }

  .scene-feature-copy h3 {
    font-size: 3.2rem;
  }

  .cases-editorial-header {
    margin-bottom: 52px;
  }

  .cases-editorial-header h1 {
    font-size: clamp(4.6rem, 22vw, 6.2rem);
    line-height: 0.88;
  }

  .case-story,
  .case-story--a,
  .case-story--b,
  .case-story--c {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 58px 0;
  }

  .case-story--a .case-story-media,
  .case-story--a .case-story-copy,
  .case-story--b .case-story-media,
  .case-story--b .case-story-copy,
  .case-story--c .case-story-media,
  .case-story--c .case-story-copy {
    width: 100%;
    margin: 0;
    padding: 0;
    order: initial;
  }

  .case-story--a .case-story-media .image-placeholder,
  .case-story--b .case-story-media .image-placeholder {
    aspect-ratio: 4 / 5;
  }

  .case-story--c .case-story-media .image-placeholder {
    aspect-ratio: 16 / 10;
  }

  .case-story--c .case-story-copy {
    width: 94%;
    margin-top: -38px;
    padding: 18px 18px 0 0;
    background: var(--editorial-cream);
  }

  .case-story-copy h2 {
    max-width: none;
    font-size: clamp(2.55rem, 12vw, 3.4rem);
    line-height: 1.05;
  }

  .case-story-copy > p:not(.content-status) {
    max-width: none;
    line-height: 1.8;
  }
}

/* Final positioning refinements for homepage scene variants A / B. */
.home-page .hero-look--main::before,
.home-page .hero-look--main::after {
  left: 62%;
}

.home-page .hero-look--main > span {
  display: none;
}

.home-page .editorial-hero,
.home-page[data-home-layout="b"] .editorial-hero {
  min-height: 760px;
  display: block;
  padding-block: 46px 92px;
}

.home-page .editorial-hero-media,
.home-page[data-home-layout="b"] .editorial-hero-media {
  width: min(1120px, 88%);
  height: 650px;
  margin: 0 0 0 auto;
}

.home-page .editorial-hero-copy,
.home-page[data-home-layout="b"] .editorial-hero-copy {
  width: min(600px, 50%);
  top: 94px;
  right: auto;
  bottom: auto;
  left: 34px;
  margin: 0;
  padding: 28px 38px 24px 0;
  background: var(--editorial-cream);
}

.home-page .editorial-hero-copy h1,
.home-page[data-home-layout="b"] .editorial-hero-copy h1 {
  font-size: clamp(4.25rem, 5.8vw, 5.6rem);
}

.home-page[data-home-layout="b"] .hero-look--main::before,
.home-page[data-home-layout="b"] .hero-look--main::after {
  left: 62%;
}

.home-page[data-home-layout="b"] .hero-look--back {
  width: 24%;
  height: 62%;
  left: 4.5%;
  bottom: 0;
}

.home-page[data-home-layout="b"] .hero-look--detail {
  width: 25%;
  height: 52%;
  top: 8%;
  right: 4.5%;
}

.home-page[data-home-layout="b"] .scene-feature {
  grid-template-columns: minmax(0, 1.5fr) minmax(330px, 0.72fr);
  gap: 52px;
}

.home-page[data-home-layout="b"] .scene-feature-link {
  grid-column: 1;
  grid-row: 1;
}

.home-page[data-home-layout="b"] .scene-text-list {
  grid-column: 2;
  grid-row: 1;
}

.home-page .scene-list-commute {
  display: none;
}

.home-page[data-home-layout="b"] .scene-list-commute {
  display: grid;
}

.home-page[data-home-layout="b"] .scene-feature-copy {
  display: none;
}

.home-page .scene-text-list a[data-scene-row="internship"] {
  width: calc(100% - 10px);
  margin-left: 10px;
  padding-block: 20px 23px;
}

.home-page .scene-text-list a[data-scene-row="date"] {
  width: calc(100% - 5px);
  margin-left: 5px;
  padding-block: 22px 18px;
}

.home-page .scene-text-list a[data-scene-row="weekend"] {
  width: calc(100% - 13px);
  margin-left: 13px;
  padding-block: 19px 24px;
}

.home-page .scene-text-list a[data-scene-row="travel"] {
  width: calc(100% - 4px);
  margin-left: 4px;
  padding-block: 23px 19px;
}

.home-page[data-home-layout="b"] .scene-list-commute {
  width: 100%;
  margin-left: 0;
  border-bottom-color: var(--editorial-accent);
}

.home-page[data-home-layout="b"] .scene-list-commute > span,
.home-page[data-home-layout="b"] .scene-list-commute h3,
.home-page[data-home-layout="b"] .scene-list-commute i {
  color: var(--editorial-accent);
}

.home-page[data-home-layout="b"] .scene-list-commute h3 {
  font-size: 1.52rem;
}

@media (max-width: 700px) {
  .home-page .hero-look--main::before,
  .home-page .hero-look--main::after,
  .home-page[data-home-layout="b"] .hero-look--main::before,
  .home-page[data-home-layout="b"] .hero-look--main::after {
    left: 58%;
  }

  .home-page .editorial-hero-copy,
  .home-page[data-home-layout="b"] .editorial-hero-copy {
    width: 95%;
    position: relative;
    top: auto;
    left: auto;
    margin: -48px 0 0;
    padding: 24px 18px 0 0;
  }

  .home-page[data-home-layout="b"] .scene-feature-copy {
    display: none;
  }
}

/* Temporary homepage photo pass — localized refinements only. */
.home-page .hero-look--photo {
  border: 0;
  background: transparent;
}

.home-page .hero-look--photo::before,
.home-page .hero-look--photo::after {
  display: none;
}

.home-page .hero-look--photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: none;
}

.home-page .editorial-hero-copy,
.home-page[data-home-layout="b"] .editorial-hero-copy {
  width: min(560px, 48%);
  top: 104px;
  left: 84px;
  padding: 28px 30px 28px 26px;
  background: linear-gradient(90deg, rgba(247, 243, 235, 0.82) 0%, rgba(247, 243, 235, 0.58) 72%, rgba(247, 243, 235, 0) 100%);
}

.home-page .editorial-hero-copy h1 em {
  white-space: nowrap;
}

.home-page .scene-gallery-main-copy {
  margin-left: -72px;
  padding: 22px 28px 22px;
  border: 0;
  background: linear-gradient(90deg, rgba(247, 243, 235, 0.72) 0%, rgba(247, 243, 235, 0.92) 34%, var(--editorial-cream) 100%);
}

.home-page .scene-gallery-main-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(2.45rem, 3.2vw, 3.25rem);
}

.home-page .scene-gallery-main-copy > p:not(.scene-gallery-number) {
  margin-bottom: 15px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.home-page .scene-gallery-main-copy .editorial-link {
  font-size: 0.85rem;
}

.home-page .scene-gallery-thumbnails {
  gap: 12px;
  margin-top: 38px;
}

.home-page .scene-thumbnail {
  position: relative;
}

.home-page .scene-thumbnail strong {
  width: 100%;
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  padding: 24px 10px 8px;
  color: var(--editorial-ink);
  background: linear-gradient(180deg, rgba(247, 243, 235, 0) 0%, rgba(247, 243, 235, 0.88) 100%);
}

.home-page .featured-single-copy {
  width: min(720px, 86%);
  z-index: 2;
  margin-top: -40px;
  padding: 18px 42px 2px 0;
  background: linear-gradient(90deg, var(--editorial-cream) 0%, rgba(247, 243, 235, 0.96) 82%, rgba(247, 243, 235, 0) 100%);
}

@media (max-width: 700px) {
  .home-page .editorial-hero-copy,
  .home-page[data-home-layout="b"] .editorial-hero-copy {
    width: 95%;
    top: auto;
    left: auto;
    margin-top: -48px;
    padding: 24px 18px 0 0;
    background: var(--editorial-cream);
  }

  .home-page .scene-gallery-main-copy {
    margin-left: 0;
    padding: 20px 18px 22px;
  }

  .home-page .scene-gallery-main-copy h3 {
    font-size: 2.8rem;
  }

  .home-page .scene-gallery-thumbnails {
    gap: 14px;
  }

  .home-page .featured-single-copy {
    width: 94%;
    margin-top: -34px;
    padding: 16px 20px 2px 0;
  }
}

/* Scene caption and editorial feature collage. */
.home-page .scene-gallery-main {
  display: block;
}

.home-page .scene-gallery-main-copy {
  display: grid;
  grid-template-columns: minmax(270px, 0.82fr) minmax(360px, 1.18fr);
  align-items: center;
  gap: 54px;
  margin: 0;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--editorial-line);
  background: transparent;
}

.home-page .scene-gallery-caption-title {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
}

.home-page .scene-gallery-caption-title .scene-gallery-number {
  margin: 0;
  white-space: nowrap;
}

.home-page .scene-gallery-caption-title h3 {
  margin: 0;
  font-size: clamp(2.35rem, 3vw, 3rem);
  line-height: 1.06;
}

.home-page .scene-gallery-caption-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.home-page .scene-gallery-caption-meta > p {
  max-width: 390px;
  margin: 0;
  color: var(--editorial-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.home-page .scene-gallery-caption-meta .editorial-link {
  flex: 0 0 auto;
  font-size: 0.84rem;
}

.home-page .scene-gallery-thumbnails {
  gap: 12px;
  margin-top: 30px;
}

.home-page .scene-thumbnail strong {
  position: static;
  padding: 9px 0 0;
  color: var(--editorial-ink);
  background: transparent;
  font-size: 1.05rem;
  line-height: 1.35;
}

.home-page .scene-thumbnail::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  margin-top: 6px;
  background: var(--editorial-accent);
}

.home-page .scene-thumbnail:focus-visible::after {
  width: 28px;
}

.home-page .featured-editorial .editorial-section-heading h2 {
  font-size: clamp(3.7rem, 5.2vw, 5rem);
  line-height: 1.02;
}

.home-page .featured-collage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}

.home-page .featured-collage-main {
  grid-column: 1 / 8;
  grid-row: 1 / 4;
}

.home-page .featured-collage-main .image-placeholder {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 5;
  border: 0;
}

.home-page .featured-collage-details {
  grid-column: 8 / 13;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-page .featured-detail .image-placeholder {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1;
  border: 0;
}

.home-page .featured-detail--wide {
  grid-column: 1 / 3;
}

.home-page .featured-detail--wide .image-placeholder {
  aspect-ratio: 16 / 8;
}

.home-page .featured-collage-copy {
  grid-column: 8 / 13;
  grid-row: 2 / 4;
  align-self: end;
  padding-top: 24px;
  border-top: 1px solid var(--editorial-line);
}

.home-page .featured-collage-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 3.6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.home-page .featured-collage-copy > p:not(.featured-item-line) {
  max-width: 500px;
  margin: 0 0 18px;
  color: var(--editorial-muted);
  line-height: 1.8;
}

.home-page .featured-item-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 22px;
  color: var(--editorial-ink);
  font-size: 0.86rem;
}

.home-page .featured-item-line span:not(:last-child)::after {
  content: " /";
  color: var(--editorial-accent);
}

@media (max-width: 700px) {
  .home-page .editorial-hero-copy h1,
  .home-page[data-home-layout="b"] .editorial-hero-copy h1 {
    font-size: clamp(2.75rem, 11.5vw, 3.25rem);
  }

  .home-page .scene-gallery-main-copy {
    display: block;
    padding: 18px 0 22px;
  }

  .home-page .scene-gallery-caption-title {
    margin-bottom: 14px;
  }

  .home-page .scene-gallery-caption-title h3 {
    font-size: 2.55rem;
  }

  .home-page .scene-gallery-caption-meta {
    display: block;
  }

  .home-page .scene-gallery-caption-meta > p {
    margin-bottom: 13px;
  }

  .home-page .featured-collage {
    display: block;
  }

  .home-page .featured-collage-main {
    margin-bottom: 14px;
  }

  .home-page .featured-collage-details {
    margin-bottom: 26px;
  }

  .home-page .featured-collage-copy {
    padding-top: 20px;
  }
}

/* Hero carousel, horizontal scene directory, and editorial feature topic. */
.home-page .hero-carousel {
  isolation: isolate;
}

.home-page .hero-slides,
.home-page .hero-slide {
  position: absolute;
  inset: 0;
}

.home-page .hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.home-page .hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.home-page .hero-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 18px;
  left: 0;
}

.home-page .hero-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(43, 43, 43, 0.34);
  cursor: pointer;
}

.home-page .hero-carousel-dot.is-active {
  width: 11px;
  height: 11px;
  background: var(--editorial-accent);
}

.home-page .hero-carousel-dot:disabled {
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-slide {
    transition: none;
  }
}

.home-page .scene-collage {
  display: flex;
  gap: 8px;
  padding-bottom: 4px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
}

.home-page .scene-collage::-webkit-scrollbar {
  display: none;
}

.home-page .scene-collage.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.home-page .scene-collage-item {
  flex: 0 0 min(264px, 22.4%);
  min-width: 0;
  display: flex;
  flex-direction: column;
  color: var(--editorial-ink);
  text-decoration: none;
  scroll-snap-align: start;
  user-select: none;
}

.home-page .scene-collage-media {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  background: #d2c7b9;
}

.home-page .scene-collage-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 38%;
}

.home-page .scene-collage-item--internship .scene-collage-media img,
.home-page .scene-collage-item--travel .scene-collage-media img {
  object-position: 50% 28%;
}

.home-page .scene-collage-item--internship .scene-collage-media,
.home-page .scene-collage-item--weekend .scene-collage-media {
  background: #c5b8aa;
}

.home-page .scene-collage-item--date .scene-collage-media {
  background: #ded5c9;
}

.home-page .scene-collage-item--travel .scene-collage-media {
  background: #bfb2a4;
}

.home-page .scene-collage-media i {
  position: absolute;
  inset: 0;
}

.home-page .scene-collage-media i::before {
  content: "";
  width: 14%;
  aspect-ratio: 1;
  position: absolute;
  top: 14%;
  left: 50%;
  border: 1px solid rgba(43, 33, 29, 0.38);
  border-radius: 50%;
  transform: translateX(-50%);
}

.home-page .scene-collage-media i::after {
  content: "";
  width: 36%;
  height: 56%;
  position: absolute;
  bottom: 8%;
  left: 50%;
  border: 1px solid rgba(43, 33, 29, 0.38);
  border-radius: 48% 48% 8% 8%;
  transform: translateX(-50%);
}

.home-page .scene-collage-media small {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: rgba(43, 33, 29, 0.58);
  font-size: 0.66rem;
}

.home-page .scene-catalog-caption {
  display: block;
  padding-top: 9px;
}

.home-page .scene-catalog-caption strong {
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.3;
}

.home-page .scene-collage-item:hover strong,
.home-page .scene-collage-item:focus-visible strong,
.home-page .scene-collage-item.is-current strong {
  color: var(--editorial-accent);
}

.home-page .scene-collage-item:focus-visible {
  outline: 1px solid var(--editorial-accent);
  outline-offset: 5px;
}

.home-page .featured-topic {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr;
  gap: 18px 28px;
}

.home-page .featured-topic-main {
  grid-column: 1 / 8;
  grid-row: 1 / 4;
}

.home-page .featured-topic-main .image-placeholder {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 5;
  border: 0;
}

.home-page .featured-topic-copy {
  grid-column: 8 / 13;
  grid-row: 1;
  padding: 0;
}

.home-page .featured-topic-copy .content-status {
  margin-bottom: 12px;
  color: var(--editorial-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.home-page .featured-topic-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 2.45vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.home-page .featured-topic-copy > p:not(.content-status) {
  max-width: 500px;
  margin: 0 0 16px;
  color: var(--editorial-muted);
  line-height: 1.7;
}

.home-page .featured-topic-details {
  grid-column: 8 / 13;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-page .featured-topic-detail .image-placeholder {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1;
  border: 0;
}

@media (max-width: 700px) {
  .home-page .hero-carousel-dots {
    bottom: 14px;
  }

  .home-page .scene-collage {
    gap: 8px;
    margin-right: calc(var(--page-pad) * -1);
    padding-right: var(--page-pad);
  }

  .home-page .scene-collage-item {
    flex-basis: 68vw;
  }

  .home-page .scene-catalog-caption strong {
    font-size: 1rem;
  }

  .home-page .featured-topic {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .home-page .featured-topic-main,
  .home-page .featured-topic-copy,
  .home-page .featured-topic-details {
    width: 100%;
  }

  .home-page .featured-topic-copy {
    order: 2;
  }

  .home-page .featured-topic-details {
    order: 3;
  }
}

/* Final desktop hero scale correction. Kept last so earlier concept rules cannot override it. */
@media (min-width: 901px) {
  .home-page .editorial-hero,
  .home-page[data-home-layout="b"] .editorial-hero {
    min-height: 650px;
    padding-block: 38px 68px;
  }

  .home-page .editorial-hero-media,
  .home-page[data-home-layout="b"] .editorial-hero-media {
    width: min(960px, 80%);
    height: 540px;
  }

  .home-page .editorial-hero-copy,
  .home-page[data-home-layout="b"] .editorial-hero-copy {
    width: min(500px, 46%);
    top: 82px;
    left: 54px;
  }

  .home-page .editorial-hero-copy h1,
  .home-page[data-home-layout="b"] .editorial-hero-copy h1 {
    font-size: clamp(3.75rem, 5vw, 4.7rem);
  }
}
