/* ==========================================================================
   GAMENI — Brand Book
   Editorial scrolling document. Letterpress over marketing.
   ========================================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface-ground);
  color: var(--fg-1);
  overflow-x: hidden;
}

/* -------- i18n: show only the active locale -------- */
html[lang="es"] [data-lang="en"] { display: none !important; }
html[lang="en"] [data-lang="es"] { display: none !important; }

/* -------- Language switcher -------- */
.lang-switch {
  position: fixed;
  top: 14px;
  right: 18px;
  z-index: 110;
  display: inline-flex;
  gap: 0;
  font-family: var(--font-mono);
  color: var(--fg-2);
  mix-blend-mode: multiply;
}
body[data-chapter="08"] .lang-switch {
  color: rgba(251,248,243,0.7);
  mix-blend-mode: normal;
}
.lang-switch button {
  font: inherit;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 9px;
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity var(--dur-fast) var(--ease-out-soft);
  border-radius: 0;
}
.lang-switch button + button { border-left-width: 0; }
.lang-switch button:first-child { border-top-left-radius: var(--r-pill); border-bottom-left-radius: var(--r-pill); }
.lang-switch button:last-child  { border-top-right-radius: var(--r-pill); border-bottom-right-radius: var(--r-pill); }
.lang-switch button:hover { opacity: 0.85; }
.lang-switch button.is-active { opacity: 1; }

/* -------- Progress rail -------- */
.progress-rail {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--edge-hair);
  z-index: 100;
}
.progress-fill {
  height: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 120ms linear;
}

/* -------- Chapter nav (left rail) -------- */
.chapter-nav {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 90;
  pointer-events: auto;
  --nav-ink: var(--fg-2);
  --nav-ink-strong: var(--fg-1);
}
body[data-chapter="08"] .chapter-nav {
  --nav-ink: rgba(251,248,243,0.55);
  --nav-ink-strong: #fff;
}
body[data-chapter="00"] .chapter-nav .nav-label { display: none; }
body[data-chapter="00"] .nav-dot { padding: 2px 4px; }
.nav-dot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  text-decoration: none;
  color: var(--nav-ink);
  opacity: 0.55;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  border-radius: var(--r-pill);
  transition: color 220ms var(--ease-out-soft), opacity 220ms var(--ease-out-soft);
}
.nav-dot::before {
  content: '';
  width: 10px; height: 1px;
  background: currentColor;
  flex: 0 0 10px;
  transition: width 220ms var(--ease-out-soft);
}
.nav-dot:hover { color: var(--nav-ink-strong); opacity: 1; }
.nav-dot.is-active { color: var(--nav-ink-strong); opacity: 1; }
.nav-dot.is-active::before { width: 24px; }
.nav-label {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transform: translateX(-4px);
  transition: opacity 220ms var(--ease-out-soft), max-width 220ms var(--ease-out-soft), transform 220ms var(--ease-out-soft);
  text-transform: uppercase;
}
.nav-dot.is-active .nav-label,
.nav-dot:hover .nav-label { opacity: 1; max-width: 120px; transform: translateX(0); }
.nav-num { font-weight: 500; }

@media (max-width: 1200px) {
  .chapter-nav { display: none; }
}

/* -------- Spread (chapter) shell -------- */
.book { }
.spread {
  position: relative;
  min-height: 100vh;
  padding: 144px 120px 120px;
  max-width: 1600px;
  margin: 0 auto;
}
@media (max-width: 1100px) {
  .spread { padding: 96px 48px 80px; }
  .cover { padding: 48px 48px; }
}
@media (max-width: 640px) {
  .spread { padding: 72px 24px 56px; }
}

.ch-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 72px;
  padding-bottom: 16px;
  padding-right: 72px; /* leave space for .lang-switch */
  border-bottom: 1px solid var(--edge-hair);
}
@media (max-width: 640px) {
  .ch-header { margin-bottom: 40px; padding-right: 64px; gap: 12px; }
}
.ch-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--fg-3);
}
.ch-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--fg-2);
  letter-spacing: 0.02em;
}
.ch-header-light .ch-num,
.ch-header-light .ch-title { color: rgba(251,248,243,0.75); }
.ch-header-light { border-color: rgba(251,248,243,0.14); }

.folio {
  position: absolute;
  bottom: 32px;
  right: 48px;
  margin: 0;
  opacity: 0.6;
}
@media (max-width: 1100px) { .folio { right: 48px; bottom: 24px; } }
@media (max-width: 640px)  { .folio { right: 24px; bottom: 16px; } }
.folio-light { color: rgba(251,248,243,0.6); }
.eyebrow.centered, .centered { text-align: center; }

hr { border: none; height: 1px; background: var(--edge-hair); }

/* ==========================================================================
   00 — COVER
   ========================================================================== */
