/*
  Full-site editorial system.
  Extends the selected quiet-luxury + procurement-system direction to every
  public page and every below-the-fold section without changing data contracts.
*/

:root {
  --editorial-shell: min(1480px, calc(100vw - 96px));
  --editorial-gutter: max(48px, calc((100vw - 1480px) / 2));
  --section-rule: 1px solid var(--line);
}

.site-main {
  overflow: clip;
}

.site-main > section,
.privacy-page {
  position: relative;
}

.site-main > section + section {
  margin-top: 0;
}

.section-heading--compact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .55fr);
  align-items: end;
  gap: 24px clamp(3rem, 8vw, 9rem);
  max-width: none;
}

.section-heading--compact .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -4px;
}

.section-heading--compact h2 {
  max-width: 850px;
}

.section-heading--compact > p:last-child {
  max-width: 42ch;
  color: var(--muted);
}

/* Real brand fields replace generic generated canvases when no verified photo exists. */
.brand-field {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  padding: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  color: #e2d4aa;
  background: #111311;
}

.brand-field::before,
.brand-field::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.brand-field::before {
  inset: 24px;
  border: 1px solid #303530;
}

.brand-field::after {
  width: 56px;
  height: 1px;
  right: 28px;
  bottom: 28px;
  background: #c9a968;
}

.brand-field img {
  position: relative;
  z-index: 1;
  width: min(58%, 360px);
  height: auto;
  max-height: 64%;
  object-fit: contain;
}

.brand-field > i {
  position: relative;
  z-index: 1;
  color: #d7ba76;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.brand-field > span,
.brand-field__label {
  position: relative;
  z-index: 1;
  color: #c4c8c0;
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}

.brand-field__index {
  position: absolute !important;
  top: 28px;
  left: 30px;
  color: #d7ba76 !important;
  font-family: var(--font-display) !important;
  font-size: clamp(2rem, 4vw, 4rem) !important;
  font-weight: 500 !important;
  letter-spacing: -.04em !important;
}

.brand-field--industry {
  min-height: 100%;
}

.brand-field--industry .brand-field__label {
  max-width: 18ch;
}

.brand-field--album,
.brand-field--album-empty,
.brand-field--case,
.brand-field--case-empty,
.brand-field--solution,
.brand-field--sequence,
.brand-field--hero {
  min-height: 100%;
}

.brand-field--sequence strong {
  position: absolute;
  right: 32px;
  bottom: 40px;
  color: #d7ba76;
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 500;
  line-height: .8;
}

/* Home: every section follows the same executive editorial rhythm. */
.page-home .proof-band {
  border: 0;
  background: var(--graphite);
  color: #f5f2e9;
}

.page-home .proof-band__inner {
  min-height: 150px;
  padding-block: 34px;
  border: 0;
}

.page-home .proof-band h2 {
  color: #f5f2e9;
  font-family: var(--font-display);
}

.page-home .proof-band p {
  color: #adb1a9;
  line-height: 1.75;
}

.page-home .client-logos img {
  padding: 10px 18px;
  border: 1px solid #383d38;
  background: #f5f4ef;
  filter: grayscale(1) contrast(.95);
}

.page-home .procurement-path {
  width: 100%;
  padding-inline: var(--editorial-gutter);
  background: var(--surface-strong);
}

.page-home .procurement-path__intro {
  width: min(1480px, 100%);
  margin-inline: auto;
}

.page-home .procurement-path__steps {
  width: min(1480px, 100%);
  margin-inline: auto;
  margin-top: clamp(3rem, 5vw, 5rem);
}

.page-home .procurement-path__steps li {
  min-height: 230px;
  align-content: end;
  background: var(--surface-strong);
}

.page-home .procurement-path__steps > li > span {
  align-self: start;
  color: #80652f;
  font-size: clamp(3.4rem, 5vw, 5.5rem);
}

.page-home .industry-section {
  padding-block: clamp(5rem, 9vw, 9rem);
}

.maintained-empty {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin-top: clamp(2rem, 4vw, 4rem);
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line-strong);
  background: var(--surface-strong);
}

.maintained-empty h2,
.maintained-empty h3 {
  max-width: 22ch;
  font-size: clamp(1.75rem, 3vw, 3rem);
}

