/* Layout: full-bleed bands that alternate between a deep navy "night" surface and
   light paper. The hero pairs a large serif statement with the company's record
   card; brands, worldwide reach and contact each get their own band. */
:root {
  --paper: #f5f6f3;
  --sheet: #ffffff;
  --ink: #0d1826;
  --ink-soft: #46515f;
  --ink-faint: #76808c;
  --rule: #d9ddd8;
  --night: #0d1826;
  --night-raised: #152334;
  --night-rule: #2a3a4d;
  --on-night: #eef1ee;
  --on-night-soft: #a7b3bf;
  --accent: #1d5a48;
  --accent-deep: #154335;
  --accent-wash: #e6efea;
  --mint: #8ed3b5;

  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-data: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.625rem;
  --step-3: clamp(2rem, 4.2vw, 3rem);
  --step-4: clamp(2.75rem, 7vw, 5.25rem);
  --step-5: clamp(3.5rem, 13vw, 10rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --band: clamp(3.5rem, 8vw, 6.5rem);
  --measure: 60ch;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
a { color: inherit; text-decoration-color: currentColor; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
em { font-style: italic; }

.wrap { max-width: 78rem; margin-inline: auto; padding-inline: var(--gutter); }
.label {
  font-family: var(--font-data); font-size: 0.6875rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-faint);
}
.data { font-family: var(--font-data); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }

/* Header */
.masthead {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: var(--night); color: var(--on-night); border-bottom: 1px solid var(--night-rule);
}
.masthead .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 0.85rem; }
.wordmark { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; font-family: var(--font-data); font-size: var(--step--1); font-weight: 500; letter-spacing: 0.14em; white-space: nowrap; }
.mark { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; background: var(--mint); color: var(--night); font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; letter-spacing: 0; }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; font-size: var(--step--1); }
.nav a { text-decoration: none; color: var(--on-night-soft); transition: color 0.15s; }
.nav a:hover { color: var(--mint); }

/* Hero */
.hero { background: var(--night); color: var(--on-night); padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 3rem clamp(2rem, 6vw, 5rem); align-items: end; }
.hero .label { color: var(--mint); }
.hero h1 { margin-top: 1.5rem; font-family: var(--font-display); font-weight: 400; font-size: var(--step-4); line-height: 1; letter-spacing: -0.02em; }
.hero h1 em { color: var(--mint); }
.hero .lede { margin-top: 1.75rem; max-width: 34rem; font-size: var(--step-1); color: var(--on-night-soft); }
.actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn { display: inline-block; padding: 0.8rem 1.3rem; font-size: var(--step--1); font-weight: 500; letter-spacing: 0.03em; text-decoration: none; border: 1px solid var(--night-rule); color: var(--on-night); transition: background 0.15s, border-color 0.15s, color 0.15s; }
.btn:hover { border-color: var(--mint); color: var(--mint); }
.btn-solid { background: var(--mint); border-color: var(--mint); color: var(--night); }
.btn-solid:hover { background: var(--on-night); border-color: var(--on-night); color: var(--night); }