.cover {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 48px 64px 48px 140px;
  max-width: none;
  background:
    radial-gradient(1200px 800px at 50% 55%, rgba(247,220,198,0.25), transparent 70%),
    var(--bone-50);
}
.cover-corner {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cover-tl { grid-row: 1; grid-column: 1; }
.cover-tr { grid-row: 1; justify-self: end; align-self: start; }
.cover-bl { grid-row: 3; align-self: end; }
.cover-br { grid-row: 3; justify-self: end; align-self: end; }
.cover > .cover-tl { grid-column: 1 / 2; }
.cover > .cover-tr { grid-column: 2 / 3; }
.cover > .cover-bl { grid-column: 1 / 2; }
.cover > .cover-br { grid-column: 2 / 3; }
.cover { grid-template-columns: 1fr 1fr; }

@media (max-width: 1100px) {
  .cover { padding: 56px 48px; }
}
@media (max-width: 640px) {
  .cover {
    padding: 56px 24px 40px;
    grid-template-columns: 1fr;
  }
  .cover > .cover-tl,
  .cover > .cover-tr,
  .cover > .cover-bl,
  .cover > .cover-br { grid-column: 1 / -1; }
  .cover-tl { grid-row: 1; }
  .cover-tr { grid-row: 2; justify-self: start; }
  .cover-bl { grid-row: 4; align-self: end; }
  .cover-br { grid-row: 5; justify-self: start; align-self: end; }
  .cover-center { grid-row: 3; }
  .cover-corner {
    flex-wrap: wrap;
    gap: 6px 12px;
    padding-right: 52px; /* keep clear of .lang-switch */
  }
  .cover-tr,
  .cover-bl,
  .cover-br { padding-right: 0; }
  .cover-tl { min-height: 44px; }
}

.cover-center {
  grid-row: 2; grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cover-mark {
  width: min(62vw, 420px);
  height: auto;
  display: block;
  filter: saturate(1.1);
}
.breathe { animation: breath 6000ms var(--ease-breath) infinite; }

.cover-wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 92px);
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  color: var(--fg-1);
  margin-top: 28px;
}
.cover-wordmark .letter { display: inline-block; }

.cover-tag {
  font-family: var(--font-display-italic);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 30px);
  color: var(--fg-2);
  margin-top: 24px;
  letter-spacing: 0.01em;
  max-width: none;
}
.scroll-arrow {
  font-family: var(--font-mono);
  color: var(--fg-3);
}

/* ==========================================================================
   01 — OVERTURE
   ========================================================================== */
.overture-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 900px) { .overture-grid { grid-template-columns: 1fr; gap: 40px; } }

.overture-headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 7.5vw, 120px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 24px 0 0;
  color: var(--fg-1);
  font-weight: 400;
  text-wrap: balance;
}
.overture-headline em { font-style: italic; }

.overture-right p { margin: 0 0 20px; max-width: 52ch; }
.overture-right .lede { margin-bottom: 28px; }

.overture-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--edge-hair);
}
.meta-cell {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: baseline;
}
@media (max-width: 640px) {
  .meta-cell { grid-template-columns: 1fr; gap: 4px; }
}
.meta-cell .caption { text-transform: uppercase; letter-spacing: 0.1em; }
.meta-val {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--fg-1);
}

/* ==========================================================================
   02 — ORIGIN
   ========================================================================== */
.origin-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 96px;
  align-items: start;
  margin-bottom: 96px;
}
@media (max-width: 900px) { .origin-grid { grid-template-columns: 1fr; gap: 48px; } }

.origin-head {
  font-size: clamp(44px, 5.5vw, 80px);
  margin: 16px 0 32px;
}
.origin-para {
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 0 24px;
  color: var(--fg-1);
}
.origin-para em { font-family: var(--font-display-italic); font-style: italic; font-size: clamp(18px, 2.3vw, 22px); }
.origin-byline { margin-top: 32px; display: block; }

.origin-photo { margin: 0; }
.photo-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
  background: var(--bone-100);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.origin-photo figcaption { margin-top: 16px; max-width: 36ch; display: block; }

.origin-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--edge-hair);
}
.tl-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--edge-hair);
}
@media (max-width: 640px) {
  .tl-row { grid-template-columns: 1fr; gap: 8px; }
}
.tl-year { color: var(--fg-3); letter-spacing: 0.12em; }
.tl-event {
  font-family: var(--font-display-italic);
  font-style: italic;
  font-size: 26px;
  color: var(--fg-1);
}
@media (max-width: 640px) { .tl-event { font-size: 22px; } }

/* ==========================================================================
   03 — POSITIONING
   ========================================================================== */
.pos-statement {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 96px;
}
.pos-head {
  font-size: clamp(44px, 5.5vw, 80px);
  font-style: italic;
  margin: 16px 0 0;
  text-wrap: balance;
}
.pos-head em { font-style: italic; }

