/* =====================================================================
   SKY VISUALS - shared style for all pages (neon night theme)
   Fonts:  Montserrat 200/300 (thin, wide headings + logo)
           Lato 300/400/700 (body text)
   Colours: near-black background, thin dark borders,
            neon gradient cyan #3ee6f0 -> magenta #e05cf0,
            sunset purple/pink tints folded into the dark.
   ===================================================================== */
:root {
  --bg: #07080c;          /* page background */
  --panel: #0d0f16;       /* cards, boxes */
  --panel-2: #121521;     /* slightly lighter panel */
  --line: #1e2230;        /* thin borders */
  --text: #c9ccd6;        /* body text */
  --soft: #8a8fa0;        /* grey notes, categories */
  --white: #f2f3f7;
  --cyan: #3ee6f0;
  --magenta: #e05cf0;
  --purple: #6b3fa0;
  --grad: linear-gradient(90deg, var(--cyan), var(--magenta));
  --head: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Lato', Arial, sans-serif; font-weight: 400;
  font-size: 17px; line-height: 1.65;
  /* faint sunset glow at the bottom of the page */
  background-image: radial-gradient(ellipse 120% 40% at 50% 100%, rgba(107,63,160,0.18), transparent 70%);
  background-attachment: fixed;
}
a { color: var(--cyan); text-decoration: none; transition: color .2s; }
a:hover { color: var(--magenta); }
p a, li a { border-bottom: 1px solid rgba(62,230,240,0.35); }
strong { color: var(--white); font-weight: 700; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; }

/* ---------- Headings: thin, wide, uppercase ---------- */
h1, h2, h3 { font-family: var(--head); text-transform: uppercase; color: var(--white); }
h1 { font-weight: 200; letter-spacing: 0.12em; line-height: 1.2; }
h2 { font-weight: 300; font-size: 28px; letter-spacing: 0.18em; margin: 0 0 22px; }
/* short neon bar under section headings */
h2::after { content: ""; display: block; width: 70px; height: 2px; margin-top: 14px; background: var(--grad); box-shadow: 0 0 10px rgba(62,230,240,0.45); }
.center h2::after { margin-left: auto; margin-right: auto; }
h3 { font-weight: 400; font-size: 16px; letter-spacing: 0.14em; margin: 0 0 8px; }

/* ---------- Header / navigation ---------- */
header { position: sticky; top: 0; z-index: 50; background: rgba(7,8,12,0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 20px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 46px; width: auto; filter: drop-shadow(0 0 8px rgba(224,92,240,0.35)); }
.logo-text { font-family: var(--head); font-weight: 300; font-size: 22px; letter-spacing: 0.32em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 28px; }
nav a { color: var(--text); font-family: var(--head); font-weight: 400; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; padding: 6px 0; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--cyan); }
nav a.active { color: var(--white); border-bottom-color: var(--cyan); box-shadow: 0 6px 10px -8px var(--cyan); }
nav a.book { border: 1px solid var(--cyan); padding: 9px 18px; border-radius: 3px; color: var(--cyan); }
nav a.book:hover { background: rgba(62,230,240,0.08); box-shadow: 0 0 14px rgba(62,230,240,0.45); color: var(--white); }

/* ---------- Page headline (inner pages) ---------- */
.hero { padding: 64px 0 20px; }
.hero .tagline { font-family: var(--head); font-size: 13px; font-weight: 400; letter-spacing: 0.35em; text-transform: uppercase; color: var(--cyan); margin: 0 0 14px; }
.hero h1 { font-size: 52px; margin: 0 0 8px; }
.hero h1::after { content: ""; display: block; width: 90px; height: 3px; margin-top: 18px; background: var(--grad); box-shadow: 0 0 12px rgba(224,92,240,0.5); }
.hero p { font-size: 19px; font-weight: 300; color: var(--text); margin: 18px 0 0; max-width: 760px; }
.hero .bigline { font-family: var(--head); font-size: 22px; font-weight: 300; letter-spacing: 0.3em; text-transform: uppercase; color: var(--white); margin: 0 0 10px; }

