/* AA Window Cleaning Services — coastal, hand-rolled, no framework. */

/* ---------- Tokens ---------- */
:root {
  --ink: #0E2A3A;          /* deep coastal navy */
  --aqua: #0A7D93;         /* primary, 4.8:1 on white */
  --aqua-hover: #086A7D;
  --aqua-deep: #085C6D;    /* large text on light */
  --foam: #F4FAFB;         /* page background */
  --card: #FFFFFF;
  --line: #DCE9ED;
  --text: #22404E;
  --muted: #52707D;
  --amber: #E8A020;        /* brand AA only */
  --ink-soft: #9DBAC6;     /* muted on dark */
  --radius-s: 8px;
  --radius-m: 12px;
  --shadow-1: 0 1px 2px rgba(14, 42, 58, .05), 0 6px 20px rgba(14, 42, 58, .07);
  --shadow-2: 0 2px 4px rgba(14, 42, 58, .06), 0 14px 34px rgba(14, 42, 58, .12);
  --font-display: "Bricolage Grotesque", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--foam);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.02em; font-weight: 650; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); font-weight: 750; letter-spacing: -.03em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--aqua-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Browser surfaces, themed */
::selection { background: #BFE4EC; color: var(--ink); }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 4px; }
details summary { cursor: pointer; }
details summary::-webkit-details-marker { display: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 780px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 1rem/1 var(--font-body);
  padding: .85rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
  min-height: 48px;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--aqua); color: #fff; box-shadow: var(--shadow-1); }
.btn-primary:hover { background: var(--aqua-hover); }
.btn-ghost { background: transparent; color: var(--aqua-deep); border-color: var(--aqua); }
.btn-ghost:hover { background: rgba(10, 125, 147, .08); }
.btn-call {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 700 .95rem/1 var(--font-body);
  color: var(--ink); background: var(--foam);
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: .6rem 1rem; min-height: 44px;
  transition: border-color .15s ease, background-color .15s ease;
}
.btn-call svg { width: 16px; height: 16px; fill: var(--aqua); }
.btn-call:hover { border-color: var(--aqua); background: #fff; text-decoration: none; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; gap: 1.25rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-word { font: 650 1.06rem/1 var(--font-display); color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.brand-word b { color: var(--amber); font-weight: 800; margin-right: .1em; }

.site-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.site-nav a {
  font: 600 .95rem/1 var(--font-body);
  color: var(--text); padding: .5rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--aqua-deep); border-bottom-color: var(--aqua); text-decoration: none; }
.head-actions { display: flex; align-items: center; gap: .75rem; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 10px;
  background: none; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34em; margin-bottom: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.9rem; }
.trust { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: .2rem; }
.trust li {
  position: relative; padding-left: 1.15rem;
  font: 600 .92rem/1.4 var(--font-body); color: var(--aqua-deep);
}
.trust li::before {
  content: ""; position: absolute; left: 0; top: .28em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--aqua);
}

.hero-photo {
  margin: 0; position: relative;
  animation: rise .6s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-photo img {
  width: 100%; aspect-ratio: 278 / 322; object-fit: cover;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-2);
}
.badge {
  position: absolute; left: -14px; bottom: 22px;
  display: flex; align-items: center; gap: .55rem;
  background: var(--ink); color: #EAF4F6;
  border-radius: 999px; padding: .55rem 1rem .55rem .8rem;
  box-shadow: var(--shadow-2);
  font: 500 .85rem/1.25 var(--font-body);
}
.badge svg { width: 18px; height: 18px; color: var(--amber); flex: none; }
.badge b { font-weight: 700; }

.underline-stroke { position: relative; white-space: nowrap; }
.flourish {
  position: absolute; left: 0; right: 0; bottom: -.08em;
  width: 100%; height: .22em; color: var(--amber);
}

/* ---------- Photo band ---------- */
.band { margin: 0; width: 100%; }
.band img { width: 100%; max-height: 420px; object-fit: cover; object-position: center; }

/* ---------- Sections ---------- */
section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section-intro { font-size: 1.08rem; color: var(--muted); max-width: 44em; margin: -0.25rem 0 2.4rem; }

