/* SHADE-AI — experienced craftsmanship · precise expert install
   Navy / warm off-white / yellow accent */
:root {
  --navy: #121a26;
  --navy-mid: #1a2433;
  --ink: #121a26;
  --muted: #5c6570;
  --line: #e2e0da;
  --paper: #f6f4ef;
  --paper-deep: #ebe8e1;
  --card: #ffffff;
  --yellow: #f5c400;
  --yellow-ink: #121a26;
  --radius: 12px;
  --font: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1040px;
  --nav-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Keep anchor targets clear of the sticky header */
section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }

/* Nav — navy bar with logo */
.site-nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; background: var(--navy);
  border-bottom: 1px solid #243044;
}
.site-nav .container {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo-img { height: 34px; width: auto; }
.logo-link { display: flex; align-items: center; text-decoration: none; }
.nav-links {
  display: flex; align-items: center; gap: 8px 20px; list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none; font-size: 14px; font-weight: 500; color: #b8c0cc;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle {
  display: none; background: transparent; border: 1px solid #3a4658;
  border-radius: 8px; width: 40px; height: 40px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: #fff; margin: 4px auto;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 9px;
  font: inherit; font-size: 14px; font-weight: 650;
  text-decoration: none; cursor: pointer; border: 0;
}
.btn-yellow { background: var(--yellow); color: var(--yellow-ink); }
.btn-yellow:hover { filter: brightness(1.05); }
.btn-ghost {
  background: transparent; color: #fff; border: 1px solid #3a4658;
}
.btn-ghost:hover { border-color: #6a7688; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #0a1018; }
.btn-outline {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
}
.btn-outline:hover { background: var(--card); }
.btn-block { width: 100%; }

/* Hero */
.hero {
  background: var(--navy); color: #fff; padding: 72px 0 80px;
  position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
}
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--yellow); margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(30px, 4.5vw, 44px); font-weight: 650; margin: 0 0 16px;
}
.hero .lede { font-size: 17px; color: #a8b2c0; margin: 0 0 28px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tag {
  margin-top: 32px; font-size: 13px; color: #7a8696;
  border-top: 1px solid #2a3548; padding-top: 20px;
}
.hero-art { max-width: 360px; margin-left: auto; }
.hero-art img { width: 100%; height: auto; border-radius: 12px; }

.section { padding: 64px 0; }
.section-alt { background: var(--paper-deep); border-block: 1px solid var(--line); }
.section-head { max-width: 560px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 650; margin: 0 0 10px; }
.section-head p { margin: 0; color: var(--muted); font-size: 15px; }

.qual-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.qual {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
  display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start;
}
.qual .mark {
  width: 28px; height: 28px; border-radius: 50%; background: var(--navy);
  color: var(--yellow); font-size: 12px; font-weight: 700;
  display: grid; place-items: center;
}
.qual h3 { margin: 0 0 4px; font-size: 15px; font-weight: 650; }
.qual p { margin: 0; font-size: 13px; color: var(--muted); }

a.qual {
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
a.qual:hover {
  border-color: #c9a227;
  box-shadow: 0 0 0 1px rgba(201,162,39,.35);
}
a.qual:focus-visible {
  outline: 2px solid #c9a227;
  outline-offset: 2px;
}

.workflow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  list-style: none; margin: 0; padding: 0;
}
.wf-step {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 18px 18px 20px; min-height: 0;
}
.wf-step .n { font-size: 11px; font-weight: 700; color: #b8860b; margin-bottom: 8px; }
.wf-step h3 { margin: 0 0 4px; font-size: 16px; font-weight: 650; }
.wf-step p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.4; }

