/* =================================================================
   AI Home — Light + Bento
   ================================================================= */

/* ---------- reveal helper ---------- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"].is-revealed { transition-delay: 80ms; }
[data-reveal-delay="2"].is-revealed { transition-delay: 160ms; }
[data-reveal-delay="3"].is-revealed { transition-delay: 240ms; }
[data-reveal-delay="4"].is-revealed { transition-delay: 320ms; }
[data-reveal-delay="5"].is-revealed { transition-delay: 400ms; }

/* ---------- top banner ---------- */
.top-banner { margin-top: var(--nav-h); }
.top-banner img { display: block; width: 100%; height: auto; }

/* ---------- hero ---------- */
.hero {
  padding-top: var(--space-16);
  padding-bottom: var(--space-12);
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 30% -10%, rgba(133, 194, 38, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(37, 99, 235, 0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero-inner { max-width: 880px; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.02;
  margin-bottom: var(--space-6);
  letter-spacing: -0.035em;
}
.hero h1 .accent { display: block; margin-top: var(--space-2); }
.hero p.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--text-dim);
  max-width: 38rem;
  margin: 0 0 var(--space-8);
  line-height: 1.5;
}
.hero-cta { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* ---------- hero grid (copy left, banner right) ---------- */
.hero-grid { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-12); }
}
/* hero visual: vertical "business goals -> production AI" flow card */
.hero-visual { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.goal-flow {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-sm);
}
.goal-flow-title {
  margin: 0 0 var(--space-6);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--text);
}
.goal-flow-steps { list-style: none; margin: 0; padding: 0; }
.goal-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-xs);
}
.goal-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; background: var(--text-muted); }
.goal-dot.is-goals { background: var(--accent); }
.goal-dot.is-architecture { background: #4fa3c7; }
.goal-dot.is-infrastructure { background: #55965a; }
.goal-dot.is-production { background: var(--asrock); }
.goal-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.goal-text strong { color: var(--text); font-size: 0.95rem; font-weight: 700; line-height: 1.35; }
.goal-sub { color: var(--text-dim); font-size: 0.78rem; line-height: 1.45; }
.goal-arrow {
  display: block;
  padding: var(--space-2) 0;
  text-align: center;
  color: var(--accent);
  font-size: 0.85rem;
  line-height: 1;
}

/* ---------- why section (copy left, question card right) ---------- */
.why-grid { display: grid; gap: var(--space-8); align-items: start; }
@media (min-width: 900px) {
  .why-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-12); }
}
.why-lead { min-width: 0; }
/* full-width headline above the grid */
.why .why-h2 { max-width: none; margin-bottom: var(--space-8); }
.why-lead p { font-size: 1.05rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 0; }
.why-rule { border: 0; border-top: 1px solid var(--border); margin: var(--space-8) 0; }

/* shared green mono label (mission + card heading) */
.why-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--asrock-dark);
  margin: 0 0 var(--space-4);
}

