/*
  Tolsey Group
  Shared styles for index.html, people.html and insights.html.
  The brand rules are in CLAUDE.md. Use the colour and type tokens below; do not add new colours.
*/

/* Fonts are served from this site, not from Google, so no visitor data goes to a third party. Licence: fonts/OFL.txt */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand kit palette */
  --ivory: #F6F2EA;
  --navy: #0B1628;
  --ink: #060D19;
  --harbour: #13223A;
  --mist: #9AA6B8;
  --bronze: #C9A06A;            /* on navy, ink and harbour */
  --bronze-on-ivory: #A87A45;   /* rules, marks and outlines only, never text */

  /* Ivory page */
  --text: #33405A;
  --label: #7A5C33;
  --portrait-fill: #ECE6DA;
  --portrait-border: #D9D2C3;
  --rule-fine: rgba(11, 22, 40, 0.16);
  --rule-dark: rgba(246, 242, 234, 0.14);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --caps: 0.28em;

  --page: 1360px;
  --gutter: clamp(20px, 5vw, 72px);
  --header: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* Base */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
}

.nav-open body {
  overflow: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  font-variant-numeric: lining-nums;
}

a {
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--bronze-on-ivory);
  outline-offset: 4px;
}

svg {
  display: block;
}

[hidden] {
  display: none !important;
}

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

sub {
  position: relative;
  top: 0.25em;
  font-size: 0.7em;
  line-height: 0;
  vertical-align: baseline;
}

.container {
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ivory);
  color: var(--navy);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* Small capitals: labels, menus, buttons */

.label,
.nav a,
.nav-toggle,
.button,
.link-arrow,
.person-title,
.portrait-label,
.contact dt,
.footer-nav a,
.footer-top-link,
.note-meta dt,
.filter,
.link-back,
.scroll-cue {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--caps);
  line-height: 1.6;
  text-transform: uppercase;
}

.label,
.person-title,
.portrait-label,
.contact dt,
.note-meta dt {
  color: var(--label);
}

/* Dark blocks: navy and ink */

.dark {
  color: var(--mist);
}

.dark h1,
.dark h2,
.dark h3 {
  color: var(--ivory);
}

.dark a {
  color: var(--ivory);
}

.dark .label,
.dark .person-title {
  color: var(--bronze);
}

.dark :focus-visible {
  outline-color: var(--bronze);
}

/* Header: fixed, navy, with the reading progress line */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: var(--navy);
  color: var(--ivory);
  border-bottom: 1px solid var(--rule-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: var(--header);
  transition: height 0.5s var(--ease);
}

.site-header.is-scrolled .header-inner {
  height: 68px;
}

.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--bronze);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}

.lockup {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--ivory);
  text-decoration: none;
}

.lockup-mark {
  width: 38px;
  height: 37px;
}

.lockup-rule {
  width: 1px;
  height: 40px;
  background: var(--bronze);
}

/* The name sits on one line: TOLSEY GROUP, in Cormorant capitals. */
.lockup-name {
  font-family: var(--serif);
  font-size: 1.375rem;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

.nav ul {
  display: flex;
  gap: 40px;
  padding: 0;
  list-style: none;
}

.nav a {
  position: relative;
  display: block;
  padding-block: 10px;
  color: var(--ivory);
  font-size: 0.6875rem;
  text-decoration: none;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: var(--caps);
  bottom: 4px;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  position: relative;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border: 0;
  background: none;
  color: var(--ivory);
  cursor: pointer;
}

.nav-toggle-lines {
  position: relative;
  width: 22px;
  height: 8px;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.45s var(--ease);
}

.nav-toggle-lines::before {
  top: 0;
}

.nav-toggle-lines::after {
  bottom: 0;
}

.nav-open .nav-toggle-lines::before {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-open .nav-toggle-lines::after {
  transform: translateY(-3.5px) rotate(-45deg);
}

@media (max-width: 1023px) {
  .js .nav-toggle {
    display: inline-flex;
  }

  .js .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px var(--gutter) 64px;
    background: var(--navy);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s var(--ease), visibility 0s 0.5s;
  }

  .js.nav-open .nav {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s var(--ease);
  }

  .js .nav ul {
    flex-direction: column;
    gap: 0;
  }

  .js .nav li {
    border-bottom: 1px solid var(--rule-dark);
  }

  .js .nav a {
    padding-block: 18px;
    font-family: var(--serif);
    font-size: clamp(2rem, 7vw, 3rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }

  .js.nav-open .nav a {
    opacity: 1;
    transform: none;
    transition-delay: calc(0.12s + var(--i, 0) * 0.06s);
  }

  .js .nav a::after {
    right: auto;
    width: 48px;
    bottom: 12px;
  }

  /* Without JavaScript the menu simply wraps under the logo. */
  html:not(.js) .site-header {
    position: static;
  }

  html:not(.js) .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding-block: 16px;
  }

  html:not(.js) .nav ul {
    flex-wrap: wrap;
    gap: 0 24px;
  }
}

/* Buttons and arrow links */

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
  padding: 18px 30px 18px calc(30px + var(--caps));
  border: 1px solid var(--edge, currentColor);
  background: var(--bg, transparent);
  color: var(--fg, var(--navy));
  text-decoration: none;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fill, var(--navy));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}

