/* ScarabHive website. Graphite and brass from the logo, the hexagon as the recurring shape. */
:root {
  --bg: #eceef1;
  --surface: #ffffff;
  --text: #151a23;
  --muted: #586172;
  --brass: #84650b;        /* brass as text on the page background */
  --brass-fill: #c9a227;   /* brass as a fill, the logo colour */
  --on-brass: #151a23;
  --cell: #d9dde3;
  --cell-line: #c4c9d1;
  --rule: #cfd4db;
  /* The platform section and its code sample follow the theme like everything else. */
  --band: #ffffff; --band-surface: #f3f4f6; --band-rule: #cfd4db; --band-text: #151a23; --band-muted: #586172;
  --code-text: #2a3140; --code-key: #84650b; --code-comment: #7a8494; --code-string: #2f6b3f;
  --ch0: #84650b; --ch1: #3d5a80; --ch2: #4b7a57; --ch3: #a5532f; --gridline: #e1e4e9;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141820; --surface: #1b212c; --text: #e8eaee; --muted: #9aa3b2;
    --brass: #dcbb52; --cell: #1e2531; --cell-line: #2b3442; --rule: #2a3240;
    --band: #0f1218; --band-surface: #1b212c; --band-rule: #2b3442; --band-text: #e8eaee; --band-muted: #9aa3b2;
    --code-text: #c9cfd9; --code-key: #dcbb52; --code-comment: #6f7a8c; --code-string: #9ccfa8;
    --ch0: #dcbb52; --ch1: #8fb0d9; --ch2: #8cc29b; --ch3: #e0906a; --gridline: #262d39;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141820; --surface: #1b212c; --text: #e8eaee; --muted: #9aa3b2;
  --brass: #dcbb52; --cell: #1e2531; --cell-line: #2b3442; --rule: #2a3240;
    --band: #0f1218; --band-surface: #1b212c; --band-rule: #2b3442; --band-text: #e8eaee; --band-muted: #9aa3b2;
    --code-text: #c9cfd9; --code-key: #dcbb52; --code-comment: #6f7a8c; --code-string: #9ccfa8;
  --ch0: #dcbb52; --ch1: #8fb0d9; --ch2: #8cc29b; --ch3: #e0906a; --gridline: #262d39;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 "Inter", "Segoe UI", system-ui, sans-serif; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brass-fill); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: "Poppins", "Segoe UI", system-ui, sans-serif; font-weight: 700; margin: 0; line-height: 1.12; letter-spacing: -.015em; text-wrap: pretty; }
h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.lead { font-size: 1.2rem; color: var(--muted); }

/* The hexagon marker: who acts in a step, a number in a sequence, a bullet. */
.hex { --size: 44px; --hex-bg: var(--bg); position: relative; flex: none; width: var(--size); height: calc(var(--size) * 1.14); display: grid; place-items: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--brass-fill); color: var(--on-brass);
  font: 700 .82rem "Poppins", sans-serif; letter-spacing: 0; }
.hex > * { position: relative; }
.hex svg { width: 46%; height: 46%; }
.hex.line { color: var(--brass); }
.hex.line::before { content: ""; position: absolute; inset: 2.5px; clip-path: inherit; background: var(--hex-bg); }
.hex.solid { background: var(--text); color: var(--bg); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--rule) 60%, transparent); }
.top .wrap { display: flex; align-items: center; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 1.25rem "Poppins", sans-serif; letter-spacing: -.01em; }
.brand svg { width: 34px; height: 34px; color: var(--brass-fill); }
.top nav.main { display: flex; gap: 24px; margin-left: auto; }
.top nav.main a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 1rem; }
.top nav.main a:hover { color: var(--text); }
.toggle { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--rule); background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center; flex: none; }
.toggle svg { width: 18px; height: 18px; }
.lang { height: 42px; min-width: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--rule); background: var(--surface); display: grid; place-items: center;
  font: 600 .9rem "Inter", sans-serif; text-decoration: none; flex: none; }
