/* LMCM website styles. One stylesheet for every page. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-600-normal.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 {
  --ink: #26211d;
  --ink-deep: #1d1916;
  --ivory: #f7f4ef;
  --ivory-deep: #eee7dc;
  --paper: #fffdf9;
  --line: #d8cfc2;
  --muted: #5c544c;
  --on-dark: #f7f4ef;
  --on-dark-muted: #cbc2b5;
  --line-dark: #a39889;
  --gold: #b3892f;
  --gold-light: #d4b06a;
  --gold-rule: #a98029;
  --gold-text: #876822;
  --focus-dark: #e8c97a;
  --banner: #efe3c4;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 75rem;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --fade: 1.8s;
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--gold-text);
}

p {
  margin: 0 0 1.1em;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.1rem, 1.6rem + 1.8vw, 3rem);
}

h3 {
  font-size: 1.65rem;
  line-height: 1.15;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -10rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ivory);
  color: var(--ink);
  font-weight: 600;
  border-radius: 4px;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 0.9375rem/1.2 var(--sans);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn--light {
  background: var(--ivory);
  color: var(--ink);
}

.btn--light:hover {
  background: #ffffff;
  color: var(--ink);
}

.btn--ghost {
  border-color: var(--line-dark);
  color: var(--on-dark);
}

.btn--ghost:hover {
  border-color: var(--on-dark);
  background: rgba(247, 244, 239, 0.08);
  color: var(--on-dark);
}

.btn--dark {
  background: var(--ink);
  color: var(--on-dark);
}

.btn--dark:hover {
  background: #3a322c;
  color: var(--on-dark);
}

.link-more {
  font-weight: 600;
}

.link-more::after {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-left: 0.55em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  vertical-align: 0.1em;
}

/* Header */

.site-header {
  background: var(--ink);
  color: var(--on-dark);
}

.draft-banner {
  background: var(--banner);
  color: var(--ink);
  font-size: 0.875rem;
  line-height: 1.45;
}

.draft-banner p {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem var(--pad);
}

.site-header__bar {
  display: grid;
  grid-template-columns: auto;
  grid-template-areas:
    "mark"
    "nav";
  align-items: center;
  gap: 0.6rem 1rem;
  padding-block: 1rem 0.5rem;
}

.wordmark {
  grid-area: mark;
  justify-self: start;
  padding-block: 0.3rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: 0.14em;
  color: var(--on-dark);
  text-decoration: none;
}

.wordmark:hover {
  color: var(--on-dark);
}

.site-nav {
  grid-area: nav;
  border-top: 1px solid rgba(247, 244, 239, 0.16);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 0.6rem 0 0.45rem;
  border-bottom: 2px solid transparent;
  color: var(--on-dark);
  font-size: 1rem;
  text-decoration: none;
}

.site-nav a:hover {
  border-bottom-color: var(--gold-light);
  color: var(--on-dark);
}

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--gold-light);
}

@media (min-width: 760px) {
  .site-header__bar {
    grid-template-columns: auto 1fr;
    grid-template-areas: "mark nav";
    gap: 1rem 2rem;
    padding-block: 1.15rem;
  }

  .site-nav {
    justify-self: end;
    border-top: 0;
  }

  .site-nav ul {
    gap: 0 2rem;
  }
}

/* Homepage hero */

.hero {
  background: var(--ink);
  color: var(--on-dark);
}

.hero__text {
  padding: clamp(2.75rem, 8vw, 4.5rem) var(--pad) clamp(2.25rem, 6vw, 3rem);
}

.eyebrow {
  margin: 0 0 1.1rem;
  font: 600 0.8125rem/1.5 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero h1 {
  max-width: 13em;
  margin: 0 0 1.5rem;
  font-size: clamp(2.65rem, 1.7rem + 3.9vw, 4.6rem);
  line-height: 1.02;
}

.hero__lead {
  max-width: 36em;
  margin: 0 0 2rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  color: var(--on-dark-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.hero__figure {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--ink-deep);
}

.hero__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--ink-deep);
}

