:root {
  --blue: #00637d;
  --blue-dark: #004a60;
  --cyan: #62bfd1;
  --ink: #25292d;
  --muted: #626b72;
  --line: #dfe4e7;
  --paper: #f5f8f9;
  --white: #fff;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.brand {
  width: 285px;
  height: 74px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 74px;
  object-fit: contain;
}
.site-header nav { display: flex; align-items: center; gap: 27px; }
.site-header nav a {
  text-decoration: none;
  font-size: .87rem;
  font-weight: 750;
  letter-spacing: .015em;
}
.site-header nav a:hover { color: var(--blue); }
.nav-cta { color: #fff !important; background: var(--blue); padding: 12px 18px; }
.nav-cta:hover { background: var(--blue-dark); }
.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 14px;
  font: inherit;
  font-weight: 800;
}

.hero {
  min-height: 690px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr);
  gap: 76px;
  align-items: center;
  padding: 78px max(24px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(90deg, rgba(0,99,125,.055) 1px, transparent 1px),
    linear-gradient(rgba(0,99,125,.055) 1px, transparent 1px),
    linear-gradient(120deg, #fbfcfd 0 63%, #edf3f5 63%);
  background-size: 52px 52px, 52px 52px, 100% 100%;
}
.hero::after {
  content: "MW3D";
  position: absolute;
  right: -38px;
  bottom: -82px;
  font-size: clamp(8rem, 19vw, 18rem);
  line-height: 1;
  letter-spacing: -.09em;
  font-weight: 900;
  color: rgba(0,99,125,.045);
  pointer-events: none;
}
.hero-copy, .hero-collage { position: relative; z-index: 1; }
.eyebrow, .kicker {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 38px; height: 2px; background: var(--blue); }
h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1 {
  margin-bottom: 27px;
  max-width: 720px;
  font-size: clamp(3.35rem, 6.4vw, 6.4rem);
  letter-spacing: -.065em;
}
h1 em { color: var(--blue); font-style: normal; }
h2 {
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 4vw, 4.35rem);
  letter-spacing: -.045em;
}
.hero-lead {
  max-width: 690px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 1.2rem;
}
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid var(--blue);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 850;
}
.button.primary { color: #fff; background: var(--blue); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { background: #fff; }
.button.secondary:hover { color: var(--blue); }
.trust-line {
  display: flex;
  gap: 26px;
  margin: 35px 0 0;
  padding: 30px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 750;
}
.trust-line li::before { content: "✓"; margin-right: 8px; color: var(--blue); }

.hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 225px 185px;
  gap: 14px;
  filter: drop-shadow(24px 26px 0 rgba(0,99,125,.1));
}
.photo-slot {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--ink);
  border: 1px solid #cad6da;
  background:
    radial-gradient(circle at 74% 24%, rgba(98,191,209,.34) 0 7%, transparent 7.5%),
    linear-gradient(145deg, #eef4f6, #dfe8eb);
}
.photo-slot::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -34px;
  top: -46px;
  border: 28px solid rgba(0,99,125,.1);
  border-radius: 50%;
}
.photo-slot-large { grid-row: 1 / 3; }
.photo-slot.accent { color: #fff; background: linear-gradient(145deg, #0081a1, #00637d); border-color: #00637d; }
.photo-slot.dark { color: #fff; background: linear-gradient(145deg, #353b40, #23272b); border-color: #23272b; }
.slot-number { position: absolute; left: 22px; top: 18px; font-family: monospace; font-weight: 800; opacity: .72; }
.photo-slot strong { position: relative; font-size: 1.14rem; }
.photo-slot small { position: relative; opacity: .72; }

.intro-band {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 20px max(24px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: var(--blue);
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.intro-band p { margin: 0; }
.intro-band a { text-decoration: none; }

.section { padding: 112px max(24px, calc((100vw - var(--max)) / 2)); }
.section-heading {
  display: grid;
  grid-template-columns: .52fr 1.35fr .78fr;
  gap: 45px;
  align-items: start;
  margin-bottom: 62px;
}
.section-heading .kicker { margin-top: 12px; }
.section-heading h2, .section-heading > p:last-child { margin-bottom: 0; }
.section-heading > p:last-child { color: var(--muted); }
.section-heading.compact { grid-template-columns: .52fr 2.13fr; }

.idea-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.idea-card {
  min-height: 285px;
  position: relative;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.idea-card.featured {
  grid-row: span 2;
  min-height: 570px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background:
    radial-gradient(circle at 82% 17%, rgba(98,191,209,.2) 0 13%, transparent 13.5%),
    var(--ink);
}
.card-number { color: var(--blue); font-family: monospace; font-weight: 850; }
.featured .card-number { color: #72bed0; }
.idea-card h3 { margin: 45px 0 16px; font-size: 1.45rem; }
.idea-card.featured h3 { margin-top: 0; font-size: 2.25rem; }
.idea-card p { margin-bottom: 0; color: var(--muted); }
.idea-card.featured p { color: #bcc5c9; }
.open-idea { background: var(--paper); }
.open-idea a { display: inline-block; margin-top: 24px; color: var(--blue); font-weight: 850; text-decoration: none; }

.personalization {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 90px;
  color: #fff;
  background: var(--ink);
}
.kicker.light { color: #91d3e1; }
.personalization-copy p:last-child { max-width: 540px; color: #c0c8cc; font-size: 1.08rem; }
.option-list { border-top: 1px solid #50575c; }
.option-list > div {
  display: grid;
  grid-template-columns: 48px .85fr 1.15fr;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #50575c;
}
.option-list span { color: #72bed0; font-family: monospace; font-weight: 800; }
.option-list strong { font-size: 1.08rem; }
.option-list p { margin: 0; color: #b9c2c6; font-size: .9rem; }

.gallery { background: var(--paper); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item { margin: 0; background: #fff; border: 1px solid var(--line); }
.gallery-item-wide { grid-column: span 2; }
.photo-placeholder {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  color: #567078;
  background:
    linear-gradient(135deg, rgba(0,99,125,.07) 25%, transparent 25%) -20px 0/40px 40px,
    linear-gradient(225deg, rgba(0,99,125,.07) 25%, transparent 25%) -20px 0/40px 40px,
    linear-gradient(315deg, rgba(0,99,125,.07) 25%, transparent 25%) 0 0/40px 40px,
    linear-gradient(45deg, rgba(0,99,125,.07) 25%, #edf3f5 25%) 0 0/40px 40px;
}
.gallery-item-wide .photo-placeholder { aspect-ratio: 16 / 8.8; }
.photo-placeholder::after {
  content: "+";
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-top: 15px;
  border: 1px solid #97adb4;
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 300;
}
.photo-placeholder span { font-size: 1rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.photo-placeholder small { margin-top: 4px; }
.gallery-item figcaption { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px 22px; }
.gallery-item figcaption span { color: var(--muted); font-size: .88rem; }

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 4px solid var(--blue);
  list-style: none;
}
.process-list li { padding: 30px 26px; border-right: 1px solid var(--line); }
.process-list li:last-child { border-right: 0; }
.process-list li > span { display: block; margin-bottom: 45px; color: var(--blue); font-family: monospace; font-weight: 850; }
.process-list h3 { font-size: 1.16rem; }
.process-list p { margin-bottom: 0; color: var(--muted); font-size: .91rem; }

.contact {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 90px;
  padding: 100px max(24px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: var(--blue);
}
.contact-copy h2 { max-width: 720px; font-size: clamp(2.7rem, 5vw, 5.1rem); }
.contact-copy > p:not(.kicker) { max-width: 620px; color: #d4edf2; font-size: 1.06rem; }
.contact-actions { margin-top: 35px; }
.button.white { color: var(--blue-dark); background: #fff; border-color: #fff; }
.button.outline-light { color: #fff; border-color: rgba(255,255,255,.62); }
.button.outline-light:hover { background: rgba(255,255,255,.1); }
.request-card { padding: 34px; color: var(--ink); background: #fff; box-shadow: 20px 20px 0 rgba(0,45,58,.18); }
.request-label { margin: 0 0 20px; color: var(--blue); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.request-card ul { margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.request-card li { display: grid; grid-template-columns: 38px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .92rem; font-weight: 700; }
.request-card li span { color: var(--blue); font-family: monospace; }
.request-card > a { display: block; font-size: 1.35rem; font-weight: 900; text-decoration: none; }
.request-card > small { color: var(--muted); }

footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: 270px 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 38px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}
footer img { width: 270px; height: auto; object-fit: contain; }
footer nav { display: flex; gap: 22px; }
footer a:hover { color: var(--blue); }

@media (max-width: 1020px) {
  .site-header { min-height: 78px; }
  .brand { width: 230px; }
  .menu-button { display: block; }
  .site-header nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding: 20px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: 9px; }
  .hero { grid-template-columns: 1fr; gap: 55px; padding-top: 64px; }
  .hero-copy { max-width: 800px; }
  .hero-collage { max-width: 700px; width: 100%; }
  .section-heading, .section-heading.compact { grid-template-columns: 1fr; gap: 15px; }
  .idea-grid { grid-template-columns: 1fr 1fr; }
  .idea-card.featured { grid-row: auto; grid-column: 1 / -1; min-height: 330px; }
  .personalization { grid-template-columns: 1fr; gap: 45px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item-wide { grid-column: span 2; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; gap: 50px; }
  .request-card { max-width: 680px; }
  footer { grid-template-columns: 1fr; }
  footer img { width: 260px; }
}

@media (max-width: 640px) {
  h1 { font-size: clamp(2.85rem, 14vw, 4.2rem); }
  .hero { min-height: auto; }
  .hero-collage { grid-template-columns: 1fr; grid-template-rows: 270px 170px 170px; filter: drop-shadow(12px 14px 0 rgba(0,99,125,.1)); }
  .photo-slot-large { grid-row: auto; }
  .trust-line { flex-direction: column; gap: 9px; }
  .intro-band { flex-direction: column; gap: 8px; }
  .section { padding-top: 78px; padding-bottom: 78px; }
  .idea-grid { grid-template-columns: 1fr; }
  .idea-card.featured { grid-column: auto; min-height: 360px; }
  .option-list > div { grid-template-columns: 40px 1fr; }
  .option-list p { grid-column: 2; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item-wide { grid-column: auto; }
  .gallery-item-wide .photo-placeholder { aspect-ratio: 4 / 3; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-list li > span { margin-bottom: 16px; }
  .contact { padding-top: 78px; padding-bottom: 78px; }
  .contact-actions .button { width: 100%; }
  .request-card { padding: 25px; box-shadow: 12px 12px 0 rgba(0,45,58,.18); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