.pos-ladder {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--edge-hair);
  margin-bottom: 96px;
}
.pos-rung {
  display: grid;
  grid-template-columns: 80px 200px 1fr;
  gap: 40px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--edge-hair);
  transition: background 460ms var(--ease-out-soft);
}
@media (max-width: 900px) {
  .pos-rung { grid-template-columns: 60px 1fr; gap: 16px 24px; }
  .pos-rung-num { grid-column: 1; grid-row: 1 / span 2; }
  .pos-rung-label { grid-column: 2; grid-row: 1; }
  .pos-rung-body { grid-column: 2; grid-row: 2; }
}
@media (max-width: 640px) {
  .pos-rung { grid-template-columns: 1fr; gap: 8px; }
  .pos-rung-num,
  .pos-rung-label,
  .pos-rung-body { grid-column: 1; grid-row: auto; }
}
.pos-rung:hover { background: var(--bone-100); }
.pos-rung-num { color: var(--fg-3); letter-spacing: 0.2em; font-size: 12px; }
.pos-rung-label {
  font-family: var(--font-display-italic);
  font-style: italic;
  font-size: 24px;
  color: var(--fg-2);
}
.pos-rung-body {
  font-size: 19px;
  line-height: 1.55;
  max-width: 56ch;
  color: var(--fg-1);
}
.pos-rung-body em { font-family: var(--font-display-italic); font-style: italic; font-size: 22px; }
@media (max-width: 640px) {
  .pos-rung-label { font-size: 20px; }
  .pos-rung-body { font-size: 17px; }
  .pos-rung-body em { font-size: 20px; }
}

.yes-no {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: stretch;
  padding: 48px 0;
  border-top: 1px solid var(--edge-hair);
  border-bottom: 1px solid var(--edge-hair);
}
@media (max-width: 640px) {
  .yes-no { grid-template-columns: 1fr; gap: 32px; padding: 32px 0; }
  .yn-divider { display: none; }
}
.yn ul { list-style: none; margin: 16px 0 0; padding: 0; }
.yn li {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.8;
  color: var(--fg-1);
}
@media (max-width: 640px) { .yn li { font-size: 20px; line-height: 1.7; } }
.yn-no li { color: var(--fg-3); }
.yn-no s { text-decoration-color: var(--fg-3); }
.yn-divider { width: 1px; background: var(--edge-hair); }

/* ==========================================================================
   04 — PILLARS
   ========================================================================== */
.pillars-lede { margin: 0 auto 72px; text-align: center; font-size: clamp(18px, 2.4vw, 24px); }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
@media (max-width: 1100px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); gap: 56px; } }
@media (max-width: 640px) { .pillar-grid { grid-template-columns: 1fr; gap: 48px; } }

.pillar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 32px 28px;
  background: var(--bone-00);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-rest);
  transition: box-shadow 220ms var(--ease-out-soft);
}
.pillar:hover { box-shadow: var(--shadow-lift); }

.pillar-glyph {
  width: 80px; height: 80px;
  display: grid; place-items: center;
  margin-bottom: 8px;
}
.pillar-glyph svg { width: 100%; height: 100%; }

.pillar-num {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--fg-3);
}
.pillar-title {
  font-size: clamp(28px, 4.6vw, 36px);
  margin: 4px 0 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}
.pillar-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
}

/* ==========================================================================
   05 — THE KNOT
   ========================================================================== */
.mark-hero {
  display: grid;
  grid-template-columns: 5fr 5fr;
  gap: 80px;
  align-items: center;
  padding: 32px 0 96px;
  border-bottom: 1px solid var(--edge-hair);
  margin-bottom: 96px;
}
@media (max-width: 900px) { .mark-hero { grid-template-columns: 1fr; gap: 48px; } }

.mark-hero-visual {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(closest-side at 50% 50%, rgba(247,220,198,0.3), transparent 70%),
    var(--bone-50);
  border-radius: var(--r-xl);
  display: grid; place-items: center;
  padding: 48px;
  position: relative;
}
.mark-hero-visual::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, var(--edge-hair) 1px, transparent 1px) 0 50% / 20% 100%,
    linear-gradient(to bottom, var(--edge-hair) 1px, transparent 1px) 50% 0 / 100% 20%;
  opacity: 0.4;
  pointer-events: none;
  border-radius: var(--r-xl);
}
.mark-hero-visual img {
  max-width: 80%; height: auto; position: relative; z-index: 1;
}
.mark-head {
  font-size: clamp(40px, 5vw, 72px);
  margin: 16px 0 24px;
}
.mark-hero-text p { font-size: 18px; line-height: 1.6; color: var(--fg-1); max-width: 48ch; }

.mark-anatomy { margin-bottom: 96px; }
.anatomy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 32px;
}
@media (max-width: 900px) { .anatomy-grid { grid-template-columns: 1fr; } }
.anat { margin: 0; text-align: center; }
.anat-visual {
  aspect-ratio: 5 / 3;
  background: var(--bone-00);
  border-radius: var(--r-lg);
  display: grid; place-items: center;
  padding: 24px;
  box-shadow: var(--shadow-rest);
}
.anat-visual svg { width: 70%; height: auto; }
.anat figcaption { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.anat-label {
  font-family: var(--font-display-italic);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--fg-1);
}

