/* ==============================
   FEATURE PANEL NZ — THEME
   Warm timber, architectural precision
   ============================== */

:root {
  --bg:          #faf7f2;
  --bg-alt:      #f0ebe2;
  --surface:     #ffffff;
  --text:        #1c1611;
  --text-muted:  #6b5f52;
  --accent:      #b8620a;
  --accent-dark: #7d4208;
  --walnut:      #4a3022;
  --ocher:       #c9883a;
  --cream:       #ede4d6;
  --border:      #d9cfc2;
  --panel-light: #e8dfd1;
  --panel-mid:   #c4a87a;
  --panel-dark:  #8b6544;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--walnut);
  letter-spacing: -0.02em;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--accent); }

/* ---- HERO ---- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem 2.5rem 6rem;
  min-height: 92vh;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ocher);
  margin-bottom: 1.25rem;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--walnut);
  margin-bottom: 1.75rem;
}

.hero__headline em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}

/* Hero Visual — stacked panel strip */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__panel-stack {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  transform: translateX(20px);
}

.hero__panel {
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(74, 48, 34, 0.18);
}

.hero__panel--1 {
  width: 100px;
  height: 360px;
  background: linear-gradient(160deg, #d4b896 0%, #c4a87a 60%, #a8895e 100%);
  transform: rotate(-3deg);
}

.hero__panel--2 {
  width: 120px;
  height: 480px;
  background: linear-gradient(160deg, #e8dfd1 0%, #d4b896 50%, #b89060 100%);
  transform: rotate(1deg);
}

.hero__panel--3 {
  width: 90px;
  height: 320px;
  background: linear-gradient(160deg, #c4a87a 0%, #a07840 60%, #7d5a28 100%);
  transform: rotate(4deg);
}

/* ---- MANIFESTO ---- */
.manifesto {
  background: var(--walnut);
  padding: 6rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.manifesto__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.manifesto__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.manifesto__body {
  font-size: 1.05rem;
  color: var(--panel-light);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 3.5rem;
}

.manifesto__stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.manifesto__stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.manifesto__stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--ocher);
  letter-spacing: -0.03em;
}

.manifesto__stat-label {
  font-size: 0.8rem;
  color: var(--panel-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---- PROFILES ---- */
.profiles {
  padding: 6rem 2.5rem;
  background: var(--bg);
}

.profiles__inner { max-width: 1100px; margin: 0 auto; }

.profiles__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ocher);
  margin-bottom: 2rem;
}

.profiles__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.profiles__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}

.profiles__card:hover {
  box-shadow: 0 12px 40px rgba(74, 48, 34, 0.12);
  transform: translateY(-4px);
}

.profiles__card--tall { grid-row: span 2; }

.profiles__card-art {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.profiles__card--tall .profiles__card-art { height: 340px; }

/* Fluted panel art */
.profiles__card-art--fluted {
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent 14px, rgba(74,48,34,0.15) 14px, rgba(74,48,34,0.15) 16px),
    linear-gradient(160deg, #e8dfd1, #c4a87a);
}

/* Wave art */
.profiles__card-art--wave {
  background: linear-gradient(135deg, #f0ebe2 0%, #d4b896 50%, #a07840 100%);
}

/* Solid timber art */
.profiles__card-art--solid {
  background: linear-gradient(160deg, #8b6544 0%, #6b4020 50%, #4a3022 100%);
}

/* Laminate art */
.profiles__card-art--laminate {
  background: linear-gradient(135deg, #faf7f2 0%, #e8dfd1 50%, #c4a87a 100%);
}

.profiles__card-body {
  padding: 1.25rem 1.5rem 1.75rem;
}

.profiles__card-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--walnut);
  margin-bottom: 0.5rem;
}

.profiles__card-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- PROCESS ---- */
.process {
  padding: 6rem 2.5rem;
  background: var(--bg-alt);
}

.process__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.process__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ocher);
  margin-bottom: 1rem;
}

.process__headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300;
  color: var(--walnut);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.process__steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
}

.process__step { position: relative; }

.process__step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--border);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

.process__step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--walnut);
  margin-bottom: 0.6rem;
}

.process__step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- CLOSING ---- */
.closing {
  padding: 8rem 2.5rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.closing__inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.closing__texture {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,146,58,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.closing__headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--walnut);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
}

.closing__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--walnut);
  padding: 3rem 2.5rem;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  display: block;
  margin-bottom: 0.35rem;
}

.footer__brand p {
  font-size: 0.85rem;
  color: var(--panel-light);
  line-height: 1.5;
}

.footer__links {
  display: flex;
  gap: 2rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--panel-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--ocher); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 3.5rem 1.5rem 4rem;
  }
  .hero__visual { display: none; }
  .hero__headline { font-size: 2.5rem; }

  .manifesto { padding: 4rem 1.5rem; }
  .manifesto__stats { gap: 2rem; }

  .profiles { padding: 4rem 1.5rem; }
  .profiles__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .profiles__card--tall { grid-row: span 1; }
  .profiles__card--tall .profiles__card-art { height: 220px; }

  .process__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .process__steps { grid-template-columns: 1fr; gap: 2rem; }

  .closing { padding: 5rem 1.5rem; }
  .footer__inner { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
}

@media (max-width: 500px) {
  .profiles__grid { grid-template-columns: 1fr; }
  .manifesto__stats { flex-direction: column; gap: 1.5rem; }
}