/* Acre by Air. Hand-written, no framework. One typeface (Public Sans), neutral
   backgrounds, brown for small accents, blue for buttons and links. */

/* Public Sans, SIL Open Font License (fonts/OFL.txt). Latin subset, variable weight. */
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/public-sans-latin-wght.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --panel: #f4f5f2;
  --ink: #1b2124;
  --muted: #4d5559;
  --rule: rgba(27, 33, 36, 0.14);
  --field: #6b7378;
  --contour: #8a5c2c;
  --water: #1b5a78;
  --on-water: #ffffff;
  --mark: #a33220;
  --focus: #1b5a78;
  --sans: "Public Sans", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --r-control: 6px;
  --r-panel: 10px;
  --maxw: 70rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #141618;
    --panel: #1c1f22;
    --ink: #e9ebec;
    --muted: #a9b0b4;
    --rule: rgba(233, 235, 236, 0.16);
    --field: #7d858a;
    --contour: #c99d68;
    --water: #6db4d4;
    --on-water: #141618;
    --mark: #ef8a73;
    --focus: #6db4d4;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #141618;
  --panel: #1c1f22;
  --ink: #e9ebec;
  --muted: #a9b0b4;
  --rule: rgba(233, 235, 236, 0.16);
  --field: #7d858a;
  --contour: #c99d68;
  --water: #6db4d4;
  --on-water: #141618;
  --mark: #ef8a73;
  --focus: #6db4d4;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
}

h1, h2, h3 { line-height: 1.15; font-weight: 700; margin: 0; }
p { margin: 0 0 1rem; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.wrap { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }
section[id] { scroll-margin-top: 4.25rem; }

.skip {
  position: absolute; left: 0.5rem; top: -4rem; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 0.6rem 0.9rem;
}
.skip:focus { top: 0.5rem; }

/* Header */
.site {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.bar { display: flex; align-items: center; gap: 1.25rem; min-height: 3.5rem; }
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 700; font-size: 1.15rem; text-decoration: none;
}
.mark { width: 2rem; height: 2rem; flex: none; }
/* Logo from acre-by-air-logo/logo-site-small.svg, defined once as #logo and reused with <use>.
   Lines brown, drone ink, per the logo README. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ln { stroke: var(--contour); }
.dr { stroke: var(--ink); }
.drf { fill: var(--ink); }
.links { display: none; gap: 1.25rem; margin-left: auto; font-size: 0.95rem; }
.links a { text-decoration: none; padding: 0.4rem 0; border-bottom: 1px solid transparent; }
.links a:hover { border-bottom-color: var(--contour); }
.actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
@media (min-width: 52rem) {
  .links { display: flex; }
  .actions { margin-left: 0; }
}
.theme {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
  background: none; color: var(--ink); border: 1px solid var(--rule); border-radius: var(--r-control); cursor: pointer;
}
.theme:hover { border-color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: 0.65rem 1.15rem;
  background: var(--water); color: var(--on-water);
  border: 1px solid var(--water); border-radius: var(--r-control);
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn.alt { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.alt:hover { background: var(--rule); filter: none; }
.btn.small { padding: 0.5rem 1rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Shared bits */
.intro { max-width: 40rem; color: var(--muted); margin-top: 0.9rem; font-size: 1.05rem; }
.fine { font-size: 0.9rem; color: var(--muted); max-width: 44rem; }
.section { padding: 4.5rem 0; }
/* Alternating full-width bands separate sections instead of divider lines. */
.band { background: var(--panel); }
.band .slot { background: var(--paper); }
.section h2 { font-size: clamp(1.5rem, 3vw, 1.75rem); max-width: 26ch; }
.split { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .split { grid-template-columns: 5fr 7fr; gap: 3.5rem; } }

/* Hero */
.hero { padding: 3.5rem 0 4.5rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 52rem) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } .hero { padding: 5rem 0 5.5rem; } }
.hero h1 { font-size: clamp(2rem, 4.6vw, 2.75rem); max-width: 18ch; }
.lede { margin: 1.25rem 0 1.75rem; color: var(--muted); font-size: 1.125rem; max-width: 34rem; }
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
.where { margin: 1.5rem 0 0; color: var(--muted); }
.hero-slot { aspect-ratio: 4 / 3; }

/* Photo slots: plain, honestly labeled stand-ins until real photos exist. */
.slot {
  display: grid; place-items: center; padding: 1rem; text-align: center;
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-control);
  color: var(--muted); font-size: 0.9rem;
}
.slot > span { max-width: 22ch; }
/* A real photo takes the slot's place: same box, same corners. */
.photo { display: block; width: 100%; height: auto; border-radius: var(--r-control); }

/* Work gallery: one wide photo, then two columns. */
.gallery { display: grid; gap: 1rem; margin-top: 2.25rem; }
.gallery > * { aspect-ratio: 3 / 2; }
.gallery > .wide { aspect-ratio: 16 / 9; }
@media (min-width: 40rem) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery > .wide { grid-column: 1 / -1; }
}