.button:hover {
  color: var(--fill-fg, var(--ivory));
  border-color: var(--fill, var(--navy));
}

.button:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.button svg,
.link-arrow svg {
  flex: none;
  width: 16px;
  height: 16px;
  transition: transform 0.5s var(--ease);
}

.button:hover svg,
.link-arrow:hover svg,
.note-card:hover .link-arrow svg {
  transform: translateX(5px);
}

/* On navy: bronze, fills ivory */
.button--bronze {
  --bg: var(--bronze);
  --fg: var(--navy);
  --edge: var(--bronze);
  --fill: var(--ivory);
  --fill-fg: var(--navy);
}

/* On navy: outlined, fills ivory */
.button--light {
  --fg: var(--ivory);
  --edge: rgba(246, 242, 234, 0.4);
  --fill: var(--ivory);
  --fill-fg: var(--navy);
}

/* On ivory: navy, fills bronze */
.button--navy {
  --bg: var(--navy);
  --fg: var(--ivory);
  --edge: var(--navy);
  --fill: var(--bronze);
  --fill-fg: var(--navy);
}

/* On ivory: outlined, fills navy */
.button--outline {
  --fg: var(--navy);
  --edge: var(--navy);
}

.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-block: 6px;
  color: var(--navy);
  text-decoration: none;
}

.link-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 28px;
  bottom: 0;
  height: 1px;
  background: var(--bronze-on-ivory);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.link-arrow:hover::after,
.note-card:hover .link-arrow::after {
  transform: scaleX(1);
}

.dark .link-arrow {
  color: var(--ivory);
}

.dark .link-arrow::after {
  background: var(--bronze);
}

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

/* Hero */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-top: var(--header);
  overflow: hidden;
  background: var(--navy);
}

.hero--page {
  min-height: 78svh;
}

.hero--article {
  min-height: 84svh;
}

.hero.hero--short {
  min-height: 48svh;
}

.hero--article h1 {
  max-width: 17em;
  font-size: clamp(2.25rem, 1.1rem + 4vw, 5rem);
  line-height: 1.04;
}

.hero .link-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  margin-bottom: 40px;
  padding-block: 6px;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.4s var(--ease);
}

.hero .link-back:hover {
  color: var(--ivory);
}

.link-back svg {
  width: 16px;
  height: 16px;
  transition: transform 0.5s var(--ease);
}

.link-back:hover svg {
  transform: translateX(-5px);
}

.hero-mark {
  position: absolute;
  top: 50%;
  right: -7vw;
  width: auto;
  height: min(92vh, 820px);
  color: var(--harbour);
  transform: translateY(calc(-50% + var(--parallax, 0px)));
  pointer-events: none;
}

/* Home hero: Geneva, the world's commodity trading hub and a partner's base, behind a flat navy tint. */
.hero-bg {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 55%;
  animation: hero-settle 2.4s var(--ease) both;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 22, 40, 0.74);
}

/* Home hero: a quiet panel of company facts beside the heading. */
.hero-facts {
  margin-top: 56px;
  max-width: 44rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 0;
  border-top: 1px solid var(--rule-dark);
}

.hero-facts div {
  padding: 18px 28px 0 0;
}