.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.work-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  cursor: pointer;
}
.work-card:hover, .work-card:focus-within, .work-card.is-previewing {
  border-color: #d9cfa8; border-top-color: var(--yellow);
  box-shadow: 0 6px 18px rgba(18,26,38,0.08);
}
/* Collages are not the card body: they live hidden in the card and open in the pop-out */
.work-card .work-visual { display: none; }
.work-thumb {
  position: relative; aspect-ratio: 2 / 1; background: var(--navy); overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.work-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-lens {
  position: absolute; z-index: 1; pointer-events: none;
  border: 1px solid var(--yellow); background: rgba(245,196,0,0.16);
  box-shadow: 0 0 0 1px rgba(18,26,38,0.35);
}
.work-lens[hidden] { display: none; }
.work-body { display: flex; flex-direction: column; }
/* "View project" cue: styled like the card eyebrow, not a link */
.work-open {
  appearance: none; background: none; border: 0; border-top: 1px solid var(--line);
  padding: 12px 0 0; margin: auto 0 0; width: 100%; text-align: left;
  font: inherit; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #b8860b; text-decoration: none; cursor: pointer;
}
.work-body > p:last-of-type { margin-bottom: 14px; }
/* Stretch the real button over the whole card so the entire card is the target */
.work-open::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.work-open:focus { outline: none; }
.work-open:focus-visible::before { outline: 3px solid var(--yellow); outline-offset: -3px; }
.work-card:hover .work-open, .work-card.is-previewing .work-open, .work-open:focus-visible { color: var(--navy); }

/* Hover zoom panel (desktop, fine pointer) — floats beside the card, Amazon-style */
.wp-zoom {
  position: fixed; z-index: 60; pointer-events: none; margin: 0;
  background: var(--navy); border: 1px solid #243044; border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 18px 48px rgba(18,26,38,0.35);
}
.wp-zoom[hidden] { display: none; }
.wp-zoom .wp-stage { position: relative; overflow: hidden; aspect-ratio: 2 / 1; background: var(--navy-mid); }
.wp-zoom .wp-stage img {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none;
  transform-origin: 0 0; display: block;
}
.wp-zoom figcaption, .wp-lightbox figcaption {
  padding: 10px 14px 12px; color: #fff; font-size: 14px; font-weight: 650;
  border-top: 2px solid var(--yellow);
}
.wp-zoom figcaption span, .wp-lightbox figcaption span {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--yellow); margin-bottom: 2px;
}
.wp-lightbox img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; background: var(--navy-mid); }

