/* Globalco — clear editorial system, October 2026.
   A restrained, image-led interface for a working services company. */

:root {
  --ground: #f8fbff;
  --ground-2: #eef5ff;
  --panel: #ffffff;
  --panel-line: #dfeaff;
  --ivory: #ffffff;
  --parchment: #f4f8fd;
  --ink: #132a48;
  --ink-2: #405a78;
  --ink-3: #5b7190;
  --rule: rgba(20, 71, 127, 0.13);
  --rule-strong: rgba(20, 71, 127, 0.28);
  --navy: #132a48;
  --navy-2: #005aa0;
  --navy-deep: #07111f;
  --blue: #005aa0;
  --blue-bright: #006bff;
  --blue-soft: #a1d6ff;
  --on-navy: #ffffff;
  --on-navy-2: rgba(255, 255, 255, 0.78);
  --on-navy-3: rgba(255, 255, 255, 0.6);
  --rule-navy: rgba(255, 255, 255, 0.2);
  --sand: #a1d6ff;
  --sand-2: #a1d6ff;
  --clay: #005aa0;
  --serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --col-gap: clamp(16px, 2vw, 28px);
}

html,
body {
  background: var(--ground);
  color: var(--ink);
  font-size: 16px;
}

body[data-engine] .page,
.page {
  background: transparent;
}

.engine,
.paper,
.progress,
.sec[data-ch]::after,
.hero-draw,
.hero-scroll,
.services-map,
.tenets-diagram,
.foot-draw,
.v-label,
.position::before,
.thesis::before,
.system::after,
.sectors::before,
.statement::before,
.block--navy::before,
.close::before,
.block-figure::before,
.sectors-pin::before {
  display: none !important;
}

h1,
h2,
h3,
.t-display,
.t-statement,
.t-title,
.t-sub,
.t-colossal,
.t-num,
.nav-wordmark,
.foot-wordmark {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.t-display {
  font-size: clamp(3.2rem, 6vw, 6rem);
  line-height: 0.98;
}

.t-statement {
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  line-height: 1.06;
}

.t-title {
  font-size: clamp(2rem, 3.1vw, 3.25rem);
  line-height: 1.07;
}

.t-sub {
  font-size: 1.25rem;
  line-height: 1.32;
  letter-spacing: -0.025em;
}

.t-body {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.6;
}

.t-small {
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.55;
}

.t-label,
.v-label {
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

.t-display em,
.t-statement em,
.t-colossal em,
em {
  color: inherit;
  font-style: normal;
  font-weight: inherit;
}

.link {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
}

.link::before {
  display: none;
}

.btn {
  min-height: 46px;
  padding: 0.8rem 1.15rem;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: transparent;
  color: var(--blue);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
}

.btn:hover,
.btn--solid,
.btn--solid:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.g {
  max-width: var(--max);
}

/* Navigation */
.nav,
.nav.is-compact {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--rule);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.nav-inner,
.nav.is-compact .nav-inner {
  padding-top: 1.05rem;
  padding-bottom: 1.05rem;
}

.nav-wordmark,
.nav.is-open .nav-wordmark {
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.045em;
}

.nav-wordmark span,
.nav-links a i {
  display: none;
}

.nav-links {
  gap: 2rem;
  font-family: var(--sans);
  font-size: 0.86rem;
  letter-spacing: -0.01em;
  text-transform: none;
}

.nav-links a,
.nav-links a.is-active,
.nav-action,
.nav-toggle,
.nav.on-navy-page:not(.is-compact) .nav-wordmark,
.nav.on-navy-page:not(.is-compact) .nav-links a,
.nav.on-navy-page:not(.is-compact) .nav-action {
  color: var(--ink);
}

.nav-action {
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: var(--blue);
  color: #fff !important;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
}

/* Homepage hero: one real image, one clear promise. */
.hero--cinema {
  min-height: min(820px, calc(100svh - 92px));
  margin: 88px 20px 20px;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.86) 0%, rgba(7, 17, 31, 0.62) 48%, rgba(7, 17, 31, 0.22) 100%),
    url("/assets/images/home/globalco-team-hero.webp") center 48% / cover no-repeat;
  display: flex;
  align-items: flex-end;
}

