/* The one idea: the logo's blue line under a heavy navy name, over the site's own photograph.
   Colours are the live site's: the logo navy, #00adef, #898989, white. */
@font-face { font-family: "Archivo"; src: url(fonts/archivo-latin-wght-normal.woff2) format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url(fonts/archivo-latin-ext-wght-normal.woff2) format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo Logo"; src: url(fonts/archivo-latin-standard-normal.woff2) format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url(fonts/source-serif-4-latin-wght-normal.woff2) format("woff2-variations"); font-weight: 200 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif"; src: url(fonts/source-serif-4-latin-ext-wght-normal.woff2) format("woff2-variations"); font-weight: 200 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #0a2e72;
  --blue: #00adef;
  --gray: #898989;
  --white: #fff;
  --ink-soft: color-mix(in srgb, var(--navy) 90%, var(--white));
  --line: color-mix(in srgb, var(--gray) 35%, var(--white));
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --read: "Source Serif", Georgia, serif;
  --gutter: clamp(16px, 5vw, 72px);
  --section: clamp(72px, 11vw, 168px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --bar: 76px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--bar) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 1.0625rem/1.65 var(--read); }
h1, h2, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }

/* Bar: glass, because the photograph and the page scroll behind it. */
.bar {
  position: sticky; top: 0; z-index: 10; height: var(--bar);
  display: flex; align-items: center; gap: clamp(16px, 4vw, 48px); padding-inline: var(--gutter);
  background: color-mix(in srgb, var(--white) 82%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid color-mix(in srgb, var(--navy) 10%, transparent);
  font-family: var(--display);
}
@supports not (backdrop-filter: blur(1px)) { .bar { background: var(--white); } }
.logo { flex: none; display: block; }
.logo img { height: 52px; width: auto; }
.links { display: flex; gap: clamp(14px, 2.4vw, 32px); font-size: .9375rem; font-weight: 500; }
.bar .links { margin-inline-start: auto; }
.links a { position: relative; padding-block: 12px; text-decoration: none; }
.links a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 6px; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease);
}
.links a[aria-current="true"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .links a:hover::after { transform: scaleX(1); } }
.langs { display: flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; }
.langs span { color: var(--gray); }
.langs a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; text-decoration: none; color: color-mix(in srgb, var(--gray) 70%, var(--navy)); }
.langs a[aria-current="true"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--blue); }

/* Hero: the site's photograph, full bleed, the name set like the logo. */
.hero { position: relative; display: flex; align-items: flex-end; min-height: calc(100dvh - var(--bar)); overflow: hidden; background: var(--navy); margin-top: 0; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--navy) 88%, transparent) 0%, color-mix(in srgb, var(--navy) 62%, transparent) 34%, transparent 62%); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(40px, 7vw, 96px); }
/* The name set as the logo is: GLOBAL, CITY to its right edge, the blue line, HOLDINGS spaced to the same width.
   Reversed for the dark photograph: white where the logo is navy. The capitals are CSS; the text is unchanged. */
h1 { display: inline-grid; color: var(--white); font: 900 clamp(4rem, 11vw, 10.5rem)/.84 "Archivo Logo", var(--display); font-stretch: 72%; letter-spacing: -.012em; text-transform: uppercase; }
h1 .w { display: block; }
h1 .w:nth-child(2) { justify-self: end; }
h1 .w:nth-child(3) { order: 3; color: var(--blue); font: 500 .24em/1 var(--display); letter-spacing: 1.21em; margin-inline-end: -1.21em; margin-top: .62em; white-space: nowrap; }
h1::after { content: ""; order: 2; display: block; height: .035em; margin-top: .12em; background: var(--blue); transform-origin: left; }

/* Company: the first paragraph carries the page; the other two sit under it. */
.company { padding-block: var(--section); display: grid; gap: clamp(32px, 5vw, 72px); }
.lead { max-width: 30em; font: 500 clamp(1.4rem, 2.5vw, 2.25rem)/1.32 var(--display); letter-spacing: -.012em; }
.company-rest { display: grid; gap: 24px clamp(32px, 6vw, 96px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); max-width: 1040px; margin-inline-start: auto; color: var(--ink-soft); }

