:root {
  --bg: #f7f3ed;
  --text: #171816;
  --muted: #5f625f;
  --soft: #f1ebe3;
  --soft-strong: #e9ded0;
  --line: #dbdbdb;
  --accent: #e14242;
  --accent-dark: #e10424;
  --petrol: #003340;
  --black: #161615;
  --white: #ffffff;
  --container: 1160px;
  --radius: 20px;
  --logo-card: #fffaf4;
  --font-title: "Syne", Arial, sans-serif;
  --font-body: "Epilogue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 5vw, 56px);
  mix-blend-mode: difference;
  color: var(--white);
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
}

.nav-links a {
  border-bottom: 1px solid transparent;
}

.nav-links a:hover {
  border-color: currentColor;
}

.hero {
  position: relative;
  min-height: 90svh;
  overflow: hidden;
  background: #f4f4f2;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 243, 237, 0.94) 0%, rgba(247, 243, 237, 0.78) 28%, rgba(247, 243, 237, 0.08) 50%, rgba(247, 243, 237, 0) 100%),
    linear-gradient(0deg, rgba(247, 243, 237, 0.34) 0%, rgba(247, 243, 237, 0) 24%);
  content: "";
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 46%;
  background: linear-gradient(180deg, rgba(247, 243, 237, 0), rgba(247, 243, 237, 0.72));
  content: "";
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
  filter: saturate(0.98) contrast(1.02);
}

.hero-content {
  width: min(var(--container), calc(100% - 40px));
  min-height: 90svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 112px 0 72px;
}

.hero-logo {
  width: min(230px, 55vw);
  margin-bottom: 36px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-title);
}

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

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(3.8rem, 6vw, 5.8rem);
  line-height: 0.92;
  font-weight: 500;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 20px;
  font-size: 3.3rem;
  line-height: 1.02;
  font-weight: 500;
}

h2 em,
.serif {
  font-family: var(--font-title);
  font-weight: 400;
  color: var(--accent);
}

h3 {
  margin-bottom: 18px;
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 500;
}

.hero-copy {
  max-width: 500px;
  color: #2b2b2b;
  font-size: 1rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--text);
  border-radius: var(--radius);
  padding: 0 20px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.btn::after {
  content: "->";
  margin-left: 12px;
  transform: rotate(-24deg);
  transition: transform 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::after {
  transform: rotate(0deg) translateX(3px);
}

.btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  background: rgba(247, 243, 237, 0.72);
}

.section {
  padding: 96px 0;
}

.section-inner {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 56px;
  align-items: end;
}

.split > p,
.intro-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
}

.intro-copy p {
  margin-bottom: 14px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.intro-band {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.intro-band::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 130px;
  background: linear-gradient(180deg, rgba(247, 243, 237, 0), var(--bg));
  content: "";
  pointer-events: none;
}

.marquee-band {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--accent);
  color: var(--white);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  padding: 16px 34px;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 34px;
  border-radius: 50%;
  background: var(--white);
  vertical-align: middle;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

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

  .marquee-track {
    animation: none;
  }

  .logo-marquee-track {
    animation: none;
  }

  .btn,
  .btn::after,
  .expertise-panel,
  .expertise-media video,
  .life-photo img {
    transition: none;
  }
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 500;
}

.expertise-list {
  display: grid;
  gap: 28px;
}

.expertise-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 34px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px;
  transition: background-color 180ms ease, transform 180ms ease;
}

.expertise-panel:hover {
  background: var(--soft);
  transform: translateY(-3px);
}

.expertise-panel-reverse .expertise-media {
  order: 2;
}

.expertise-media {
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 390px;
  background: var(--soft-strong);
}

.expertise-media video {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.expertise-panel:hover .expertise-media video {
  transform: scale(1.025);
}

.expertise-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 24px;
}

.card-index {
  display: block;
  margin-bottom: 44px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
}

.expertise-copy h3 {
  max-width: 560px;
  margin-bottom: 20px;
  font-size: 2.1rem;
  line-height: 1.02;
}

