:root {
  --bg: #f7f5f2;
  --surface: #ffffff;
  --text: #171717;
  --muted: #6f6b66;
  --line: #ddd8d2;
  --accent: #e98376;
  --dark: #151515;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.brand,
h1,
h2,
h3 {
  font-family: "Manrope", Arial, sans-serif;
}

.brand {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a:hover,
.text-link:hover,
.email-link:hover {
  color: var(--accent);
}

.site-header .button-small {
  justify-self: end;
}

.section {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}

.hero {
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 600;
}

.hero-copy {
  max-width: 620px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--dark);
  background: var(--dark);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 160ms ease, opacity 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.button-small {
  min-height: 40px;
  padding: 0 17px;
  font-size: 0.85rem;
}

.text-link {
  font-size: 0.92rem;
  font-weight: 500;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 44px;
}

h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 600;
}

/* The original design, with a portrait showreel and services beside it. */
.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(44px, 8vw, 110px);
}

.showreel-wrap {
  width: 100%;
  max-width: 420px;
}

.showreel {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #151515;
  object-fit: contain;
}

.work-services {
  scroll-margin-top: 40px;
  padding-top: 6px;
}

.work-services h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.work-service-list {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.work-service {
  padding: 19px 0 21px;
  border-bottom: 1px solid var(--line);
}

.work-service h3 {
  margin: 0 0 5px;
  font-size: 1.03rem;
  font-weight: 600;
}

.work-service p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.service > span {
  color: var(--muted);
  font-size: 0.78rem;
}

.service h3,
.why-item h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 600;
}

.service p,
.why-item p,
.about-copy p {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
}

.split .section-heading {
  margin-bottom: 0;
}

.why-list {
  border-top: 1px solid var(--line);
}

.why-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.about-copy {
  display: grid;
  gap: 20px;
  max-width: 620px;
  font-size: 1.08rem;
}

.contact {
  width: 100%;
  max-width: none;
  padding-left: max(24px, calc((100vw - var(--max-width)) / 2));
  padding-right: max(24px, calc((100vw - var(--max-width)) / 2));
  background: var(--dark);
  color: #fff;
  border-bottom: 0;
}

.contact .eyebrow,
.contact > p {
  color: #aaa;
}

.contact h2 {
  max-width: 850px;
}

.contact > p {
  max-width: 600px;
  margin: 24px 0 0;
  font-size: 1.04rem;
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 42px;
}

.button-light {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}

.email-link {
  color: #d5d5d5;
}

.site-footer {
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer div {
  display: grid;
  gap: 2px;
}

.site-footer strong {
  color: var(--text);
  letter-spacing: 0.08em;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 74px;
  }

  .nav {
    display: none;
  }

  .section {
    padding: 88px 0;
  }

  .hero {
    min-height: 610px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .video-note {
    flex-direction: column;
    gap: 2px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .site-header,
  .section,
  .site-footer {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header .button-small {
    padding: 0 14px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .hero-actions,
  .contact-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .service {
    grid-template-columns: 42px 1fr;
  }

  .contact {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 820px) {
  .work-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .showreel-wrap {
    max-width: 390px;
    margin: 0 auto;
  }
  .work-services {
    padding-top: 0;
  }
}

/* Match the About heading to the SALMONFX wordmark in the header. */
#about .about-wordmark {
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  letter-spacing: 0.12em;
  line-height: 1.15;
}
