@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --ink: #000203;
  --gold: #c1ad71;
  --paper: #ffffff;
  --muted: #333334;
  --line: rgba(0, 2, 3, 0.16);
}

.theme-retail {
  --ink: #000203;
  --gold: #c1ad71;
  --paper: #ffffff;
  --muted: #333334;
  --line: rgba(0, 2, 3, 0.16);
}

.theme-resources {
  --ink: #0d0d0c;
  --gold: #f07c1a;
  --paper: #f6f4f0;
  --muted: #4b4c4c;
  --line: rgba(13, 13, 12, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Poppins, Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1rem clamp(1.25rem, 4vw, 4rem); color: #fff; background: color-mix(in srgb, var(--ink) 92%, transparent);
  border-bottom: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(16px);
}
.wordmark { display: inline-flex; align-items: center; gap: .55rem; font-size: .84rem; font-weight: 800; letter-spacing: .11em; }
.brand-logo { display: block; width: 7.4rem; max-height: 2.25rem; object-fit: contain; filter: invert(1); }
.brand-division { color: var(--gold); }
.wordmark span { color: var(--gold); }
.site-header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.25rem; font-size: .78rem; font-weight: 700; }
.site-header nav a:hover { color: var(--gold); }
.page { position: relative; overflow: clip; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin: 0 auto; }
.eyebrow { margin: 0 0 .9rem; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.055em; }

