/* ==========================================================================
   CDIA — Cognition Design International Art
   Tokens and layout lifted from the Claude Design handoff prototype.
   The prototype used inline styles with a JS `isMobile` flag; here the same
   breakpoint (760px) lives in media queries so layout works without JS.
   ========================================================================== */

:root {
  /* Surfaces */
  --paper: #efede8;
  --paper-alt: #e8e5de;
  --paper-deep: #dedad0;
  --paper-soft: #e9e7e2;
  --paper-warm: #ece8e1;
  --card: #fbfaf6;
  --card-bright: #f6f4ef;
  --dark: #25241f;
  --dark-arts: #2c2a30;

  /* Ink */
  --ink: #25241f;
  --ink-title: #33332e;
  --ink-body: #6e6c65;
  --ink-soft: #5c5a52;
  --ink-faint: #8c887e;
  --ink-ghost: #9a968b;
  --ink-nav: #7a786f;

  /* Accents */
  --plum: #6b4e7a;
  --plum-light: #a98cb3;
  --plum-line: #c7b2cc;
  --plum-border: #b0a6b6;
  --blue: #4a6b87;
  --indigo: #2c4a63;
  --blue-border: #9cb0c0;
  --ochre: #a67b4f;
  --sand: #e7d9b8;
  --sand-deep: #d9c7a6;
  --rust: #b3402f;

  /* Lines */
  --line: rgba(60, 58, 52, 0.2);
  --line-soft: rgba(60, 58, 52, 0.14);
  --line-strong: rgba(60, 58, 52, 0.25);
  --line-nav: #dad6cc;
  --line-field: #cdcabf;
  --line-proof: #cfcabe;

  /* Type stacks */
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --font-cond: "Barlow Condensed", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", "Noto Serif TC", "Songti TC", serif;
  --font-display: "Playfair Display", serif;

  /* Rhythm */
  --gutter: clamp(20px, 5vw, 80px);
  --section-y: clamp(64px, 9vw, 150px);
  --shadow-art: 0 30px 60px -34px rgba(60, 58, 52, 0.5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-title);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--plum); }
a:hover { color: var(--ink-title); }

img { max-width: 100%; }

button { font: inherit; }

/* Screen-reader-only, used for the page-level h1 the prototype never had. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@keyframes cdiaKenburns {
  0% { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.16) translate(-1.4%, -1.6%); }
}

@keyframes cdiaFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Respect users who ask for less motion — every pan here is decorative. The
   hero video is handled in app.js, which withholds `autoplay` entirely. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

/* ============================ SHELL ============================ */

.page-wrap {
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}

.shell--wide { max-width: 1280px; }
.shell--narrow { max-width: 920px; }
.shell--tight { max-width: 900px; }

/* ============================ NAV ============================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(244, 242, 236, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-nav);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}

.nav__iris { display: inline-flex; color: var(--plum); }

.nav__brand-wrap { display: flex; flex-direction: column; line-height: 1; }

.nav__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.nav__brand-row { display: flex; align-items: baseline; gap: 10px; }

.nav__brand-zh {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  color: var(--plum);
  white-space: nowrap;
}

.nav__brand-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

.nav__link {
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  text-decoration: none;
  padding: 6px 2px;
  white-space: nowrap;
  color: var(--ink-nav);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

.nav__link.is-active {
  color: var(--ink);
  border-bottom-color: var(--plum);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Phone only — the desktop nav shows all six links, so there is nothing to
   open. `display` is flipped in the 759px block below. */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 1px;
  cursor: pointer;
  padding: 0;
}

.nav__burger-line {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  margin: 0 auto;
}

.nav__lang {
  font-family: var(--font-cond);
  font-weight: 700;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 7px 15px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  cursor: pointer;
  border-radius: 1px;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__lang:hover { background: var(--ink); color: var(--card-bright); }

/* Opening the phone menu moves focus into the panel, so the ring has to be
   unmissable — the UA default sits awkwardly on this pale ground. */
.nav__link:focus-visible,
.nav__lang:focus-visible,
.nav__burger:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 2px;
}

@media (max-width: 759px) {
  /* Six nowrap links plus the logo cannot fit one 390px row — left inline they
     force the whole document wider than the viewport and every section scrolls
     sideways. They collapse behind the burger instead, and open as a full-width
     panel under the bar; `.nav` stays wrappable so that panel gets its own row. */
  .nav { padding: 12px 18px; flex-wrap: wrap; row-gap: 0; }
  .nav__brand { font-size: 1.15rem; }
  .nav__brand-zh { font-size: 0.7rem; }
  .nav__brand-sub { display: none; }
  .nav__burger { display: flex; }
  .nav__links { display: none; }
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    order: 4;
    flex: 1 0 100%;
    min-width: 0;
    gap: 2px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line-nav);
  }
  /* Bigger than the desktop link and full-width, so each row is its own tap
     target rather than six labels crowded together. */
  .nav__link {
    width: 100%;
    font-size: 1rem;
    letter-spacing: 0.08em;
    padding: 10px 2px;
  }
}

/* ============================ SHARED TYPE ============================ */

.eyebrow {
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.875rem;
  margin: 0 0 28px;
  color: var(--rust);
}

.eyebrow--plum { color: var(--plum); }
.eyebrow--blue { color: var(--blue); }
.eyebrow--center { margin-left: auto; margin-right: auto; }

/* Plum at full strength fails contrast on the dark arts header, so lift it
   there. The prototype used one plum everywhere and the eyebrow disappeared. */
.arts-head .eyebrow--plum { color: #c8aed4; }

.display-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--ink-title);
  margin: 0 0 32px;
}

.display-title--flush { margin-bottom: 0; }

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.22;
  color: var(--ink-title);
  margin: 0 0 24px;
}

.section-intro {
  color: var(--ink-body);
  font-size: clamp(1.0625rem, 1.3vw, 1.2rem);
  line-height: 1.85;
  max-width: 640px;
  margin: 0 0 clamp(36px, 4vw, 56px);
}

.section-intro--flush { margin-bottom: 0; }

.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 1.5rem;
  color: var(--plum);
  margin: 0;
}

.lede {
  color: var(--ink-body);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 440px;
  margin: 0;
}

.page-head { background: var(--paper); }

.page-head__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 120px) var(--gutter) 0;
}

.page-head__inner--wide { max-width: 1280px; }
.page-head__inner--narrow { max-width: 920px; text-align: center; }

.page-head__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.12;
  color: var(--ink-title);
  margin: 0;
}

.page-head__title--tight { margin-bottom: 14px; }