.mark-lockups { margin-bottom: 96px; }
.lockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 900px) { .lockup-grid { grid-template-columns: 1fr; } }
.lockup {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  padding: 40px 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
}
.lockup img { width: 55%; height: auto; }
.lockup-wm {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: 0.42em;
  padding-left: 0.42em;
}
.lockup-label { position: absolute; bottom: 16px; left: 16px; }

.lockup-light { background: var(--bone-50); }
.lockup-pure { background: var(--bone-00); box-shadow: inset 0 0 0 1px var(--edge-hair); }
.lockup-dark { background: var(--graphite-900); }
.lockup-dark .lockup-wm {
  background: var(--iridescent);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: irid-shift var(--dur-breath) var(--ease-breath) infinite;
}
.lockup-dark .lockup-label { color: rgba(251,248,243,0.6); }

.rule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 900px) { .rule-grid { grid-template-columns: repeat(2, 1fr); } }
.rule {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rule-visual {
  aspect-ratio: 1 / 1;
  background: var(--bone-00);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  padding: 24px;
  box-shadow: var(--shadow-rest);
  position: relative;
  overflow: hidden;
}
.rule-visual img { max-width: 70%; height: auto; }
.rule-dark { background: var(--graphite-900); }
.rule-stretched img { max-width: 90%; transform: scaleX(1.4) scaleY(0.7); }
.rule-amber { background: var(--bone-00); }
.rule-amber img { filter: brightness(0) saturate(100%) invert(62%) sepia(60%) saturate(487%) hue-rotate(347deg) brightness(97%) contrast(91%); }

.rule-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.rule-tag.yes { color: #5c7a56; }
.rule-tag.no { color: #8a2a2a; }
.rule-no .rule-visual { position: relative; }
.rule-no .rule-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top right,
    transparent calc(50% - 1px),
    rgba(138,42,42,0.5) 50%,
    transparent calc(50% + 1px));
  pointer-events: none;
}
.rule-note { font-size: 14px; color: var(--fg-2); line-height: 1.5; }

/* ==========================================================================
   06 — TYPOGRAPHY
   ========================================================================== */
.type-display {
  padding: 32px 0 64px;
  border-bottom: 1px solid var(--edge-hair);
  margin-bottom: 72px;
}
.display-sample {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(56px, 10vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 8px 0;
  color: var(--fg-1);
  max-width: none;
}
.type-specs {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--edge-hair);
}
.spec {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
}
.spec .caption { text-transform: uppercase; letter-spacing: 0.12em; }

.type-body-spread {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 72px;
  padding: 32px 0 64px;
  border-bottom: 1px solid var(--edge-hair);
  margin-bottom: 72px;
}
@media (max-width: 900px) { .type-body-spread { grid-template-columns: 1fr; gap: 40px; } }
.tb-sample {
  font-size: 19px;
  line-height: 1.6;
  max-width: 56ch;
  margin: 16px 0 20px;
}
.tb-es { color: var(--fg-2); font-style: italic; font-family: var(--font-display-italic); font-size: 22px; line-height: 1.45; }
.tb-mono {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.9;
  color: var(--fg-2);
  margin-top: 16px;
}

.type-scale {
  padding: 32px 0 64px;
  border-bottom: 1px solid var(--edge-hair);
  margin-bottom: 72px;
}
.scale-row {
  display: grid;
  grid-template-columns: 120px 1fr 180px;
  gap: 32px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--edge-hair);
}
@media (max-width: 900px) {
  .scale-row { grid-template-columns: 96px 1fr; gap: 8px 20px; }
  .scale-use { grid-column: 2; }
}
@media (max-width: 640px) {
  .scale-row { grid-template-columns: 1fr; gap: 4px; }
  .scale-use { grid-column: 1; }
  .s-144 { font-size: 72px; }
  .s-96  { font-size: 56px; }
  .s-64  { font-size: 44px; }
  .s-44  { font-size: 32px; }
  .s-28  { font-size: 22px; }
}
.scale-size { color: var(--fg-3); letter-spacing: 0.1em; }
.scale-preview { color: var(--fg-1); }
.scale-use { text-transform: uppercase; letter-spacing: 0.12em; }
.s-144 { font-family: var(--font-display); font-size: 96px; line-height: 1; }
.s-96  { font-family: var(--font-display); font-size: 72px; line-height: 1; }
.s-64  { font-family: var(--font-display); font-size: 52px; line-height: 1; }
.s-44  { font-family: var(--font-display); font-size: 36px; line-height: 1; }
.s-28  { font-family: var(--font-display); font-size: 24px; line-height: 1.2; }
.s-19  { font-family: var(--font-body); font-size: 19px; font-weight: 500; }
.s-16  { font-family: var(--font-body); font-size: 16px; font-weight: 400; }
.s-12  { font-size: 12px; letter-spacing: 0.12em; }