/* The day picture layer. */
.hero-layer {
  position: absolute;
  inset: 0;
  display: none;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0s linear var(--fade), visibility 0s linear var(--fade);
}

.hero-layer--day {
  display: block;
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transition: opacity var(--fade) ease-in-out, visibility 0s linear 0s;
}

html[data-hero-armed] .hero-layer {
  display: block;
}

.hero-layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 56%;
}

.hero__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 1rem var(--pad) 0;
}

.hero__caption {
  padding: 0.85rem var(--pad) 1.4rem;
}

.mode-switch {
  display: inline-flex;
  min-inline-size: 0;
  margin: 0;
  padding: 3px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
}

.mode-switch label {
  position: relative;
  display: block;
}

.mode-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.mode-switch span {
  display: block;
  min-width: 3.6rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.875rem;
  line-height: 1.4;
  text-align: center;
  color: var(--on-dark);
}

.mode-switch input:checked + span {
  background: var(--ivory);
  color: var(--ink);
  font-weight: 600;
}

.mode-switch input:focus-visible + span {
  outline: 3px solid var(--focus-dark);
  outline-offset: 2px;
}

.mode-hint {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--on-dark-muted);
}

.credit {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--on-dark-muted);
}

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

.credit a:hover {
  color: var(--gold-light);
}

@media (min-width: 600px) {
  .hero__media {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 960px) {
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(44vw, 760px);
    width: calc(100% - max(0px, (100% - var(--max)) / 2));
    min-height: clamp(36rem, 82vh, 52rem);
    margin-left: auto;
  }

  .hero__text {
    align-self: center;
    padding: 4rem clamp(2rem, 4vw, 4rem) 4rem var(--pad);
  }

  .hero__media {
    flex: 1 1 auto;
    min-height: 24rem;
    aspect-ratio: auto;
  }

  .hero__controls {
    padding: 1rem clamp(1.25rem, 2.5vw, 2rem) 0;
  }

  .hero__caption {
    padding: 0.85rem clamp(1.25rem, 2.5vw, 2rem) 1.25rem;
  }
}

/* Sections */

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section--deep {
  background: var(--ivory-deep);
}

.section__head {
  max-width: 46rem;
  margin-bottom: 2.25rem;
}

.section__lead {
  font-size: 1.1875rem;
  color: var(--muted);
  margin: 0;
}

.with-rule::before {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin-bottom: 1.1rem;
  background: var(--gold-rule);
}

.section--deep .with-rule::before {
  background: #9c7625;
}

.cards {
  display: grid;
  gap: 1.25rem;
  margin: 0 0 2.25rem;
  padding: 0;
  list-style: none;
}

.card {
  padding: 1.75rem 1.5rem 1.6rem;
  background: var(--paper);
  border: 1px solid #e3dbcf;
  border-top: 3px solid var(--gold-rule);
  border-radius: 6px;
}

.card h3 {
  margin-bottom: 0.6rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 760px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.split {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 4.5rem;
    align-items: start;
  }
}

