/* Rooftop Shots
   Tokens come from brand/brand-tokens.json. Don't add colours, fonts or shadows here
   that aren't in the brand kit. */

:root {
  --sky: #0EA5E9;
  --sky-deep: #0369A1;
  --navy: #0F2A44;
  --navy-soft: #183A5E;
  --light-blue: #E0F2FE;
  --slate: #64748B;
  --off-white: #F8FAFC;
  --white: #FFFFFF;
  --on-sky: var(--navy);

  --font-sans: Poppins, "Montserrat", system-ui, sans-serif;
  --font-note: Caveat, "Bradley Hand", cursive;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 8px 24px rgba(15, 42, 68, 0.08);

  --header-h: 72px;
  --wrap: 1120px;
}

/* ---------- Base ---------- */

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

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--space-3));
}

body {
  margin: 0;
  background: var(--off-white);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }

h2 { font-size: 28px; line-height: 36px; font-weight: 700; }
h3 { font-size: 20px; line-height: 28px; font-weight: 500; }

a { color: var(--sky-deep); text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--sky-deep);
  outline-offset: 2px;
}
.band-navy :focus-visible,
.site-footer :focus-visible,
.site-header:not(.is-scrolled) :focus-visible { outline-color: var(--sky); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--space-3);
  top: -100px;
  z-index: 100;
  padding: var(--space-2) var(--space-3);
  background: var(--white);
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--space-3); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--space-4));
  margin: 0 auto;
  padding: 0 var(--space-4);
}

section { position: relative; }

.band-light { background: var(--light-blue); }
.band-navy { background: var(--navy); color: var(--white); }

/* ---------- Type styles ---------- */

.display {
  font-size: 48px;
  line-height: 52px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky-deep);
}

.lead { font-size: 18px; line-height: 28px; max-width: 32em; }

.small { font-size: 14px; line-height: 22px; }

/* Caveat: one short aside per section, 2–3° off level, never below 18px */
.note {
  font-family: var(--font-note);
  font-weight: 600;
  font-size: 32px;
  line-height: 36px;
  color: var(--sky-deep);
  transform: rotate(-3deg);
}
.note--small { font-size: 22px; line-height: 26px; }

.section-head { max-width: 40em; margin-bottom: var(--space-5); }
.section-head p { margin-top: var(--space-2); }

/* Placeholder copy the family still needs to fill in. Remove before launch. */
mark.fill-in, a.fill-in {
  background: none;
  color: var(--sky-deep);
  outline: 1.5px dashed var(--sky-deep);
  outline-offset: 2px;
  border-radius: 4px;
  padding: 0 2px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  border: 2px solid var(--sky-deep);
  border-radius: var(--radius-pill);
  background: var(--sky-deep);
  color: var(--white);
  font: 500 16px/20px var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--navy); border-color: var(--navy); }

.btn--ghost { background: transparent; color: var(--sky-deep); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--navy); }

.btn--small { min-height: 40px; padding: 8px 20px; }

.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-4); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  background: rgba(248, 250, 252, 0.96);
  box-shadow: 0 1px 0 var(--light-blue);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: calc(var(--wrap) + 2 * var(--space-4));
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* The video already shows the logo, so the header logo waits until you scroll past it */
.site-header__logo { display: block; width: 130px; opacity: 0; transition: opacity .3s; }
.site-header__logo img { width: 100%; height: auto; }
.site-header__logo .logo-dark { display: none; }
.site-header.is-scrolled .site-header__logo { opacity: 1; }

.site-nav { display: flex; align-items: center; gap: var(--space-4); }
.site-nav a:not(.btn) {
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:not(.btn):hover { text-decoration: underline; }
.site-header:not(.is-scrolled) .site-nav .btn {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--on-sky);
}
.site-header.is-scrolled .site-nav a:not(.btn) { color: var(--navy); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 22px; height: 2px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s, background-color .25s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.site-header.is-scrolled .nav-toggle__bars,
.site-header.is-scrolled .nav-toggle__bars::before,
.site-header.is-scrolled .nav-toggle__bars::after,
.site-header.nav-open .nav-toggle__bars::before,
.site-header.nav-open .nav-toggle__bars::after { background: var(--navy); }
.site-header.nav-open .nav-toggle__bars { background: transparent; }
.site-header.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

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

.hero {
  overflow: hidden;
  aspect-ratio: 2944 / 1248;
  max-height: 80vh;
  width: 100%;
  background: #093554; /* the video's own background, so there's no flash before it plays */
}
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom; /* never crop the roofline */
}

/* ---------- Intro ---------- */

.intro { padding: var(--space-6) 0; }
.intro__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
.intro__text .display { margin-top: var(--space-3); }
.intro__text .lead { margin-top: var(--space-3); }