/* ---------- Home hero: full width, his CN Tower frame, neon streaks, sunset tint ---------- */
.hero-home { position: relative; min-height: clamp(560px, 85vh, 900px); display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7,8,12,0.70) 0%, rgba(7,8,12,0.45) 40%, rgba(58,22,88,0.50) 80%, rgba(7,8,12,1) 100%),
    url('../images/hero-cn-tower-sunset.jpg') /* AI sunset version made with Grok from Mike's CN Tower frame. Original: images/hero-cn-tower.jpg */ center 40% / cover no-repeat;
  border-bottom: 1px solid var(--line); }
/* diagonal neon light streaks */
.hero-home::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(160deg, transparent 58%, rgba(62,230,240,0.5) 58.1%, transparent 58.3%),
    linear-gradient(163deg, transparent 66%, rgba(224,92,240,0.45) 66.1%, transparent 66.35%),
    linear-gradient(15deg, transparent 72%, rgba(62,230,240,0.3) 72.1%, transparent 72.3%),
    linear-gradient(12deg, transparent 18%, rgba(224,92,240,0.3) 18.1%, transparent 18.3%);
  filter: blur(0.6px); }
/* sunset glow at the horizon */
.hero-home::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 50% 100%, rgba(224,92,240,0.28), rgba(107,63,160,0.18) 45%, transparent 75%); }
.hero-home .inner { position: relative; z-index: 2; max-width: 980px; padding: 60px 24px; }
.hero-home .mark { width: 220px; height: auto; margin: 0 auto 16px; display: block; filter: drop-shadow(0 0 22px rgba(62,230,240,0.35)); }
.hero-home .tagline { font-family: var(--head); font-size: 14px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--cyan); margin: 0 0 12px; }
.hero-home .bigline { font-family: var(--head); font-size: 20px; font-weight: 300; letter-spacing: 0.35em; text-transform: uppercase; color: var(--white); margin: 0 0 18px; }
.hero-home h1 { font-size: 54px; font-weight: 200; letter-spacing: 0.1em; margin: 0 0 22px; text-shadow: 0 2px 24px rgba(0,0,0,0.6); }
.hero-home p { font-size: 20px; font-weight: 300; color: #dfe1ea; margin: 0 auto; max-width: 760px; text-shadow: 0 1px 12px rgba(0,0,0,0.7); }

/* ---------- Reel video ---------- */
.reel { position: relative; padding-bottom: 56.25%; height: 0; margin: 50px 0 30px; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 0 0 1px rgba(62,230,240,0.08), 0 0 40px rgba(224,92,240,0.12); }
.reel iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: 6px; }

/* ---------- Buttons: neon outline ---------- */
.button { display: inline-block; background: transparent; color: var(--white); padding: 14px 32px; border: 1px solid var(--cyan); border-radius: 3px;
  font-family: var(--head); font-weight: 400; font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer;
  box-shadow: inset 0 0 0 0 transparent, 0 0 0 transparent; transition: all .25s; position: relative; }
.button:hover { color: var(--white); border-color: var(--magenta); box-shadow: 0 0 18px rgba(224,92,240,0.45), inset 0 0 12px rgba(224,92,240,0.15); }
.center { text-align: center; margin: 30px 0; }
.hero + .center { text-align: left; }  /* button right under a left-aligned page headline */
.note { color: var(--soft); font-size: 15px; margin-top: 12px; }

/* ---------- Sections ---------- */
section { padding: 56px 0; border-top: 1px solid var(--line); }
.intro { font-size: 19px; font-weight: 300; color: var(--white); }

/* ---------- Boxes (dark panels) ---------- */
.boxes { display: flex; gap: 20px; flex-wrap: wrap; }
.box { flex: 1 1 220px; background: var(--panel); padding: 24px; border: 1px solid var(--line); border-radius: 6px; transition: border-color .25s, box-shadow .25s; }
.box:hover { border-color: rgba(62,230,240,0.5); box-shadow: 0 0 20px rgba(62,230,240,0.12); }
.box p { margin: 0; }
.box.featured { border-color: rgba(224,92,240,0.55); background: linear-gradient(160deg, rgba(224,92,240,0.08), var(--panel) 60%); }