.expertise-copy p {
  max-width: 620px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.expertise-tags span {
  border: 1px solid rgba(0, 51, 64, 0.16);
  background: var(--bg);
  padding: 9px 12px;
  color: var(--petrol);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tools-section {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  padding-bottom: 72px;
}

.tools-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 54px;
}

.tools-heading-main h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 3.3rem;
  line-height: 1.02;
}

.tools-heading-copy {
  align-self: end;
}

.tools-heading-copy p {
  max-width: 600px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
}

.tools-heading-copy p:last-child {
  margin-bottom: 0;
}

.logo-marquee {
  overflow: hidden;
  width: 100%;
  padding: 3px 0;
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  animation: logoMarquee 42s linear infinite;
}

.logo-marquee-track.reverse {
  animation-direction: reverse;
}

.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}

.logo-marquee-group {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding-right: 16px;
}

.tools-marquee {
  margin-top: 0;
  padding-top: 12px;
  padding-bottom: 12px;
}

.tools-marquee:hover .logo-marquee-track {
  animation-play-state: running;
}

.tool-item {
  position: relative;
  display: grid;
  width: 184px;
  min-height: 168px;
  grid-template-rows: 1fr auto auto;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  padding: 20px;
}

.tool-item::after {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--accent);
  content: "->";
  transform: rotate(-28deg);
}

.tool-item img {
  width: 70px;
  height: 70px;
  align-self: center;
  object-fit: contain;
}

.tool-item span {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 500;
}

.tool-item small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes logoMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.life-section {
  background: var(--accent);
  color: var(--white);
}

.life-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: 56px;
  align-items: center;
}

.life-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.life-section .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.life-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.life-photo {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: rgba(22, 22, 21, 0.18);
  aspect-ratio: 4 / 5;
}

.life-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: saturate(0.98) contrast(1.03);
  transition: transform 260ms ease;
}

.life-photo:hover img {
  transform: scale(1.025);
}

.clients-section {
  background: var(--bg);
}

.client-logo-box {
  overflow: hidden;
  background: transparent;
  padding: 28px 0;
}

.clients-marquee .logo-marquee-group {
  gap: 22px;
  padding-right: 22px;
}

.clients-marquee img {
  width: 250px;
  height: 112px;
  border: 0;
  border-radius: var(--radius);
  background: var(--soft-strong);
  padding: 24px 30px;
  object-fit: contain;
  transition: transform 180ms ease, background-color 180ms ease;
}

.clients-marquee img:hover {
  background: #dfd2c1;
  transform: translateY(-3px);
}

.studio-section {
  overflow: hidden;
  background: var(--petrol);
  color: var(--white);
}

.studio-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 54px;
  align-items: center;
}

.studio-copy h2 {
  max-width: 680px;
}

.studio-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 400;
}

.studio-lead {
  color: var(--white) !important;
  font-size: 1.14rem;
  font-weight: 500 !important;
}

.studio-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.studio-points span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 13px 14px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.studio-gallery {
  display: grid;
  gap: 14px;
}

.studio-hero-photo,
.studio-mini-slide {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--black);
}

.studio-hero-photo {
  aspect-ratio: 16 / 9;
  min-height: 360px;
}

.studio-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.studio-mini-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
  background: var(--black);
}

.studio-mini-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 520ms ease, transform 900ms ease;
}

.studio-mini-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.studio-hero-photo img,
.studio-mini-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.03);
  transition: transform 260ms ease;
}

.studio-hero-photo:hover img,
.studio-mini-box:hover img {
  transform: scale(1.025);
}

.site-footer {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  padding: 0;
}

.footer-visual {
  position: absolute;
  inset: 0;
}

.footer-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.36) 46%, rgba(0, 0, 0, 0.06) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 34%);
}

.footer-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 92px 0 120px;
}

.footer-content h2 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 5vw, 4.8rem);
  line-height: 0.98;
}

address {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 760px;
  margin-top: 30px;
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 500;
}

.footer-content > p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
  font-weight: 500;
}

.footer-content > p:not(.eyebrow):last-of-type {
  margin-bottom: 0;
}

