:root {
  --bg: #f5f6f3;
  --surface: #fff;
  --ink: #101827;
  --muted: #667085;
  --muted-strong: #344054;
  --line: #dfe4ea;
  --accent: #087f8c;
  --accent2: #155eef;
  --dark: #0b1220;
  --shadow: 0 24px 70px rgb(16 24 40 / 10%);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgb(245 246 243 / 82%);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgb(223 228 234 / 75%);
}

.navin {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand span {
  color: var(--accent);
}

.links {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: #475467;
}

.links a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  background: var(--surface);
  transition: 0.25s;
  font-family: inherit;
  cursor: pointer;
  color: var(--ink);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgb(16 24 40 / 8%);
}

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

.hero {
  padding: 150px 0 80px;
  min-height: 760px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.gridbg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(21 94 239 / 5.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(21 94 239 / 5.5%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
  pointer-events: none;
}

.heroGrid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
  position: relative;
}

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(54px, 7.2vw, 94px);
  line-height: 0.94;
  letter-spacing: -0.075em;
  margin: 0 0 28px;
  max-width: 850px;
}

.lead {
  font-size: clamp(20px, 2.3vw, 29px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  max-width: 730px;
  color: #344054;
}

.sub {
  color: var(--muted);
  max-width: 650px;
  font-size: 17px;
  margin: 22px 0 30px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* While the portrait (me-*.jpg / me-*.webp) loads the block shows only its
   frame — no fill, no initials — so a fast-loading image swaps into an empty
   slot instead of flickering over a drawn placeholder. */
.portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 32px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.5s;
}

.portrait:hover {
  transform: translateY(-6px);
}

.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.portrait .label {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  padding: 16px 18px;
  background: rgb(255 255 255 / 78%);
  backdrop-filter: blur(12px);
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 18px;
  font-size: 13px;
  font-weight: 700;
  z-index: 2;
}

.floating {
  position: absolute;
  right: -20px;
  top: 15%;
  padding: 12px 15px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 800;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}

section {
  padding: 105px 0;
}

.dark {
  background: var(--dark);
  color: white;
}

.dark .muted {
  color: #aab4c5;
}

.sectionHead {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 42px;
}

.kicker {
  color: var(--accent);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

h2 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin: 9px 0 0;
}

.sectionIntro {
  max-width: 480px;
  color: var(--muted);
}

.caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgb(255 255 255 / 14%);
  border-bottom: 1px solid rgb(255 255 255 / 14%);
}

.cap {
  padding: 32px 26px;
  border-right: 1px solid rgb(255 255 255 / 14%);
}

.cap:last-child {
  border: 0;
}

.cap b {
  display: block;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.cap span {
  display: block;
  color: #aab4c5;
  font-size: 14px;
  line-height: 1.5;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.card-logo {
  height: 30px;
  width: auto;
  max-width: 100%;
  margin-bottom: 18px;
  object-fit: contain;
  object-position: left center;
}

.card .tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 800;
}

.card h3 {
  font-size: 28px;
  letter-spacing: -0.04em;
  margin: 14px 0 10px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

.card .tech {
  margin-top: auto;
  color: #475467;
  font-size: 12px;
  padding-top: 20px;
}

.cert-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: auto;
}

.cert-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.cert-item:first-child {
  border-top: 0;
  padding-top: 22px;
}

.cert-title {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.cert-meta {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.cert-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.3s;
}

.cert-link:hover {
  color: var(--accent2);
}

.philosophy {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.quote {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin: 0;
}

.principles {
  display: grid;
  gap: 0;
}

.principle {
  padding: 25px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
}

.principle b {
  color: var(--accent);
}

.principle h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.principle p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  position: relative;
  margin-top: 50px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 150px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.event {
  display: grid;
  grid-template-columns: 120px 60px 1fr;
  gap: 20px;
  margin-bottom: 45px;
}

.year {
  font-weight: 800;
  color: var(--muted);
  padding-top: 5px;
}

.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
  margin: 7px auto;
  box-shadow: 0 0 0 7px var(--bg);
  position: relative;
  z-index: 2;
}

.event h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.event p {
  margin: 5px 0;
  color: var(--muted);
}

.event .mini {
  font-size: 12px;
  color: #475467;
}

.techgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.techbox {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  transition: 0.25s;
}

.techbox:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.techbox b {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.techbox span {
  font-size: 12px;
  color: var(--muted-strong);
}

.contact {
  background: #e4f0ef;
  border-radius: 34px;
  padding: 60px;
}

.contactGrid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
}

.contact h2 {
  max-width: 650px;
}

.contact p {
  color: #475467;
  max-width: 550px;
}

footer {
  padding: 35px 0;
  color: #667085;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}

/* No-JS safety: hidden states only apply when JS is present (html.js is set
   by an inline head script). Hero (.reveal-fast) is capped at 0.2s: Chrome
   records LCP at the END of the opacity transition on the LCP element, so a
   long hero fade directly inflates LCP. */
.js .reveal {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.js .reveal.visible {
  opacity: 1;
}

.js .reveal-fast {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.js .reveal-fast.visible {
  opacity: 1;
}

/* ---------- Stories ---------- */
.stories {
  display: grid;
  gap: 34px;
}

.story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0 44px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  transition: box-shadow 0.3s;
  scroll-margin-top: 96px;
}

.story:hover {
  box-shadow: var(--shadow);
}

.story.reverse .story-visual {
  order: -1;
}

.story-body .tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 800;
}

.story-body h3 {
  font-size: clamp(26px, 3.1vw, 38px);
  letter-spacing: -0.045em;
  line-height: 1.06;
  margin: 12px 0;
}

.story-body .hook {
  color: #344054;
  font-size: 16.5px;
  margin: 0 0 16px;
}

.story-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
}

.story-tech span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: #475467;
  background: #fff;
}

.story-metrics {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin: 0 0 10px;
}

.story-metrics div b {
  font-size: 22px;
  display: block;
  letter-spacing: -0.03em;
}

.story-metrics div span {
  font-size: 12px;
  color: var(--muted);
}

.story-source {
  font-size: 11.5px;
  color: var(--muted);
  margin: 0 0 16px;
}

.readmore {
  cursor: pointer;
}

.story-full {
  grid-column: 1/-1;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow-anchor: none;
  transition:
    grid-template-rows 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.45s;
}

.story-full.open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.story-full > div {
  overflow: hidden;
}

.story-full .inner {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.expanded-grid {
  display: block;
}

.expanded-text {
  columns: 2;
  column-gap: 44px;
}

.expanded-text p {
  break-inside: avoid;
}

.expanded-visual {
  margin: 18px auto 0;
  max-width: 760px;
  min-width: 0;
}

.decision-path {
  margin: 34px auto 0;
  max-width: 760px;
  text-align: center;
}

.decision-path h4 {
  margin-top: 0;
}

.story-full h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin: 24px 0 8px;
}

.story-full h4:first-child {
  margin-top: 0;
}

.story-full p {
  color: #344054;
  font-size: 15.5px;
  margin: 0 0 12px;
}

.story-full ul,
.story-full ol {
  margin: 0 0 14px;
  padding-left: 20px;
  color: #344054;
  font-size: 15.5px;
}

.story-full li {
  margin-bottom: 6px;
}

.story-full pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 14px;
  border-radius: 12px;
  overflow: auto;
  font:
    13px/1.55 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  margin: 10px 0 14px;
}

