:root {
  --ink: #13212b;
  --muted: #5c6770;
  --soft: #f5f8f9;
  --line: #d9e4e8;
  --teal: #0c7f94;
  --teal-dark: #075c6c;
  --blue: #143f6b;
  --gold: #c98d2b;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(9, 38, 55, 0.14);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 228, 232, 0.76);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0;
}

.brand img,
.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: #273540;
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #eef7f8;
  color: var(--teal-dark);
  outline: none;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.header-cta {
  background: var(--ink);
  color: var(--white);
  white-space: nowrap;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--teal-dark);
  outline: none;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  place-items: center;
  padding: 0;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 3px 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(790px, 82svh);
  display: grid;
  align-items: center;
  padding: clamp(64px, 9vw, 120px) clamp(18px, 6vw, 76px) clamp(40px, 7vw, 88px);
  background: #111e27;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: grid;
  grid-template-columns: 1.35fr 0.7fr;
  gap: 16px;
  padding: 28px;
  opacity: 0.9;
  transform: scale(1.03);
}

.hero-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(0.95) contrast(1.04);
}

.hero-shot-main {
  grid-row: span 2;
}

.hero-shot-small,
.hero-shot-accent {
  min-height: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(11, 29, 38, 0.93) 0%, rgba(11, 29, 38, 0.78) 44%, rgba(11, 29, 38, 0.4) 100%),
    linear-gradient(0deg, rgba(11, 29, 38, 0.65), rgba(11, 29, 38, 0.05));
}

.hero-content {
  width: min(720px, 100%);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8ce3e9;
}

.hero h1,
.section-heading h2,
.profile-panel h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(3.4rem, 11vw, 8rem);
  font-weight: 950;
}

.hero-copy {
  width: min(680px, 100%);
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.7vw, 1.24rem);
}

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

.button-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  outline: none;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.11);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.44);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(620px, 100%);
  margin: 44px 0 0;
}

.hero-metrics div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(6, 18, 25, 0.28);
}

.hero-metrics dt {
  color: #9bdce3;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--white);
  font-weight: 850;
}

.section {
  padding: clamp(72px, 9vw, 118px) clamp(18px, 6vw, 76px);
}

.section-heading {
  width: min(800px, 100%);
  margin: 0 auto clamp(34px, 5vw, 58px);
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading-split {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.6fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  text-align: left;
}

.section-heading h2,
.profile-panel h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.section-heading p:not(.eyebrow),
.profile-panel p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
}

.service-band,
.process-band {
  background: var(--soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.service-card,
.process-track article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  min-height: 260px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.service-index,
.process-track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e6f6f7;
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 900;
}

.service-card h3,
.work-content h3,
.process-track h3 {
  margin: 22px 0 10px;
  line-height: 1.12;
  font-size: 1.35rem;
}

.service-card p,
.process-track p,
.work-content span,
.client-list,
.form-note {
  color: var(--muted);
}

.service-card p,
.process-track p {
  margin: 0;
}

.work-band {
  background: var(--white);
}

.work-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.work-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.work-card.featured {
  grid-row: span 2;
  min-height: 740px;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 19, 29, 0) 30%, rgba(5, 19, 29, 0.86) 100%);
}

.work-card:hover img {
  transform: scale(1.035);
}

.work-content {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: var(--white);
}

.work-content p {
  margin: 0;
  color: #8ce3e9;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.work-content h3 {
  margin: 8px 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.7rem);
}

.work-content span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
}

.process-track {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.process-track article {
  min-height: 245px;
  padding: 22px;
}

.collaboration-band {
  background: #ffffff;
}

.collaboration-layout,
.contact-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
}

.client-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.client-list li {
  position: relative;
  padding-left: 18px;
  color: #293842;
  font-weight: 750;
}

.client-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.logo-board {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.logo-board img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.contact-band {
  background:
    linear-gradient(90deg, #f7fbfb 0%, #ffffff 46%, #eef7f6 100%);
}

.contact-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  align-items: stretch;
}

.profile-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.46fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
}

.profile-panel img {
  width: 100%;
  min-height: 430px;
  max-height: 540px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.brief-form {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.brief-form label {
  display: grid;
  gap: 8px;
  color: #273540;
  font-weight: 800;
}

.brief-form input,
.brief-form select,
.brief-form textarea {
  width: 100%;
  border: 1px solid #cbd9de;
  border-radius: 6px;
  background: #fbfdfd;
  color: var(--ink);
  padding: 12px 13px;
}

.brief-form textarea {
  resize: vertical;
  min-height: 132px;
}

.brief-form input:focus,
.brief-form select:focus,
.brief-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(12, 127, 148, 0.16);
}

.brief-form .button {
  width: 100%;
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 6vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a:not(.footer-brand) {
  color: var(--teal-dark);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .site-nav {
    order: 4;
    grid-column: 1 / -1;
    justify-self: stretch;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 4px;
  }

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

  .menu-button {
    display: grid;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

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

  .process-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .collaboration-layout,
  .contact-layout,
  .section-heading-split {
    grid-template-columns: 1fr;
  }

  .profile-panel {
    grid-template-columns: minmax(210px, 0.55fr) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    padding: 10px 16px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 82svh;
    padding: 72px 18px 36px;
  }

  .hero-media {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }

  .hero-shot-small,
  .hero-shot-accent {
    display: none;
  }

  .hero-shot {
    border-radius: 0;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(8, 24, 32, 0.92) 0%, rgba(8, 24, 32, 0.74) 100%);
  }

  .hero-metrics,
  .service-grid,
  .work-grid,
  .process-track,
  .client-list,
  .profile-panel {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    padding: 13px 14px;
  }

  .section {
    padding: 64px 18px;
  }

  .section-heading {
    text-align: left;
  }

  .service-card,
  .process-track article {
    min-height: auto;
  }

  .work-card,
  .work-card.featured {
    min-height: 390px;
  }

  .profile-panel img {
    min-height: 360px;
    max-height: 460px;
  }

  .brief-form {
    padding: 20px;
  }

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

@media (max-width: 430px) {
  .hero-actions .button {
    width: 100%;
  }

  .work-card,
  .work-card.featured {
    min-height: 320px;
  }

  .work-content {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
}

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