/* Shenwave Inc — main.css
   Corporate professional: pure white + deep navy
   Reference: McKinsey, Deloitte, Bain, BCG aesthetics — restrained, structured, no studio mannerisms */

:root {
  --ink: #0a0a0a;
  --ink-2: #1f2937;
  --body: #374151;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --paper: #ffffff;
  --paper-2: #f9fafb;
  --paper-3: #f3f4f6;
  --navy: #0d2a4f;
  --navy-soft: #1e4377;
  --navy-tint: #eef2f7;
  --line: #e5e7eb;
  --line-strong: #d1d5db;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  --max: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern', 'liga', 'calt';
  letter-spacing: -0.003em;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--navy); color: #fff; }

/* ---------- Typography ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.eyebrow .dot { display: none; } /* removed — too studio-y */

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ink);
}

.h-display {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 600;
  max-width: 24ch;
  color: var(--ink);
}

.h-display em,
em.accent {
  font-style: normal;
  font-weight: 600;
  color: var(--navy);
}

.h-2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.022em;
  font-weight: 600;
  max-width: 24ch;
}
.h-3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  font-weight: 600;
}
.h-4 {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.3;
  font-weight: 600;
}

p.lead {
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 64ch;
  text-wrap: pretty;
  font-weight: 400;
}

p { text-wrap: pretty; max-width: 70ch; color: var(--body); }

strong { font-weight: 600; color: var(--ink); }

/* ---------- Layout ---------- */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(56px, 7vw, 88px) 0;
  border-top: 1px solid var(--line);
}

.section--tight { padding: clamp(40px, 5vw, 64px) 0; }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

@media (max-width: 720px) {
  .grid-12 { grid-template-columns: repeat(6, 1fr); gap: 16px; }
}

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand__mark {
  width: 11px; height: 11px;
  background: var(--navy);
  position: relative;
}

.nav {
  display: flex;
  gap: 32px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
}

.nav a {
  position: relative;
  padding: 6px 0;
  color: var(--body);
  transition: color 180ms ease-out;
}
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] {
  color: var(--ink);
}
.nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--navy);
}

.nav__cta {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  background: var(--navy);
  color: #fff;
  padding: 9px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 180ms ease-out;
}
.nav__cta:hover { background: var(--navy-soft); color: #fff; }
.nav__cta::after { content: '→'; }

@media (max-width: 720px) {
  .nav { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 72px);
  position: relative;
  background: var(--paper);
}

.hero__row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 32px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__row .sep {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.hero__inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.hero__meta {
  grid-column: 1 / span 4;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
}

.hero__lead {
  grid-column: 6 / span 7;
}

@media (max-width: 900px) {
  .hero__meta, .hero__lead { grid-column: 1 / -1; }
}

/* ---------- Service grid ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.service {
  padding: 40px 28px 44px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 180ms ease-out;
  position: relative;
  background: var(--paper);
}
.service:last-child { border-right: none; }
.service:hover { background: var(--paper-2); }

.service__num {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--navy);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.service__title {
  font-family: var(--sans);
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.018em;
  font-weight: 600;
  color: var(--ink);
}

.service__desc {
  color: var(--body);
  max-width: 38ch;
  font-size: 15px;
  line-height: 1.6;
}

.service__list {
  list-style: none;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--body);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: auto;
}

.service__list li {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.service__list li:last-child { border-bottom: none; }

.service__list .badge {
  color: var(--muted);
  font-size: 12px;
}

.service__link {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--navy);
  transition: gap 200ms ease-out;
  align-self: flex-start;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 2px;
}
.service__link::after { content: '→'; transition: transform 220ms ease-out; }
.service__link:hover { gap: 10px; }

@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; }
  .service { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ---------- Why Us ---------- */

.why-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.why-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--ink);
}

.pillar {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: baseline;
}

.pillar__num {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--navy);
  letter-spacing: 0.1em;
  font-feature-settings: 'tnum';
  font-weight: 600;
}

