/* Brand colours taken from the Multiness logo and brochure */
:root {
  color-scheme: light;
  --navy: #0f2747;
  --navy-2: #163866;
  --blue: #2b7bd0;
  --blue-dk: #1f63ad;
  --ink: #142033;
  --muted: #4d5b70;
  --bg: #ffffff;
  --tint: #eef4fb;
  --line: #d8e2ee;
  --r: 10px;
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 "Inter", system-ui, sans-serif; overflow-x: clip; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: "Inter Tight", "Inter", sans-serif; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 .5em; color: var(--navy); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
a { color: var(--blue); }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(5vw, 16px, env(safe-area-inset-left, 0px)); padding-right: max(5vw, 16px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(56px, 7vw, 96px); }
.tint { background: var(--tint); }
.sub { color: var(--muted); font-size: 18px; max-width: 640px; margin-bottom: 40px; }

.btn { display: inline-block; background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; padding: 13px 22px; border-radius: 6px; border: 2px solid var(--blue); transition: background .15s; overflow-wrap: anywhere; }
.btn:hover { background: var(--blue-dk); border-color: var(--blue-dk); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.7); }
.btn.ghost:hover { background: rgba(255,255,255,.12); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--blue); }
.nav .btn { padding: 10px 18px; }
.nav-toggle, .burger { display: none; }

/* Hero */
.hero { position: relative; min-height: min(78svh, 680px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,28,54,.92) 0%, rgba(10,28,54,.78) 45%, rgba(10,28,54,.25) 100%); }
.hero-in { position: relative; z-index: 2; width: 100%; padding-block: 72px; }
.hero h1 { color: #fff; font-size: clamp(38px, 6vw, 68px); max-width: 15ch; }
.lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 560px; color: #dbe6f3; margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Key facts strip */
.facts { background: var(--navy); color: #fff; }
.facts-in { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.facts-in div { padding: 26px 20px 26px 0; border-right: 1px solid rgba(255,255,255,.15); padding-left: 20px; }
.facts-in div:first-child { padding-left: 0; }
.facts-in div:last-child { border-right: 0; }
.facts b { display: block; font-family: "Inter Tight", sans-serif; font-size: 19px; }
.facts span { color: #a9bdd6; font-size: 14px; }

/* Layout helpers */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.photo { margin: 0; border-radius: var(--r); overflow: hidden; background: #fff; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 1 / 1; }
.intro p { color: var(--muted); font-size: 18px; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; background: var(--blue); transform: rotate(45deg); }
.ticks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 500; }

/* Capabilities */
.cap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; background: #fff; border-radius: var(--r); padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); }
.cap + .cap { margin-top: 28px; }
.cap .photo { aspect-ratio: 4 / 3; }
.cap.flip .photo { order: 2; }
.cap.flip { grid-template-columns: minmax(0, 1fr) minmax(0, .45fr); }
.cap .photo.portrait { aspect-ratio: 3 / 4; }
.cap h3 { font-size: 26px; padding-bottom: 14px; border-bottom: 3px solid var(--blue); margin-bottom: 20px; }

/* Quality */
.navy { background: var(--navy); color: #e3ecf7; }
.navy h2 { color: #fff; }
.navy p { color: #a9bdd6; font-size: 18px; }
.navy .ticks li::before { background: #6fb0f2; }
.navy .photo { aspect-ratio: 850 / 521; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 230px); gap: 18px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.gallery .big { grid-column: span 2; grid-row: span 2; }

/* Why us */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 36px; }
.why div { background: #fff; border-radius: var(--r); padding: 26px; border-top: 4px solid var(--blue); }
.why p { color: var(--muted); margin: 0; }

/* Contact */
.cta { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.cta h2 { color: #fff; }
.cta p { color: #c8d7ea; font-size: 18px; max-width: 520px; margin-bottom: 28px; }
.contact { margin: 0; display: grid; gap: 14px; }
.contact div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 18px 22px; }
.contact dt { font-size: 13px; color: #a9bdd6; margin-bottom: 4px; }
.contact dd { margin: 0; font-size: 18px; font-weight: 500; overflow-wrap: anywhere; }
.contact a { color: #fff; }

.foot { background: #0a1c36; color: #8ea4c2; font-size: 14px; padding-block: 22px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* Narrow laptop: 5 facts don't fit in one row */
@media (max-width: 1180px) {
  .facts-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts-in div { padding-left: 0 !important; border-right: 0; }
}

/* Tablet */
@media (max-width: 960px) {
  .cta .split { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 30vw, 260px); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phone */
@media (max-width: 760px) {
  .burger { display: block; width: 28px; height: 20px; position: relative; cursor: pointer; }
  .burger span, .burger::before, .burger::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: var(--navy); }
  .burger span { top: 9px; }
  .burger::before { top: 0; }
  .burger::after { bottom: 0; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px max(5vw, 16px); background: #fff; border-bottom: 1px solid var(--line); }
  .nav-toggle:checked ~ .nav { display: flex; }
  .logo img { height: 46px; }
  .hero::before { background: rgba(10,28,54,.8); }
  .split, .cap, .cap.flip { grid-template-columns: minmax(0, 1fr); }
  .cap .photo.portrait { aspect-ratio: 4 / 5; }
  .cap.flip .photo { order: 0; }
  .ticks.two { grid-template-columns: minmax(0, 1fr); }
  .why { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .actions { flex-wrap: nowrap; gap: 10px; }
  .actions .btn { flex: 1 1 auto; text-align: center; padding: 12px 10px; font-size: 15px; white-space: nowrap; overflow-wrap: normal; }
  .facts-in { grid-template-columns: minmax(0, 1fr); }
  .facts-in div { padding-block: 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
}