.story-visual {
  background: linear-gradient(160deg, #f8fafc, #eef4f6);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-anchor: none;
}

/* ---------- Diagram engine ---------- */
.dg-scroll {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
}

.dg-svg {
  width: 100%;
  height: auto;
  display: block;
}

.dg-tx {
  fill: var(--ink);
  font:
    600 11px Inter,
    system-ui,
    sans-serif;
  text-anchor: middle;
}

.dg-nd {
  fill: #fff;
  stroke: #cbd5e1;
  stroke-width: 1.5;
}

.dg-nd.hl {
  fill: #fef3c7;
  stroke: #e0932b;
}

.dg-nd.ex {
  stroke-dasharray: 4 3;
  stroke: #94a3b8;
}

.dg-nd.on {
  stroke: var(--accent);
  stroke-width: 2.6;
}

.dg-ed {
  stroke: #94a3b8;
  stroke-width: 1.6;
}

.dg-ed.on {
  stroke: var(--accent);
  stroke-width: 2.6;
  stroke-dasharray: 6 5;
  animation: dg-dash 0.8s linear infinite;
}

@keyframes dg-dash {
  to {
    stroke-dashoffset: -11;
  }
}

.dg-zn {
  fill: none;
  stroke: #cbd5e1;
  stroke-dasharray: 3 5;
}

.dg-zt {
  fill: var(--muted);
  font:
    600 11px Inter,
    system-ui,
    sans-serif;
}

.dg-cap {
  font-size: 12.5px;
  color: var(--muted);
  margin: 8px 0 0;
}

.dg-ctl {
  display: none;
}

.dg-ctl button {
  min-height: 36px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 14px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

.dg-ctl button:hover {
  border-color: var(--accent);
}

.dg-step {
  font-size: 13px;
  color: #344054;
  margin: 8px 0 0;
  min-height: 4.65em;
  overflow-anchor: none;
}

/* ---------- Antenna simulator ---------- */
.ant-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.ant-ctl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
  font-size: 13px;
  color: #475467;
}

.ant-ctl label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ant-ctl input[type="range"] {
  width: 104px;
}

.ant-bar {
  height: 9px;
  background: #e2e8f0;
  border-radius: 6px;
  margin-top: 10px;
  overflow: hidden;
}

.ant-bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  transition: width 0.4s ease;
}

.ant-cap {
  font-size: 13px;
  color: #344054;
  margin: 8px 0 0;
  font-weight: 600;
}

.ant-note {
  font-size: 11.5px;
  color: var(--muted);
  margin: 6px 0 0;
}

/* ---------- Chatbot pipeline ---------- */
.bot-cap {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px;
}

.bot-pal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.mini-btn {
  min-height: 34px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 12.5px;
  font-family: inherit;
  cursor: pointer;
}