/* ---------- Video cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.card { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; color: var(--white); transition: border-color .25s, box-shadow .25s, transform .25s; }
.card:hover { color: var(--white); border-color: var(--cyan); box-shadow: 0 0 22px rgba(62,230,240,0.25); transform: translateY(-2px); }
.card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.card p { margin: 0; padding: 14px 16px 16px; font-family: var(--head); font-weight: 400; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.45; border-top: 1px solid var(--line); }
.card small { display: block; font-family: 'Lato', Arial, sans-serif; text-transform: none; letter-spacing: 0.02em; font-size: 14px; color: var(--soft); margin-top: 5px; }
/* Instagram placeholder instead of a thumbnail */
.card .noimg { aspect-ratio: 16/9; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 110%, rgba(224,92,240,0.55), transparent 55%), radial-gradient(circle at 90% 0%, rgba(62,230,240,0.35), transparent 50%), linear-gradient(135deg, #1a1030, #0d0f16);
  color: var(--white); font-family: var(--head); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; }
.card .noimg::before { content: ""; width: 38px; height: 38px; border: 2px solid var(--white); border-radius: 11px; opacity: .9;
  background: radial-gradient(circle, transparent 7px, var(--white) 7.5px, var(--white) 9px, transparent 9.5px); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); background: #05060a; color: var(--soft); padding: 34px 0; text-align: center; font-size: 15px; letter-spacing: 0.04em; }
footer p { margin: 0; padding: 0 20px; }
footer a { color: var(--text); border: 0; }
footer a:hover { color: var(--cyan); }

/* ---------- Lists used on several pages ---------- */
.checks { list-style: none; padding-left: 0; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 12px; height: 2px; background: var(--grad); box-shadow: 0 0 6px rgba(62,230,240,0.6); }

/* =====================================================================
   WORK PAGE
   ===================================================================== */
.work-layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 44px; align-items: start; }
.work-layout > aside { position: sticky; top: 100px; padding-top: 56px; }
.work-main section:first-of-type { border-top: 0; }
/* jump links under the headline */
.filters { margin: 24px 0 6px; display: flex; flex-wrap: wrap; gap: 10px; }
.filters a { padding: 7px 16px; border: 1px solid var(--line); border-radius: 30px; font-family: var(--head); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); }
.filters a:hover { border-color: var(--cyan); color: var(--cyan); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid .card { cursor: pointer; }
.thumb { position: relative; }
.thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: filter .25s; }
.card:hover .thumb img { filter: brightness(1.12); }
.thumb .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: .85; transition: opacity .25s; }
.card:hover .thumb .play { opacity: 1; }
.thumb .play span { width: 54px; height: 54px; border-radius: 50%; background: rgba(7,8,12,0.6); border: 1px solid var(--cyan); color: var(--white); font-size: 18px; display: flex; align-items: center; justify-content: center; padding-left: 4px; box-shadow: 0 0 16px rgba(62,230,240,0.45); }
/* SERVICES sidebar: outlined pills, cyan / magenta */
.services h2 { font-size: 18px; letter-spacing: 0.28em; }
.pill { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 11px 20px; border: 1px solid var(--cyan); border-radius: 40px; color: var(--cyan);
  font-family: var(--head); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; background: rgba(62,230,240,0.03); transition: all .25s; }
.pill svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pill:hover { color: var(--white); box-shadow: 0 0 16px rgba(62,230,240,0.45); }
.pill.pink { border-color: var(--magenta); color: var(--magenta); background: rgba(224,92,240,0.03); }
.pill.pink:hover { color: var(--white); box-shadow: 0 0 16px rgba(224,92,240,0.5); }
/* Pop-up video player */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(4,5,8,0.92); z-index: 100; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox .frame { width: 100%; max-width: 1100px; aspect-ratio: 16/9; border: 1px solid var(--line); box-shadow: 0 0 40px rgba(62,230,240,0.2); }
.lightbox iframe { width: 100%; height: 100%; border: 0; }
.lightbox .close { position: absolute; top: 15px; right: 25px; color: var(--cyan); font-size: 40px; cursor: pointer; line-height: 1; }

/* =====================================================================
   INSPECTIONS PAGE
   ===================================================================== */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 6px 0 22px 62px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--cyan); color: var(--cyan);
  font-family: var(--head); font-weight: 300; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 12px rgba(62,230,240,0.35); }