.why-card {
  min-width: 0;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-sm);
}
.why-card .why-label { margin-bottom: var(--space-6); }
.why-ask { display: flex; flex-direction: column; gap: var(--space-6); }
.why-ask li {
  display: flex;
  gap: var(--space-3);
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.why-q { font-family: var(--font-mono); font-weight: 700; color: var(--asrock); flex-shrink: 0; }

/* ---------- services — EN split layout (copy + photo left, delivery framework right) ---------- */
/* 2-col × 2-row grid: row 1 = headline + intro, row 2 = photo + framework.
   Row 2 is one shared track, so the framework's top and bottom edges align with the photo. */
.svc-split { display: grid; gap: var(--space-8); align-items: start; margin-top: var(--space-8); }
@media (min-width: 900px) {
  .svc-split {
    /* left 54% / right 42% of the track space, 3rem gutter */
    grid-template-columns: minmax(0, 54fr) minmax(0, 42fr);
    grid-template-rows: auto 1fr;
    column-gap: var(--space-12);
    row-gap: 0;
    align-items: stretch;
  }
  .svc-h2 { grid-column: 1; grid-row: 1; }
  .svc-intro { grid-column: 2; grid-row: 1; }
  .svc-photo { grid-column: 1; grid-row: 2; height: 100%; }
  /* photo fills the shared row; cover-crop instead of distorting */
  .svc-photo img { height: 100%; object-fit: cover; }
  .svc-framework { grid-column: 2; grid-row: 2; }
}
/* no max-width: the <br> sets the two lines; a ch cap would force a third line */
.svc-h2 { font-weight: 700; margin-bottom: var(--space-8); overflow-wrap: break-word; min-width: 0; }
.svc-photo { margin: 0; }
.svc-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* right column: intro + "Our AI Delivery Framework" 4-step list + dark pill CTA */
.svc-framework { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.svc-intro {
  color: var(--text-dim);
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0 0 var(--space-8);
  max-width: 44ch;
  overflow-wrap: break-word;
}
.svc-framework-title { font-size: 1.15rem; font-weight: 700; color: var(--text); margin: 0 0 var(--space-8); }
.svc-steps { list-style: none; margin: 0 0 var(--space-10); padding: 0; display: flex; flex-direction: column; gap: var(--space-8); width: 100%; }
.svc-step { display: grid; grid-template-columns: 2.375rem minmax(0, 1fr); column-gap: var(--space-4); align-items: start; }
.svc-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.375rem;   /* 38px circular badge */
  height: 2.375rem;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
}
.svc-step-body { min-width: 0; padding-top: 0.1rem; }
.svc-step-title { display: block; color: var(--accent); font-weight: 700; font-size: 1.05rem; line-height: 1.3; margin-bottom: var(--space-1); }
.svc-step-desc { display: block; color: var(--text-dim); font-size: 0.95rem; line-height: 1.55; overflow-wrap: break-word; }
/* dark pill CTA — modifier only, .btn base untouched */
.svc-framework .svc-btn-dark { margin-top: auto; } /* flush with the photo's bottom edge on desktop */
.svc-btn-dark { background: var(--bg-dark); color: #fff; box-shadow: var(--shadow-sm); }
.svc-btn-dark:hover { background: var(--bg-darker); box-shadow: var(--shadow-md); }

/* ---------- deployment · three-card comparison (dep-*) ---------- */
.deploy .dep-title { max-width: 24ch; margin-bottom: var(--space-4); }
.deploy .dep-lead {
  max-width: 60ch;
  margin: 0;
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.65;
}

.dep-grid {
  display: grid;
  grid-template-columns: 1fr;      /* narrow: single column, no overflow */
  gap: var(--space-5);
  margin-top: var(--space-10);
}
@media (min-width: 900px) {
  .dep-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
}

.dep-card {
  display: flex;
  flex-direction: column;
  min-width: 0;                    /* long words can't blow the track out */
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base),
              box-shadow var(--dur-base);
}
@media (min-width: 900px) { .dep-card { padding: var(--space-10); } }
.dep-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.dep-card .dep-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-5);
}
.deploy .dep-card .dep-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 var(--space-4);
}
.dep-card .dep-line {
  margin: 0 0 var(--space-3);
  color: var(--text);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.45;
}
.dep-card .dep-desc {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* accent card (On-Premise): near-black navy + ASRock green edge.
   #0b1220 is one step deeper than --bg-dark (#0f172a) and sits between it and
   --bg-darker (#020617); no site token maps to it, so it is a literal here. */
.dep-card--accent {
  background: #0b1220;
  border: 2px solid var(--asrock);
}
.dep-card--accent .dep-tag { color: var(--asrock); }
.deploy .dep-card--accent .dep-name { color: #ffffff; }
.dep-card--accent .dep-line { color: #ffffff; }
.dep-card--accent .dep-desc { color: var(--text-on-dark-dim); }
.dep-card--accent:hover {
  border-color: var(--asrock-light);
  box-shadow: var(--shadow-glow-green);
}

.dep-note {
  margin: var(--space-8) 0 0;
  max-width: 92ch;
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

/* ---------- products bento ---------- */
.products-header { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-10); flex-wrap: wrap; }
.products-header h2 { max-width: 22ch; margin: 0; }
/* lead row under the heading: description + Explore Infrastructure CTA */
.products-lead { display: flex; align-items: center; gap: var(--space-8); flex-wrap: wrap; margin-top: var(--space-5); }
.products-lead p { margin: 0; color: var(--text-dim); line-height: 1.6; max-width: 52ch; }
.products .bento-cell { display: flex; flex-direction: column; min-height: 260px; }
.products .bento-cell .level { font-family: var(--font-mono); font-size: 0.72rem; color: var(--asrock-hi); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: var(--space-4); }
.products .bento-cell h3 { font-size: 1.4rem; margin-bottom: var(--space-3); }
.products .bento-cell .sub { color: var(--text-dim); font-size: 0.95rem; line-height: 1.55; margin: 0; }
/* swipeable product shots pinned to the bottom of an infrastructure cell */
.products .cell-carousel { position: relative; margin-top: auto; padding-top: var(--space-5); }
.products .car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.products .car-track::-webkit-scrollbar { display: none; }
/* fixed slide height so every card's carousel (and its arrows) sits on the same baseline */
.products .car-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; height: 280px; }
.products .car-slide img { display: block; max-width: min(78%, 250px); max-height: 100%; width: auto; height: auto; transition: transform 300ms var(--ease-out); }
.products .car-slide:hover img { transform: scale(1.04) translateY(-2px); }
.products .car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 200ms var(--ease-out), color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.products .car-btn.is-prev { left: 0; }
.products .car-btn.is-next { right: 0; }
.products .car-btn:hover { background: var(--asrock); border-color: var(--asrock); color: #fff; }
.products .cell-carousel.is-single .car-btn { display: none; }
.products .bento-cell .cta { margin-top: auto; padding-top: var(--space-5); color: var(--asrock-hi); font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; }

/* ---------- 04 · Infrastructure — dark treatment ----------
   All four index language builds (EN/TC/JP/KR) set .products.infra-dark;
   the base .products rules above still supply the bento layout that this
   dark skin sits on, so they must stay. */
.products.infra-dark {
  background: #0b1220;            /* near-black navy per design; no token this deep exists (--bg-dark is #0f172a) */
  color: var(--text-on-dark);
}
/* brand green on dark — the shared .eyebrow pill is tinted for light backgrounds */
.products.infra-dark .eyebrow {
  color: var(--asrock-light);
  background: rgba(133, 194, 38, 0.12);
  border-color: rgba(133, 194, 38, 0.35);
}
.products.infra-dark .infra-title {
  color: #fff;
  font-weight: 700;
  max-width: none;                /* single line — overrides .products-header h2 { max-width: 22ch } */
  text-wrap: balance;
}
.products.infra-dark .products-lead p { color: var(--text-on-dark-dim); max-width: 74ch; }

/* cards: one step lighter than the section, hairline border, large radius */
.products.infra-dark .infra-card {
  background: #111a2c;
  border-color: rgba(148, 163, 184, 0.16);
  border-radius: var(--radius-2xl);
}
.products.infra-dark .infra-card:hover { border-color: rgba(133, 194, 38, 0.4); }
.products.infra-dark .infra-card .infra-label { color: var(--asrock); }
.products.infra-dark .infra-card h3 { color: #fff; }
.products.infra-dark .infra-card .sub { color: var(--text-on-dark-dim); }
/* carousel keeps its markup and JS hooks (.cell-carousel / .car-track / .car-slide /
   .car-btn.is-prev|.is-next); only the arrow chrome is re-tinted for the dark card */
.products.infra-dark .car-btn {
  background: rgba(11, 18, 32, 0.72);
  border-color: rgba(226, 232, 240, 0.45);
  color: var(--text-on-dark);
  box-shadow: none;
}
.products.infra-dark .car-btn:hover { background: var(--asrock); border-color: var(--asrock); color: #0b1220; }
/* the datacenter shots are white-background JPGs — rounding the corners makes them
   read as a deliberate photo plate instead of a raw white rectangle (PNGs are alpha) */
.products.infra-dark .car-slide img { border-radius: var(--radius); }

/* section-closing CTA, left aligned */
.infra-cta { display: flex; justify-content: flex-start; margin-top: var(--space-10); }
.infra-btn-green { box-shadow: var(--shadow-glow-green); }

/* ---------- solutions (image-led stories + summary panel) ---------- */
.solutions-grid { display: grid; gap: var(--space-6); align-items: start; margin-top: var(--space-10); }
@media (min-width: 900px) {
  .solutions-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-8); }
}
.solution-stories { display: flex; flex-direction: column; gap: var(--space-5); }
.solution-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.solution-card img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; transition: transform 500ms var(--ease-out); }
.solution-card:hover img { transform: scale(1.03); }
.solution-card .story-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-8);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.28) 55%, rgba(15, 23, 42, 0) 80%);
}
.solution-card h3 { color: #fff; font-size: clamp(1.4rem, 2vw, 1.9rem); margin: 0; }
.solution-card .story-copy p { color: rgba(248, 250, 252, 0.88); font-size: 0.95rem; line-height: 1.45; margin: 0; }
.solution-card .cta { margin-top: var(--space-2); font-family: var(--font-mono); font-size: 0.78rem; color: #fff; opacity: 0.9; }
@media (max-width: 719px) {
  .solution-card img { aspect-ratio: 16 / 10; }
  .solution-card .story-copy { padding: var(--space-6); }
}
.solutions-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: sticky;
  top: calc(var(--nav-h) + var(--space-6));
}
.solutions-panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.solutions-panel li {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.5;
  padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4);
  border-left: 3px solid transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background 300ms var(--ease-out), border-color 300ms var(--ease-out), color 300ms var(--ease-out);
}
.solutions-panel li strong { display: block; color: var(--text); font-size: 1.02rem; margin-bottom: var(--space-2); transition: color 300ms var(--ease-out); }
.solutions-panel li.is-active { border-left-color: var(--asrock); background: var(--asrock-tint); color: var(--text); }
.solutions-panel li.is-active strong { color: var(--asrock-dark); }
.solutions-panel .note { margin: var(--space-6) 0 0; padding-top: var(--space-6); border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }

/* ---------- award spotlight ---------- */
.award .bento-cell.award-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  align-items: stretch;
  padding: var(--space-10) var(--space-8);
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: rgba(217, 119, 6, 0.25);
}
@media (min-width: 900px) {
  .award .bento-cell.award-card { padding: var(--space-12) var(--space-16); }
}
.award-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 900px) { .award-info { grid-template-columns: minmax(320px, 440px) 1fr; gap: var(--space-12); } }
.award-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid rgba(217, 119, 6, 0.2); }
.award-photo img { display: block; width: 100%; height: auto; }
.award-text .award-eyebrow { font-family: var(--font-mono); color: #b45309; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: var(--space-3); display: block; font-weight: 600; }
.award-text h2 { margin-bottom: var(--space-4); color: var(--text); }
.award-text p { color: var(--text); font-size: 1.02rem; line-height: 1.55; }
.award-text .award-cta { margin-top: var(--space-5); display: inline-flex; gap: var(--space-2); align-items: center; color: #b45309; font-family: var(--font-mono); font-size: 0.92rem; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color var(--dur-fast); }
.award-text .award-cta:hover { color: #78350f; }

/* ---------- contact / final CTA (photo left, card right) ---------- */
.cta-grid { display: grid; gap: var(--space-6); align-items: stretch; margin-top: var(--space-6); }
.cta-visual { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.cta-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* grid-column: auto — undo base.css .bento-cell { grid-column: span 12 } inside this custom 2-col grid */
.contact .cta-card { grid-column: auto; display: flex; flex-direction: column; justify-content: center; padding: var(--space-10); }
.contact .cta-card h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: var(--space-3) 0 var(--space-4); }
.contact .cta-card p { color: var(--text-dim); font-size: 1.02rem; line-height: 1.55; max-width: 46ch; margin: 0 0 var(--space-8); }
.cta-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
@media (min-width: 900px) {
  .cta-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--space-6); }
}

/* =================================================================
   design-system typography (body.ds-type scope)
   -----------------------------------------------------------------
   Implements docs/design/AI_CENTER_DESIGN_SYSTEM.md § Typography.
   EVERY rule in this block is scoped to .ds-type, a class set on
   <body> by all four index language builds (EN/TC/JP/KR). The
   subpages load this same stylesheet without that class, so
   nothing here can reach them. Never add a bare selector to this block.
   Spec sizes/tracking were tuned for Latin type; CJK headlines
   inherit them — flag visual issues rather than forking per language.

   Spec values are desktop-first fixed px; clamp() is used only so the
   narrow viewports do not overflow — at >=1440px every clamp lands on
   the spec value. #111827 is the spec's text colour; no token matches
   it (tokens.css --text is #0f172a), so it is a literal here.
   ================================================================= */

/* --- 0 · one family everywhere: remap the display/mono aliases to Inter --- */
.ds-type {
  --font-display: var(--font-body);   /* was "Space Grotesk" */
  --font-mono: var(--font-body);      /* was ui-monospace */
}

/* --- 1 · hero headline — 700 / 72px / 1.05 / -0.04em / #111827 --- */
.ds-type .hero h1 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2.75rem, 5vw + 1rem, 4.5rem);   /* 44px → 72px (max from 1120px up) */
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #111827;
}

