/* ==========================================================================
   High Cliffs POA — base.css
   Design tokens, reset, typography
   ========================================================================== */

:root {
  /* --- Palette --- */
  --evergreen:       #22382C;   /* primary brand green */
  --evergreen-deep:  #16281F;
  --pine:            #35503F;
  --granite-mist:    #EEF0EC;   /* light section background */
  --cloud:           #FFFFFF;
  --ridgeline-gold:  #C89B4A;   /* accent */
  --gold-soft:       #E3C88F;
  --basalt:          #1B201D;   /* footer / darkest */
  --ink:             #2A2F2B;   /* body text */
  --ink-soft:        #5C645D;
  --line:            #D8DDD6;

  /* --- Type --- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Karla", "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-hero:    clamp(2.6rem, 6vw, 4.5rem);
  --fs-h2:      clamp(1.9rem, 3.6vw, 2.8rem);
  --fs-h3:      clamp(1.35rem, 2.2vw, 1.7rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.875rem;
  --fs-eyebrow: 0.8125rem;

  /* --- Layout --- */
  --container: 1180px;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 10px 30px rgba(27, 32, 29, 0.10);
  --shadow-lift: 0 18px 44px rgba(27, 32, 29, 0.16);

  --transition: 220ms ease;
}

/* --- Reset --- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cloud);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--evergreen); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--ridgeline-gold); }

ul[role="list"], ol[role="list"] { list-style: none; }

button { font: inherit; cursor: pointer; border: none; background: none; }

:focus-visible {
  outline: 3px solid var(--ridgeline-gold);
  outline-offset: 2px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--evergreen);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ridgeline-gold);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--ridgeline-gold);
}

.lead { font-size: 1.15rem; color: var(--ink-soft); }

.text-center { text-align: center; }
.text-center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--ridgeline-gold);
}

/* --- Utility --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--evergreen);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
