/* Supplemental depth + layout — applies to current bundle without full redeploy */
:root {
  --color-accent-teal: #0d6e7a;
  --color-accent-copper: #b86b2d;
  --color-band: #ffffff;
  --color-band-alt: #ffffff;
  --shadow-card: 0 2px 8px rgba(17, 28, 45, 0.06), 0 8px 24px rgba(17, 28, 45, 0.04);
}
html.dark {
  --color-band-alt: #1a2030;
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.35);
}

/* ── Vertical rhythm — less empty whitespace ── */
.section { padding-block: 72px !important; }
.section--sm { padding-block: 52px !important; }
.hero { padding-block: 80px 56px !important; }
.hero--home,
.hero.hero--home {
  background: #ffffff;
}

/* Alternate home sections when bundle lacks section--band classes */
#root section.section:nth-of-type(2) {
  background: var(--color-band);
  border-block: 1px solid rgba(196, 197, 216, 0.2);
  margin-inline: 0;
}

.section--band,
.trust.section--sm,
.section.section--band {
  background: var(--color-band);
  border-block: 1px solid rgba(196, 197, 216, 0.2);
}
.section--band-alt { background: var(--color-band-alt); }

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-outline-variant, #c4c5d8), transparent);
  margin-bottom: 40px;
}

/* ── Section headers (headrow + inline flex headers) ── */
.headrow {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.headrow h2,
#practices h2,
#solutions h2 {
  margin-top: 10px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-on-surface, #111c2d);
  max-width: 28ch;
}
.headrow p {
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-on-surface-variant, #434655);
  margin: 0;
}

/* ── Hero ── */
.hero__title--solutions { max-width: none; font-size: clamp(32px, 3.8vw, 52px); }
.hero__line { display: block; }
.hero__line--brand em { color: var(--color-accent-teal); font-style: italic; }
.hero__visual { display: grid; place-items: center; min-height: 280px; }
.hero__pill {
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(196, 197, 216, 0.35);
}