.maintained-empty p {
  max-width: 58rem;
  color: var(--muted);
}

.maintained-empty-section {
  padding-block: clamp(3rem, 7vw, 7rem);
}

.page-home .industry-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(3.5rem, 7vw, 7rem);
  border: var(--section-rule);
  background: var(--line);
}

.page-home .industry-scene-gallery {
  margin-block: clamp(2rem, 5vw, 4rem);
}

.page-home .industry-scene-gallery__intro {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.25rem;
}

.page-home .industry-scene-gallery__intro > p:last-child {
  max-width: 38rem;
  color: var(--muted);
}

.page-home .industry-scene-gallery__grid,
.page-solutions .solution-scene-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.page-home .industry-scene-gallery__media,
.page-solutions .solution-scene-gallery__grid .governed-media {
  min-height: clamp(22rem, 40vw, 38rem);
}

.page-home .industry-piece {
  min-height: clamp(22rem, 28vw, 28rem);
  grid-template-rows: minmax(0, 1fr);
}

.page-home .industry-piece--text-only {
  grid-column: span 3 !important;
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(22rem, 28vw, 28rem);
  grid-template-rows: minmax(0, 1fr);
  margin-top: 0;
}

.page-home .industry-piece--text-only:nth-child(4n + 1):last-child {
  grid-column: 4 / span 6 !important;
}

.page-home .industry-piece--text-only:nth-child(4n + 1):nth-last-child(2),
.page-home .industry-piece--text-only:nth-child(4n + 2):last-child {
  grid-column: span 6 !important;
}

.page-home .industry-piece--text-only:nth-child(4n + 1):nth-last-child(3),
.page-home .industry-piece--text-only:nth-child(4n + 2):nth-last-child(2),
.page-home .industry-piece--text-only:nth-child(4n + 3):last-child {
  grid-column: span 4 !important;
}

.page-home .industry-piece--text-only .industry-piece__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: clamp(2rem, 3.2vw, 3.5rem);
  border-top: 0;
}

.page-home .industry-piece--text-only .industry-piece__body > i {
  margin-bottom: clamp(2.25rem, 5vw, 4.75rem);
}

.page-home .industry-piece--text-only .industry-piece__body h3 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(1.65rem, 2.15vw, 2.25rem);
  line-height: 1.2;
  text-wrap: balance;
}

.page-home .industry-piece--text-only .industry-piece__body p {
  margin: 1rem 0 0;
}

.page-home .industry-piece--text-only .industry-piece__body a {
  margin-top: auto;
  padding-top: 2rem;
  white-space: nowrap;
}

.page-home .industry-piece__visual {
  min-height: 300px;
  background: var(--graphite);
}

.page-home .industry-piece__body {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.page-home .industry-piece__body > i {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 1.4rem;
}

.page-home .industry-piece__body h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}

.page-home .industry-piece--4 .industry-piece__body {
  border-top-color: #343834;
}

@media (hover: hover) {
  .page-home .industry-piece--text-only:not(.industry-piece--4):hover {
    background: var(--surface-strong);
  }
}

.page-home .album-section {
  width: 100%;
  padding: clamp(5rem, 9vw, 9rem) var(--editorial-gutter);
  border: 0;
  background: var(--graphite);
  color: #f4f1e8;
}

.page-home .album-section__intro,
.page-home .album-showcase,
.page-home .album-empty {
  width: min(1480px, 100%);
  margin-inline: auto;
}

.page-home .album-section__intro p {
  color: #aeb2aa;
}

.page-home .album-section .text-link,
.page-home .album-preview a {
  color: #f4f1e8;
}

.page-home .album-showcase {
  padding-bottom: 28px;
}

.page-home .album-preview__media {
  border: 1px solid #343834;
  background: #171a17;
}

.page-home .album-empty {
  grid-template-columns: minmax(320px, .9fr) minmax(320px, 1.1fr);
  margin-top: clamp(3rem, 6vw, 6rem);
  border-color: #343834;
  background: #171a17;
}

.page-home .album-empty > div:last-child {
  align-content: center;
  padding: clamp(2.5rem, 6vw, 6rem);
}