.hero-facts dt {
  color: var(--bronze);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: var(--caps);
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 6px 0 0;
  color: var(--ivory);
  font-size: 0.9375rem;
}

.hero .hero-facts {
  animation: fade-up 1.1s var(--ease) 0.85s both;
}

/* Insights hero: abstract market lines behind the heading. Decorative only: no data, no axes, no figures. */
.hero-chart {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70%;
  pointer-events: none;
  transform: translateY(var(--parallax, 0px));
  animation: chart-reveal 2.8s var(--ease) 0.3s both;
}

.hero-chart svg {
  width: 100%;
  height: 100%;
}

.hero-chart-grid line {
  stroke: var(--ivory);
  stroke-opacity: 0.06;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.hero-chart-line {
  fill: none;
  stroke-width: 1.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.hero-chart-line--bronze {
  stroke: var(--bronze);
  stroke-opacity: 0.6;
  stroke-width: 2;
}

.hero-chart-line--mist {
  stroke: var(--mist);
  stroke-opacity: 0.22;
}

.hero-chart-line--faint {
  stroke: var(--ivory);
  stroke-opacity: 0.1;
}

.hero-chart-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--bronze);
}

.hero-chart-dot::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--bronze);
  border-radius: 50%;
  animation: ping 2.4s var(--ease) 3s infinite;
}

.hero-inner {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding-block: 72px;
}

.hero h1 {
  max-width: 12em;
  margin-top: 28px;
  font-size: clamp(2.75rem, 1.1rem + 6.2vw, 7.25rem);
  line-height: 1;
  letter-spacing: -0.01em;
}

.hero--page h1 {
  font-size: clamp(3rem, 1.4rem + 6vw, 7.5rem);
}

/* Each heading line rises out of its own mask on load. */
.line {
  display: block;
  overflow: hidden;
  margin-bottom: -0.12em;
  padding-bottom: 0.12em;
}

.line > span {
  display: block;
  animation: rise 1.2s var(--ease) both;
  animation-delay: calc(0.15s + var(--i, 0) * 0.12s);
}

.hero-lede {
  max-width: 34em;
  margin-top: 32px;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
}

.hero .actions {
  margin-top: 44px;
}

.hero .link-back,
.hero .label,
.hero-lede,
.hero .actions {
  animation: fade-up 1.1s var(--ease) both;
}

.hero .label {
  animation-delay: 0.05s;
}

.hero-lede {
  animation-delay: 0.55s;
}

.hero .actions {
  animation-delay: 0.7s;
}

.hero-foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding-block: 22px 26px;
  border-top: 1px solid var(--rule-dark);
  animation: fade-up 1.1s var(--ease) 0.9s both;
}

.scroll-cue {
  display: inline-flex;
  margin-left: auto;
  align-items: center;
  gap: 14px;
  color: var(--mist);
  text-decoration: none;
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 44px;
  overflow: hidden;
  background: var(--rule-dark);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 50%;
  background: var(--bronze);
  animation: drip 2.4s var(--ease) infinite;
}

/* Places gallery: a sideways scrolling strip of photographs under the hero */

.places {
  --track-pad: max(var(--gutter), calc((100vw - var(--page)) / 2 + var(--gutter)));
  padding-block: clamp(80px, 9vw, 128px) clamp(48px, 5vw, 72px);
  background: var(--ink);
}

.places-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.places-head .display-2 {
  margin-top: 14px;
}

.places-controls {
  display: none;
  align-items: center;
  gap: 12px;
}

.js .places-controls {
  display: flex;
}

.places-count {
  margin-right: 12px;
  color: var(--mist);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  font-variant-numeric: lining-nums;
}

.places-count span {
  color: var(--bronze);
}

.places-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(246, 242, 234, 0.3);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), opacity 0.4s var(--ease);
}

.places-btn svg {
  width: 18px;
  height: 18px;
}

.places-btn:hover:not(:disabled) {
  border-color: var(--ivory);
  background: var(--ivory);
  color: var(--navy);
}

.places-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.places-track {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0 var(--track-pad) 28px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--track-pad);
  scrollbar-width: none;
  list-style: none;
}

.places-track::-webkit-scrollbar {
  display: none;
}