.lang:hover { border-color: var(--text); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; height: 42px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--rule); background: var(--surface); display: grid; place-items: center; font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 52px; min-width: 230px; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 8px; display: grid; box-shadow: 0 18px 40px -18px rgba(10, 14, 22, .45); }
.menu nav a { padding: 11px 14px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.menu nav a:hover { background: var(--bg); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; white-space: nowrap; }
.btn-brass { background: var(--brass-fill); color: var(--on-brass); }
.btn-brass:hover { background: #dcbb52; }
.btn-line { border-color: var(--rule); }
.btn-line:hover { border-color: var(--text); }
.btn-small { padding: 9px 18px; font-size: .95rem; }

section { padding: 104px 0; }
.head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; margin-bottom: 56px; }
.head p { color: var(--muted); }

/* Hero */
.hero { padding: 48px 0 56px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: center; }
.hero .lead { margin: 26px 0 34px; max-width: 33em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hive { width: 112%; height: auto; display: block; margin-right: -12%; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 54%, transparent 75%); mask-image: radial-gradient(circle at 50% 50%, #000 54%, transparent 75%); }
.hive polygon { fill: var(--cell); stroke: var(--cell-line); stroke-width: 1.5; transition: fill .15s; }
.hive polygon.empty { fill: none; stroke-dasharray: 3 5; }
.hive g.core polygon { fill: var(--brass-fill); stroke: var(--brass-fill); }
.hive g.proto polygon { fill: color-mix(in srgb, var(--brass-fill) 22%, var(--cell)); stroke: var(--brass-fill); }
.hive g.ahead polygon { fill: var(--cell); stroke: var(--brass-fill); stroke-dasharray: 4 4; }
.hive g { cursor: pointer; }
.hive g:focus { outline: none; }
.hive g:hover polygon, .hive g:focus polygon { fill: #dcbb52; }
.hive polygon.ce:hover { fill: var(--muted); }
.hive text { font: 700 10.5px "Poppins", sans-serif; text-anchor: middle; fill: var(--on-brass); pointer-events: none; }
.hive g.proto text, .hive g.ahead text { fill: var(--text); }
.hive g:hover text, .hive g:focus text { fill: var(--on-brass); }
.hive-caption { min-height: 3.3em; margin-top: -4px; text-align: center; color: var(--muted); font-size: .98rem; }
.hive-caption b { color: var(--text); font-weight: 600; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--muted); font-size: .9rem; margin-top: 6px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 16px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--cell-line); }
.legend i.core { background: var(--brass-fill); }
.legend i.proto { background: color-mix(in srgb, var(--brass-fill) 45%, var(--cell)); }
@media (prefers-reduced-motion: no-preference) {
  .hive .cell { opacity: 0; animation: cell .5s forwards; }
}
@keyframes cell { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }

/* The principle: agents work, tools check, people approve */
.principle { padding: 0 0 104px; }
.principle ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); border-radius: 24px; background: var(--surface); overflow: hidden; }
.principle li { padding: 34px 36px 38px; display: grid; gap: 14px; align-content: start; }
.principle li + li { border-left: 1px solid var(--rule); }
.principle .hex { --hex-bg: var(--surface); --size: 48px; font-size: .95rem; }
.principle h2 { font-size: 1.55rem; }
.principle p { color: var(--muted); }

