/* Blue Nose Aerial Imaging - Huron Valley — production site stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;600;700&family=Alegreya+Sans+SC:wght@400;500;700&display=swap');

/* "&" glyph override — Alegreya Sans SC's ampersand is hard to read at small sizes, so it renders in Aptos
   instead everywhere else uses Alegreya Sans/SC. Aptos ships with Windows 11 and Microsoft 365, so it renders
   natively on those systems; everywhere else it falls back to the same clean system sans used for body text
   (Segoe UI / Roboto / Helvetica), which reads fine. There's no free public CDN source for Aptos (it's a
   Microsoft-licensed font, not on Google Fonts), so this is a graceful-fallback approach rather than a
   guaranteed-identical rendering on every visitor's machine. */
.amp {
  font-family: 'Aptos', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
}

:root {
  --navy: #1d3c54;
  --navy-dark: #142a3c;
  --coral: #ed765b;
  --coral-dark: #d75f43;
  --rose: #f27890;
  --gray: #d2d2d2;
  --ink: #1c1c1c;
  --ink-soft: #4a4a4a;
  --surface: #ffffff;
  --surface-alt: #f6f5f3;
  --border: #e2e0da;
  --radius: 10px;
  --max-width: 1180px;
  --font-display: 'Cabin', system-ui, sans-serif;
  --font-tagline: 'Alegreya Sans SC', system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-tagline); font-weight: 700; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.eyebrow { font-family: var(--font-tagline); text-transform: uppercase; letter-spacing: .08em; color: var(--coral-dark); font-weight: 700; font-size: .85rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .8em 1.6em;
  border-radius: 999px;
  font-family: var(--font-tagline);
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn-rose { background: var(--rose); color: #fff; }
.btn-rose:hover { filter: brightness(0.92); transform: translateY(-1px); }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 40px; }
.main-nav { display: flex; align-items: center; gap: 28px; font-family: var(--font-tagline); font-weight: 500; }
.main-nav > a:not(.nav-cta), .has-dropdown > button {
  font: inherit; background: none; border: none; cursor: pointer; color: var(--navy); padding: 0;
}
.has-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; margin-top: 14px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0,0,0,.1);
  min-width: 220px; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: all .15s ease;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--ink); }
.dropdown-menu a:hover { background: var(--surface-alt); color: var(--navy); }
.nav-cta {
  background: var(--coral) !important; color: #fff !important; padding: .7em 2.4em !important;
  border-radius: 999px; white-space: nowrap; flex-shrink: 0; display: inline-block;
}
.nav-cta:hover { background: var(--coral-dark) !important; }
.menu-toggle { display: none; }