/* Services ledger */
.services { background: var(--card); border-block: 1px solid var(--line); }
.ledger {
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: 3.5rem; row-gap: 0;
  margin-top: .5rem;
}
.ledger-row {
  display: grid; grid-template-columns: 132px 1fr; gap: 1.4rem;
  align-items: start;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.ledger-row:nth-child(2n+1) { border-left: none; }
.ledger-row:nth-child(-n+2) { border-top: none; }
.ledger-row img {
  width: 132px; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-1);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.ledger-row:hover img { transform: scale(1.04); }
.ledger-body h3 { margin-bottom: .3rem; }
.ledger-body p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Work / videos */
.work-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.work-copy p { color: var(--muted); max-width: 32em; }
.ticks li {
  display: flex; align-items: center; gap: .7rem;
  padding: .95rem 0;
  border-top: 1px solid var(--line);
  font: 600 1.02rem/1.35 var(--font-body); color: var(--ink);
}
.ticks li svg { width: 22px; height: 22px; color: var(--aqua); flex: none; }

.work-videos { display: grid; gap: 1.1rem; }
.work-shot { margin: 0; border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-1); position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.work-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .55rem .9rem; font: 600 .8rem/1.2 var(--font-body); color: #fff; background: linear-gradient(transparent, rgba(10, 32, 44, .82)); letter-spacing: .01em; }
.vid {
  position: relative; border-radius: var(--radius-m); overflow: hidden;
  box-shadow: var(--shadow-1);
  cursor: pointer; background: var(--ink);
  aspect-ratio: 16 / 9;
}
.vid video { width: 100%; height: 100%; object-fit: cover; }
.vid-play {
  position: absolute; inset: 0; margin: auto;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .94); color: var(--ink);
  box-shadow: var(--shadow-2);
  transition: transform .2s cubic-bezier(.2, .7, .2, 1), opacity .2s ease;
  pointer-events: none;
}
.vid-play svg { width: 26px; height: 26px; margin-left: 3px; }
.vid:hover .vid-play { transform: scale(1.08); }
.vid.playing .vid-play { opacity: 0; }
.vid-cap {
  position: absolute; left: 14px; bottom: 12px;
  background: rgba(14, 42, 58, .78); color: #EAF4F6;
  font: 600 .8rem/1 var(--font-body);
  padding: .45rem .75rem; border-radius: 999px;
  pointer-events: none;
}

/* Coverage */
.coverage { background: var(--card); border-block: 1px solid var(--line); }
.villages { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.2rem; }
.villages li {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--foam); border: 1px solid var(--line);
  border-radius: 999px; padding: .5rem 1rem .5rem .8rem;
  font: 600 .93rem/1 var(--font-body); color: var(--ink);
}
.villages li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--aqua); flex: none;
}
.map { margin: 0; position: relative; }
.map img {
  width: 100%; border-radius: var(--radius-m);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.map-badge {
  position: absolute; top: -16px; right: 16px;
  background: var(--aqua); color: #fff;
  font: 700 .82rem/1 var(--font-body);
  padding: .6rem 1rem; border-radius: 999px;
  box-shadow: var(--shadow-1);
}

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); margin-top: .5rem; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0;
  font: 650 1.08rem/1.4 var(--font-display); color: var(--ink);
  list-style: none;
}
.faq summary:hover { color: var(--aqua-deep); }
.faq .chev { width: 22px; height: 22px; color: var(--muted); flex: none; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.faq details[open] .chev { transform: rotate(180deg); color: var(--aqua); }
.faq details p { padding: 0 0 1.2rem; margin: 0; color: var(--muted); max-width: 40em; }

/* Contact (dark) */
.contact { background: var(--ink); }
.contact h2 { color: #fff; }
.contact .section-intro { color: var(--ink-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-bottom: 1.6rem; }
.contact-card {
  display: block;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-m);
  padding: 1.4rem 1.5rem;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.contact-card:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .3); text-decoration: none; transform: translateY(-2px); }
.contact-label { display: block; font: 600 .85rem/1 var(--font-body); color: var(--ink-soft); margin-bottom: .45rem; }
.contact-value {
  display: block; font: 700 clamp(1.35rem, 2.4vw, 1.7rem)/1.15 var(--font-display);
  color: #fff; letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.contact-note { display: block; font: 500 .9rem/1.4 var(--font-body); color: var(--ink-soft); margin-top: .5rem; }
.address {
  display: flex; align-items: center; gap: .55rem;
  color: var(--ink-soft); font-size: .95rem;
}
.address svg { width: 20px; height: 20px; color: var(--aqua); flex: none; }

/* Footer */
.site-foot { background: var(--card); border-top: 1px solid var(--line); padding: 3rem 0 1.4rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.foot-brand p { color: var(--muted); font-size: .95rem; max-width: 26em; margin-top: .9rem; }
.foot-col h3 { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: .8rem; font-family: var(--font-body); letter-spacing: 0; }
.foot-col p { font-size: .95rem; color: var(--muted); margin-bottom: .8rem; }
.foot-col a { color: var(--aqua-deep); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding-top: 1.2rem; font-size: .85rem; color: var(--muted); }

/* Mobile action bar */
.mobile-bar { display: none; }

/* Motion: one authored moment — hero photo rise */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 420px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-videos { order: -1; }
  .ledger { grid-template-columns: 1fr; column-gap: 0; }
  .ledger-row:nth-child(2n+1) { border-left: none; }
  .ledger-row:nth-child(-n+1) { border-top: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

@media (max-width: 720px) {
  body { padding-bottom: 76px; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-1);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 1rem 20px; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav-toggle { display: flex; }
  .btn-call span { display: none; }
  .btn-call { padding: .6rem .8rem; }
  .badge { left: 10px; bottom: 10px; }
  .band img { max-height: 240px; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-badge { right: 10px; top: -14px; font-size: .75rem; padding: .5rem .8rem; }
  .mobile-bar {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: .6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line);
    padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px rgba(14, 42, 58, .08);
  }
}
