/* Shared PECTIS app shell: navigation, GIIO guide and mobile-first motion system. */
:root {
  --scan-deep: #058f45;
  --scan-mid: #00e968;
  --scan-core: #47ff94;
  --scan-hot: #ddffe9;
  --scan-glow: rgba(34,255,126,.82);
  --scan-aura: rgba(0,210,93,.34);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html,
body,
* {
  scrollbar-width: none;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.site-header {
  height: 72px;
  padding-left: 14px;
}

.site-header .brand-mark {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
}

.site-header .brand-name {
  font-size: 17px;
}

.site-header .brand-lockup small {
  font-size: 9px;
}

.micro-header {
  height: 68px;
  padding-left: 14px;
}

.micro-brand-mark {
  width: 42px;
  height: 42px;
}

.micro-brand-lockup strong {
  font-size: 14px;
}

.micro-brand-lockup small {
  font-size: 7px;
}

.giio-fab {
  position: fixed;
  z-index: 88;
  right: 24px;
  bottom: 24px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 22px;
  color: #fffdf7;
  background: #101c38;
  box-shadow: 0 18px 48px rgba(16,28,56,.24);
  cursor: pointer;
  transition: transform .3s ease, border-radius .3s ease, background .3s ease;
}

.giio-fab:hover,
.giio-fab:focus-visible {
  border-radius: 50%;
  background: #6b1235;
  transform: translateY(-4px);
  outline: 0;
}

.giio-mark {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215,186,98,.82);
  border-radius: 50%;
  font: 750 10px/1 Inter, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .08em;
}

.giio-mark::before,
.giio-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(215,186,98,.42);
  border-radius: 50%;
}

.giio-mark::before { inset: 4px -5px; }
.giio-mark::after { inset: -5px 4px; }