.card-record { background: var(--night-raised); border: 1px solid var(--night-rule); border-top: 3px solid var(--mint); }
.card-record header { padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--night-rule); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.card-record header strong { font-family: var(--font-data); font-weight: 500; letter-spacing: 0.08em; }
.card-record .label { color: var(--on-night-soft); }
.card-record dl > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.15rem 1.5rem; padding: 0.75rem 1.4rem; border-bottom: 1px solid var(--night-rule); }
.card-record dl > div:last-child { border-bottom: 0; }
.card-record dd { margin-left: auto; text-align: right; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.card-record { animation: rise 0.8s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

/* Running strip of activities */
.strip { background: var(--mint); color: var(--night); overflow: hidden; border-block: 1px solid var(--night); }
.strip-track { display: flex; width: max-content; animation: slide 48s linear infinite; }
.strip ul { display: flex; flex: none; }
.strip li { padding: 0.8rem 0; font-family: var(--font-data); font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.strip li::after { content: "/"; margin-inline: 1.75rem; opacity: 0.45; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Key figures */
.figures { background: var(--sheet); border-bottom: 1px solid var(--rule); }
.figures dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.figures dl > div { padding: clamp(1.75rem, 4vw, 2.75rem) 1.5rem clamp(1.75rem, 4vw, 2.75rem) 0; min-width: 0; display: flex; flex-direction: column-reverse; gap: 0.5rem; }
.figures dd { font-family: var(--font-display); font-size: var(--step-3); line-height: 1; letter-spacing: -0.015em; }

/* Bands */
.band { padding-block: var(--band); }
.band-night { background: var(--night); color: var(--on-night); }
.band-sheet { background: var(--sheet); border-block: 1px solid var(--rule); }
.band-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.band-head .label { color: var(--accent); }
.band-night .band-head .label { color: var(--mint); }
.band h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-3); line-height: 1.06; letter-spacing: -0.015em; max-width: 20ch; }
.band h2 em { color: var(--accent); }
.band-night h2 em { color: var(--mint); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 6vw, 5rem); align-items: start; }
.prose { display: flex; flex-direction: column; gap: 1rem; max-width: var(--measure); color: var(--ink-soft); font-size: var(--step-1); line-height: 1.55; }
.prose strong { color: var(--ink); font-weight: 500; }
.band-night .prose { color: var(--on-night-soft); }
.note { font-size: var(--step--1); color: var(--ink-faint); max-width: var(--measure); }
.band-night .note { color: var(--on-night-soft); }

/* What we do */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.tiles > div { background: var(--paper); padding: 1.5rem; min-width: 0; transition: background 0.2s; }
.tiles > div:hover { background: var(--accent-wash); }
.tiles h3 { font-size: var(--step-0); font-weight: 600; }
.tiles p { margin-top: 0.4rem; color: var(--ink-soft); font-size: 0.9375rem; }

/* Structure */
.tree { display: flex; flex-direction: column; }
.node { border: 1px solid var(--night-rule); background: var(--night-raised); padding: 1.4rem 1.5rem; min-width: 0; }
.node-root { align-self: center; width: min(100%, 30rem); text-align: center; border-color: var(--mint); }
.node .label { color: var(--mint); }
.node-name { margin-top: 0.4rem; font-family: var(--font-display); font-size: var(--step-2); line-height: 1.15; overflow-wrap: anywhere; }
.node-root .node-name { font-family: var(--font-data); font-size: var(--step-1); letter-spacing: 0.08em; }
.node-meta { margin-top: 0.3rem; font-size: var(--step--1); color: var(--on-night-soft); }
.stem { width: 1px; height: 2.25rem; background: var(--mint); align-self: center; }
.branches { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0 1rem; border-top: 1px solid var(--mint); }
.branch { display: flex; flex-direction: column; min-width: 0; }
.branch::before { content: ""; width: 1px; height: 1.75rem; background: var(--mint); align-self: center; }
.branch .node { flex: 1; text-align: center; }

/* Ledger record */
.record { background: var(--sheet); border: 1px solid var(--rule); border-top: 3px solid var(--accent); }
.record-head { padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 1.5rem; }
.record-head h3 { font-family: var(--font-data); font-size: var(--step-2); font-weight: 500; letter-spacing: 0.05em; overflow-wrap: anywhere; }
.ledger { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); overflow: hidden; }
.ledger > div { padding: 1rem 1.6rem; min-width: 0; box-shadow: 1px 0 0 var(--rule), 0 1px 0 var(--rule); }
.ledger dd { margin-top: 0.3rem; overflow-wrap: anywhere; }
.record-foot { padding: 0.9rem 1.6rem; border-top: 1px solid var(--rule); }

