/* =========================================================
   Banyan Oak — Landing Page
   White background, brand-aligned (GUIDELINES 2025)
   Charcoal #232323 · Caribbean #00C684 · Silver #F2F2F2 · Inter Tight
   ========================================================= */

:root {
  /* Brand color */
  --charcoal:   #232323;
  --caribbean:  #00C684;
  --silver:     #F2F2F2;

  /* Applied roles */
  --bg:          #FFFFFF;
  --surface:     #F2F2F2;   /* Silver — cards / bands */
  --surface-2:   #FFFFFF;   /* inputs */
  --border:      #E2E2E2;   /* hairlines */
  --border-2:    #CFCFCF;   /* stronger hairline */
  --text:        #232323;   /* Charcoal */
  --muted:       #5C5C5C;   /* secondary text (≈6:1 on white) */
  --accent:      #00C684;   /* Caribbean — graphics, fills, accents */
  --accent-text: #0A7A55;   /* darkened Caribbean for AA text on white */
  --accent-deep: #00A36C;   /* button hover */
  --on-accent:   #0B2C22;   /* dark text on Caribbean button (AA) */

  /* Type */
  --font: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing */
  --s-1: 0.5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem;
  --s-5: 3rem;   --s-6: 4.5rem; --s-7: 7rem;

  /* Geometry */
  --radius: 14px;
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-3);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-text);
  margin-bottom: var(--s-2);
}

.lede {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 54ch;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--charcoal); color: #fff;
  padding: var(--s-1) var(--s-2); border-radius: 0 0 8px 0;
  z-index: 100; font-weight: 600;
}
.skip-link:focus { left: 0; }
:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px; border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.5rem;
  border-radius: 10px; font-weight: 600; font-size: 1rem;
  cursor: pointer; border: 1px solid transparent;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--caribbean); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--caribbean); color: var(--accent-text); }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container); margin-inline: auto;
  padding: var(--s-2) var(--s-3);
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: auto; height: 58px; }
.nav-cta { min-height: 44px; padding: 0.5rem 1.1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: var(--s-7) 0 var(--s-6);
  border-bottom: 1px solid var(--border);
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.05; letter-spacing: -0.03em; font-weight: 700;
  margin-bottom: var(--s-3);
}
.hero .lede { margin-bottom: var(--s-4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* ---------- Stats ---------- */
.stats { background: var(--surface); border-bottom: 1px solid var(--border); }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4) var(--s-2); padding-block: var(--s-5);
}
.stat { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-num {
  font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em;
}
.stat-num::after {
  content: ""; display: block; width: 28px; height: 3px;
  background: var(--caribbean); border-radius: 2px; margin-top: 0.5rem;
}
.stat-label {
  color: var(--muted); font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ---------- Sites ---------- */
.sites { padding-block: var(--s-7); }
.section-head { margin-bottom: var(--s-5); }
.section-head h2 {
  font-size: clamp(1.875rem, 4vw, 2.75rem); letter-spacing: -0.02em; font-weight: 700;
}
.site-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
.site-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--caribbean);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: var(--s-4);
  transition: box-shadow .2s ease, transform .2s ease;
}
.site-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(35, 35, 35, 0.10);
}
.site-card-top {
  display: flex; align-items: center; gap: 0.7rem;
  margin-bottom: var(--s-3); padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--border);
}
.site-flag { font-size: 1.4rem; line-height: 1; }
.site-card-top h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; }
.site-sub { color: var(--muted); font-weight: 400; font-size: 1rem; }
.site-specs { display: flex; flex-direction: column; gap: var(--s-2); }
.spec { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2); }
.spec dt {
  color: var(--muted); font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap;
}
.spec dd { font-weight: 600; text-align: right; }

/* ---------- Contact ---------- */
.contact { padding-block: var(--s-7); background: var(--surface); border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
.contact-intro .lede { margin-bottom: var(--s-3); }
.contact-direct { color: var(--muted); }
.contact-direct a { color: var(--accent-text); font-weight: 600; }
.contact-direct a:hover { text-decoration: underline; }
.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: var(--s-4);
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-full { grid-column: 1 / -1; }
.contact-form label { font-size: 0.9rem; font-weight: 500; }
.req { color: var(--accent-text); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; background: var(--surface-2);
  border: 1px solid var(--border-2); border-radius: 10px;
  color: var(--text); font: inherit; font-size: 1rem;
  padding: 0.7rem 0.85rem; min-height: 48px;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--caribbean); }
.contact-form .btn-block { grid-column: 1 / -1; }
.form-status { grid-column: 1 / -1; margin: 0; color: var(--accent-text); font-weight: 600; min-height: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg); padding-block: var(--s-4); }
.footer-inner { display: flex; flex-direction: column; gap: var(--s-1); align-items: flex-start; }
.footer-logo { height: 32px; width: auto; margin-bottom: var(--s-1); }
.footer-note, .footer-copy { color: var(--muted); font-size: 0.875rem; margin: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 720px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .site-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 540px) {
  .contact-form { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