/* Approach reel: real footage, silent, plays only while on screen, with a Pause button. */
.reel { position: relative; margin: 0; border-radius: var(--r-control); overflow: hidden; }
.reel > .slot, .reel > video { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel > video { object-fit: cover; display: block; }
.reel-toggle {
  position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 2; min-height: 2.75rem; padding: 0.5rem 0.9rem;
  background: var(--paper); color: var(--ink); border: 0; border-radius: var(--r-control);
  font: 600 0.95rem/1.2 var(--sans); cursor: pointer;
}

/* Video */
.pair { display: grid; gap: 1.5rem; margin-top: 4rem; align-items: center; }
@media (min-width: 52rem) { .pair { grid-template-columns: 7fr 5fr; gap: 3rem; } }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-control); overflow: hidden; }
.video > .slot, .video > img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video > .slot { border: 1px solid var(--rule); }
.video > img { object-fit: cover; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%;
  background: var(--paper); color: var(--ink); border: 2px solid var(--ink); cursor: pointer;
}
.video[data-yt=""] .play { display: none; }
.vtext h3, .compare h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.vtext p, .compare p { color: var(--muted); margin: 0; }

/* Comparison sliders */
.compares { display: grid; gap: 3rem; margin-top: 4rem; }
@media (min-width: 52rem) { .compares { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.stage {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 1rem; --pos: 50%;
  border: 1px solid var(--rule); border-radius: var(--r-control);
}
.stage > .slot, .stage > img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; }
.stage > img { object-fit: cover; }
/* Each slot's label sits centered in its own half. */
.stage > .slot.base { padding: 2.5rem 0.75rem 1rem calc(50% + 1.75rem); }
.stage > .slot.top { padding: 2.5rem calc(50% + 1.75rem) 1rem 0.75rem; background: var(--paper); }
.stage > .top { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--ink); z-index: 3; pointer-events: none; }
.cmp-knob {
  position: absolute; top: 50%; left: 50%; width: 2.25rem; height: 2.25rem; margin: -1.125rem 0 0 -1.125rem;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 50%;
}
.cmp-knob::before, .cmp-knob::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -5px;
  border: 5px solid transparent;
}
.cmp-knob::before { left: 4px; border-right-color: var(--ink); border-left-width: 0; }
.cmp-knob::after { right: 4px; border-left-color: var(--ink); border-right-width: 0; }
.tag {
  position: absolute; top: 0.6rem; z-index: 4; padding: 0.1rem 0.45rem;
  background: var(--paper); color: var(--ink); border-radius: 4px; font-size: 0.85rem;
}
.tag.tl { left: 0.6rem; }
.tag.tr { right: 0.6rem; }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 5; }
.stage:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Shot list: white cards on the band; the property's own item is outlined in brown. */
.shots { margin: 2.25rem 0 2rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.shots > div { padding: 1.25rem 1.25rem 1.35rem; background: var(--paper); border-radius: var(--r-panel); }
.shots dt { font-weight: 700; font-size: 1.125rem; }
.shots dd { margin: 0.35rem 0 0; color: var(--muted); }
.shots > .own { background: transparent; border: 1px solid var(--contour); }
.shots > .own dt { color: var(--contour); }
.reshoot { margin: 0; font-weight: 650; font-size: 1.125rem; }

/* Packages */
.packages { display: grid; gap: 1.25rem; margin: 2.25rem 0 2rem; }
/* Three across once each panel has room; in between, Custom Aerials drops below, lighter. */
@media (min-width: 52rem) {
  .packages { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .package.custom { grid-column: 1 / -1; background: none; border: 1px solid var(--rule); }
}
@media (min-width: 68rem) {
  .packages { grid-template-columns: repeat(3, 1fr); }
  .package.custom { grid-column: auto; background: var(--panel); border: 0; }
}
.package {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 1.75rem 1.5rem; background: var(--panel); border-radius: var(--r-panel);
}
.package h3 { font-size: 1.3rem; }
.price { margin: 1rem 0 0; font-size: 2.25rem; font-weight: 750; line-height: 1.1; }
.price-note { margin: 0.3rem 0 0; color: var(--muted); font-size: 1rem; }
.who { margin: 1rem 0 1.25rem; }
.incl { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 0.5rem; }
.incl li { position: relative; padding-left: 1.5rem; }
.incl li::before { content: ""; position: absolute; left: 0.1rem; top: 0.5em; width: 0.65rem; height: 0.35rem; border-left: 2px solid var(--contour); border-bottom: 2px solid var(--contour); transform: rotate(-45deg); }
.package .btn { margin-top: auto; }
.addon {
  display: grid; gap: 0.75rem 2rem; align-items: center; margin: 0 0 2.75rem;
  padding: 1.5rem; border: 1px solid var(--rule); border-radius: var(--r-panel);
}
@media (min-width: 52rem) { .addon { grid-template-columns: 1fr auto; padding: 1.5rem 1.75rem; } }
.addon h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.addon p { margin: 0; color: var(--muted); max-width: 44rem; }
.addon a { color: var(--water); }
.addon .addon-price { color: var(--ink); font-size: 1.75rem; font-weight: 750; line-height: 1.2; }
.addon-price span { display: block; font-size: 1rem; font-weight: 400; color: var(--muted); }
.included-head { font-size: 1.2rem; margin-bottom: 1rem; }
.included { gap: 0.6rem 2rem; margin-bottom: 0; }
@media (min-width: 52rem) { .included { grid-template-columns: repeat(2, 1fr); max-width: 56rem; } }
.fine { margin-top: 2rem; }

/* FAQ */
.faq details + details { border-top: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1rem 2.5rem 1rem 0; position: relative; font-weight: 650;
}
.faq summary::-webkit-details-marker { display: none; }
/* Chevron drawn with two borders; points down when closed, up when open. */
.faq summary::after {
  content: ""; position: absolute; right: 0.5rem; top: 1.35rem; width: 0.5rem; height: 0.5rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.faq details[open] summary::after { top: 1.6rem; transform: rotate(-135deg); }
.faq details p { margin: 0 0 1.1rem; color: var(--muted); max-width: 40rem; }

/* Process: a real sequence, so the numbers stay. */
.steps { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; gap: 1.75rem; counter-reset: step; }
.steps li { counter-increment: step; }
.steps h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.steps h3::before { content: counter(step) ". "; color: var(--contour); }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; } }

/* About */
.prose p { max-width: 38rem; }
.claims { list-style: none; margin: 1.2rem 0; padding: 0; display: grid; gap: 0.4rem; }
.claims li:not([hidden]) { padding-left: 1.5rem; position: relative; font-weight: 600; }
.claims li:not([hidden])::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.8rem; height: 2px; background: var(--contour); }
.about-side { max-width: 16rem; text-align: center; }
.headshot { margin: 1.5rem 0 0; }
.headshot-slot { aspect-ratio: 4 / 5; }
.headshot figcaption { margin-top: 0.6rem; font-size: 0.95rem; color: var(--muted); text-align: center; }

