/* Glide Drive — glidedrive.ca. Self-contained: no external fonts, scripts or trackers. */
@font-face { font-family: "Bree Serif"; src: url("../fonts/BreeSerif-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/AtkinsonHyperlegible-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/AtkinsonHyperlegible-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/AtkinsonHyperlegible-Italic.woff") format("woff"); font-style: italic; font-display: swap; }

:root {
  --sun-yellow: #FFC93C; --sun-orange: #FF8A3D; --sunset-red: #FF5A4E;
  --solar-green: #1FB57A; --forest: #0E6B4F; --glacier: #2EC4B6;
  --navy: #14325C; --cream: #FFF6E5; --snow: #F7FBF8;
  --panel-navy: rgba(20, 50, 92, 0.90); --panel-cream: rgba(255, 246, 229, 0.95);
  --radius: 24px; --shadow: 0 6px 18px rgba(0,0,0,.28);
  --stripes: linear-gradient(180deg, var(--sun-yellow) 0 20%, var(--sun-orange) 20% 40%, var(--sunset-red) 40% 60%, var(--glacier) 60% 80%, var(--solar-green) 80% 100%);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--navy); background: var(--navy);
  font: 400 1.125rem/1.6 "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1, h2, h3 { font-family: "Bree Serif", Georgia, serif; font-weight: 400; line-height: 1.15; margin: 0 0 .4em; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, .badge:focus-visible { outline: 3px solid var(--sun-yellow); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 9; background: var(--cream); padding: .5rem 1rem; border-radius: 8px; }

/* 70s sunset stripes */
.stripes { height: 30px; background: var(--stripes); }
.stripes.thin { height: 15px; }

/* Readable panels: text never sits directly on the painting */
.panel { border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem 1.5rem 1.4rem; }
.panel.navy { background: var(--panel-navy); color: #fff; }
.panel.cream { background: var(--panel-cream); color: var(--navy); }

/* ---- Hero: full-bleed golden-hour albatross ---- */
.hero {
  display: flex; flex-direction: column;
  background: var(--navy);
  min-height: 100svh;
}
/* Full bird, no card overlay — painting band alone. */
.hero-art {
  flex: 0 0 auto;
  width: 100%;
  /* Tall enough that the full wingspan reads above the copy band. */
  min-height: 480px;
  height: min(78vh, 800px);
  background-color: var(--navy);
  background-image: image-set(
    url("../img/albatross-golden-hour-1152.webp") type("image/webp"),
    url("../img/albatross-golden-hour-1152.jpg") type("image/jpeg")
  );
  background-size: cover;
  /* Keep the whole bird (incl. lower wing) above the cut into the copy band. */
  background-position: 50% 28%;
  background-repeat: no-repeat;
  border-bottom: 6px solid var(--sun-yellow);
}
.hero .wrap {
  width: min(1100px, 100% - 2rem);
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
}
.hero .panel {
  max-width: 540px;
  width: 100%;
  /* Solid navy — never a translucent overlay on the bird. */
  background: var(--navy);
}
@media (max-width: 700px) {
  .hero { min-height: auto; }
  .hero-art {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    background-image: image-set(
      url("../img/albatross-golden-hour-800.webp") type("image/webp"),
      url("../img/albatross-golden-hour-800.jpg") type("image/jpeg")
    );
    background-position: 50% 28%;
    background-size: cover;
  }
  .hero .wrap { padding: 1rem 0 1.25rem; }
  .hero .panel { max-width: none; }
}
.brand { font-family: "Bree Serif", Georgia, serif; font-size: clamp(1.35rem, 3vw, 1.75rem); margin: 0 0 .35em; letter-spacing: .5px; }
.brand .dot { color: var(--sun-yellow); }
.headline {
  font-family: "Bree Serif", Georgia, serif;
  font-size: clamp(1.75rem, 4.2vw, 2.55rem);
  line-height: 1.2;
  font-weight: 400;
  margin: 0.1em 0 0.75rem;
  color: #fff;
  max-width: 22ch;
}
.lede { font-size: clamp(1.05rem, 2.4vw, 1.25rem); margin: 0 0 1rem; opacity: 0.95; }
.soon { display: inline-block; font-weight: 700; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--sun-yellow); color: var(--navy); padding: .2rem .75rem; border-radius: 999px; margin-bottom: .8rem; }

.badges { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .4rem; }
.badge {
  display: inline-flex; align-items: center; gap: .6rem; min-width: 190px; padding: .55rem 1rem; border-radius: 14px;
  background: #000; color: #fff; text-decoration: none; border: 1.5px solid rgba(255,255,255,.55); cursor: default;
}
.badge small { display: block; font-size: .72rem; line-height: 1.1; opacity: .85; }
.badge strong { display: block; font-size: 1.1rem; line-height: 1.15; }
.badge svg { width: 26px; height: 26px; flex: none; fill: #fff; }

/* ---- Lower section ---- */
.band { background: var(--cream); }
.band .wrap { width: min(1100px, 100% - 2rem); margin: 0 auto; padding: 2.5rem 0 2.75rem; }
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: 0 3px 12px rgba(20,50,92,.12); border-top: 8px solid var(--sun-orange); }
.card:nth-child(2) { border-top-color: var(--solar-green); }
.card:nth-child(3) { border-top-color: var(--glacier); }
.card h2 { font-size: 1.45rem; color: var(--navy); }
.card p { margin: 0; }

footer { background: var(--navy); color: #fff; }
footer .wrap { width: min(1100px, 100% - 2rem); margin: 0 auto; padding: 1.5rem 0 2rem; display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; align-items: center; }
footer nav a { margin-right: 1.25rem; }
footer .fine { opacity: .85; font-size: .95rem; }

/* ---- Privacy page ---- */
.page-head { background: var(--navy) url("../img/albatross-golden-hour-1152.jpg") center 32% / cover no-repeat; padding: 3.5rem 1rem 2.25rem; }
.page-head .panel { width: min(820px, 100%); margin: 0 auto; }
.page-head h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0; }
.page-head a { color: #fff; }
.doc { background: var(--cream); padding: 2rem 1rem 3rem; }
.doc article { width: min(820px, 100%); margin: 0 auto; background: #fff; border-radius: var(--radius); padding: 1.5rem clamp(1.1rem, 4vw, 2.5rem) 2rem; box-shadow: 0 3px 12px rgba(20,50,92,.12); }
.doc article h1 { display: none; }
.doc h2 { font-size: 1.6rem; margin-top: 1.6em; padding-top: .3em; border-top: 4px solid var(--sun-yellow); }
.doc h2:first-of-type { margin-top: .4em; }
.doc .table-wrap { overflow-x: auto; margin: 1rem 0; }
.doc table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 1rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: .55rem .7rem; border-bottom: 1px solid #e3e7ee; }
.doc th { background: var(--navy); color: #fff; font-weight: 700; }
.doc tr:nth-child(even) td { background: #fbf8f1; }
.doc li { margin: .3rem 0; }
.doc code { font-size: .95em; background: #f1efe9; padding: .05em .3em; border-radius: 4px; }
.doc .placeholder { background: #FFE9A8; border-radius: 4px; padding: 0 .25em; font-size: .9em; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
