@font-face {
  font-family: "Instrument Serif";
  src: url("Instrument_Serif/InstrumentSerif-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("Instrument_Serif/InstrumentSerif-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
}

:root {
  --blue: #ff3232;
  --white: #ffffff;
  --max-width: 1120px;
  --page-pad: clamp(18px, 4vw, 56px);
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--white);
  color: var(--blue);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.45;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

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

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

.site-header,
.site-footer,
.section {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

.site-header {
  display: flex;
  justify-content: flex-start;
  padding-top: 28px;
  padding-bottom: 12px;
}

.site-mark {
  display: flex;
  align-items: center;
  gap: 0;
}

.brand {
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 0;
  transform:
    perspective(900px)
    rotateX(var(--brand-tilt-x, 0deg))
    rotateY(var(--brand-tilt-y, 0deg));
  transition: transform 160ms ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.brand img {
  display: block;
  width: auto;
  height: 64px;
  transform: translate3d(0, 0, 24px);
  transition: transform 160ms ease;
  will-change: transform;
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 0.92;
  letter-spacing: -0.03em;
  transform: translate3d(0, 0, 24px);
  transition: transform 160ms ease;
  will-change: transform;
}

.footer-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-logo {
  display: block;
  width: auto;
  height: 46px;
}

.footer-tag {
  display: block;
  width: auto;
  height: 28px;
}

.section {
  padding-top: clamp(46px, 8vw, 96px);
  padding-bottom: clamp(46px, 8vw, 96px);
}

.hero {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero .eyebrow,
.hero h1,
.hero .intro {
  transform: translate3d(0, calc(var(--hero-shift, 0px) * var(--depth, 1)), 0);
  will-change: transform;
}

.hero .eyebrow {
  --depth: 0.45;
}

.hero h1 {
  --depth: 1;
}

.hero .intro {
  --depth: 0.7;
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 16px;
  letter-spacing: 0.04em;
}

h1 {
  max-width: 980px;
  font-family: var(--font-display);
  font-size: clamp(58px, 11vw, 148px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-weight: 400;
}

h2 {
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 400;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.intro {
  max-width: 690px;
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.section > p,
.two-part p,
.plain-list p,
.image-block figcaption,
.section-head p {
  max-width: 680px;
}

.two-part {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(36px, 7vw, 96px);
}

.two-part > * {
  flex: 1;
}

.two-part p + p {
  margin-top: 22px;
}

.image-block {
  width: 100%;
}

.image-inner {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
  border: 2px solid var(--blue);
  background: var(--white);
  transform:
    perspective(1000px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translate3d(0, 0, 0);
  transition: transform 260ms ease;
  will-change: transform;
}

.image-inner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.image-block figcaption {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.35;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 34px;
}

.feature-carousel {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.carousel-meta,
.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.carousel-kicker,
.carousel-status {
  font-size: 15px;
  letter-spacing: 0.03em;
}

.carousel-controls {
  display: flex;
  gap: 12px;
}

.carousel-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  opacity: 0.76;
  transform: translate3d(var(--float-x, 0), var(--float-y, 0), 0);
  transition: transform 220ms ease, opacity 220ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  opacity: 1;
  --float-y: -3px;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 18px;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.feature-card {
  min-width: calc((100% - 36px) / 3);
  padding: 26px 22px 28px;
  border: 1px solid var(--blue);
  background: transparent;
}

.feature-index {
  margin-bottom: 24px;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.plain-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 760px;
}

.plain-list article {
  padding-top: 18px;
  border-top: 1px solid var(--blue);
  transform: translate3d(0, 0, 0);
  transition: transform 260ms ease, border-color 260ms ease;
  will-change: transform;
}

.cta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--blue);
}

.cta p {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 400;
  animation: breathe 6s ease-in-out infinite;
  transform: translate3d(0, 0, 0);
  transition: transform 240ms ease;
  will-change: transform;
}

.cta-note {
  font-size: 16px;
  opacity: 0.82;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 30px;
  padding-bottom: 30px;
  border-top: 1px solid var(--blue);
  font-size: 15px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 720ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.image-block:hover .image-inner,
.image-block:focus-within .image-inner {
  transform:
    perspective(1000px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translate3d(0, -4px, 0);
}

.plain-list article:hover,
.plain-list article:focus-within {
  transform: translate3d(0, -4px, 0);
}

.cta:hover p,
.cta:focus-within p {
  animation-play-state: paused;
  transform: translate3d(0, -2px, 0);
}

@keyframes breathe {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -3px, 0);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .brand,
  .hero .eyebrow,
  .hero h1,
  .hero .intro,
  .image-inner,
  .plain-list article,
  .cta p,
  .carousel-track,
  .carousel-button {
    animation: none;
    transform: none;
    transition: none;
  }
}

@media (max-width: 960px) {
  .feature-card {
    min-width: calc((100% - 18px) / 2);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }

  .site-header {
    padding-top: 22px;
  }

  .site-mark {
    gap: 14px;
  }

  .brand img {
    height: 52px;
  }

  .brand-tag {
    height: 28px;
  }

  .hero {
    min-height: 64vh;
  }

  .two-part,
  .cta,
  .site-footer,
  .carousel-meta,
  .carousel-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-card {
    min-width: 100%;
  }
}
