@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-roman.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --charcoal: #282828;
  --black: #171717;
  --cream: #f3f1ec;
  --white: #ffffff;
  --muted: #c9c9c9;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font-family: var(--body);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.88;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  min-height: 44px;
  padding: 0.8rem 1rem;
  background: var(--white);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-poster,
.hero-poster-image,
.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-poster {
  z-index: -3;
  display: block;
}

.hero-poster-image,
.hero-video {
  object-fit: cover;
  object-position: center;
}

.hero-video {
  z-index: -2;
  background: var(--charcoal);
  opacity: 0;
  transition: opacity 420ms ease;
}

.hero-video.is-playing {
  opacity: 1;
}

.hero-shade {
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.18) 48%, transparent 76%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 28%),
    linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.36));
}

.hero-brand {
  position: absolute;
  top: 2rem;
  left: 2rem;
  margin: 0;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-content {
  position: absolute;
  inset: 0;
  width: 100%;
  text-align: center;
}

.eyebrow {
  margin-bottom: 1.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  position: absolute;
  top: clamp(5.5rem, 12svh, 8rem);
  left: 50%;
  width: min(900px, calc(100% - 40px));
  margin: 0;
  color: var(--white);
  font-size: clamp(4.6rem, 8vw, 7.2rem);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
  transform: translateX(-50%);
}

.hero h1 em {
  font-weight: 400;
}

.hero-content > p:last-child {
  position: absolute;
  top: 58.5%;
  left: 50%;
  width: min(900px, calc(100% - 40px));
  margin: 0;
  font-size: clamp(0.72rem, 1vw, 0.88rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.panel-dark {
  background: var(--charcoal);
  color: var(--white);
}

.panel-light {
  background: var(--cream);
  color: var(--charcoal);
}

.narrow {
  width: min(760px, calc(100% - 48px));
  margin-inline: auto;
}

.section-shell {
  width: min(920px, calc(100% - 48px));
  margin-inline: auto;
}

.problem {
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(5.5rem, 9vw, 8rem);
}

.intro-copy {
  text-align: center;
}

.intro-copy h2,
.familiar-copy h2 {
  font-size: clamp(3.6rem, 6vw, 4.9rem);
  text-transform: uppercase;
}

.intro-copy h2 {
  margin-bottom: 2rem;
}

.intro-copy h2 em,
.familiar-copy h2 em {
  display: block;
  font-weight: 400;
  text-transform: none;
}

.intro-copy > p:not(.eyebrow):not(.script-line) {
  max-width: 680px;
  margin: 0 auto;
  color: #eeeeee;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  letter-spacing: 0.055em;
  line-height: 1.65;
}

.script-line {
  margin: 2rem 0 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-style: italic;
  text-align: right;
}

.familiar-copy {
  width: min(1000px, calc(100% - 48px));
  margin-top: clamp(5rem, 7vw, 7rem);
}

.familiar-copy h2 {
  margin-bottom: 2rem;
}

.familiar-copy ul,
.outcomes ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.familiar-copy li {
  position: relative;
  margin-bottom: 0.65rem;
  padding-left: 1.4rem;
  font-size: clamp(0.96rem, 1.5vw, 1.1rem);
  letter-spacing: 0.045em;
  line-height: 1.45;
}

.familiar-copy li::before {
  content: "•";
  position: absolute;
  left: 0;
}

.right-place {
  margin: 2.2rem 0 1.7rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.outline-button,
.footer-button {
  display: inline-flex;
  min-width: 230px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border: 1px solid currentColor;
  background: transparent;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-underline-offset: 0.25em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.outline-button:hover {
  background: var(--white);
  color: var(--charcoal);
}

.process {
  padding: clamp(5rem, 8vw, 7rem) 0;
}

.dark-eyebrow {
  margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
  text-align: center;
}

.timeline {
  position: relative;
  width: min(730px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  bottom: 1.2rem;
  left: 44px;
  width: 1px;
  background: var(--charcoal);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 2rem;
  min-height: 185px;
}

.timeline li:last-child {
  min-height: 0;
}

.phase {
  position: relative;
  z-index: 1;
  display: inline-grid;
  width: 88px;
  height: 44px;
  place-items: center;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(3.4rem, 5vw, 4.8rem);
}

.timeline p {
  max-width: 510px;
  margin-bottom: 0;
  font-size: clamp(0.96rem, 1.4vw, 1.08rem);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.included {
  position: relative;
  display: grid;
  min-height: 760px;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.included-media,
.included-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.included-media {
  z-index: -2;
}

.included-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.08);
}

.included-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0.58)),
    rgba(0, 0, 0, 0.22);
}

.included-inner {
  padding-block: 5rem;
}

.included h2 {
  margin-bottom: 4.5rem;
  color: var(--white);
  font-size: clamp(4.5rem, 8vw, 7rem);
  text-align: center;
}

.included-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.included-cards article {
  display: grid;
  min-height: 230px;
  align-content: center;
  padding: 2rem;
  border: 1px solid var(--charcoal);
  background: var(--cream);
  color: var(--charcoal);
  text-align: center;
}

.included-cards h3 {
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 3vw, 3.15rem);
}

.included-cards p {
  margin-bottom: 0;
  font-size: 0.78rem;
  letter-spacing: 0.035em;
  line-height: 1.5;
}

.outcomes {
  padding: clamp(5.5rem, 9vw, 8rem) 0;
  text-align: center;
}

.outcomes h2 {
  margin-bottom: 2.5rem;
  font-size: clamp(4rem, 7vw, 6.5rem);
}

.outcomes ul {
  margin-bottom: 3rem;
}

.outcomes li {
  margin-bottom: 0.65rem;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  letter-spacing: 0.045em;
  line-height: 1.45;
}

.site-footer {
  padding: clamp(4.5rem, 7vw, 6rem) 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
}

.footer-mark {
  display: grid;
  width: 46px;
  height: 46px;
  margin: 0 auto 1.5rem;
  place-items: center;
  border: 1px solid var(--white);
  border-radius: 50%;
  font-size: 1.1rem;
}

.site-footer h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(3.6rem, 6vw, 5.5rem);
  text-transform: uppercase;
}

.site-footer > p:not(.footer-mark):not(.copyright) {
  margin-bottom: 1.8rem;
  letter-spacing: 0.06em;
}

.footer-button {
  border: 0;
  background: var(--white);
  color: var(--charcoal);
  text-decoration: none;
}

.footer-contact {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2rem;
}

.footer-contact a,
.copyright {
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}

.footer-contact a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.95rem 0.25rem;
  color: #eeeeee;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-links {
  margin-top: 1.25rem;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.6rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-underline-offset: 0.35em;
}