.intro__aside {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "price note" "ticks ticks";
  gap: var(--space-4);
  align-items: center;
}

.price-wrap { grid-area: price; display: grid; justify-items: center; gap: var(--space-2); }
.price__note {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--slate);
  text-align: center;
}
.price {
  display: grid;
  place-content: center;
  width: 132px; height: 132px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--on-sky);
  text-align: center;
}
.price__amount { font-size: 40px; line-height: 40px; font-weight: 700; }
.price__unit { font-size: 16px; line-height: 20px; font-weight: 500; }

.intro__note { grid-area: note; }

.ticks { grid-area: ticks; list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.ticks li {
  position: relative;
  padding-left: 36px;
  font-weight: 500;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---------- About ---------- */

.about { padding: var(--space-6) 0; }
.about__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
.about__text p { margin-top: var(--space-3); max-width: 36em; }

.pilot-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-4);
}
.pilot-card__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--light-blue);
}
.pilot-card__head img {
  width: 56px; height: 56px;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: var(--light-blue);
}
.pilot-card__title { font-size: 20px; line-height: 28px; font-weight: 700; }
.pilot-card__sub {
  font-size: 13px; line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}
.pilot-card__list div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 12px 0;
  border-bottom: 1px solid var(--light-blue);
}
.pilot-card__list dt { color: var(--slate); }
.pilot-card__list dd { font-weight: 500; text-align: right; }
.pilot-card__note {
  position: absolute;
  right: var(--space-4);
  bottom: -40px;
  color: var(--sky-deep);
}

/* ---------- Gallery ---------- */

.gallery { padding: var(--space-6) 0; }
.gallery__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
/* Portrait | two landscapes stacked | portrait. Three equal columns make the
   landscape cells about 16:10 and the tall cells about 4:5, close to the photos' own shapes. */
.shot--tall { grid-row: span 2; }
.shot--tall:last-child { grid-column: 3; grid-row: 1 / span 2; }
.shot--wide { grid-column: 2; }
.shot { display: flex; }
.shot__frame {
  position: relative;
  flex: 1;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--light-blue);
}
.shot--wide .shot__frame { aspect-ratio: 16 / 10; }
/* Taller than the frame so the photo can drift a little as you scroll */
.shot__frame img {
  position: absolute;
  left: 0;
  top: -8%;
  width: 100%;
  height: 116%;
  object-fit: cover;
  will-change: transform;
}
/* Close-ups whose subject runs along the bottom edge (gutters) sit still and uncropped */
.shot__frame img.is-still {
  top: 0;
  height: 100%;
  object-position: center bottom;
}
.shot__caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
}
/* ...and their labels go at the top, so they don't cover the gutter */
.shot__frame img.is-still + .shot__caption { top: 12px; bottom: auto; }

/* ---------- What to expect ---------- */

.expect {
  padding: var(--space-6) 0 200px;
  overflow: hidden;
}
.expect .section-head p { color: rgba(255, 255, 255, 0.85); }

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  position: relative;
}
/* A straight flight line linking the four steps */
.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  border-top: 2px dashed rgba(14, 165, 233, 0.5);
}
.step { position: relative; }
.step__num {
  position: relative;
  display: grid;
  place-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--on-sky);
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 0 0 6px var(--navy);
}
.step h3 { margin-top: var(--space-3); color: var(--sky); }
.step p { margin-top: var(--space-2); color: rgba(255, 255, 255, 0.85); }

.no-fly {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-5);
  margin-top: var(--space-6);
  padding: var(--space-5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
}
.no-fly__intro p { margin-top: var(--space-2); color: rgba(255, 255, 255, 0.85); }
.no-fly__list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3) var(--space-4);
  align-content: center;
}
.no-fly__list li { display: flex; align-items: center; gap: 12px; }
.no-fly__list svg, .contact__ways svg {
  flex: none;
  width: 24px; height: 24px;
  fill: none;
  stroke: var(--sky);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Roofline: bottom edge only, about a fifth of the panel or less, never under text */
.roofline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 130px;
  pointer-events: none;
}
.roofline svg {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  fill: var(--navy-soft);
}
.roofline__back { height: 130px; opacity: .5; bottom: -10px !important; will-change: transform; }
.roofline__front { height: 96px; }

/* ---------- FAQ ---------- */

.faq { padding: var(--space-6) 0; }
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-5);
  align-items: start;
}
.faq__head { position: sticky; top: calc(var(--header-h) + var(--space-4)); }
.faq__list { display: grid; gap: 12px; }

