/* ============================================================
   Deux Digital — design system
   Navy #00387A | Orange #F37033 | Ink #101010 | Card #222
   Headings: Montserrat 800 | Body: Open Sans
   ============================================================ */

:root {
  --navy: #00387a;
  --orange: #f37033;
  --orange-deep: #f26522;
  --ink: #101010;
  --ink-2: #111111;
  --card: #222222;
  --body: #252525;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.1);
  --font-head: "Montserrat", Arial, sans-serif;
  --font-body: "Open Sans", sans-serif;
  --max: 1170px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--white);
  background: var(--ink);
}

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

a { color: var(--orange); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange-deep); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }
h1 { font-size: 48px; font-weight: 800; }
h2 { font-size: 40px; font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; }
h4 { font-size: 17px; font-weight: 700; }
.eyebrow {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.lead { font-size: 17px; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 34px;
  border: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-deep); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--orange); color: var(--orange); }

/* ---------- header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: linear-gradient(rgba(16,16,16,0.85), rgba(16,16,16,0));
}
.site-header .bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .logo img { width: 180px; height: 40px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--white);
}
.nav a:hover, .nav a.active { color: var(--orange); }
.nav .ig svg { width: 18px; height: 18px; fill: var(--white); vertical-align: middle; }
.nav .ig:hover svg { fill: var(--orange); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(16,16,16,0.92) 35%, rgba(16,16,16,0.45) 75%, rgba(16,16,16,0.25));
}
.hero .wrap { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 80px; }
.hero h1 { max-width: 640px; margin-bottom: 24px; }
.hero p { max-width: 560px; margin-bottom: 36px; color: var(--muted); font-size: 16px; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-inner {
  min-height: 420px;
}
.hero-inner .wrap { padding-top: 150px; padding-bottom: 70px; }
.hero-inner .crumb {
  font-family: var(--font-head);
  font-size: 12px; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}
.hero-inner h1 { font-size: 42px; }

/* ---------- sections ---------- */
section { padding: 90px 0; }
.section-dark { background: var(--ink); }
.section-dark-2 { background: var(--ink-2); }
.section-white { background: var(--white); color: var(--body); }
.section-title { margin-bottom: 16px; }
.section-sub { color: var(--muted); max-width: 640px; }
.section-white .section-sub { color: #555; }

/* ---------- service cards (home) ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: -70px;
  position: relative;
  z-index: 5;
}
.svc-card {
  background: var(--card);
  padding: 38px 28px;
  border-bottom: 3px solid transparent;
  transition: transform 0.2s, border-color 0.2s;
}
.svc-card:hover { transform: translateY(-6px); border-bottom-color: var(--orange); }
.svc-card img { width: 40px; height: 41px; object-fit: contain; margin-bottom: 20px; }
.svc-card h4 { color: var(--white); margin-bottom: 10px; font-size: 18px; }
.svc-card p { color: var(--muted); font-size: 14px; }

/* ---------- who we are ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .photo img { width: 100%; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.split h2 { margin-bottom: 20px; }
.split p { color: var(--muted); margin-bottom: 18px; }
.checklist { list-style: none; margin: 24px 0 32px; }
.checklist li {
  padding-left: 30px; position: relative; margin-bottom: 12px; color: var(--muted);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 12px; height: 12px; background: var(--orange);
  clip-path: polygon(0 0, 100% 50%, 0 100%, 25% 50%);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--ink-2) url("img/cta-band.jpg") center/cover no-repeat;
  text-align: center;
  padding: 110px 0;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(10, 15, 43, 0.78); }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { max-width: 720px; margin: 0 auto 30px; }

/* ---------- logo wall ---------- */
.logo-wall {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 46px; margin-top: 50px;
}
.logo-wall .client {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  filter: grayscale(35%); opacity: 0.92; transition: filter 0.2s, opacity 0.2s;
}
.logo-wall .client:hover { filter: none; opacity: 1; }
.logo-wall img { width: 92px; height: 92px; object-fit: contain; }
.logo-wall .name-badge {
  width: 150px; height: 92px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-head); font-weight: 800; font-size: 17px; line-height: 1.25;
  color: var(--body); border: 2px solid #e5e5e5; padding: 10px 14px;
}
.logo-wall .cap {
  font-size: 12px; color: #777; font-family: var(--font-body);
}
.wall-note { text-align: center; font-size: 13px; color: #888; margin-top: 34px; }

/* ---------- services page ---------- */
.svc-block { padding: 90px 0; }
.svc-block .split { align-items: start; }
.svc-block .photo img { width: 100%; box-shadow: 0 30px 60px rgba(0,0,0,0.45); }
.svc-block h2 { margin-bottom: 18px; }
.svc-block p { color: var(--muted); margin-bottom: 16px; }
.methods { margin-top: 28px; }
.methods h3 { color: var(--orange); font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 20px; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.method {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); padding: 14px 16px;
}
.method img { width: 30px; height: 30px; object-fit: contain; }
.method span { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--white); }