.pillar__body h4 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.pillar__body p {
  color: var(--body);
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ---------- Recent work / placeholder ---------- */

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

.work-card {
  border: 1px solid var(--line);
  padding: 24px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 18px;
  aspect-ratio: 4 / 5;
  position: relative;
  transition: border-color 220ms ease-out;
}
.work-card:hover { border-color: var(--navy); }

.work-card__tag {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--navy);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.work-card__title {
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.012em;
  font-weight: 600;
  margin-top: auto;
  color: var(--ink);
}

.work-card__meta {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.work-card--placeholder { background: var(--paper-2); }
.work-card--placeholder .work-card__title { color: var(--muted); font-weight: 500; }

@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card { aspect-ratio: auto; min-height: 220px; }
}

/* ---------- CTA banner ---------- */

.cta-band {
  background: var(--navy);
  color: #fff;
  padding: clamp(56px, 7vw, 88px) 0;
}

.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band h2 em { color: #87a8d4; font-style: normal; font-weight: 600; }

.cta-band__row {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.cta-band p.lead { color: rgba(255,255,255,0.78); }

.btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 22px;
  border: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out;
  letter-spacing: -0.005em;
}
.btn::after { content: '→'; transition: transform 220ms ease-out; }
.btn:hover::after { transform: translateX(4px); }

.btn--primary {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn--primary:hover { background: #e9eef5; border-color: #e9eef5; }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn--ink {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn--ink:hover { background: var(--navy-soft); border-color: var(--navy-soft); }

/* ---------- Footer ---------- */

.foot {
  background: var(--paper-3);
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--body);
}

.foot__grid {
  display: grid;
  grid-template-columns: 4fr 2fr 2fr 2fr;
  gap: 32px;
  margin-bottom: 48px;
}

.foot__col h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
  font-weight: 600;
}

.foot__col ul { list-style: none; }
.foot__col li { padding: 4px 0; }
.foot__col a { color: var(--body); transition: color 160ms; }
.foot__col a:hover { color: var(--navy); }

.foot__brand {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.foot__bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand-col { grid-column: 1 / -1; }
}

/* ---------- Service detail page ---------- */

.svc-hero {
  padding: clamp(56px, 7vw, 88px) 0 clamp(40px, 5vw, 56px);
}

.svc-hero__breadcrumb {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: 0.06em;
  font-weight: 500;
  text-transform: uppercase;
}
.svc-hero__breadcrumb a:hover { color: var(--navy); }

.svc-hero__title {
  font-family: var(--sans);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin-bottom: 24px;
  max-width: 22ch;
  color: var(--ink);
}
.svc-hero__title em { font-style: normal; font-weight: 600; color: var(--navy); }

.svc-hero__lead {
  font-size: clamp(17px, 1.3vw, 19px);
  color: var(--ink-2);
  max-width: 64ch;
  line-height: 1.6;
}

.svc-body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(48px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}

.svc-body__label {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--navy);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: sticky;
  top: 96px;
  align-self: start;
  font-weight: 600;
}

.svc-body__content > * + * { margin-top: 18px; }
.svc-body__content h3 {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 36px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.svc-body__content p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  max-width: 64ch;
}
.svc-body__content ul {
  list-style: none;
  padding-left: 0;
}
.svc-body__content li {
  padding: 11px 0 11px 24px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 15px;
  color: var(--body);
  line-height: 1.55;
}
.svc-body__content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 19px;
  width: 12px;
  height: 1px;
  background: var(--navy);
}

@media (max-width: 900px) {
  .svc-body { grid-template-columns: 1fr; }
  .svc-body__label { position: static; }
}

/* ---------- Mississauga page ---------- */

.local-hero {
  padding: clamp(56px, 7vw, 88px) 0 clamp(40px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.local-hero__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
}

.local-hero__title {
  font-family: var(--sans);
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-weight: 600;
  color: var(--ink);
}

.local-hero__sidecard {
  font-family: var(--sans);
  font-size: 13px;
  border: 1px solid var(--line);
  padding: 20px;
  background: var(--paper-2);
}
.local-hero__sidecard dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.local-hero__sidecard dt { color: var(--muted); font-weight: 500; }
.local-hero__sidecard dd { color: var(--ink); }
.local-hero__sidecard hr { border: none; border-top: 1px solid var(--line); margin: 14px 0; }

.local-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}
.local-row {
  padding: 28px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.local-row h4 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.local-row p { color: var(--body); font-size: 15px; line-height: 1.6; }

@media (max-width: 900px) {
  .local-hero__grid { grid-template-columns: 1fr; }
  .local-stack { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */

.contact-hero {
  padding: clamp(56px, 7vw, 88px) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form label {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 11px 14px;
  transition: border-color 200ms ease-out;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--navy);
}

.contact-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 32px;
  font-family: var(--sans);
  font-size: 14px;
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}
.contact-info dt { color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px; align-self: center; font-weight: 600; }
.contact-info dd { color: var(--ink); }
.contact-info dd a:hover { color: var(--navy); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Utility ---------- */

.spacer-l { height: clamp(48px, 7vw, 80px); }
.spacer-m { height: clamp(28px, 4vw, 48px); }

.text-muted { color: var(--muted); }
.text-navy { color: var(--navy); }