/* ============================ BUTTONS ============================ */

.btn {
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-block;
  padding: 16px 30px;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--plum);
  color: var(--card-bright);
  border: 1px solid var(--plum);
}

.btn--primary:hover { background: #5a4067; color: var(--card-bright); }

.btn--secondary {
  background: transparent;
  color: var(--ink-title);
  border: 1px solid var(--plum-border);
}

.btn--secondary:hover { border-color: var(--plum); color: var(--plum); }

.btn--pill {
  border-radius: 999px;
  background: var(--card-bright);
  color: var(--ink);
  border: none;
  padding: 15px 30px;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.1em;
}

.btn--pill:hover { background: #fff; color: var(--ink); }

/* ============================ HOME — VIDEO HERO ============================ */

.video-hero {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  min-height: 82vh;
  display: flex;
}

/* The brand film. It carries its own motion, so no Ken Burns pan here — and the
   poster is the film's own first frame, so there is no jump when it starts. */
.video-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Both driven by wireHeroVideo(): for the closing title card the frame is shown
   whole rather than cropped to the hero's shape, dissolving through the dark
   background because object-fit itself cannot be transitioned. */
.video-hero__video.is-contain { object-fit: contain; }
.video-hero__video.is-refitting { opacity: 0; }

/* Yields to the film's closing title card — see wireHeroVideo() in app.js.
   The CTA sits outside this wrapper so it never becomes unclickable. */
.video-hero__copy { transition: opacity 0.9s ease; }
.video-hero.is-end-card .video-hero__copy { opacity: 0; }

.video-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 19, 16, 0.32) 0%, rgba(20, 19, 16, 0.15) 40%, rgba(20, 19, 16, 0.7) 100%),
    linear-gradient(90deg, rgba(44, 74, 99, 0.28) 0%, rgba(107, 78, 122, 0.16) 60%, rgba(20, 19, 16, 0) 100%);
}

.video-hero__tag {
  font-family: var(--font-cond);
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.62rem;
  color: #edeae1;
  background: rgba(20, 19, 16, 0.4);
  border: 1px solid rgba(237, 234, 225, 0.4);
  backdrop-filter: blur(4px);
  padding: 7px 13px;
  border-radius: 999px;
}

.video-hero__content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 0 clamp(28px, 5vw, 72px) clamp(48px, 6vw, 84px);
  max-width: 760px;
}

.video-hero__kicker {
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--sand);
  margin: 0 0 18px;
}

/* Sized for the full slogan sentence, not the two-word headline the earlier
   handoff used — hence smaller than a hero headline would normally be. */
.video-hero__title {
  font-family: var(--font-serif);
  white-space: pre-line;
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1.04;
  color: var(--card);
  margin: 0 0 20px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.video-hero__slogan {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  color: var(--sand);
  margin: 0 0 18px;
}

.video-hero__sub {
  color: #e6e4dd;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 0 30px;
}

@media (max-width: 759px) {
  .video-hero { min-height: 68vh; }
  .video-hero__tag { top: 16px; right: 16px; }
  .video-hero__content { padding: 0 22px 44px; }
}

/* ============================ HOME — CAPTURE ============================ */

.capture { position: relative; overflow: hidden; background: var(--dark); }

.capture__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(37, 36, 31, 0.9) 0%, rgba(37, 36, 31, 0.68) 48%, rgba(37, 36, 31, 0.42) 100%),
    url("../assets/hero-house.webp") center / cover no-repeat;
}

.capture__card {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 96px) var(--gutter);
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.capture__copy { max-width: 520px; }

.capture__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.16;
  color: var(--card);
  margin: 0 0 14px;
}

.capture__sub { color: #cfccc2; font-size: 0.95rem; line-height: 1.7; margin: 0; }

.capture__form {
  display: flex;
  gap: 12px;
  flex: 1;
  min-width: 300px;
  max-width: 460px;
}

.capture__input {
  flex: 1;
  font-family: var(--font-body);
  background: rgba(251, 250, 246, 0.95);
  border: 1px solid var(--line-field);
  color: #25271f;
  padding: 15px 16px;
  font-size: 0.9375rem;
  border-radius: 2px;
}

.capture__btn {
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--plum);
  color: var(--card-bright);
  border: 1px solid var(--plum);
  padding: 15px 22px;
  font-size: 0.85rem;
  white-space: nowrap;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.capture__btn:hover { background: #5a4067; }

@media (max-width: 759px) {
  .capture__card { flex-direction: column; align-items: stretch; }
  /* The button label is a nowrap Chinese phrase, so beside the input it runs
     past the viewport on a narrow phone. Drop it onto its own line instead. */
  .capture__form { min-width: 0; max-width: none; width: 100%; flex-wrap: wrap; }
  .capture__input { flex: 1 1 100%; }
  .capture__btn { flex: 1 1 100%; }
}

/* ============================ HOME — SERVICES ============================ */

.services { background: var(--paper-alt); }

.services__shell { max-width: 1280px; margin: 0 auto; padding: var(--section-y) var(--gutter); }

.services__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.services__split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: stretch;
}

.services__figure {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: var(--paper-deep);
  box-shadow: var(--shadow-art);
}

.services__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) brightness(1.02);
}

.services__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(20px, 2.4vw, 34px);
  background: linear-gradient(0deg, rgba(20, 19, 16, 0.78) 0%, rgba(20, 19, 16, 0) 100%);
}

.services__cap-no {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1;
  color: var(--sand-deep);
  flex: none;
}

.services__cap-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.2;
  color: var(--card);
  margin: 0 0 8px;
}

.services__cap-desc { color: #e1ded6; font-size: 0.85rem; line-height: 1.7; margin: 0; }

.services__list { display: flex; flex-direction: column; justify-content: center; }

.services__row {
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-top: 1px solid var(--line);
  cursor: pointer;
  padding: clamp(18px, 1.8vw, 26px) 2px;
  transition: border-color 0.2s ease;
}

.services__row-no {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--plum-light);
  width: 2em;
  flex: none;
  transition: color 0.2s ease;
}

.services__row-name {
  font-family: var(--font-serif);
  flex: 1;
  font-weight: 500;
  font-size: clamp(1.25rem, 1.9vw, 1.65rem);
  line-height: 1.25;
  color: var(--ink-body);
  transition: color 0.2s ease;
}

.services__row-arrow {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--plum);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.services__row.is-active { border-top-color: var(--plum); }
.services__row.is-active .services__row-no { color: var(--plum); }
.services__row.is-active .services__row-name { color: var(--ink); }
.services__row.is-active .services__row-arrow { opacity: 1; }

