/* GLB International  -  corporate landing page */

@font-face {
  font-family: "Anton";
  src: url("fonts/anton.woff2") format("woff2"),
       url("fonts/anton.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3.woff2") format("woff2"),
       url("fonts/source-sans-3.woff") format("woff");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --purple-950: #1a0b2e;
  --purple-900: #2a1548;
  --purple-800: #3c1b6e;
  --purple-700: #5b21b6;
  --purple-600: #6d28d9;
  --purple-500: #7c3aed;
  --purple-400: #8b5cf6;
  --purple-300: #c4b5fd;
  --purple-200: #ddd6fe;
  --purple-100: #ede9fe;
  --purple-50: #f7f5fb;
  --ink: #1a1228;
  --ink-soft: #534b63;
  --ink-mute: #6f6880;
  --line: #e6e0f0;
  --white: #ffffff;
  --header-h: 76px;
  --max: 1140px;
  --grad-sq: linear-gradient(135deg, #5b21b6 0%, #a78bfa 55%, #7c3aed 100%);
  --shadow: 0 10px 30px rgba(26, 11, 46, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Calibri, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--purple-700);
  text-decoration: none;
}

a:hover {
  color: var(--purple-500);
}

:focus-visible {
  outline: 2px solid var(--purple-500);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -120px;
  background: var(--purple-900);
  color: var(--white);
  padding: 8px 14px;
  z-index: 1000;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Logo (placeholder wordmark; swap .logo-mark later) ---------- */

.logo {
  color: inherit;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo:hover {
  color: inherit;
}

.logo-mark {
  display: flex;
  align-items: baseline;
  gap: 0.45em;
  color: var(--ink);
  line-height: 1;
}

.logo-glb {
  font-family: Impact, "Anton", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}

.logo-sq {
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  margin: 0 0.08em 0.04em;
  background: var(--grad-sq);
  flex-shrink: 0;
}

.logo-word {
  font-family: Impact, "Anton", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  top: -0.12em;
}

.logo--light .logo-glb,
.logo--light .logo-word,
.logo--light .logo-mark {
  color: var(--white);
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav a:hover {
  color: var(--purple-700);
}

.nav-cta {
  background: var(--purple-700);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 2px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--purple-600);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: absolute;
  left: 12px;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span {
  top: 21px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img,
.hero-media picture,
.hero-media picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(26, 11, 46, 0.28) 0%, rgba(26, 11, 46, 0.18) 35%, rgba(26, 11, 46, 0.72) 100%),
    linear-gradient(90deg, rgba(26, 11, 46, 0.62) 0%, rgba(26, 11, 46, 0.28) 48%, rgba(26, 11, 46, 0.12) 100%);
}

.hero-inner {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  padding: 80px 0 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-700);
  margin: 0 0 16px;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--grad-sq);
  flex-shrink: 0;
}

.hero .eyebrow {
  color: var(--purple-200);
}

.hero h1 {
  margin: 0 0 18px;
  max-width: 16ch;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero-lead {
  margin: 0 0 32px;
  max-width: 38rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--purple-600);
  color: var(--white);
  border-color: var(--purple-600);
}

.btn-primary:hover {
  background: var(--purple-500);
  color: var(--white);
  border-color: var(--purple-500);
}

.btn-light {
  background: var(--white);
  color: var(--purple-900);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--purple-100);
  color: var(--purple-900);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* ---------- Shared section chrome ---------- */

.section {
  padding: 96px 0;
}

.section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.lead {
  margin: 0;
  font-size: 1.08rem;
  max-width: 40rem;
}

.muted {
  color: var(--ink-mute);
}

.section-head {
  margin-bottom: 48px;
}

.section-head .lead {
  max-width: 42rem;
}

/* ---------- About ---------- */

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.about-copy p {
  margin: 0 0 16px;
  max-width: 38rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 40%;
}

.about-photo figcaption,
.presence-card figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--ink-mute);
}

/* ---------- Services ---------- */

.services {
  background: var(--purple-50);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 26px 26px;
  min-height: 100%;
}

.card:hover {
  border-color: var(--purple-200);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--purple-100);
  color: var(--purple-700);
  margin-bottom: 18px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

/* ---------- Presence ---------- */

.presence {
  background: var(--white);
}

.presence-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 56px;
  align-items: start;
}

.presence-copy p {
  margin: 0 0 16px;
  max-width: 36rem;
}

.presence-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.presence-photos .span-2 {
  grid-column: 1 / -1;
}

.presence-photos img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.presence-photos .span-2 img {
  height: 300px;
  object-position: center 35%;
}

/* ---------- Approach ---------- */

.approach {
  background: var(--purple-50);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.approach-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 30%;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
}

.step-num {
  font-family: Impact, "Anton", "Arial Narrow", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--purple-600);
  line-height: 1.2;
  padding-top: 2px;
}

.steps h3 {
  margin: 0 0 4px;
  font-size: 1.08rem;
  font-weight: 650;
  color: var(--ink);
}

.steps p {
  margin: 0;
  font-size: 0.98rem;
}

/* ---------- Contact ---------- */

.contact {
  background: var(--purple-950);
  color: rgba(255, 255, 255, 0.88);
  padding: 96px 0;
}

.contact h2 {
  color: var(--white);
}

.contact .eyebrow {
  color: var(--purple-300);
}

.contact .lead {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
}

.contact a.mail {
  color: var(--white);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact a.mail:hover {
  color: var(--purple-200);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--purple-900);
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 28px;
  font-size: 0.92rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand p {
  margin: 12px 0 0;
  max-width: 26rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-nav a,
.footer a {
  color: rgba(255, 255, 255, 0.88);
}

.footer-nav a:hover,
.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .about-grid,
  .presence-grid,
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-photo img,
  .approach-photo img {
    height: 360px;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .presence-photos .span-2 img {
    height: 240px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 68px;
  }

  .wrap,
  .hero-inner {
    width: min(var(--max), calc(100% - 32px));
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
  }

  .nav a {
    padding: 12px 8px;
    border-bottom: 1px solid var(--line);
  }

  .nav .nav-cta {
    margin-top: 8px;
    text-align: center;
    border-bottom: 0;
  }

  .nav-check:checked ~ .nav {
    display: flex;
  }

  .nav-check:checked + .nav-toggle span {
    background: transparent;
  }

  .nav-check:checked + .nav-toggle span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-check:checked + .nav-toggle span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .logo-glb {
    font-size: 1.45rem;
  }

  .logo-word {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }

  .hero-inner {
    padding: 64px 0 72px;
  }

  .hero h1 {
    max-width: none;
  }

  .section,
  .contact {
    padding: 72px 0;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
  }

  .about-photo img,
  .approach-photo img {
    height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