/* --- 2 · section headlines — 700 / 48px / 1.1 / -0.03em / #111827 --- */
.ds-type h2,
.ds-type .why-lead h2,
.ds-type .svc-h2,
.ds-type .deploy .dep-title,
.ds-type .solutions h2,
.ds-type .award-text h2,
.ds-type .contact .cta-card h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2rem, 2.5vw + 1rem, 3rem);      /* 32px → 48px (max from 1280px up) */
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #111827;
}
/* 04 · Infrastructure is the dark section: same scale, keeps its white text.
   colour is deliberately omitted here so .products.infra-dark .infra-title wins. */
.ds-type .products.infra-dark .infra-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2rem, 2.5vw + 1rem, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* --- 3 · card titles — 600 / 28px / 1.25 --- */
.ds-type .deploy .dep-card .dep-name,
.ds-type .products .infra-card h3,
.ds-type .solution-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.25;
}
/* sub-headings the spec does not name — held one step below a card title so the
   hierarchy still reads inside the services column (20px / 600) */
.ds-type .svc-framework-title,
.ds-type .svc-step-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
}

/* --- 4 · large body copy — 400 / 20px / 1.65, 70–80ch measure --- */
.ds-type .hero p.lede,
.ds-type .why-lead p,
.ds-type .deploy .dep-lead,
.ds-type .products-lead p,
.ds-type .svc-intro,
.ds-type .solutions > .wrap-wide > p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.65;
}
/* measure: the existing caps stay (hero 38rem, dep-lead 60ch, 05 intro 62ch
   inline, 04 lead 74ch); .why-lead p had none, so it gets one in band */
