:root {
  --bg: #f3ebdf;
  --bg-soft: #ece3d5;
  --bg-dark: #11110f;
  --bg-dark-alt: #1a1714;
  --cream: #f7f0e6;
  --ink: #16120f;
  --ink-soft: #635950;
  --line: rgba(22, 18, 15, 0.12);
  --line-strong: rgba(22, 18, 15, 0.2);
  --line-light: rgba(247, 240, 230, 0.14);
  --gold: #a47a4b;
  --gold-soft: rgba(164, 122, 75, 0.18);
  --blue: #2f4b5a;
  --violet: #4730ca;
  --shadow: 0 32px 90px rgba(39, 27, 18, 0.14);
  --max-width: 1200px;
  --hero-shift-x: 0px;
  --hero-shift-y: 0px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.6), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  mix-blend-mode: soft-light;
  opacity: 0.28;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

p,
h1,
h2,
h3,
ol {
  margin: 0;
}

ol {
  padding: 0;
}

:focus-visible {
  outline: 2px solid rgba(47, 75, 90, 0.55);
  outline-offset: 4px;
}

.page-shell {
  position: relative;
  overflow-x: clip;
}

.section-shell,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.35rem 0 0;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -0.7rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(247, 240, 230, 0.12) 22%,
    rgba(247, 240, 230, 0.12) 78%,
    transparent
  );
}

.brand {
  position: relative;
  z-index: 1;
}

.brand-logo {
  width: auto;
  height: 2rem;
}

.site-header__meta {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: rgba(247, 240, 230, 0.76);
}

.site-tag {
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(247, 240, 230, 0.12);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
}

.site-nav {
  display: inline-flex;
  gap: 1.2rem;
  align-items: center;
  font-size: 0.9rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  min-height: 100svh;
  color: var(--cream);
  background:
    radial-gradient(circle at 18% 16%, rgba(164, 122, 75, 0.16), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(47, 75, 90, 0.22), transparent 26%),
    linear-gradient(180deg, #0d0d0c 0%, #151311 65%, #191613 100%);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(247, 240, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 240, 230, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 88%);
  opacity: 0.32;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow,
.hero-line,
.hero-ring {
  position: absolute;
  transform: translate3d(
    calc(var(--hero-shift-x) * 0.3),
    calc(var(--hero-shift-y) * 0.3),
    0
  );
  transition: transform 180ms ease-out;
}

.hero-glow {
  border-radius: 999px;
  filter: blur(14px);
}

.hero-glow--gold {
  top: -9rem;
  right: 8%;
  width: 38rem;
  height: 38rem;
  background: radial-gradient(circle, rgba(164, 122, 75, 0.24), transparent 68%);
}

.hero-glow--blue {
  bottom: -12rem;
  left: -6rem;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, rgba(47, 75, 90, 0.22), transparent 70%);
}

.hero-line {
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(247, 240, 230, 0.18),
    transparent
  );
}

.hero-line--one {
  top: 0;
  right: 17%;
  height: 100%;
}

.hero-line--two {
  top: 14%;
  left: 9%;
  height: 72%;
}

.hero-ring {
  border: 1px solid rgba(247, 240, 230, 0.08);
  border-radius: 999px;
}

.hero-ring--one {
  top: 18%;
  right: -8rem;
  width: 28rem;
  height: 28rem;
}

.hero-ring--two {
  bottom: -8rem;
  left: 18%;
  width: 18rem;
  height: 18rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(16rem, 0.82fr);
  grid-template-rows: auto 1fr auto;
  align-items: end;
  gap: 2rem 4rem;
  width: min(calc(100% - 2rem), var(--max-width));
  min-height: 100svh;
  margin: 0 auto;
  padding: 7rem 0 2.25rem;
}

.hero-brandblock {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.9rem;
  width: fit-content;
}

.hero-logo {
  width: clamp(18rem, 38vw, 33rem);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.28));
}

.hero-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(247, 240, 230, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-heading--light .eyebrow {
  color: rgba(247, 240, 230, 0.68);
}

.hero-copy {
  max-width: 37rem;
  padding-bottom: 0.6rem;
}

.hero h1,
.support-intro h2,
.section-heading h2,
.closing-shell h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(4.1rem, 9vw, 7.4rem);
}