/* Our own progress line, aligned with the page content, instead of the browser scrollbar */
.places-progress {
  position: relative;
  height: 2px;
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--rule-dark);
}

.places-progress span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--bar-size, 20%);
  background: var(--bronze);
  transform: translateX(var(--bar-offset, 0%));
}

.places-track:focus-visible {
  outline-offset: -2px;
}

.place {
  flex: 0 0 clamp(280px, 40vw, 600px);
  scroll-snap-align: start;
}

.place-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--harbour);
}

.place-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.place:hover .place-photo img {
  transform: scale(1.05);
}

.place figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 20px;
}

.place-name {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2.125rem);
  font-weight: 600;
  line-height: 1.1;
}

.place-note {
  max-width: 32em;
  font-size: 0.9375rem;
}

.places-credits {
  margin-top: 4px;
  color: var(--mist);
  font-size: 0.75rem;
}

.places-credits summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: var(--caps);
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.places-credits summary::-webkit-details-marker {
  display: none;
}

.places-credits summary::after {
  content: "+";
  font-size: 0.875rem;
  letter-spacing: 0;
}

.places-credits[open] summary::after {
  content: "\2212";
}

.places-credits ul {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding: 0;
  list-style: none;
}

.dark .places-credits a {
  color: inherit;
  text-decoration-color: var(--rule-dark);
  text-underline-offset: 3px;
}

/* Marquee */

.marquee {
  overflow: hidden;
  padding-block: 28px;
  border-bottom: 1px solid var(--rule-fine);
  background: var(--ivory);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}

.marquee-item {
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.625rem, 1rem + 2.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.marquee svg {
  flex: none;
  width: 14px;
  height: 14px;
}

/* Chapters */

.chapter {
  padding-block: clamp(96px, 11vw, 168px);
}

.chapter--navy {
  background: var(--navy);
}

.chapter-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.chapter-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule-fine);
}

.dark .chapter-head::after {
  background: var(--rule-dark);
}

.chapter-num {
  color: var(--bronze-on-ivory);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: lining-nums;
}

.dark .chapter-num {
  color: var(--bronze);
}

.display-2 {
  font-size: clamp(2.5rem, 1.5rem + 3.6vw, 5rem);
  letter-spacing: -0.005em;
}

.row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(48px, 6vw, 88px);
}

.row-head p {
  max-width: 30em;
  text-wrap: balance;
}

.row-head-sub {
  margin-top: 20px;
}

/* The Firm */

.firm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 48px 72px;
}

.statement {
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1rem + 2.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.2;
}

.statement .word {
  transition: color 0.4s ease;
}

.js .statement .word {
  color: rgba(11, 22, 40, 0.16);
}

.js .statement .word.is-lit {
  color: var(--navy);
}

/* Registered company details under the Firm heading */
.firm-reg {
  max-width: 22rem;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--navy);
}

.firm-reg-name {
  margin-top: 8px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.firm-reg-name + p {
  margin-top: 6px;
  font-size: 0.9375rem;
}

.firm-sub {
  max-width: 36em;
  margin-top: 32px;
  font-size: 1.125rem;
}

.firm-grid .link-arrow {
  margin-top: 28px;
}

/* Company seal under the registered company panel */

.seal {
  width: 168px;
  height: 168px;
  margin-top: 40px;
  color: var(--navy);
}

.seal-rule {
  fill: none;
  stroke: var(--bronze-on-ivory);
  stroke-width: 1;
}

.seal text {
  fill: currentColor;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
}

.seal-ring {
  transform-origin: 100px 100px;
  animation: spin 60s linear infinite;
}

/* Standards: how we work, under the Firm statement */

.standards-head {
  margin-top: clamp(72px, 9vw, 128px);
  padding-top: 28px;
  border-top: 1px solid var(--navy);
}

.standards-head h3 {
  margin-top: 12px;
  font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem);
}

.standards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(32px, 4vw, 48px);
  padding: 0;
  list-style: none;
}

.standard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px 30px;
  border: 1px solid var(--rule-fine);
  transition: border-color 0.6s var(--ease), background-color 0.6s var(--ease);
}

.standard:hover {
  border-color: var(--bronze-on-ivory);
}

.standard-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: var(--bronze-on-ivory);
}

.standard h4 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.15;
}