.copyright {
  margin: 2.5rem 0 0;
  text-transform: uppercase;
}

.portfolio-page {
  background: var(--cream);
  color: var(--charcoal);
}

.portfolio-header {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 2rem clamp(1.5rem, 4vw, 4rem);
  color: var(--white);
}

.portfolio-wordmark,
.portfolio-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-decoration: none;
  text-transform: uppercase;
}

.portfolio-back {
  gap: 0.65rem;
  letter-spacing: 0.13em;
}

.portfolio-shell {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.portfolio-hero {
  display: grid;
  min-height: min(600px, 68svh);
  align-items: end;
  padding: 9rem 0 4.5rem;
  background: var(--charcoal);
  color: var(--white);
}

.portfolio-hero .eyebrow {
  margin-bottom: 2rem;
}

.portfolio-hero h1 {
  max-width: 1000px;
  margin-bottom: 0;
  font-size: clamp(5.2rem, 12vw, 10.5rem);
  text-transform: uppercase;
}

.portfolio-hero h1 em {
  font-weight: 400;
  text-transform: none;
}

.portfolio-work {
  overflow: hidden;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--charcoal);
}

.carousel-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.carousel-mode {
  color: #77746e;
}

.carousel-mode::before {
  content: "—";
  margin-right: 0.55rem;
}