.page-home .album-empty h3,
.page-home .album-empty a {
  color: #f4f1e8;
}

.page-home .album-empty p {
  color: #aeb2aa;
}

.page-home .closing-call {
  width: 100%;
  padding-inline: var(--editorial-gutter);
  border: 0;
  background: #d8c79a;
  color: #111311;
}

.page-home .closing-call > * {
  max-width: 1480px;
}

.page-home .closing-call .button--primary {
  color: #fffefa;
  background: #111311;
}

.page-home .closing-call p {
  color: #2d342e;
}

/* Shared interior hero: measured split, dark verified-media fallback. */
.page-about .inner-hero,
.page-solutions .inner-hero {
  width: 100%;
  grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr);
  min-height: 620px;
  background: var(--surface-strong);
}

.page-about .inner-hero__copy,
.page-solutions .inner-hero__copy {
  align-content: center;
  padding: clamp(4rem, 7vw, 7rem) clamp(3rem, 6vw, 6rem) clamp(4rem, 7vw, 7rem) var(--editorial-gutter);
}

.page-about .inner-hero__copy p,
.page-solutions .inner-hero__copy p {
  max-width: 38ch;
  color: var(--muted);
  line-height: 1.85;
}

.page-about .inner-hero__visual,
.page-solutions .inner-hero__visual {
  min-height: 620px;
  border: 0;
}

/* About */
.page-about .about-statement {
  width: 100%;
  grid-template-columns: minmax(300px, .75fr) minmax(460px, 1.25fr);
  padding: clamp(5rem, 9vw, 9rem) var(--editorial-gutter);
  border: 0;
  background: var(--graphite);
  color: #f5f2e9;
}

.page-about .about-statement__name,
.page-about .about-statement__copy {
  width: 100%;
  max-width: 760px;
}

.page-about .about-statement__name h2 {
  color: #f5f2e9;
  font-size: clamp(2.7rem, 4.8vw, 5rem);
}

.page-about .about-statement .section-kicker {
  color: #d7ba76;
}

.page-about .about-statement__copy p {
  color: #b8bcb4;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.9;
}

.page-about .principles {
  padding-block: clamp(5rem, 9vw, 9rem);
  border: 0;
}

.page-about .principle-list {
  margin-top: clamp(3rem, 6vw, 6rem);
  counter-reset: principles;
  border-top: 1px solid var(--line-strong);
}

.page-about .principle-row {
  counter-increment: principles;
  grid-template-columns: 56px minmax(180px, .55fr) minmax(300px, 1.45fr) 72px;
  min-height: 150px;
  align-items: center;
  padding: 26px 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.page-about .principle-row::after {
  content: "0" counter(principles);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 2.6rem;
  text-align: right;
}

.page-about .principle-row h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
}

.page-about .craft-sequence {
  width: 100%;
  grid-template-columns: minmax(360px, .8fr) minmax(520px, 1.2fr);
  gap: 0;
  padding: 0 var(--editorial-gutter) clamp(6rem, 10vw, 10rem);
  background: var(--surface-strong);
}

.page-about .craft-sequence__canvas {
  min-height: 720px;
  border: 0;
}

