/* WEBSITE PALETTE - edit here to update every component that uses a token.
   Current draft colours; this is not a final approved brandkit.
   SVG logo colours are intentionally preserved in the supplied logo assets.
   See docs/website-colours.md for a quick editing guide. */
:root {
  color-scheme: light;

  /* Main controls: headings, icons, links, buttons, backgrounds and text. */
  --brand-primary: #a52127;
  --surface-page: #fcfbf9;
  --surface-light: #fcfbf9;
  --surface-section: #f1f0ed;
  --surface-logo: #fcfbf9;
  --text-primary: #272321;
  --text-muted: #4f3a33;
  --border-default: #dedcd8;

  /* Fine controls for borders and activity labels. */
  --border-button: #b7b2ae;
  --border-card-hover: #9c8982;
  --border-link: #a99c96;
  --border-footer: #d6d3cf;
  --badge-background: #e8e6e2;
  --badge-text: #4f3a33;

  /* Hero artwork: gradient, decorative lines, lettering and shadow.
     Eight-digit hex values include opacity in their last two digits. */
  --hero-gradient-light: #a95660;
  --hero-gradient-mid: #a52127;
  --hero-gradient-dark: #5a2029;
  --hero-text: #fcfbf9;
  --hero-rule: #fcfbf966;
  --hero-orbit: #fcfbf940;
  --hero-shadow: #27232145;
  --hero-dot: #fcfbf9;

  /* Dark approach section: keep its text legible against the background. */
  --surface-dark: #272321;
  --text-on-dark: #fcfbf9;
  --text-muted-on-dark: #d0cbc7;
  --border-on-dark: #514b48;
  --dark-eyebrow: #a52127;
  --dark-heading-accent: #a52127;
  --dark-step-number: #a52127;

  /* Shared component roles: change a main control above, or override one here. */
  --button-background: var(--text-primary);
  --button-text: var(--surface-light);
  --button-hover-background: var(--brand-primary);
  --focus-ring: var(--brand-primary);
  --footer-background: var(--surface-section);

  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-primary);
  background: var(--surface-page);
  font-synthesis: none;
}