.ds-type .why-lead p { max-width: 72ch; }

/* --- 5 · standard body copy — 400 / 18px / 1.6 --- */
.ds-type .dep-card .dep-line,
.ds-type .dep-card .dep-desc,
.ds-type .svc-step-desc,
.ds-type .why-ask li,
.ds-type .products .infra-card .sub,
.ds-type .solution-card .story-copy p,
.ds-type .award-text p,
.ds-type .contact .cta-card p {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
}
/* .dep-line is the card's emphasis line rather than prose, so it keeps its 700;
   every other member of this tier is the spec's 400 */
.ds-type .dep-card .dep-desc,
.ds-type .svc-step-desc,
.ds-type .why-ask li,
.ds-type .products .infra-card .sub,
.ds-type .solution-card .story-copy p,
.ds-type .award-text p,
.ds-type .contact .cta-card p {
  font-weight: 400;
}

/* --- 6 · navigation — 500 / 16px --- */
.ds-type .nav-primary a {
  font-size: 1rem;
  font-weight: 500;
}
/* the header "Contact" pill is a button, not a nav link: the pre-existing
   .nav-primary a rule out-specifies .btn and was flattening it to 500 */
.ds-type .nav-primary a.btn {
  font-weight: 600;
}

/* --- 7 · buttons — 600 / 16px / 52px tall / pill ---
   components.css .btn is already weight 600 with a pill radius (999px); only the
   size, the measured height and the spec's literal 9999px are restated. Vertical
   padding is dropped in favour of min-height so the border-box measures exactly
   52px including the 1px transparent border. */
.ds-type .btn {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  min-height: 52px;
  padding-top: 0;
  padding-bottom: 0;
  border-radius: 9999px;
}
/* .btn-sm is an explicit small variant — the only one on this page is the header
   "Contact" pill, which has to fit a 64px bar. It opts out of the 52px standard
   height only; its text stays 16px/600 like the rest of the nav row. */
.ds-type .btn-sm {
  min-height: 40px;
}

/* --- 8 · small labels — 600 / 12px / uppercase / 0.08em --- */
.ds-type .eyebrow,
.ds-type .eyebrow-mono,
.ds-type .goal-flow-title,
.ds-type .why-label,
.ds-type .dep-card .dep-tag,
.ds-type .products .infra-label,
.ds-type .award-text .award-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- 9 · auxiliary text the spec does not define (.goal-sub, .svc-intro,
   .dep-note, .solutions-panel, .solution-card .cta, footer) keeps its existing
   relative size; all of it is already >= 12px and picks up Inter from step 0. --- */
