:root {
  --ink: #15171C;
  --paper: #F2F3F5;
  --grey: #5E6470;
  --rule: #D5D8DE;
  --rose: #C2416B;
  --rose-on-dark: #E8749A;
  --rose-tint: #F3CFDB;
  --slate: #AEB4C0;
  --serif: Fraunces, "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 3.5vw, 50px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
h1, h2, h3, h4, p { margin: 0; }
em { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.reveal.pre { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.pre.in-view { opacity: 1; transform: none; }

/* Announcement bar */
.bar {
  position: sticky; top: 0; z-index: 21;
  display: flex; align-items: center; justify-content: center; gap: 22px;
  height: 40px;
  padding: 0 var(--gutter);
  background: linear-gradient(90deg, #C3C8D2 0%, #E3DCE2 32%, var(--rose-tint) 55%, #EAAFC3 100%);
  border-bottom: 1px solid var(--ink);
}
.bar-items { display: grid; }
.bar-items p { grid-area: 1 / 1; font-size: 11.5px; text-align: center; white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity 0.4s; }
.bar-items p.on { opacity: 1; visibility: visible; }
.bar strong { text-transform: uppercase; font-weight: 700; margin-right: 8px; }
.bar a { margin-left: 8px; text-underline-offset: 4px; }
.bar-arrow { display: flex; padding: 8px; }

/* Nav */
.nav {
  position: sticky; top: 40px; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 72px;
  padding: 0 var(--gutter);
  background: var(--paper);
}
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav ul a { font-size: 15px; text-decoration: none; }
.nav ul a:hover, .nav ul a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.burger { justify-self: end; display: flex; padding: 10px 4px; }

/* Logo: the word, then the box with 45 in its top corner. The word folds away on scroll. */
.logo {
  display: inline-flex; align-items: center; justify-self: start;
  font-weight: 600; font-size: 21px; letter-spacing: 0.1em; line-height: 1;
  text-decoration: none;
}
.logo-word { display: inline-block; max-width: 7em; margin-right: 0.32em; overflow: hidden; white-space: nowrap; transition: max-width 0.45s ease, margin 0.45s ease, opacity 0.3s; }
.scrolled .nav .logo-word { max-width: 0; margin-right: 0; opacity: 0; }
.logo-box { display: block; flex: none; width: 1.6em; height: 1.6em; border-radius: 0.3em; background: var(--ink); letter-spacing: 0; }
.logo-box span { display: block; padding: 0.3em 0 0 0.34em; font-size: 0.48em; color: var(--rose-on-dark); }

/* Full-screen menu */
.overlay { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; justify-content: center; padding: var(--gutter); background: var(--ink); color: var(--paper); }
.overlay[hidden] { display: none; }
.overlay ul { list-style: none; margin: 0; padding: 0; }
.overlay ul a { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 7vw, 96px); line-height: 1.05; letter-spacing: -0.04em; text-decoration: none; }
.overlay ul a:hover { color: var(--rose-on-dark); }
.overlay-close { position: absolute; top: 60px; right: var(--gutter); font-size: 16px; text-decoration: underline; text-underline-offset: 5px; }

/* The 45 box mark, reused at several sizes */
.mark { display: block; background: var(--paper); }
.mark span { display: block; font-weight: 600; line-height: 1; color: var(--rose); }

/* 1. Hero */
.hero {
  position: relative;
  min-height: max(min(calc(100svh - 112px), 1100px), 55vw);
  display: flex; align-items: center; justify-content: center;
  padding: 0 var(--gutter);
  overflow: hidden;
}
h1 {
  position: relative; z-index: 2;
  font-family: var(--serif); font-weight: 300;
  font-size: 6.6vw; line-height: 0.96; letter-spacing: -0.045em;
  white-space: nowrap;
  transform: translateY(-3vw);
}
h1 span { display: block; }
h1 .l1 { margin-left: -6vw; }
h1 .l2 { margin-left: 2vw; }
h1 .l3 { margin-left: 15vw; }

.tile { position: absolute; z-index: 1; overflow: hidden; }
.t1 { left: 5.5vw; top: 0; width: 22vw; height: 12.7vw; }
.t2 { right: 2vw; top: 0; width: 22vw; height: 25.4vw; background: var(--rose-tint); }
.t3 { left: 12vw; bottom: 0; width: 22vw; height: 16vw; background: var(--ink); }
.t4 { right: 8vw; bottom: -2vw; width: 22vw; height: 15vw; background: url(everyman.jpg) 93.7% 31% / 300% auto no-repeat; }
.t3 .mark { position: absolute; left: 50%; top: 50%; width: 7.5vw; height: 7.5vw; transform: translate(-50%, -50%); border-radius: 1.2vw; }
.t3 .mark span { padding: 0.9vw 0 0 1.1vw; font-size: 1.7vw; }

.el { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 1.8vw 2vw; }
.el-num { font-size: 1.5vw; font-weight: 500; color: var(--rose); }
.el-sym { margin-top: auto; font-family: var(--serif); font-weight: 300; font-size: 11vw; line-height: 0.9; letter-spacing: -0.04em; }
.el-name { margin-top: 0.8vw; font-size: 1.15vw; }

.down { position: absolute; z-index: 3; left: 50%; bottom: 4vw; transform: translateX(-50%); line-height: 0; }
.down:hover, .down:focus-visible { color: var(--rose); }

/* 2. Statement inside the periodic table */
.intro { position: relative; padding: clamp(70px, 9vw, 130px) var(--gutter) clamp(90px, 11vw, 170px); display: flex; justify-content: center; }
.ptable { --cell: min(4.4vw, 62px); display: grid; grid-template-columns: repeat(18, var(--cell)); grid-auto-rows: var(--cell); }
.ptable i { margin: 0 -1.5px -1.5px 0; border: 1.5px solid var(--ink); border-radius: 3px; font-style: normal; }
.ptable i:nth-child(7n+3) { background: var(--rose-tint); }
.ptable i:nth-child(11n+5) { background: #DADDE3; }
.ptable .rh { background: var(--rose) !important; color: #fff; font-size: calc(var(--cell) * 0.3); font-weight: 600; padding: 10% 0 0 14%; }
.intro-text {
  position: absolute; left: 50%; top: clamp(70px, 9vw, 130px);
  width: calc(min(4.4vw, 62px) * 10); height: calc(min(4.4vw, 62px) * 3);
  transform: translateX(calc(-50% - min(4.4vw, 62px)));
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  font-family: var(--serif); font-weight: 300;
  font-size: min(2.7vw, 38px); line-height: 1; letter-spacing: -0.045em;
  white-space: nowrap;
}
.intro-text span { display: block; }
.intro-text span:nth-child(2) { margin-left: -0.5em; }
.intro-text span:nth-child(3) { margin-left: 0.3em; }
.intro-text span:nth-child(4) { margin-left: 0.9em; }

/* Section frame: dotted label, full-width rule, large staggered serif heading */
.block { padding: clamp(60px, 7vw, 100px) var(--gutter) clamp(70px, 9vw, 130px); }
.label { display: flex; align-items: center; gap: 8px; padding-bottom: 22px; border-bottom: 1px solid var(--ink); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.label::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
h2 {
  margin-top: 26px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 5.05vw, 80px); line-height: 0.88; letter-spacing: -0.05em;
}
h2 span { display: block; }
h2 .in { margin-left: 1.6em; }
h2 .in2 { margin-left: 2.9em; }
.headrow { display: flex; justify-content: space-between; align-items: flex-start; }

.doodle { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.star { width: 66px; margin-top: 70px; stroke: var(--rose-on-dark); stroke-width: 3; }
.scribble { position: relative; display: inline-block; }
.scribble svg { position: absolute; left: -4%; top: 88%; width: 108%; height: 0.95em; fill: none; stroke: var(--rose-on-dark); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.scribble svg path { vector-effect: non-scaling-stroke; }
.blob { position: relative; z-index: 0; display: inline-block; }
.blob::before { content: ""; position: absolute; z-index: -1; left: -6%; right: -6%; top: 46%; height: 46%; background: var(--rose-tint); border-radius: 48% 52% 44% 56% / 60% 48% 52% 40%; transform: rotate(-2deg); }

/* 3. What we do: copy on the left, four circles on the right */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; margin-top: clamp(80px, 11vw, 170px); padding: 0 8.5vw 0 7.8vw; align-items: start; }
.copy p { max-width: 25em; margin-bottom: 1.25em; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-width: 190px; height: 44px; padding: 0 44px; border: 1px solid var(--ink); border-radius: 22px; font-size: 17px; text-decoration: none; transition: background 0.2s, color 0.2s; }
.pill.solid { background: var(--ink); color: var(--paper); }
.pill.solid:hover, .pill.solid:focus-visible { background: var(--rose); border-color: var(--rose); }
.copy .pill { margin-top: 44px; }

.venn { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; justify-self: end; }
.venn .c { position: absolute; width: 57%; height: 57%; display: flex; align-items: center; justify-content: center; border: 3px solid var(--ink); border-radius: 50%; font-size: clamp(11px, 1.05vw, 15px); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.venn .c1 { left: 0; top: 0; border-radius: 51% 49% 50% 50% / 49% 51% 49% 51%; }
.venn .c2 { right: 0; top: 0; border-radius: 49% 51% 49% 51% / 51% 49% 51% 49%; }
.venn .c3 { left: 0; bottom: 0; border-radius: 50% 50% 51% 49% / 50% 50% 49% 51%; }
.venn .c4 { right: 0; bottom: 0; border-radius: 51% 49% 50% 50% / 50% 51% 49% 50%; }
.venn .core { position: absolute; left: 50%; top: 50%; width: 18%; height: 18%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--rose); color: #fff; font-weight: 600; font-size: clamp(14px, 1.5vw, 22px); }

/* 4. Ventures: one card in front, two fanned behind */
.deck { position: relative; width: 62vw; max-width: 1000px; margin: clamp(60px, 8vw, 120px) auto 0; aspect-ratio: 893 / 520; }
.fan { position: absolute; inset: 0; transform-origin: 62% 100%; }
.fan::after { content: ""; position: absolute; top: 4%; right: 4%; bottom: 4%; width: 12px; border: 1.5px solid var(--ink); border-left: 0; }
.f1 { background: var(--slate); transform: rotate(7deg) translate(4%, 3%); }
.f2 { background: var(--rose); transform: rotate(16deg) translate(8%, 5%); }
.card { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--paper); opacity: 0; visibility: hidden; transition: opacity 0.5s; }
.card.on { opacity: 1; visibility: visible; }
.card::before, .card::after { content: ""; position: absolute; z-index: 2; top: 4%; bottom: 4%; width: 14px; border: 1.5px solid; pointer-events: none; }
.card::before { left: 2.4%; border-right: 0; border-color: var(--paper); mix-blend-mode: difference; }
.card::after { right: 2.4%; border-left: 0; border-color: var(--paper); }
.card-img { position: relative; overflow: hidden; }
.card-img.photo { background: url(everyman.jpg) 100% 55% / 250% auto no-repeat; }
.card-brand { position: absolute; left: 14%; bottom: 8%; font-family: var(--serif); font-size: clamp(18px, 2.2vw, 34px); letter-spacing: -0.03em; color: #fff; }
.card-img.plain { background: var(--rose-tint); }
.card-img.plain .mark { position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 16%; background: var(--ink); }
.card-img.plain .mark span { padding: 12% 0 0 14%; font-size: clamp(16px, 2.4vw, 38px); color: var(--rose-on-dark); }
.card-body { padding: 7% 14% 6% 7%; overflow: hidden; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 8%; }
.card h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3.6vw, 58px); line-height: 0.9; letter-spacing: -0.045em; }
.chip { flex: none; display: inline-block; padding: 4px 11px; border: 1px solid currentColor; border-radius: 20px; font-size: clamp(10px, 1.1vw, 16px); white-space: nowrap; }
.card h4 { margin-bottom: 0.9em; font-size: clamp(9px, 0.78vw, 12px); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1; }
.card p { margin-bottom: 2.4em; font-size: clamp(10px, 0.8vw, 12.5px); line-height: 1.22; letter-spacing: 0; }

.pager { display: flex; gap: 14px; width: fit-content; margin: 30px auto 0; padding: 7px 14px; border: 1px solid var(--ink); border-radius: 20px; position: relative; z-index: 2; background: var(--paper); }
.pager button { width: 11px; height: 11px; border: 1px solid var(--ink); border-radius: 50%; }
.pager button.on { background: var(--ink); }
.actions { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 58px; }
.textlink { font-size: 17px; text-decoration: none; }
.textlink:hover, .textlink:focus-visible { text-decoration: underline; text-underline-offset: 5px; }

/* 5. People: left paragraph, right paragraph, large centred line */
.stagger { position: relative; padding: clamp(60px, 8vw, 120px) var(--gutter) clamp(70px, 9vw, 130px); }
.para { width: 35vw; max-width: 520px; }
.para h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.2vw, 50px); line-height: 1; letter-spacing: -0.04em; }
.para .role { margin: 14px 0 4px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.p-left { margin-left: 11.6vw; }
.p-right { margin: 60px 0 0 46.5vw; }
.curl { position: absolute; left: 18.5vw; top: clamp(200px, 20vw, 290px); width: 17vw; stroke: var(--rose-on-dark); stroke-width: 4; }
.bigline { max-width: 12.5em; margin: clamp(120px, 16vw, 230px) auto 0; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5.6vw, 88px); line-height: 0.93; letter-spacing: -0.05em; text-align: center; text-wrap: balance; }

/* 6. Centred illustration */
.plate { display: flex; justify-content: center; padding: clamp(40px, 5vw, 80px) var(--gutter) clamp(90px, 11vw, 170px); }
.plate-el { position: relative; display: flex; flex-direction: column; width: min(36vw, 440px); min-width: 240px; aspect-ratio: 5 / 6; padding: 6%; border: 3px solid var(--ink); border-radius: 12px; background: var(--rose-tint); box-shadow: 14px 14px 0 var(--ink); }
.plate-el .el-num { font-size: clamp(18px, 2.2vw, 34px); }
.plate-el .el-sym { font-size: clamp(110px, 17vw, 230px); }
.plate-el .el-name { margin-top: 12px; font-size: clamp(14px, 1.4vw, 20px); }
.plate-el .el-mass { position: absolute; top: 6%; right: 6%; font-size: clamp(13px, 1.2vw, 17px); }

/* 7. How we work: numbered and staggered */
.steps { list-style: none; margin: clamp(80px, 9vw, 140px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; row-gap: clamp(60px, 6vw, 90px); }
.steps li:nth-child(1) { grid-column: 4 / span 3; }
.steps li:nth-child(2) { grid-column: 7 / span 3; margin-left: 2vw; }
.steps li:nth-child(3) { grid-column: 6 / span 3; grid-row: 2; margin-left: 3vw; }
.steps li:nth-child(4) { grid-column: 9 / span 3; grid-row: 2; margin-left: 5vw; }
.steps .n { display: block; margin-bottom: 26px; font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 3.1vw, 48px); line-height: 1; letter-spacing: -0.06em; white-space: nowrap; }
.steps p { font-size: 16px; }
.steps strong { font-weight: 600; }

/* 8. News */
.news { margin: 0 var(--gutter); padding: clamp(50px, 6vw, 90px) 0 clamp(80px, 9vw, 130px); border-top: 1px solid var(--ink); }
.news h2 { margin-top: 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: clamp(60px, 8vw, 120px); }
.news-img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; color: #fff; }
.news-img .chip { position: absolute; left: 30px; top: 30px; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 10px; }
.news-img .go { position: absolute; right: 30px; top: 26px; font-size: 22px; letter-spacing: -0.06em; }
.news-img.photo { background: url(everyman.jpg) 93% 42% / auto 190% no-repeat; }
.ph-rose { background: var(--rose-tint); color: var(--ink); }
.ph-ink { background: var(--ink); }
.news article h3 { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--ink); font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.4vw, 36px); line-height: 0.98; letter-spacing: -0.05em; }
.news article p { margin-top: 16px; font-size: 11.5px; line-height: 1.15; letter-spacing: 0; }
.news article .by { font-size: 12px; text-transform: uppercase; }

/* Footer */
footer { padding: clamp(70px, 8.5vw, 124px) var(--gutter) 28px; background: var(--ink); color: var(--paper); }
footer .logo { font-size: clamp(24px, 2.3vw, 34px); }
footer .logo-box { background: var(--paper); }
footer .logo-box span { color: var(--rose); }
.foot-mid { display: flex; justify-content: space-between; align-items: flex-end; margin-top: clamp(70px, 9vw, 130px); }
.foot-mid ul { list-style: none; margin: 0; padding: 0; }
.foot-mid ul a { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 3.3vw, 50px); line-height: 0.97; letter-spacing: -0.05em; text-decoration: none; }
.foot-mid ul a:hover, .foot-mid ul a:focus-visible { color: var(--rose-on-dark); }
.foot-art { margin-right: 3vw; }
.foot-art .mark { width: clamp(150px, 20vw, 290px); aspect-ratio: 1; border-radius: 16%; transform: rotate(-8deg); }
.foot-art .mark span { padding: 13% 0 0 15%; font-size: clamp(34px, 4.6vw, 66px); }
.foot-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: clamp(50px, 5.5vw, 80px); font-size: 16px; }
.foot-row p:last-child { justify-self: end; }
.foot-row a { text-decoration: none; }
.foot-row a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Phones and small tablets */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .bar { gap: 6px; }
  .bar-items p { white-space: normal; font-size: 11px; line-height: 1.2; }
  .nav { grid-template-columns: 1fr auto; height: 62px; }
  .nav nav { display: none; }
  html { scroll-padding-top: 110px; }

  .hero { min-height: 150vw; }
  h1 { font-size: 10.4vw; white-space: normal; transform: none; line-height: 1; }
  h1 .l1 { margin-left: 0; }
  h1 .l2 { margin-left: 5vw; }
  h1 .l3 { margin-left: 10vw; }
  .t1 { left: 5vw; width: 42vw; height: 24vw; }
  .t2 { right: 5vw; width: 34vw; height: 40vw; }
  .t3 { left: 5vw; width: 36vw; height: 28vw; }
  .t4 { right: 5vw; bottom: 0; width: 36vw; height: 22vw; }
  .t3 .mark { width: 13vw; height: 13vw; border-radius: 2.2vw; }
  .t3 .mark span { font-size: 3vw; padding: 1.6vw 0 0 1.9vw; }
  .el { padding: 3vw; }
  .el-num { font-size: 3.2vw; }
  .el-sym { font-size: 17vw; }
  .el-name { font-size: 2.8vw; }
  .down { display: none; }

  .intro { flex-direction: column-reverse; align-items: center; gap: 40px; }
  .ptable { --cell: 4.7vw; }
  .intro-text { position: static; width: auto; height: auto; transform: none; font-size: 7.6vw; }

  h2 .in, h2 .in2 { margin-left: 0.8em; }
  .star { display: none; }
  .two { grid-template-columns: 1fr; gap: 60px; padding: 0; }
  .venn { justify-self: center; max-width: 360px; }
  .venn .c { font-size: 11px; }

  .deck { width: 100%; aspect-ratio: auto; }
  .fan { display: none; }
  .card { position: relative; grid-template-columns: 1fr; display: none; }
  .card.on { display: grid; }
  .card::before, .card::after { display: none; }
  .card-img { aspect-ratio: 16 / 10; }
  .card-body { padding: 26px 22px 6px; }
  .card h3 { font-size: 36px; }
  .card h4 { font-size: 11px; }
  .card p { font-size: 15px; }
  .chip { font-size: 12px; }
  .actions { flex-direction: column; }

  .para { width: auto; max-width: none; }
  .p-left, .p-right { margin-left: 0; }
  .p-right { margin-top: 44px; }
  .curl { display: none; }

  .steps { grid-template-columns: 1fr; }
  .steps li:nth-child(n) { grid-column: 1; grid-row: auto; margin-left: 0; }
  .steps li:nth-child(even) { margin-left: 14vw; }

  .news-grid { grid-template-columns: 1fr; gap: 50px; }
  .news article p { font-size: 14px; }

  .foot-mid { flex-direction: column; align-items: flex-start; gap: 50px; }
  .foot-row { grid-template-columns: 1fr; gap: 8px; font-size: 14px; }
  .foot-row p:last-child { justify-self: start; }
}