.type-rules .rule-list {
  list-style: none;
  padding: 0;
  margin: 16px auto 0;
  max-width: 640px;
  text-align: center;
}
.type-rules .rule-list li {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.8;
  color: var(--fg-1);
  padding: 8px 0;
  border-bottom: 1px solid var(--edge-hair);
}
.type-rules .rule-list li em {
  font-family: var(--font-display-italic);
  font-style: italic;
  color: var(--fg-1);
}

/* ==========================================================================
   07 — PALETTE
   ========================================================================== */
.palette-lede { text-align: center; margin: 0 auto 72px; }
.palette-head {
  font-size: clamp(40px, 5vw, 72px);
  margin: 16px 0 0;
  font-style: italic;
}

.palette-rows {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.palette-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--edge-hair);
}
@media (max-width: 900px) { .palette-row { grid-template-columns: 1fr; gap: 24px; } }

.palette-row-label { display: flex; flex-direction: column; gap: 10px; }
.palette-row-name {
  font-family: var(--font-display-italic);
  font-style: italic;
  font-size: clamp(24px, 3.6vw, 32px);
  color: var(--fg-1);
  line-height: 1.1;
}
.palette-row-note {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 4px 0 0;
  max-width: 30ch;
}

.swatch-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 8px;
  min-height: 180px;
}
@media (max-width: 900px) { .swatch-row { grid-auto-flow: row; grid-auto-columns: unset; grid-template-columns: repeat(2, 1fr); } }

.swatch {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  padding: 16px;
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  box-shadow: inset 0 0 0 1px rgba(18,17,15,0.04);
}
.sw-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-body);
}
.sw-meta.dark { color: rgba(251,248,243,0.92); }
.sw-name { font-weight: 500; font-size: 14px; }
.sw-hex { font-size: 11px; letter-spacing: 0.1em; opacity: 0.8; }
.sw-role { text-transform: uppercase; letter-spacing: 0.12em; font-size: 10px; margin-top: 4px; opacity: 0.65; }
.sw-meta.dark .sw-role { color: inherit; }

.swatch-glow { box-shadow: inset 0 0 0 1px rgba(18,17,15,0.04), 0 0 40px 4px rgba(232,162,74,0.35); }

.iridescent-bar {
  grid-column: 1 / -1;
  height: 56px;
  border-radius: var(--r-md);
  margin-top: 24px;
}

/* ==========================================================================
   08 — IRIDESCENCE (dark spread)
   ========================================================================== */
.iridescence {
  background: var(--graphite-900);
  color: var(--bone-50);
  max-width: none;
  padding-left: 120px;
  padding-right: 120px;
}
@media (max-width: 1100px) { .iridescence { padding-left: 48px; padding-right: 48px; } }
@media (max-width: 640px)  { .iridescence { padding-left: 24px; padding-right: 24px; } }

.irid-hero {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 96px;
}
.irid-hero-head {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 8vw, 128px);
  line-height: 1;
  margin: 0 0 32px;
  letter-spacing: -0.03em;
}
.irid-hero-sub {
  color: rgba(251,248,243,0.75);
  font-size: 19px;
  line-height: 1.7;
  max-width: 56ch;
  margin: 0 auto;
}

.irid-treatments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 96px;
}
@media (max-width: 1100px) { .irid-treatments { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .irid-treatments { grid-template-columns: 1fr; } }

.treat { margin: 0; }
.treat-visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--graphite-800);
  position: relative;
  display: grid; place-items: center;
  border: 1px solid rgba(251,248,243,0.08);
}
.treat-fill { /* irid-fill already applied */ background-size: 220% 220%; }
.treat-text span {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 72px);
  letter-spacing: 0.22em;
  padding-left: 0.22em;
}
.treat-mark img { width: 70%; height: auto; }
.treat-edge { background: var(--graphite-900); }
.edge-card {
  width: 70%; aspect-ratio: 3 / 4;
  background: var(--graphite-800);
  border-radius: var(--r-md);
  position: relative;
  padding: 20px;
  box-shadow: 0 1px 0 rgba(183,166,232,0.0);
}
.edge-card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: var(--r-md);
  padding: 1px;
  background: var(--iridescent);
  background-size: 220% 220%;
  animation: irid-shift var(--dur-breath) var(--ease-breath) infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.edge-card-label {
  font-family: var(--font-display-italic);
  font-style: italic;
  color: rgba(251,248,243,0.7);
  font-size: 16px;
}

.treat-label {
  display: block;
  font-family: var(--font-display-italic);
  font-style: italic;
  font-size: 22px;
  color: var(--bone-50);
  margin: 16px 0 4px;
}
.treat figcaption .caption { color: rgba(251,248,243,0.6); }

