:root {
  --blue: #b8cde4;
  --blue-soft: #dce8f4;
  --ink: #111111;
  --muted: #4d4a47;
  --line: #d7d7d7;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(17, 17, 17, 0.10);
  --serif: Baskerville, "Libre Baskerville", "Times New Roman", serif;
  --script: "Snell Roundhand", "Brush Script MT", cursive;
  --sans: Avenir, "Avenir Next", Helvetica, Arial, sans-serif;
  --max: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.hidden-field {
  display: none;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 20;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  clip: auto;
  background: var(--ink);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 34px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);
  backdrop-filter: blur(12px);
  transition: box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 35px rgba(17, 17, 17, 0.06);
  border-color: rgba(17, 17, 17, 0.12);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}

.brand-small {
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
}

.brand-script {
  font-family: var(--script);
  font-size: 36px;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: currentColor;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 0;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: var(--ink);
}

.section {
  padding: 96px 0;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

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

.blue-band {
  background: var(--blue);
}

.hero {
  height: calc(100svh - var(--header-height) - 64px);
  min-height: calc(100svh - var(--header-height) - 64px);
  max-height: 760px;
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1fr);
  align-items: stretch;
  padding: 0;
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: var(--blue-soft);
}

.hero-media img,
.visual-placeholder {
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
}

.hero-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  max-width: 660px;
  padding: 70px 76px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.92), rgba(255,255,255,1) 24%),
    var(--white);
}

.intro-line,
.serif-label {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: 52px;
  line-height: 1.12;
  font-weight: 400;
  text-transform: uppercase;
}

.hero p:not(.intro-line) {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 25px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--blue);
  color: var(--ink);
  border-color: var(--blue);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #a8c0da;
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.intro-band {
  padding: 54px 0;
}

.split-intro {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr auto;
  align-items: center;
  gap: 48px;
}

.script-heading {
  margin: 0;
  font-family: var(--script);
  font-size: 72px;
  line-height: 1.05;
  font-weight: 400;
}

.split-intro .script-heading {
  font-size: 88px;
}

.split-intro p:not(.serif-label) {
  margin: 0;
  max-width: 580px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid currentColor;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
  text-decoration: none;
}

.text-link::after {
  content: ">";
  margin-left: 9px;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1.1fr);
  gap: 72px;
  align-items: center;
}

.portrait-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--blue-soft);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.copy-column p {
  margin: 24px 0 0;
}

.large-copy {
  font-size: 28px;
  line-height: 1.55;
}

.metrics {
  padding: 48px 0;
}

.caps-heading {
  margin: 0 0 28px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  text-align: center;
}

.metric-grid div {
  display: grid;
  gap: 3px;
}

.metric-grid strong {
  font-size: 32px;
  line-height: 1;
  font-weight: 400;
}

.metric-grid span {
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.section-lede {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
}

.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-button {
  min-height: 39px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-button.is-active,
.filter-button:hover,
.filter-button:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px 28px;
}

.portfolio-item {
  display: grid;
  gap: 18px;
}

.media-frame {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  background: var(--blue-soft);
  border: 1px solid rgba(17, 17, 17, 0.10);
}

.media-frame img,
.video-placeholder {
  width: 100%;
  height: 100%;
}

.media-frame img {
  object-fit: cover;
  transition: transform 500ms ease;
}

.portfolio-item:hover .media-frame img {
  transform: scale(1.025);
}

.video-placeholder {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.18)),
    var(--blue-soft);
  color: var(--muted);
  text-align: center;
}

.video-placeholder span {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.video-placeholder strong {
  max-width: 220px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 400;
}

.portfolio-copy p {
  margin: 0 0 6px;
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
}

.portfolio-copy h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 400;
}

.portfolio-copy span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.partners {
  padding-top: 70px;
  background: linear-gradient(var(--white), var(--white) 74%, var(--blue-soft) 74%, var(--blue-soft));
  text-align: center;
}