/* A heading wears the logo's line. */
.rule-title { font: 700 clamp(1.75rem, 3.6vw, 3.25rem)/1.08 var(--display); letter-spacing: -.02em; }
.rule-title::after { content: ""; display: block; width: 72px; height: 4px; margin-top: 18px; background: var(--blue); transform-origin: left; }

/* Holdings: one line per country, on navy. */
.holdings { background: var(--navy); color: var(--white); padding-block: var(--section); }
.holdings ul { margin-top: clamp(32px, 5vw, 64px); }
.holdings li { display: grid; gap: 4px 32px; padding-block: clamp(20px, 2.6vw, 32px); border-top: 1px solid color-mix(in srgb, var(--white) 22%, transparent); font: 400 clamp(1.125rem, 1.9vw, 1.625rem)/1.35 var(--display); }
.holdings li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--white) 22%, transparent); }
.place { color: var(--blue); font-weight: 700; }
@media (min-width: 760px) { .holdings li { grid-template-columns: minmax(180px, 3fr) 9fr; } }

/* Awards: the title stays while the record passes beside it. */
.awards { padding-block: var(--section); display: grid; gap: 40px clamp(32px, 6vw, 96px); }
.award { display: grid; gap: 20px clamp(24px, 3vw, 48px); padding-block: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--line); }
.award:last-child { border-bottom: 1px solid var(--line); }
.award p { max-width: 65ch; color: var(--ink-soft); }
.award-mark { display: flex; align-items: flex-start; }
.award-mark img { width: auto; height: auto; max-width: 120px; max-height: 148px; }
@media (min-width: 760px) { .award { grid-template-columns: 136px 1fr; } }
@media (min-width: 1040px) {
  .awards { grid-template-columns: 3fr 9fr; align-items: start; }
  .awards .rule-title { position: sticky; top: calc(var(--bar) + 40px); }
}

/* Contact: two offices; the light follows the pointer around each edge. */
.contact { background: var(--navy); color: var(--white); padding-block: var(--section); }
.offices { display: grid; gap: 16px; margin-top: clamp(32px, 5vw, 64px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.office { position: relative; display: grid; gap: 2px; padding: clamp(24px, 3vw, 40px); font: 400 1.0625rem/1.5 var(--display); font-style: normal; border-radius: 4px; background: color-mix(in srgb, var(--white) 7%, transparent); }
.office strong { margin-bottom: 10px; font-size: clamp(1.125rem, 1.7vw, 1.375rem); font-weight: 700; }
.office a { justify-self: start; margin-top: 14px; padding-block: 10px; color: var(--white); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 5px; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) {
  .office::after {
    content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--blue), transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
    transition: opacity 200ms ease;
  }
  .office:hover::after { opacity: 1; }
}

.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 28px; font-family: var(--display); }

@media (max-width: 640px) {
  :root { --bar: 64px; }
  .logo img { height: 42px; }
  .bar .links { display: none; }
  .langs { margin-inline-start: auto; }
  .hero-photo { object-position: 74% 40%; }
  .hero::after { background: linear-gradient(0deg, color-mix(in srgb, var(--navy) 88%, transparent) 0%, color-mix(in srgb, var(--navy) 55%, transparent) 36%, transparent 62%); }
  body { font-size: 1rem; }
}

.missing { display: grid; justify-items: start; gap: 20px; padding-block: var(--section); font-family: var(--display); }
.missing a { padding-block: 12px; text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Motion: each moves once, and the page is the same page without it. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }
  h1 .w { animation: arrive 800ms var(--ease) both; animation-delay: calc(var(--i) * 90ms + 120ms); }
  h1::after { animation: draw 900ms var(--ease) 480ms both; }
  @keyframes arrive { from { opacity: 0; filter: blur(6px); transform: translateY(.22em); } to { opacity: 1; filter: blur(0); transform: none; } }
  @keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @supports (animation-timeline: view()) {
    .hero-photo { animation: settle linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes settle { to { transform: translateY(10%) scale(1.05); } }
    .rule-title::after { animation: draw linear both; animation-timeline: view(); animation-range: entry 40% cover 32%; }
  }
}