.irid-rules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 48px;
  border-top: 1px solid rgba(251,248,243,0.12);
}
@media (max-width: 900px) { .irid-rules { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
.irid-rule { display: flex; flex-direction: column; gap: 8px; }
.irid-rule-num { color: rgba(251,248,243,0.45); letter-spacing: 0.18em; font-size: 11px; }
.irid-rule p { color: rgba(251,248,243,0.85); font-size: 15px; line-height: 1.6; margin: 0; }
.irid-rule p em { font-family: var(--font-display-italic); font-style: italic; color: var(--bone-50); font-size: 18px; }

/* ==========================================================================
   09 — VOICE
   ========================================================================== */
.voice-lede { text-align: center; max-width: 820px; margin: 0 auto 72px; }
.voice-head {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 1;
  margin: 16px 0 24px;
  font-weight: 400;
  text-wrap: balance;
}
.voice-head em { font-style: italic; }

.voice-yes-no {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--edge-hair);
  border-bottom: 1px solid var(--edge-hair);
  margin-bottom: 96px;
}
@media (max-width: 900px) { .voice-yes-no { grid-template-columns: 1fr; } }
.vyn-header { margin-bottom: 24px; }
.vyn-line {
  font-family: var(--font-display-italic);
  font-style: italic;
  font-size: clamp(22px, 3.6vw, 30px);
  line-height: 1.35;
  margin: 0 0 16px;
  color: var(--fg-1);
  max-width: none;
}
.line-no {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 16px;
  color: var(--fg-3);
  text-decoration: line-through;
  text-decoration-color: var(--edge-soft);
}

.banned { text-align: center; margin-bottom: 96px; }
.banned-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}
.banned-word {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--fg-3);
  padding: 8px 16px;
  border: 1px solid var(--edge-hair);
  border-radius: var(--r-pill);
  text-decoration: line-through;
  text-decoration-color: var(--fg-3);
}

.bilingual {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding-top: 48px;
  border-top: 1px solid var(--edge-hair);
}
.bilingual-note {
  color: var(--fg-2); font-size: 15px; line-height: 1.6;
  max-width: 52ch; margin: 16px auto 48px;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 24px 0;
  border-top: 1px solid var(--edge-hair);
}
@media (max-width: 640px) { .pair { grid-template-columns: 1fr; gap: 12px; } }
.pair-en, .pair-es {
  font-family: var(--font-display-italic);
  font-style: italic;
  font-size: clamp(20px, 3vw, 26px);
  color: var(--fg-1);
  line-height: 1.25;
  text-align: left;
}
.pair-es { color: var(--fg-2); text-align: right; }
@media (max-width: 640px) { .pair-es { text-align: left; } }

/* ==========================================================================
   10 — PHOTOGRAPHY
   ========================================================================== */
.photo-lede { text-align: center; margin: 0 auto 48px; max-width: 800px; }
.photo-head {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 80px);
  line-height: 1;
  margin: 16px 0 0;
  font-weight: 400;
  text-wrap: balance;
}
.photo-head em { font-style: italic; }

.photo-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--edge-hair);
  border-bottom: 1px solid var(--edge-hair);
  margin-bottom: 48px;
}
@media (max-width: 900px) { .photo-principles { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
.pp { display: flex; flex-direction: column; gap: 12px; }
.pp-num { color: var(--fg-3); letter-spacing: 0.2em; font-size: 11px; }
.pp p { font-size: 15px; line-height: 1.6; color: var(--fg-1); margin: 0; }
.pp p em { font-family: var(--font-display-italic); font-style: italic; font-size: 17px; }

.photo-examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}
@media (max-width: 900px) { .photo-examples { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .photo-examples { grid-template-columns: 1fr; } }
.pe { margin: 0; }
.pe-large { grid-column: 1 / 3; grid-row: 1 / 3; }
@media (max-width: 900px) { .pe-large { grid-column: 1 / -1; grid-row: auto; } }

.pe-frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bone-100);
  position: relative;
}
.pe-large .pe-frame { aspect-ratio: 4 / 3.6; }
.pe-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pe-gradient {
  background:
    radial-gradient(ellipse at 35% 70%, rgba(232,162,74,0.55), transparent 55%),
    linear-gradient(160deg, #2a2418 0%, #4a3824 50%, #7a5224 100%);
}
.pe-cool {
  background:
    radial-gradient(ellipse at 40% 50%, rgba(180,200,230,0.4), transparent 60%),
    linear-gradient(160deg, #1a2430 0%, #2d4258 100%);
}
.pe-studio {
  background: #fcfcfc;
  border: 1px solid var(--edge-hair);
  position: relative;
}
.pe-studio::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 40%; aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fff, #e8e0d8 80%);
  box-shadow: 0 30px 40px -20px rgba(0,0,0,0.15);
}

.pe figcaption { margin-top: 12px; display: block; line-height: 1.5; }
.pe-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  margin-right: 8px;
  text-transform: uppercase;
}
.pe-tag.yes { color: #5c7a56; border: 1px solid rgba(92,122,86,0.25); }
.pe-tag.no  { color: #8a2a2a; border: 1px solid rgba(138,42,42,0.25); }

/* ==========================================================================
   11 — MOTION
   ========================================================================== */
.motion-lede { text-align: center; max-width: 820px; margin: 0 auto 72px; }
.motion-head {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 1;
  margin: 16px 0 24px;
  font-weight: 400;
}
.motion-head em { font-style: italic; }

.motion-demos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 96px;
}
@media (max-width: 900px) { .motion-demos { grid-template-columns: 1fr; } }
.md { }
.md-stage {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background: var(--graphite-900);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.md-label {
  position: absolute;
  bottom: 12px; left: 16px;
  color: rgba(251,248,243,0.55);
}
.md-lamp {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    rgba(251,235,208,0.85) 0%,
    rgba(245,201,140,0.75) 40%,
    rgba(232,162,74,0.6) 70%,
    rgba(122,74,16,0.3) 100%);
  box-shadow:
    0 0 60px 10px rgba(232,162,74,0.25),
    0 0 140px 30px rgba(232,162,74,0.12);
  animation: breath 6000ms var(--ease-breath) infinite;
}
.md-lamp-live {
  background: radial-gradient(circle at 35% 35%,
    #FBEBD0 0%,
    #F5C98C 35%,
    #E8A24A 65%,
    #B36E1F 100%);
  box-shadow:
    0 0 80px 16px rgba(232,162,74,0.55),
    0 0 200px 40px rgba(232,162,74,0.3);
  animation: none;
}
.md-stage-irid { background: var(--graphite-900); }
.md-irid { position: absolute; inset: 0; border-radius: inherit; }
.md-desc { font-size: 14px; color: var(--fg-2); line-height: 1.55; margin: 16px 0 0; max-width: 36ch; }

.motion-tokens { padding-top: 48px; border-top: 1px solid var(--edge-hair); }
.mt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 900px) { .mt-grid { grid-template-columns: 1fr 1fr; } }
.mt {
  padding: 20px;
  background: var(--bone-00);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-rest);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 4px 16px;
}
.mt-k { grid-column: 1; grid-row: 1; color: var(--fg-3); font-size: 12px; }
.mt-v { grid-column: 2; grid-row: 1; font-family: var(--font-display-italic); font-style: italic; font-size: 20px; color: var(--fg-1); }
.mt-u { grid-column: 1 / -1; grid-row: 2; text-transform: uppercase; letter-spacing: 0.12em; }

