/* Northpine — Pine Brand Theme (warmer, greener, more “real”) */

:root{
  /* Core */
  --bg: #f5f7f5;
  --surface: #ffffff;
  --surface-2: #eef3ef;
  --text: #0b1b2b;
  --muted: #546274;

  /* Pine brand (from logo) */
  --pine-1: #174233;   /* deep pine */
  --pine-2: #2a6a52;   /* lighter pine */
  --primary: var(--pine-1);
  --accent: var(--pine-2);

  /* UI */
  --stroke: rgba(11,27,43,.10);
  --stroke-2: rgba(11,27,43,.06);
  --shadow: 0 16px 40px rgba(11,27,43,.10);
  --shadow-soft: 0 8px 22px rgba(11,27,43,.08);

  --radius: 18px;
  --radius-sm: 14px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);

  /* warmer background with pine wash */
  background:
    radial-gradient(1000px 500px at 12% 0%, rgba(42,106,82,.10), rgba(42,106,82,0) 60%),
    radial-gradient(1000px 500px at 88% 12%, rgba(23,66,51,.08), rgba(23,66,51,0) 60%),
    linear-gradient(180deg, #f7faf7 0%, #f4f7f4 40%, #f5f7f5 100%);
  min-height:100vh;
}

img{ max-width:100%; height:auto; }
a{ color:inherit; }
.container{ max-width:1140px; margin:0 auto; padding:0 18px; }

/* Skip link */
.skip{ position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden; }
.skip:focus{
  left:18px; top:18px; width:auto; height:auto;
  padding:10px 12px;
  background: var(--surface);
  border:1px solid var(--stroke);
  border-radius: 12px;
  z-index:9999;
  box-shadow: var(--shadow-soft);
}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  background: rgba(245,247,245,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--stroke-2);
}
.navbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:14px 0;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand img{ width:38px; height:38px; box-shadow: 0 6px 16px rgba(11,27,43,.10); }
.brand strong{ letter-spacing:-0.02em; font-size:15.5px; }
.brand span{ display:block; font-size:13px; color:var(--muted); margin-top:2px; }

/* Nav */
.nav{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.nav a{
  text-decoration:none;
  padding:10px 12px;
  border-radius:999px;
  color:var(--muted);
  border:1px solid transparent;
  transition: all .16s ease;
}
.nav a:hover{
  color:var(--text);
  background: rgba(42,106,82,.10);
  border-color: rgba(42,106,82,.18);
}
.nav a.active{
  color: var(--pine-1);
  background: rgba(42,106,82,.12);
  border-color: rgba(42,106,82,.22);
}

/* Buttons */
.cta{ display:flex; gap:10px; align-items:center; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:11px 14px;
  border-radius:12px;
  text-decoration:none;
  font-weight:800;
  border:1px solid var(--stroke);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(11,27,43,.03);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow-soft); }

.btn-ghost{
  background: transparent;
  color: var(--pine-1);
  border-color: rgba(42,106,82,.22);
}

.btn-primary{
  color:#fff;
  border-color: rgba(23,66,51,.22);
  background: linear-gradient(180deg, var(--pine-2), var(--pine-1));
  box-shadow: 0 14px 26px rgba(23,66,51,.18);
}
.btn-primary:hover{ box-shadow: 0 18px 34px rgba(23,66,51,.22); }

/* Hero */
.hero{ padding: 36px 0 10px; }
.heroGrid{ display:grid; gap:16px; grid-template-columns:1fr; }
@media (min-width: 920px){
  .heroGrid{ grid-template-columns: 1.05fr .95fr; align-items:stretch; }
}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px;
  border:1px solid var(--stroke);
  border-radius:999px;
  color:var(--muted);
  background: rgba(255,255,255,.84);
}
.kicker b{ color: var(--pine-1); }

.h1{
  margin:14px 0 10px;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.lead{
  margin:0;
  color:var(--muted);
  line-height:1.65;
  font-size: 16.5px;
}
.heroActions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }

/* Pills */
.pill{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(42,106,82,.22);
  background: rgba(42,106,82,.08);
  color: var(--pine-1);
}

/* Panels / Cards */
.panel{
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.panelInner{ padding: 16px; }

.section{ padding: 18px 0; }
.sectionHead{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:14px; flex-wrap:wrap;
  margin-bottom: 12px;
}
.h2{
  margin:0;
  font-size: 22px;
  letter-spacing:-0.02em;
}
.sub{ margin:0; color:var(--muted); line-height:1.6; max-width:72ch; }

.grid{ display:grid; gap:14px; grid-template-columns:1fr; }
@media (min-width: 760px){ .grid{ grid-template-columns: repeat(3, 1fr); } }

.card{
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px;
  box-shadow: 0 1px 0 rgba(11,27,43,.03);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(42,106,82,.22);
}
.card h3{ margin:0 0 6px; font-size:16px; color: var(--pine-1); }
.card p{ margin:0; color:var(--muted); line-height:1.55; font-size:14px; }

.split{ display:grid; gap:14px; grid-template-columns:1fr; }
@media (min-width: 900px){ .split{ grid-template-columns:1fr 1fr; } }

/* Lists */
.list{ margin:10px 0 0; padding:0; list-style:none; display:grid; gap:10px; }
.list li{
  display:flex; gap:10px;
  padding:12px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border:1px solid var(--stroke);
}
.dot{
  width:10px; height:10px; border-radius:999px;
  margin-top:5px;
  background: linear-gradient(180deg, var(--pine-2), var(--pine-1));
  box-shadow: 0 0 0 6px rgba(42,106,82,.10);
}

/* Gallery */
.gallery{ display:grid; gap:12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px){ .gallery{ grid-template-columns: repeat(3, 1fr); } }

.photo{
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border:1px solid var(--stroke);
  overflow:hidden;
  position:relative;
  background: #e9eef6;
  box-shadow: var(--shadow-soft);
}
.photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter: saturate(1.02) contrast(1.02);
}
.photo::after{
  content: attr(data-label);
  position:absolute;
  left:12px; bottom:12px;
  font-weight:800;
  font-size:12.5px;
  color: var(--pine-1);
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(42,106,82,.22);
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(8px);
}

/* Forms */
.form{ display:grid; gap:10px; }
.field label{ display:block; font-size:13px; color:var(--muted); margin:0 0 6px; }
.field input, .field textarea{
  width:100%;
  padding:12px 12px;
  border-radius: var(--radius-sm);
  border:1px solid var(--stroke);
  background: var(--surface);
  color:var(--text);
  outline:none;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.field input:focus, .field textarea:focus{
  border-color: rgba(42,106,82,.35);
  box-shadow: 0 0 0 4px rgba(42,106,82,.14);
}
.field textarea{ min-height: 120px; resize: vertical; }
.note{ font-size:13px; color:var(--muted); line-height:1.55; }

.small{ font-size:13px; color:var(--muted); }

/* Footer */
.footer{
  margin-top: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--stroke-2);
  color: var(--muted);
  font-size: 14px;
  background: rgba(255,255,255,.58);
}
.footerGrid{ display:grid; gap:12px; grid-template-columns:1fr; }
@media (min-width: 760px){ .footerGrid{ grid-template-columns: 1fr 1fr; align-items:center; } }
.footer a{ color:var(--muted); text-decoration:none; }
.footer a:hover{ color: var(--pine-1); }

/* Reveal */
.reveal{ opacity:0; transform: translateY(10px); transition: opacity .55s ease, transform .55s ease; }
.reveal.on{ opacity:1; transform:none; }