/* ---------- purpose page ---------- */
.pp-group { margin-top: 60px; }
.pp-group > h3 {
  font-size: 15px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 8px;
}
.pp-group > .pp-note { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.pp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pp-card {
  background: var(--card); padding: 34px 28px; border-top: 3px solid var(--navy);
  transition: transform 0.2s, border-color 0.2s;
}
.pp-card:hover { transform: translateY(-5px); border-top-color: var(--orange); }
.pp-card .pp-logo { height: 64px; display: flex; align-items: center; margin-bottom: 20px; }
.pp-card .pp-logo img { max-height: 64px; width: auto; }
.pp-card .pp-logo .txt {
  font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--white);
}
.pp-card h4 { color: var(--white); font-size: 19px; margin-bottom: 14px; }
.pp-card p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.pp-card p b { color: var(--white); font-weight: 600; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; margin-top: 50px; }
.contact-info h3 { margin-bottom: 20px; }
.contact-info p { color: var(--muted); margin-bottom: 14px; }
.contact-info .big { font-size: 18px; color: var(--white); }
.form-card { background: var(--card); padding: 40px; }
.form-card h6 {
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px;
}
.form-card h2 { font-size: 28px; margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: var(--font-head); font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%; background: var(--ink); border: 1px solid var(--line);
  color: var(--white); padding: 14px 16px; font-family: var(--font-body); font-size: 15px;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--orange); border-color: transparent; }
.map-embed { margin-top: 70px; }
.map-embed iframe { width: 100%; height: 380px; border: 0; filter: grayscale(60%); }

/* ---------- legal page ---------- */
.legal { max-width: 800px; }
.legal h2 { font-size: 24px; margin: 40px 0 14px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 14px; }
.legal ul { padding-left: 22px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; }
.site-footer h4 {
  font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--white); margin-bottom: 20px;
}
.site-footer p, .site-footer li, .site-footer a { font-size: 14px; color: var(--muted); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--orange); }
.site-footer .logo img { width: 160px; margin-bottom: 22px; }
.footer-bottom {
  border-top: 1px solid var(--line); margin-top: 55px; padding: 22px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.45);
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  h1 { font-size: 36px; }
  h2 { font-size: 30px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .pp-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--ink-2); padding: 10px 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 24px; width: 100%; }
  .menu-toggle { display: block; }
}
@media (max-width: 620px) {
  .svc-grid, .pp-grid, .method-grid { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  section { padding: 64px 0; }
}

/* ---------- case study pages ---------- */
.cs-back { display:inline-block; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.cs-back:hover { color: var(--orange); }
.cs-hero { padding: 150px 0 60px; background: var(--ink); }
.cs-hero .kicker { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.cs-hero h1 { font-size: 42px; max-width: 860px; margin-bottom: 22px; }
.cs-hero .dek { font-size: 17px; color: var(--muted); max-width: 720px; margin-bottom: 26px; }
.cs-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.cs-tags span { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); background: var(--card); padding: 8px 14px; }
.cs-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; margin: 44px 0; }
.cs-meta h5 { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.cs-meta p { font-size: 14px; color: var(--muted); }
.cs-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 10px 0 30px; }
.cs-stat { background: var(--card); padding: 30px 26px; border-top: 3px solid var(--orange); }
.cs-stat .num { font-family: var(--font-head); font-size: 40px; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 10px; }
.cs-stat .lbl { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.cs-section { padding: 54px 0 8px; }
.cs-section .idx { font-family: var(--font-head); font-size: 13px; font-weight: 800; color: var(--orange); letter-spacing: 0.2em; }
.cs-section h2 { font-size: 26px; margin: 8px 0 18px; letter-spacing: 0.04em; text-transform: uppercase; }
.cs-section p { color: var(--muted); max-width: 780px; margin-bottom: 16px; }
.cs-quote { border-left: 3px solid var(--orange); margin: 50px 0; padding: 8px 0 8px 28px; }
.cs-quote p { font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.45; color: var(--white); max-width: 760px; }
.cs-methods { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.cs-methods span { display: inline-block; background: var(--card); color: var(--white); font-family: var(--font-head); font-size: 12px; font-weight: 700; padding: 12px 18px; }
.cs-related { border-top: 1px solid var(--line); margin-top: 70px; padding-top: 50px; }
.cs-related h3 { font-size: 15px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--orange); margin-bottom: 24px; }
.cs-related .rel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cs-related a.rel { background: var(--card); padding: 26px 28px; display: block; border-left: 3px solid var(--navy); transition: transform 0.2s, border-color 0.2s; }
.cs-related a.rel:hover { transform: translateY(-4px); border-left-color: var(--orange); }
.cs-related a.rel b { display: block; font-family: var(--font-head); color: var(--white); font-size: 16px; margin-bottom: 6px; }
.cs-related a.rel span { font-size: 13px; color: var(--muted); }
.pp-card .cs-link { display: inline-block; margin-top: 14px; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
@media (max-width: 960px) {
  .cs-meta { grid-template-columns: repeat(2, 1fr); }
  .cs-stats { grid-template-columns: 1fr; }
  .cs-hero h1 { font-size: 32px; }
  .cs-related .rel-grid { grid-template-columns: 1fr; }
}