.mini-btn:hover {
  border-color: var(--accent);
}

.bot-ln5 {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding-top: 44px;
  margin-top: 8px;
}

.bot-stn {
  padding: 9px 2px;
  text-align: center;
  background: #f1f5f9;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.bot-stn.on {
  background: var(--accent);
  color: #fff;
}

.bot-ico {
  display: block;
  margin: 0 auto 4px;
  width: 20px;
  height: 20px;
}

.bot-bub {
  position: absolute;
  top: 0;
  left: 10%;
  width: 32px;
  height: 30px;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  border-radius: 99px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-style: normal;
  transition: left 0.9s ease;
}

.bot-shelf {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.bot-fr {
  padding: 6px;
  background: #f1f5f9;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  opacity: 0.55;
  transition: all 0.3s;
}

.bot-fr.on {
  opacity: 1;
  background: #d1fae5;
  outline: 2px solid var(--accent);
}

.bot-step {
  font-size: 13px;
  color: #344054;
  margin: 10px 0 0;
  min-height: 2.6em;
}

/* ---------- Chat demo ---------- */
.chat-ui {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  margin-top: 14px;
}

.chat-log {
  padding: 12px;
  display: grid;
  gap: 8px;
  min-height: 150px;
}

.chat-log .msg {
  max-width: 80%;
  padding: 7px 11px;
  border-radius: 11px;
  font-size: 13.5px;
}

.msg.bot {
  background: #edf4f7;
  justify-self: start;
}

.msg.user {
  background: var(--ink);
  color: #fff;
  justify-self: end;
}

.chat-options {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 12px 9px;
}

.chat-options button {
  border: 1px solid var(--accent);
  border-radius: 99px;
  background: #fff;
  color: var(--accent);
  padding: 5px 10px;
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  font-family: inherit;
}

.chat-hint {
  padding: 0 12px 10px;
  color: var(--muted);
  font-size: 12px;
  min-height: 1.4em;
}

.behind {
  border-top: 1px solid var(--line);
  padding: 12px;
  background: #f8fafc;
}

.behind h4 {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}

.logic-lane {
  display: flex;
  gap: 7px;
  overflow: auto;
  padding: 5px 1px;
}

.logic {
  min-width: 118px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-size: 11px;
  transition:
    transform 0.35s,
    box-shadow 0.35s,
    border-color 0.35s;
}

.logic b {
  display: block;
  font-size: 11.5px;
  margin-bottom: 3px;
}

.logic.active {
  border-color: #e0932b;
  box-shadow: 0 0 0 3px #fbbf2440;
  transform: scale(1.03);
}

.logic .gear {
  display: inline-block;
  font-size: 18px;
}

.logic.active .gear {
  animation: spin 1s linear infinite;
}

.ann {
  display: grid;
  gap: 3px;
  margin-top: 4px;
}

.ann span {
  padding: 3px;
  background: #eef2ff;
  border-radius: 4px;
}

.ann span.win {
  background: #d1fae5;
  font-weight: 700;
}

.chat-input {
  display: flex;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding: 9px;
}

.chat-input input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px;
  font-family: inherit;
  font-size: 13px;
}

.chat-input input:disabled {
  background: #f1f5f9;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (width <= 850px) {
  .links {
    display: none;
  }

  .hero {
    padding-top: 120px;
  }

  .heroGrid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .heroGrid > .reveal-fast:last-child {
    position: relative;
  }

  .portrait {
    max-width: 420px;
    margin: auto;
    width: 100%;
  }

  .caps {
    grid-template-columns: 1fr;
  }

  .cap {
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 14%);
  }

  .cap:last-child {
    border-bottom: 0;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .techgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .philosophy {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline::before {
    left: 8px;
  }

  .event {
    grid-template-columns: 45px 1fr;
    gap: 18px;
  }

  .year {
    grid-column: 2;
    grid-row: 1;
  }

  .dot {
    grid-column: 1;
    grid-row: 1;
  }

  .event > div:last-child {
    grid-column: 2;
  }

  .sectionHead,
  .contactGrid {
    display: block;
  }

  .sectionIntro {
    margin-top: 18px;
  }

  footer {
    display: block;
  }

  footer div + div {
    margin-top: 8px;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 24px;
  }

  /* Grid items must be allowed to shrink below their content's min-content
     size; otherwise the 600px diagram min-width (<=700px rule) forces every
     story card to ~690px wide and the page scrolls sideways on phones.
     The diagram itself still swipes horizontally inside .dg-scroll. */
  .story > * {
    min-width: 0;
  }

  /* Undo the desktop left-column placement: on mobile the visual always
     stacks below the story content, in natural DOM order. */
  .story.reverse .story-visual {
    order: 0;
  }

  .expanded-text {
    columns: 1;
  }
}

@media (width <= 700px) {
  .dg-svg {
    min-width: 600px;
  }
}

@media (width <= 520px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  section {
    padding: 75px 0;
  }

  .hero {
    min-height: auto;
  }

  .techgrid {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 35px 25px;
  }

  .story {
    padding: 18px;
  }

  .bot-shelf {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