@media (max-width: 759px) {
  .services__split { grid-template-columns: 1fr; gap: 28px; }
  .services__figure { min-height: 0; aspect-ratio: 4 / 3; }
  .services__row { padding: 18px 2px; }
}

/* ============================ HOME — STATEMENT ============================ */

.statement {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  min-height: 78vh;
  display: flex;
}

.statement__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 19, 16, 0.62) 0%, rgba(20, 19, 16, 0.5) 100%),
    url("../assets/works/waltz-residence.webp") center / cover no-repeat;
}

.statement__content {
  position: relative;
  z-index: 2;
  margin: auto;
  text-align: center;
  padding: clamp(48px, 8vw, 120px) var(--gutter);
}

.statement__line {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.4vw, 4rem);
  line-height: 1.14;
  letter-spacing: 0.02em;
  color: var(--card);
  margin: 0;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.4);
}

.statement__tag {
  font-family: var(--font-cond);
  display: inline-block;
  margin-top: clamp(22px, 3vw, 38px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 0.8rem;
  color: var(--sand);
}

@media (max-width: 759px) { .statement { min-height: 60vh; } }

/* ============================ HOME — EXPLORE ============================ */

.explore { background: var(--paper); }

.explore__shell { max-width: 1200px; margin: 0 auto; padding: clamp(56px, 8vw, 130px) var(--gutter); }

.explore__list { display: flex; flex-direction: column; gap: clamp(44px, 6vw, 96px); }

.explore__row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 5vw, 90px);
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.explore__row:nth-child(even) { grid-template-columns: 0.8fr 1.2fr; }

.explore__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #e4e1d9 center / cover no-repeat;
  box-shadow: var(--shadow-art);
  order: 1;
}

.explore__row:nth-child(even) .explore__img { order: 2; }

.explore__text { order: 2; padding-left: clamp(8px, 2vw, 40px); }

.explore__row:nth-child(even) .explore__text {
  order: 1;
  padding-left: 0;
  padding-right: clamp(8px, 2vw, 40px);
}

.explore__no {
  font-family: var(--font-serif);
  display: block;
  font-size: 1.4rem;
  color: var(--plum-light);
  margin-bottom: 10px;
}

.explore__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--ink-title);
  margin: 0 0 10px;
}

.explore__desc { color: var(--ink-body); font-size: 0.9rem; line-height: 1.7; margin: 0 0 14px; }

.explore__more {
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--plum);
}

@media (max-width: 759px) {
  .explore__row,
  .explore__row:nth-child(even) { grid-template-columns: 1fr; gap: 20px; }
  .explore__img,
  .explore__row:nth-child(even) .explore__img { order: 1; aspect-ratio: 16 / 11; }
  .explore__text,
  .explore__row:nth-child(even) .explore__text { order: 2; padding: 0; }
}

/* ============================ HOME — PROPOSAL ============================ */

.proposal { position: relative; overflow: hidden; background: var(--dark); min-height: 76vh; display: flex; }

.proposal__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.proposal__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 19, 16, 0.8) 0%, rgba(20, 19, 16, 0.4) 55%, rgba(20, 19, 16, 0.1) 100%);
}

.proposal__content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  max-width: 620px;
  padding: 0 clamp(28px, 5vw, 72px) clamp(48px, 6vw, 84px);
}

.proposal__eyebrow {
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--sand);
  margin: 0 0 16px;
}

.proposal__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  line-height: 1.08;
  color: var(--card);
  margin: 0 0 18px;
}

.proposal__body {
  color: #e6e4dd;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.85;
  max-width: 520px;
  margin: 0 0 28px;
}

@media (max-width: 759px) {
  .proposal { min-height: 0; flex-direction: column; }
  .proposal__img { position: relative; height: 300px; }
  .proposal__scrim { display: none; }
  .proposal__content { margin-top: 0; padding: 28px 22px 40px; background: var(--dark); }
}

/* ============================ CTA BAND ============================ */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--paper-soft) url("../assets/iris-field.webp") center / cover no-repeat;
}

.cta-band__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 140px) var(--gutter);
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-band__rule { display: block; width: 54px; height: 2px; background: var(--plum); margin: 0 auto 26px; }

.cta-band__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.18;
  color: var(--ink-title);
  margin: 0 0 24px;
}

.cta-band__body {
  color: #4e4c46;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.9;
  max-width: 640px;
  margin: 0 auto 36px;
}

/* ============================ ABOUT ============================ */

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

/* `contain`, not `cover`: this is a diagram of the global network, so cropping
   it would cut cities off the map. */
.about-split__img {
  position: relative;
  min-height: 370px;
  background: var(--paper-soft) url("../assets/global-network.webp") center / contain no-repeat;
  overflow: hidden;
}

.about-split__text { padding: clamp(48px, 7vw, 110px) clamp(28px, 5vw, 80px); }

.about-split__body {
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.9;
  max-width: 560px;
  margin: 0 0 32px;
}

@media (max-width: 759px) { .about-split { grid-template-columns: 1fr; } }

.philosophy { position: relative; background: var(--paper-soft) url("../assets/iris-field.webp") center / cover no-repeat; }

.philosophy__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 180px) var(--gutter);
  text-align: center;
}

.philosophy__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.14;
  color: var(--ink-title);
  margin: 0 0 clamp(24px, 3vw, 36px);
}

.philosophy__body { display: flex; flex-direction: column; gap: 20px; max-width: 680px; margin: 0 auto; }

.philosophy__para {
  color: #4e4c46;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.95;
  margin: 0;
}

.why { background: var(--paper-alt); }

.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
}

.why__item { border-top: 1px solid var(--plum-line); padding-top: 22px; }

.card__no {
  font-family: var(--font-serif);
  display: block;
  font-size: 1.75rem;
  color: var(--plum-light);
  line-height: 1;
  margin-bottom: 16px;
}

.card__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.35rem, 1.9vw, 1.65rem);
  line-height: 1.25;
  color: var(--ink-title);
  margin: 0 0 14px;
}

.card__desc { color: var(--ink-body); font-size: 0.9375rem; line-height: 1.85; margin: 0; }

@media (max-width: 759px) { .why__grid { grid-template-columns: 1fr; } }

/* PROCESS */

.process { position: relative; overflow: hidden; background: var(--paper); }

.process__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(239, 237, 232, 0.72) 0%, rgba(239, 237, 232, 0.8) 55%, rgba(239, 237, 232, 0.92) 100%),
    url("../assets/process-bg.webp") center center / cover no-repeat;
}

