.b-hero { background: var(--case); padding-top: clamp(40px, 6vw, 90px); }
.b-hero-logo { width: min(100%, 1180px); height: auto; }
.b-hero-copy { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px clamp(28px, 4vw, 64px); margin-top: clamp(28px, 4vw, 56px); align-items: end; }
.b-hero-copy h1 { font-size: clamp(38px, 5vw, 72px); }
.b-hero-copy p { font-size: 20px; line-height: 1.4; }
.b-hero-copy .pencil { color: var(--pencil-deep); grid-column: 2; }

.cimg { width: 100%; max-width: 380px; height: auto; display: block; }
.construct { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); margin-top: clamp(32px, 4vw, 56px); }
.construct figcaption { margin-top: 12px; max-width: 22em; font-size: 16.5px; }
.desk { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.5vw, 36px); margin-top: clamp(40px, 5vw, 72px); border-top: 2px solid var(--ink); padding-top: 22px; }
.desk h3 { margin-bottom: 8px; }
.desk p { font-size: 16.5px; }

.b-logo { background: var(--white); }
.logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: clamp(28px, 4vw, 48px); border: 2px solid var(--ink); }
.logos figure { padding: clamp(36px, 6vw, 86px) clamp(24px, 5vw, 76px) 16px; display: flex; flex-direction: column; gap: clamp(24px, 3.5vw, 50px); justify-content: space-between; }
.logos img { width: 100%; max-width: 420px; align-self: center; }
.logos figcaption { font-size: 14px; font-weight: 600; }
.on-board { background: var(--board); } .on-blue { background: var(--case); } .on-ink { background: var(--ink); color: var(--board); } .on-ruby { background: var(--ruby); color: var(--white); }
.marks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: clamp(32px, 4vw, 56px); align-items: end; }
.marks figcaption { margin-top: 12px; font-size: 16px; max-width: 22em; }
.mb-bar { display: inline-flex; align-items: center; justify-content: center; width: 120px; height: 30px; background: #E7E5DF; margin-right: 10px; }
.mb-bar.dark { background: #26241F; } .mb-bar.dark img { filter: invert(1); }
.dont-h { margin-top: clamp(40px, 5vw, 64px); font-size: 30px; }
.donts { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 32px); margin-top: 18px; }
.donts figcaption { font-size: 15.5px; margin-top: 10px; }
.donts figure { border-top: 2px solid var(--ruby); padding-top: 14px; }

.swatches { display: flex; min-height: 300px; margin-top: clamp(28px, 4vw, 48px); border: 2px solid var(--ink); }
.swatches article { padding: 16px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.swatches h3 { font-size: 22px; }
.swatches p { font-size: 15px; line-height: 1.35; }
.swatches p:nth-of-type(1) { font-weight: 600; }
.c-note { margin-top: 18px; }

.b-type { background: var(--ink); color: var(--board); }
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px); margin-top: clamp(28px, 4vw, 48px); }
.spec { min-height: 150px; display: flex; align-items: flex-end; margin-bottom: 18px; }
.s0 img { width: 100%; max-width: 240px; height: auto; }
.s1 { font: 400 clamp(36px, 3.6vw, 54px)/1.03 var(--serif); }
.s2 { font: 500 clamp(26px, 2.2vw, 32px)/1.2 var(--sans); }
.b-type .s3 { font-size: clamp(38px, 3.6vw, 54px); color: var(--screen-text); }
.types h3 { margin-bottom: 8px; }
.types p:not(.spec) { font-size: 16.5px; }

.b-rules { background: var(--case); }
.b-rules .section-lead { margin-top: 12px; }
.rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(28px, 4vw, 48px); }
.rule-grid > article > div { height: 190px; background: var(--board); border-radius: 10px; margin-bottom: 16px; }
.rule-grid h3 { margin-bottom: 6px; }
.rule-grid p { font-size: 16.5px; }
.demo-crook { display: flex; flex-direction: column; gap: 10px; justify-content: center; padding: 18px; }
.demo-crook span { background: var(--white); border-radius: 6px; padding: 8px 12px; font-weight: 600; }
.demo-crook .c { background: var(--ruby); color: var(--white); transform: rotate(-2.2deg); }
.demo-keys { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.demo-keys .keys { margin-top: 18px; }
.demo-keys .keys kbd { font-size: 16px; padding: 7px 9px 9px; min-width: 36px; }
.rule-grid .demo-ready { background: var(--screen); padding: 22px; }
.rule-grid .demo-ready p { color: var(--screen-text); font: 40px/1.05 var(--hand); }
.demo-ready i { display: inline-block; width: .55em; height: .9em; background: var(--screen-text); animation: blink 1.06s steps(1) infinite; }

.position { margin-top: clamp(32px, 4vw, 56px); }
.position h3 { font-size: 18px; font-family: var(--sans); font-weight: 650; letter-spacing: 0; }
.pos-big { font: 400 clamp(28px, 3.6vw, 52px)/1.1 var(--serif); margin: 10px 0 16px; max-width: 24em; }
.position p:last-child { max-width: 40em; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.5vw, 36px); margin-top: clamp(32px, 4vw, 56px); }
.principles h3 { margin-bottom: 8px; }
.principles p { font-size: 16.5px; }
.saytable { margin-top: clamp(32px, 4vw, 56px); border-top: 2px solid var(--ink); }
.saytable .row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.saytable .row span:first-child { color: var(--soft); text-decoration: line-through; text-decoration-color: var(--ruby); }
.saytable .row span:last-child { font-weight: 550; }
.saytable .head { border-bottom: 2px solid var(--ink); }
.saytable .head span:first-child { text-decoration: none; }
.saytable .head span { font-weight: 650 !important; color: var(--ink) !important; }

.b-wild { background: var(--white); }
.wild-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 40px); margin-top: clamp(28px, 4vw, 48px); }
.wild-grid img { width: 100%; }
.wild-grid figcaption { margin-top: 10px; font-size: 16px; }
.w-a img { transform: rotate(-1deg); }
.stickers { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(14px, 2.5vw, 34px); background: var(--case); border-radius: 12px; padding: clamp(28px, 4vw, 56px); margin-top: clamp(32px, 4vw, 52px); }
.st { font: 400 clamp(22px, 2.3vw, 32px)/1.1 var(--serif); padding: .45em .7em; }
.s-a { background: var(--ink); color: var(--board); transform: rotate(-3deg); }
.s-b { background: var(--white); font-family: var(--sans); font-weight: 700; transform: rotate(2.4deg); }
.s-c { background: var(--screen); font-family: var(--hand); color: var(--screen-text); transform: rotate(-1.4deg); }
.s-d { background: var(--ruby); color: var(--white); transform: rotate(1.6deg); }
.s-e { background: var(--white); font-size: clamp(18px, 1.7vw, 24px); transform: rotate(-2deg); }
.st-img { width: 110px; height: 110px; }

@media (max-width: 1080px) {
  .spec { min-height: 0; }
  .b-hero-copy, .construct, .desk, .marks, .donts, .types, .rule-grid, .principles, .wild-grid { grid-template-columns: 1fr; }
  .b-hero-copy .pencil { grid-column: 1; }
  .desk { grid-template-columns: 1fr 1fr; }
  .donts, .principles { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: 1fr; }
  .swatches { flex-direction: column; }
  .swatches article { flex: auto !important; }
  .saytable .row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 520px) { .desk, .donts, .principles { grid-template-columns: 1fr; } }