.faq details {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.faq summary {
  position: relative;
  padding: 20px 64px 20px var(--space-4);
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: var(--space-4);
  top: 50%;
  width: 28px; height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--light-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230369A1' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 var(--space-4) var(--space-4); }
.faq__answer p + p { margin-top: 12px; }

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

.contact { padding: var(--space-6) 0; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-6);
  align-items: start;
}
.contact__text > p { margin-top: var(--space-2); max-width: 28em; }
.contact__ways { list-style: none; padding: 0; margin-top: var(--space-4); display: grid; gap: 12px; }
.contact__ways li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact__ways svg { stroke: var(--sky-deep); }
.contact__ways a { color: var(--navy); }
.contact__note { margin-top: var(--space-5); }

.whatsapp { margin-top: var(--space-4); display: grid; gap: var(--space-4); justify-items: start; }
.whatsapp__btn { gap: 10px; }
.whatsapp__btn svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.whatsapp__qr {
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: 24em;
}
.whatsapp__qr img {
  flex: none;
  width: 120px; height: 120px;
  padding: 8px;
  background: var(--white);
  border-radius: var(--radius-sm);
}
.whatsapp__qr figcaption { font-size: 14px; line-height: 22px; }
/* Phones and tablets tap the button instead of scanning */
@media (hover: none) and (pointer: coarse) {
  .whatsapp__qr { display: none; }
}

.enquiry {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-5);
  display: grid;
  gap: var(--space-3);
}
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; }
.optional { font-weight: 400; color: var(--slate); }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--slate);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  font: 400 16px/24px var(--font-sans);
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate); }
.field input[aria-invalid="true"] { border-color: var(--navy); border-width: 2px; }
.field-error { font-weight: 500; }
.enquiry__fields { display: grid; gap: var(--space-3); }
.enquiry .btn { justify-self: start; }
.enquiry .btn[disabled] { opacity: .7; cursor: progress; }
.enquiry .small { color: var(--slate); }
.enquiry__done h3 { font-weight: 700; }
.enquiry__done p { margin-top: var(--space-2); }
.enquiry__done:focus { outline: none; }

/* Off-screen rather than display:none, so bots still see and fill it */
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Turnstile only takes up space when it needs the visitor to click */
.cf-turnstile:empty { display: none; }

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

.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.85); padding: var(--space-6) 0; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-5);
}
.site-footer img { width: 180px; height: auto; margin-bottom: var(--space-3); }
.site-footer__heading { font-size: 16px; line-height: 24px; font-weight: 700; color: var(--white); margin-bottom: var(--space-2); }
.site-footer p + p { margin-top: var(--space-2); }

/* ---------- Tablet ---------- */

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: var(--space-5); }
  .steps::before { display: none; }
  .no-fly { grid-template-columns: 1fr; gap: var(--space-4); }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; margin-bottom: 0; }
}

/* ---------- Mobile ---------- */

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .wrap, .site-header__inner { padding: 0 var(--space-3); }

  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: -1;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    padding: calc(var(--header-h) + var(--space-2)) var(--space-3) var(--space-4);
    background: var(--off-white);
    box-shadow: var(--shadow-card);
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform .3s, visibility .3s;
  }
  .site-nav a:not(.btn) { color: var(--navy); font-size: 18px; }
  .site-header .site-nav .btn { background: var(--sky-deep); border-color: var(--sky-deep); color: var(--white); }
  .site-header.nav-open .site-nav { transform: none; visibility: visible; }
  .site-header.nav-open .site-header__logo { opacity: 1; }

  /* A taller crop on phones keeps the logo big; the sides are only sky */
  .hero { aspect-ratio: 3 / 2; }

  .display { font-size: 40px; line-height: 46px; }
  h2 { font-size: 26px; line-height: 34px; }

  .intro, .about, .gallery, .faq, .contact { padding: var(--space-5) 0; }
  .intro__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .intro__aside { grid-template-columns: auto 1fr; }
  .price { width: 112px; height: 112px; }
  .price__amount { font-size: 34px; line-height: 36px; }

  .pilot-card { margin-bottom: var(--space-5); }

  .gallery__grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .shot--tall, .shot--tall:last-child, .shot--wide { grid-column: auto; grid-row: auto; }
  .shot--tall .shot__frame { aspect-ratio: 4 / 5; }

  .expect { padding-bottom: 170px; }
  .steps { grid-template-columns: 1fr; row-gap: var(--space-4); }
  .no-fly { padding: var(--space-4); }
  .no-fly__list { grid-template-columns: 1fr; }
  .roofline, .roofline__back { height: 100px; }
  .roofline__front { height: 72px; }

  .faq summary { font-size: 16px; padding: 16px 56px 16px var(--space-3); }
  .faq summary::after { right: var(--space-3); }
  .faq__answer { padding: 0 var(--space-3) var(--space-3); }

  .enquiry { padding: var(--space-4) var(--space-3); }
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion: no parallax, no smooth scroll ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  [data-parallax], [data-parallax-img] { transform: none !important; }
}