/* Booking */
.contact { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); max-width: 26rem; }
.contact p { margin: 0 0 0.5rem; color: var(--muted); }
.contact a { color: var(--water); }
@media (min-width: 52rem) { .book-side { position: sticky; top: 5.5rem; align-self: start; } }

/* Form */
.now { font-weight: 700; color: var(--contour); margin-top: 1.25rem; }
.form { display: grid; gap: 1rem; max-width: 34rem; }
.field { display: grid; gap: 0.3rem; }
.field label { font-weight: 650; font-size: 0.93rem; }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  font: inherit; color: inherit; background: var(--paper);
  border: 1px solid var(--field); border-radius: var(--r-control); padding: 0.65rem 0.75rem; min-height: 2.75rem; width: 100%;
}
textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.reassure { margin: 0; font-size: 0.9rem; color: var(--muted); flex-basis: 100%; }
.form-status { margin: 0; font-size: 0.95rem; flex-basis: 100%; }
.form-status.ok { color: var(--ink); font-weight: 650; }
.form-status.err { color: var(--mark); font-weight: 650; }

/* Footer */
.site-foot { padding: 3.5rem 0 4rem; border-top: 1px solid var(--rule); font-size: 0.95rem; }
.foot-top { display: grid; gap: 0.35rem; margin-bottom: 2.5rem; }
.foot-top p { margin: 0; color: var(--muted); }
.foot-top .brand-foot { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1.1rem; color: var(--ink); margin-bottom: 0.5rem; }
.legal .copy { margin-top: 1.25rem; }
.legal { max-width: 52rem; }
.legal p { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.6rem; }

/* Terms page: one readable column. */
.terms { max-width: 42rem; padding: 3.5rem 0 4.5rem; }
.terms h1 { font-size: clamp(2rem, 4.6vw, 2.5rem); margin-bottom: 1.25rem; }
.terms h2 { font-size: 1.25rem; margin: 2.5rem 0 0.75rem; }
.terms p, .terms li { max-width: 40rem; }
.terms ul { margin: 0 0 1rem; padding-left: 1.25rem; display: grid; gap: 0.4rem; }
.terms .terms-intro { color: var(--muted); }
.terms .terms-intro + .terms-intro { color: var(--ink); font-size: 1.125rem; }
.terms a, .reassure a, .foot-links a { color: var(--water); }
.foot-links { margin: 1.25rem 0 0; }
.legal .foot-links + .copy { margin-top: 0.4rem; }

/* 404 page */
.notfound { padding: 6rem 0; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); }

@media print {
  .site, .skip, .cta, .form { display: none; }
}