/* ==========================================================================
   12 — APPLICATIONS
   ========================================================================== */
.app-lede { margin: 0 auto 72px; text-align: center; font-size: clamp(17px, 2.2vw, 22px); }

.app-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
}
.app { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.app-package { grid-column: span 2; }
.app-note { grid-column: span 2; }
.app-card-biz { grid-column: span 2; }
.app-site { grid-column: span 4; }
.app-app { grid-column: span 2; }
.app-social { grid-column: span 6; }

@media (max-width: 1100px) {
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .app-package, .app-note, .app-card-biz, .app-site, .app-app { grid-column: span 1; }
  .app-social { grid-column: span 2; }
}
@media (max-width: 640px) {
  .app-grid { grid-template-columns: 1fr; }
  .app-package, .app-note, .app-card-biz, .app-site, .app-app, .app-social { grid-column: span 1; }
}

.app-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bone-100);
  box-shadow: var(--shadow-rest);
  position: relative;
  display: grid; place-items: center;
  padding: 32px;
}
.app figcaption { display: flex; flex-direction: column; gap: 4px; }
.app-title {
  font-family: var(--font-display-italic);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--fg-1);
  margin-top: 4px;
}

/* packaging mock */
.app-box {
  width: 80%;
  aspect-ratio: 5 / 4;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 20px 40px -16px rgba(18,17,15,0.15), 0 4px 10px rgba(18,17,15,0.06);
  position: relative;
  transform: perspective(800px) rotateX(18deg) rotateZ(-4deg);
  display: grid; place-items: center;
}
.app-box-lid {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
}
.app-box-mark {
  width: 38%;
  height: auto;
  opacity: 0.9;
}
.app-box-band {
  position: absolute;
  left: 0; right: 0; bottom: -12%;
  height: 24%;
  background: #fff;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 10px 20px -12px rgba(18,17,15,0.2);
}

/* note card */
.app-note .app-visual { background: var(--bone-50); }
.app-card {
  width: 76%;
  aspect-ratio: 7 / 5;
  background: var(--bone-00);
  border-radius: 2px;
  padding: 28px;
  box-shadow: 0 12px 28px -12px rgba(18,17,15,0.15), 0 1px 2px rgba(18,17,15,0.04);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: rotate(-1.5deg);
  position: relative;
}
.app-card-mark { position: absolute; top: 16px; right: 16px; width: 36px; opacity: 0.8; }
.app-card-mark img { width: 100%; }
.app-card-line {
  font-family: var(--font-display-italic);
  font-style: italic;
  font-size: 28px;
  color: var(--fg-1);
  margin: auto 0 0;
}
.app-card-sig { margin: 0; }