/* Brands */
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.25rem; }
.brand { display: flex; flex-direction: column; min-width: 0; background: var(--sheet); border: 1px solid var(--rule); transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s; }
.brand:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px var(--ink); }
.brand-face { background: var(--night); color: var(--on-night); padding: 1.4rem 1.5rem 1.6rem; min-height: 11.5rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.brand-face .label { color: var(--mint); }
.brand-face h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.25rem, 4vw, 3rem); line-height: 0.98; letter-spacing: -0.02em; }
.brand-body { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 1.1rem; flex: 1; }
.brand-body p { color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips li { padding: 0.2rem 0.6rem; border: 1px solid var(--rule); font-size: var(--step--1); color: var(--ink-soft); }
.operator { margin-top: auto; padding: 0.8rem 0.95rem; background: var(--accent-wash); }
.operator .label { color: var(--accent); }
.operator strong { display: block; margin-top: 0.15rem; font-family: var(--font-data); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.05em; }

/* Worldwide */
.world { background: var(--accent); color: var(--on-night); overflow: hidden; }
.world .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.world .label { color: var(--mint); }
.world h2 { margin-top: 1rem; font-family: var(--font-display); font-weight: 400; font-size: var(--step-5); line-height: 0.9; letter-spacing: -0.03em; max-width: none; }
.world p { margin-top: 1.5rem; max-width: 34rem; font-size: var(--step-1); color: var(--accent-wash); }
.globe { width: min(100%, 24rem); justify-self: end; }
.globe * { fill: none; stroke: var(--mint); stroke-width: 1; vector-effect: non-scaling-stroke; }
.globe .spin { transform-origin: 100px 100px; animation: turn 60s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }

/* Corporate information */
.qa { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 0 2.5rem; }
.qa > div { padding-block: 1rem; border-top: 1px solid var(--rule); min-width: 0; }
.qa dt { font-size: var(--step--1); color: var(--ink-faint); }
.qa dd { margin-top: 0.2rem; overflow-wrap: anywhere; font-weight: 500; }
.docs li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.25rem 1.5rem; padding-block: 0.9rem; border-top: 1px solid var(--rule); }
.docs span:last-child { color: var(--ink-faint); font-size: var(--step--1); }
.stack { display: flex; flex-direction: column; gap: 2.5rem; }

/* Contact */
.contact-mail { display: inline-block; margin-top: 0.5rem; font-family: var(--font-display); font-size: clamp(1.75rem, 5.5vw, 4rem); line-height: 1.05; letter-spacing: -0.02em; text-decoration: none; overflow-wrap: anywhere; transition: color 0.15s; }
.contact-mail:hover { color: var(--mint); }
.contact-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem 3rem; border-top: 1px solid var(--night-rule); padding-top: 1.75rem; }
.contact-grid .label { color: var(--mint); }
.contact-grid dd { margin-top: 0.4rem; }

/* Footer */
.colophon { background: var(--night); color: var(--on-night-soft); border-top: 1px solid var(--night-rule); padding-block: 2.5rem 3rem; font-size: var(--step--1); }
.colophon .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.75rem 3rem; }
.colophon ul { display: flex; flex-direction: column; gap: 0.3rem; }
.colophon a { text-decoration: none; }
.colophon a:hover { color: var(--mint); }
.colophon .wordmark { color: var(--on-night); margin-bottom: 0.4rem; }
.colophon .legal { grid-column: 1 / -1; padding-top: 1.25rem; border-top: 1px solid var(--night-rule); }

/* Legal pages */
.doc { padding-block: clamp(2.5rem, 7vw, 4.5rem); }
.doc .wrap { max-width: 48rem; }
.doc h1 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-4); line-height: 1.02; letter-spacing: -0.02em; }
.doc .label { display: block; margin-top: 1rem; }
.doc h2 { font-size: var(--step-1); font-weight: 600; margin-top: 2.25rem; }
.doc p, .doc ul.plain { margin-top: 0.85rem; color: var(--ink-soft); }
.doc ul.plain { list-style: disc; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; }
.doc a:hover { color: var(--accent); }

@media (max-width: 56rem) {
  .hero .wrap, .split, .world .wrap { grid-template-columns: minmax(0, 1fr); }
  .globe { justify-self: start; width: min(70%, 16rem); }
  .nav { gap: 0.25rem 1rem; }
  .node-root, .branch .node { text-align: left; }
  .stem, .branch::before { align-self: flex-start; margin-left: 1.5rem; }
  .branches { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > *, .card-record, .strip-track, .globe .spin { animation: none; }
  .brand, .brand:hover { transition: none; transform: none; }
}