.process__inner { position: relative; z-index: 2; }

.process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(18px, 2vw, 30px);
}

.process__item { border-top: 1px solid var(--line-strong); padding-top: 22px; }

.process__no {
  font-family: var(--font-cond);
  font-weight: 700;
  display: block;
  font-size: 1.4rem;
  color: var(--blue);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.process__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--ink-title);
  margin: 0 0 10px;
}

@media (max-width: 759px) { .process__grid { grid-template-columns: 1fr; } }

/* COLLABORATION */

.collab { position: relative; overflow: hidden; background: var(--paper); }

.collab__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(239, 237, 232, 0.9) 0%, rgba(239, 237, 232, 0.72) 40%, rgba(239, 237, 232, 0.5) 75%, rgba(239, 237, 232, 0.42) 100%),
    url("../assets/collab-bg.webp") center center / cover no-repeat;
}

.collab__inner { position: relative; z-index: 2; }

.collab__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(40px, 5vw, 80px); }

.collab__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 14px;
  padding: clamp(15px, 1.6vw, 19px) 2px;
  border-bottom: 1px solid var(--line);
}

.collab__no { font-family: var(--font-serif); font-size: 0.95rem; color: var(--plum-light); }

.collab__name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--ink-title);
  line-height: 1.2;
}

.collab__role {
  font-family: var(--font-cond);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: var(--ink-faint);
  text-align: right;
}

@media (max-width: 759px) { .collab__list { grid-template-columns: 1fr; } }

/* SCOPE */

.scope { background: var(--paper-alt); }

.scope__wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 5vw, 90px);
  align-items: start;
}

.scope__pills { display: flex; flex-wrap: wrap; gap: 10px 12px; }

.scope__pill {
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--indigo);
  border: 1px solid var(--blue-border);
  padding: 9px 18px;
  border-radius: 999px;
}

@media (max-width: 759px) { .scope__wrap { grid-template-columns: 1fr; gap: 24px; } }

/* PROOF */

.proof { background: var(--paper); }

.proof__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  margin-bottom: clamp(36px, 4vw, 52px);
}

.proof__stat { padding-top: 18px; border-top: 2px solid var(--plum); }
.proof__stat:nth-child(2) { border-top-color: var(--blue); }
.proof__stat:nth-child(3) { border-top-color: var(--ochre); }

.proof__value {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--ink-title);
  margin-bottom: 10px;
}

.proof__label { color: var(--ink-body); font-size: 0.8125rem; line-height: 1.6; }

.proof__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line-proof);
}

.proof__chip {
  font-family: var(--font-cond);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: #57554f;
  border: 1px solid var(--line-proof);
  padding: 8px 16px;
}

@media (max-width: 759px) { .proof__stats { grid-template-columns: 1fr 1fr; } }

/* ============================ PORTFOLIO — WAVE ============================ */

.wave { background: var(--paper); }

.wave__shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 80px) var(--gutter) clamp(56px, 8vw, 120px);
}

.wave__hero { position: relative; overflow: hidden; margin-bottom: clamp(40px, 5vw, 80px); }

.wave__img { width: 100%; display: block; aspect-ratio: 16 / 7; object-fit: cover; }

.wave__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18, 18, 15, 0.62) 0%, rgba(18, 18, 15, 0.2) 42%, rgba(18, 18, 15, 0) 70%),
    linear-gradient(0deg, rgba(18, 18, 15, 0.55) 0%, rgba(18, 18, 15, 0) 45%);
}

.wave__tag {
  font-family: var(--font-cond);
  position: absolute;
  top: clamp(16px, 2vw, 26px);
  right: clamp(16px, 2vw, 26px);
  z-index: 2;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.625rem;
  color: #edeae1;
  background: rgba(20, 20, 17, 0.35);
  border: 1px solid rgba(237, 234, 225, 0.35);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 999px;
}

.wave__overlay {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  bottom: clamp(22px, 4vw, 52px);
  right: clamp(20px, 4vw, 56px);
  z-index: 2;
}

.wave__overlay-eyebrow {
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: clamp(0.72rem, 1vw, 0.85rem);
  color: var(--sand);
  margin: 0 0 14px;
}

.wave__overlay-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: var(--card-bright);
  margin: 0;
  max-width: 16em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.wave__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 5vw, 90px);
  align-items: start;
}

.wave__index {
  font-family: var(--font-serif);
  display: block;
  font-size: clamp(2.2rem, 3vw, 3rem);
  line-height: 1;
  color: var(--plum-light);
  margin-bottom: 16px;
}

.wave__intro {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.42;
  color: #44433e;
  margin: 0;
}

.wave__cols {
  border-left: 1px solid rgba(60, 58, 52, 0.18);
  padding-left: clamp(28px, 3.4vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 10px;
}

.wave__para { color: var(--ink-body); font-size: 0.9375rem; line-height: 1.95; margin: 0; }

@media (max-width: 759px) {
  .wave__img { aspect-ratio: 4 / 3; }
  .wave__grid { grid-template-columns: 1fr; gap: 24px; }
  .wave__cols { border-left: none; padding-left: 0; padding-top: 0; }
}

/* ============================ PORTFOLIO — WORKS ============================ */

.works { background: var(--paper-deep); }

.works__shell { max-width: 1280px; margin: 0 auto; padding: clamp(56px, 8vw, 140px) var(--gutter); }

.works__head { margin-bottom: clamp(32px, 4vw, 56px); }

.works__head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

.works__awards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(60, 58, 52, 0.18);
}

.works__award { color: var(--ink-ghost); font-size: 0.75rem; letter-spacing: 0.06em; white-space: nowrap; }

.works__list { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 120px); }

.works__row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;
  gap: clamp(32px, 4vw, 72px);
}

.works__row--flip { grid-template-columns: 1.4fr 1fr; }
.works__row--big { grid-template-columns: 0.85fr 1.6fr; }
.works__row--big.works__row--flip { grid-template-columns: 1.6fr 0.85fr; }

.works__text { padding-right: clamp(12px, 2vw, 40px); }
.works__row--flip .works__text { padding-right: 0; padding-left: clamp(12px, 2vw, 40px); }

.works__index-row { display: flex; align-items: baseline; gap: 16px; margin-bottom: 20px; }

.works__index {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  color: var(--plum);
  line-height: 1;
}

.works__rule { flex: 1; height: 1px; background: rgba(60, 58, 52, 0.22); }

.works__copy {
  color: var(--ink-body);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 30px;
  max-width: 430px;
}

.works__tags { display: flex; flex-wrap: wrap; gap: 12px 18px; }