/* site mock */
.app-site .app-visual { padding: 0; background: var(--bone-50); align-items: stretch; }
.app-browser {
  width: 100%; height: 100%;
  display: grid;
  grid-template-rows: 32px 1fr;
  background: var(--bone-00);
}
.app-browser-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: var(--bone-100);
  border-bottom: 1px solid var(--edge-hair);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #e8a5a0; } .dot-y { background: #e8d59a; } .dot-g { background: #a5d6a5; }
.app-url { margin-left: auto; color: var(--fg-3); font-size: 10px; }
.app-browser-body { padding: 20px 28px; display: flex; flex-direction: column; gap: 24px; }
.app-site-nav { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--edge-hair); padding-bottom: 12px; }
.app-site-wm {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
}
.app-site-links { color: var(--fg-2); text-transform: none; letter-spacing: 0.02em; font-family: var(--font-body); }
.app-site-hero { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.app-site-head {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1;
  margin: 0;
  font-weight: 400;
}
.app-site-head em { font-style: italic; }
.app-site-meta { color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.12em; }

/* phone mock */
.app-app .app-visual { background: var(--graphite-900); }
.app-phone {
  width: 58%;
  aspect-ratio: 9 / 18;
  background: var(--graphite-800);
  border-radius: 32px;
  padding: 10px;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.6);
}
.app-phone-screen {
  width: 100%; height: 100%;
  background: var(--bone-50);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 28px 1fr;
}
.app-phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 16px;
  color: var(--fg-2);
}
.app-phone-body {
  padding: 20px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.app-phone-body .eyebrow { font-size: 9px; }
.app-phone-glow {
  width: 72%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%,
    #FBEBD0 0%,
    #F5C98C 40%,
    #E8A24A 70%,
    rgba(232,162,74,0.15) 100%);
  box-shadow:
    0 0 40px 8px rgba(232,162,74,0.3),
    0 0 100px 20px rgba(232,162,74,0.15);
  animation: breath 6000ms var(--ease-breath) infinite;
  margin: 4px 0;
}
.app-phone-line {
  font-family: var(--font-display-italic);
  font-style: italic;
  font-size: 14px;
  line-height: 1.35;
  margin: 0;
  color: var(--fg-1);
  max-width: none;
}
.app-phone-meta { margin-top: auto; }

/* social mock */
.app-social .app-visual { aspect-ratio: 16 / 6; padding: 24px; background: var(--bone-50); }
@media (max-width: 640px) {
  .app-social .app-visual { aspect-ratio: auto; min-height: 280px; padding: 20px; }
}
.app-post {
  width: 100%; max-width: 760px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  background: var(--bone-00);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-rest);
}
@media (max-width: 640px) {
  .app-post { grid-template-columns: 1fr; gap: 0; }
  .app-post-body { padding: 20px 20px 24px; }
}
.app-post-img { aspect-ratio: 1/1; overflow: hidden; }
.app-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-post-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px 28px;
}
.app-post-body .eyebrow { color: var(--fg-3); }
.app-post-line {
  font-family: var(--font-display-italic);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.25;
  color: var(--fg-1);
  margin: 0;
  max-width: none;
}

/* business card */
.app-card-biz .app-visual { background: var(--bone-50); }
.app-biz {
  width: 80%;
  aspect-ratio: 7 / 4;
  background: var(--bone-00);
  border-radius: 2px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 32px -14px rgba(18,17,15,0.18), 0 1px 2px rgba(18,17,15,0.05);
  transform: rotate(-1deg);
  position: relative;
  overflow: hidden;
}
.app-biz-mark { width: 48px; opacity: 0.9; }
.app-biz-wm {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  color: var(--fg-1);
}
.app-biz-line { color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.12em; }

/* ==========================================================================
   13 — COLOPHON
   ========================================================================== */
.colophon { padding-top: 96px; padding-bottom: 160px; }
.colo-center { text-align: center; margin: 32px auto 96px; }
.colo-mark { width: 160px; height: auto; opacity: 0.9; }
.colo-line {
  font-family: var(--font-display-italic);
  font-style: italic;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.15;
  margin: 32px auto 0;
  max-width: none;
  color: var(--fg-1);
}

.colo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--edge-hair);
  border-bottom: 1px solid var(--edge-hair);
}
@media (max-width: 900px) { .colo-grid { grid-template-columns: 1fr; } }
.colo-col { display: flex; flex-direction: column; gap: 8px; }
.colo-col .eyebrow { margin-bottom: 8px; }
.colo-col p {
  margin: 0;
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.6;
  max-width: none;
}
.colo-col p em { font-family: var(--font-display-italic); font-style: italic; color: var(--fg-1); font-size: 17px; }

.colo-end { text-align: center; margin-top: 72px; color: var(--fg-3); letter-spacing: 0.3em; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .breathe, .md-lamp, .app-phone-glow { animation: none; }
  .irid-fill, .irid-text { animation: none; background-position: 30% 50%; }
  .lockup-dark .lockup-wm { animation: none; background-position: 30% 50%; }
  .edge-card::before { animation: none; background-position: 30% 50%; }
}
