@font-face {
  font-family: Cahuenga;
  src: url('../assets/fonts/cahuenga.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: Mark;
  src: url('../assets/fonts/mark-pro-heavy.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: Intro;
  src: url('../assets/fonts/intro-book-alt.otf') format('opentype');
  font-display: swap;
}
:root {
  --ink: #173c34;
  --orange: #ff8200;
  --yellow: #ffd232;
  --leaf: #3cb44b;
  --palm: #afe14b;
  --blue: #c8e6ff;
  --cream: #fafadc;
  --line: #d9e4d5;
  --paper: #fffef9;
  --muted: #557067;
  --display: Cahuenga,Georgia,serif;
  --sans: Mark,"Century Gothic",Arial,sans-serif;
  --body: Intro,Georgia,serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.48;
}
a {
  color: inherit;
}
.site-header {
  height: 86px;
  padding: 0 max(24px,calc((100vw - 1320px)/2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255,254,249,.94);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .03em;
}
.brand-link img {
  width: 39px;
  height: 47px;
  object-fit: contain;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font: 14px var(--sans);
}
.site-nav a {
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a[aria-current=page] {
  border-color: var(--ink);
  color: var(--orange);
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font: 14px var(--sans);
  color: var(--ink);
}
main {
  min-height: calc(100vh - 86px);
}
.container {
  width: min(1180px,calc(100% - 48px));
  margin: auto;
}
.eyebrow {
  font: 13px var(--sans);
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--leaf);
}
h1,h2,h3,p {
  margin-top: 0;
}
h1 {
  font: clamp(3.2rem,7.4vw,7.4rem)/.9 var(--display);
  letter-spacing: -.04em;
}
h2 {
  font: clamp(2.3rem,4vw,4.4rem)/.98 var(--display);
  letter-spacing: -.035em;
}
h3 {
  font: 1rem var(--sans);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font: 14px var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: .2s;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--ink);
}
.button.orange {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}
.button.cream {
  background: var(--cream);
}
.button.white {
  background: white;
}
.hero {
  overflow: hidden;
  background: var(--cream);
  padding: clamp(54px,9vw,130px) 0 72px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr .76fr;
  align-items: center;
  gap: 40px;
}
.hero p {
  font-size: clamp(1.2rem,2vw,1.6rem);
  max-width: 555px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-art {
  background: var(--orange);
  min-height: 470px;
  border-radius: 55% 45% 44% 56%/43% 46% 54% 57%;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-art:before,.hero-art:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--yellow);
}
.hero-art:before {
  width: 145px;
  height: 145px;
  right: -16px;
  top: 48px;
}
.hero-art:after {
  width: 88px;
  height: 88px;
  left: 26px;
  bottom: 38px;
}
.hero-art img {
  position: relative;
  width: min(67%,330px);
  z-index: 1;
  filter: drop-shadow(0 18px 0 rgba(130,60,0,.15));
}
.intro-band {
  padding: 95px 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
}
.intro-grid p {
  font-size: 1.28rem;
  max-width: 720px;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--line);
}
.pillar {
  padding: 27px 23px 22px;
  border-right: 1px solid var(--line);
}
.pillar:last-child {
  border: 0;
}
.pillar span {
  display: block;
  color: #a34a00;
  font: 2.3rem var(--display);
}
.image-break {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  background: var(--blue);
}
.image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-break-copy {
  padding: 72px clamp(24px,7vw,100px);
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.image-break-copy p {
  max-width: 470px;
  font-size: 1.3rem;
}
.section {
  padding: 95px 0;
}
.section.tint {
  background: #f4f8ef;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 42px;
}
.section-head p {
  max-width: 530px;
  margin: 0;
}
.quick-grid,.application-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}
.quick-card {
  padding: 30px;
  min-height: 230px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  transition: .2s;
}
.quick-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 15px 35px rgba(27,77,57,.1);
}
.quick-card strong {
  display: block;
  font: 2rem var(--display);
  margin-top: 45px;
}
.quick-card p {
  color: var(--muted);
  font-size: 1rem;
}
.page-hero {
  padding: 100px 0 55px;
  background: var(--cream);
}
.page-hero p {
  font-size: 1.3rem;
  max-width: 690px;
}
.two-col {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
}
.two-col .lead {
  font: 1.7rem/1.25 var(--display);
}
.quote {
  padding: 40px;
  background: var(--orange);
  color: var(--ink);
  border-radius: 24px;
  font: clamp(2rem,4vw,3.4rem)/1 var(--display);
}
.rule-list {
  display: grid;
  gap: 20px;
}
.rule {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.rule strong {
  font-family: var(--sans);
  display: block;
  margin-bottom: 6px;
}
.logo-workbench {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}
.logo-preview {
  background: var(--cream);
  border-radius: 30px;
  min-height: 450px;
  display: grid;
  place-items: center;
  padding: 65px;
}
.logo-preview.dark {
  background: var(--ink);
}
.logo-preview img {
  max-width: 310px;
  width: 75%;
  max-height: 300px;
}
.download-panel {
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
}
.format-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.format-row:last-of-type {
  border-bottom: 0;
}
.format-row small {
  display: block;
  color: var(--muted);
  font-size: .85rem;
}
.toggle-row {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
}
.toggle-row button {
  font: 13px var(--sans);
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  cursor: pointer;
}
.toggle-row button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.clearspace {
  margin-top: 55px;
  border: 1px solid var(--line);
  padding: 40px;
  border-radius: 24px;
  text-align: center;
}
.clearspace img {
  width: min(360px,85%);
}
.palette {
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
.swatch {
  min-height: 235px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
}
.swatch strong {
  font: 18px var(--sans);
}
.swatch span {
  font: 14px var(--sans);
  line-height: 1.45;
}
.swatch.dark {
  color: white;
}
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
.principle {
  padding: 26px;
  border-left: 3px solid var(--orange);
  background: white;
}
.application-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.application-card img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  display: block;
}
.application-card div {
  padding: 20px;
}
.application-card p {
  font-size: 1rem;
  color: var(--muted);
  margin: 0;
}
.footer {
  padding: 34px max(24px,calc((100vw - 1320px)/2));
  background: var(--ink);
  color: white;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  font: 13px var(--sans);
}
.footer img {
  width: 40px;
  height: 48px;
  object-fit: contain;
}
.footer a {
  color: var(--palm);
}
@media(max-width:780px) {
  body {
    font-size: 16px;
  }
  .site-header {
    height: 74px;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .site-nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero-grid,.intro-grid,.two-col,.logo-workbench {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .hero-art {
    min-height: 350px;
    order: -1;
  }
  .pillars,.quick-grid,.application-grid,.principle-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pillar:nth-child(2) {
    border-right: 0;
  }
  .image-break {
    grid-template-columns: 1fr;
  }
  .image-break img {
    min-height: 300px;
  }
  .palette {
    grid-template-columns: 1fr 1fr;
  }
  .section,.intro-band {
    padding: 65px 0;
  }
  .page-hero {
    padding: 70px 0 35px;
  }
  .section-head {
    display: block;
  }
  .section-head p {
    margin-top: 14px;
  }
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media(max-width:480px) {
  .container {
    width: min(100% - 32px,1180px);
  }
  .pillars,.quick-grid,.application-grid,.principle-grid {
    grid-template-columns: 1fr;
  }
  .pillar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .hero-art {
    min-height: 270px;
  }
  .logo-preview {
    min-height: 330px;
    padding: 35px;
  }
  .palette {
    grid-template-columns: 1fr;
  }
  .footer {
    padding: 28px 16px;
  }
}
/* Keyboard access and small reusable layout helpers. */
.skip-link  {
  position:  fixed;
  top:  12px;
  left:  12px;
  z-index:  100;
  padding:  12px 18px;
  background:  var(--paper);
  color:  var(--ink);
  transform:  translateY(-200%);
}
.skip-link:focus  {
  transform:  none;
}
a: focus-visible,
button: focus-visible  {
  outline:  3px solid currentColor;
  outline-offset:  5px;
}
.compact-heading  {
  font-size:  3rem;
}
.spaced-rules  {
  margin-top:  45px;
}
.alternate-link  {
  margin:  30px 0 0;
}
.format-row > div  {
  min-width:  0;
}
@media (max-width: 480px)  {
  .format-row  {
    flex-wrap:  wrap;
  }
  .toggle-row  {
    flex-wrap:  wrap;
  }
}
@media (prefers-reduced-motion: reduce)  {
  html  {
    scroll-behavior:  auto;
  }
  *,
  *::before,
  *::after  {
    animation:  none !important;
    transition:  none !important;
  }
  .button:hover,
  .quick-card:hover  {
    transform:  none;
  }
}


/* The home page: eight solid-color doors into the brand. */
:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-travel: cubic-bezier(.76, 0, .24, 1);
}
.site-nav { gap: 19px; font-size: 12px; }
.site-nav a[aria-current=page] { color: var(--ink); border-color: var(--orange); }
.site-header { height: 94px; background: var(--paper); backdrop-filter: none; }
.tone-orange { --surface: #ff8200; --surface-ink: #173c34; }
.tone-yellow { --surface: #ffd232; --surface-ink: #173c34; }
.tone-palm { --surface: #afe14b; --surface-ink: #173c34; }
.tone-blue { --surface: #c8e6ff; --surface-ink: #173c34; }
.tone-cream { --surface: #fafadc; --surface-ink: #173c34; }
.tone-green { --surface: #3cb44b; --surface-ink: #173c34; }
.tone-shade { --surface: #2d5f5a; --surface-ink: #fafadc; }
.tone-brown { --surface: #784b28; --surface-ink: #fafadc; }
.bento-main { width: calc(100% - clamp(32px, 3vw, 64px)); margin: auto; padding: 24px 0 32px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.bento-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(220px, 1fr) minmax(220px, 1fr) minmax(290px, 1.3fr); min-height: calc(100svh - 150px); gap: 16px; scroll-margin-top: 116px; }
.bento-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 27px; border-radius: 22px; text-decoration: none; background: var(--surface); color: var(--surface-ink); transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0px)); transition: transform 650ms var(--ease-out), box-shadow 650ms var(--ease-out); }
.bento-card:hover, .bento-card:focus-visible { --lift: -5px; box-shadow: 0 22px 35px -25px #173c3480; z-index: 2; }
.bento-card:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.card-top { display: flex; align-items: flex-start; justify-content: flex-end; position: relative; z-index: 2; }
.card-arrow { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid currentColor; border-radius: 50%; font: 20px Arial,sans-serif; transition: transform 500ms var(--ease-out), background 400ms; }
.bento-card:hover .card-arrow { transform: rotate(45deg); }
.card-bottom { position: relative; z-index: 2; }
.card-bottom h2 { font-size: clamp(2rem, 3vw, 3.15rem); line-height: 1; margin: 0; letter-spacing: -.04em; transition: transform 650ms var(--ease-out); }
.card-description { display: block; max-width: 280px; font: 12px/1.5 var(--body); margin-top: 11px; opacity: 1; }
.card-basics { grid-column: 1 / 6; grid-row: 1 / 3; }
.card-basics .card-bottom h2 { font-size: clamp(3rem, 5vw, 5rem); }
.card-voice { grid-column: 6 / 13; grid-row: 1; }
.card-voice .card-description { max-width: 220px; }
.card-logos { grid-column: 6 / 9; grid-row: 2; }
.card-color { grid-column: 9 / 13; grid-row: 2; }
.card-typography { grid-column: 1 / 4; grid-row: 3; }
.card-photography { grid-column: 4 / 7; grid-row: 3; }
.card-graphics { grid-column: 7 / 10; grid-row: 3; }
.card-applications { grid-column: 10 / 13; grid-row: 3; }
/* The same color follows each card onto its section page. */
.section-hero { background: var(--surface, var(--cream)); color: var(--surface-ink, var(--ink)); padding: 42px 0 58px; }
.section-hero h1 { font-size: clamp(4rem, 9vw, 8rem); margin: clamp(46px, 5vw, 70px) 0 24px; }
.section-hero p:last-child { margin-bottom: 0; }
.section-back { font: 12px var(--sans); text-decoration: none; display: inline-block; }
.section-back:hover { text-decoration: underline; }
.type-library { display: grid; gap: 35px; }
.type-specimen { padding: 35px; border: 1px solid var(--line); border-radius: 22px; }
.type-specimen h2 { font-size: clamp(2rem, 5vw, 4.5rem); }
.type-cahuenga { font-family: var(--display); }
.type-mark { font-family: var(--sans); }
.type-intro { font-family: var(--body); }
.type-alphabet { overflow-wrap: anywhere; font-size: clamp(1rem, 2.5vw, 1.8rem); margin-bottom: 0; line-height: 1.6; }
.graphic-examples { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.graphic-example { background: var(--surface); color: var(--surface-ink); padding: 45px; border-radius: 25px; display: grid; justify-items: center; gap: 38px; }
.graphic-example p { font: 12px var(--sans); margin: 0; }
.drawn-word { font: clamp(2rem, 5vw, 4.5rem) var(--display); transform: rotate(-5deg); text-decoration: underline; text-decoration-style: wavy; text-underline-offset: 15px; }
.handdrawn-circle { font: clamp(2rem, 4vw, 4rem)/1 var(--display); padding: 30px; border: 3px solid currentColor; border-radius: 47% 53% 44% 56% / 58% 43% 57% 42%; transform: rotate(5deg); }

/* Native JavaScript expands the actual card color, then reveals the page. */
.travel-panel { position: fixed; inset: 0; z-index: 200; pointer-events: none; background: var(--surface); color: var(--surface-ink); overflow: hidden; }
.travel-title { position: absolute; margin: 0; white-space: nowrap; font-family: var(--display); font-weight: normal; letter-spacing: -.04em; line-height: .9; transform-origin: top left; }
body.is-traveling { cursor: progress; }
body.is-traveling .bento-card { pointer-events: none; }
body.is-entering .section-hero h1,
body.is-entering .site-header { opacity: 0; }
@media (max-width: 1200px) {
  .site-nav { gap: 13px; font-size: 11px; }
  .bento-grid { grid-template-rows: minmax(205px, 1fr) minmax(205px, 1fr) minmax(265px, 1.3fr); }
  .bento-card { padding: 22px; }
  .card-bottom h2 { font-size: 2.25rem; }
}
@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 94px; left: 0; right: 0; padding: 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); flex-wrap: wrap; gap: 10px 25px; font-size: 13px; }
  .site-nav.open { display: flex; }
  .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 285px; min-height: 0; }
  .bento-card { grid-column: auto; grid-row: auto; }
  .card-basics .card-bottom h2 { font-size: 2.7rem; }
  .card-bottom h2 { font-size: 2.7rem; }
}
@media (max-width: 600px) {
  .site-header { height: 76px; padding: 0 20px; }
  .site-nav { top: 76px; flex-direction: row; }
  .bento-main { padding: 16px 0 24px; }
  .bento-grid { gap: 12px; grid-auto-rows: 270px; scroll-margin-top: 92px; }
  .bento-card { padding: 20px; border-radius: 18px; }
  .card-basics, .card-voice { grid-column: 1 / -1; }
  .card-basics { min-height: 310px; }
  .bento-grid { grid-template-rows: 310px; }
  .card-bottom h2 { font-size: clamp(1.6rem, 6vw, 2rem); }
  .card-arrow { width: 24px; height: 24px; font-size: 17px; }
  .card-description { font-size: 11px; margin-top: 8px; }
  .graphic-examples { grid-template-columns: 1fr; }
  .type-specimen { padding: 24px; }
}
@media (max-width: 360px) {
  .bento-grid { grid-template-columns: 1fr; }
  .card-basics, .card-voice { grid-column: auto; }
  .card-bottom h2 { font-size: 2.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bento-card,
  .bento-card:hover,
  .bento-card:focus-visible { transform: none; }
  .bento-card:hover .card-arrow { transform: none; }
}
@media (min-width: 361px) and (max-width: 600px) {
  .card-typography .card-bottom h2,
  .card-photography .card-bottom h2,
  .card-applications .card-bottom h2 { font-size: clamp(1.38rem, 5.6vw, 1.65rem); }
}

/* Long-form guide content, organized to mirror the source document. */
.guide-toc { position: sticky; top: 94px; z-index: 8; display: flex; align-items: center; gap: 10px; padding: 13px max(24px,calc((100vw - 1180px)/2)); overflow-x: auto; white-space: nowrap; background: #fffef9f2; border-bottom: 1px solid var(--line); box-shadow: 0 8px 18px #173c3408; scrollbar-width: thin; }
.guide-toc span { flex: none; margin-right: 18px; font: 11px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.guide-toc a { flex: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 100px; text-decoration: none; font: 12px var(--sans); transition: background .25s,color .25s,border-color .25s; }
.guide-toc a:hover,.guide-toc a:focus-visible { background: var(--ink); color: white; border-color: var(--ink); }
.guide-section { padding: clamp(66px,8vw,120px) 0; scroll-margin-top: 152px; }
.guide-section:nth-of-type(even) { background: #f7f8ef; }
.guide-container { width: min(1180px,calc(100% - 48px)); margin: auto; }
.guide-container > .eyebrow { color: var(--leaf); margin-bottom: 24px; }
.guide-container > h2 { max-width: 880px; margin-bottom: 32px; }
.guide-container > p:not(.eyebrow),.guide-container > .guide-lead { max-width: 800px; font-size: clamp(18px,2vw,23px); line-height: 1.52; }
.guide-lead { margin-bottom: 36px; }
.guide-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin: 34px 0; }
.guide-cards.one-column { grid-template-columns: 1fr; gap: 12px; }
.guide-card { padding: clamp(24px,3vw,38px); border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.guide-card h3 { margin-bottom: 14px; }
.guide-card p:last-child { margin-bottom: 0; }
.guide-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(24px,5vw,80px); margin: 38px 0; }
.guide-columns > div > h3,.guide-subgroup > h3 { font-size: 18px; margin-bottom: 22px; }
.guide-subgroup { margin-top: 50px; }
.guide-list,.guide-numbered { padding-left: 24px; max-width: 850px; }
.guide-list li,.guide-numbered li { margin: 0 0 15px; padding-left: 5px; }
.guide-note { max-width: 850px; padding: 19px 22px; border-left: 4px solid var(--orange); background: #fff5df; font-size: 15px !important; line-height: 1.55; margin-top: 32px; }
.guide-closing { margin-top: 42px; }
.identity-statement { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.identity-statement span { padding: 16px 23px; border-radius: 100px; background: var(--yellow); font: clamp(16px,2vw,23px) var(--display); }
.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.guide-table { width: 100%; border-collapse: collapse; min-width: 650px; }
.guide-table th { background: var(--ink); color: white; text-align: left; font: 13px var(--sans); }
.guide-table th,.guide-table td { width: 50%; vertical-align: top; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.guide-table tbody tr:last-child td { border-bottom: 0; }
.guide-table tbody tr:nth-child(even) { background: #fffdf4; }
.family-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 34px 0; }
.family-card { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--paper); }
.family-mark { display: grid; place-items: center; min-height: 220px; padding: 28px; background: #f3f8ea; }
.family-mark img { display: block; width: 100%; max-width: 230px; max-height: 180px; object-fit: contain; }
.family-mark a { display: block; width: 100%; text-align: center; }
.family-mark a img { margin: auto; max-height: 195px; }
.family-copy { padding: 26px; }
.family-copy h3 { margin-bottom: 12px; }
.family-copy p { font-size: 15px; }
.media-caption { color: var(--muted); font-size: 12px !important; }
.guide-clearspace { max-width: 560px; margin: 32px 0; padding: clamp(50px,7vw,90px); background: var(--cream); border: 1px dashed var(--leaf); border-radius: 22px; }
.guide-clearspace img { display: block; width: 100%; }
.palette-library { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; padding: 0; margin: 32px 0; }
.palette-item { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; }
.palette-color { display: block; height: 92px; border-bottom: 1px solid #173c341c; }
.palette-item > div { display: flex; flex-wrap: wrap; gap: 6px 10px; padding: 17px; }
.palette-item strong { flex: 1 0 100%; font: 14px var(--sans); }
.palette-item code { font: 13px ui-monospace,monospace; }
.palette-item small { flex: 1 0 100%; font: 11px/1.4 var(--sans); color: var(--muted); }
.guide-columns .palette-library { grid-template-columns: repeat(2,minmax(0,1fr)); }
.guide-figure { width: min(100%,900px); margin: 34px 0; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.guide-figure a { display: block; }
.guide-figure img { display: block; width: 100%; height: auto; border-radius: 9px; }
.guide-figure figcaption { padding: 14px 6px 3px; font: 12px/1.5 var(--sans); color: var(--muted); }
@media (max-width: 800px) {
  .guide-columns,.family-grid { grid-template-columns: 1fr; }
  .palette-library { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .guide-toc { top: 76px; padding: 10px 20px; }
  .guide-toc span { display: none; }
  .guide-container { width: calc(100% - 40px); }
  .guide-section { padding: 58px 0; scroll-margin-top: 130px; }
  .guide-cards,.palette-library,.guide-columns .palette-library { grid-template-columns: 1fr; }
  .guide-card { padding: 24px; }
  .guide-container > h2 { margin-bottom: 25px; }
}