.career {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.career li {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.career__org {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
}

.career__role {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
}

.career__now {
  display: block;
  margin-bottom: 0.3rem;
  font: 700 0.75rem/1.4 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.cta {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  background: var(--ink);
  color: var(--on-dark);
}

.cta p {
  max-width: 38rem;
  color: var(--on-dark-muted);
}

.cta .btn {
  margin-top: 0.5rem;
}

/* Inner page heading band */

.page-head {
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 6vw, 4rem);
  background: var(--ink);
  color: var(--on-dark);
}

.page-head h1 {
  max-width: 15em;
  margin-bottom: 0.75rem;
  font-size: clamp(2.65rem, 1.8rem + 3.2vw, 4.25rem);
  line-height: 1.04;
}

.page-head__lead {
  max-width: 40rem;
  margin: 0;
  font-size: 1.1875rem;
  color: var(--on-dark-muted);
}

/* Draft notes: every item still waiting for LMCM's confirmation */

.pending {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  align-items: baseline;
  max-width: 46rem;
  margin: 0 0 2.25rem;
  padding: 0.85rem 1rem;
  background: #fbf6ea;
  border: 1px dashed var(--gold-rule);
  border-radius: 6px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.pending__label {
  flex: none;
  font: 700 0.75rem/1.5 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
}

/* Leadership */

.profile {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .profile {
    grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
    gap: 4.5rem;
    align-items: start;
  }
}

.portrait-placeholder {
  max-width: 14rem;
  margin: 0;
}

@media (min-width: 900px) {
  .portrait-placeholder {
    max-width: 19rem;
  }
}

.portrait-placeholder__tile {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  background: var(--ivory-deep);
  border: 1px solid #ddd3c5;
  border-radius: 6px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 4.5rem;
  letter-spacing: 0.08em;
  color: #6f655b;
}

.portrait-placeholder p {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.profile__body {
  max-width: 44rem;
}

.profile__body h2 {
  font-size: 2rem;
  margin-top: 0.25rem;
}

.profile__body h2 + p {
  margin-top: 0;
}

/* Services */

.service {
  display: grid;
  gap: 0.5rem 2rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}

.service:last-of-type {
  border-bottom: 1px solid var(--line);
}

.service__num {
  font: 600 0.8125rem/1.6 var(--sans);
  letter-spacing: 0.14em;
  color: var(--gold-text);
}

.service h2 {
  font-size: clamp(1.85rem, 1.5rem + 1.2vw, 2.4rem);
  margin-bottom: 0.6rem;
}

.service p {
  max-width: 40rem;
}

.service__note {
  max-width: 40rem;
  margin: 0;
  padding-left: 1rem;
  border-left: 3px solid var(--gold-rule);
  color: var(--ink);
}

@media (min-width: 760px) {
  .service {
    grid-template-columns: 6rem minmax(0, 1fr);
  }

  .service__num {
    margin-top: 0.8rem;
  }
}

.after-list {
  margin-top: 2.5rem;
}

.spaced {
  margin-top: 3.5rem;
}

/* Contact */

.contact-list {
  max-width: 46rem;
  margin: 0 0 2rem;
  border-top: 1px solid var(--line);
}

.contact-list > div {
  display: grid;
  gap: 0.15rem 2rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  font: 700 0.8125rem/1.6 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.contact-list dd {
  margin: 0;
  font-size: 1.125rem;
}

.contact-pending {
  color: var(--muted);
  font-style: italic;
}

.contact-note {
  display: block;
  font-size: 0.9375rem;
  color: var(--muted);
}

@media (min-width: 600px) {
  .contact-list > div {
    grid-template-columns: 9rem minmax(0, 1fr);
  }
}

/* Long text */

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 2.25rem;
  font-size: 1.95rem;
}

.prose h2:first-of-type {
  margin-top: 0;
}

/* Footer */

.site-footer {
  padding-block: 3rem;
  background: var(--ink);
  border-top: 1px solid rgba(247, 244, 239, 0.14);
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
}

.site-footer__inner {
  display: grid;
  gap: 1.75rem;
}

.site-footer p {
  margin: 0;
}

.site-footer__name {
  margin-bottom: 0.35rem !important;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--on-dark);
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  display: inline-block;
  padding-block: 0.35rem;
  color: var(--on-dark);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--on-dark);
  text-decoration: underline;
}

@media (min-width: 760px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
}

/* Comfort and access */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  .mode-switch input:checked + span {
    outline: 2px solid CanvasText;
  }

  .pending,
  .card {
    border-color: CanvasText;
  }
}

@media print {
  .site-header .site-nav,
  .hero__controls,
  .skip-link {
    display: none !important;
  }

  .hero,
  .page-head,
  .cta,
  .site-footer {
    background: none;
    color: #000000;
  }
}

/* Full-width homepage picture (main page v2.2, 18 November 2026).
   The NASA photograph of Kingston fills the top of the page, as in the
   approved concept, with the day and night pictures and the Auto, Day and
   Night switch. The text sits on a darkened left side so it stays readable. */

html:not([data-hero="night"]) .hero-layer--day,
html[data-hero="night"] .hero-layer--night {
  display: block;
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transition: opacity var(--fade) ease-in-out, visibility 0s linear 0s;
}

html[data-hero="night"] .hero-layer--day {
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0s linear var(--fade), visibility 0s linear var(--fade);
}

html[data-hero-armed] .hero-layer {
  display: block;
}

.credit--night {
  display: none;
}

html[data-hero="night"] .credit--day {
  display: none;
}

html[data-hero="night"] .credit--night {
  display: block;
}

.hero--wide {
  background: var(--ink-deep);
}

.hero--wide .hero__stage {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 46rem;
  overflow: hidden;
}

.hero--wide .hero__content {
  position: relative;
  z-index: 3;
  flex: 1 0 auto;
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding-bottom: 10rem;
}

.hero--wide .hero__text {
  max-width: 40rem;
  padding: clamp(2.5rem, 8vw, 4rem) 0 2rem;
}

.hero--wide .hero__lead {
  color: #e2dbd0;
}

.hero--wide .hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 0;
  aspect-ratio: auto;
  background: var(--ink-deep);
}

