/* ============================================================
   Fix-A-Leak — Base: reset, typography, buttons, forms
   ============================================================ */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,svg,video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--navy); }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input,select,textarea,button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

h1,h2,h3,h4,h5 {
  color: var(--heading);
  line-height: var(--lh-head);
}
/* Display headings (Anton) — h1/h2 are the punchy comp headlines */
h1,h2 {
  font-family: var(--font-display);
  font-weight: 400;          /* Anton is single-weight, already heavy */
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
h1 { font-size: var(--fs-h1); line-height: 0.96; }
h2 { font-size: var(--fs-h2); line-height: 1.0; }
/* Sub headings (Montserrat) */
h3,h4,h5 { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: 700; }
p  { color: var(--text); }
strong { color: var(--ink); font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: var(--container-narrow); }
section { padding-block: var(--section-y); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head);
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky-600);
  margin-bottom: var(--s-3);
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: var(--yellow);
}
.eyebrow.center { justify-content: center; }
.lead { font-size: var(--fs-lg); color: var(--body); line-height: 1.6; }

.bg-cream { background: var(--cream); }
.bg-sky   { background: var(--sky-50); }
.bg-navy  { background: var(--navy); color: #C9D6F2; }
.bg-navy h1,.bg-navy h2,.bg-navy h3,.bg-navy h4 { color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Buttons ---- */
.btn {
  --btn-bg: var(--yellow); --btn-fg: var(--navy); --btn-edge: var(--yellow-600);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-head); font-weight: 800; font-size: .98rem;
  letter-spacing: .02em; line-height: 1;
  padding: 1rem 1.6rem; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  /* 3D extruded edge (comp style) + soft drop */
  box-shadow: 0 4px 0 0 var(--btn-edge), 0 10px 18px rgba(22,38,94,.18);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .2s var(--ease);
  white-space: nowrap; text-align: center;
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); box-shadow: 0 6px 0 0 var(--btn-edge), 0 14px 24px rgba(22,38,94,.22); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 0 var(--btn-edge), 0 6px 12px rgba(22,38,94,.2); }
.btn-primary { --btn-bg: var(--yellow); --btn-fg: var(--navy); --btn-edge: var(--yellow-600); }
.btn-secondary { --btn-bg: var(--sky); --btn-fg: #fff; --btn-edge: var(--sky-600); }
.btn-navy { --btn-bg: var(--navy); --btn-fg: #fff; --btn-edge: #0B1740; }
.btn-ghost {
  --btn-bg: transparent; --btn-fg: #fff; box-shadow: none;
  border: 2px solid rgba(255,255,255,.55);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); color:#fff; box-shadow: none; }
.btn-outline {
  --btn-bg: #fff; --btn-fg: var(--navy);
  border: 2px solid var(--line); box-shadow: var(--sh-sm);
}
.btn-outline:hover { border-color: var(--sky); color: var(--sky-600); box-shadow: var(--sh); }
.btn-sm { padding: .7rem 1.15rem; font-size: .9rem; }
.btn-lg { padding: 1.2rem 2.1rem; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn svg { width: 1.15em; height: 1.15em; }

.btn-group { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---- Forms ---- */
.field { margin-bottom: var(--s-4); }
.field label {
  display: block; font-size: .82rem; font-weight: 700; color: var(--ink);
  margin-bottom: .4rem; letter-spacing: .01em;
}
.field .req { color: var(--danger); }
input[type=text],input[type=tel],input[type=email],select,textarea {
  width: 100%; padding: .9rem 1rem; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .15s, box-shadow .15s;
}
input::placeholder,textarea::placeholder { color: #9AA6B8; }
input:focus,select:focus,textarea:focus {
  outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(41,169,224,.15);
}
textarea { resize: vertical; min-height: 96px; }
.privacy-note { font-size: .78rem; color: var(--muted); margin-top: .6rem; line-height: 1.5; }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: var(--s-3); }

/* utility */
.text-center { text-align: center; }
.mt-6 { margin-top: var(--s-6); }
.mb-0 { margin-bottom: 0; }
.accent-y { color: var(--yellow); }
.accent-s { color: var(--sky); }
.nowrap { white-space: nowrap; }
.visually-hidden {
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0;
}