@keyframes hero-arrive {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-art-arrive {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes orbit-drift {
  from {
    transform: rotate(-28deg) translateY(-7px);
  }
  to {
    transform: rotate(-28deg) translateY(7px);
  }
}

@keyframes activity-expand {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  animation: hero-arrive 0.65s both;
}
.hero-content > :nth-child(2) {
  animation-delay: 0.08s;
}
.hero-content > :nth-child(3) {
  animation-delay: 0.16s;
}
.hero-content > :nth-child(4) {
  animation-delay: 0.24s;
}
.hero-content > :nth-child(5) {
  animation-delay: 0.32s;
}
.hero-art {
  animation: hero-art-arrive 0.8s 0.12s both;
}
.orbit-one {
  animation: orbit-drift 24s ease-in-out infinite alternate;
}
.orbit-two {
  animation: orbit-drift 30s 1.5s ease-in-out infinite alternate-reverse;
}
.orbit-three {
  animation: orbit-drift 36s 0.75s ease-in-out infinite alternate;
}
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s ease var(--reveal-delay, 0ms),
    transform 0.55s ease var(--reveal-delay, 0ms);
}
.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 125px;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 6px;
}
img {
  display: block;
  max-width: 100%;
}
p {
  margin: 0;
}
.section-shell {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.section-space {
  padding-block: 100px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 10;
  background: var(--surface-light);
  padding: 16px;
}
.skip-link:focus {
  top: 16px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--surface-page);
  border-bottom: 1px solid var(--border-default);
}
.header-inner {
  width: min(1280px, calc(100% - 112px));
  margin: auto;
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img {
  width: 65px;
  height: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
nav a {
  text-decoration: none;
  font-size: 12px;
  padding: 13px 0;
}
nav a:not(.nav-partnership) {
  position: relative;
}
nav a:not(.nav-partnership)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--brand-primary);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
nav a:not(.nav-partnership):hover::after,
nav a:not(.nav-partnership).is-current::after {
  transform: scaleX(1);
}
nav a:hover,
.text-link:hover {
  color: var(--brand-primary);
}
nav .nav-partnership {
  margin-left: 28px;
  padding: 13px 20px;
  border: 1px solid var(--border-button);
}
.nav-partnership span {
  margin-left: 24px;
}
.hero {
  padding-block: 58px 65px;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 50px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--brand-primary);
  margin-bottom: 29px;
}
.red-line {
  width: 30px;
  height: 1px;
  background: var(--brand-primary);
}
h1,
h2,
h3 {
  margin: 0;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h1 {
  font-size: clamp(58px, 5.9vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.057em;
}
h1 em,
h2 em {
  font-weight: 400;
  color: var(--brand-primary);
}
.hero-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 400px;
  margin: 25px 0 30px;
}
.button {
  display: inline-flex;
  gap: 44px;
  align-items: center;
  font-size: 12px;
  text-decoration: none;
  padding: 17px 23px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button > span,
.card-link > span:last-child,
.text-link > span {
  transition: transform 0.2s ease;
}
.button:hover > span,
.focus-card:hover .card-link > span:last-child,
.text-link:hover > span {
  transform: translate(3px, -2px);
}
.button-dark {
  background: var(--button-background);
  color: var(--button-text);
}
.button-dark:hover {
  background: var(--button-hover-background);
}
.hero-footnote {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.025em;
}
.small-cross {
  color: var(--brand-primary);
  font-size: 21px;
  font-weight: 300;
}
.hero-art {
  min-height: 540px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(
    ellipse at 60% 35%,
    var(--hero-gradient-light) 0%,
    var(--hero-gradient-mid) 47%,
    var(--hero-gradient-dark) 100%
  );
  display: grid;
  place-items: center;
}
.art-topline,
.art-bottomline {
  position: absolute;
  z-index: 1;
  left: 25px;
  right: 25px;
  display: flex;
  justify-content: space-between;
  font-size: 7px;
  letter-spacing: 0.14em;
  color: var(--hero-text);
}
.art-topline {
  top: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hero-rule);
}
.art-bottomline {
  bottom: 24px;
}
.orbit {
  position: absolute;
  border: 1px solid var(--hero-orbit);
  border-radius: 50%;
  transform: rotate(-28deg);
  z-index: -1;
}
.orbit-one {
  width: 440px;
  height: 620px;
}
.orbit-two {
  width: 580px;
  height: 820px;
}
.orbit-three {
  width: 720px;
  height: 1020px;
}
.logo-plaque {
  width: 65%;
  max-width: 310px;
  aspect-ratio: 0.83;
  position: relative;
  display: grid;
  place-items: center;
}
.logo-plaque::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--surface-logo);
  box-shadow: 18px 25px 60px var(--hero-shadow);
  content: "";
  transform: rotate(-6deg);
  transition: transform 0.35s ease;
}
.hero-art:hover .logo-plaque::before {
  transform: rotate(-3deg) translateY(-4px);
}
.logo-plaque img {
  position: relative;
  z-index: 1;
  width: 67%;
  height: auto;
}
.art-point {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--hero-dot);
  border-radius: 50%;
}
.point-one {
  left: 12%;
  bottom: 24%;
}
.point-two {
  right: 10%;
  top: 27%;
}
.about {
  border-top: 1px solid var(--border-default);
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 50px;
}
.section-label {
  display: flex;
  align-items: baseline;
  gap: 24px;
}
.section-number {
  font-size: 10px;
  color: var(--brand-primary);
}
h2 {
  font-size: clamp(38px, 4vw, 57px);
  letter-spacing: -0.045em;
  line-height: 1.1;
}
.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 35px;
}
.about-columns p,
.heading-note,
.focus-card > p:not(.card-kicker),
.project-content p,
.approach-intro > p:not(.eyebrow),
.approach-list p,
.partnership-layout > div > p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-muted);
}
.focus-section {
  background: var(--surface-section);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  margin-bottom: 48px;
}
.section-heading .eyebrow {
  margin-bottom: 23px;
  color: var(--brand-primary);
}
.heading-note {
  max-width: 330px;
}
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
}
.focus-card {
  background: var(--surface-page);
  text-decoration: none;
  padding: 27px;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.focus-card:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-4px);
}
.card-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--brand-primary);
}
.card-top span:last-child {
  font-size: 20px;
}
.sector-art {
  width: 100%;
  height: 150px;
  margin-block: 20px 28px;
  stroke: var(--brand-primary);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}