address a,
address span {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 15px;
  color: var(--white);
  backdrop-filter: blur(10px);
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

address a:hover,
address a:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(235, 64, 62, 0.26);
  transform: translateY(-2px);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 40px));
  margin: -76px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 22px;
  padding-bottom: 28px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-media {
    opacity: 1;
  }

  .hero-media img {
    width: 112vw;
    object-position: 68% center;
  }

  .split,
  .tools-heading,
  .expertise-panel,
  .life-layout,
  .studio-layout {
    grid-template-columns: 1fr;
  }

  .studio-gallery {
    max-width: 820px;
  }

  .expertise-panel-reverse .expertise-media {
    order: 0;
  }

  .expertise-media,
  .expertise-media video {
    min-height: 0;
  }

  .expertise-media {
    aspect-ratio: 16 / 9;
  }

  .expertise-copy {
    padding: 22px 12px 16px;
  }

  .tool-item {
    width: 164px;
  }

  .tools-heading {
    gap: 32px;
    margin-bottom: 38px;
  }

  .tools-heading-main h2 {
    font-size: 2.45rem;
  }

  .tools-heading-copy {
    align-self: start;
    padding-top: 0;
  }

  .clients-marquee img {
    width: 210px;
    height: 96px;
  }

  .footer-inner {
    align-items: center;
    padding: 96px 0 116px;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 16px 20px;
  }

  .nav-links {
    display: none;
  }

  .hero-content {
    width: min(100% - 32px, var(--container));
    justify-content: flex-end;
    padding-bottom: 42px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(247, 243, 237, 0.92) 0%, rgba(247, 243, 237, 0.62) 48%, rgba(247, 243, 237, 0.04) 100%),
      linear-gradient(0deg, rgba(247, 243, 237, 0.78) 0%, rgba(247, 243, 237, 0.18) 54%, rgba(247, 243, 237, 0) 100%);
  }

  .hero-media img {
    width: 150vw;
    object-position: 66% center;
    transform: translateX(-12vw);
  }

  .hero-logo {
    width: 178px;
    margin-bottom: 28px;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section {
    padding: 68px 0;
  }

  .logo-marquee-group {
    gap: 12px;
    padding-right: 12px;
  }

  .tool-item {
    width: 150px;
    min-height: 150px;
    padding: 16px;
  }

  .tool-item img {
    width: 56px;
    height: 56px;
  }

  .tools-heading-main h2 {
    font-size: 2rem;
  }

  .tools-heading-copy p {
    font-size: 0.96rem;
  }

  .card-index {
    margin-bottom: 30px;
  }

  .expertise-panel {
    gap: 18px;
    padding: 12px;
  }

  .expertise-copy {
    padding: 16px 6px 10px;
  }

  .expertise-copy h3 {
    font-size: 1.65rem;
  }

  .expertise-copy p {
    font-size: 0.94rem;
  }

  .expertise-tags span {
    font-size: 0.66rem;
    padding: 8px 10px;
  }

  .life-collage {
    grid-template-columns: 1fr;
  }

  .life-photo {
    aspect-ratio: 4 / 5;
  }

  .client-logo-box {
    padding: 18px 0;
  }

  .clients-marquee .logo-marquee-group {
    gap: 14px;
    padding-right: 14px;
  }

  .clients-marquee img {
    width: 178px;
    height: 84px;
    padding: 18px 22px;
  }

  .studio-gallery,
  .studio-points {
    grid-template-columns: 1fr;
  }

  .studio-hero-photo {
    min-height: 0;
  }

  .studio-mini-grid {
    grid-template-columns: 1fr;
  }

  .footer-visual img {
    object-position: 62% center;
  }

  .footer-inner {
    min-height: 100svh;
    padding: 96px 0 124px;
  }

  .footer-content h2 {
    font-size: clamp(2.35rem, 12vw, 3.45rem);
  }

  address {
    display: grid;
    gap: 10px;
    margin-top: 24px;
  }

  address a,
  address span {
    padding: 13px 14px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