.works__tag { font-size: 0.8125rem; color: var(--plum); border-bottom: 1px solid #c3b2cc; padding-bottom: 2px; }

.works__art { position: relative; display: flex; align-items: center; }

.works__offset {
  position: absolute;
  right: -22px;
  top: 22px;
  bottom: 22px;
  width: 60%;
  border: 1px solid rgba(107, 78, 122, 0.4);
  z-index: 0;
}

.works__row--flip .works__offset { right: auto; left: -22px; }

.works__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: var(--shadow-art);
}

.works__row--big .works__frame { aspect-ratio: 3 / 2; }

.works__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.28) brightness(1.02);
}

.works__caption {
  font-family: var(--font-cond);
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.625rem;
  color: var(--card-bright);
  background: rgba(30, 33, 29, 0.4);
  backdrop-filter: blur(3px);
  padding: 7px 13px;
}

.works__more { text-align: center; margin-top: clamp(40px, 5vw, 72px); }

@media (max-width: 759px) {
  .works__row,
  .works__row--flip,
  .works__row--big,
  .works__row--big.works__row--flip { grid-template-columns: 1fr; gap: 24px; }
  .works__text,
  .works__row--flip .works__text { order: 2; padding: 0; }
  .works__art { order: 1; }
  .works__offset { display: none; }
}

/* ============================ NEWS ============================ */

.news { background: var(--paper); }

.news__shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) var(--gutter) var(--section-y);
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(24px, 3vw, 48px);
}

.news__card { display: block; text-decoration: none; color: inherit; }

.news__thumb { width: 100%; aspect-ratio: 3 / 2; background: #e4e1d9 center / cover no-repeat; }

.news__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }

.news__cat {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.65rem;
}

.news__date {
  font-family: var(--font-cond);
  font-weight: 500;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--ink-ghost);
}

.news__body { padding: 22px 4px 0; }

.news__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--ink-title);
  margin: 0 0 12px;
}

.news__excerpt { color: var(--ink-body); font-size: 0.9rem; line-height: 1.75; margin: 0 0 16px; }

.news__more {
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--blue);
}

@media (max-width: 759px) { .news__grid { grid-template-columns: 1fr; } }

/* ============================ ARTS ============================ */

.arts-head { position: relative; overflow: hidden; background: var(--dark-arts); }

.arts-head__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(44, 42, 48, 0.7) 0%, rgba(44, 42, 48, 0.55) 100%),
    url("../assets/iris-arts.webp") center / cover no-repeat;
}

.arts-head__inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 170px) var(--gutter);
  text-align: center;
}

.arts-head__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.1;
  color: var(--card-bright);
  margin: 0 0 22px;
}

.arts-head__body {
  color: #e0dce4;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.9;
  max-width: 640px;
  margin: 0 auto;
}

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

.arts__shell { max-width: 1280px; margin: 0 auto; padding: clamp(56px, 8vw, 130px) var(--gutter); }

.arts__feature {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  margin-bottom: clamp(36px, 5vw, 64px);
  box-shadow: 0 30px 60px -34px rgba(60, 58, 52, 0.4);
}

.arts__feature img { width: 100%; display: block; }

.arts__feature-cap {
  font-family: var(--font-cond);
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  color: var(--card-bright);
  background: rgba(30, 33, 29, 0.42);
  backdrop-filter: blur(3px);
  padding: 8px 15px;
}

.arts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
}

.arts__slot {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arts__slot img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Placeholder tints cycle so the empty grid still reads as composed. The
   counter has to sit on the grid child, not on .arts__slot — the slot is an
   only-child, so nth-child on it would always match :nth-child(1). */
.arts__grid > *:nth-child(3n + 1) .arts__slot { background: rgba(74, 107, 135, 0.14); }
.arts__grid > *:nth-child(3n + 2) .arts__slot { background: rgba(107, 78, 122, 0.14); }
.arts__grid > *:nth-child(3n + 3) .arts__slot { background: rgba(166, 123, 79, 0.14); }

.arts__slot-hint {
  font-family: var(--font-cond);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--ink-faint);
  padding: 0 16px;
  text-align: center;
}

.arts__meta { padding: 18px 2px 0; }

.arts__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--ink-title);
  margin: 0 0 6px;
}

.arts__medium {
  font-family: var(--font-cond);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--plum);
}

.arts__cta { text-align: center; margin-top: clamp(44px, 5vw, 72px); }

@media (max-width: 759px) { .arts__grid { grid-template-columns: 1fr; } }

/* ============================ CONNECT ============================ */

.connect { background: var(--paper); }

.connect__shell {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 56px) var(--gutter) var(--section-y);
  text-align: center;
}

.connect__lead {
  color: var(--ink-body);
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.85;
  margin: 0 auto 40px;
  max-width: 560px;
}

.connect__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.connect__step {
  background: var(--card);
  border: 1px solid rgba(60, 58, 52, 0.16);
  padding: 18px 20px;
  font-size: 0.875rem;
  color: #3a392f;
}

.connect__form { text-align: left; }

.connect__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field {
  font-family: var(--font-body);
  background: var(--card);
  border: 1px solid var(--line-field);
  color: #25271f;
  padding: 14px 16px;
  font-size: 0.9375rem;
  border-radius: 2px;
  width: 100%;
}

.field:focus-visible { outline: 2px solid var(--plum); outline-offset: 1px; }

.field--full { grid-column: 1 / -1; resize: vertical; font-family: inherit; }

/* Match the text fields: strip the platform chrome, keep one caret glyph. */
.field--select {
  appearance: none;
  cursor: pointer;
  color: #25271f;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-faint) 50%),
    linear-gradient(135deg, var(--ink-faint) 50%, transparent 50%);
  background-position: right 20px center, right 14px center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

/* While the empty prompt option is the selection, render it like placeholder
   text so the field reads the same as its neighbours. */
.field--select:has(option[value=""]:checked) { color: var(--ink-faint); }

.connect__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.connect__note { text-align: center; color: var(--ink-faint); font-size: 0.875rem; margin-top: 24px; }

@media (max-width: 759px) {
  .connect__steps { grid-template-columns: 1fr; }
  .connect__grid { grid-template-columns: 1fr; }
}

/* ============================ FOOTER ============================ */

.footer {
  text-align: center;
  padding: clamp(48px, 6vw, 88px) var(--gutter);
  background: var(--dark);
  border-top: 1px solid rgba(237, 234, 225, 0.12);
}

.footer__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #e9e5db;
}

.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.4rem;
  color: var(--card-bright);
}

