/* Alpcell — site styles. Light theme drawn from the logo: deep blue, sky blue, gold summit, teal. */
:root {
  --bg: #f6f8fb;
  --bg-2: #eef2f8;
  --card: #ffffff;
  --line: #dde4ee;
  --text: #0f1c33;
  --muted: #4f5d73;
  --dim: #8592a6;
  --deep: #003090;
  --blue: #0c54a8;
  --light: #3a8fd8;
  --gold: #c9a14f;
  --gold-soft: #d4b06a;
  --teal: #2f8a8a;
  --navy: #0b1a3a;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 28, 51, .04), 0 8px 28px rgba(15, 28, 51, .06);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.12; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.eyebrow { color: var(--blue); font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.gold { color: var(--gold); }
.tagline { font: 600 13px var(--mono); letter-spacing: .06em; color: var(--dim); }
.tagline span:nth-child(1) { color: var(--teal); }
.tagline span:nth-child(2) { color: var(--gold); }
.tagline span:nth-child(3) { color: var(--blue); }

/* ---------- nav ---------- */
nav.top { position: sticky; top: 0; z-index: 50; background: rgba(246, 248, 251, .85); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
nav.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.01em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { height: 36px; width: auto; }
nav.top ul { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0 0 0 auto; padding: 0; }
nav.top ul a { color: var(--muted); font-size: 15px; font-weight: 500; }
nav.top ul a:hover, nav.top ul a[aria-current] { color: var(--text); text-decoration: none; }
nav.top ul a.btn { color: #fff; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; background: var(--deep); color: #fff; border: 1px solid var(--deep); cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--blue); border-color: var(--blue); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--deep); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--deep); background: var(--card); }
.btn.sm { padding: 7px 16px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 72px; }
.hero::before { content: ""; position: absolute; inset: -30% -15% auto auto; width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(58, 143, 216, .16), transparent 70%); pointer-events: none; }
/* A warm glow behind the floating icons, the gold of the summit. */
.hero::after { content: ""; position: absolute; top: -10%; right: 4%; width: 620px; height: 520px; background: radial-gradient(closest-side, rgba(212, 176, 106, .2), transparent 72%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 34em; text-wrap: balance; }
.hexwrap { display: flex; justify-content: center; }
.hexrange { width: 100%; max-width: 540px; height: auto; overflow: visible; }
.hexrange .cell { transform-box: fill-box; transform-origin: center; }
.hexrange.pre .cell { opacity: 0; transform: translateY(14px); }
.hexrange.rise .cell { opacity: 1; transform: none; transition: opacity .35s ease var(--d), transform .45s cubic-bezier(.2, .7, .2, 1) var(--d); }
/* The platforms float in the sky over the range, each one risen from it: a strip
   of sky above the range (::before), then the icons placed over the whole box,
   by percent of its width (--x, --s) and height (--y), so they scale with it. */
.peaks { position: relative; display: block; width: 100%; max-width: 540px; margin: 0 auto; }
.peaks::before { content: ""; display: block; aspect-ratio: 54 / 19; }
.peaks .hexrange { display: block; }
.apps { position: absolute; inset: 0; }
.app { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--s) * 1%); aspect-ratio: 1; translate: -50% -50%; }
.app img { display: block; width: 100%; height: 100%; border-radius: 22.37%; rotate: calc(var(--r) * 1deg);
  box-shadow: 0 0 0 1px rgba(15, 28, 51, .14), 0 12px 26px rgba(15, 28, 51, .18);
  animation: bob calc(5s + var(--i) * .4s) ease-in-out calc(var(--i) * -.9s) infinite; transition: scale .2s ease, rotate .2s ease; }
.app:hover img, .app:focus-visible img { scale: 1.1; rotate: 0deg; }
.app::after { content: attr(data-name); position: absolute; left: 50%; top: calc(100% + 10px); translate: -50% 4px; padding: 3px 9px; border-radius: 999px; background: var(--navy); color: #fff; font: 600 11px/1.5 var(--mono); letter-spacing: .04em; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s ease, translate .15s ease; }
.app:hover::after, .app:focus-visible::after { opacity: 1; translate: -50% 0; }
.app:hover { text-decoration: none; }
.app:focus-visible { outline: none; }
.app:focus-visible img { outline: 2px solid var(--light); outline-offset: 3px; }
@keyframes bob { 50% { translate: 0 -7px; } }
/* They lift off the range once it has risen, one after another. */
.hexrange.pre ~ .apps .app { opacity: 0; transform: translateY(40px) scale(.5); }
.hexrange.rise ~ .apps .app { transition: opacity .4s ease calc(750ms + var(--i) * 90ms), transform .7s cubic-bezier(.3, 1.4, .5, 1) calc(750ms + var(--i) * 90ms); }
@media (prefers-reduced-motion: reduce) { .app img { animation: none; } }

/* page header (inner pages) */
.pagehead { padding: 72px 0 40px; }
.pagehead h1 { font-size: clamp(36px, 5vw, 54px); margin: 16px 0 16px; }
.pagehead p { font-size: 19px; color: var(--muted); max-width: 40em; }

/* ---------- sections ---------- */
section { padding: 84px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark { background: var(--navy); color: #e8eef8; }
section.dark .muted, section.dark .head p, section.dark .step p { color: #a9b6cc; }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 44px; }
.head h2 { font-size: clamp(30px, 3.6vw, 42px); margin-top: 14px; }
.head p { color: var(--muted); font-size: 17px; }

/* capability cards */
.grid { display: grid; gap: 20px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { font-size: 19px; margin: 18px 0 8px; letter-spacing: -.015em; }
.card p { color: var(--muted); font-size: 15.5px; }
.ico { width: 44px; height: 44px; display: grid; place-items: center; }
.ico svg { width: 44px; height: 44px; }

/* disciplines: one box, the logo's three cells as a small emblem in its corner,
   and the same colours marking each discipline below */
.disc { padding: 36px 40px; }
.disc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.disc-top h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 10px; }
.disc-top p { font-size: 17px; max-width: 40em; margin: 0; }
.emblem { flex: none; width: 76px; filter: drop-shadow(0 6px 12px rgba(15, 28, 51, .18)); }
.disc-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.disc-cols h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 17px; color: var(--text); }
.disc-cols h4::before { content: ""; flex: none; width: 14px; height: 16px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.disc-cols .sw h4::before { background: linear-gradient(160deg, #3a8fd8, #0c54a8); }
.disc-cols .el h4::before { background: linear-gradient(160deg, #1d5fb5, #003090); }
.disc-cols .me h4::before { background: linear-gradient(160deg, #e2c584, #c9a14f); }
.disc-cols p { margin: 0; font-size: 15px; }
/* why alpcell: the two usual answers, then ours in navy */
.vs .card h3 { font-size: 20px; margin: 12px 0 8px; }
.vs .us { background: var(--navy); border-color: var(--navy); }
.vs .us h3 { color: #fff; }
.vs .us p { color: #a9b6cc; }

/* where to start: one tile per platform, then the next one */
.starts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.starts a { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.starts a:hover { border-color: var(--light); transform: translateY(-2px); }
.starts img, .starts i { flex: none; width: 52px; height: 52px; border-radius: 22.37%; box-shadow: 0 0 0 1px rgba(15, 28, 51, .14), 0 4px 12px rgba(15, 28, 51, .12); }
.starts span { color: var(--muted); font-size: 14px; line-height: 1.4; }
.starts b { display: block; color: var(--text); font-size: 16px; margin-bottom: 2px; }
.starts .next { border-style: dashed; background: transparent; }
.starts i { display: grid; place-items: center; font: 600 26px/1 var(--sans); font-style: normal; color: var(--gold); background: var(--card); }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding-top: 22px; border-top: 2px solid var(--line); }
.step::before { counter-increment: s; content: "0" counter(s); font: 600 12px var(--mono); color: var(--dim); letter-spacing: .1em; }
.step h3 { font-size: 20px; margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step:nth-child(1) { border-color: var(--teal); }
.step:nth-child(2) { border-color: var(--gold); }
.step:nth-child(3) { border-color: var(--blue); }
.step:nth-child(4) { border-color: var(--deep); }
section.dark .step:nth-child(4) { border-color: var(--light); }



/* about band */
.about > *, .contact > * { min-width: 0; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about h2 { font-size: clamp(32px, 4vw, 46px); margin: 14px 0 16px; }
.about p { color: var(--muted); font-size: 18px; }
.about .tagline { margin-top: 20px; }

/* cta */
.cta { text-align: center; }
.cta h2 { font-size: clamp(30px, 4vw, 44px); }
.cta p { color: var(--muted); font-size: 18px; margin: 14px auto 0; max-width: 34em; }
.cta .actions { justify-content: center; }

/* ---------- work page ---------- */
.works { display: grid; gap: 28px; }
.proj { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.proj > * { min-width: 0; }
.proj:nth-child(even) { grid-template-columns: 1.15fr 1fr; }
.proj:nth-child(even) > .thumb { order: 2; }
.proj .thumb { aspect-ratio: 4 / 3; border-radius: 14px; display: grid; place-items: center; overflow: hidden; background: var(--bg-2); }
/* Every app icon at one size, cut to the iOS corner (229/1024) with the same outline and shadow. */
.proj .appicon { width: 38%; aspect-ratio: 1; border-radius: 22.37%; box-shadow: 0 0 0 1px rgba(15, 28, 51, .14), 0 10px 28px rgba(15, 28, 51, .16); }
.proj .kind { font: 600 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.proj h2 { font-size: clamp(24px, 2.8vw, 32px); margin: 14px 0 14px; }
/* The product's name leads its heading, so search engines read it as the heading's subject. */
.proj h2 .name { display: block; margin-bottom: 4px; font-size: 17px; font-weight: 700; letter-spacing: 0; color: var(--blue); }
.proj p { color: var(--muted); font-size: 16px; }
.proj .fit { margin-top: 12px; font-size: 15px; }
.proj .fit b { color: var(--text); }
.proj .links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; }
.proj .more { font-weight: 600; font-size: 15px; }
/* Status ribbon across the top right corner, 45 degrees. */
.proj .ribbon { position: absolute; top: 40px; right: -66px; width: 250px; padding: 7px 0; transform: rotate(45deg); text-align: center; font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; box-shadow: 0 2px 8px rgba(15, 28, 51, .18); }
.proj .ribbon.live { background: var(--teal); }
.proj .ribbon.test { background: var(--navy); }
.proj .ribbon.beta { background: #a87a24; }
.proj .ribbon.dev { background: var(--blue); }

/* ---------- contact page ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact dl { margin: 0; display: grid; gap: 22px; }
.contact dt { font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.contact dd { margin: 6px 0 0; font-size: 17px; }
form.card { display: grid; gap: 16px; }
/* Message us (assets/talk.js): a conversation, like texting us. */
.talk { display: grid; gap: 24px; }
.talk [hidden] { display: none !important; }
.messages { display: grid; gap: 14px; padding: 22px 24px; }
.talk-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.talk-head h2 { margin: 0; font-size: 20px; letter-spacing: -.01em; }
.hours { margin: 0; font-size: 13px; color: var(--muted); }
.hours .open { color: var(--teal); font-weight: 600; }
.hours .soon { color: #b26a00; font-weight: 600; }
.hours .shut { color: #c0362c; font-weight: 600; }
/* The conversation scrolls inside the card; the page does not grow with it. */
.thread { list-style: none; margin: 0 -6px 0 0; padding: 2px 14px 2px 0; display: grid; gap: 10px; align-content: start;
          scrollbar-gutter: stable;
          max-height: min(440px, 60vh); overflow-y: auto; overscroll-behavior: contain;
          scrollbar-width: thin; scrollbar-color: var(--line, #dde4ee) transparent; }
/* The same sender again: no label, closer to the bubble before. */
.thread li.again { margin-top: -6px; }
.thread li.again .who { display: none; }
.thread li { max-width: 82%; display: grid; gap: 3px; }
.thread li .who { font-size: 12px; color: var(--dim); }
.thread li p { margin: 0; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.thread li.mine { justify-self: end; text-align: right; }
.thread li.mine p { background: var(--deep); color: #fff; border-bottom-right-radius: 6px; text-align: left; }
.thread li.team { justify-self: start; }
.thread li.team p { background: var(--bg-2); color: var(--text); border-bottom-left-radius: 6px; }
/* The status, under the conversation: plain while someone is being found;
   outlined in our blue once a person has it. A new kind pops in. */
.status { margin: -2px 0 0; display: flex; justify-content: flex-end; font-size: 13px; }
.status .typing { color: var(--muted); font-style: italic; }
.status .chip { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 6px 12px; border-radius: 999px; line-height: 1.35; }
.status .chip .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: currentColor; }
.status .chip.wait { color: var(--muted); padding-right: 2px; }
.status .chip.wait .dot { background: var(--dim); }
.status .chip.searching .dot { animation: status-pulse 1.4s ease-in-out infinite; }
.status .chip.person { color: var(--muted); box-shadow: inset 0 0 0 1px rgba(0, 48, 144, .28); }
.status .chip.person .dot { background: var(--teal); }
.status .chip .seen { font-weight: 400; color: var(--dim); }
/* A new status: it bounces in, then a shine sweeps across it twice. */
.status .chip { position: relative; overflow: hidden; }
.status .chip.changed { animation: status-bounce .8s cubic-bezier(.3, 1.6, .5, 1); }
.status .chip.changed::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(0, 48, 144, .12) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: status-swoosh .9s ease-in-out .35s 2;
}
@keyframes status-pulse { 50% { opacity: .25; } }
@keyframes status-bounce {
  0% { transform: translateY(8px) scale(.92); opacity: 0; }
  60% { transform: translateY(-3px) scale(1.04); opacity: 1; }
  80% { transform: translateY(1px) scale(.99); }
  100% { transform: none; }
}
@keyframes status-swoosh { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
  .status .chip.changed, .status .chip.changed::after, .status .chip.searching .dot { animation: none; }
}
.offer { position: relative; display: grid; gap: 8px; padding: 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.offer > p:first-of-type { padding-right: 22px; }
.offer .dismiss { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--dim); font-size: 18px; line-height: 1; cursor: pointer; }
.offer .dismiss:hover { background: var(--bg-2); color: var(--text); }
.offer p { margin: 0; font-size: 14px; }
.offer-row { display: flex; gap: 8px; flex-wrap: wrap; }
.offer-row input { flex: 1 1 200px; }
.given { margin: 0; }
.talk .year { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.compose { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.compose textarea { min-height: 0; resize: vertical; }
/* Writing, not a message: below a line once there is a thread, and Send with
   square-ish corners, so it never reads as one of the round navy bubbles. */
.thread:not([hidden]) ~ .compose { border-top: 1px solid var(--line); padding-top: 16px; }
.compose .btn { border-radius: 10px; }
.talk .alert { margin: 0; padding: 10px 13px; border-radius: 10px; background: #fdf1ee; color: #8a2a12; font-size: 14px; }
.talk button[disabled] { opacity: .6; cursor: progress; }
.clear { margin-left: auto; background: none; border: 0; padding: 0; font: 13px var(--sans); color: var(--dim); cursor: pointer; text-decoration: underline; }
.clear:hover { color: var(--text); }
.clearing { display: grid; gap: 10px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.clearing p { margin: 0; font-size: 14px; }
.clearing .clearing-title { font-weight: 600; font-size: 15px; }
.clearing .keep { display: grid; gap: 6px; }
.clearing .about summary { font-size: 13px; color: var(--muted); cursor: pointer; }
.clearing .about p { margin-top: 6px; font-size: 13px; color: var(--muted); }
.clearing-actions { display: flex; align-items: center; gap: 14px; }
.linkish { background: none; border: 0; padding: 0; font: 14px var(--sans); color: var(--muted); cursor: pointer; }
.linkish:hover { color: var(--text); text-decoration: underline; }
.via { margin: 0; font-size: 12px; color: var(--dim); text-align: right; }
.via a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; }
.via img { border-radius: 4px; }
.via a:hover { text-decoration: underline; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
input, select, textarea { font: 15px var(--sans); padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--light); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 150px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.note { font-size: 13px; color: var(--dim); }

/* ---------- faq page ---------- */
/* One card per question, numbered in order; the + turns into × while its
   answer is open. The number hangs, so a question that wraps stays aligned. */
.faq { display: grid; gap: 12px; max-width: 860px; counter-reset: faq; }
.qa { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); counter-increment: faq; }
.qa summary h2 { display: grid; grid-template-columns: 2.2em 1fr; }
.qa summary h2::before { content: counter(faq) "."; color: var(--gold); font-variant-numeric: tabular-nums; }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; cursor: pointer; border-radius: 14px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h2 { font-size: 18px; letter-spacing: -.01em; line-height: 1.35; }
.qa summary:hover h2 { color: var(--blue); }
.qa summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-2); color: var(--deep); font: 600 18px/1 var(--sans); transition: rotate .2s ease; }
.qa[open] summary::after { rotate: 45deg; }
.qa summary:focus-visible { outline: 2px solid var(--light); outline-offset: 2px; }
.qa > div { padding: 0 24px 22px; max-width: 46em; }
.qa > div p { color: var(--muted); font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .qa summary::after { transition: none; } }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
footer .brand { font-size: 16px; }
footer .brand img { height: 28px; width: auto; }
footer nav { display: flex; gap: 22px; }
footer nav a { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap, .head, .about, .contact, .proj { grid-template-columns: 1fr; }
  .proj:nth-child(even) { grid-template-columns: 1fr; }
  .proj:nth-child(even) > .thumb { order: 0; }
  .proj { padding: 24px; gap: 24px; }
  .grid.c3, .grid.c4, .steps { grid-template-columns: repeat(2, 1fr); }
  .starts { grid-template-columns: repeat(2, 1fr); }
  .hexwrap { order: -1; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  nav.top ul { gap: 16px; }
  nav.top ul li.hide-sm { display: none; }
  .grid.c2, .grid.c3, .grid.c4, .steps, .row2, .starts { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 48px 0 56px; }
  .disc { padding: 24px 22px; }
  .disc-top p { font-size: 16px; }
  .emblem { width: 52px; }
  .disc-cols { grid-template-columns: 1fr; gap: 18px; }
  .qa summary { padding: 16px 18px; }
  .qa summary h2 { font-size: 17px; }
  .qa > div { padding: 0 18px 18px; }
}
