:root {
  --bg: #f6f5ef;
  --ink: #111827;
  --muted: #607084;
  --line: rgba(17,24,39,.14);
  --panel: rgba(255,255,255,.88);
  --panel-soft: rgba(255,255,255,.66);
  --accent: #111827;
  --c1: #6c6c6c;
  --c2: #000000;
  --c3: #000000;
  --c4: #000000;
  --c5: #000000;
  --c6: #000000;
  --c7: #6c6c6c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
  background:
    linear-gradient(rgba(17,24,39,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,24,39,.035) 1px, transparent 1px),
    var(--bg);
  background-size: 32px 32px;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(246,245,239,.82);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 58px;
  max-width: 210px;
  object-fit: contain;
}


.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255,255,255,.72);
}

.hero,
.section,
.pyng-tangram-section,
.footer {
  width: min(1180px, calc(100% - 36px));
  margin-left: auto;
  margin-right: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  padding: 88px 0 58px;
}

.hero-copy { min-width: 0; }

.kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -.07em;
  line-height: .9;
}

h1 { font-size: clamp(3rem, 8vw, 7rem); max-width: 11ch; }
h2 { font-size: clamp(2.2rem, 5vw, 5.3rem); max-width: 12ch; }

.hero p,
.section > p,
.section-intro,
.contact p,
.pyng-tangram-copy p:not(.kicker) {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy > p:not(.kicker) {
  max-width: 62ch;
  margin: 20px 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

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

.hero-panel,
.card,
.cards article,
.resource-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(17,24,39,.08);
}

.hero-panel {
  padding: 24px;
}

.hero-panel p:first-child {
  margin: 0 0 12px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.hero-panel .small {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.pyng-tangram-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: 24px;
  margin-bottom: 76px;
}

.pyng-tangram-copy { min-width: 0; }

.pyng-tangram-copy h2 { max-width: 12ch; }

.pyng-tangram-copy p:not(.kicker) {
  max-width: 58ch;
  margin: 18px 0 0;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pillar-tags span {
  min-height: 34px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,.68);
  font: 500 13px/1.1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.pyng-tangram-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(17,24,39,.10);
  padding: 18px;
}

.pyng-tangram-stage {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fffef9;
}

.pyng-tangram-piece {
  filter: drop-shadow(0 8px 10px rgba(17,24,39,.14));
  transition: opacity .35s ease;
}

.pyng-tangram-piece.scatter { opacity: .55; }

.pyng-topLarge { fill: var(--c1); }
.pyng-leftLarge { fill: var(--c2); }
.pyng-medium { fill: var(--c3); }
.pyng-smallRed { fill: var(--c4); }
.pyng-smallBlue { fill: var(--c5); }
.pyng-square { fill: var(--c6); }
.pyng-para { fill: var(--c7); }

.section {
  padding: 76px 0;
}

.section > p {
  max-width: 72ch;
}

.cards,
.resource-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.cards.seven {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards.three,
.resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.seven .featured-pillar {
  grid-column: span 2;
}

.cards article,
.resource-card {
  padding: 22px;
}

.section-intro {
  max-width: 76ch;
  margin: 18px 0 0;
  font-size: 1.04rem;
}

.pillars-section h2 {
  max-width: 14ch;
}

.pillars-grid {
  align-items: stretch;
}

.pillars-grid article {
  position: relative;
  overflow: hidden;
  min-height: 265px;
}

.pillars-grid article::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 118px;
  height: 118px;
  background: rgba(17,24,39,.04);
  transform: rotate(45deg);
}

.pillar-number {
  display: inline-block;
  margin-bottom: 28px;
  color: rgba(96,112,132,.82);
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .14em;
}

.featured-pillar {
  background:
    linear-gradient(145deg, rgba(17,24,39,.92), rgba(38,50,68,.86));
  color: white;
}

.featured-pillar .pillar-number,
.featured-pillar p {
  color: rgba(255,255,255,.72);
}

.featured-pillar::after {
  background: rgba(255,255,255,.075);
}

.cards h3,
.resource-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -.04em;
}

.cards p,
.resource-card li {
  color: var(--muted);
  line-height: 1.55;
}

.resource-card ul {
  margin: 0;
  padding-left: 18px;
}

.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.process-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.72);
}

.process-list span {
  color: var(--muted);
}

.contact {
  padding: 76px 0 96px;
}

.contact h2 { max-width: 13ch; }

.contact p {
  max-width: 62ch;
  margin: 18px 0 24px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer a {
  text-decoration: none;
  font-weight: 800;
}

.resource-hero h1 {
  max-width: 13ch;
}

@media (max-width: 1100px) {
  .cards.seven,
  .cards.three,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards.seven .featured-pillar {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .section,
  .pyng-tangram-section,
  .footer {
    width: min(100% - 28px, 720px);
  }

  .site-header {
    align-items: flex-start;
    border-radius: 24px;
    flex-direction: column;
  }

  .brand-logo {
    height: 48px;
    max-width: 180px;
  }

  .hero,
  .pyng-tangram-section,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5.5rem);
  }

  .cards.seven,
  .cards.three,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .cards.seven .featured-pillar {
    grid-column: span 1;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