.standard p {
  font-size: 0.9375rem;
}

.standards-note {
  max-width: 62ch;
  margin-top: 28px;
  padding-left: 16px;
  border-left: 1px solid var(--bronze-on-ivory);
  font-size: 0.875rem;
}

.contact-terms {
  max-width: 44ch;
  margin-top: 28px;
  font-size: 0.8125rem;
  opacity: 0.8;
}

/* Commodities: element tiles and the mining equipment mark from the brand kit icon set */

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  list-style: none;
}

.tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: clamp(220px, 20vw, 300px);
  padding: 28px 26px 26px;
  border: 1px solid rgba(246, 242, 234, 0.08);
  border-radius: 6px;
  background: var(--harbour);
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease);
}

.tile:hover {
  border-color: var(--bronze);
}

.js .tile.is-visible:hover {
  transform: translateY(-8px);
}

.tile-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.tile-index {
  color: var(--mist);
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  font-variant-numeric: lining-nums;
}

.tile-body {
  display: flex;
  flex-direction: column;
}

.tile-name::after {
  content: "";
  display: block;
  width: 32px;
  margin: 16px 0 14px;
  border-top: 1px solid var(--bronze);
  transition: width 0.6s var(--ease);
}

.tile:hover .tile-name::after {
  width: 64px;
}

.tile-use-label {
  color: var(--bronze);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: var(--caps);
  text-transform: uppercase;
}

.tile-use {
  margin-top: 6px;
  color: var(--mist);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.element {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1.5px solid var(--bronze);
  border-radius: 4px;
  color: var(--bronze);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}

.tile:hover .element {
  background: var(--bronze);
  color: var(--navy);
}

.element--icon svg {
  width: 36px;
  height: 36px;
}

.element-number {
  position: absolute;
  top: 6px;
  left: 8px;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1;
}

.element-symbol {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 2.125rem;
  font-weight: 500;
  line-height: 1;
}

.element--sm {
  width: 44px;
  height: 44px;
}

.element--sm .element-number {
  top: 4px;
  left: 5px;
  font-size: 0.5rem;
}

.element--sm .element-symbol {
  margin-top: 4px;
  font-size: 1.3125rem;
}

.tile-name {
  display: block;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.1rem + 0.9vw, 2rem);
  font-weight: 600;
  line-height: 1.1;
}

/* People */

/* A portrait shows the photo from images/ when it exists, otherwise the plain PORTRAIT box. */
.portrait {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--portrait-border);
  background: var(--portrait-fill);
}

.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-label {
  padding-left: var(--caps);
  font-size: 0.625rem;
}

.person-title {
  display: block;
  margin-top: 6px;
  font-size: 0.625rem;
}

/* Partners as business cards, on the home page and the People page */

.partner-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding: 0;
  list-style: none;
}

/* Kept deliberately small: the portrait sits inside the card beside the name, aligned to the top. */
.partner {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--rule-fine);
}

.partner-body {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.partner-name {
  font-size: clamp(1.375rem, 1.15rem + 0.5vw, 1.625rem);
  line-height: 1.15;
}

.partner .person-title {
  margin-top: 8px;
  font-size: 0.625rem;
}

.partner-bio {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.6;
}

.partner-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}

.partner-foot svg {
  flex: none;
  width: 18px;
  height: 18px;
}

/* Market insights */

.note-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  list-style: none;
}

.note-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 28px 28px;
  border: 1px solid rgba(246, 242, 234, 0.08);
  border-radius: 6px;
  background: var(--harbour);
  transition: border-color 0.6s var(--ease), transform 0.6s var(--ease);
}

.note-card:hover {
  border-color: var(--bronze);
}

.js .note-card.is-visible:hover {
  transform: translateY(-8px);
}

.note-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.note-card-top .label {
  margin-left: 6px;
}

.note-card h3 {
  font-size: clamp(1.5rem, 1.2rem + 0.7vw, 1.875rem);
  line-height: 1.15;
}

.note-card h3 a {
  text-decoration: none;
}

.note-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.note-card-meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--rule-dark);
  font-size: 0.8125rem;
}

/* Insights index: the same cards on ivory */
.note-cards--light .note-card {
  border-color: var(--rule-fine);
  background: transparent;
}