.carousel-controls {
  display: flex;
  gap: 0.5rem;
}

.carousel-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--charcoal);
  border-radius: 50%;
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
  place-items: center;
  transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

.carousel-controls button:hover:not(:disabled),
.carousel-controls button:focus-visible {
  background: var(--charcoal);
  color: var(--white);
}

.carousel-controls button:disabled {
  cursor: default;
  opacity: 0.28;
}

.carousel-controls .carousel-sound {
  display: inline-flex;
  width: auto;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding-inline: 0.85rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sound-dot {
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
}

.carousel-sound[aria-pressed="true"] .sound-dot {
  background: currentColor;
}

.portfolio-carousel {
  --portfolio-video-width: clamp(280px, 26vw, 360px);

  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  overflow-x: auto;
  padding: 0 0 1.4rem;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--charcoal) transparent;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  touch-action: pan-x pan-y;
}

.portfolio-carousel::after {
  width: calc(100% - var(--portfolio-video-width));
  flex: 0 0 calc(100% - var(--portfolio-video-width));
  content: "";
}

.portfolio-carousel:focus-visible {
  outline: 2px solid var(--charcoal);
  outline-offset: 8px;
}

.work-card {
  flex: 0 0 auto;
  width: var(--portfolio-video-width);
  scroll-snap-align: start;
}

.work-card-image {
  width: var(--portfolio-video-width);
}

.work-visual {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #d8d6d1;
  color: var(--white);
}

.work-card-image .work-visual {
  aspect-ratio: 1;
}

.work-visual img,
.work-visual video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.work-video-shell {
  background: var(--black);
}

.work-video-shell video {
  object-fit: cover;
}

.portfolio-cta {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
}

.portfolio-cta .eyebrow {
  margin-bottom: 2rem;
}

.portfolio-cta h2 {
  max-width: 900px;
  margin: 0 auto 3rem;
  font-size: clamp(4.1rem, 8vw, 7.2rem);
  text-transform: uppercase;
}

.portfolio-cta h2 em {
  display: block;
  font-weight: 400;
  text-transform: none;
}

.portfolio-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2rem clamp(1.5rem, 4vw, 4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  background: var(--charcoal);
  color: var(--white);
}

.portfolio-footer nav {
  display: flex;
  gap: 1.5rem;
}

.portfolio-footer .portfolio-wordmark {
  justify-self: start;
}

.portfolio-footer nav a,
.portfolio-footer > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-underline-offset: 0.3em;
}

.portfolio-footer nav a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.portfolio-footer > p {
  justify-self: end;
}

a:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

.panel-light a:focus-visible,
.included-cards a:focus-visible {
  outline-color: var(--charcoal);
}