.giio-panel {
  position: fixed;
  z-index: 87;
  right: 24px;
  bottom: 98px;
  width: min(370px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid rgba(16,28,56,.1);
  border-radius: 28px;
  color: #101c38;
  background: rgba(255,253,247,.96);
  box-shadow: 0 28px 90px rgba(16,28,56,.22);
  backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .28s ease, transform .28s cubic-bezier(.2,.8,.2,1);
}

.giio-messages {
  max-height: 180px;
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  overflow: auto;
}

.giio-message {
  width: fit-content;
  max-width: 88%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px 14px 14px 4px;
  color: #26314b;
  background: #f0eadb;
  font-size: 13px;
  line-height: 1.45;
}

.giio-message.user {
  justify-self: end;
  border-radius: 14px 14px 4px 14px;
  color: #fffdf7;
  background: #101c38;
}

.giio-composer {
  display: grid;
  grid-template-columns: minmax(0,1fr) 42px 42px;
  gap: 7px;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(16,28,56,.1);
}

.giio-composer label { min-width: 0; }
.giio-composer input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(16,28,56,.14);
  border-radius: 14px;
  color: #101c38;
  background: #fffdf7;
  font: 500 14px/1.2 Inter, "Helvetica Neue", Arial, sans-serif;
  outline: 0;
}
.giio-composer input:focus { border-color: var(--scan-mid); box-shadow: 0 0 0 3px rgba(0,233,104,.12); }
.giio-voice,
.giio-send {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 13px;
  color: #fffdf7;
  background: #101c38;
  cursor: pointer;
}
.giio-send { color: #101c38; background: var(--scan-core); font-size: 18px; }
.giio-voice svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.giio-voice.listening { color: #101c38; background: var(--scan-core); box-shadow: 0 0 0 5px rgba(71,255,148,.16), 0 0 24px var(--scan-glow); animation: giioListening 1s ease-in-out infinite alternate; }
.giio-voice-status { min-height: 1.3em; margin: 7px 2px 0; color: #6d695f; font-size: 11px; line-height: 1.35; }

.giio-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.giio-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(16,28,56,.1);
}

.giio-panel-head .giio-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: #fffdf7;
  background: #101c38;
}

.giio-panel-title {
  display: grid;
  gap: 2px;
}

.giio-panel-title strong {
  font-size: 14px;
  letter-spacing: .08em;
}

.giio-panel-title small {
  color: #6d695f;
  font-size: 11px;
}

.giio-panel-close {
  width: 36px;
  height: 36px;
  margin-left: auto;
  border: 1px solid rgba(16,28,56,.12);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.giio-context {
  margin: 18px 0 7px;
  color: #6b1235;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.giio-question {
  margin: 0 0 18px;
  font: 400 27px/1.02 Iowan Old Style, Baskerville, "Times New Roman", serif;
  letter-spacing: -.035em;
}

.giio-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.giio-action {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(16,28,56,.1);
  border-radius: 15px;
  color: #101c38;
  background: #fffdf7;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.giio-action:hover,
.giio-action:focus-visible {
  color: #fffdf7;
  background: #101c38;
  transform: translateY(-2px);
  outline: 0;
}

.giio-action span {
  color: #c3a23a;
}

.app-dock,
.app-scroll-orbit {
  display: none;
}

.mobile-swipe-status {
  display: none;
}

.mobile-access-grid { display: none; }

@media (min-width: 681px) {
  body {
    font-size: 18px;
    line-height: 1.62;
  }

  .desktop-nav,
  .nav-cta,
  .portal-access,
  .carousel-controls,
  footer nav,
  .micro-nav,
  .world-button b,
  .portal-mobile-access,
  .micro-footer nav {
    font-size: 14px;
  }

  .hero-bottom p,
  .origin-copy > .origin-story,
  .card-copy p,
  .company-statement,
  .theme-instruction,
  .theme-dashboard-description,
  .theme-dashboard-lens p,
  .geo-heading > p:last-child,
  .method-intro > p:last-child,
  .method-track p,
  .mandate-copy > p:not(.eyebrow),
  .brief li {
    font-size: 18px;
    line-height: 1.68;
  }

  .theme-dashboard-metrics span,
  .theme-dashboard-metrics small,
  .theme-bar-label,
  .theme-bar-value,
  .theme-dashboard-source,
  .country-list li,
  footer small {
    font-size: 14px;
  }

  .hero-support p,
  .manifesto-note p,
  .living-step p,
  .section-title > p:last-child,
  .mandate-detail p,
  .mandate-detail aside,
  .architecture-grid p,
  .cta-copy > p:not(.micro-eyebrow) {
    font-size: 17px;
    line-height: 1.72;
  }

  .living-step li,
  .micro-footer small {
    font-size: 14px;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
    overscroll-behavior-x: none;
  }

  .site-header,
  .micro-header {
    top: 8px;
    left: 10px;
    right: 10px;
    height: 64px;
    padding: 0 10px 0 12px;
    border-radius: 22px;
  }

  .site-header.scrolled,
  .micro-header.scrolled {
    top: 8px;
  }

  .site-header .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .site-header .brand-name {
    font-size: 14px;
  }

  .site-header .brand-lockup small {
    font-size: 7px;
  }

  .micro-brand {
    max-width: calc(100vw - 92px);
    gap: 8px;
  }

  .micro-brand-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .micro-brand-lockup strong {
    font-size: 13px;
  }

  .micro-brand .offering-label {
    max-width: 76px;
    overflow: hidden;
    padding-left: 7px;
    font-size: 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-button,
  .world-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }

  .mobile-menu,
  .world-menu {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }

  .giio-fab {
    display: none;
  }

  .app-dock {
    position: fixed;
    z-index: 90;
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    height: 76px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    padding: 8px 10px 7px;
    border: 1px solid rgba(255,255,255,.68);
    border-radius: 25px;
    color: #101c38;
    background: rgba(255,253,247,.92);
    box-shadow: 0 18px 52px rgba(16,28,56,.2);
    backdrop-filter: blur(24px);
    touch-action: pan-y;
    transform: translateX(var(--dock-swipe, 0px));
    transition: transform .32s cubic-bezier(.2,.85,.2,1), box-shadow .25s ease, border-color .25s ease;
  }

  .app-dock::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 5px;
    border-radius: 20px;
    opacity: 0;
    background: linear-gradient(90deg, transparent 15%, rgba(71,255,148,.11), rgba(71,255,148,.35));
    box-shadow: inset -2px 0 0 var(--scan-core), 0 0 30px rgba(0,233,104,.2);
  }

  .app-dock.swiping { border-color: rgba(71,255,148,.72); box-shadow: 0 18px 52px rgba(16,28,56,.2), 0 0 32px rgba(0,233,104,.16); }
  .app-dock.swiping::before { opacity: .78; }

  .app-dock-item {
    min-width: 0;
    height: 56px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    padding: 0 2px;
    border: 0;
    border-radius: 17px;
    color: #6d695f;
    background: transparent;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .02em;
    cursor: pointer;
  }

  .app-dock-item svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.7;
    fill: none;
  }

  .app-dock-item.active {
    color: #101c38;
    background: linear-gradient(135deg, rgba(71,255,148,.18), rgba(0,233,104,.07));
    box-shadow: inset 0 -2px 0 var(--scan-mid);
  }

  .app-dock-swipe-cue {
    position: absolute;
    right: 12px;
    top: -22px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(16,28,56,.7);
    font-size: 8px;
    font-weight: 750;
    letter-spacing: .09em;
    text-transform: uppercase;
    border: 0;
    background: transparent;
    cursor: pointer;
    animation: dockCue 5.2s ease-in-out infinite;
  }

  .app-dock-swipe-cue b {
    width: 21px;
    height: 14px;
    display: grid;
    place-items: center;
    border-radius: 99px;
    color: #101c38;
    background: var(--scan-core);
    box-shadow: 0 0 16px rgba(71,255,148,.6);
  }

  .giio-panel {
    z-index: 89;
    right: 10px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
    max-height: min(76svh, 680px);
    overflow: auto;
    padding: 20px 18px 22px;
    border-radius: 28px;
    transform: translateY(34px) scale(.98);
    transform-origin: bottom center;
  }

  .giio-panel.open { transform: none; }
  .giio-open .app-dock { transform: translateX(-12px); border-color: rgba(71,255,148,.55); }

  .giio-actions {
    grid-template-columns: 1fr 1fr;
  }

  .giio-action {
    min-height: 58px;
  }

  .mobile-menu.open,
  .world-menu.open {
    display: grid;
    grid-template-rows: auto 1fr;
    align-items: stretch;
    padding: 96px 14px 0;
    color: #fffdf7;
    background: radial-gradient(circle at 88% 8%, rgba(0,233,104,.13), transparent 32%), #101c38;
  }

  .world-menu.open .world-grid { display: none; }
  .world-menu.open .world-close {
    position: static;
    justify-self: end;
    margin: 0 4px 8px;
    color: #fffdf7;
  }

  .mobile-access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-content: end;
    padding: 18px 0 calc(104px + env(safe-area-inset-bottom));
  }

  .mobile-access-card {
    min-height: min(44svh, 360px);
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 21px !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 24px;
    color: #fffdf7;
    background: rgba(255,255,255,.045);
    backdrop-filter: blur(18px);
  }

  .mobile-access-card.mandate-access { background: linear-gradient(155deg, rgba(107,18,53,.78), rgba(107,18,53,.2)); }
  .mobile-access-card.portal-mobile-access { background: linear-gradient(155deg, rgba(16,63,54,.76), rgba(16,63,54,.18)); }
  .mobile-access-card small {
    grid-column: auto !important;
    color: #d7ba62 !important;
    font-size: 11px !important;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .mobile-access-card strong {
    font: 400 clamp(27px,8.3vw,42px)/.94 Iowan Old Style, Baskerville, "Times New Roman", serif !important;
    letter-spacing: -.045em;
  }
  .mobile-access-card span {
    max-width: none !important;
    color: rgba(255,253,247,.72);
    font-size: 14px !important;
    line-height: 1.45;
  }
  .mobile-access-card b { color: var(--scan-core) !important; }

  .app-scroll-orbit {
    position: fixed;
    z-index: 70;
    top: 43%;
    right: 5px;
    width: 5px;
    height: 112px;
    display: block;
    border-radius: 99px;
    background: rgba(16,28,56,.1);
    pointer-events: none;
  }

  .scroll-progress {
    display: none;
  }

  .app-scroll-orbit i {
    position: absolute;
    top: calc(var(--page-progress, 0) * 100% - 5px);
    left: -3px;
    width: 11px;
    height: 11px;
    border: 2px solid #fffdf7;
    border-radius: 50%;
    background: #c3a23a;
    box-shadow: 0 3px 12px rgba(16,28,56,.22);
  }

  /* Home: portrait storytelling and a top-to-bottom scanner reveal. */
  .origin-scroll {
    min-height: 210svh;
  }

  .origin-sticky {
    display: block;
    padding: 94px 18px calc(98px + env(safe-area-inset-bottom));
  }

  .origin-copy {
    width: 100%;
  }

  .origin-copy h2 {
    max-width: 350px;
    font-size: clamp(43px, 12.5vw, 58px);
  }

  .origin-copy > .origin-story {
    width: min(100%, 360px);
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.55;
  }

  .soil-contact-copy {
    display: none;
  }

  .bloom-stage {
    top: 0;
    right: -55vw;
    bottom: calc(88px + env(safe-area-inset-bottom));
    left: -55vw;
    --scan-top: 0%;
  }

  .bloom-source {
    inset: auto auto 0 50%;
    width: 205vw;
    height: auto;
    max-width: none;
    object-fit: contain;
    object-position: center bottom;
    transform: translateX(-50%) scale(var(--bloom-scale,.96));
    transform-origin: center bottom;
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(var(--scan-y, 0%) - 1px), transparent var(--scan-y, 0%));
    mask-image: linear-gradient(180deg, #000 0, #000 calc(var(--scan-y, 0%) - 1px), transparent var(--scan-y, 0%));
  }

  .bloom-stage::after {
    top: var(--scan-top);
    right: auto;
    bottom: auto;
    left: calc(50% - 46vw);
    width: 92vw;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--scan-deep) 8%, var(--scan-mid) 22%, var(--scan-hot) 50%, var(--scan-core) 78%, var(--scan-deep) 92%, transparent 100%);
    box-shadow: 0 0 8px var(--scan-core), 0 0 28px var(--scan-glow), 0 0 70px var(--scan-aura);
    transform: translateY(-1px);
  }

  .origin-manifesto {
    min-height: 240px;
    padding: 68px 18px calc(96px + env(safe-area-inset-bottom));
    font-size: 28px;
    text-align: left;
  }

  .offering-track {
    grid-auto-columns: 88vw;
    gap: 12px;
    padding-right: 8vw;
  }

  .offering-card {
    min-height: 74svh;
    max-height: 720px;
    border-radius: 24px;
  }

  .swipe-hint,
  .mobile-swipe-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 18px 18px 0 0;
    color: #6d695f;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .swipe-hint i {
    position: relative;
    flex: 1;
    height: 3px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(16,28,56,.12);
  }

  .swipe-hint i::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #6b1235, #c3a23a);
    transform: scaleX(var(--carousel-progress, .34));
    transform-origin: left;
    transition: transform .25s ease;
  }

  /* Offering sites: portrait visual stage with one vertical narrative axis. */
  .living-section {
    --mobile-scan-y: 100%;
    display: block;
    min-height: auto;
    padding: 18px 0 110px;
    overflow: clip;
    background: #f7f4ea;
  }

  .living-art {
    position: sticky;
    z-index: 2;
    top: 80px;
    width: calc(100% - 20px);
    height: 58svh;
    min-height: 430px;
    max-height: 620px;
    margin: 0 10px;
    overflow: hidden;
    border: 1px solid rgba(16,28,56,.1);
    border-radius: 26px;
    background: #fffdf7;
    box-shadow: 0 18px 54px rgba(16,28,56,.09);
  }

  .living-art::after {
    border: 0;
    background: radial-gradient(circle at 50% 52%, rgba(195,162,58,.13), transparent 54%);
  }

  .legacy-site .living-art img {
    left: 50%;
    bottom: 4%;
    width: auto;
    max-width: 92%;
    height: 88%;
    transform: translateX(-50%);
  }

  .capital-site .living-art img {
    left: 50%;
    bottom: 15%;
    width: 185vw;
    max-width: none;
    height: auto;
    transform: translateX(-50%) scaleY(var(--city-rise));
  }

  .impact-site .living-art img {
    left: 0;
    bottom: 12%;
    width: auto;
    max-width: none;
    height: 82%;
    transform: translateX(var(--life-x)) translateY(var(--walk-bob,0%));
  }

  .legacy-site .paint-frame::before,
  .capital-site .paint-frame::before,
  .impact-site .paint-frame::before {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: var(--mobile-scan-y);
    background: #fffdf7;
  }

  .legacy-site .paint-frame::after,
  .capital-site .paint-frame::after,
  .impact-site .paint-frame::after {
    top: var(--mobile-scan-y);
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 3px;
    opacity: var(--phase-opacity);
    background: linear-gradient(90deg, transparent, var(--scan-deep) 10%, var(--scan-core) 44%, var(--scan-hot) 58%, var(--scan-mid) 84%, transparent);
    box-shadow: 0 0 8px var(--scan-core), 0 0 28px var(--scan-glow), 0 0 68px var(--scan-aura);
    transform: translateY(-1px);
  }

  .paint-caption {
    left: 20px;
    right: 20px;
    bottom: 18px;
    padding: 11px 13px;
    border: 1px solid rgba(16,28,56,.1);
    border-radius: 16px;
    background: rgba(255,253,247,.84);
    backdrop-filter: blur(16px);
  }

  .paint-caption strong {
    max-width: 190px;
    font-size: 19px;
  }

  .living-steps {
    position: relative;
    z-index: 3;
    grid-auto-columns: 86vw;
    gap: 12px;
    margin-top: 18px;
    padding: 0 10vw 8px 10px;
  }

  .living-step {
    min-height: 52svh;
    padding: 26px;
    border-radius: 24px;
    background: rgba(255,253,247,.96);
    box-shadow: 0 14px 38px rgba(16,28,56,.07);
  }

  .living-step h3 {
    margin-top: 54px;
  }

  .mobile-swipe-status {
    margin: 14px 18px 0;
  }

  .mobile-swipe-status .swipe-dots {
    display: flex;
    gap: 6px;
    align-items: center;
  }

  .mobile-swipe-status .swipe-dots i {
    width: 7px;
    height: 7px;
    border-radius: 99px;
    background: rgba(16,28,56,.18);
    transition: width .25s ease, background .25s ease;
  }

  .mobile-swipe-status .swipe-dots i.active {
    width: 24px;
    background: #c3a23a;
  }

  .architecture-grid {
    gap: 10px;
  }

  .architecture-grid article {
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px;
  }

  footer,
  .micro-footer {
    padding-bottom: calc(118px + env(safe-area-inset-bottom));
  }
}

