:root {
  --white: #ffffff;
  --bg-alt: #e8f6fc;
  --ink: #0c1416;
  --ink-soft: #33474c;
  --sky-light: #cdeffb;
  --sky-mid: #4fb6ea;
  --sky-deep: #0b72be;
  --sky-deep-dark: #095a96;
  --pine: #29b34a;
  --pine-dark: #1c8a37;

  --font-display: "Zilla Slab", Georgia, serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.1em; }
a { color: var(--sky-deep); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--sky-deep);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--sky-deep);
  margin: 0 0 0.75rem;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
  border: 2px solid var(--ink);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-rust {
  background: var(--ink);
  color: #fff;
}
.btn-rust:hover { background: var(--sky-deep); border-color: var(--sky-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--ink);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand-mark { color: var(--sky-deep); flex-shrink: 0; display: flex; }
.brand-mark-img {
  display: block;
  height: 34px;
  width: auto;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.15;
  display: block;
}
.brand-text em {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pine-dark);
}
.main-nav {
  display: flex;
  gap: 1.75rem;
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { border-bottom-color: var(--sky-deep); color: var(--sky-deep); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-light) 0%, var(--sky-mid) 58%, var(--sky-deep) 100%);
  color: var(--ink);
  padding-top: clamp(3.5rem, 8vw, 6.5rem);
  padding-bottom: clamp(4.5rem, 10vw, 8rem);
}
.hero-treeline {
  position: absolute;
  left: 0;
  right: 0;
  top: 51%;
  width: 100%;
  height: clamp(38px, 6.5vw, 66px);
  z-index: 0;
  pointer-events: none;
}
.tree-far { fill: var(--pine); opacity: 0.45; }
.tree-back { fill: var(--pine); opacity: 0.7; }
.tree-mid { fill: var(--pine-dark); opacity: 0.82; }
.tree-front { fill: var(--pine-dark); opacity: 0.95; }

.hero-peninsula {
  position: absolute;
  top: 8%;
  right: clamp(20px, 4vw, 64px);
  width: clamp(150px, 19vw, 235px);
  height: auto;
  z-index: 0;
  filter: drop-shadow(0 12px 24px rgba(9, 30, 41, 0.18));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  background: rgba(255, 255, 255, 0.92);
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  padding: clamp(1.75rem, 4vw, 3rem);
}
.hero h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  font-weight: 900;
}
.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 34ch;
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Dividers */
.divider {
  color: var(--sky-deep);
  line-height: 0;
  background: var(--white);
}
.divider svg { width: 100%; height: 28px; display: block; stroke-width: 2; }
.divider-alt { background: var(--bg-alt); }
.about { background: var(--white); }
.priorities { background: var(--bg-alt); }
.contact { background: var(--white); }

/* About */
.about { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.about-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-photo-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  background: linear-gradient(160deg, var(--sky-deep), var(--sky-mid));
}
.about-copy h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

/* Priorities */
.priorities { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.priorities h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); max-width: 26ch; }
.section-lede {
  max-width: 60ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.priority-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.priority-card {
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-top: 5px solid var(--sky-deep);
  padding: 1.5rem 1.6rem;
  border-radius: 10px;
}
.priority-card:nth-child(even) {
  border-top-color: var(--pine);
}
.priority-card h3 {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.priority-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Contact */
.contact { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-copy h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.contact-list li {
  border-top: 1px solid rgba(12, 20, 22, 0.16);
  padding-top: 0.75rem;
}
.contact-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--pine-dark);
  margin-bottom: 0.2rem;
}
.contact-list a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.contact-list a:hover { color: var(--sky-deep); }
.contact-list small {
  display: block;
  color: var(--ink-soft);
  opacity: 0.8;
  font-size: 0.75rem;
  margin-top: 0.15rem;
}
.contact-card {
  background: var(--ink);
  color: var(--sky-light);
  border-radius: 10px;
  padding: 2rem;
}
.contact-card h3 {
  color: #fff;
  font-size: 1.3rem;
}
.contact-card p {
  color: var(--sky-light);
  font-size: 0.95rem;
}
.contact-card .btn-rust {
  background: var(--sky-deep);
  border-color: var(--sky-deep);
}
.contact-card .btn-rust:hover {
  background: var(--sky-mid);
  border-color: var(--sky-mid);
  color: var(--ink);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--sky-light);
  padding: 1.75rem 0;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
}
.footer-row p { margin: 0; }
.authorized { opacity: 0.75; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1040px) {
  .hero-peninsula { display: none; }
}

@media (max-width: 860px) {
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-photo-img { max-width: 320px; }
}

@media (max-width: 720px) {
  .main-nav, .nav-cta { display: none; }
  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 2px solid var(--ink);
    gap: 1rem;
  }
  .nav-toggle { display: flex; }
}