.hero-text {
  max-width: 31rem;
  margin-top: 1.5rem;
  color: rgba(247, 240, 230, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--solid {
  color: var(--ink);
  background: linear-gradient(145deg, #f8f1e7, #e9ddcf);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.button--ghost {
  border: 1px solid rgba(247, 240, 230, 0.18);
  color: rgba(247, 240, 230, 0.9);
  background: rgba(255, 255, 255, 0.03);
}

.hero-index {
  align-self: end;
  justify-self: end;
  width: min(100%, 19rem);
  padding-left: 1.4rem;
  border-left: 1px solid rgba(247, 240, 230, 0.14);
}

.hero-index__label {
  margin-bottom: 1rem;
  color: rgba(247, 240, 230, 0.68);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-index__list {
  list-style: none;
  display: grid;
}

.hero-index__list li {
  display: grid;
  gap: 0.28rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(247, 240, 230, 0.1);
}

.hero-index__list span {
  color: rgba(247, 240, 230, 0.5);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.hero-index__list strong {
  font-size: 1rem;
  font-weight: 700;
}

.hero-index__list em {
  color: rgba(247, 240, 230, 0.62);
  font-size: 0.88rem;
  font-style: normal;
}

.hero-foot {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(247, 240, 230, 0.12);
  color: rgba(247, 240, 230, 0.68);
}

.hero-foot p:first-child {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-foot p:last-child {
  max-width: 30rem;
  line-height: 1.75;
  text-align: right;
}

.support,
.closing {
  padding: 5.75rem 0;
}

.support-intro {
  max-width: 40rem;
}

.support-intro h2,
.section-heading h2,
.closing-shell h2 {
  font-size: clamp(3rem, 6vw, 5rem);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-top: 2.5rem;
}

.support-lead p {
  max-width: 13ch;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.15rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.support-structure {
  padding: 1rem 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.support-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.4rem;
  align-items: start;
  padding: 1.35rem 0;
}

.support-note + .support-note {
  border-top: 1px solid var(--line);
}

.support-note span {
  min-width: 2.2rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.support-note h3 {
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.support-note p {
  color: var(--ink-soft);
  line-height: 1.78;
}

.companies {
  position: relative;
  padding: 6rem 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 16% 22%, rgba(71, 48, 202, 0.14), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(47, 75, 90, 0.18), transparent 24%),
    linear-gradient(180deg, #171412 0%, #100f0d 100%);
  overflow: hidden;
}

.companies::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(247, 240, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 240, 230, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.3;
}

.section-heading {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.section-summary {
  max-width: 32rem;
  margin-top: 1rem;
  color: rgba(247, 240, 230, 0.7);
  line-height: 1.75;
}

.company-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.8rem;
  border: 1px solid var(--line-light);
  border-radius: 2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(18px);
}

.company-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1.2rem;
  min-height: 34rem;
  padding: 1.4rem;
  color: inherit;
  isolation: isolate;
  transition:
    background-color 240ms ease,
    transform 240ms ease,
    border-color 240ms ease;
}

.company-panel + .company-panel {
  border-left: 1px solid var(--line-light);
}

.company-panel::before,
.company-panel::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  pointer-events: none;
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

.company-panel::before {
  inset: 0;
  opacity: 0.95;
}

.company-panel::after {
  bottom: 1.4rem;
  right: 1.4rem;
  left: auto;
  width: 7rem;
  height: 7rem;
  border-radius: 999px;
  border: 1px solid rgba(247, 240, 230, 0.08);
  opacity: 0.7;
}

.company-panel__index,
.company-panel__cta {
  position: relative;
  z-index: 1;
}

.company-panel__index {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(247, 240, 230, 0.58);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.company-panel__body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: space-between;
  gap: 2.5rem;
  padding-top: 2.2rem;
  padding-bottom: 1rem;
  transition: transform 240ms ease;
}

.company-panel__mark {
  display: grid;
  place-items: center;
  width: fit-content;
}

.company-logo {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 240ms ease;
}

.company-panel__copy h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 2.6vw, 2.8rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.company-panel__copy p {
  max-width: 24ch;
  margin-top: 0.9rem;
  color: rgba(247, 240, 230, 0.72);
  line-height: 1.78;
}

.company-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding-top: 1rem;
  border-top: 1px solid rgba(247, 240, 230, 0.12);
  font-size: 0.9rem;
  font-weight: 700;
}

.company-panel__cta::after {
  content: "->";
  transition: transform 220ms ease;
}

.company-panel:hover,
.company-panel:focus-visible {
  background: rgba(255, 255, 255, 0.03);
}

.company-panel:hover .company-panel__body,
.company-panel:focus-visible .company-panel__body {
  transform: translateY(-0.45rem);
}

.company-panel:hover .company-logo,
.company-panel:focus-visible .company-logo {
  transform: scale(1.04);
}

.company-panel:hover .company-panel__cta::after,
.company-panel:focus-visible .company-panel__cta::after {
  transform: translateX(0.25rem);
}

.company-panel--trc::before {
  background:
    radial-gradient(circle at 24% 24%, rgba(71, 48, 202, 0.28), transparent 30%),
    linear-gradient(180deg, rgba(56, 38, 158, 0.08), rgba(13, 12, 24, 0));
}

.company-panel--trc::after {
  width: 8rem;
  height: 8rem;
  border-color: rgba(71, 48, 202, 0.22);
}

.company-panel--resylr::before {
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 120, 64, 0.22), transparent 28%),
    radial-gradient(circle at 24% 84%, rgba(188, 64, 255, 0.18), transparent 34%);
}

.company-panel--resylr::after {
  border-color: rgba(255, 133, 82, 0.18);
}

.company-panel--evans::before {
  background:
    linear-gradient(140deg, rgba(54, 109, 186, 0.2), transparent 38%),
    radial-gradient(circle at 76% 22%, rgba(77, 144, 255, 0.2), transparent 26%);
}

.company-panel--evans::after {
  border-color: rgba(109, 164, 255, 0.18);
}

.company-panel__mark--trc {
  width: 7.2rem;
  aspect-ratio: 1;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(71, 48, 202, 0.16);
}

.company-panel__mark--resylr {
  min-width: 11.4rem;
  min-height: 5.2rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.2), transparent 62%),
    rgba(255, 255, 255, 0.04);
}

.company-panel__mark--evans {
  min-width: 12.6rem;
  min-height: 5.8rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(125, 173, 255, 0.18);
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at top, rgba(72, 135, 226, 0.18), transparent 60%),
    linear-gradient(145deg, rgba(9, 23, 37, 0.9), rgba(17, 43, 67, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.company-logo--resylr {
  max-width: 10rem;
}

.company-logo--evans {
  max-width: 11.2rem;
}

.closing-shell {
  max-width: 44rem;
  padding-top: 2.6rem;
  border-top: 1px solid var(--line-strong);
}

.closing-shell h2 {
  max-width: 12ch;
}

.closing-shell p:not(.eyebrow) {
  max-width: 34rem;
  margin-top: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.82;
}

.closing .button--solid {
  color: var(--cream);
  background: linear-gradient(145deg, #171311, #4a3421);
  box-shadow: var(--shadow);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2.6rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
}

.site-footer p:first-child {
  color: var(--ink);
  font-weight: 700;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  --reveal-delay: 120ms;
}

.delay-2 {
  --reveal-delay: 200ms;
}

.delay-3 {
  --reveal-delay: 280ms;
}

.delay-4 {
  --reveal-delay: 360ms;
}

.delay-5 {
  --reveal-delay: 440ms;
}

@media (max-width: 1080px) {
  .hero-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 1.8rem;
    padding-top: 7.5rem;
    padding-bottom: 2rem;
  }

  .hero-copy,
  .hero-index {
    max-width: 100%;
  }

  .hero-index {
    justify-self: start;
    width: min(100%, 24rem);
    padding-left: 0;
    padding-top: 1rem;
    border-left: 0;
    border-top: 1px solid rgba(247, 240, 230, 0.12);
  }

  .hero-foot {
    align-items: start;
    flex-direction: column;
  }

  .hero-foot p:last-child {
    text-align: left;
  }

  .support-grid,
  .company-stage {
    grid-template-columns: 1fr;
  }

  .company-panel + .company-panel {
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }
}

@media (max-width: 720px) {
  .section-shell,
  .site-footer,
  .site-header,
  .hero-content {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .site-header {
    padding-top: 1rem;
    gap: 1rem;
  }

  .site-header::after {
    inset: auto 0 -0.55rem;
  }

  .site-header__meta {
    gap: 0.9rem;
  }

  .site-tag {
    display: none;
  }

  .site-nav {
    gap: 0.9rem;
    font-size: 0.84rem;
  }

  .brand-logo {
    height: 1.55rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: 1.7rem;
  }

  .hero-logo {
    width: min(100%, 16.5rem);
  }

  .hero-caption {
    gap: 0.55rem 0.9rem;
    font-size: 0.68rem;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 16vw, 5rem);
  }

  .hero-text,
  .section-summary,
  .company-panel__copy p,
  .closing-shell p:not(.eyebrow) {
    font-size: 0.98rem;
  }

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

  .button {
    width: 100%;
  }

  .hero-ring--one {
    width: 20rem;
    height: 20rem;
    right: -7rem;
  }

  .hero-ring--two {
    left: -2rem;
  }

  .support,
  .companies,
  .closing {
    padding: 4.5rem 0;
  }

  .support-grid {
    margin-top: 2rem;
  }

  .support-lead p {
    max-width: 100%;
  }

  .support-note {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .company-panel {
    min-height: auto;
  }

  .company-panel__body {
    gap: 1.8rem;
  }

  .company-panel__mark--resylr,
  .company-panel__mark--evans {
    min-width: 0;
    width: min(100%, 12.4rem);
  }

  .company-panel__mark--trc {
    width: 6rem;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 2rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
