/* ============================================================
   MJL Air Conditioning — site stylesheet
   Converted from the Claude Design system to a production,
   responsive static site. Colours, type and spacing preserved.
   ============================================================ */

:root {
  --ink:        #0D1319;
  --ink-2:      #17222C;
  --ink-soft:   #1B2936;
  --muted:      #45535F;
  --muted-2:    #5C6B77;
  --paper:      #FBFCFC;
  --paper-2:    #EEF2F4;
  --white:      #FFFFFF;
  --cyan:       #6BD3E7;
  --cyan-bright:#8FE0EF;
  --teal:       #0E7A93;
  --sky:        #BDE9F2;
  --foot:       #8FA3B0;
  --foot-soft:  #AEBDC8;
  --line:       rgba(13, 19, 25, 0.10);
  --line-2:     rgba(13, 19, 25, 0.18);
  --line-dark:  rgba(255, 255, 255, 0.14);
  --shadow:     0 6px 24px rgba(13, 19, 25, 0.07);
  --maxw:       1240px;
  --pad-x:      48px;
}

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

html, body { margin: 0; padding: 0; background: var(--paper); }

body {
  font-family: 'Archivo', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: var(--teal); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ink); }
img { max-width: 100%; display: block; }
::selection { background: var(--sky); }

h1, h2, h3 { margin: 0; }