/* Pinned lightbox */
.wp-lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  padding: 24px 16px; background: rgba(10,15,23,0.82);
}
.wp-lightbox[hidden] { display: none; }
.wp-lightbox .wp-panel {
  position: relative; width: min(1100px, 100%); max-height: calc(100vh - 48px);
  background: var(--navy); border: 1px solid #243044; border-radius: var(--radius);
  overflow: auto; box-shadow: 0 24px 64px rgba(0,0,0,0.45);
}
.wp-lightbox figure { margin: 0; }
.wp-lightbox figcaption { padding: 14px 64px 16px 18px; font-size: 16px; }
.wp-close {
  position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px;
  border-radius: 999px; border: 1px solid #3a4658; background: var(--navy);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
}
.wp-close:hover { border-color: var(--yellow); color: var(--yellow); }
.wp-close:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
body.wp-locked { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .work-card { transition: border-color .15s ease, box-shadow .15s ease; }
  .work-open { transition: color .15s ease; }
  .wp-zoom.is-in { animation: wp-fade .14s ease-out; }
  .wp-lightbox.is-in { animation: wp-fade .16s ease-out; }
  .wp-lightbox.is-in .wp-panel { animation: wp-rise .18s ease-out; }
}
@keyframes wp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wp-rise { from { transform: translateY(8px) scale(.985); } to { transform: none; } }
.cap-line {
  display: inline-block; margin: 12px 0 0 !important; padding: 6px 12px;
  font-size: 13px !important; font-weight: 650; letter-spacing: 0.01em;
  color: var(--navy) !important; background: rgba(245,196,0,0.18);
  border-left: 3px solid var(--yellow); border-radius: 4px;
}
.page-hero .cap-line { color: #fff !important; background: rgba(245,196,0,0.12); }
.work-body { padding: 18px 18px 20px; flex: 1; }
.work-body .loc {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: #b8860b; margin: 0 0 6px;
}
.work-body h3 { margin: 0 0 6px; font-size: 16px; }
.work-body p { margin: 0; color: var(--muted); font-size: 13px; }

/* Lead / access */
.lead-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start; }
.lead-card, .access-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.lead-card h3, .access-card h3 { margin: 0 0 8px; font-size: 18px; }
.lead-card p, .access-card p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 12px; font-weight: 650; margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; border: 1px solid #ddd; border-radius: 8px;
  padding: 10px 12px; font: inherit; font-size: 14px; background: #fff;
}
.form-row textarea { min-height: 100px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy);
}
.form-note { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.form-ok { color: #1a7a4c; font-size: 14px; font-weight: 600; margin-top: 12px; }
.form-err { color: #b42318; font-size: 13px; margin-top: 12px; }

.site-footer {
  background: var(--navy); color: #8a94a3; padding: 28px 0 36px; font-size: 13px;
}
.site-footer .container {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.site-footer a { color: #b8c0cc; text-decoration: none; }
.site-footer a:hover { color: #fff; }

.page-hero { background: var(--navy); color: #fff; padding: 48px 0 40px; }
.page-hero h1 { font-size: clamp(28px, 3.5vw, 36px); margin: 0 0 10px; }
.page-hero p { margin: 0; color: #a8b2c0; max-width: 40em; font-size: 16px; }

.login-page {
  min-height: calc(100vh - var(--nav-h));
  display: grid; place-items: center; padding: 40px 16px; background: var(--paper);
}
.login-card {
  width: 100%; max-width: 420px; background: var(--card);
  border: 1px solid var(--line); border-radius: 14px; padding: 36px 32px 28px;
}
.login-card .mark {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 20px;
}
.login-card h1 { font-size: 24px; font-weight: 650; margin: 0 0 8px; }
.login-card .lede { color: var(--muted); margin: 0 0 22px; font-size: 14px; }
.login-card label { display: block; font-size: 12px; font-weight: 650; margin-bottom: 6px; }
.login-card input[type="email"] {
  width: 100%; height: 44px; border: 1px solid #ddd; border-radius: 8px;
  padding: 0 12px; font: inherit; font-size: 15px;
}
.auth-error { margin: 12px 0 0; color: #b42318; font-size: 13px; }
.hint { margin: 16px 0 0; font-size: 12px; color: var(--muted); line-height: 1.45; }
.email-pill {
  display: inline-block; background: var(--paper-deep); border-radius: 999px;
  padding: 6px 12px; font-size: 13px; margin: 4px 0 16px;
}
.demo-bypass { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.demo-bypass p { margin: 0 0 12px; font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid, .lead-grid { grid-template-columns: 1fr; }
  .hero-art { margin: 0 auto; }
  .workflow, .work-grid, .qual-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  /* Mobile nav: closed = 68px bar (logo + toggle). Open = header grows and the
     links + CTAs stack as one panel BELOW the logo row (normal flow, no
     absolute overlap of logo/hero). JS closes it on link tap. */
  .site-nav { height: auto; min-height: var(--nav-h); }
  .site-nav .container { flex-wrap: wrap; gap: 0 12px; min-height: var(--nav-h); }
  .site-nav .container { align-content: flex-start; }
  .site-nav .logo-link { height: var(--nav-h); }
  .nav-links, .nav-cta { display: none; }
  .site-nav.open { box-shadow: 0 12px 24px rgba(0,0,0,.3); }
  .site-nav.open .nav-links, .site-nav.open .nav-cta {
    display: flex; flex-direction: column; align-items: stretch;
    flex: 0 0 100%; order: 3; margin: 0;
  }
  .site-nav.open .nav-links {
    padding: 4px 0 0; gap: 0; border-top: 1px solid #243044;
  }
  .site-nav.open .nav-links a {
    display: block; padding: 12px 0; font-size: 16px;
    border-bottom: 1px solid #243044;
  }
  .site-nav.open .nav-cta { order: 4; padding: 14px 0 18px; gap: 10px; }
  .site-nav.open .nav-cta .btn { width: 100%; }
  .nav-toggle { display: block; flex: none; }
  .site-nav.open .nav-toggle { border-color: var(--yellow); }
}
@media (max-width: 640px) {
  .workflow, .work-grid, .qual-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}

/* Signature-matched hero tagline */
.hero-tagline{white-space:nowrap;font-size:clamp(1.9rem,2.7vw,2.5rem);letter-spacing:-0.01em}
.hero-tagline i{font-style:normal;color:#f5c400}
.hero-services span{white-space:nowrap}
@media (max-width:600px){
  .hero-tagline{white-space:normal;font-size:2.1rem;line-height:1.15}
  .hero-tagline span{display:block}
  .hero-tagline i{display:none}
}

.qual-grid .qual:last-child:nth-child(odd){grid-column:1/-1}

.qual .qual-logo{display:block;margin-top:10px;height:34px;width:auto}
