/* Hyzer Haus — Pacific Northwest palette: deep evergreen, sage, mist, cedar */

:root {
  --bg-root: #0c1512;
  --bg-elevated: #121f1a;
  --bg-card: #162823;
  --bg-card-hover: #1b3029;
  --pine: #2d4a3e;
  --sage: #7c9a84;
  --sage-muted: #5e7a66;
  --mist: #dce5df;
  --fog: #8a9a91;
  --cedar: #c9a66b;
  --cedar-deep: #a67c3d;
  --white: #f4f7f5;
  --shadow: rgba(0, 0, 0, 0.35);
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --radius: 14px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--mist);
  background: var(--bg-root);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 154, 132, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(45, 74, 62, 0.25), transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 80%, rgba(21, 40, 35, 0.6), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.mist-overlay {
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: soft-light;
}

a { color: var(--cedar); text-decoration: none; }
a:hover { color: var(--mist); }

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
  padding-inline: 1rem;
}

.container.narrow { max-width: 720px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 21, 18, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124, 154, 132, 0.12);
}

.header-inner {
  height: var(--header-h);
  width: min(1120px, 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--white);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--pine), var(--sage), var(--cedar-deep), var(--pine));
  box-shadow: 0 0 0 2px rgba(201, 166, 107, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a { color: var(--fog); }
.nav a:hover { color: var(--mist); }

.nav-cta {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(124, 154, 132, 0.2);
  color: var(--mist) !important;
  border: 1px solid rgba(124, 154, 132, 0.35);
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--mist);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 4px 0;
}

.hero {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 12vw, 7rem);
}

.hero-visual {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: var(--sage-muted);
}

.ridge-line { width: 100%; height: clamp(120px, 18vw, 200px); display: block; }

.hero-inner {
  position: relative;
  width: min(760px, 92vw);
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 6vw, 3.45rem);
  line-height: 1.1;
  color: var(--white);
  margin: 0.75rem 0 1rem;
}

.hero h1 em { color: var(--cedar); font-style: italic; }
.hero-lede { max-width: 36em; margin: 0 auto 2rem; color: var(--fog); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sage-muted), var(--pine));
  color: var(--white);
}

.btn-ghost {
  color: var(--mist);
  border: 1px solid rgba(220, 229, 223, 0.25);
}

.btn-light {
  background: var(--mist);
  color: var(--bg-root);
}

.strip {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.strip-intro {
  background: linear-gradient(180deg, transparent, rgba(22, 40, 35, 0.35));
  border-top: 1px solid rgba(124, 154, 132, 0.1);
  border-bottom: 1px solid rgba(124, 154, 132, 0.1);
}

.section-title {
  font-family: var(--font-serif);
  color: var(--white);
  margin: 0 0 0.75rem;
}

.strip-intro p,
.section-sub,
.service-card p,
.cta-copy { color: var(--fog); }

.services {
  position: relative;
  z-index: 2;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
}

.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.25rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(124, 154, 132, 0.12);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.service-card-wide { grid-column: 1 / -1; }
.service-card h3 { color: var(--white); margin-top: 0; font-family: var(--font-serif); }
.service-list { color: var(--sage); padding-left: 1.2rem; margin: 0; }

.cta-band {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--pine) 0%, #1e3229 50%, var(--bg-elevated) 100%);
  border-top: 1px solid rgba(201, 166, 107, 0.2);
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-title {
  font-family: var(--font-serif);
  color: var(--white);
  margin: 0 0 0.5rem;
}

.cta-note {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: rgba(244, 247, 245, 0.55);
}

.site-footer {
  position: relative;
  z-index: 2;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(124, 154, 132, 0.1);
  background: var(--bg-root);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem 2rem;
}

.footer-brand strong { color: var(--white); font-family: var(--font-serif); }
.footer-brand span { color: var(--fog); font-size: 0.88rem; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin-left: auto;
}

.footer-nav a { color: var(--fog); font-size: 0.88rem; }
.footer-copy { width: 100%; color: var(--fog); font-size: 0.82rem; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem;
    background: rgba(12, 21, 18, 0.97);
    border-bottom: 1px solid rgba(124, 154, 132, 0.15);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.75rem 0; border-bottom: 1px solid rgba(124, 154, 132, 0.08); }
  .nav a:last-child { border-bottom: none; }
}