.footer__tagline {
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: #b7b2a6;
  margin: 0 0 26px;
  text-transform: uppercase;
  word-break: break-word;
}

.footer__nav {
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer__nav-link {
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: #e9e5db;
  text-decoration: none;
}

.footer__nav-link:hover { color: #fff; }

.footer__links { display: flex; gap: clamp(20px, 3vw, 40px); justify-content: center; flex-wrap: wrap; }

.footer__link {
  color: #b7b2a6;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-decoration: none;
}

.footer__link--official { color: #e9e5db; border-bottom: 1px solid var(--ochre); padding-bottom: 4px; }

.footer__copy { color: #7c7a72; font-size: 0.6875rem; margin-top: 30px; letter-spacing: 0.04em; }

/* ============================ FLOATING CTA ============================ */

.floating {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.floating__pill {
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.875rem;
  box-shadow: 0 14px 30px -14px rgba(60, 58, 52, 0.55);
}

.floating__pill--dark { background: #25271f; color: #f1eee7; border: 1px solid #25271f; }
.floating__pill--dark:hover { color: #fff; }

.floating__pill--light { background: var(--plum); color: var(--card-bright); border: 1px solid var(--plum); }
.floating__pill--light:hover { background: #5a4067; color: var(--card-bright); }

@media (max-width: 759px) {
  .floating { left: 12px; right: 12px; bottom: 12px; flex-direction: row; }
  .floating__pill { flex: 1 1 0; padding: 13px 10px; }
}

/* ============================ HOME — CORE CAPABILITIES ============================ */

.core {
  position: relative;
  overflow: hidden;
  background: var(--paper-alt);
}

.core__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("../assets/core-bg-v2.webp") right 6% center / auto 108% no-repeat;
  opacity: 0.55;
  mix-blend-mode: multiply;
}

.core__vertical {
  position: absolute;
  right: clamp(18px, 3vw, 46px);
  top: 50%;
  z-index: 3;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: 0.72rem;
  color: var(--ink-faint);
  pointer-events: none;
}

.core__shell {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter) var(--section-y);
}

.core__divider {
  height: 1px;
  background: var(--line);
  margin-bottom: clamp(44px, 6vw, 90px);
}

.core__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 3.4vw, 48px);
}

.core__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 12px;
}

.core__badge-row { display: flex; align-items: center; gap: 14px; }

.core__badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  letter-spacing: 0.04em;
  color: var(--ink);
}

.core__badge-rule {
  display: block;
  width: clamp(60px, 7vw, 110px);
  height: 2px;
  background: var(--plum);
}

.core__intro-col { max-width: 460px; }

.core__lead {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  line-height: 1.5;
  color: var(--ink-title);
  margin: 0 0 14px;
}

.core__intro {
  color: var(--ink-body);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 440px;
  margin: 0;
}

/* --- radial diagram: a decorative twin of the grid below it --- */

.core__diagram {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 800px;
  margin: 0 auto clamp(32px, 4vw, 56px);
}

.core__ring,
.core__ring-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
}

.core__ring {
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  border: 1px solid var(--plum-line);
}

.core__ring-inner {
  transform: translate(-50%, -50%) scale(0.86);
  width: 256px;
  height: 256px;
  border: 1px solid rgba(199, 178, 204, 0.45);
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.core__diagram:hover .core__ring-inner {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.core__center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 222px;
  text-align: center;
  z-index: 1;
  user-select: none;
}

.core__center-brand {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--ink);
}

.core__center-full {
  display: block;
  margin-top: 5px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.05em;
  font-size: 0.68rem;
  color: var(--ink-soft);
}

.core__center-sub {
  display: inline-block;
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px solid var(--plum-line);
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.6rem;
  color: var(--plum);
}

/* --x / --y are set inline by app.js: node coordinates are trigonometric. */
.core__node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 186px;
  padding: 6px 4px;
  text-align: center;
  z-index: 2;
  transform: translate(-50%, -50%) translate(var(--x), var(--y)) scale(1);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.core__node.is-active {
  transform: translate(-50%, -50%) translate(var(--x), var(--y)) scale(1.12);
}

.core__node-key {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: #7d5f8c;
  margin-bottom: 6px;
  transition: color 0.25s ease;
}

.core__node-title {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.3;
  color: #44433e;
  transition: color 0.25s ease;
}

.core__node.is-active .core__node-key { color: var(--plum); }
.core__node.is-active .core__node-title { color: #1f1e1a; }

.core__node-desc {
  display: block;
  margin-top: 6px;
  font-size: 0.68rem;
  line-height: 1.55;
  color: #4e4c46;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.35s ease, max-height 0.35s ease;
}

.core__node.is-active .core__node-desc { max-height: 60px; opacity: 1; }

.core__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--plum);
  transform: translate(-50%, -50%) translate(var(--x), var(--y));
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 0 0 5px rgba(107, 78, 122, 0.16);
  transition: opacity 0.25s ease;
}

.core__dot.is-active { opacity: 1; }

.core__leader {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 1px;
  transform-origin: 0 50%;
  transform: translateY(-50%) rotate(var(--deg)) translateX(190px);
  background: linear-gradient(90deg, rgba(107, 78, 122, 0.75) 0%, rgba(199, 178, 204, 0) 100%);
  z-index: 1;
  pointer-events: none;
  transition: width 0.3s ease;
}

.core__leader.is-active { width: 56px; }

.core__sub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  border: 1px solid rgba(107, 78, 122, 0.4);
  color: #44433e;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 0.7rem;
  line-height: 1.35;
  transform: translate(-50%, -50%) translate(var(--x), var(--y));
  pointer-events: none;
}

/* --- capability grid: the accessible and small-screen path --- */

.core__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}

.core__cell {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--paper-deep);
  border: 1px solid var(--line-soft);
  grid-column: span 2;
  aspect-ratio: 4 / 3;
}

.core__cell:nth-child(-n + 2) { grid-column: span 3; aspect-ratio: 16 / 9; }

.core__cell-img {
  position: absolute;
  inset: 0;
  background: var(--paper-deep) center / cover no-repeat;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.core__cell:hover .core__cell-img { transform: scale(1.04); }

.core__cell-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(18, 18, 15, 0.8) 0%, rgba(18, 18, 15, 0.12) 52%, rgba(18, 18, 15, 0) 100%);
}

.core__cell-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
  padding: clamp(16px, 1.8vw, 26px);
}

.core__cell-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.7vw, 1.6rem);
  line-height: 1.2;
  color: var(--card-bright);
  margin: 0 0 7px;
}