.note-cards--light .note-card:hover {
  border-color: var(--bronze-on-ivory);
}

.note-cards--light .element {
  border-color: var(--navy);
  color: var(--navy);
}

.note-cards--light .note-card:hover .element {
  background: var(--navy);
  color: var(--ivory);
}

.note-cards--light .note-card-meta {
  border-top-color: var(--rule-fine);
}

/* Placeholder card shown until the first market brief is published */
.note-card--empty {
  grid-column: 1 / -1;
  min-height: 0;
  border-style: solid;
}

.note-cards--light .note-card--empty:hover {
  border-color: var(--rule-fine);
}

.js .note-card--empty.is-visible:hover {
  transform: none;
}

.note-card--empty .note-card-top svg {
  width: 18px;
  height: 18px;
}

.note-card--empty h3 {
  max-width: 22em;
}

/* Region filter, built by site.js from the regions on the cards */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  padding: 10px 16px 10px calc(16px + var(--caps));
  border: 1px solid var(--rule-fine);
  background: transparent;
  color: var(--navy);
  font-size: 0.625rem;
  cursor: pointer;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.filter:hover {
  border-color: var(--navy);
}

.filter[aria-pressed="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--ivory);
}

/* Insight article pages: a side column of details beside the article body */

.note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 48px 72px;
  padding-block: clamp(80px, 9vw, 136px);
}

.note-aside-inner {
  position: sticky;
  top: 108px;
}

.note-elements {
  display: flex;
  gap: 10px;
}

.note-elements .element {
  border-color: var(--navy);
  color: var(--navy);
}

.note-meta {
  margin-top: 28px;
}

.note-meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
  border-top: 1px solid var(--rule-fine);
}

.note-meta dd {
  color: var(--navy);
  font-size: 0.875rem;
  text-align: right;
}

.note-body {
  max-width: 44rem;
}

.note-body > p {
  margin-top: 22px;
  font-size: 1.0625rem;
}

.note-body > :first-child {
  margin-top: 0;
}

.note-body h2 {
  margin-top: 52px;
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem);
}

.note-body h3 {
  margin-top: 32px;
  font-size: 1.375rem;
}

.note-body a {
  text-decoration-color: var(--bronze-on-ivory);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.checklist {
  margin-top: 18px;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.checklist li {
  position: relative;
  padding-block: 14px;
  padding-left: 40px;
  border-top: 1px solid var(--rule-fine);
  counter-increment: item;
}

.checklist li:last-child {
  border-bottom: 1px solid var(--rule-fine);
}

.checklist li::before {
  position: absolute;
  left: 0;
  content: counter(item, decimal-leading-zero);
  color: var(--bronze-on-ivory);
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  font-variant-numeric: lining-nums;
}

.sources {
  margin-top: 18px;
  padding-left: 1.4em;
  font-size: 0.875rem;
}

.sources li + li {
  margin-top: 10px;
}

.sources li::marker {
  color: var(--bronze-on-ivory);
}

.note-cards + .disclaimer {
  margin-top: clamp(56px, 7vw, 96px);
}

.disclaimer {
  max-width: 52rem;
  margin-bottom: clamp(24px, 4vw, 48px);
  padding-block: 28px;
  border-top: 4px double var(--navy);
  border-bottom: 4px double var(--navy);
  font-size: 0.875rem;
}

/* Enquiries */

.enquiries {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 56px 72px;
}

.enquiries .lede {
  max-width: 24em;
  margin-top: 24px;
  font-size: 1.125rem;
}

.contact {
  font-style: normal;
}

.contact--plain {
  margin-top: 40px;
}

.contact dl div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--rule-fine);
}

.contact dl div:first-child {
  padding-top: 0;
  border-top: 0;
}

.contact dl div:last-child {
  padding-bottom: 0;
}

.contact dd {
  color: var(--navy);
  font-size: 1.125rem;
  overflow-wrap: anywhere;
}

