:root {
  color-scheme: light;
  --ink: #171417;
  --muted: #6c676b;
  --line: #e7e2e5;
  --paper: #fbf9fa;
  --panel: #ffffff;
  --clay: #ec3671;
  --pink-soft: #ffe8f0;
  --charcoal: #2a2729;
  --graphite: #3b363a;
  --shadow: 0 24px 70px rgba(23, 20, 23, 0.14);
  --page-gutter: clamp(29px, 5.5vw, 77px);
  --content-gutter: clamp(56px, 8.8vw, 184px);
  --hero-gutter: clamp(12px, 1.6vw, 40px);
  --hero-max-width: 9999px;
  --hero-frame-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--page-gutter);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(23, 20, 23, 0.09);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: clamp(186px, 18vw, 250px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  height: calc((min(calc(100vw - (var(--hero-gutter) * 2)), var(--hero-max-width)) * 0.5625) + (var(--hero-frame-y) * 2));
  min-height: 680px;
  display: grid;
  align-items: start;
  padding: max(80px, calc((min(calc(100vh - 70px), calc((100vw - (var(--hero-gutter) * 2)) * 0.5625)) - 580px) / 2)) calc(var(--hero-gutter) + 28px) clamp(72px, 9vw, 116px);
  background: #111011;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  top: var(--hero-frame-y);
  bottom: var(--hero-frame-y);
  left: 50%;
  width: min(calc(100% - (var(--hero-gutter) * 2)), var(--hero-max-width));
  transform: translateX(-50%);
  z-index: -1;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(12, 10, 12, 0.86), rgba(12, 10, 12, 0.48) 48%, rgba(12, 10, 12, 0.1)),
    linear-gradient(0deg, rgba(12, 10, 12, 0.52), rgba(12, 10, 12, 0.02) 46%);
}

.hero-media {
  position: absolute;
  top: var(--hero-frame-y);
  bottom: var(--hero-frame-y);
  left: 50%;
  width: min(calc(100% - (var(--hero-gutter) * 2)), var(--hero-max-width));
  transform: translateX(-50%);
  z-index: -2;
  overflow: hidden;
  border-radius: 8px;
  background: #171417;
}

.hero-media::before {
  display: none;
}

.hero-media img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-copy {
  width: min(780px, 100%);
  color: #fff;
}

.eyebrow,
.section-kicker,
.work-type {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ff8ab0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(4.5rem, 11vw, 9rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 4.8rem);
}

h3 {
  font-size: 1.18rem;
}

.hero-lede {
  width: min(680px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.8vw, 1.34rem);
}

.hero-slogan {
  width: min(680px, 100%);
  margin: 18px 0 0;
  color: #fff;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 900;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 20px;
  font-weight: 850;
}

.button-primary {
  background: var(--clay);
  color: #fff;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: #fff;
}

.section {
  padding: clamp(64px, 9vw, 118px) var(--content-gutter);
}

.section-inner {
  width: 100%;
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.48fr) minmax(420px, 0.52fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.intro-grid p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
}

.catchphrase {
  margin: 28px 0 0;
  color: var(--clay);
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 950;
}

.section-heading {
  width: min(960px, 100%);
  margin-bottom: clamp(28px, 5vw, 54px);
}

.work {
  background: #fff;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(23, 20, 23, 0.06);
}

.work-card img {
  width: 100%;
  aspect-ratio: 30 / 19;
  object-fit: contain;
  background: #faf9f9;
}

.work-card-body {
  padding: 22px;
}

.work-card-body p {
  color: var(--muted);
}

.work-card-body .work-type {
  color: var(--clay);
}

.work-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  border-radius: 6px;
  padding: 0 14px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 850;
}

.work-link:hover {
  background: var(--clay);
}

.services {
  background: #f2eef1;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.58fr) minmax(520px, 1fr);
  gap: clamp(30px, 7vw, 84px);
}

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

.service-list article {
  padding: 24px;
  border-left: 4px solid var(--clay);
  background: rgba(255, 255, 255, 0.72);
}

.service-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.contact-band {
  padding: clamp(64px, 9vw, 118px) var(--content-gutter);
  background: var(--charcoal);
  color: #fff;
}

.contact-panel {
  display: grid;
  width: 100%;
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.6fr) minmax(360px, 0.4fr);
  gap: clamp(30px, 7vw, 84px);
  align-items: center;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.email-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.email-row span,
.email-row strong {
  display: block;
}

.email-row span {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.email-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 18px;
  background: var(--clay);
  color: #fff;
  font-weight: 850;
  white-space: nowrap;
}

.contact-link {
  display: block;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.14);
}

.contact-link span,
.contact-link strong {
  display: block;
}

.contact-link span {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px var(--page-gutter);
  background: #111011;
  color: rgba(255, 255, 255, 0.78);
}

.footer-logo {
  width: 188px;
  max-width: 64vw;
  margin-bottom: 10px;
  filter: brightness(2.6);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 720px;
    padding-right: calc(var(--page-gutter) + 10px);
    padding-left: calc(var(--page-gutter) + 10px);
  }

  .hero-media img {
    object-fit: cover;
    object-position: 58% center;
  }

  .intro-grid,
  .services-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .work-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 6.2rem);
  }

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

@media (max-width: 440px) {
  .brand-logo {
    width: 170px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .email-row {
    grid-template-columns: 1fr;
  }

  .email-button {
    width: 100%;
  }
}