.mono {
  font-family: 'Spline Sans Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; }
.section { padding: 96px var(--pad-x); }
.section--tight { padding: 72px var(--pad-x); }

.bg-ink    { background: var(--ink);     color: var(--white); }
.bg-paper  { background: var(--paper); }
.bg-paper2 { background: var(--paper-2); }
.bg-white  { background: var(--white); }
.bg-cyan   { background: var(--cyan); }

.eyebrow {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.bg-ink .eyebrow { color: var(--cyan); }

.h1 {
  font-weight: 800;
  font-stretch: 122%;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.h2 {
  font-weight: 800;
  font-stretch: 120%;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.lead { font-size: 18px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.bg-ink .lead { color: var(--foot-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 800;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .22s ease, box-shadow .22s ease,
              background .22s ease, color .22s ease, border-color .22s ease;
}
.btn--cyan  { background: var(--cyan); color: var(--ink); }
.btn--cyan:hover { background: var(--cyan-bright); color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(107,211,231,.35); }

.btn--dark  { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-soft); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(13,19,25,.28); }

.btn--ghost-light { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--ghost-light:hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(107,211,231,.35); }

.btn--outline-dark { border: 2px solid var(--ink); color: var(--ink); padding: 13px 26px; }
.btn--outline-dark:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(13,19,25,.3); }

/* ---------- top bar ---------- */
.topbar {
  background: #0D1319;
  color: var(--foot);
  font-family: 'Spline Sans Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 9px var(--pad-x);
  flex-wrap: wrap;
}
.topbar a { color: var(--foot); }
.topbar a:hover { color: var(--cyan); }
.topbar__phone { color: var(--cyan) !important; }
.topbar__right { display: flex; gap: 28px; }

/* ---------- nav ---------- */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px var(--pad-x);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav__brand { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.nav__brand:hover { color: var(--ink); }
.nav__logo { width: 52px; height: 52px; object-fit: contain; }
.nav__name { font-weight: 800; font-stretch: 118%; font-size: 17px; letter-spacing: -0.01em; line-height: 1.1; }
.nav__tag {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 10.5px; color: var(--muted-2);
  letter-spacing: 0.14em; text-transform: uppercase; margin-top: 2px;
}
.nav__links { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 600; }
.nav__link { color: var(--muted); }
.nav__link:hover { color: var(--ink); }
.nav__link--active { color: var(--ink); border-bottom: 2px solid var(--cyan); padding-bottom: 3px; }
.nav__cta {
  background: var(--ink); color: var(--white);
  padding: 11px 22px; border-radius: 4px; font-weight: 700;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.nav__cta:hover { background: var(--ink-soft); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(107,211,231,.35); }

.nav__toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav__toggle span {
  display: block; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle span + span { margin-top: 6px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  background: var(--ink); color: var(--white);
  padding: 88px var(--pad-x) 96px;
  position: relative; overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px;
  align-items: center; position: relative; z-index: 1;
}
.hero h1 { margin: 0 0 24px; }
.hero .lead { margin: 0 0 36px; max-width: 52ch; font-size: 18px; }
.hero__eyebrow { color: var(--cyan); margin-bottom: 22px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__media { position: relative; }
.hero__badge {
  position: absolute; left: -1px; bottom: -1px;
  background: var(--cyan); color: var(--ink);
  font-family: 'Spline Sans Mono', monospace; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 0 4px 0 6px; pointer-events: none;
}

/* framed image */
.frame { border-radius: 6px; overflow: hidden; background: var(--paper-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- section head ---------- */
.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; margin-bottom: 52px; flex-wrap: wrap;
}
.link-underline {
  font-weight: 700; font-size: 15px; color: var(--teal);
  border-bottom: 2px solid var(--cyan); padding-bottom: 2px;
}
.link-underline:hover { color: var(--ink); }

/* ---------- brands strip ---------- */
.brands {
  background: var(--white); border-bottom: 1px solid rgba(13,19,25,.08);
  padding: 30px var(--pad-x);
}
.brands__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.brands__label {
  font-family: 'Spline Sans Mono', monospace; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2);
}
.brands__list {
  display: flex; gap: 44px; flex-wrap: wrap; align-items: center;
  font-weight: 800; font-stretch: 116%; font-size: 19px;
  letter-spacing: 0.01em; color: #2A3945;
}

/* ---------- services grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 6px; padding: 30px 28px; color: var(--ink-2); display: block;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--cyan); box-shadow: var(--shadow); color: var(--ink-2); transform: translateY(-3px); }
.card__num { font-family: 'Spline Sans Mono', monospace; font-size: 12px; color: var(--teal); margin-bottom: 16px; }
.card__title { font-weight: 800; font-stretch: 116%; font-size: 20px; margin-bottom: 10px; }
.card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted-2); }

/* ---------- recent work ---------- */
.work-item { display: flex; flex-direction: column; gap: 14px; }
.work-item .frame { height: 300px; }
.work-cap { font-family: 'Spline Sans Mono', monospace; font-size: 12.5px; letter-spacing: 0.06em; color: var(--muted); }

/* ---------- why (dark feature rows) ---------- */
.why-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.why-row { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line-dark); }
.why-row:last-child { border-bottom: 1px solid var(--line-dark); }
.why-row__n { font-family: 'Spline Sans Mono', monospace; color: var(--cyan); font-size: 14px; }
.why-row__t { font-weight: 800; font-stretch: 116%; font-size: 19px; margin-bottom: 8px; }
.why-row p { margin: 0; color: var(--foot-soft); font-size: 15.5px; line-height: 1.6; }

/* ---------- CTA band ---------- */
.cta-band {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--ink); margin: 0 0 8px; font-size: clamp(26px, 3vw, 34px); }
.cta-band p { margin: 0; color: #17303A; font-size: 16.5px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- services page rows ---------- */
.srow {
  display: grid; grid-template-columns: 200px 1fr 1fr; gap: 48px;
  padding: 48px 0; border-top: 1px solid var(--line);
}
.srow:last-child { border-bottom: 1px solid var(--line); }
.srow__tag { font-family: 'Spline Sans Mono', monospace; font-size: 14px; color: var(--teal); }
.srow h2 { font-weight: 800; font-stretch: 118%; font-size: 28px; letter-spacing: -0.015em; margin: 0 0 14px; }
.srow p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.ticklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; align-content: start; font-size: 15px; color: var(--ink-2); }
.ticklist li { display: flex; gap: 12px; align-items: baseline; }
.ticklist li::before { content: "→"; color: var(--teal); font-family: 'Spline Sans Mono', monospace; font-size: 12px; }

/* ---------- gallery ---------- */
.gal-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.gal-item { display: flex; flex-direction: column; gap: 12px; }
.gal-item--wide { grid-column: span 2; }
.gal-cap { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.gal-cap__t { font-weight: 700; font-size: 15.5px; }
.gal-cap__k { font-family: 'Spline Sans Mono', monospace; font-size: 12px; color: var(--muted-2); }
.gal-empty {
  height: 100%; display: grid; place-items: center; text-align: center;
  border: 1px dashed var(--line-2); border-radius: 6px;
  color: var(--muted-2); font-family: 'Spline Sans Mono', monospace; font-size: 12.5px;
  padding: 20px; background: var(--white);
}

/* ---------- about ---------- */
.split { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.split--center { align-items: center; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 28px 26px; }
.step__n { font-family: 'Spline Sans Mono', monospace; font-size: 13px; color: var(--teal); margin-bottom: 16px; }
.step__t { font-weight: 800; font-stretch: 116%; font-size: 18px; margin-bottom: 10px; }
.step p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted-2); }
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line-dark); }
.coverage div { padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-weight: 700; font-size: 17px; }

/* ---------- contact ---------- */
.contact-split { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.detail { padding: 24px 0; border-top: 1px solid var(--line); }
.detail:last-of-type { border-bottom: 1px solid var(--line); }
.detail__k { font-family: 'Spline Sans Mono', monospace; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.detail__v { font-weight: 800; font-stretch: 118%; color: var(--ink); }
.detail a.detail__v:hover { color: var(--teal); }
.note { margin-top: 28px; background: var(--paper-2); border-radius: 6px; padding: 22px 24px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.note strong { color: var(--ink-2); }

.form {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 8px; padding: 40px; display: grid; gap: 22px;
}
.form__title { font-weight: 800; font-stretch: 118%; font-size: 22px; letter-spacing: -0.01em; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.field input, .field textarea, .field select {
  font-family: 'Archivo', sans-serif; font-size: 15px; color: var(--ink-2);
  background: var(--paper); border: 1px solid var(--line-2);
  border-radius: 4px; padding: 13px 14px; width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(107,211,231,.25);
}
.field textarea { resize: vertical; }
.form__hint { font-size: 13px; color: var(--muted-2); margin-top: -8px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--foot); padding: 72px var(--pad-x) 40px; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__logo { width: 44px; height: 44px; background: var(--white); border-radius: 6px; display: grid; place-items: center; }
.footer__logo img { width: 38px; height: 38px; object-fit: contain; }
.footer__name { font-weight: 800; font-stretch: 118%; font-size: 16px; color: var(--white); }
.footer p { margin: 0; font-size: 14.5px; line-height: 1.7; max-width: 40ch; }
.footer__h { font-family: 'Spline Sans Mono', monospace; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.footer__contact { font-size: 14.5px; line-height: 2; }
.footer__contact a { color: var(--white); }
.footer__contact a:hover { color: var(--cyan); }
.footer__addr { margin-top: 10px; line-height: 1.6; }
.footer__links { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
.footer__links a { color: var(--foot-soft); }
.footer__links a:hover { color: var(--cyan); }
.footer__bar { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; font-size: 13px; color: var(--muted-2); flex-wrap: wrap; }
.footer__bar .mono { font-size: 12px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  :root { --pad-x: 32px; }
  .section { padding: 72px var(--pad-x); }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { order: -1; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .split, .contact-split { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .srow { grid-template-columns: 1fr; gap: 18px; }
  .srow__tag { color: var(--teal); }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .gal-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --pad-x: 20px; }
  .section { padding: 56px var(--pad-x); }
  .section--tight { padding: 48px var(--pad-x); }

  /* mobile nav */
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--pad-x) 20px;
    box-shadow: 0 12px 24px rgba(13,19,25,.08);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__link, .nav__link--active { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__link--active { border-bottom: 1px solid var(--line); color: var(--teal); }
  .nav__cta { margin-top: 14px; text-align: center; }

  .grid-3, .gal-grid, .steps, .coverage, .form__row { grid-template-columns: 1fr; }
  .gal-item--wide { grid-column: auto; }
  .footer__cols { grid-template-columns: 1fr; gap: 32px; }
  .hero .lead, .lead { font-size: 16.5px; }
  .topbar { justify-content: center; text-align: center; font-size: 11.5px; }
  .work-item .frame { height: 240px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