.hero--wide .hero-layer img {
  object-position: 60% 50%;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(29, 25, 22, 0.6) 0, rgba(29, 25, 22, 0.1) 5rem, rgba(29, 25, 22, 0.1) 9rem, rgba(29, 25, 22, 0.84) 19rem, rgba(38, 33, 29, 0.92) 100%);
}

.hero--wide .hero__foot {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-bottom: 1.25rem;
}

.hero--wide .hero__controls {
  padding: 0;
}

.hero--wide .mode-switch {
  background: rgba(29, 25, 22, 0.62);
  border-color: rgba(247, 244, 239, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero--wide .mode-hint {
  color: #e2dbd0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.hero__credits {
  padding-block: 0.8rem 1.1rem;
}

@media (min-width: 960px) {
  .hero--wide .hero__stage {
    min-height: clamp(38rem, 86vh, 54rem);
  }

  .hero--wide .hero__content {
    align-items: center;
    padding-bottom: 0;
  }

  .hero--wide .hero__text {
    padding: 4rem 0 3rem;
  }

  .hero--wide .hero-layer img {
    object-position: 50% 50%;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, var(--ink) 0%, rgba(38, 33, 29, 0) 15%),
      linear-gradient(0deg, rgba(29, 25, 22, 0.7) 0%, rgba(29, 25, 22, 0) 20%),
      linear-gradient(90deg, rgba(29, 25, 22, 0.86) 0%, rgba(29, 25, 22, 0.7) 32%, rgba(29, 25, 22, 0.26) 60%, rgba(29, 25, 22, 0.1) 100%);
  }

  .hero--wide .hero__controls {
    justify-content: flex-end;
  }
}

/* The founder's photo beside her profile on the main page. */

.founder {
  display: grid;
  gap: 2.25rem;
}

.founder__photo {
  max-width: 16rem;
  margin: 0;
}

.founder__photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.founder__slot {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  padding: 1.5rem;
  background: var(--ivory);
  border: 1px dashed var(--gold-rule);
  border-radius: 6px;
  font-size: 0.9375rem;
  text-align: center;
  color: var(--muted);
}

.founder__body {
  max-width: 44rem;
}

@media (min-width: 900px) {
  .founder {
    grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
    gap: 4.5rem;
    align-items: start;
  }

  .founder__photo {
    max-width: none;
  }
}

/* At night the day picture is not fetched until the page has settled. */
html[data-hero="night"]:not([data-hero-armed]) .hero-layer--day {
  display: none;
}

/* Kirk, 18 November 2026: the day and night pictures change gradually for
   every visitor, including those whose devices ask for less motion. The
   change is a slow fade of brightness only: nothing moves on the screen
   (a change of opacity is not motion under WCAG 2.3.3). */
@media (prefers-reduced-motion: reduce) {
  .hero-layer,
  html[data-hero="night"] .hero-layer--day {
    transition-duration: 0s, 0s !important;
    transition-delay: var(--fade), var(--fade) !important;
  }

  html:not([data-hero="night"]) .hero-layer--day,
  html[data-hero="night"] .hero-layer--night {
    transition-duration: var(--fade), 0s !important;
    transition-delay: 0s, 0s !important;
  }
}

/* ==========================================================================
   World clocks in the header, and the gold rule under the wordmark
   (handoff v5, sections 3 and 5, 18 November 2026).
   A strip of small gold clocks, drawn by /assets/js/world-clocks.js. Each
   one lifts out as a raised ivory card on hover, tap or keyboard focus.
   Wide screens (1100px and up): in the bar, between the wordmark and the
   links. Narrower: its own slim row under the bar. Phones (760px and
   under): four clocks above three. The small clocks never show seconds.
   Everything for the clocks and the rule is in this block.
   ========================================================================== */

.site-header__bar {
  grid-template-areas:
    "mark"
    "nav"
    "clocks";
}

.world-clocks {
  grid-area: clocks;
  position: relative;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  margin: 0;
  padding: 0.6rem 0 0.35rem;
  border-top: 1px solid rgba(247, 244, 239, 0.16);
  list-style: none;
}

/* One clock: the dial with the place and the time beneath it. */
.wc {
  position: relative;
  flex: 0 0 25%;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.3rem 0.15rem 0.35rem;
  border-radius: 10px;
  text-align: center;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}

.wc.is-open {
  z-index: 2;
}

.wc-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.875rem; /* 14px: nothing in the strip is smaller */
  line-height: 1.3;
}