.page-about .craft-sequence__content {
  padding: clamp(3rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-about .sequence-list {
  margin-top: 40px;
  counter-reset: sequence;
}

.page-about .sequence-list li {
  counter-increment: sequence;
  min-height: 58px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
}

.page-about .sequence-list li::before {
  content: counter(sequence, decimal-leading-zero);
  color: var(--accent);
  font-size: .68rem;
  font-weight: 700;
}

.page-about .sequence-list h3 {
  font-family: var(--font-sans);
  font-size: .94rem;
  font-weight: 650;
}

/* Solutions */
.page-solutions .solution-index {
  width: 100%;
  grid-template-columns: minmax(320px, .8fr) minmax(500px, 1.2fr);
  padding: clamp(4.5rem, 8vw, 8rem) var(--editorial-gutter);
  border: 0;
  background: var(--graphite);
  color: #f5f2e9;
}

.page-solutions .solution-index__intro h2 {
  color: #f5f2e9;
  font-size: clamp(2.4rem, 4vw, 4.25rem);
}

.page-solutions .solution-index__intro p {
  color: #aeb2aa;
}

.page-solutions .solution-index__links a {
  min-height: 72px;
  color: #e2e3de;
  border-color: #343834;
}

.page-solutions .solution-index__links a:hover {
  color: #e2d4aa;
  border-color: #c9a968;
}

.page-solutions .solution-chapters {
  padding-block: clamp(3rem, 6vw, 6rem);
}

.page-solutions .solution-scene-gallery {
  padding-block: clamp(4rem, 8vw, 8rem);
}

.page-solutions .solution-chapter--text-only,
.page-solutions .solution-chapter--text-only.solution-chapter--wide,
.page-solutions .solution-chapter--text-only.solution-chapter--reverse {
  grid-template-columns: minmax(0, 1fr);
}

.page-solutions .solution-chapter--text-only .solution-chapter__content,
.page-solutions .solution-chapter--text-only.solution-chapter--reverse .solution-chapter__content {
  grid-column: 1;
  min-height: clamp(22rem, 32vw, 34rem);
  border-inline: 1px solid var(--line);
}

.page-solutions .solution-chapter,
.page-solutions .solution-chapter--wide {
  min-height: 610px;
  grid-template-columns: minmax(420px, 1.05fr) minmax(400px, .95fr);
  gap: 0;
  padding-block: clamp(2rem, 4vw, 4rem);
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.page-solutions .solution-chapter--reverse {
  grid-template-columns: minmax(400px, .95fr) minmax(420px, 1.05fr);
}

.page-solutions .solution-chapter__visual {
  min-height: 520px;
  border: 0;
}

.page-solutions .solution-chapter__content {
  align-content: center;
  padding: clamp(3rem, 7vw, 7rem);
  border: 1px solid var(--line);
  border-left: 0;
  background: var(--surface-strong);
}

.page-solutions .solution-chapter--reverse .solution-chapter__content {
  border-right: 0;
  border-left: 1px solid var(--line);
}

.page-solutions .solution-chapter__content h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.page-solutions .solution-chapter__content > p {
  color: var(--muted);
  line-height: 1.85;
}

.page-solutions .solution-chapter__content ul {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.page-solutions .solution-chapter__content li {
  min-height: 48px;
  border-bottom: 1px solid var(--line);
}

.page-solutions .cooperation {
  width: 100%;
  padding: clamp(5rem, 9vw, 9rem) var(--editorial-gutter);
  border: 0;
  background: #d8c79a;
  color: #111311;
}

.page-solutions .cooperation .section-kicker,
.page-solutions .cooperation p {
  color: #3d443e;
}

.page-solutions .cooperation-flow {
  margin-top: clamp(3rem, 6vw, 6rem);
  counter-reset: cooperation;
  border-top: 1px solid #81765a;
  border-bottom: 1px solid #81765a;
}

.page-solutions .cooperation-flow article {
  counter-increment: cooperation;
  min-height: 190px;
  padding: 28px;
  border-top: 0;
  border-right: 1px solid #81765a;
}

.page-solutions .cooperation-flow article:last-child {
  border-right: 0;
}

.page-solutions .cooperation-flow article::before {
  content: "0" counter(cooperation);
  color: #5e5743;
  font-family: var(--font-display);
  font-size: 2.4rem;
}

/* Cases */
.page-cases .case-hero {
  width: 100%;
  min-height: 600px;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(5rem, 9vw, 9rem) var(--editorial-gutter);
  border: 0;
  background: var(--graphite);
  color: #f5f2e9;
}

.page-cases .case-hero h1 {
  max-width: 900px;
  color: #f5f2e9;
}

.page-cases .case-hero__summary {
  padding-top: 28px;
  border-top: 1px solid #3b403b;
}

.page-cases .case-hero__summary p {
  color: #b5b9b1;
}

.page-cases .case-hero .button--primary {
  color: #111311;
  background: #d8c79a;
}

.page-cases .case-gallery {
  padding-block: clamp(5rem, 9vw, 9rem);
  border: 0;
}

.page-cases .case-layout {
  margin-top: clamp(3.5rem, 7vw, 7rem);
}

.page-cases .case-item,
.page-cases .case-item--featured {
  min-height: 560px;
  grid-template-columns: minmax(460px, 1.1fr) minmax(340px, .9fr);
  gap: 0;
  border: 1px solid var(--line);
}

.page-cases .case-item__media {
  min-height: 560px;
  border: 0;
}

.page-cases .case-item__body {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(3rem, 7vw, 7rem);
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--surface-strong);
}

.page-cases .case-item__body h3 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.page-cases .case-item__logo {
  max-width: 180px;
  max-height: 74px;
  object-fit: contain;
  object-position: left center;
}

.page-cases .case-method {
  width: 100%;
  padding: clamp(5rem, 9vw, 9rem) var(--editorial-gutter);
  border: 0;
  background: var(--graphite);
  color: #f5f2e9;
}

.page-cases .case-method h2 {
  color: #f5f2e9;
}

.page-cases .case-method__copy p,
.page-cases .case-method__points p {
  color: #b3b7af;
}

.page-cases .case-method__points p {
  min-height: 74px;
  border-color: #343834;
}

/* Contact */
.page-contact .contact-hero {
  width: 100%;
  min-height: 560px;
  grid-template-columns: minmax(0, 1.15fr) minmax(400px, .85fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(5rem, 9vw, 9rem) var(--editorial-gutter);
  border: 0;
  background: var(--graphite);
  color: #f5f2e9;
}

.page-contact .contact-hero h1 {
  max-width: 900px;
  color: #f5f2e9;
}

.page-contact .contact-hero__copy p,
.page-contact .contact-detail span {
  color: #aeb2aa;
}

.page-contact .contact-detail {
  min-height: 118px;
  color: #f5f2e9;
  border-color: #3a3f3a;
}

.page-contact .contact-detail p,
.page-contact .contact-detail p a {
  color: #f5f2e9;
}

.page-contact .contact-detail a,
.page-contact .contact-detail i {
  color: #d7ba76;
}

.page-contact .contact-workspace {
  width: 100%;
  grid-template-columns: minmax(620px, 1.25fr) minmax(340px, .75fr);
  align-items: start;
  padding: clamp(5rem, 9vw, 9rem) var(--editorial-gutter);
  border: 0;
  background: var(--surface);
}

.page-contact .contact-workspace__form {
  padding: clamp(2.5rem, 5vw, 5rem);
  background: var(--surface-strong);
}

.page-contact .form-intro {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.page-contact .form-intro h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.page-contact .contact-form {
  margin-top: 34px;
}

.page-contact .field input,
.page-contact .field textarea {
  min-height: 52px;
  border-color: var(--line-strong);
  background: var(--bg);
}

.page-contact .file-drop {
  min-height: 168px;
  border-style: solid;
}

.page-contact .contact-workspace__aside {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.page-contact .wechat-card {
  border-color: #303530;
  background: var(--graphite);
  color: #f5f2e9;
}

.page-contact .wechat-card__top p,
.page-contact .wechat-card__account {
  color: #adb1a9;
}

.page-contact .wechat-card > img {
  width: calc(100% - 64px);
  margin: 32px;
  padding: 18px;
  background: #fff;
}

.page-contact .submission-note {
  margin-top: 18px;
}

.page-contact .contact-faq {
  width: 100%;
  grid-template-columns: minmax(300px, .72fr) minmax(520px, 1.28fr);
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(5rem, 9vw, 9rem) var(--editorial-gutter);
  border: 0;
}

.page-contact .contact-faq h2 {
  max-width: 7ch;
  font-size: clamp(2.8rem, 4.5vw, 4.6rem);
}

.page-contact .faq-list details {
  min-height: 76px;
}

.page-contact .faq-list summary {
  padding-block: 24px;
}

.page-contact .address-band {
  width: 100%;
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(340px, .7fr) minmax(520px, 1.3fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(5rem, 9vw, 9rem) var(--editorial-gutter);
  border: 0;
  background: #d8c79a;
  color: #111311;
}

.address-band__brand {
  min-height: 330px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 48px;
  background: var(--graphite);
}

.address-band__brand img {
  width: min(72%, 320px);
  height: auto;
}

.address-band__brand span {
  color: #bfc3bb;
  font-size: .68rem;
  letter-spacing: .18em;
}

.page-contact .address-band h2 {
  max-width: 800px;
  color: #111311;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.page-contact .address-band .button--secondary {
  border-color: #111311;
  color: #111311;
}

/* Privacy and 404 */
.page-privacy .privacy-page {
  width: 100%;
  padding: 0 0 clamp(6rem, 10vw, 10rem);
}

.page-privacy .privacy-page__header {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: clamp(5rem, 9vw, 9rem) var(--editorial-gutter);
  background: var(--graphite);
  color: #f5f2e9;
}

.page-privacy .privacy-page__header h1 {
  color: #f5f2e9;
  font-size: clamp(4rem, 8vw, 8rem);
}

.page-privacy .privacy-page__header p {
  color: #b4b8b0;
}

.page-privacy .privacy-page__content,
.page-privacy .privacy-page__actions {
  width: var(--editorial-shell);
  margin-inline: auto;
}

.page-privacy .privacy-page__content {
  counter-reset: privacy;
  padding-top: clamp(4rem, 7vw, 7rem);
}

.page-privacy .privacy-page__content section {
  counter-increment: privacy;
  position: relative;
  grid-template-columns: minmax(200px, .45fr) minmax(480px, 1.55fr);
  min-height: 180px;
  padding: 34px 0 34px 84px;
}

.page-privacy .privacy-page__content section::before {
  content: counter(privacy, decimal-leading-zero);
  position: absolute;
  top: 34px;
  left: 0;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 2.4rem;
}

.page-privacy .privacy-page__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.page-privacy .privacy-page__content p {
  line-height: 1.85;
}

.page-not-found .not-found {
  width: 100%;
  min-height: calc(100dvh - var(--header-height));
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  gap: 0;
  padding: 0;
  border: 0;
  background: var(--surface-strong);
}

.page-not-found .not-found__copy {
  align-content: center;
  padding: clamp(4rem, 8vw, 8rem) clamp(3rem, 7vw, 7rem) clamp(4rem, 8vw, 8rem) var(--editorial-gutter);
}

.page-not-found .not-found__visual {
  min-height: inherit;
  border: 0;
}

/* Closing sections share one decisive end-state. */
.page-about .closing-call,
.page-solutions .closing-call,
.page-cases .closing-call {
  width: 100%;
  padding: clamp(5rem, 9vw, 9rem) var(--editorial-gutter);
}

.closing-call > div {
  max-width: 1000px;
}

/* Mobile: preserve the hierarchy without desktop-sized empty areas. */
@media (max-width: 1100px) {
  .page-home .industry-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .industry-piece--text-only,
  .page-home .industry-piece--text-only:nth-child(4n + 1):last-child,
  .page-home .industry-piece--text-only:nth-child(4n + 1):nth-last-child(2),
  .page-home .industry-piece--text-only:nth-child(4n + 2):last-child,
  .page-home .industry-piece--text-only:nth-child(4n + 1):nth-last-child(3),
  .page-home .industry-piece--text-only:nth-child(4n + 2):nth-last-child(2),
  .page-home .industry-piece--text-only:nth-child(4n + 3):last-child {
    grid-column: span 1 !important;
  }

  .page-home .industry-piece--text-only:nth-child(odd):last-child {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 900px) {
  :root {
    --editorial-shell: min(100% - 40px, 820px);
    --editorial-gutter: 20px;
  }

  .section-heading--compact,
  .page-about .about-statement,
  .page-about .craft-sequence,
  .page-solutions .solution-index,
  .page-solutions .solution-chapter,
  .page-solutions .solution-chapter--wide,
  .page-solutions .solution-chapter--reverse,
  .page-cases .case-hero,
  .page-cases .case-item,
  .page-cases .case-item--featured,
  .page-contact .contact-hero,
  .page-contact .contact-workspace,
  .page-contact .contact-faq,
  .page-contact .address-band,
  .page-not-found .not-found {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-heading--compact .section-kicker,
  .section-heading--compact h2,
  .section-heading--compact > p:last-child {
    grid-column: auto;
  }

  .brand-field::before {
    inset: 16px;
  }

  .page-about .inner-hero,
  .page-solutions .inner-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .page-about .inner-hero__copy,
  .page-solutions .inner-hero__copy {
    min-height: 520px;
    padding: 72px 20px;
  }

  .page-about .inner-hero__visual,
  .page-solutions .inner-hero__visual {
    min-height: 480px;
  }

  .page-home .procurement-path__steps li {
    min-height: 170px;
  }

  .page-home .industry-piece {
    min-height: 0;
  }

  .page-home .album-empty {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-about .about-statement {
    gap: 48px;
  }

  .page-about .principle-row {
    grid-template-columns: 38px 1fr;
    gap: 12px 18px;
    padding: 24px 0;
  }

  .page-about .principle-row p {
    grid-column: 2;
  }

  .page-about .principle-row::after {
    display: none;
  }

  .page-about .craft-sequence {
    padding-bottom: 72px;
  }

  .page-about .craft-sequence__canvas {
    min-height: 420px;
  }

  .page-about .craft-sequence__content {
    padding: 38px 24px;
    border: 1px solid var(--line);
    border-top: 0;
  }

  .page-solutions .solution-index {
    gap: 48px;
  }

  .page-solutions .solution-chapter,
  .page-solutions .solution-chapter--wide,
  .page-solutions .solution-chapter--reverse {
    min-height: 0;
    padding-block: 24px;
  }

  .page-solutions .solution-chapter__visual {
    min-height: 390px;
  }

  .page-solutions .solution-chapter__content,
  .page-solutions .solution-chapter--reverse .solution-chapter__content {
    padding: 38px 24px;
    border: 1px solid var(--line);
    border-top: 0;
  }

  .page-solutions .cooperation-flow article {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid #81765a;
  }

  .page-solutions .cooperation-flow article:last-child {
    border-bottom: 0;
  }

  .page-cases .case-hero,
  .page-contact .contact-hero {
    min-height: 0;
    align-items: start;
  }

  .page-cases .case-item__media {
    min-height: 410px;
  }

  .page-cases .case-item__body {
    padding: 38px 24px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .page-contact .contact-workspace__aside {
    position: static;
  }

  .page-contact .contact-workspace__form {
    padding: 32px 20px;
  }

  .page-contact .address-band {
    min-height: 0;
  }

  .address-band__brand {
    min-height: 300px;
  }

  .page-privacy .privacy-page__header {
    padding-inline: 20px;
  }

  .page-privacy .privacy-page__content section {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 84px 0 34px;
  }

  .page-privacy .privacy-page__content section::before {
    top: 28px;
  }

  .page-not-found .not-found__copy {
    min-height: 520px;
    padding: 72px 20px;
  }

  .page-not-found .not-found__visual {
    min-height: 480px;
  }
}

@media (max-width: 620px) {
  :root {
    --editorial-shell: min(100% - 32px, 560px);
    --editorial-gutter: 16px;
  }

  .page-home .industry-section,
  .page-about .principles,
  .page-cases .case-gallery {
    padding-block: 72px;
  }

  .page-home .industry-mosaic {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home .industry-piece--text-only,
  .page-home .industry-piece--text-only:nth-child(odd):last-child {
    grid-column: 1 / -1 !important;
  }

  .page-home .industry-piece--text-only .industry-piece__body {
    min-height: 20rem;
  }

  .page-home .album-section,
  .page-about .about-statement,
  .page-solutions .solution-index,
  .page-solutions .cooperation,
  .page-cases .case-hero,
  .page-cases .case-method,
  .page-contact .contact-hero,
  .page-contact .contact-workspace,
  .page-contact .contact-faq,
  .page-contact .address-band,
  .page-about .closing-call,
  .page-solutions .closing-call,
  .page-cases .closing-call {
    padding-block: 72px;
  }

  .brand-field {
    min-height: 320px;
  }

  .page-home .industry-piece__visual {
    min-height: 320px;
  }

  .page-home .industry-scene-gallery__intro {
    display: block;
  }

  .page-home .industry-scene-gallery__grid,
  .page-solutions .solution-scene-gallery__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home .industry-scene-gallery__media,
  .page-solutions .solution-scene-gallery__grid .governed-media {
    min-height: 320px;
  }

  .page-contact .wechat-card > img {
    width: calc(100% - 40px);
    margin: 20px;
    padding: 12px;
  }
}