/* ── Trust strip ── */
.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.trust__item {
  background: var(--color-surface-container-lowest, #fff);
  border: 1px solid var(--color-outline-variant, #c4c5d8);
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--color-accent-teal);
}
.trust__value {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  color: var(--color-primary, #0032a5);
  letter-spacing: -0.02em;
}
.trust__label {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--color-on-surface-variant, #434655);
}

/* ── Tiles bento — depth + hierarchy ── */
.tiles { margin-top: 40px !important; }
.tile {
  box-shadow: var(--shadow-card);
}
.tile:hover {
  box-shadow: 0 4px 16px rgba(17, 28, 45, 0.08), 0 12px 32px rgba(0, 50, 165, 0.06);
}
.tile--featured {
  background: linear-gradient(160deg, var(--color-band) 0%, var(--color-surface-container-lowest, #fff) 65%) !important;
  border-top: 3px solid var(--color-accent-teal);
}
.tile__icon {
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(17,28,45,.06));
}

/* ── Approach / process cards ── */
.approach__head {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(196, 197, 216, 0.35);
}
.approach__item,
.featurelist__item {
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border-radius: 16px;
}
.approach__item:hover,
.featurelist__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(17, 28, 45, 0.08);
}
.approach__item .eyebrow {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(184, 107, 45, 0.12);
  color: var(--color-accent-copper);
  font-weight: 700;
}

/* ── Partners ── */
.partners {
  background: var(--color-band-alt) !important;
  border-block: 1px solid rgba(196, 197, 216, 0.25);
}
.partners__grid {
  box-shadow: var(--shadow-card);
  border-radius: 10px;
}
.partners__head h3 {
  font-size: clamp(20px, 2vw, 24px);
}
.partner__caption {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-on-surface-variant, #434655);
  text-align: center;
}
.partner img.partner__logo {
  height: 22px;
  max-width: 120px;
  object-fit: contain;
}

/* ── CTA panel ── */
.cta__panel {
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ── Sub-pages ── */
.subhero {
  background: var(--color-surface, #fff);
  margin-inline: calc(-1 * var(--shell-pad, 24px));
  padding-inline: var(--shell-pad, 24px);
  padding-block: 48px 36px !important;
  border-bottom: 1px solid rgba(196, 197, 216, 0.25);
}
.subhero.section--band {
  background: var(--color-surface, #fff);
  margin-inline: calc(-1 * var(--shell-pad, 24px));
}
.subbody {
  padding-block: 48px 72px !important;
  background: var(--color-surface, #fff);
}
.subbody.section--band-alt {
  background: var(--color-surface, #fff);
  max-width: none;
  width: 100%;
  padding-inline: var(--shell-pad, 24px);
  margin-inline: 0;
}
.subbody.section--band-alt > .subbody__main,
.subbody.section--band-alt > .subbody__aside {
  max-width: var(--shell-max, 1280px);
  margin-inline: auto;
}
.subbody__main h3 {
  padding-left: 14px;
  border-left: 3px solid var(--color-accent-teal);
}
.subbody__main .callout {
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-accent-teal);
}
.spectable,
.sibling {
  box-shadow: var(--shadow-card);
  border-radius: 10px;
}
.spectable--raised {
  box-shadow: var(--shadow-card);
}
.spectable__row:nth-child(odd) {
  background: #fafafa;
}
.breadcrumb {
  padding-block: 20px 0;
  border-bottom: 1px solid rgba(196, 197, 216, 0.2);
  margin-bottom: 0;
}

/* ── Tile landing (retail / business solutions) ── */
.hero--tile {
  background: #ffffff;
  border-bottom: 1px solid rgba(196, 197, 216, 0.2);
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero__stat {
  background: var(--color-surface-container-lowest, #fff);
  border: 1px solid var(--color-outline-variant, #c4c5d8);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  min-width: 120px;
  border-top: 3px solid var(--color-accent-copper);
}
.hero__stat strong {
  display: block;
  font-size: 22px;
  color: var(--color-accent-teal);
  font-weight: 800;
}
.hero__stat span {
  font-size: 12px;
  color: var(--color-on-surface-variant, #434655);
}

/* ── Icon grid + process (new bundle + harmless now) ── */
.icon-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .icon-grid--cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .icon-grid--cols-3 { grid-template-columns: repeat(3, 1fr); } }
.icon-grid__item {
  background: var(--color-surface-container-lowest, #fff);
  border: 1px solid var(--color-outline-variant, #c4c5d8);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.icon-grid__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(17, 28, 45, 0.08);
}
.icon-grid__icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--color-surface-container-high, #dfe8ff);
  color: var(--color-accent-teal);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.process-steps { display: grid; gap: 20px; }
@media (min-width: 900px) { .process-steps { grid-template-columns: repeat(3, 1fr); } }
.process-steps__item {
  background: var(--color-surface-container-lowest, #fff);
  border: 1px solid var(--color-outline-variant, #c4c5d8);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.process-steps__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent-copper);
  color: #fff;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.subpage-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.subpage-card {
  display: block;
  text-decoration: none;
  background: var(--color-surface-container-lowest, #fff);
  border: 1px solid var(--color-outline-variant, #c4c5d8);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.subpage-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary, #0032a5);
  box-shadow: 0 4px 16px rgba(17, 28, 45, 0.08);
}
.subpage-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--color-surface-container-high, #dfe8ff);
  color: var(--color-primary, #0032a5);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

/* ── Placeholder + company pages ── */
.placeholder {
  box-shadow: var(--shadow-card);
  border-style: solid;
  border-color: var(--color-outline-variant, #c4c5d8);
  background: var(--color-surface-container-lowest, #fff);
}

/* ── Footer DS classes ── */
.footer {
  background: var(--color-surface-container-low, #f0f3ff);
  border-top: 1px solid var(--color-outline-variant, #c4c5d8);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-outline-variant, #c4c5d8);
}
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr; } }

/* ── Globe ── */
.globe { position: relative; width: min(100%, 320px); aspect-ratio: 1; margin-inline: auto; }
.globe__sphere {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 18px 48px rgba(0, 50, 165, 0.12), inset 0 0 40px rgba(0, 50, 165, 0.08);
}

/* ── CMS rich body (overlay-rendered feature cards + tables) ── */
.cms-rich-body,
.cms-body-html {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cms-rich-body p,
.cms-body-html p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-on-surface-variant, #434655);
  max-width: 68ch;
}
.cms-rich-body .featurelist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .cms-rich-body .featurelist {
    grid-template-columns: 1fr 1fr;
  }
}
.cms-body-html h2,
.cms-body-html h3,
.cms-rich-body h3 {
  padding-left: 14px;
  border-left: 3px solid var(--color-accent-teal);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-on-surface, #111c2d);
  margin-top: 8px;
}
.cms-body-html table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-outline-variant, #c4c5d8);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.cms-body-html th,
.cms-body-html td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-outline-variant, #c4c5d8);
  text-align: left;
  font-size: 14px;
}
.cms-body-html tr:nth-child(odd) {
  background: var(--color-band, #f0f3ff);
}

/* ── Home section rhythm (live bundle) ── */
#root section.partners {
  margin-block: 0;
}
#root section.section + section.section {
  background: #ffffff;
  border-block: none;
}
#root .hero + section.section {
  background: #ffffff;
}
#root section.cta {
  background: #ffffff;
  padding-top: 48px !important;
}

/* ── Sub-body prose density ── */
.subbody__main {
  gap: 24px !important;
}
.subbody__main p {
  max-width: 68ch;
}
.subbody__main ul {
  background: var(--color-surface-container-lowest, #fff);
  border: 1px solid var(--color-outline-variant, #c4c5d8);
  border-radius: 12px;
  padding: 18px 18px 18px 36px;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(17,28,45,.06));
  max-width: 68ch;
}

/* ── Tile landing sub-page links as cards ── */
.section .container > .tiles,
.section .container > div > a[href*="/retail/"],
.section .container > div > a[href*="/microsoft/"],
.section .container > div > a[href*="/it-hosting/"],
.section .container > div > a[href*="/managed-services/"] {
  /* fallback when bundle lists plain links */
}
.section .container a.tile,
.section .container .subpage-card {
  display: block;
}
.section .container > div:has(> a[href^="/"]) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.section .container > div > a[href^="/"] {
  display: block;
  text-decoration: none;
  background: var(--color-surface-container-lowest, #fff);
  border: 1px solid var(--color-outline-variant, #c4c5d8);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
  color: var(--color-on-surface, #111c2d);
  font-weight: 700;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.section .container > div > a[href^="/"]:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary, #0032a5);
  box-shadow: 0 4px 16px rgba(17, 28, 45, 0.08);
}

/* ── Company / static pages ── */
main .prose,
main .max-w-3xl {
  background: var(--color-surface-container-lowest, #fff);
  border: 1px solid var(--color-outline-variant, #c4c5d8);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
}

/* ── Phase 2 depth components (bridge parity) ── */
.section-image { margin: 28px 0; width: 100%; }
.section-image__frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-outline-variant, #c4c5d8);
  box-shadow: var(--shadow-card);
  background: var(--color-band-alt, #e8eef8);
  line-height: 0;
}
.section-image--inline .section-image__frame,
.section-image--hero .section-image__frame {
  aspect-ratio: 3 / 2;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.section-image__frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(280px, 100%);
  object-fit: contain;
  flex-shrink: 0;
}
.subbody-block { width: 100%; }
.subbody-block .section-image { margin: 0; }
.brand img,
.footer img[alt="Shammam Logo"],
.site-logo {
  max-height: 32px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.site-logo--muted {
  filter: grayscale(1);
  opacity: 0.7;
}
.split-section {
  display: grid;
  gap: 32px;
  align-items: center;
  margin: 32px 0;
}
@media (min-width: 900px) {
  .split-section { grid-template-columns: 1fr 1fr; }
  .split-section--reverse .split-section__content { order: 2; }
  .split-section--reverse .split-section__visual { order: 1; }
}
.stats-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.stats-row__item {
  background: var(--color-surface-container-lowest, #fff);
  border: 1px solid var(--color-outline-variant, #c4c5d8);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  min-width: 120px;
  border-top: 3px solid var(--color-accent-copper, #b86b2d);
}
.stats-row__item strong { display: block; font-size: 22px; color: var(--color-accent-teal, #0d6e7a); font-weight: 800; }
.testimonial-band__grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .testimonial-band__grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-band__card {
  margin: 0;
  background: var(--color-surface-container-lowest, #fff);
  border: 1px solid var(--color-outline-variant, #c4c5d8);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--color-accent-teal, #0d6e7a);
}
.cta-strip {
  background: linear-gradient(90deg, var(--color-primary, #0032a5) 0%, var(--color-primary-container, #0045db) 100%);
  color: var(--color-on-primary, #fff);
  padding: 28px 0;
}
.cta-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.hero--tile .hero__inner-split {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero--tile .hero__inner-split { grid-template-columns: 1fr min(360px, 40%); }
}

/* White page canvas — no grey band wash on content pages */
html,
body,
#root,
#root main {
  background: #ffffff;
}

/* Hide placeholder wireframe illustrations (removed from content; safety net for cache) */
.section-image,
img[src*="/images/sections/"] {
  display: none !important;
}