/* Director cards: the 45 mark with each director's half of Rh, the other letter left faint */
.card-img.person { background: var(--rose-tint); container-type: inline-size; }
.card-img.person .mark { position: absolute; left: 50%; top: 50%; width: 46cqw; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 16%; background: var(--ink); }
.card-img.person .mark span { padding: 12% 0 0 14%; font-size: 7.5cqw; color: var(--rose-on-dark); }
.sym { position: absolute; left: 13%; bottom: 9%; font-size: 23cqw; font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--paper); }
.sym i { font-style: normal; }
.sym .ghost { opacity: 0.1; }
.stagger .bigline:first-child { margin-top: 0; }

/* Director cards: two real cards. The one not showing sits behind at an angle as a plain rose card;
   switching lifts it up and over to the front while the front card drops back to the angle. */
.deck .card { opacity: 1; visibility: visible; z-index: 1; transform-origin: 62% 100%; transform: rotate(7deg) translate(4%, 3%); background: var(--rose); cursor: pointer; transition: background 0.4s 0.5s; }
.deck .card > * { opacity: 0; transition: opacity 0.3s 0.5s; }
.deck .card.on { z-index: 2; transform: none; background: var(--ink); cursor: auto; transition-delay: 0s; }
.deck .card.on > * { opacity: 1; transition-delay: 0s; }
.deck .card.rise { animation: card-rise 0.9s cubic-bezier(0.6, 0, 0.3, 1); }
.deck .card.sink { animation: card-sink 0.9s cubic-bezier(0.6, 0, 0.3, 1); }
@keyframes card-rise {
  0% { transform: rotate(7deg) translate(4%, 3%); z-index: 1; }
  50% { transform: rotate(4deg) translate(3%, -106%); z-index: 1; }
  51% { transform: rotate(4deg) translate(3%, -106%); z-index: 3; }
  100% { transform: none; z-index: 3; }
}
@keyframes card-sink {
  0%, 45% { transform: none; z-index: 2; }
  100% { transform: rotate(7deg) translate(4%, 3%); z-index: 2; }
}
@media (max-width: 760px) {
  .deck .card, .deck .card.on { transform: none; animation: none; background: var(--ink); cursor: auto; }
  .deck .card > * { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .deck .card.rise, .deck .card.sink { animation: none; }
}

/* The name block under the rhodium tile: large catalyst line, supporting copy beneath */
.plate { padding-bottom: clamp(50px, 6vw, 90px); }
.stagger.name { padding-top: 0; }
.bigline-sub { max-width: 30em; margin: clamp(28px, 3.4vw, 52px) auto 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.35; letter-spacing: -0.01em; text-align: center; text-wrap: pretty; }

/* Each director's card has its own pink: Tyson light, Julian dark. A card shows its own pink
   both in its picture panel when in front and as its plain face when it sits behind. */
.deck .card:nth-of-type(1):not(.on) { background: var(--rose-tint); }
.deck .card:nth-of-type(2) .card-img.person { background: var(--rose); }

/* Element box carrying the statement in place of the Rh symbol */
.plate-copy { margin-top: auto; font-size: clamp(15px, 1.75vw, 24px); line-height: 1.22; letter-spacing: -0.01em; text-wrap: pretty; }

/* Focus areas: rhodium atom with labels on leader lines. Label positions are in the SVG's
   1600 x 980 coordinates (--x, --y) so they line up with the leader lines drawn in it. */
.atom-fig { position: relative; margin-top: clamp(50px, 6vw, 100px); container-type: inline-size; }
.atom-art { aspect-ratio: 1600 / 980; }
.atom { display: block; width: 100%; height: 100%; overflow: visible; }
.atom .ring { fill: none; stroke: var(--ink); stroke-width: 1.2; opacity: 0.5; }
.atom .e { fill: var(--rose); }
.atom .lead { stroke: var(--ink); stroke-width: 1.3; }
.atom .nuc { fill: var(--ink); }
.atom .nuc-t { fill: var(--paper); font-family: var(--serif); font-weight: 300; font-size: 58px; letter-spacing: -0.04em; text-anchor: middle; }
.atom .shell { transform-origin: 800px 490px; animation: atom-spin 60s linear infinite; }
@keyframes atom-spin { to { transform: rotate(360deg); } }
.atom-labels { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.atom-labels li { position: absolute; left: calc(var(--x) / 1600 * 100%); top: calc(var(--y) / 980 * 100%); width: 20cqw; transform: translate(-50%, 0); text-align: center; font-size: clamp(11px, 1.3cqw, 19px); line-height: 1.25; }
.atom-labels li.up { transform: translate(-50%, -100%); }
.atom-labels strong { display: block; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.atom-labels span { display: block; opacity: 0.7; }
@media (max-width: 760px) {
  .atom-art { aspect-ratio: 1 / 1; overflow: hidden; }
  .mol { width: 228.57%; height: auto; margin: -20% 0 0 -64.29%; }
  .atom { display: none; }
  .atom-labels { position: static; margin-top: 28px; }
  .atom-labels li, .atom-labels li.up { position: static; width: auto; transform: none; padding: 14px 0; border-top: 1px solid var(--ink); text-align: left; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .atom .shell { animation: none; }
}

/* 3D molecule version of the focus figure: canvas model underneath, leader lines in the SVG on top */
.atom-art { position: relative; }
.mol { display: block; width: 100%; height: 100%; }
.atom-art .atom { position: absolute; inset: 0; }
.atom-labels li.right { transform: translate(0, -50%); text-align: left; }
.atom-labels li.left { transform: translate(-100%, -50%); text-align: right; }
@media (max-width: 760px) {
  .atom-labels li.right, .atom-labels li.left { transform: none; text-align: left; }
}

/* Focus section: less space under the figure */
#focus { padding-bottom: clamp(10px, 2vw, 30px); }

/* Hero: full-bleed colour field with the headline top left and a slow marquee along the bottom */
.hero2 { position: relative; display: flex; flex-direction: column; min-height: calc(100svh - 112px); padding: clamp(56px, 7.5vw, 120px) var(--gutter) clamp(64px, 7vw, 110px); overflow: hidden; color: #fff;
  background:
    radial-gradient(55% 75% at 82% 72%, rgba(240, 110, 120, 0.9) 0%, rgba(240, 110, 120, 0) 62%),
    radial-gradient(45% 60% at 58% 22%, rgba(232, 116, 154, 0.85) 0%, rgba(232, 116, 154, 0) 66%),
    radial-gradient(60% 80% at 8% 88%, rgba(194, 65, 107, 0.9) 0%, rgba(194, 65, 107, 0) 62%),
    linear-gradient(125deg, #2B1733 0%, #5A2250 38%, #A8386A 72%, #E8749A 100%); }
.hero2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12%; background: linear-gradient(rgba(242, 243, 245, 0), var(--paper)); pointer-events: none; }
.hero2-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 1; opacity: 0.28; }
.hero2-info { position: relative; z-index: 2; max-width: min(50rem, 100%); }
.hero2 h1 { z-index: auto; font-size: clamp(42px, 6.2vw, 100px); line-height: 0.98; white-space: normal; transform: none; text-wrap: balance; }
.hero2-sub { margin-top: 1.56rem; font-size: clamp(18px, 1.7vw, 26px); line-height: 1.1; letter-spacing: -0.03em; }
.hero2-marquee { position: relative; z-index: 2; margin-top: auto; padding-top: 48px; overflow: hidden; -webkit-mask-image: linear-gradient(to right, #0000, #000 10% 90%, #0000); mask-image: linear-gradient(to right, #0000, #000 10% 90%, #0000); }
.hero2-track { display: flex; gap: 4rem; width: max-content; padding-right: 4rem; animation: hero2-marquee 45s linear infinite; }
.hero2-track span { flex: none; font-size: clamp(15px, 1.4vw, 21px); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
@keyframes hero2-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .hero2-track { animation: none; }
}

/* Hero runs up behind the announcement bar and nav (112px together). Over the hero they have no
   background and white text; past it (.past-hero, set on scroll) their backgrounds fade in. */
.hero-dark .hero2 { margin-top: -112px; min-height: 100svh; padding-top: calc(112px + clamp(40px, 6vw, 96px)); }
.hero-dark .bar { background: none; transition: color 0.4s, border-color 0.4s; }
.hero-dark .bar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #C3C8D2 0%, #E3DCE2 32%, var(--rose-tint) 55%, #EAAFC3 100%); opacity: 0; transition: opacity 0.4s; }
.hero-dark .nav { transition: background-color 0.4s, color 0.4s; }
.hero-dark .nav .logo-box, .hero-dark .nav .logo-box span { transition: background-color 0.4s, color 0.4s; }
.hero-dark.past-hero .bar::before { opacity: 1; }
.hero-dark:not(.past-hero) .bar { color: #fff; border-bottom-color: transparent; }
.hero-dark:not(.past-hero) .nav { background-color: transparent; color: #fff; }
.hero-dark:not(.past-hero) .nav .logo-box { background-color: var(--paper); }
.hero-dark:not(.past-hero) .nav .logo-box span { color: var(--rose); }

/* Hero tiles, second set: all drawn in code. t1 colour field with fine lines, t2 rhodium acetate
   model, t3 rhodium atom, t4 fine lines on a pale field. */
.t1 { background:
    radial-gradient(55% 75% at 82% 72%, rgba(240, 110, 120, 0.9) 0%, rgba(240, 110, 120, 0) 62%),
    radial-gradient(60% 80% at 8% 88%, rgba(194, 65, 107, 0.9) 0%, rgba(194, 65, 107, 0) 62%),
    linear-gradient(125deg, #2B1733 0%, #5A2250 38%, #A8386A 72%, #E8749A 100%); }
.t4 { background: linear-gradient(120deg, #C3C8D2 0%, #E3DCE2 55%, var(--rose-tint) 100%); }
.t4 .hero2-lines { stroke: var(--ink); opacity: 0.4; }
.tile-mol, .bohr { display: block; width: 100%; height: 100%; }
.bohr .ring { fill: none; stroke: var(--paper); stroke-width: 1.5; opacity: 0.45; }
.bohr .e { fill: var(--rose-on-dark); }
.bohr .nuc { fill: var(--rose); }
.bohr .shell { transform-origin: 440px 320px; animation: atom-spin 60s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .bohr .shell { animation: none; }
}

/* Name block now sits after How we work: catalyst line first, element box under it */
.stagger.name { padding-top: clamp(40px, 5vw, 80px); padding-bottom: 0; }
.stagger.name + .plate { padding-top: clamp(36px, 4.5vw, 70px); }

/* Hero tiles, photo set: every tile takes the wide 1440:620 shape of the first photo */
.t1, .t2, .t3, .t4 { width: 26vw; height: auto; aspect-ratio: 1440 / 620; background: none; }
.tile img.lab { object-position: 45% 42%; }
.tile img.scan { object-position: 50% 38%; }
@media (max-width: 760px) {
  .t1, .t2, .t3, .t4 { width: 42vw; height: auto; }
}

.tile img.consult { object-position: 50% 72%; }

/* Hero tiles, shaped: each photo keeps its own proportions and is masked to a different shape */
.t1 { left: 4vw; top: 1vw; width: 27vw; aspect-ratio: 1440 / 620; border-radius: 999px; }              /* pill */
.t2 { right: 3vw; top: 0; width: 24vw; aspect-ratio: 3 / 2; border-radius: 50%; }                        /* oval */
.t3 { left: 10vw; bottom: 0; width: 23vw; aspect-ratio: 3 / 2; border-radius: 999px 999px 0 0; }         /* arch */
.t4 { right: 7vw; bottom: 0; width: 26vw; aspect-ratio: 16 / 9; border-radius: 0 7vw 0 7vw; }            /* leaf */
@media (max-width: 760px) {
  .t1 { left: 5vw; width: 44vw; }
  .t2 { right: 5vw; width: 38vw; }
  .t3 { left: 5vw; width: 40vw; }
  .t4 { right: 5vw; width: 42vw; border-radius: 0 11vw 0 11vw; }
}

/* Hero tiles: back to plain landscape rectangles in the original positions, each at its photo's
   own proportions so nothing is cropped */
.t1 { left: 5.5vw; top: 0; width: 22vw; aspect-ratio: 1440 / 620; border-radius: 0; }
.t2 { right: 2vw; top: 0; width: 22vw; aspect-ratio: 3 / 2; border-radius: 0; }
.t3 { left: 12vw; bottom: 0; width: 22vw; aspect-ratio: 3 / 2; border-radius: 0; }
.t4 { right: 8vw; bottom: -2vw; width: 22vw; aspect-ratio: 16 / 9; border-radius: 0; }
@media (max-width: 760px) {
  .t1 { left: 5vw; width: 42vw; }
  .t2 { right: 5vw; width: 34vw; }
  .t3 { left: 5vw; width: 36vw; }
  .t4 { right: 5vw; bottom: 0; width: 36vw; border-radius: 0; }
}

/* Hero tiles positioned from juxtapose.com's own stylesheet (its 1em = 1vw on desktop):
   top-left 22 wide at top 7.5 / left 5.5; top-right 22 wide at top 6 / right 2;
   bottom-left 22 wide at two-thirds down / left 12; bottom-right 22 wide at bottom 2 / right 8.
   Their offsets are measured from the top of the window; ours start under the 112px bar and nav. */
@media (min-width: 761px) {
  .t1 { top: max(0px, calc(7.5vw - 112px)); left: 5.5vw; width: 22vw; }
  .t2 { top: max(0px, calc(6vw - 112px)); right: 2vw; width: 22vw; }
  .t3 { top: 62%; bottom: auto; left: 12vw; width: 22vw; }
  .t4 { bottom: 2vw; right: 8vw; width: 22vw; }
}

/* Shorter hero: height tied to the window width so the tiles and headline sit closer together */
@media (min-width: 761px) {
  .hero { min-height: 44vw; }
  .down { bottom: 2.5vw; }
}

/* Top-right tile is a square photo: show it whole */
.t2 { aspect-ratio: 1 / 1; }

/* Catalyst line as a quotation */
.bigline.quote { font-style: italic; }

/* News: third card tone, linked titles */
.ph-slate { background: #9AA1AE; }
.news article h3 a { text-decoration: none; }
.news article h3 a:hover, .news article h3 a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }

/* Article pages (news/*.html) */
.article-page .nav { top: 0; }
.post-back { justify-self: end; font-size: 15px; text-underline-offset: 5px; }
.post { max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 90px) var(--gutter) clamp(70px, 9vw, 130px); }
.post h1 { margin-top: clamp(28px, 4vw, 56px); font-size: clamp(36px, 4.8vw, 72px); line-height: 1; white-space: normal; transform: none; text-wrap: balance; }
.post .by { margin-top: 22px; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.post-body { margin-top: clamp(30px, 4vw, 56px); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; }
.post-body p { margin-bottom: 1.1em; }
.post-lead { font-size: 1.25em; line-height: 1.3; }
.post-src { margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--ink); font-size: 0.8em; }

/* Name block gets the same label-and-rule header as the other sections */
.stagger.name { padding-top: clamp(60px, 7vw, 100px); }
.stagger.name .bigline { margin-top: clamp(50px, 6vw, 90px); }

/* Statement in the table gap: top of the text lines up with the top row of the table */
@media (min-width: 761px) {
  .intro-text { justify-content: flex-start; }
}

/* News cards with photos */
.news-img.pic { background-size: cover; background-position: center; }
.news-img.pic::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(21, 23, 28, 0.45), rgba(21, 23, 28, 0) 50%); }

/* Opinion pieces: hero picture, sub-headings, pull quote, inline figure */
.post-hero { margin: clamp(28px, 4vw, 56px) 0 0; aspect-ratio: 16 / 9; overflow: hidden; }
.post-body h2 { margin: 1.8em 0 0.6em; font-family: var(--serif); font-weight: 300; font-size: 1.7em; line-height: 1.05; letter-spacing: -0.03em; }
.post-pull { margin: 1.6em 0; padding: 0 0 0 1em; border-left: 3px solid var(--rose); font-family: var(--serif); font-weight: 300; font-style: italic; font-size: 1.55em; line-height: 1.15; letter-spacing: -0.02em; }
.post-fig { margin: 2em 0; }
.post-fig img { height: auto; aspect-ratio: 16 / 9; }
.post-fig figcaption { margin-top: 10px; font-size: 0.75em; opacity: 0.7; }

/* The 45 cell in flight between the periodic table and the element box */
.fly45 { position: fixed; z-index: 15; display: none; border: 1.5px solid var(--ink); pointer-events: none; }
.fly45 span { position: absolute; font-weight: 600; line-height: 1; }
.plate-el { transition: opacity 0.35s; }
.plate-el.waiting { opacity: 0; transition: none; }
@media (max-width: 760px) {
  .plate-el.waiting { opacity: 1; }
}

/* Element box copy in two paragraphs */
div.plate-copy p + p { margin-top: 0.7em; }

/* Director bios: larger text that fills the card */
@media (min-width: 761px) {
  .deck .card-body { padding-top: 6%; padding-bottom: 4%; }
  .deck .card-top { margin-bottom: 5%; }
  .deck .card p { font-size: clamp(12px, 1.02vw, 16.5px); line-height: 1.3; margin-bottom: 0.8em; }
}

/* Element box follows the periodic table directly, no label or rule between them */
.intro { padding-bottom: clamp(40px, 5vw, 80px); }
.intro + .plate { padding-top: 0; }

/* Element box: inset measured from the box itself so the 45 sits in its top-left corner
   (the old 6% was 6% of the whole section's width, which pushed it well into the box) */
.plate-el { padding: calc(min(36vw, 440px) * 0.07); }
@media (max-width: 760px) {
  .plate-el { padding: 18px; }
}

/* Element box: number pinned in the corner, copy centred in the box, first line set as a title */
.plate-el .el-num { position: absolute; top: calc(min(36vw, 440px) * 0.07); left: calc(min(36vw, 440px) * 0.07); }
div.plate-copy { margin-top: auto; margin-bottom: auto; }
div.plate-copy p:first-child { font-family: var(--serif); font-weight: 300; font-size: 2em; line-height: 1; letter-spacing: -0.04em; }
div.plate-copy p:first-child strong { font-weight: 600; }
div.plate-copy p + p { margin-top: 0.9em; }
@media (max-width: 760px) {
  .plate-el .el-num { top: 18px; left: 18px; }
}

/* Copy of the box contents inside the travelling square */
.fly45 { overflow: hidden; }
.fly-clone { position: absolute; min-width: 0; border-color: transparent; background: none; box-shadow: none; transform-origin: 0 0; transition: none; }

/* Director cards: previous / next arrows in place of the dots */
.deck-arrows { position: relative; z-index: 2; display: flex; justify-content: center; gap: 18px; margin-top: 34px; }
.deck-arrows button { line-height: 0; border-radius: 50%; transition: color 0.2s, background 0.2s; }
.deck-arrows button:hover, .deck-arrows button:focus-visible { color: var(--rose); }

/* Phone: molecule fills a square figure; the 45 flight runs on phones too */
@media (max-width: 760px) {
  .atom-art { aspect-ratio: 1 / 1; overflow: visible; }
  .mol { width: 100%; height: 100%; margin: 0; }
  .plate-el.waiting { opacity: 0; }
}

/* Phone hero: shorter, so the photos sit closer to the headline */
@media (max-width: 760px) {
  .hero { min-height: 112vw; }
}