.core__cell-desc {
  color: #dddad2;
  font-size: 0.82rem;
  line-height: 1.65;
  margin: 0 0 10px;
  max-width: 34em;
}

.core__cell-more {
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--sand);
}

/* The diagram needs real width to read; below that the grid carries the section. */
@media (max-width: 1059px) {
  .core__diagram { display: none; }
}

@media (max-width: 759px) {
  .core__vertical { right: 12px; }
  .core__grid { grid-template-columns: 1fr; }
  .core__cell,
  .core__cell:nth-child(-n + 2) { grid-column: auto; aspect-ratio: 4 / 3; }
}

/* ============================ COMPANY FIGURES ============================ */

.about-stats { background: var(--paper); }
.about-stats--alt { background: var(--paper-alt); }

.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
}

.about-stats__item { border-top: 2px solid var(--plum); padding-top: 20px; }
.about-stats__item--1 { border-top-color: var(--blue); }
.about-stats__item--2 { border-top-color: var(--ochre); }
.about-stats__item--3 { border-top-color: var(--indigo); }

.about-stats__value {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 12px;
}

.about-stats__label { color: var(--ink-body); font-size: 0.875rem; line-height: 1.7; }

@media (max-width: 759px) {
  .about-stats__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================ ABOUT — GHOST HEAD ============================ */

.ghost-head {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 130px) var(--gutter) clamp(24px, 3vw, 44px);
  overflow: hidden;
}

.ghost-head__word {
  position: absolute;
  left: clamp(10px, 4vw, 64px);
  top: clamp(40px, 5vw, 80px);
  font-family: var(--font-serif);
  font-size: clamp(5rem, 13vw, 11rem);
  line-height: 1;
  font-weight: 500;
  color: rgba(107, 78, 122, 0.09);
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.ghost-head__row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 3vw, 44px);
}

.ghost-head__latin {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--ink-title);
  margin: 0 0 6px;
}

.ghost-head__label {
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  color: var(--ink-faint);
  margin: 0;
}

.ghost-head__slash {
  display: block;
  width: 1px;
  height: 64px;
  background: rgba(60, 58, 52, 0.3);
  transform: rotate(24deg);
  margin-top: 4px;
  flex: none;
}

.ghost-head__lead {
  color: var(--ink-soft);
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 2;
  max-width: 400px;
  margin: 8px 0 0;
}

@media (max-width: 759px) {
  .ghost-head__row { display: block; }
  .ghost-head__slash { display: none; }
  .ghost-head__lead { margin: 18px 0 0; }
}

/* ============================ ABOUT — BRAND & PHILOSOPHY ============================ */

.brand-phil { background: var(--paper-alt); }

.brand-phil__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: 0.03em;
  color: var(--ink-title);
  margin: 0 0 8px;
}

.brand-phil__sub {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.34em;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: var(--plum);
  margin: 0 0 clamp(36px, 4.5vw, 60px);
}

.brand-phil__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 4vw, 70px);
}

.brand-phil__block--span {
  grid-column: 1 / -1;
  padding-top: clamp(20px, 2.6vw, 36px);
  border-top: 1px solid var(--line);
}

.brand-phil__label {
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.7rem;
  color: var(--ink-faint);
  margin: 0 0 16px;
}

.brand-phil__para {
  color: var(--ink-soft);
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 2.05;
  margin: 0 0 14px;
}

.brand-phil__block--span .brand-phil__para { max-width: 820px; }

.tenets {
  margin-top: clamp(44px, 5.5vw, 80px);
  padding-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.tenets__motto {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.3em;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  line-height: 1.5;
  color: var(--ink-title);
  margin: 0 0 16px;
}

.tenets__lead {
  color: var(--ink-soft);
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 2.05;
  max-width: 720px;
  margin: 0 0 clamp(30px, 3.6vw, 48px);
}

.tenets__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.2vw, 32px);
}

.tenets__cell {
  background: rgba(251, 250, 246, 0.6);
  border-left: 3px solid var(--plum);
  padding: clamp(20px, 2.4vw, 32px);
}

.tenets__no {
  display: block;
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  color: var(--ink-faint);
  margin-bottom: 14px;
}

.tenets__latin {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 4px;
}

.tenets__zh {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.24em;
  font-size: 0.9rem;
  color: var(--plum);
  margin: 0 0 16px;
}

.tenets__desc { color: var(--ink-soft); font-size: 0.875rem; line-height: 1.95; margin: 0; }

@media (max-width: 759px) {
  .brand-phil__grid { grid-template-columns: 1fr; gap: 30px; }
  .tenets__grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================ NEWS — ARTICLE ============================ */

.article__hero {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  min-height: 62vh;
  display: flex;
}

.article__hero-img { position: absolute; inset: 0; background: var(--dark) center / cover no-repeat; }

.article__hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 19, 16, 0.82) 0%, rgba(20, 19, 16, 0.28) 60%, rgba(20, 19, 16, 0.12) 100%);
}

.article__hero-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  max-width: 900px;
  padding: 0 clamp(28px, 5vw, 72px) clamp(40px, 5vw, 68px);
}

.article__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }

.article__cat {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--sand);
}

.article__date {
  font-family: var(--font-cond);
  font-weight: 500;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: #c8c4b9;
}

.article__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.1;
  color: var(--card-bright);
  margin: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.article__sheet { background: var(--paper); }

.article__body {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 90px) var(--gutter) clamp(56px, 8vw, 120px);
}

.article__back {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--plum);
  text-decoration: none;
  margin-bottom: clamp(28px, 3.4vw, 44px);
}

.article__lead {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.5;
  color: #44433e;
  margin: 0 0 clamp(28px, 3.4vw, 44px);
  padding-bottom: clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
}

.article__h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.24;
  color: var(--ink);
  margin: clamp(38px, 4.5vw, 60px) 0 18px;
}

.article__h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.35;
  color: var(--ink-title);
  margin: clamp(26px, 3vw, 38px) 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(107, 78, 122, 0.35);
}

.article__bullet {
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.1vw, 1.02rem);
  line-height: 1.85;
  margin: 0 0 8px;
  padding-left: 20px;
  border-left: 2px solid rgba(107, 78, 122, 0.3);
}

.article__quote {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.5;
  color: var(--plum);
  margin: clamp(28px, 3.4vw, 44px) 0;
  text-align: center;
}

.article__para {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.15vw, 1.0625rem);
  line-height: 2;
  margin: 0 0 22px;
}

.article__next {
  margin-top: clamp(36px, 4.5vw, 64px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line);
}