.steps li:nth-child(even)::before { border-color: var(--magenta); color: var(--magenta); box-shadow: 0 0 12px rgba(224,92,240,0.35); }
.faq h3 { margin: 30px 0 6px; color: var(--white); }
.faq p { margin-top: 0; }
.limit { background: var(--panel); border: 1px solid var(--line); border-left: 2px solid var(--magenta); padding: 15px 20px; border-radius: 4px; color: var(--text); }

/* =====================================================================
   CONTACT PAGE
   ===================================================================== */
.bigcontact { margin: 30px 0 50px; text-align: center; }
.bigcontact .big { display: block; font-family: var(--head); font-size: 30px; font-weight: 200; letter-spacing: 0.08em; color: var(--white); word-break: break-word; line-height: 1.3; border: 0; }
.bigcontact .box:last-child .big { font-size: 22px; padding-top: 8px; letter-spacing: 0.04em; }
.bigcontact .big:hover { color: var(--cyan); text-shadow: 0 0 14px rgba(62,230,240,0.5); }
.bigcontact h3 { color: var(--cyan); }
.bigcontact .box.featured h3 { color: var(--magenta); }
form.quote { background: var(--panel); padding: 30px; border: 1px solid var(--line); border-radius: 6px; }
form.quote .row { display: flex; gap: 20px; flex-wrap: wrap; }
form.quote .row label { flex: 1 1 250px; }
form.quote label { display: block; font-family: var(--head); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft); margin-bottom: 18px; }
form.quote input, form.quote select, form.quote textarea { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; font: inherit; font-family: 'Lato', Arial, sans-serif; font-size: 16px; letter-spacing: 0; text-transform: none;
  color: var(--white); background: #090a10; border: 1px solid var(--line); border-radius: 4px; transition: border-color .2s, box-shadow .2s; }
form.quote input::placeholder, form.quote textarea::placeholder { color: #5b6072; }
form.quote select option { background: #090a10; }
form.quote input:focus, form.quote select:focus, form.quote textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 0 16px rgba(62,230,240,0.35); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .work-layout { grid-template-columns: 1fr; gap: 0; }
  .work-layout > aside { position: static; order: -1; padding-top: 30px; }  /* SERVICES moves above the grid */
  .services .pills { display: flex; flex-wrap: wrap; gap: 10px; }
  .services .pill { margin: 0; padding: 9px 16px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  header .wrap { justify-content: center; }
  .logo img { height: 38px; }
  .logo-text { font-size: 18px; }
  nav { justify-content: center; gap: 6px 18px; }
  nav a { font-size: 12px; letter-spacing: 0.14em; }
  nav a.book { padding: 7px 12px; }
  header { position: static; }
  .hero { padding: 40px 0 10px; }
  .hero h1 { font-size: 32px; letter-spacing: 0.08em; }
  .hero-home { min-height: clamp(520px, 80vh, 760px); }
  .hero-home .mark { width: 150px; }
  .hero-home h1 { font-size: 30px; letter-spacing: 0.06em; }
  .hero-home .bigline { font-size: 16px; letter-spacing: 0.25em; }
  .hero-home p, .hero p { font-size: 17px; }
  h2 { font-size: 21px; letter-spacing: 0.12em; }
  section { padding: 40px 0; }
  .grid { grid-template-columns: 1fr; }
  .bigcontact .big { font-size: 24px; }
  .bigcontact .box:last-child .big { font-size: 17px; }
  form.quote { padding: 20px; }
}

/* ---------- Centring fix: letter-spacing adds a gap after the last letter,
   so pad the left side by the same amount to keep these lines truly centred ---------- */
.hero-home .tagline { padding-left: 0.4em; }
.hero-home .bigline { padding-left: 0.35em; }
.hero-home h1 { padding-left: 0.1em; }
.hero .tagline { padding-left: 0.35em; }
.hero .bigline { padding-left: 0.3em; }
@media (max-width: 700px) {
  .hero-home h1 { padding-left: 0.06em; }
  .hero-home .bigline { padding-left: 0.25em; }
}
/* The hero paragraphs have a max width, so centre the boxes themselves too */
.hero-home .inner p, .hero .inner p { margin-left: auto; margin-right: auto; }

/* Phones: extra black space above the logo (Mike asked). env() adds room for iPhone notches too. */
@media (max-width: 700px) {
  header .wrap { padding-top: calc(70px + env(safe-area-inset-top, 0px)); }
}
