:root {
  --blue: #0066a6;
  --blue-strong: #003a70;
  --cyan: #0099d8;
  --coral: #ff7a3d;
  --gold: #f4b740;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #dbe6ee;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --soft-warm: #fff8ef;
  --shadow: 0 20px 60px rgba(0, 58, 112, 0.14);
  --radius: 8px;
  --container: 1180px;
  --font-body: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-head: Manrope, Inter, "Segoe UI", Roboto, Arial, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(0, 153, 216, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(219, 230, 238, 0.72);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1240px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-family: var(--font-head);
  font-size: 17px;
  line-height: 1;
}

.brand-copy span {
  color: var(--muted);
  font-size: 12px;
}

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

.nav-links a,
.nav-phone {
  border-radius: 999px;
  padding: 10px 13px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active,
.nav-phone:hover {
  color: var(--blue);
  background: rgba(0, 102, 166, 0.08);
}

.nav-phone {
  justify-self: end;
  color: var(--blue-strong);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(720px, 78svh);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: end;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background:
    image-set(url("assets/hero-branding.png") type("image/png")) center 44% / cover no-repeat;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 18, 32, 0.86) 0%, rgba(4, 18, 32, 0.62) 46%, rgba(4, 18, 32, 0.16) 100%),
    linear-gradient(0deg, rgba(0, 58, 112, 0.22), rgba(0, 58, 112, 0.22));
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 54px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.intro h2,
.contact h2,
.work-copy h2 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1 {
  max-width: 760px;
  font-size: 88px;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
  line-height: 1.45;
}

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

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 34px rgba(255, 122, 61, 0.28);
}

.btn-primary:hover {
  background: #f16424;
}

.btn-light {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero-stats {
  display: grid;
  width: min(720px, 100%);
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 48px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-stats dt {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 850;
  line-height: 1;
}

.hero-stats dd {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.section,
.band {
  padding: 96px 0;
}

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

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 64px;
  align-items: start;
}

.intro h2,
.section-head h2,
.contact h2,
.work-copy h2 {
  font-size: 56px;
}

.intro p:last-child {
  margin: 40px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section-head {
  display: grid;
  max-width: 780px;
  gap: 16px;
  margin-bottom: 40px;
}

.section-head.compact {
  margin-bottom: 0;
}

.section-head p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.service-card {
  min-height: 278px;
  display: grid;
  align-content: start;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 58, 112, 0.04);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  border-color: rgba(0, 153, 216, 0.62);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-icon {
  color: var(--cyan);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 850;
}

.service-card h3,
.product-list h3,
.timeline h3,
.insight-grid h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: 0;
}

.service-card p,
.timeline p,
.product-list p,
.insight-grid span {
  margin: 0;
  color: var(--muted);
}

.service-card a,
.text-link {
  width: fit-content;
  margin-top: auto;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.service-card a::after,
.text-link::after {
  content: " →";
  color: var(--coral);
}

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

.product-list {
  display: grid;
  gap: 14px;
}

.product-list article {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
}

.product-list img {
  width: 160px;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.timeline li {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: #fff;
  border-right: 1px solid var(--line);
}

.timeline li:last-child {
  border-right: 0;
}

.timeline span {
  color: var(--coral);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 850;
}

.work {
  background: linear-gradient(180deg, var(--soft) 0%, #fff 100%);
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 56px;
  align-items: center;
}

.work-copy p:not(.section-kicker) {
  margin: 22px 0;
  color: var(--muted);
  font-size: 18px;
}

.work-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.work-gallery figure {
  position: relative;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blue-strong);
}

.work-gallery .work-main {
  grid-row: span 2;
  min-height: 520px;
}

.work-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.insight-grid article {
  display: grid;
  min-height: 210px;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
}

.insight-grid p {
  width: fit-content;
  margin: 0;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--soft-warm);
  color: #9a4b1c;
  font-size: 12px;
  font-weight: 850;
}

.contact {
  background: linear-gradient(135deg, var(--blue-strong), var(--blue));
  color: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 54px;
  align-items: start;
}

.contact .section-kicker {
  color: #9de0ff;
}

.contact-copy > p:not(.section-kicker) {
  max-width: 560px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

address {
  display: grid;
  gap: 10px;
  font-style: normal;
}

address a,
address span {
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.lead-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
}

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

label {
  display: grid;
  gap: 7px;
}

label span {
  color: var(--blue-strong);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 153, 216, 0.13);
}

.form-submit {
  width: 100%;
  margin-top: 2px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

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

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

@media (max-width: 1040px) {
  .hero h1 {
    font-size: 70px;
  }

  .intro h2,
  .section-head h2,
  .contact h2,
  .work-copy h2 {
    font-size: 46px;
  }

  .nav {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    justify-self: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    border-radius: 6px;
    padding: 13px;
  }

  .nav-phone {
    display: none;
  }

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

  .timeline li:nth-child(2) {
    border-right: 0;
  }

  .timeline li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .product-layout,
  .work-grid,
  .contact-layout,
  .intro-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container,
  .hero-inner {
    width: min(100% - 28px, var(--container));
  }

  .section,
  .band {
    padding: 68px 0;
  }

  .brand-copy span {
    display: none;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-inner {
    padding: 72px 0 36px;
  }

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

  .hero-lead {
    font-size: 18px;
  }

  .intro h2,
  .section-head h2,
  .contact h2,
  .work-copy h2 {
    font-size: 38px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .hero-stats div {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 14px;
  }

  .hero-stats dd {
    margin: 0;
  }

  .service-grid,
  .timeline,
  .insight-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .timeline li,
  .timeline li:nth-child(2),
  .timeline li:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline li:last-child {
    border-bottom: 0;
  }

  .product-list article {
    grid-template-columns: 112px 1fr;
    gap: 14px;
  }

  .product-list img {
    width: 112px;
  }

  .work-gallery {
    grid-template-columns: 1fr;
  }

  .work-gallery .work-main,
  .work-gallery figure {
    min-height: 280px;
  }

  .footer-inner {
    min-height: 92px;
    display: grid;
    align-content: center;
  }
}

@media (max-width: 420px) {
  .nav {
    width: calc(100% - 24px);
    min-height: 66px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

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

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

  .intro h2,
  .section-head h2,
  .contact h2,
  .work-copy h2 {
    font-size: 34px;
  }

  .lead-form {
    padding: 18px;
  }
}

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