@keyframes dockCue {
  0%, 68%, 100% { opacity: .55; transform: translateX(0); }
  76% { opacity: 1; transform: translateX(-8px); }
  84% { opacity: .7; transform: translateX(0); }
}

@keyframes giioListening { to { transform: scale(1.05); } }

@media (prefers-reduced-motion: reduce) {
  .giio-panel,
  .app-scroll-orbit i,
  .swipe-hint i::after,
  .mobile-swipe-status .swipe-dots i {
    transition: none;
  }
}

/* Standardized account and mandate actions across the PECTIS site. */
.site-header {
  grid-template-columns: auto minmax(0,1fr) auto;
}

.micro-header {
  grid-template-columns: minmax(250px,1fr) auto auto auto;
  gap: clamp(12px,1.5vw,24px);
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: clamp(16px,2vw,30px);
}

.header-mandate {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 2px;
  color: #6b1235;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .035em;
  text-shadow: 0 0 12px rgba(107,18,53,.18), 0 0 25px rgba(195,162,58,.16);
}

.header-mandate::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg,transparent,#c3a23a 22%,#6b1235 78%,transparent);
  transform: scaleX(.2);
  opacity: .55;
  transition: transform .3s ease, opacity .3s ease;
}

.header-mandate:hover::after,
.header-mandate:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.profile-access {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 4px;
  color: #101c38;
  font-size: 13px;
  font-weight: 540;
}