.contact a {
  text-decoration-color: var(--bronze-on-ivory);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contact a:hover {
  text-decoration-color: var(--navy);
}

/* Enquiry form */

.enquiry-form {
  padding: clamp(24px, 3.5vw, 44px);
  border: 4px double var(--navy);
}

.enquiry-form > .label {
  margin-bottom: 22px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--wide {
  grid-column: 1 / -1;
}

.field > span {
  color: var(--label);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: var(--caps);
  line-height: 1.4;
  text-transform: uppercase;
}

.field em {
  color: var(--text);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(11, 22, 40, 0.5);
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.3s var(--ease);
}

.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23A87A45' stroke-width='1.3'%3E%3Cpath d='M3.5 6 8 10.5 12.5 6'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 14px;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--navy);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--navy);
  outline: 2px solid var(--bronze-on-ivory);
  outline-offset: 1px;
}

.field input::placeholder {
  color: var(--text);
  opacity: 0.55;
}

.field > label {
  color: var(--label);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: var(--caps);
  line-height: 1.4;
  text-transform: uppercase;
}

/* Enquiry form menus, styled to match the country picker */
.pick {
  position: relative;
}

.pick-native {
  position: absolute;
  bottom: 0;
  left: 16px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.pick-trigger {
  width: 100%;
  padding: 12px 40px 12px 14px;
  border: 1px solid rgba(11, 22, 40, 0.5);
  border-radius: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23A87A45' stroke-width='1.3'%3E%3Cpath d='M3.5 6 8 10.5 12.5 6'/%3E%3C/svg%3E") right 14px center / 14px no-repeat;
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s var(--ease);
}

.pick-trigger:hover,
.pick-trigger[aria-expanded="true"] {
  border-color: var(--navy);
}

.pick-trigger:focus-visible {
  border-color: var(--navy);
  outline: 2px solid var(--bronze-on-ivory);
  outline-offset: 1px;
}

.pick-trigger.is-invalid {
  border-color: var(--label);
}

/* Country picker */
.country-select {
  position: relative;
}

.country-flag {
  position: absolute;
  top: 50%;
  left: 14px;
  font-size: 1.125rem;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.country-select.has-flag input {
  padding-left: 44px;
}

.phone-field {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 8px;
}

.dial-select {
  position: relative;
}

.dial-plus {
  position: absolute;
  top: 50%;
  left: 14px;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.dial-select input {
  padding-left: 25px;
}

.dial-select.has-flag .dial-plus {
  left: 42px;
}

.dial-select.has-flag input {
  padding-left: 53px;
}

.dial-list {
  right: auto;
  width: min(320px, calc(100vw - 32px));
}

.dial-list li b {
  margin-left: auto;
  color: var(--text);
  font-weight: 400;
}

.country-list {
  position: absolute;
  z-index: 5;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 264px;
  margin: 0;
  padding: 6px 0;
  overflow-y: auto;
  border: 1px solid var(--navy);
  background: var(--ivory);
  list-style: none;
}

.country-list li {
  border-left: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  color: var(--navy);
  font-size: 0.9375rem;
  cursor: pointer;
}

.country-list li span {
  font-size: 1.125rem;
  line-height: 1;
}

.country-list li:hover,
.country-list li[aria-selected="true"] {
  background: var(--portrait-fill);
}

.country-list li[aria-selected="true"] {
  border-left-color: var(--bronze-on-ivory);
}

.field-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}

.form-note {
  max-width: 24em;
  font-size: 0.8125rem;
}

.form-note a {
  text-decoration-color: var(--bronze-on-ivory);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.req {
  color: var(--bronze-on-ivory);
  font-weight: 600;
}

.form-required {
  margin-left: auto;
  font-size: 0.8125rem;
}

.form-status {
  color: var(--navy);
}

.form-status:not(:empty) {
  margin-top: 18px;
}

.enquiry-form.is-sent .field-grid,
.enquiry-form.is-sent .form-foot {
  display: none;
}

.enquiry-form.is-sent .form-status {
  margin-top: 0;
  font-family: var(--serif);
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.25;
}

/* Privacy notice */

.privacy {
  padding-block: clamp(56px, 7vw, 96px) clamp(80px, 9vw, 128px);
}

/* Footer */

.footer {
  overflow: hidden;
  background: var(--ink);
  color: var(--mist);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
  padding-block: 64px 40px;
}

.footer .lockup-mark {
  width: 46px;
  height: 44px;
}

.footer .lockup-rule {
  height: 48px;
}

.footer .lockup-name {
  font-size: 1.625rem;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 36px;
  padding: 0;
  list-style: none;
}

.footer-nav a,
.footer-top-link {
  display: block;
  padding-block: 8px;
  color: var(--ivory);
  text-decoration: none;
  transition: color 0.4s var(--ease);
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"],
.footer-top-link:hover {
  color: var(--bronze);
}

.footer-word {
  padding-left: 0.2em;
  color: var(--harbour);
  font-family: var(--serif);
  font-size: clamp(4rem, 17.5vw, 238px);
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 0.8;
  text-align: center;
  text-transform: uppercase;
  user-select: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 36px;
  padding-block: 28px 36px;
  border-top: 1px solid var(--rule-dark);
}

.footer-copy {
  color: var(--ivory);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-reg {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-reg a {
  color: var(--mist);
  text-decoration: none;
  transition: color 0.4s var(--ease);
}

.footer-reg a:hover {
  color: var(--bronze);
}

.footer-reg {
  color: var(--mist);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--caps);
  text-transform: uppercase;
}

/* Scroll reveal: only when JavaScript is running, so the page never hides content without it.
   It is an animation (not a transition) so it never fights the hover transitions on cards. */

.js [data-reveal] {
  opacity: 0;
}

.js [data-reveal].is-visible {
  opacity: 1;
  animation: reveal 1.1s var(--ease) var(--d, 0s) backwards;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
}

@keyframes rise {
  from {
    transform: translateY(110%);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@keyframes drip {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(200%);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes hero-settle {
  from {
    opacity: 0;
    scale: 1.04;
  }
}

@keyframes chart-reveal {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes ping {
  from {
    opacity: 0.9;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(4);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Tablets */

@media (max-width: 1023px) {
  :root {
    --header: 72px;
  }


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

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

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

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

  .note-aside-inner {
    position: static;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    gap: 24px;
  }

  .note-elements,
  .note-meta {
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .firm-grid {
    grid-template-columns: minmax(0, 1fr);
  }

}

/* Phones */

@media (max-width: 640px) {
  .lockup {
    gap: 12px;
  }

  .lockup-mark {
    width: 30px;
    height: 29px;
  }

  .lockup-rule {
    height: 32px;
  }

  .lockup-name {
    font-size: 1.0625rem;
    letter-spacing: 0.16em;
  }

  .footer .lockup-name {
    font-size: 1.25rem;
  }

  .hero-mark {
    right: -38vw;
    height: 92vh;
  }

  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }

  .hero .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-foot .label {
    display: none;
  }

  .place {
    flex-basis: 78vw;
  }

  .places-btn {
    width: 44px;
    height: 44px;
  }

  .tiles {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .tile {
    gap: 28px;
    min-height: 0;
    padding: 20px 16px;
  }

  .element {
    width: 58px;
    height: 58px;
  }

  .element-symbol {
    font-size: 1.75rem;
  }

  .tile-name {
    font-size: 1.25rem;
  }

  .partner-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .partner {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .partner-name {
    font-size: 1.25rem;
  }

  .partner .person-title {
    font-size: 0.5625rem;
  }

  .partner-foot {
    padding-top: 16px;
  }

  .partner-foot .link-arrow {
    font-size: 0.625rem;
    white-space: nowrap;
  }

  .partner-foot > svg {
    display: none;
  }

  .note-aside-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact dl div {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .seal {
    width: 140px;
    height: 140px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }
}

@media (max-width: 400px) {
  .site-header .lockup {
    gap: 10px;
  }

  .site-header .lockup-name {
    font-size: 0.9375rem;
    letter-spacing: 0.14em;
  }

  .partner-foot .link-arrow {
    white-space: normal;
  }

  .partner-foot .link-arrow svg {
    display: none;
  }
}

@media (max-width: 350px) {
  .site-header .lockup-mark {
    width: 26px;
    height: 25px;
  }

  .site-header .lockup-name {
    font-size: 0.8125rem;
    letter-spacing: 0.12em;
  }
}

/* Respect the visitor's reduced motion setting: everything appears at once, nothing moves. */

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .js .statement .word {
    color: var(--navy);
  }

  .marquee-track {
    flex-wrap: wrap;
  }

  .marquee-group[aria-hidden="true"] {
    display: none;
  }
}