/* Why an assistant alone is not enough */
.compare { border-top: 1px solid var(--rule); }
.compare .row { display: grid; grid-template-columns: .55fr 1fr 1.15fr; gap: 40px; padding: 28px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.compare .row.labels { padding: 14px 0; color: var(--muted); font-size: .92rem; }
.compare .without { color: var(--muted); }
.compare .with { display: flex; gap: 14px; }
.compare .with .hex { --size: 14px; margin-top: .42em; }

/* CRA */
.cra { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.dates { list-style: none; margin: 0 0 72px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.dates::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--rule); }
.dates li { position: relative; padding: 30px 32px 0 0; }
.dates li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--brass-fill); }
.dates li.due::before { background: var(--brass-fill); }
.dates time { display: block; font: 700 1.35rem "Poppins", sans-serif; letter-spacing: -.01em; }
.dates p { color: var(--muted); margin-top: 4px; max-width: 28ch; }
.cra h3.flow-title { font-size: 1.5rem; margin-bottom: 8px; }
.cra .flow-intro { color: var(--muted); max-width: 46em; margin-bottom: 40px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); }
.flow li { position: relative; padding-right: 18px; }
.flow li::before { content: ""; position: absolute; left: 0; right: 0; top: 24px; height: 2px; background: var(--rule); }
.flow li:last-child::before { right: auto; width: 44px; }
.flow .hex { --hex-bg: var(--surface); margin-bottom: 16px; }
.flow .who { display: block; font-size: .82rem; font-weight: 600; color: var(--brass); margin-bottom: 2px; }
.flow h4 { font: 600 1.02rem/1.3 "Inter", sans-serif; margin: 0 0 6px; }
.flow p { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.flow-note { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.flow-note > p { padding: 20px 24px; border-radius: 16px; background: var(--bg); color: var(--muted); }
.flow-note strong { color: var(--text); font-weight: 600; }

/* Building blocks */
.group + .group { margin-top: 56px; }
.group > h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 1.35rem; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.group > h3 small { font: 500 .88rem "Inter", sans-serif; color: var(--muted); letter-spacing: 0; }
.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; }
.module { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.module .hex { --size: 44px; }
.module h4 { font: 700 1.15rem/1.25 "Poppins", sans-serif; letter-spacing: -.01em; margin: 0; }
.module .std { display: block; margin-top: 4px; font: 400 .78rem "JetBrains Mono", monospace; color: var(--brass); }
.module p { color: var(--muted); font-size: 1rem; margin-top: 8px; }
.module.big { grid-column: 1 / -1; grid-template-columns: 64px 1fr; padding: 30px 0; }
.module.big .hex { --size: 60px; font-size: 1rem; }
.module.big h4 { font-size: 1.5rem; }
.module.big p { font-size: 1.0625rem; max-width: 58em; }
.status { margin-top: 48px; display: flex; gap: 16px; align-items: flex-start; padding: 22px 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--rule); }
.status svg { flex: none; width: 28px; height: 32px; color: var(--brass-fill); }
.status strong { font-weight: 600; }
.status p { color: var(--muted); }
.status p strong { color: var(--text); }

/* Trace: one agent run as channels, like a logic analyzer */
.analyzer { background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.analyzer .bar { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--rule); font-size: .9rem; color: var(--muted); }
.analyzer .bar .run { color: var(--text); font-weight: 600; }
.analyzer .bar .mono { font-size: .82rem; }
.scope { overflow-x: auto; }
.scope svg { display: block; min-width: 880px; width: 100%; height: auto; }
.scope .gridline { stroke: var(--gridline); stroke-width: 1; }
.scope .tick { fill: var(--muted); font: 400 11px "JetBrains Mono", monospace; }
.scope .chname { fill: var(--text); font: 600 13px "Inter", sans-serif; }
.scope .chsub { fill: var(--muted); font: 400 11px "JetBrains Mono", monospace; }
.scope .wave { fill: none; stroke-width: 2; }
.scope .seg { cursor: pointer; }
.scope .seg rect, .scope .seg path.bus { fill-opacity: .14; stroke-width: 1.5; }
.scope .seg:hover rect, .scope .seg:focus rect, .scope .seg:hover path.bus, .scope .seg:focus path.bus, .scope .seg.on rect, .scope .seg.on path.bus { fill-opacity: .34; }
.scope .seg:focus { outline: none; }
.scope .seg text { font: 400 11.5px "JetBrains Mono", monospace; pointer-events: none; }
.scope .cursor line { stroke: var(--text); stroke-width: 1; stroke-dasharray: 3 3; }
.scope .cursor { transform: translateX(800px); }
@media (prefers-reduced-motion: no-preference) {
  .scope .cursor { transform: translateX(0); animation: sweep 3.2s .4s cubic-bezier(.5, 0, .3, 1) forwards; }
}
@keyframes sweep { to { transform: translateX(800px); } }
.readout { display: grid; grid-template-columns: repeat(4, auto) 1fr; gap: 6px 32px; margin: 0; padding: 14px 18px; border-top: 1px solid var(--rule); font-size: .9rem; }
.readout dt { color: var(--muted); font-size: .8rem; }
.readout dd { margin: 0; font-family: "JetBrains Mono", monospace; font-size: .85rem; }
.readout div { min-width: 0; }
.trace .caption { margin-top: 14px; color: var(--muted); font-size: .92rem; }

/* Data stays in house */
.inhouse { padding-top: 0; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.point { border-top: 2px solid var(--brass-fill); padding-top: 22px; }
.point h3 { margin-bottom: 10px; }
.point p { color: var(--muted); }
.point .tag { display: inline-block; margin-top: 12px; font: 400 .78rem "JetBrains Mono", monospace; color: var(--brass); }

/* Platform band */
.band { background: var(--band); color: var(--band-text); border-top: 1px solid var(--band-rule); border-bottom: 1px solid var(--band-rule); }
.band .head p { color: var(--band-muted); }
.band .stage { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; }
/* The video loads from YouTube only after a click: until then a poster from our own server (privacy page, section 7). */
.video { margin: 0; }
.video-start, .video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; overflow: hidden; background: #0d1016; box-shadow: 0 40px 80px -40px rgba(10, 14, 22, .55); }
.video-start { position: relative; padding: 0; cursor: pointer; }
.video-start img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .2s; }
.video-start:hover img, .video-start:focus-visible img { filter: brightness(.82); }
/* Bottom left: the poster carries its title in the middle. */
.video-start .play { position: absolute; left: 4%; bottom: 5%; width: 64px; height: 73px; display: grid; place-items: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--brass-fill); color: #151a23; transition: transform .2s; }
.video-start:hover .play, .video-start:focus-visible .play { transform: scale(1.08); }
.video-start .play svg { width: 28px; height: 28px; margin-left: 4px; fill: currentColor; }
.video figcaption { margin-top: 14px; font-size: .9rem; color: var(--band-muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.code { background: var(--band-surface); border: 1px solid var(--band-rule); border-radius: 16px; overflow: hidden; }
.code .bar { padding: 12px 18px; border-bottom: 1px solid var(--band-rule); color: var(--band-muted); font-size: .88rem; }
.code pre { margin: 0; padding: 18px 20px; overflow-x: auto; font: 400 .86rem/1.7 "JetBrains Mono", ui-monospace, monospace; color: var(--code-text); }
.code .k { color: var(--code-key); }
.code .c { color: var(--code-comment); }
.code .s { color: var(--code-string); }
.band .side { display: grid; gap: 28px; }
.band .side p { color: var(--band-muted); }
.band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.band .btn-line { border-color: var(--band-rule); color: var(--band-text); }
.band .btn-line:hover { border-color: var(--band-text); }
.strengths { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.strengths h3 { font-size: 1.1rem; margin-bottom: 8px; }
.strengths p { color: var(--band-muted); font-size: .98rem; }
.strengths div { border-top: 1px solid var(--band-rule); padding-top: 20px; }

/* Services */
.service-list { border-top: 1px solid var(--rule); }
.service { display: grid; grid-template-columns: .8fr 1.4fr 1.1fr; gap: 40px; padding: 34px 0; border-bottom: 1px solid var(--rule); }
.service h3 { font-size: 1.5rem; }
.service p { color: var(--muted); }
.service ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.service li { display: flex; gap: 12px; }
.service li .hex { --size: 11px; margin-top: .5em; }

/* How a pilot runs */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.steps li { display: grid; gap: 12px; align-content: start; }
.steps .hex { --size: 48px; font-size: 1rem; }
.steps p { color: var(--muted); }

/* Contact */
.contact { padding-top: 0; }
.contact .box { background: var(--surface); border: 1px solid var(--rule); border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; position: relative; overflow: hidden; }
.contact .box p { color: var(--muted); margin-top: 18px; }
.contact .box .act { display: grid; gap: 12px; justify-items: start; position: relative; }
.contact small { color: var(--muted); font-size: .95rem; }
.contact .bg-mark { position: absolute; right: -60px; bottom: -80px; width: 340px; height: 340px; color: var(--brass-fill); opacity: .09; }

/* Footer */
footer { padding: 56px 0 48px; color: var(--muted); font-size: .95rem; border-top: 1px solid var(--rule); }
footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
footer .brand { color: var(--text); margin-bottom: 14px; }
footer h2 { font: 600 .95rem "Inter", sans-serif; letter-spacing: 0; color: var(--text); margin-bottom: 12px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }
footer .fine { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: .88rem; }

/* Imprint and privacy */
.doc { max-width: 44rem; padding-top: 48px; padding-bottom: 96px; }
.doc h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 12px; }
.doc h2 { font-size: 1.3rem; margin: 44px 0 10px; }
.doc p, .doc ul { margin: 0 0 14px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }
.doc a:hover { color: var(--brass); }
.doc .stand { color: var(--muted); margin-bottom: 32px; }
.doc .back { margin-top: 48px; }

@media (max-width: 1100px) {
  .top nav.main, .top .cta { display: none; }
  .menu { display: block; margin-left: auto; }
  .top .wrap { gap: 10px; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow li { padding: 0 0 28px 64px; min-height: 64px; }
  .flow li::before { left: 21px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .flow li:last-child::before { width: 2px; height: 24px; bottom: auto; }
  .flow .hex { position: absolute; left: 0; top: 0; margin: 0; }
  .strengths { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  section { padding: 80px 0; }
  .head, .hero .wrap, .band .stage, .contact .box, .flow-note { grid-template-columns: 1fr; gap: 24px; }
  .head { margin-bottom: 40px; }
  .hive { width: 100%; margin: 0; }
  .principle { padding-bottom: 80px; }
  .principle ol { grid-template-columns: 1fr; }
  .principle li + li { border-left: none; border-top: 1px solid var(--rule); }
  .compare .row { grid-template-columns: 1fr; gap: 8px; }
  .compare .row.labels { display: none; }
  .dates { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .dates::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .dates li { padding: 0 0 0 36px; }
  .points, .steps { grid-template-columns: 1fr; gap: 32px; }
  .service { grid-template-columns: 1fr; gap: 14px; }
  .modules { grid-template-columns: 1fr; }
  .readout { grid-template-columns: 1fr 1fr; }
  .contact .box { padding: 40px 28px; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .strengths { grid-template-columns: 1fr; }
  /* Zoom into the centre so the labels on the brass cells stay readable. */
  .hive { width: 150%; margin-left: -25%; }
  .module.big { grid-template-columns: 48px 1fr; }
  .module.big .hex { --size: 44px; font-size: .82rem; }
  .module.big h4 { font-size: 1.25rem; }
  .principle li { padding: 26px 22px; }
  .contact .box { padding: 32px 20px; border-radius: 20px; }
  .doc { padding-top: 24px; }
  footer .cols { grid-template-columns: 1fr; gap: 28px; }
}