.hero--cinema::before {
  display: none;
}

.hero--cinema > .g {
  padding-top: clamp(120px, 18vh, 190px);
  padding-bottom: clamp(48px, 8vh, 80px);
}

.hero-kicker {
  grid-column: 1 / span 8;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

.t-colossal {
  grid-column: 1 / span 9;
  max-width: 10ch;
  color: #fff;
  font-size: clamp(4.2rem, 9vw, 9rem);
  line-height: 0.9;
}

.t-colossal span,
.t-colossal span i {
  display: block;
  overflow: visible;
  color: inherit;
  font-style: normal;
  transform: none;
  animation: none;
}

.hero-sub {
  grid-column: 1 / span 5;
  margin-top: 2rem;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  line-height: 1.55;
  opacity: 1;
  animation: none;
}

.hero-actions {
  grid-column: 1 / span 8;
  margin-top: 1.5rem;
  opacity: 1;
  animation: none;
}

.hero--cinema .btn--solid {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.hero--cinema .link {
  color: #fff;
}

.hero-index {
  display: none;
}

/* Page heroes */
.page-hero {
  padding-top: clamp(132px, 17vh, 176px);
  padding-bottom: clamp(64px, 7vw, 88px);
  background: #fff;
}

.page-hero-title {
  grid-column: 1 / span 7;
}

.page-hero-title .t-display {
  max-width: 11ch;
}

.page-hero-aside {
  grid-column: 9 / span 4;
  align-self: center;
  padding-top: 0;
  border-top: 0;
}

.page-hero-aside .t-body {
  max-width: 36ch;
}

/* Homepage sections */
.position,
.tenets,
.system,
.services,
.sectors,
.founder,
.statement,
.block,
.close,
.legal {
  padding-top: clamp(72px, 7vw, 104px);
  padding-bottom: clamp(72px, 7vw, 104px);
}

.position {
  margin: 0;
  background: var(--ground);
}

.position-text {
  grid-column: 1 / span 9;
  padding-top: 0;
}

.position-notes {
  grid-column: 10 / span 3;
  padding-top: 0.4rem;
}

.thesis,
.block--navy,
.close {
  margin: 20px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
}

.thesis .g,
.block--navy .g,
.close .g {
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(72px, 9vw, 120px);
}

.thesis-main,
.thesis-essay {
  color: #fff;
}

.thesis-main .t-label,
.thesis-main .t-body,
.thesis-essay p,
.thesis-essay ol li,
.block--navy .t-label,
.block--navy .t-body,
.block--navy .list li,
.close .t-body {
  color: var(--on-navy-2);
}

.thesis-main .t-statement,
.thesis-essay strong,
.block--navy h2,
.block--navy h3,
.close h2 {
  color: #fff;
}

.thesis-essay-inner {
  border-top-color: var(--rule-navy);
}

.thesis-essay .link,
.block--navy .link {
  color: #fff;
}

.tenets {
  background: #fff;
}

.tenets-head {
  grid-column: 1 / span 5;
}

.tenets-list {
  grid-column: 6 / span 7;
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tenets-list li {
  display: block;
  padding: 26px;
  border: 0;
  border-radius: 14px;
  background: var(--ground);
}

.tenets-list li:last-child {
  border-bottom: 0;
}

.tenets-list .n {
  display: block;
  margin-bottom: 3rem;
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
}

.system {
  background: var(--ground);
}

.system-head {
  grid-column: 1 / span 8;
  padding-bottom: 4rem;
}

.system-ledger {
  grid-column: 1 / span 12;
  gap: 14px;
  color: var(--ink);
}

.ledger-item,
.ledger-item:first-child,
.ledger-item:nth-child(3),
.ledger-item:nth-child(4) {
  grid-column: span 3;
  padding: 26px;
  border: 0;
  border-radius: 14px;
  background: #fff;
}

.ledger-item .t-label,
.ledger-item .t-body {
  color: var(--ink-2);
}

.ledger-item .t-label {
  margin-bottom: 3rem;
}

.ledger-item .t-num {
  margin-bottom: 0.8rem;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.services {
  background: var(--ground);
}

.services-head {
  grid-column: 1 / span 7;
}

.services-table {
  grid-column: 1 / span 12;
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 0;
}

.services-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 0.65rem 1rem;
  align-items: start;
  padding: 28px;
  border: 0;
  border-radius: 14px;
  background: #fff;
}

.services-row:hover,
.table-row:hover {
  padding-left: 28px;
}

.services-row .n {
  grid-column: 1;
  grid-row: 1 / span 3;
  color: var(--ink-3);
  font-family: var(--sans);
}

.services-row h3,
.services-row .t-body,
.services-row .link {
  grid-column: 2;
}

.services-row h3 {
  font-size: 1.65rem;
}

.services-note {
  grid-column: 1 / span 6;
}

.sectors {
  background: #fff;
}

.sectors-head {
  grid-column: 1 / span 6;
}

.sectors-pin {
  grid-column: 8 / span 5;
  border-radius: 16px;
  overflow: hidden;
}

.sectors-pin img,
.founder-photo img,
.block-figure img,
.band img {
  filter: none;
}

.sectors-pin img {
  background: var(--ground);
  border-radius: 16px;
}

.sectors-matrix {
  grid-column: 1 / span 7;
  margin-top: 3rem;
  gap: 14px;
  border: 0;
}

.sector-cell {
  padding: 24px;
  border: 0;
  border-radius: 14px;
  background: var(--ground);
}

.sector-cell:nth-child(odd) {
  padding-right: 24px;
}

.sector-cell .t-label {
  color: var(--ink-3);
}

.founder {
  background: var(--ground);
}

.founder-text--wide,
.founder-text {
  grid-column: 1 / span 8;
}

.band {
  width: auto;
  max-width: 1120px;
  height: auto;
  margin: 20px auto;
  border-radius: 18px;
}

.band img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Interior sections */
.statement {
  background: var(--ground);
}

.statement-text {
  grid-column: 1 / span 10;
}

.statement-text .t-statement {
  max-width: 24ch;
}

.block {
  background: #fff;
}

.block > .g {
  align-items: start;
}

.block:nth-of-type(even):not(.block--navy) {
  background: var(--ground);
}

.block-text,
.block--flip .block-text {
  grid-column: 1 / span 7;
}

.block-text > .t-label {
  display: block;
  margin-bottom: 1rem;
}

.block-text .t-title {
  max-width: 18ch;
  margin: 0 0 1.25rem;
}

.block-text .t-body {
  max-width: 58ch;
  margin-bottom: 2.25rem;
}

.block-figure,
.block--flip .block-figure {
  grid-column: 9 / span 4;
  grid-row: 1;
}

.block-figure img {
  border-radius: 16px;
}

.block--photo .block-text,
.block--photo.block--flip .block-text {
  grid-column: 1 / span 6;
}

.block--photo .block-figure,
.block--photo.block--flip .block-figure {
  grid-column: 8 / span 5;
}

.block-figure--photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.block--navy .block-text {
  grid-column: 1 / span 7;
}

.section-link {
  grid-column: 1 / span 7;
  margin-top: 1.25rem;
}

.list li {
  min-height: 0;
  padding: 1rem 0 1rem 1.75rem;
  color: var(--ink-2);
  border-color: var(--rule);
  font-size: 0.96rem;
  line-height: 1.55;
}

.list li::before {
  top: 1.72rem;
  width: 12px;
  background: var(--clay);
}

.list-pair {
  gap: 2rem;
  margin-top: 0.5rem;
  margin-bottom: 2.25rem;
}

.list-pair > div {
  min-width: 0;
}

.list-pair .t-label {
  margin-bottom: 0;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--rule-strong);
  color: var(--ink-2);
}

.list-pair--facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
}

.list-pair--facts > div {
  padding: 1.35rem;
  border-radius: 12px;
  background: var(--ground);
}

.list-pair--facts .t-label {
  padding-bottom: 0;
  border-bottom: 0;
}

.list-pair--facts .t-small {
  margin-top: 0.65rem;
}

.steps {
  grid-column: 1 / span 12;
  margin-top: 2.5rem;
  gap: 14px;
}

.steps--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wise-start .btn {
  margin-top: 0.25rem;
}

.steps::before,
.step::before {
  display: none;
}

.step {
  padding: 24px;
  border-radius: 14px;
  background: var(--ground);
}

.step .t-num {
  margin-bottom: 3rem;
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
}

.table {
  grid-column: 1 / span 12;
  margin-top: 2.25rem;
  display: grid;
  gap: 12px;
  border: 0;
}

.table-row {
  padding: 24px;
  border: 0;
  border-radius: 12px;
  background: var(--ground);
}

.table-row h3 {
  line-height: 1.2;
}

.table-row .t-body {
  line-height: 1.55;
}

.table-row .n {
  color: var(--ink-3);
  font-family: var(--sans);
  letter-spacing: 0;
  text-transform: none;
}

.close-text {
  grid-column: 1 / span 8;
}

.close-action {
  grid-column: 10 / span 3;
}

.close .btn--solid,
.block--navy .btn {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.legal {
  background: #fff;
}

.legal-body {
  grid-column: 1 / span 8;
}

/* Footer */
.foot {
  margin: 20px;
  border-radius: 18px;
  background: var(--navy-deep);
  color: #fff;
}

.foot .g {
  padding-top: clamp(72px, 10vw, 140px);
  padding-bottom: 48px;
}

.foot-statement {
  grid-column: 1 / span 8;
}

.foot-statement .t-display {
  color: #fff;
  font-size: clamp(3rem, 6vw, 6.5rem);
}

.foot-statement .t-label,
.foot-meta .t-label,
.foot-legal,
.foot-meta .t-small,
.foot-links a {
  color: var(--on-navy-2) !important;
}

.foot-meta a,
.foot-wordmark {
  color: #fff;
}

.foot-wordmark {
  font-size: clamp(2rem, 4vw, 4rem);
}

.foot-nav {
  border-top-color: var(--rule-navy);
}

/* Motion stays quiet. */
.has-io .rv {
  transform: translateY(8px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

@media (max-width: 900px) {
  .nav-links,
  .nav-action {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav.is-open {
    background: #fff;
  }

  .nav-links.is-open {
    display: flex;
    font-size: 1.05rem;
  }

  .nav-action.is-open {
    display: inline-flex;
  }

  .hero--cinema {
    min-height: 0;
    margin: 76px 12px 12px;
    border-radius: 14px;
    background: var(--navy-deep);
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero--cinema::before {
    content: "";
    display: block !important;
    width: 100%;
    aspect-ratio: 16 / 9;
    flex: none;
    background: url("/assets/images/home/globalco-team-hero.webp") center 48% / cover no-repeat;
  }

  .hero--cinema > .g {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .hero-kicker,
  .t-colossal,
  .hero-sub,
  .hero-actions,
  .page-hero-title,
  .page-hero-aside,
  .position-text,
  .position-notes,
  .thesis-main,
  .thesis-essay,
  .tenets-head,
  .tenets-list,
  .system-head,
  .system-ledger,
  .services-head,
  .services-table,
  .services-note,
  .sectors-head,
  .sectors-pin,
  .sectors-matrix,
  .founder-text,
  .foot-statement,
  .foot-meta,
  .foot-wordmark,
  .foot-links,
  .foot-legal,
  .statement-text,
  .block-text,
  .block-figure,
  .block--flip .block-text,
  .block--flip .block-figure,
  .steps,
  .table,
  .close-text,
  .close-action,
  .legal-body {
    grid-column: 1 / span 12;
    grid-row: auto;
  }

  .section-link {
    grid-column: 1 / span 12;
  }

  .block--photo .block-text,
  .block--photo.block--flip .block-text,
  .block--photo .block-figure,
  .block--photo.block--flip .block-figure {
    grid-column: 1 / span 12;
    grid-row: auto;
  }

  .t-colossal {
    max-width: 9ch;
    font-size: clamp(3.5rem, 15vw, 6.5rem);
  }

  .hero-sub {
    max-width: 34ch;
  }

  .page-hero-aside,
  .position-notes,
  .thesis-essay,
  .sectors-pin,
  .block-figure,
  .close-action {
    margin-top: 2rem;
  }

  .page-hero {
    padding-top: 118px;
    padding-bottom: 64px;
  }

  .position,
  .tenets,
  .system,
  .services,
  .sectors,
  .founder,
  .statement,
  .block,
  .close,
  .legal {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .thesis,
  .block--navy,
  .close,
  .foot,
  .band {
    margin-left: 12px;
    margin-right: 12px;
    border-radius: 14px;
  }

  .tenets-list,
  .system-ledger,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 2.5rem;
  }

  .ledger-item,
  .ledger-item:first-child,
  .ledger-item:nth-child(3),
  .ledger-item:nth-child(4) {
    grid-column: span 1;
  }

  .services-table {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sectors-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
  }

  .band {
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .hero--cinema {
    min-height: 0;
  }

  .hero-kicker {
    grid-column: 1 / span 12;
    max-width: 26ch;
  }

  .t-colossal {
    font-size: clamp(3.35rem, 16vw, 4.5rem);
  }

  .hero-actions {
    display: grid;
    gap: 1rem;
    justify-items: start;
  }

  .t-display {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .t-statement {
    font-size: clamp(2rem, 8.5vw, 2.5rem);
  }

  .t-title {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .position,
  .tenets,
  .system,
  .services,
  .sectors,
  .founder,
  .statement,
  .block,
  .close,
  .legal {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .list-pair--facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .tenets-list,
  .system-ledger,
  .steps,
  .sectors-matrix {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-row {
    grid-template-columns: 28px minmax(0, 1fr);
    padding: 22px;
  }

  .services-row:hover,
  .table-row:hover {
    padding-left: 22px;
  }

  .foot-links {
    gap: 0.8rem 1.2rem;
  }
}

/* Compact rhythm: content should determine section height, not empty space. */
.has-io .rv,
.has-io .rv.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.page-hero {
  padding-top: clamp(104px, 9vw, 120px);
  padding-bottom: clamp(44px, 4vw, 56px);
}

.position,
.tenets,
.system,
.services,
.sectors,
.founder,
.statement,
.block,
.legal {
  padding-top: clamp(48px, 4vw, 64px);
  padding-bottom: clamp(48px, 4vw, 64px);
}

.thesis .g,
.block--navy .g,
.close .g {
  padding-top: clamp(52px, 4.5vw, 68px);
  padding-bottom: clamp(52px, 4.5vw, 68px);
}

.block--navy,
.close {
  padding-top: 0;
  padding-bottom: 0;
}

.thesis-main {
  grid-column: 1 / span 7;
}

.thesis-essay {
  grid-column: 9 / span 4;
  align-self: start;
  padding-top: 3rem;
}

.sectors > .g > .table {
  grid-column: 1 / span 7;
  grid-row: 2;
  align-self: start;
  margin-top: 2rem;
}

.sectors > .g > .table .table-row {
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 0.55rem 1rem;
}

.sectors > .g > .table .table-row .t-body {
  grid-column: 2 / 4;
}

@media (max-width: 900px) {
  .thesis-essay {
    padding-top: 0;
  }

  .sectors > .g > .table {
    grid-column: 1 / span 12;
    grid-row: auto;
    margin-top: 2rem;
  }

  .sectors > .g > .table .table-row {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .sectors > .g > .table .table-row .t-body,
  .sectors > .g > .table .table-row .link {
    grid-column: 2;
  }
}