.portal { min-height: 100vh; color: #fff; background: #000203; }
.portal-main { min-height: calc(100vh - 62px); display: grid; grid-template-columns: 1fr 1fr; }
.division {
  position: relative; min-height: 72vh; display: flex; align-items: end; padding: clamp(2rem, 6vw, 6rem); overflow: hidden;
  isolation: isolate; transition: flex .45s ease;
}
.division::before { position: absolute; inset: 0; z-index: -2; content: ''; background: var(--division-image) center / cover; transition: transform .65s ease; }
.division::after { position: absolute; inset: 0; z-index: -1; content: ''; background: linear-gradient(180deg, rgba(3,10,19,.08) 15%, rgba(3,10,19,.9) 95%); }
.division:hover::before { transform: scale(1.045); }
.division-copy { max-width: 35rem; }
.division h1 { max-width: 8ch; margin-bottom: 1rem; font-size: clamp(3.2rem, 7vw, 7rem); line-height: .86; }
.division p { max-width: 31rem; color: rgba(255,255,255,.82); font-size: 1.08rem; line-height: 1.65; }
.division-tag { display: inline-flex; margin-top: 1rem; padding: .75rem 1rem; color: #000203; background: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.division-tag:hover { background: var(--gold); }
.portal-footer { padding: 1.15rem clamp(1.25rem, 4vw, 4rem); color: rgba(255,255,255,.68); background: #000203; font-size: .78rem; }
.portal-footer { position: relative; z-index: 4; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.62); background: #070809; }

/* Dual-division landing page */
.portal { position: relative; overflow-x: hidden; overflow-y: auto; background: #070809; }
.portal::before { position: fixed; inset: 0; z-index: 0; pointer-events: none; content: ''; background: radial-gradient(circle at 17% 52%, rgba(193,173,113,.16), transparent 32%), radial-gradient(circle at 83% 48%, rgba(240,124,26,.16), transparent 33%); }
.portal .site-header { position: relative; z-index: 5; background: rgba(5,6,7,.82); }
.portal-main { position: relative; z-index: 1; min-height: calc(100vh - 62px); overflow: hidden; }
.portal-main::before { position: absolute; inset: 0; z-index: 2; pointer-events: none; content: ''; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 5.5rem 5.5rem; mask-image: linear-gradient(90deg, #000, transparent 48%, #000); }
.portal-main::after { position: absolute; top: 0; bottom: 0; left: 50%; z-index: 3; width: 1px; content: ''; background: linear-gradient(transparent, rgba(255,255,255,.55) 20%, rgba(255,255,255,.22) 80%, transparent); }
.portal .division { --division-accent: #c1ad71; min-height: calc(100vh - 62px); z-index: 1; padding: clamp(2rem, 5vw, 6rem); border: 0; opacity: 0; animation: division-in .9s cubic-bezier(.2,.75,.2,1) forwards; }
.portal .division::before { filter: saturate(.8) contrast(1.08); transform: scale(1.04); animation: image-drift 16s ease-in-out infinite alternate; }
.portal .division::after { background: linear-gradient(180deg, rgba(4,5,6,.48) 0%, rgba(4,5,6,.74) 42%, rgba(4,5,6,.96) 100%), linear-gradient(125deg, color-mix(in srgb, var(--division-accent) 45%, transparent), transparent 50%); }
.portal .division::before { z-index: 0; }
.portal .division::after { z-index: 1; }
.portal .division-index { z-index: 3; }
.portal .division:hover::before { transform: scale(1.1); }
.portal .division--resources { --division-accent: #f07c1a; animation-delay: .12s; }
.portal .division--retail::before { filter: blur(7px) saturate(.72) contrast(1.02); transform: scale(1.1); }
.portal .division--retail::after { background: linear-gradient(180deg, rgba(6,6,5,.30), rgba(6,6,5,.64) 55%, rgba(6,6,5,.91) 100%), linear-gradient(125deg, rgba(193,173,113,.42), rgba(193,173,113,.08) 52%, transparent); backdrop-filter: blur(10px); }
.portal .division--retail:hover::before { transform: scale(1.15); }
.portal .division--retail::after { background: linear-gradient(180deg, rgba(8,8,7,.14), rgba(8,8,7,.28) 48%, rgba(8,8,7,.52) 100%), linear-gradient(125deg, rgba(193,173,113,.28), rgba(255,255,255,.08) 55%, transparent); backdrop-filter: blur(4px); }
.portal .division--retail .division-copy { max-width: 37rem; padding: clamp(1.35rem, 2.5vw, 2.25rem); border: 1px solid rgba(255,255,255,.34); border-left-color: rgba(193,173,113,.8); border-radius: 1.1rem; background: rgba(7,8,7,.25); box-shadow: 0 18px 60px rgba(0,0,0,.22); backdrop-filter: blur(18px); }
.portal .division-copy { position: relative; z-index: 3; padding-bottom: clamp(1rem, 2vh, 2rem); transition: transform .45s ease; }
.portal .division:hover .division-copy { transform: translateY(-.55rem); }
.portal .division .eyebrow { color: #fff; text-shadow: 0 1px 16px rgba(0,0,0,.55); }
.portal .division h1 { max-width: none; font-size: clamp(4rem, 7.5vw, 8.5rem); text-shadow: 0 10px 35px rgba(0,0,0,.34); }
.portal .division p { max-width: 34rem; }
.portal .division-tag { position: relative; overflow: hidden; color: #070809; background: var(--division-accent); transition: color .25s ease, transform .25s ease, box-shadow .25s ease; }
.portal .division-tag::before { position: absolute; inset: 0; content: ''; background: #fff; transform: translateX(-102%); transition: transform .35s ease; }
.portal .division-tag span, .portal .division-tag { isolation: isolate; }
.portal .division-tag span { position: relative; z-index: 1; }
.portal .division-tag:hover { color: #070809; transform: translateY(-3px); box-shadow: 0 12px 28px color-mix(in srgb, var(--division-accent) 30%, transparent); }
.portal .division-tag:hover::before { transform: translateX(0); }
.portal .division-tag { position: relative; }
.portal .division-tag::after { position: relative; z-index: 1; }
.portal .division-index { position: absolute; top: clamp(1.4rem, 3vw, 3rem); color: var(--division-accent); font-size: .72rem; font-weight: 800; letter-spacing: .18em; }
.portal .division--retail .division-index { left: clamp(2rem, 5vw, 6rem); }
.portal .division--resources .division-index { right: clamp(2rem, 5vw, 6rem); }
.portal-mark { position: absolute; top: clamp(4rem, 13vh, 8rem); left: 50%; z-index: 4; display: grid; place-items: center; width: clamp(9rem, 13vw, 13rem); aspect-ratio: 1; padding: 1.1rem; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; background: rgba(255,255,255,.06); box-shadow: 0 0 0 1rem rgba(255,255,255,.025), 0 24px 80px rgba(0,0,0,.32); backdrop-filter: blur(16px); transform: translateX(-50%); animation: portal-float 7s ease-in-out infinite; }
.portal-mark img { position: relative; z-index: 2; width: 82%; filter: none; }
.portal-mark::before, .portal-mark::after { position: absolute; inset: -.75rem; border: 1px solid rgba(255,255,255,.22); border-radius: inherit; content: ''; }
.portal-mark::before { border-right-color: #f07c1a; border-bottom-color: #c1ad71; animation: orbit 9s linear infinite; }
.portal-mark::after { inset: 12%; border-color: rgba(255,255,255,.2); animation: pulse 3.6s ease-in-out infinite; }
.portal-mark-orbit { position: absolute; inset: -1.65rem; border: 1px dashed rgba(255,255,255,.24); border-radius: 50%; animation: orbit 18s linear infinite reverse; }
.portal-mark-label { position: absolute; bottom: -2.05rem; display: flex; align-items: center; gap: .45rem; color: #fff; font-size: .58rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.portal-mark-label b:first-child { color: #c1ad71; }
.portal-mark-label b:last-child { color: #f07c1a; }
.portal-mark-label i { width: 1.5rem; height: 1px; background: rgba(255,255,255,.55); }
/* Landing-page ghost background */
.portal-main::before { inset: -1.75rem; z-index: 0; opacity: .5; background: url('../images/retail-shelf-risograph.png') center / cover no-repeat; filter: blur(10px) saturate(.76); mask-image: none; }
.portal .division { background: transparent; }
.portal .division::before { display: none; }
.portal .division--retail::after { background: linear-gradient(180deg, rgba(8,8,7,.16), rgba(8,8,7,.30) 48%, rgba(8,8,7,.56) 100%), linear-gradient(125deg, rgba(193,173,113,.28), rgba(255,255,255,.06) 55%, transparent); }
.portal .division--resources::after { background: linear-gradient(180deg, rgba(8,8,7,.22), rgba(8,8,7,.42) 48%, rgba(8,8,7,.68) 100%), linear-gradient(225deg, rgba(240,124,26,.24), transparent 60%); }
/* Keep the supplied retail artwork only on the Retail landing half. */
.portal-main::before { inset: 0; z-index: 2; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 5.5rem 5.5rem; filter: none; mask-image: linear-gradient(90deg, #000, transparent 48%, #000); }
.portal .division--retail::before { display: block; z-index: 0; opacity: .92; filter: blur(4px) saturate(.9) contrast(1.05); transform: scale(1.07); }
.portal .division--resources::before { display: block; z-index: 0; opacity: .86; filter: blur(4px) saturate(.82) contrast(1.04); transform: scale(1.07); }
.portal .division--retail::after { background: linear-gradient(180deg, rgba(8,8,7,.06), rgba(8,8,7,.17) 48%, rgba(8,8,7,.40) 100%), linear-gradient(125deg, rgba(193,173,113,.22), rgba(255,255,255,.04) 55%, transparent); backdrop-filter: blur(3px); }
.portal .division--retail .division-copy { max-width: 35rem; padding: 0 0 clamp(1rem, 2vh, 2rem); border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
/* Direct division artwork backgrounds: Retail.png and Resources.png */
.portal .division::before, .portal .division::after { display: none !important; }
.portal .division--retail { background: linear-gradient(180deg, rgba(244,231,194,.36), rgba(217,194,135,.16) 46%, rgba(8,8,7,.54) 100%), url('../images/retail-division.png') center / cover no-repeat; }
.portal .division--resources { background: linear-gradient(180deg, rgba(244,231,194,.36), rgba(232,206,143,.16) 46%, rgba(8,8,7,.56) 100%), url('../images/resources-division.png') center / cover no-repeat; }
/* A subtle glass layer softens both bright division illustrations. */
.portal .division::after { display: block !important; z-index: 1; content: ''; background: rgba(255,250,234,.05); backdrop-filter: blur(1px); }

/* Shared desktop baseline: each gateway panel uses the same content rows. */
@media (min-width: 1101px) {
  .portal .division-copy {
    display: grid;
    grid-template-rows: 1.75rem clamp(7.5rem, 7.7vw, 9.25rem) minmax(5rem, 5.8rem) 3rem;
    row-gap: 1rem;
    align-content: end;
    width: 100%;
  }

  .portal .division-copy .eyebrow,
  .portal .division-copy h1,
  .portal .division-copy > p:not(.eyebrow),
  .portal .division-copy .division-tag {
    align-self: start;
    margin: 0;
  }
}

@keyframes division-in { from { opacity: 0; transform: translateY(2rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes image-drift { from { background-position: 50% 50%; } to { background-position: 54% 46%; } }
@keyframes portal-float { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -.8rem); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .3; transform: scale(.86); } }

.hero { position: relative; min-height: min(760px, 82vh); display: flex; align-items: end; padding: clamp(3rem, 8vw, 8rem) 0; color: #fff; background: var(--hero-image) center / cover; isolation: isolate; }
.hero::before { position: absolute; inset: 0; z-index: -1; content: ''; background: linear-gradient(90deg, rgba(4,12,23,.88), rgba(4,12,23,.48) 56%, rgba(4,12,23,.1)); }
.hero h1 { max-width: 11ch; margin-bottom: 1.1rem; font-size: clamp(3rem, 7vw, 6.5rem); line-height: .87; }
.logo-shape-heading { position: relative; }
.logo-pattern-text { position: relative; display: inline-block; color: #fff; }
.hero p { max-width: 37rem; color: rgba(255,255,255,.86); font-size: clamp(1rem, 1.8vw, 1.25rem); line-height: 1.65; }
.hero .eyebrow { color: #f5df9f; }
.hero-action { display: inline-flex; margin-top: 1rem; padding: .82rem 1.15rem; color: var(--ink); background: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-action:hover { background: var(--gold); }
.profile-file { display: inline-flex; margin-top: 1rem; padding: .72rem .95rem; border: 1px solid rgba(255,255,255,.46); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.profile-file:hover { border-color: var(--gold); color: var(--gold); }

.section { position: relative; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-alt { background: #eef1ee; }
.section-dark { color: #fff; background: var(--ink); }
.section-dark p { color: #dbe4ed; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, .75fr); gap: 3rem; align-items: end; margin-bottom: 3rem; }
.section-heading h2 { max-width: 12ch; margin-bottom: 0; font-size: clamp(2.05rem, calc(5vw - 4px), 4.25rem); line-height: .96; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1.06rem; line-height: 1.75; }
.section-dark .section-heading > p { color: #dbe4ed; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { min-height: 15rem; padding: 1.5rem; border: 1px solid var(--line); background: rgba(255,255,255,.66); box-shadow: 0 16px 38px rgba(16,38,71,.07); }
.section-dark .card { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); box-shadow: none; }
.card-number { display: block; margin-bottom: 2.5rem; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.card h3 { margin-bottom: .75rem; font-size: 1.35rem; letter-spacing: -.035em; }
.card p, .card li { color: var(--muted); line-height: 1.6; }
.section-dark .card p, .section-dark .card li { color: #dbe4ed; }
.card ul { margin: .75rem 0 0; padding-left: 1.1rem; }
.model { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.model-item { padding-top: 1rem; border-top: 2px solid var(--gold); }
.model-item span { display: block; margin-bottom: 1rem; color: var(--gold); font-size: .72rem; font-weight: 800; }
.model-item h3 { margin-bottom: .5rem; font-size: 1.12rem; }
.model-item p { margin: 0; color: #dbe4ed; line-height: 1.55; }
.impact { display: grid; grid-template-columns: 1.3fr .7fr; gap: 1rem; align-items: stretch; }
.impact-statement { padding: clamp(2rem, 5vw, 4.25rem); color: #fff; background: var(--ink); }
.impact-statement h2 { max-width: 13ch; font-size: clamp(2.05rem, calc(4vw - 4px), 3.95rem); line-height: .96; }
.impact-stat { display: grid; place-content: center; padding: 2rem; color: var(--ink); background: var(--gold); }
.impact-stat strong { display: block; font-size: clamp(2.3rem, 5vw, 5rem); letter-spacing: -.08em; }
.impact-stat span { font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.team-member { padding: 1.25rem 0 0; border-top: 2px solid var(--gold); }
.team-member h3 { margin-bottom: .3rem; font-size: 1rem; }
.team-member p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.team-photo { width: 100%; aspect-ratio: 1; margin-bottom: 1rem; object-fit: cover; object-position: top; border: 4px solid rgba(196,168,107,.7); border-radius: 50%; }
.team-photo-frame { width: 100%; aspect-ratio: 1; margin-bottom: 1rem; overflow: hidden; border: 4px solid rgba(196,168,107,.7); border-radius: 50%; background: #fff; }
.team-photo-frame .team-photo { width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; }
.team-photo-frame--sandile .team-photo { transform: scale(1.06); transform-origin: center 58%; object-position: center 65%; }
.team-photo--cuba { transform: scale(1.04) translateY(-5%); transform-origin: center 52%; }
.team-photo--cleonie { transform: scale(1.04) translateY(-4%); transform-origin: center 52%; }
.media-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.media-grid figure { position: relative; min-height: 15rem; margin: 0; overflow: hidden; background: #dfe5e2; }
.media-grid figure:nth-child(1) { grid-column: span 5; grid-row: span 2; min-height: 31rem; }
.media-grid figure:nth-child(2), .media-grid figure:nth-child(3) { grid-column: span 7; }
.media-grid img { width: 100%; height: 100%; object-fit: cover; }
.media-grid figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: .9rem 1rem; color: #fff; background: linear-gradient(transparent, rgba(4,12,23,.88)); font-size: .78rem; font-weight: 700; }
.feature-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.feature-split.reverse { grid-template-columns: 1.1fr .9fr; }
.feature-image { min-height: 28rem; overflow: hidden; background: #dfe5e2; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy h2 { max-width: 13ch; font-size: clamp(1.95rem, calc(4vw - 4px), 3.75rem); line-height: .97; }
.feature-copy > p { color: var(--muted); line-height: 1.75; }
.feature-copy ul { display: grid; gap: .65rem; padding: 0; list-style: none; }
.feature-copy li { color: var(--muted); line-height: 1.55; }
.feature-copy li::before { margin-right: .6rem; color: var(--gold); content: '•'; }
.screen-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; align-items: end; }
.screen-row img { width: 100%; max-height: 20rem; object-fit: cover; object-position: top; border: 1px solid var(--line); box-shadow: 0 16px 28px rgba(16,38,71,.12); }
.partner-grid { display: grid; grid-template-columns: 1.2fr repeat(3, .6fr); gap: 1rem; align-items: center; }
.partner-grid article { min-height: 9rem; display: grid; place-items: center; padding: 1.25rem; border: 1px solid var(--line); background: #fff; }
.partner-grid img { max-height: 5rem; object-fit: contain; }
.partner-grid .partner-copy { display: block; padding: 1.5rem; background: var(--ink); color: #fff; }
.partner-grid .partner-copy p { color: #dbe4ed; line-height: 1.6; }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.service-list article { padding: 1.5rem; border-left: 3px solid var(--gold); background: rgba(255,255,255,.56); }
.service-list h3 { margin-bottom: .55rem; font-size: 1.15rem; }
.service-list p { margin-bottom: 0; color: var(--muted); line-height: 1.6; }
.movement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.5rem; }
.movement-grid span { padding: .9rem; border: 1px solid rgba(255,255,255,.18); color: #dbe4ed; font-size: .88rem; }
.movement-grid span::before { margin-right: .5rem; color: var(--gold); content: '→'; }
.contact-band { padding: 3rem 0; color: #fff; background: var(--ink); }
.contact-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.contact-band p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.7; }
.contact-band a { color: #fff; font-weight: 700; }
.contact-band a:hover { color: var(--gold); }

.scroll-signature { position: fixed; inset: 0; z-index: 7; pointer-events: none; }
.signature-rail { position: absolute; top: 7rem; bottom: 2.5rem; left: .75rem; display: flex; flex-direction: column; justify-content: space-between; width: .7rem; }
.signature-rail::before { position: absolute; top: .4rem; bottom: .4rem; left: .32rem; width: 1px; content: ''; background: rgba(196,168,107,.6); }
.signature-tick { position: relative; z-index: 1; display: block; width: .7rem; height: 2px; background: rgba(255,255,255,.75); transition: width .3s ease, height .3s ease, background-color .3s ease; }
.signature-tick.is-active { width: 1.35rem; height: 4px; background: var(--gold); }
.signature-count { position: absolute; top: 50%; right: clamp(.8rem,2.5vw,3rem); margin: 0; color: rgba(255,255,255,.28); font-size: clamp(4rem, 9vw, 9rem); font-weight: 800; letter-spacing: -.1em; line-height: .8; transform: translateY(-50%); transition: opacity .2s ease, transform .32s ease; }
.signature-count.is-changing { opacity: 0; transform: translateY(calc(-50% + .75rem)); }
body:not(.theme-resources) .signature-count { color: rgba(0,2,3,.22); }
body:not(.theme-resources) .signature-tick { background: rgba(0,2,3,.5); }

.theme-retail .section-alt { background: #f5f3ef; }
.theme-retail .hero .eyebrow { color: #e3cfb5; }


.theme-resources .section-alt { background: #e2dfd8; }
.theme-resources .hero .eyebrow { color: #f7a64b; }
.theme-resources .team-photo { border-color: #f07c1a; }
.theme-resources .section-dark .eyebrow { color: #f7a64b; }

@media (max-width: 800px) {
  .portal-main, .section-heading, .impact { grid-template-columns: 1fr; }
  .division { min-height: 60vh; }
  .cards { grid-template-columns: 1fr; }
  .model { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-band .wrap { display: grid; }
  .section-heading { gap: 1rem; }
  .site-header nav { gap: .8rem; }
  .feature-split, .feature-split.reverse { grid-template-columns: 1fr; }
  .media-grid figure:nth-child(n) { grid-column: span 1; grid-row: auto; min-height: 18rem; }
  .media-grid { grid-template-columns: 1fr; }
  .screen-row { grid-template-columns: repeat(3, 1fr); }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .partner-grid .partner-copy { grid-column: 1 / -1; }
  .service-list, .movement-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .site-header { align-items: flex-start; }
  .site-header nav { justify-content: flex-start; }
  .model { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .signature-rail { left: .4rem; }
  .signature-count { right: .65rem; font-size: 3.6rem; }
}

/* Responsive landing page: laptop, tablet and touch layouts. */
.portal .division-tag { min-height: 2.9rem; align-items: center; justify-content: center; touch-action: manipulation; }
.portal .site-header a { touch-action: manipulation; }
@media (max-width: 1100px) {
  .portal .division { padding: clamp(1.75rem, 5vw, 3.5rem); }
  .portal .division h1 { font-size: clamp(3.5rem, 8vw, 6.25rem); }
  .portal .division p { max-width: 28rem; font-size: 1rem; }
  .portal-mark { width: clamp(7.5rem, 15vw, 10rem); }
}
@media (max-width: 800px) {
  .portal .site-header { gap: .8rem; padding: .85rem 1rem; }
  .portal .site-header nav { gap: .8rem; font-size: .72rem; }
  .portal .brand-logo { width: 6.3rem; }
  .portal-main { grid-template-columns: 1fr; min-height: auto; }
  .portal-main::after { display: none; }
  .portal .division { min-height: min(43rem, 76svh); padding: 2rem 1.4rem; }
  .portal .division--retail { padding-top: 9rem; background-position: 52% center; }
  .portal .division--resources { padding-top: 3.5rem; background-position: 50% center; }
  .portal .division-copy { max-width: 33rem; }
  .portal .division h1 { font-size: clamp(3.65rem, 15vw, 5.8rem); }
  .portal .division p { max-width: 31rem; font-size: 1rem; line-height: 1.55; }
  .portal-mark { top: 1.5rem; width: 7.25rem; padding: .8rem; }
  .portal-mark-orbit { inset: -1.15rem; }
}
@media (max-width: 520px) {
  .portal .site-header { align-items: center; }
  .portal .site-header nav { gap: .65rem; font-size: .69rem; }
  .portal .brand-logo { width: 5.6rem; }
  .portal .division { min-height: 39rem; padding: 1.5rem 1.15rem; }
  .portal .division--retail { padding-top: 8rem; }
  .portal .division h1 { margin-bottom: .85rem; font-size: clamp(3.25rem, 17vw, 4.8rem); }
  .portal .division p { font-size: .95rem; }
  .portal .division-tag { width: 100%; margin-top: .75rem; }
  .portal-mark { top: 1.25rem; width: 6.35rem; }
}
@media (hover: none) {
  .portal .division:hover .division-copy { transform: none; }
  .portal .division-tag:active { transform: scale(.98); background: #fff; }
}
/* Scroll entrances: content and imagery travel gently toward the page centre. */
.motion-in { opacity: 0; filter: blur(5px); transition: opacity .78s ease, transform .88s cubic-bezier(.2,.75,.2,1), filter .78s ease; will-change: opacity, transform, filter; }
.motion-from-left { transform: translateX(-3.25rem); }
.motion-from-right { transform: translateX(3.25rem); }
.motion-in.is-visible { opacity: 1; filter: blur(0); transform: translate(0); }
@media (max-width: 800px) {
  .motion-from-left, .motion-from-right { transform: translateY(2rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Profile-complete capability sections */
.detail-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.detail-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.detail-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.detail-card { min-height: 13rem; padding: 1.45rem; border: 1px solid var(--line); background: rgba(255,255,255,.68); box-shadow: 0 13px 28px rgba(16,38,71,.05); }
.detail-card > span { display: block; margin-bottom: 1.6rem; color: var(--gold); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.detail-card h3 { margin-bottom: .6rem; font-size: 1.08rem; line-height: 1.12; }
.detail-card p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.6; }
.detail-grid--on-dark .detail-card { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.055); box-shadow: none; }
.detail-grid--on-dark .detail-card p { color: #dbe4ed; }
.model--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.model--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.model-item--light { border-color: var(--gold); }
.model-item--light p { color: var(--muted); }
.client-roster { margin-top: 2rem; padding: 1.25rem 0 0; border-top: 1px solid rgba(255,255,255,.22); }
.client-roster > p:last-child { max-width: 60rem; margin: 0; color: #fff; font-size: clamp(1rem, 2vw, 1.4rem); line-height: 1.6; }
@media (max-width: 1050px) { .detail-grid, .detail-grid--four, .model--five { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .detail-grid, .detail-grid--three, .detail-grid--four, .model--five, .model--three { grid-template-columns: 1fr; } .detail-card { min-height: 0; } }
/* Division hero artwork: direct composite keeps the right-aligned logo visible. */
.theme-retail .hero,
.theme-resources .hero {
  min-height: min(760px, 82vh);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.theme-retail .hero {
  background: linear-gradient(90deg, rgba(4,12,23,.9) 0%, rgba(4,12,23,.58) 49%, rgba(4,12,23,.08) 100%), url('../images/retail-hero-logo-right.png') center / cover no-repeat !important;
}
.theme-resources .hero {
  background: linear-gradient(90deg, rgba(4,12,23,.9) 0%, rgba(4,12,23,.58) 49%, rgba(4,12,23,.08) 100%), url('../images/retail-hero-logo-right.png') center / cover no-repeat !important;
}
.theme-retail .hero::before,
.theme-resources .hero::before { display: none; }
@media (max-width: 900px) {
  .theme-retail .hero,
  .theme-resources .hero { min-height: clamp(38rem, 78vh, 47rem); background-position: 68% center; }
  .hero h1 { max-width: 10ch; }
}
@media (max-width: 560px) {
  .theme-retail .hero,
  .theme-resources .hero {
    min-height: 39rem;
    padding: 7.75rem 0 3.5rem;
    background-position: right center;
    background-size: auto 100%;
  }
  .hero .wrap { padding-right: 1.25rem; }
  .hero h1 { max-width: 9ch; font-size: clamp(2.75rem, 14vw, 4rem); }
  .hero p { max-width: 30rem; }
}
/* Editorial profile imagery */
.visual-story { background: color-mix(in srgb, var(--paper) 92%, var(--gold) 8%); }
.visual-story-intro { max-width: 42rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.visual-story-intro h2 { margin-bottom: .85rem; font-size: clamp(2.15rem, calc(5vw - 4px), 4.55rem); line-height: .96; letter-spacing: -.06em; }
.visual-story-intro p { max-width: 38rem; margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.profile-montage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(6.5rem, 10vw, 10rem); gap: clamp(.6rem, 1.4vw, 1rem); }
.profile-montage figure { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; margin: 0; overflow: hidden; background: var(--ink); border-radius: .75rem; box-shadow: 0 18px 42px color-mix(in srgb, var(--ink) 14%, transparent); }
.profile-montage img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.75,.2,1), filter .7s ease; }
.profile-montage figure:hover img { transform: scale(1.055); filter: saturate(1.08) contrast(1.04); }
.profile-montage figcaption { position: relative; padding: .72rem .9rem; color: #fff; background: var(--ink); font-size: .76rem; font-weight: 700; letter-spacing: .02em; }
.profile-montage--retail .montage-main { grid-column: span 7; grid-row: span 3; }
.profile-montage--retail .montage-audit { grid-column: span 5; grid-row: span 2; }
.profile-montage--retail .montage-display { grid-column: span 5; grid-row: span 1; }
.profile-montage--retail .montage-evidence { grid-column: span 4; grid-row: span 2; }
.profile-montage--retail .montage-training { grid-column: span 5; grid-row: span 2; }
.profile-montage--retail .montage-activation { grid-column: span 3; grid-row: span 2; }
.profile-montage--resources .montage-main { grid-column: span 7; grid-row: span 3; }
.profile-montage--resources .montage-haulage { grid-column: span 5; grid-row: span 2; }
.profile-montage--resources .montage-processing { grid-column: span 5; grid-row: span 1; }
.profile-montage--resources .montage-intelligence { grid-column: span 4; grid-row: span 2; }
.profile-montage--resources .montage-execution { grid-column: span 8; grid-row: span 2; }
@media (max-width: 800px) {
  .profile-montage { grid-template-columns: 1fr 1fr; grid-auto-rows: 13rem; }
  .profile-montage--retail figure, .profile-montage--resources figure { grid-column: auto; grid-row: auto; }
  .profile-montage--retail .montage-main, .profile-montage--resources .montage-main { grid-column: 1 / -1; min-height: 20rem; }
}
@media (max-width: 520px) {
  .profile-montage { grid-template-columns: 1fr; grid-auto-rows: 17rem; }
  .profile-montage--retail .montage-main, .profile-montage--resources .montage-main { grid-column: auto; min-height: 0; }
  .visual-story-intro h2 { max-width: 12ch; }
}