.focus-card:hover .sector-art {
  transform: scale(1.025);
}
.art-faint {
  opacity: 0.4;
}
.card-kicker {
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 13px;
}
.focus-card h3 {
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  min-height: 64px;
  margin-bottom: 18px;
}
.focus-card > p:not(.card-kicker) {
  font-size: 13px;
  margin-bottom: 32px;
}
.card-link {
  margin-top: auto;
  border-top: 1px solid var(--border-default);
  padding-top: 20px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
}
.project-list {
  border-top: 1px solid var(--border-default);
}
.project {
  border-bottom: 1px solid var(--border-default);
  scroll-margin-top: 135px;
}
.project summary {
  display: grid;
  grid-template-columns: 42px 1fr auto 25px;
  align-items: center;
  gap: 24px;
  padding: 31px 0;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}
.project summary:hover,
.project[open] summary {
  color: var(--brand-primary);
}
.project summary::-webkit-details-marker {
  display: none;
}
.project-number {
  color: var(--brand-primary);
  font-size: 11px;
}
.project-title {
  font-family: Georgia, serif;
  font-size: 25px;
  letter-spacing: -0.02em;
}
.project-title > span {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 9px;
  letter-spacing: 0;
}
.project-type {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background: var(--badge-background);
  padding: 9px 12px;
  color: var(--badge-text);
}
.expand {
  width: 18px;
  height: 18px;
  position: relative;
}
.expand::before,
.expand::after {
  content: "";
  position: absolute;
  background: var(--brand-primary);
}
.expand::before {
  width: 14px;
  height: 1px;
  top: 8px;
  left: 2px;
}
.expand::after {
  height: 14px;
  width: 1px;
  left: 8px;
  top: 2px;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.project[open] .expand::after {
  opacity: 0;
  transform: scaleY(0);
}
.project-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 44px;
  padding: 0 65px 32px;
}
.project-content.is-expanding {
  animation: activity-expand 0.38s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.project-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  background: var(--surface-section);
  border: 1px solid var(--border-default);
}
.project-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.project-caption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--text-primary);
  background: rgb(252 251 249 / 82%);
  border: 1px solid rgb(39 35 33 / 8%);
  backdrop-filter: blur(8px);
}
.project-caption span:first-child {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}
.project-caption span:last-child {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 8px;
  text-transform: uppercase;
}
.project-copy {
  display: grid;
  gap: 24px;
}
.project-content p {
  font-size: 13px;
}
.detail-label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 10px;
}
.project-note {
  margin-top: 20px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-muted);
}
.approach-section {
  background: var(--surface-dark);
  color: var(--text-on-dark);
}
.approach-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.approach-intro .eyebrow {
  color: var(--dark-eyebrow);
  margin-bottom: 25px;
}
.approach-intro h2 em {
  color: var(--dark-heading-accent);
}
.approach-intro > p:not(.eyebrow) {
  color: var(--text-muted-on-dark);
  margin-top: 28px;
  max-width: 390px;
}
.approach-symbol {
  margin-top: 35px;
  background: var(--surface-logo);
  padding: 14px;
  width: 70px;
  height: 70px;
}
.approach-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.approach-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--border-on-dark);
}
.approach-list li > span {
  font-size: 10px;
  color: var(--dark-step-number);
  padding-top: 6px;
}
.approach-list h3 {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 400;
  margin-bottom: 13px;
}
.approach-list p {
  color: var(--text-muted-on-dark);
  font-size: 13px;
}
.partnerships > .eyebrow {
  color: var(--brand-primary);
  margin-bottom: 28px;
}
.partnership-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 100px;
}
.partner-types {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.partner-types li {
  padding: 10px 12px;
  border: 1px solid var(--border-default);
  font-size: 10px;
}
.text-link {
  text-decoration: none;
  display: inline-flex;
  gap: 24px;
  border-bottom: 1px solid var(--border-link);
  padding-block: 10px;
  font-size: 12px;
}
.site-footer {
  border-top: 1px solid var(--border-default);
  background: var(--footer-background);
}
.footer-main {
  display: flex;
  align-items: center;
  gap: 55px;
  padding-block: 40px;
}
.footer-main p {
  font-size: 12px;
  line-height: 1.9;
}
.footer-main p span {
  color: var(--text-muted);
  font-size: 11px;
}
.footer-main > .text-link {
  margin-left: auto;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border-footer);
  padding-block: 20px;
  font-size: 9px;
  color: var(--text-muted);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
@media (min-width: 1600px) {
  .hero {
    gap: 80px;
    padding-block: 70px;
  }
  .hero-art {
    min-height: 600px;
  }
}
@media (max-width: 1050px) {
  .section-shell,
  .header-inner {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 30px;
  }
  h1 {
    font-size: 66px;
  }
  .hero-art {
    min-height: 495px;
  }
  .art-topline {
    font-size: 6px;
  }
  .focus-grid {
    gap: 14px;
  }
  .focus-card {
    padding: 21px;
  }
  .focus-card h3 {
    font-size: 25px;
  }
  .section-space {
    padding-block: 75px;
  }
  .approach-layout,
  .partnership-layout {
    gap: 50px;
  }
  .project-content {
    gap: 30px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 100px;
  }
  .section-shell,
  .header-inner {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 88px;
  }
  .brand img {
    width: 51px;
  }
  nav {
    gap: 18px;
  }
  nav a {
    font-size: 10px;
  }
  nav .nav-partnership {
    padding: 10px 0;
    border: 0;
    margin-left: 0;
  }
  .nav-partnership span {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-block: 42px 45px;
  }
  h1 {
    font-size: clamp(44px, 10.5vw, 70px);
  }
  .hero-description {
    font-size: 14px;
    max-width: 430px;
  }
  .hero-footnote {
    margin-top: 24px;
    font-size: 9px;
  }
  .hero-art {
    min-height: 420px;
  }
  .logo-plaque {
    max-width: 240px;
  }
  .art-topline {
    font-size: 7px;
  }
  .section-space {
    padding-block: 60px;
  }
  .about,
  .about-columns,
  .approach-layout,
  .partnership-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  h2 {
    font-size: 42px;
  }
  .about-columns {
    gap: 18px;
    margin-top: 25px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .heading-note {
    margin-top: 22px;
    max-width: 480px;
  }
  .focus-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .focus-card {
    padding: 26px;
  }
  .sector-art {
    height: 140px;
    margin-block: 15px 24px;
  }
  .focus-card h3 {
    font-size: 32px;
    min-height: 0;
  }
  .focus-card > p:not(.card-kicker) {
    max-width: 400px;
  }
  .project {
    scroll-margin-top: 100px;
  }
  .project summary {
    grid-template-columns: 23px 1fr 18px;
    gap: 12px;
    padding-block: 25px;
  }
  .project-title {
    font-size: 23px;
  }
  .project-type {
    grid-column: 2;
    justify-self: start;
    font-size: 8px;
  }
  .expand {
    grid-column: 3;
    grid-row: 1;
  }
  .project-content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 12px 28px 35px;
  }
  .project-visual {
    aspect-ratio: 3 / 2;
  }
  .project-caption {
    right: 8px;
    bottom: 8px;
    left: 8px;
    padding: 10px 12px;
  }
  .project-caption span:first-child {
    font-size: 14px;
  }
  .approach-list {
    margin-top: 10px;
  }
  .approach-symbol {
    display: none;
  }
  .partnership-layout h2 {
    font-size: clamp(34px, 7.9vw, 48px);
  }
  .footer-main {
    gap: 22px;
    flex-wrap: wrap;
    padding-block: 30px;
  }
  .footer-main img {
    width: 63px;
    height: auto;
  }
  .footer-main > .text-link {
    margin-left: 0;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    line-height: 1.7;
  }
}
@media (max-width: 360px) {
  nav {
    gap: 12px;
  }
  nav a {
    font-size: 9px;
  }
  h1 {
    font-size: 42px;
  }
  .hero-footnote {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