/* Hero */
.hero {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero.rose-tone { background: linear-gradient(155deg, #7a2f42 0%, #4f1d2b 100%); }
.hero-inner { display: grid; gap: 40px; align-items: center; }
.hero-inner.with-image { grid-template-columns: 1.1fr .9fr; }
.hero .eyebrow { color: var(--gray); }
.hero h1 { color: #fff; font-family: var(--font-display); font-weight: 600; letter-spacing: .01em; line-height: 1.15; }
.hero p.lede { color: #e7e9ec; font-size: 1.1rem; max-width: 46ch; }
.hero-ctas { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.hero-coords { font-family: var(--font-tagline); color: var(--gray); font-size: .9rem; margin-top: 18px; letter-spacing: .03em; }
.hero-image { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.hero-image-sm { max-width: 300px; margin: 0 auto; }

/* Trust badges */
.badge-row {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  padding: 22px 0; background: var(--surface-alt); border-bottom: 1px solid var(--border);
}
.badge {
  font-family: var(--font-tagline); font-weight: 700; font-size: .9rem; color: var(--navy);
  background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: .5em 1.1em;
}

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--surface-alt); }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head.left { text-align: left; margin: 0 0 40px; }

/* Vertical / card grids */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,0,0,.08); }
.card h3 { margin-bottom: .3em; }
.card p { margin-bottom: 0; font-size: .95rem; }
.vertical-card { display: block; }
.vertical-card .icon-tag { color: var(--coral-dark); font-family: var(--font-tagline); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.vertical-card-teaser { width: 100%; height: 90px; object-fit: cover; border-radius: 8px; margin-top: 16px; }
.vertical-card-teaser.placeholder-logo { object-fit: contain; background: var(--surface-alt); padding: 14px; }
.vertical-card-soon { opacity: .7; }
.vertical-card-soon:hover { opacity: .85; }
.coming-soon-tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); font-family: var(--font-tagline); font-weight: 700; }

/* SCAN Method */
.scan-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: scan; }
.scan-step { position: relative; padding: 28px 20px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.scan-step::before {
  counter-increment: scan; content: counter(scan);
  position: absolute; top: -16px; left: 20px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--coral); color: #fff; font-family: var(--font-tagline); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.scan-step h3 { margin-top: 6px; }

/* Portfolio / deliverable figures */
figure.deliverable { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
figure.deliverable img { width: 100%; }
figure.deliverable figcaption { padding: 16px 20px; font-size: .92rem; color: var(--ink-soft); }
figure.deliverable figcaption .label {
  display: inline-block; font-family: var(--font-tagline); font-weight: 700; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .06em; padding: .25em .7em; border-radius: 999px; margin-bottom: 8px;
}
.label-real { background: #e4f2e8; color: #1f7a3d; }
.label-demo { background: #fdeee0; color: #b0591a; }
.label-stock { background: #eee; color: #666; }

/* Golf page — resized comparison figures (v8 revision) */
figure.deliverable.deliverable-shrink img { width: 60%; margin: 0 auto; }
figure.deliverable.deliverable-shrink-50 img { width: 50%; margin: 0 auto; }
.video-shrink-50 { max-width: 50%; margin: 0 auto; }
@media (max-width: 640px) {
  .video-shrink-50 { max-width: 100%; }
}
.deliverable-row { display: flex; align-items: stretch; gap: 24px; flex-wrap: wrap; }
.deliverable-row figure.deliverable { flex: 0 1 auto; display: flex; flex-direction: column; }
.deliverable-row .fixed-height-frame { height: 300px; display: flex; align-items: center; justify-content: center; background: var(--surface-alt); overflow: hidden; }
.deliverable-row .fixed-height-frame img { height: 100%; width: auto; max-width: none; object-fit: contain; }
@media (max-width: 640px) {
  .deliverable-row { flex-direction: column; }
  .deliverable-row .fixed-height-frame { height: 220px; width: 100%; }
  .deliverable-row .fixed-height-frame img { width: auto; max-width: 100%; }
}

/* Green Break & Slope Mapping — legend shown as a corner inset so the green's extent matches the flat photo (v8.5) */
.deliverable-row .green-map-frame { position: relative; }
.green-map-legend-inset {
  position: absolute; bottom: 10px; right: 10px; width: 34%; max-width: 130px;
  border: 2px solid #fff; border-radius: 4px; box-shadow: 0 3px 10px rgba(0,0,0,.3); overflow: hidden; background: #fff;
}
.deliverable-row .green-map-frame .green-map-legend-inset img { position: static; height: auto; width: 100%; max-width: none; object-fit: initial; }

/* Watershed — full-course strip image with a zoomed detail inset (v8.4) */
.watershed-frame {
  position: relative; height: 480px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-alt); overflow: hidden;
}
figure.deliverable .watershed-frame img { height: 100%; width: auto; max-width: none; object-fit: contain; }
figure.deliverable .watershed-inset {
  position: absolute; bottom: 14px; right: 14px; width: 34%; max-width: 190px;
  border: 3px solid #fff; border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,.35); overflow: hidden;
}
figure.deliverable .watershed-inset img { width: 100%; height: auto; max-width: none; object-fit: initial; }
.watershed-inset .inset-label {
  position: absolute; top: 6px; left: 6px; z-index: 2; background: rgba(29,60,84,.88); color: #fff;
  font-size: .62rem; font-family: var(--font-tagline); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; padding: 2px 7px; border-radius: 4px;
}
@media (max-width: 640px) {
  .watershed-frame { height: 340px; }
  figure.deliverable .watershed-inset { width: 40%; max-width: 150px; }
}

/* Golf Marketing section — two images + one video, uniform height in a single row (v8.4) */
.marketing-row figure.deliverable { display: flex; flex-direction: column; }
.marketing-row figure.deliverable img,
.marketing-row figure.deliverable video { height: 220px; width: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) {
  .marketing-row figure.deliverable img,
  .marketing-row figure.deliverable video { height: 200px; }
}

.callout {
  border-left: 4px solid var(--coral); background: var(--surface-alt);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .95rem;
}
.callout a { color: var(--coral-dark); text-decoration: underline; text-underline-offset: 2px; }
.callout a:hover { color: var(--navy); }

/* CTA band */
.cta-band {
  background: var(--navy); color: #fff; text-align: center; padding: 56px 0;
}
.cta-band h2 { color: #fff; }
.cta-band.rose { background: linear-gradient(120deg, #7a2f42, #4f1d2b); }
.cta-subLinks { margin: 16px 0 0; font-family: var(--font-tagline); font-size: .9rem; }
.cta-subLinks a { color: var(--gray); text-decoration: underline; text-underline-offset: 3px; }
.cta-subLinks a:hover { color: #fff; }
.cta-subLinks span { color: var(--gray); margin: 0 10px; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #cfd6dd; padding: 48px 0 28px; }
.footer-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer-inner img { width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; font-family: var(--font-tagline); }
.footer-nav a { color: #fff; }
.footer-fine { font-size: .82rem; color: #9aa6b0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; margin-top: 6px; }

/* Forms */
form.contact-form { display: grid; gap: 16px; max-width: 560px; }
form.contact-form label { font-family: var(--font-tagline); font-weight: 700; font-size: .88rem; color: var(--navy); display: block; margin-bottom: 6px; }
form.contact-form input, form.contact-form select, form.contact-form textarea {
  width: 100%; padding: .7em .9em; border: 1px solid var(--border); border-radius: 8px; font: inherit; color: var(--ink);
}
form.contact-form textarea { min-height: 130px; resize: vertical; }

/* Blog post body links */
#blog-body a { color: var(--coral-dark); text-decoration: underline; text-underline-offset: 2px; }
#blog-body a:hover { color: var(--navy); }

/* Equipment list */
.equipment-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.equipment-list li { padding: 14px 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.equipment-list strong { color: var(--navy); }

/* Responsive */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .scan-steps { grid-template-columns: repeat(2, 1fr); }
  .hero-inner.with-image { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2, .scan-steps { grid-template-columns: 1fr; }
  .main-nav { position: fixed; inset: 72px 0 0 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 24px; gap: 18px; transform: translateX(100%); transition: transform .2s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .menu-toggle { display: block; background: none; border: none; font-size: 1.6rem; color: var(--navy); cursor: pointer; }
  .hero { padding: 56px 0 48px; }
}
