/* ask-mike.html styles — externalized July 15/16, 2026 from an inline
   <style> block, as part of a pre-launch CSP hardening pass (see _headers).
   Added .is-hidden / .is-visible utility classes so the form's
   confirmation/error toggling (previously done via JS setting
   el.style.display) can run through classList instead — CSP's style-src
   also blocks inline styles set by JavaScript, not just ones written in
   HTML, so that toggle had to move too. */
:root {
  /* Theme locked July 9, 2026 — "Super, Natural North Van" (see theme-preview.html) */
  --evergreen: #17362b;
  --pine: #2f5d4a;
  --glacier: #2c7f94;
  --glacier-dark: #1f6376;
  --lake: #24586e;
  --pale-pine: #9fc7bd;
  --ice: #eceee6;
  --snow: #f8f6f1;
  --white: #ffffff;
  --ink: #2b3a36;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Newsreader', Georgia, serif;
  --font-ui: 'Public Sans', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--snow);
  line-height: 1.6;
  text-wrap: pretty;
}
header {
  background: var(--evergreen);
  color: var(--white);
  padding: 1rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem;
}
.wordmark { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .5px; color: inherit; text-decoration: none; }
.wordmark span { color: var(--pale-pine); }
nav a {
  color: var(--ice); text-decoration: none; margin-left: 1.25rem;
  font-family: var(--font-ui); font-size: .95rem;
}
nav a.active { color: var(--white); border-bottom: 2px solid var(--glacier); padding-bottom: 2px; }

/* Mobile hamburger menu (added July 13, 2026) */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 34px; height: 30px; padding: 0;
  flex-direction: column; justify-content: center; align-items: flex-end; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ice); border-radius: 2px; }
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  nav { display: none; width: 100%; flex-direction: column; gap: .15rem; margin-top: .25rem; }
  nav.open { display: flex; }
  nav a { margin-left: 0; padding: .65rem 0; }
}

main { max-width: 720px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }

h1 { font-family: var(--font-display); color: var(--evergreen); font-size: 2.4rem; font-weight: 500; margin-bottom: .75rem; }
.intro { font-size: 1.12rem; margin-bottom: 2.5rem; }

.form-wrap {
  background: var(--white);
  border: 1px solid var(--ice);
  border-radius: 6px;
  padding: 2rem;
}
label {
  display: block; font-size: .9rem; margin-bottom: .25rem; color: var(--pine);
  font-family: var(--font-ui);
}
input[type=text], input[type=email], textarea {
  width: 100%; padding: .6rem .7rem; margin-bottom: 1rem;
  border: 1px solid #c9cfcd; border-radius: 4px; font-size: 1rem;
  font-family: inherit; background: var(--snow);
}
textarea { min-height: 9rem; resize: vertical; }
.row { display: flex; gap: 1rem; flex-wrap: wrap; } .row > div { flex: 1 1 200px; }
.field-note { font-size: .8rem; color: var(--ink); opacity: .8; margin: -0.6rem 0 1rem; }

.expectation {
  border-left: 4px solid var(--glacier);
  background: var(--ice);
  border-radius: 0 6px 6px 0;
  padding: .9rem 1.2rem;
  font-size: .98rem;
  margin: .25rem 0 1.5rem;
}

.send-btn {
  width: 100%; padding: .95rem;
  background: var(--glacier); color: var(--white);
  font-family: var(--font-ui); font-size: 1.15rem;
  border: none; border-radius: 4px; cursor: pointer;
}
.send-btn:hover { background: var(--glacier-dark); }

.confirmation {
  display: none;
  background: var(--evergreen); color: var(--ice);
  border-radius: 6px; padding: 1.5rem 1.75rem; margin-top: 1.5rem;
  font-size: 1.05rem;
}
.confirmation.is-visible { display: block; }

.error-note {
  display: none;
  background: #fbeaea; color: #a03434; border-radius: 6px;
  padding: 1rem 1.25rem; margin-top: 1.5rem; font-size: .95rem;
}
.error-note.is-visible { display: block; }

.is-hidden { display: none; }

.visually-hidden {
  position: absolute; left: -9999px;
}

/* Reserved slot for the future "Questions I've been asked" section.
   Hidden at launch — remove `display:none` and populate when ready. */
.qa-section { display: none; margin-top: 3rem; }
.qa-section h2 { font-family: var(--font-display); color: var(--pine); font-size: 1.3rem; font-weight: 500; margin-bottom: 1rem; }

footer {
  background: var(--evergreen); color: var(--ice);
  text-align: center; padding: 2rem 1.5rem; font-size: .9rem;
}

/* Footer social links (added July 13, 2026) */
.social-links { margin-top: 1rem; display: flex; justify-content: center; gap: 1rem; }
.social-links a { color: var(--pale-pine); display: inline-flex; transition: color .15s; }
.social-links a:hover { color: var(--white); }
/* YouTube slot: hidden until the channel exists. Once live, remove this rule
   and set the real href on the .yt-slot link below. */
.social-links .yt-slot { display: none; }