.article__next-label {
  display: block;
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  color: var(--ink-ghost);
  margin-bottom: 12px;
}

.article__next-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.3;
  color: var(--ink-title);
  text-decoration: none;
}

@media (max-width: 759px) {
  .article__hero { min-height: 0; aspect-ratio: 4 / 3; }
  .article__hero-content { padding: 0 22px 30px; }
}

/* ============================ ARTS — INSTALLATIONS ============================ */

.inst {
  margin-top: clamp(56px, 7vw, 110px);
  padding-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.inst__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.2;
  color: var(--ink-title);
  margin: 0 0 14px;
}

.inst__lead {
  color: var(--ink-soft);
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 2.05;
  max-width: 640px;
  margin: 0 0 clamp(30px, 3.6vw, 50px);
}

.inst__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(18px, 2.4vw, 36px);
}

.inst__cell { margin: 0; }
.inst__cell--wide { grid-column: span 3; }
.inst__cell--tall { grid-column: span 2; }
.inst__cell--full { grid-column: span 6; }

.inst__frame {
  position: relative;
  width: 100%;
  background: rgba(107, 78, 122, 0.08);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 3 / 4;
}

.inst__cell--wide .inst__frame { aspect-ratio: 4 / 3; }
.inst__cell--full .inst__frame { aspect-ratio: 16 / 7; }

.inst__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.inst__item-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--ink-title);
  margin: 0 0 6px;
}

.inst__item-medium {
  font-family: var(--font-cond);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  color: var(--plum);
  margin: 0;
}

@media (max-width: 759px) {
  .inst__grid { grid-template-columns: 1fr; }
  .inst__cell--wide,
  .inst__cell--tall,
  .inst__cell--full { grid-column: auto; }
  .inst__frame,
  .inst__cell--wide .inst__frame,
  .inst__cell--full .inst__frame { aspect-ratio: 4 / 3; }
}

/* ============================ CONNECT — HERO ============================ */

.connect-hero {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  min-height: 58vh;
  display: flex;
}

.connect-hero__bg {
  position: absolute;
  inset: 0;
  background: url("../assets/works/lumina-lobby.webp") center / cover no-repeat;
  animation: cdiaKenburns 24s ease-in-out infinite alternate;
}

.connect-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 19, 16, 0.4) 0%, rgba(20, 19, 16, 0.2) 45%, rgba(20, 19, 16, 0.72) 100%),
    linear-gradient(90deg, rgba(44, 74, 99, 0.24) 0%, rgba(107, 78, 122, 0.14) 60%, rgba(20, 19, 16, 0) 100%);
}

.connect-hero__content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  max-width: 760px;
  padding: 0 clamp(28px, 5vw, 72px) clamp(40px, 5vw, 68px);
}

.connect-hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  color: var(--card-bright);
  margin: 0;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .connect-hero__bg { animation: none; }
}

@media (max-width: 759px) {
  .connect-hero { min-height: 46vh; }
  .connect-hero__content { padding: 0 22px 36px; }
}

/* ============================ PAGE SWITCHING ============================ */

.page { display: none; }
.page.is-active { display: block; animation: cdiaFade 0.45s ease both; }

/* ------------------------------------------------------------------ CMS
   Added with the CMS upgrade (2026-10-19): rich-text article bodies from the
   admin, the portfolio/arts detail pages, and elements that became links. */

/* The language toggle is now a link to the other language's URL. */
a.nav__lang { display: inline-block; text-decoration: none; line-height: normal; }

/* Rich-text bodies: headings/paragraphs/quotes get the article classes in
   app.js (richHTML); lists, tables and images are styled here. */
/* Bulleted lists look exactly like the hand-written `- ` lines (.article__bullet). */
.article__rich ul { list-style: none; margin: 0; padding: 0; }
.article__rich ul > li {
  color: var(--ink-soft); font-size: clamp(0.95rem, 1.1vw, 1.02rem); line-height: 1.85;
  margin: 0 0 8px; padding-left: 20px; border-left: 2px solid rgba(107, 78, 122, 0.3);
}
.article__rich ol { color: var(--ink-soft); font-size: clamp(0.95rem, 1.1vw, 1.02rem); line-height: 1.85; margin: 0 0 22px; padding-left: 22px; }
.article__rich ol > li { margin: 0 0 8px; }
.article__rich ol > li::marker { color: var(--plum); }
.article__rich blockquote.article__quote p { margin: 0; }
.article__rich img { display: block; max-width: 100%; height: auto; margin: clamp(22px, 3vw, 34px) auto; }
.article__rich figure { margin: clamp(22px, 3vw, 34px) 0; }
.article__rich figcaption { font-size: 0.78rem; color: var(--ink-soft); margin-top: 8px; text-align: center; }
.article__rich table { width: 100%; border-collapse: collapse; margin: 0 0 26px; font-size: 0.9rem; line-height: 1.65; display: block; overflow-x: auto; }
.article__rich caption { caption-side: top; text-align: left; font-weight: 600; font-size: 0.82rem; color: var(--ink-soft); padding: 0 0 8px; }
.article__rich th,
.article__rich td { border: 1px solid var(--line); padding: 9px 12px; vertical-align: top; text-align: left; }
.article__rich th { background: rgba(107, 78, 122, 0.08); color: var(--ink); font-weight: 600; }
.article__rich a { text-decoration: underline; text-underline-offset: 3px; }

/* Portfolio rows and arts cards now open their detail pages. */
.works__title-link { color: inherit; text-decoration: none; }
.works__title-link:hover { color: var(--plum); }
.works__more-link {
  display: inline-block; margin-top: 26px; text-decoration: none;
  font-family: var(--font-cond); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 0.72rem; color: var(--plum);
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
a.works__art { text-decoration: none; }
.arts__card { display: block; color: inherit; text-decoration: none; }
.arts__card:hover .arts__title { color: var(--plum); }
a.inst__cell { display: block; color: inherit; text-decoration: none; }
a.inst__cell:hover .inst__item-title { color: var(--plum); }

/* Portfolio / arts detail page (shares the article layout). */
.detail__facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 18px 28px; margin: 0 0 clamp(28px, 3.4vw, 44px);
  padding-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line);
}
.detail__fact dt {
  font-family: var(--font-cond); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 0.68rem; color: var(--plum); margin-bottom: 6px;
}
.detail__fact dd { margin: 0; color: var(--ink); font-size: 0.98rem; line-height: 1.6; }
.detail__tags { margin: 8px 0 0; }
.detail__cta { margin-top: clamp(32px, 4vw, 52px); }