/* The dial: a round wrapper that carries the gold rim glow, with the SVG
   dial inside. Small dial 34px; card dial 81.6px (2.4 times). The shadow
   lists are the approved ones: a hard contact shadow, a soft drop shadow,
   a tight light-gold halo and a wider soft gold glow. */
.wc-dial {
  display: block;
  flex: none;
  border-radius: 50%;
}

.wc-dial svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wc-dial--small {
  width: 2.125rem;
  height: 2.125rem;
  margin-bottom: 0.55rem;
  box-shadow: 0 3px 2px #4a3410, 0 6px 10px #0007, 0 0 6px 1px rgb(243 205 110 / .75), 0 0 14px 3px rgb(224 178 70 / .4);
}

.wc-dial--card {
  width: 5.1rem;
  height: 5.1rem;
  margin: 0.7rem auto 0.75rem;
  box-shadow: 0 2px 1px #684c1a, 0 4px 8px #0004, 0 0 8px 2px rgb(243 205 110 / .7), 0 0 20px 5px rgb(224 178 70 / .38);
}

.wc-place {
  max-width: 100%;
  color: var(--on-dark);
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* The short zone name (EST, GMT, CET) shows on the small clocks only where
   there is room for it; it is always on the card. */
.wc-zone {
  display: none;
  color: var(--on-dark-muted);
  font-weight: 400;
}

/* The time on the small clocks: hours, minutes and am/pm, never seconds. */
.wc-time {
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* The small "Your time" tag on the visitor's own clock. Every clock keeps
   the same space above its dial, so the dials stay in one line. */
.wc-face {
  padding-top: 1.55rem;
}

.wc-tag {
  position: absolute;
  top: 0.2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 0.45rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-light);
  font: 600 0.875rem/1.35 var(--sans);
  white-space: nowrap;
}

/* The pop-out card. It lies over the page (nothing moves to make room) and
   the script keeps it inside the screen at the first and last clocks. */
.wc-card {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 11.25rem; /* 180px */
  padding: 0.9rem 0.75rem 0.85rem;
  border: 1px solid #d6b568;
  border-radius: 14px;
  background: linear-gradient(#fffdf8, #f7f4ef);
  color: var(--ink);
  text-align: center;
  /* A tight shadow and a long soft shadow. */
  box-shadow: 0 3px 6px #0003, 0 20px 35px #0005;
  transform-origin: 50% 2.5rem;
  animation: wc-lift 0.13s ease-out both;
}

@keyframes wc-lift {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.82);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.wc-card p {
  margin: 0;
}

.wc-card .wc-tag--card {
  position: static;
  display: inline-block;
  margin-bottom: 0.35rem;
  transform: none;
  border-color: var(--gold-rule);
  color: #6f551b;
}

.wc-card__place {
  font: 600 1.4rem/1.1 var(--serif);
  overflow-wrap: anywhere;
}

.wc-card__zone {
  min-height: 1.3em;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.3;
}

.wc-card__time {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.wc-card__date {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

/* "Not here?" on the visitor's card: switches the caption to "Your time". */
.wc-nothere {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  margin-top: 0.3rem;
  padding: 0.3rem 0.9rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 600 0.875rem/1.2 var(--sans);
  cursor: pointer;
}

.wc-nothere:hover {
  border-color: var(--ink);
  background: var(--ivory-deep);
}

.on-dark .wc-nothere:focus-visible {
  outline-color: var(--ink);
}

/* The open card covers its clock, so the keyboard focus ring goes on the card. */
.on-dark .wc.is-open:focus-visible {
  outline: none;
}

.on-dark .wc.is-open:focus-visible .wc-card {
  outline: 3px solid var(--focus-dark);
  outline-offset: 2px;
}

/* From 760px the wordmark and the links share one row (as before), and the
   strip has its own row beneath them. */
@media (min-width: 760px) {
  .site-header__bar {
    grid-template-areas:
      "mark nav"
      "clocks clocks";
  }
}

/* Phones (760px and under) keep the default above: four clocks over three.
   Tablets and small laptops: one slim row of seven under the bar. */
@media (min-width: 760.02px) {
  .world-clocks {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding-bottom: 0;
  }

  .wc {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* Wide screens: in the bar, between the wordmark and the links. */
@media (min-width: 1100px) {
  .site-header__bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "mark clocks nav";
    column-gap: 1.25rem;
    padding-block: 0.4rem;
  }

  .world-clocks {
    margin-left: 1.25rem; /* clear of the right end of the wordmark's rule */
    padding: 0;
    border-top: 0;
  }
}

/* The short zone name fits beside the place only where each clock has a
   wide column: the seven-in-a-row layout from 900px up to the wide layout. */
@media (min-width: 900px) and (max-width: 1099.98px) {
  .wc-zone {
    display: inline;
  }
}

/* No lift for visitors whose devices ask for less motion. */
@media (prefers-reduced-motion: reduce) {
  .wc-card {
    animation: none !important;
  }
}

@media (forced-colors: active) {
  .wc-card {
    border-color: CanvasText;
  }
}

@media print {
  .world-clocks {
    display: none !important;
  }
}

/* The gold rule under the LMCM wordmark, with its soft gold glow (handoff
   v5, section 3). It hangs just under the letters without changing the size
   of the wordmark link, so the letters stay where they were. */
.wordmark {
  position: relative;
}

.wordmark__rule {
  position: absolute;
  left: 0;
  top: calc(100% - 0.16em);
  width: 4.4em;
  height: 0.32em;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 0 2px rgb(243 205 110 / .8)) drop-shadow(0 0 7px rgb(224 178 70 / .45));
}

/* Handoff v6 (18 November 2026): the header and hero span the full window;
   the content sections below the hero keep a centred reading measure of
   about 1040 px. */
.section > .wrap,
.cta > .wrap,
.site-footer > .wrap {
  max-width: 65rem;
}

/* The visitor's own clock keeps its place, unseen, while the site looks up
   the city, and is taken out when the city can't be told (Kirk, 18 November
   2026, 21:04). */
.wc--pending {
  visibility: hidden;
}

/* Phones without the visitor's clock: three over three. */
@media (max-width: 760px) {
  .world-clocks--no-local .wc {
    flex-basis: 33.333%;
  }
}

/* v2.7: the founder's portrait on the leadership page. Shown exactly as supplied:
   its own proportions from its width and height, no crop, no filter, no effect. */
.portrait {
  max-width: 14rem;
  margin: 0;
}

@media (min-width: 900px) {
  .portrait {
    max-width: 19rem;
  }
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