.partner-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.partner-wall span {
  display: grid;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 21px;
  line-height: 1.15;
  text-transform: uppercase;
}

.partner-note {
  margin: 26px 0 0;
  font-size: 17px;
}

.services {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  padding: 0;
}

.image-band {
  display: grid;
  place-items: center;
  min-height: 610px;
  overflow: hidden;
  background: var(--blue-soft);
}

.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-placeholder {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  min-height: inherit;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.20)),
    var(--blue-soft);
  color: var(--muted);
  text-align: center;
}

.visual-placeholder span {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.visual-placeholder strong {
  max-width: 260px;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.16;
  font-weight: 400;
}

.service-content {
  width: auto;
  max-width: 760px;
  margin: 0;
  padding: 86px 64px;
  align-self: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

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

.service-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #87a8c8;
}

.service-icon svg,
.contact-list svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-item h3 {
  margin: 12px 0 8px;
  font-family: var(--sans);
  font-size: 13px;
  text-transform: uppercase;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.media-tech {
  padding: 56px 0;
}

.two-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.plain-panel {
  min-height: 280px;
  display: grid;
  align-content: space-between;
  gap: 28px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.plain-panel .caps-heading {
  text-align: left;
  margin-bottom: 14px;
}

.plain-panel p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.setup-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.setup-list li {
  border-top: 1px solid rgba(17, 17, 17, 0.18);
  padding-top: 9px;
  font-family: var(--sans);
  font-size: 13px;
  text-transform: uppercase;
}

.contact-copy {
  align-self: start;
}

.contact-list {
  display: grid;
  gap: 15px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 13px;
  color: var(--muted);
}

.contact-list a {
  text-decoration: none;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form span {
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 13px 14px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.full {
  grid-column: 1 / -1;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.form-status.is-success {
  color: #285c3d;
}

.form-status.is-error {
  color: #9d2f2f;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  padding: 28px 24px;
  background: var(--blue);
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  border-color: currentColor;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

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

@media (max-width: 1060px) {
  .site-header {
    padding-inline: 22px;
  }

  .site-nav {
    gap: 15px;
    font-size: 11px;
  }

  .hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    max-height: none;
    align-content: start;
  }

  .hero-media {
    min-height: 430px;
    height: auto;
  }

  .hero-copy {
    max-width: none;
    padding: 58px 40px 70px;
  }

  .metric-grid,
  .partner-wall {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services {
    grid-template-columns: 1fr;
  }

  .image-band {
    min-height: 460px;
  }

  .service-content {
    max-width: none;
    padding-inline: 34px;
  }
}

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

  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 22px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-media {
    order: 2;
    min-height: 0;
    height: 150px;
  }

  .hero-copy {
    order: 1;
    padding: 16px 24px 20px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p:not(.intro-line) {
    font-size: 19px;
  }

  .section {
    padding: 70px 0;
  }

  .section-inner {
    width: min(calc(100% - 32px), var(--max));
  }

  .split-intro,
  .about-grid,
  .contact-grid,
  .two-panel-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .script-heading,
  .split-intro .script-heading {
    font-size: 58px;
  }

  .large-copy {
    font-size: 23px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 12px;
  }

  .section-title-row {
    display: block;
  }

  .desktop-link {
    margin-top: 18px;
  }

  .portfolio-grid,
  .service-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .partner-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-frame {
    aspect-ratio: 4 / 5;
  }

  .plain-panel {
    min-height: 0;
    padding: 26px;
  }
}

@media (max-width: 480px) {
  .brand-script {
    font-size: 31px;
  }

  .hero-media {
    height: 150px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .script-heading,
  .split-intro .script-heading {
    font-size: 50px;
  }

  .caps-heading {
    font-size: 26px;
  }

  .partner-wall,
  .setup-list {
    grid-template-columns: 1fr;
  }

  .partner-wall span {
    min-height: 64px;
  }
}