.profile-glyph {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid rgba(16,28,56,.24);
  border-radius: 50%;
  background: rgba(255,253,247,.48);
}

.profile-glyph::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 6px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transform: translateX(-50%);
}

.profile-glyph::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 6px;
  left: 7px;
  height: 7px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.profile-access:hover,
.profile-access:focus-visible { color: #6b1235; }

.world-button {
  min-width: 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-color: rgba(16,28,56,.16);
  color: #101c38;
  background: rgba(255,253,247,.38);
  box-shadow: none;
}

.world-button b {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.world-button:hover,
.world-button:focus-visible {
  color: #fffdf7;
  background: #6b1235;
}

@media (max-width: 1100px) {
  .micro-header { grid-template-columns: minmax(210px,1fr) auto auto; }
  .micro-nav { display: none; }
}

@media (max-width: 900px) {
  .site-header,
  .micro-header { grid-template-columns: 1fr auto; }
  .header-actions { display: none; }
}

/* Offerings remain the primary header navigation on every page and screen. */
.site-header,
.micro-header {
  grid-template-columns: auto minmax(0,1fr) auto auto;
  gap: clamp(12px,1.4vw,22px);
}
.site-header .offering-nav,
.micro-header .offering-nav {
  display: flex;
  justify-content: center;
  justify-self: stretch;
  align-items: center;
  gap: clamp(18px,2vw,32px);
  min-width: 0;
  color: #101c38;
  font-size: 14px;
  white-space: nowrap;
}
.offering-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.offering-nav a[aria-current="page"] { color: #6b1235; font-weight: 650; }
.offering-nav a[aria-current="page"]::after { right: 0; background: #6b1235; }
.offering-nav a:focus-visible { outline: 2px solid #c3a23a; outline-offset: 3px; border-radius: 3px; }
.site-header .menu-button { display: block; }
.world-menu { color: #fffdf7; background: #101c38; }
.world-menu .world-close { color: inherit; }
.world-menu .mobile-access-grid {
  display: grid;
  width: min(100%,760px);
  justify-self: center;
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.world-menu .mobile-access-card {
  min-width: 0;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px,3vw,36px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  color: #fffdf7;
  background: rgba(255,255,255,.05);
}
.world-menu .mobile-access-card small { color: #d7ba62; font-size: 13px; }
.world-menu .mobile-access-card strong { font: 400 38px/1.12 var(--serif); }
.world-menu .mobile-access-card span { font-size: 16px; line-height: 1.6; }

@media (max-width: 1100px) {
  .site-header,
  .micro-header {
    height: 112px;
    grid-template-columns: minmax(0,1fr) auto auto;
    grid-template-rows: 56px 44px;
    row-gap: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 24px;
  }
  .site-header .brand,
  .micro-header .micro-brand { grid-column: 1; grid-row: 1; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .site-header .menu-button,
  .micro-header .world-button { grid-column: 3; grid-row: 1; }
  .site-header .offering-nav,
  .micro-header .offering-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    border-top: 1px solid rgba(16,28,56,.1);
  }
  .hero-copy,
  .hero-content { padding-top: 146px; }
  .mobile-menu.open,
  .world-menu.open { padding-top: 148px; }
}
@media (max-width: 680px) {
  .site-header .offering-nav,
  .micro-header .offering-nav {
    display: grid;
    grid-template-columns: .8fr 1.2fr 1.2fr;
    gap: 4px;
    font-size: clamp(13px,3.5vw,14px);
  }
  .offering-nav a { justify-content: center; }
}