@media (min-width: 701px) {
  .familiar-copy {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 1.5rem 5rem;
    align-items: start;
  }

  .familiar-copy h2 {
    grid-row: 1 / 4;
    margin-bottom: 0;
  }

  .familiar-copy ul,
  .familiar-copy .right-place,
  .familiar-copy .outline-button {
    grid-column: 2;
  }

  .familiar-copy .right-place {
    margin: 0.7rem 0 0;
  }

  .familiar-copy .outline-button {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: max(100svh, 640px);
  }

  .hero-brand {
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero h1 {
    top: clamp(3.75rem, 8.5svh, 5.25rem);
    font-size: clamp(3.3rem, 15vw, 4rem);
  }

  .hero-content > p:last-child {
    max-width: 300px;
    line-height: 1.6;
  }

  .problem {
    padding-block: 3.5rem;
  }

  .narrow,
  .section-shell {
    width: calc(100% - 40px);
  }

  .intro-copy h2,
  .familiar-copy h2 {
    font-size: clamp(3rem, 13.5vw, 3.85rem);
  }

  .intro-copy > p:not(.eyebrow):not(.script-line) {
    font-size: 0.92rem;
  }

  .script-line {
    margin-top: 1.7rem;
    font-size: 2rem;
    text-align: right;
  }

  .familiar-copy {
    margin-top: 4.25rem;
  }

  .familiar-copy h2 {
    margin-bottom: 1.6rem;
  }

  .familiar-copy li {
    font-size: 0.94rem;
  }

  .right-place {
    margin-block: 1.7rem 1.4rem;
  }

  .outline-button {
    width: 100%;
  }

  .process {
    padding-block: 4.75rem;
  }

  .dark-eyebrow {
    margin-bottom: 3.5rem;
  }

  .timeline::before {
    left: 34px;
  }

  .timeline li {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 1.15rem;
    min-height: 185px;
  }

  .phase {
    width: 68px;
    height: 42px;
    font-size: 0.53rem;
  }

  .timeline h2 {
    font-size: clamp(2.8rem, 13vw, 3.55rem);
  }

  .timeline p {
    font-size: 0.9rem;
  }

  .included {
    min-height: 0;
  }

  .included-inner {
    padding-block: 3.5rem;
  }

  .included h2 {
    margin-bottom: 2.25rem;
    font-size: 3.9rem;
  }

  .included-cards {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .included-cards article {
    min-height: 132px;
    padding: 1.25rem;
  }

  .included-cards h3 {
    margin-bottom: 0.7rem;
    font-size: 2.55rem;
  }

  .outcomes {
    padding-block: 3.5rem;
  }

  .outcomes h2 {
    margin-bottom: 2rem;
    font-size: 3.5rem;
  }

  .outcomes ul {
    margin-bottom: 2.2rem;
  }

  .outcomes li {
    font-size: 0.91rem;
  }

  .site-footer {
    padding-top: 3.5rem;
  }

  .site-footer h2 {
    font-size: 3.35rem;
  }

  .footer-mark {
    margin-bottom: 1.1rem;
  }

  .site-footer > p:not(.footer-mark):not(.copyright) {
    margin-bottom: 1.4rem;
  }

  .footer-contact {
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.5rem;
  }

  .footer-contact a {
    justify-content: center;
    font-size: 0.88rem;
  }

  .footer-links {
    margin-top: 0.8rem;
  }

  .copyright {
    margin-top: 1.8rem;
  }

  .portfolio-header {
    padding: 1.5rem 1.25rem;
  }

  .portfolio-wordmark,
  .portfolio-back {
    font-size: 0.61rem;
  }

  .portfolio-shell {
    width: calc(100% - 40px);
  }

  .portfolio-hero {
    min-height: 500px;
    padding: 7rem 0 3rem;
  }

  .portfolio-hero .eyebrow {
    margin-bottom: 1.5rem;
  }

  .portfolio-hero h1 {
    margin-bottom: 0;
    font-size: clamp(4.2rem, 21vw, 5.8rem);
  }

  .portfolio-work {
    padding-block: 2.75rem 3.5rem;
  }

  .carousel-toolbar {
    margin-bottom: 1rem;
  }

  .carousel-mode {
    display: none;
  }

  .portfolio-carousel {
    --portfolio-video-width: calc(100vw - 56px);

    width: calc(100vw - 20px);
  }

  .work-card,
  .work-card-image {
    width: var(--portfolio-video-width);
  }

  .portfolio-cta {
    padding-block: 4.5rem;
  }

  .portfolio-cta .eyebrow {
    max-width: 300px;
    margin: 0 auto 1.75rem;
    line-height: 1.5;
  }

  .portfolio-cta h2 {
    margin-bottom: 2.4rem;
    font-size: 3.6rem;
  }

  .portfolio-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.5rem;
    padding-block: 2.5rem;
    text-align: center;
  }

  .portfolio-footer nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .portfolio-footer > p {
    justify-self: center;
  }

  .portfolio-footer .portfolio-wordmark {
    justify-self: center;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    top: clamp(3.25rem, 7.5svh, 4rem);
  }
}

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

  * {
    transition-duration: 0.01ms !important;
  }

  .hero-video {
    display: none;
  }
}
