/* =========================================
   QUANTLETS PLAYGROUND NW — CORE STYLE
   Palette inspired by PNW cedar, moss, fog & sunlight
   ========================================= */

:root {
  /* Backgrounds */
  --bg-primary: #f6f1e8;         /* warm linen / soft daylight */
  --bg-secondary: #ede5d4;       /* aged paper */
  --bg-elevated: #ffffff;         /* surfaces */
  --bg-deep: #2a2f26;             /* deep forest */

  /* Accents */
  --accent-cedar: #a05a2c;        /* warm cedar */
  --accent-cedar-soft: #c47a47;
  --accent-moss: #4e6b43;         /* mossy green */
  --accent-moss-deep: #36492e;
  --accent-fog: #9cabab;          /* PNW fog */
  --accent-sun: #d9a55c;          /* warm filtered sunlight */

  /* Text */
  --text-primary: #2a2f26;
  --text-secondary: #55594e;
  --text-muted: #8a8a7f;
  --text-on-dark: #f6f1e8;

  /* Lines */
  --border-soft: rgba(42, 47, 38, 0.08);
  --border-mid: rgba(42, 47, 38, 0.14);

  /* Shadows */
  --shadow-soft: 0 4px 24px rgba(42, 47, 38, 0.06);
  --shadow-mid: 0 10px 40px rgba(42, 47, 38, 0.10);
  --shadow-lift: 0 18px 50px rgba(42, 47, 38, 0.14);

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Type */
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-y: 110px;
  --container-pad: 32px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; }

p { color: var(--text-secondary); }
.muted { color: var(--text-muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-cedar);
  margin-bottom: 18px;
}

.link-arrow {
  display: inline-block;
  margin-top: 20px;
  color: var(--accent-moss-deep);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.link-arrow:hover { color: var(--accent-cedar); border-bottom-color: var(--accent-cedar); }

/* ========== LAYOUT ========== */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  width: 100%;
}
.section { padding: var(--section-y) 0; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 70px;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 232, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
  transition: all 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(246, 241, 232, 0.92);
  box-shadow: var(--shadow-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}
.logo-mark {
  color: var(--accent-cedar);
  font-size: 1.3rem;
  transform: rotate(45deg);
  display: inline-block;
}
.logo-text em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-moss);
  margin-left: 4px;
}

.nav-desktop {
  display: flex;
  gap: 36px;
}
.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent-cedar);
  transition: width 0.3s var(--ease);
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--text-primary); }
.nav-link.active::after { width: 100%; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s var(--ease);
  border-radius: 2px;
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100%; height: 100vh;
  background: rgba(246, 241, 232, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  padding-top: 100px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 32px;
  align-items: flex-start;
}
.mobile-menu .nav-link { font-size: 1.8rem; font-family: var(--font-serif); }
.mobile-menu .nav-link.small { font-size: 1rem; color: var(--text-muted); }
.mobile-menu .btn { margin-top: 20px; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--r-md);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-cedar);
  color: #fff;
  box-shadow: 0 6px 20px rgba(160, 90, 44, 0.25);
}
.btn-primary:hover {
  background: var(--accent-cedar-soft);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(160, 90, 44, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-mid);
}
.btn-ghost:hover {
  background: var(--bg-elevated);
  border-color: var(--accent-moss);
  color: var(--accent-moss-deep);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  animation: slowZoom 24s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42, 47, 38, 0.55) 0%, rgba(42, 47, 38, 0.25) 60%, rgba(42, 47, 38, 0.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-on-dark);
  padding: 120px 32px 100px;
  max-width: 860px;
}
.hero-content .eyebrow { color: var(--accent-sun); }
.hero-title {
  color: #fff;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(246, 241, 232, 0.92);
  max-width: 580px;
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-ctas .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.hero-ctas .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}
.hero-meta {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(246, 241, 232, 0.2);
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #fff;
  font-weight: 500;
}
.hero-meta span {
  font-size: 0.82rem;
  color: rgba(246, 241, 232, 0.75);
  letter-spacing: 0.04em;
}

/* ========== PAGE HERO ========== */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero.small { min-height: 46vh; }
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 47, 38, 0.55), rgba(42, 47, 38, 0.35));
}
.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-on-dark);
  padding: 100px 32px 80px;
  max-width: 820px;
}
.page-hero-content .eyebrow { color: var(--accent-sun); }
.page-hero-content h1 { color: #fff; margin-bottom: 20px; }
.page-hero-content p {
  color: rgba(246, 241, 232, 0.92);
  font-size: 1.1rem;
  max-width: 600px;
}

/* ========== STORY ========== */
.story-image img,
.rounded-image {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-mid);
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ========== FEATURES ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--bg-elevated);
  border-radius: var(--r-lg);
  padding: 38px 32px;
  border: 1px solid var(--border-soft);
  transition: all 0.4s var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(160, 90, 44, 0.2);
}
.feature-icon {
  font-size: 1.8rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: var(--r-md);
  margin-bottom: 22px;
}
.feature-card h3 { margin-bottom: 10px; }

/* ========== SHOWCASE ========== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.showcase-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
  transition: all 0.4s var(--ease);
  display: block;
}
.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.showcase-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.showcase-card:hover img { transform: scale(1.04); }
.showcase-info {
  padding: 24px 26px 28px;
}
.showcase-info h3 { margin-bottom: 4px; font-family: var(--font-serif); }
.showcase-info p { font-size: 0.9rem; color: var(--text-muted); }

/* ========== TESTIMONIAL ========== */
.testimonial {
  background: var(--bg-secondary);
  padding: 100px 0;
}
.quote {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 28px;
}
.quote figcaption {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ========== CTA BAND ========== */
.cta-band {
  background: linear-gradient(135deg, var(--accent-moss-deep), var(--bg-deep));
  color: var(--text-on-dark);
}
.cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 32px;
}
.cta-inner h2 { color: #fff; margin-bottom: 16px; }
.cta-inner p { color: rgba(246, 241, 232, 0.85); margin-bottom: 36px; font-size: 1.1rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.cta-band .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

/* ========== VALUES (ABOUT) ========== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  background: var(--bg-elevated);
  padding: 40px 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-soft);
  transition: all 0.4s var(--ease);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-mid);
}
.value-card h3 {
  font-family: var(--font-serif);
  margin-bottom: 14px;
  color: var(--accent-moss-deep);
}

/* ========== PLAYSETS DETAIL ========== */
.playset-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}
.playset-detail.reverse { direction: rtl; }
.playset-detail.reverse > * { direction: ltr; }
.playset-detail:last-child { margin-bottom: 0; }
.playset-image img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-mid);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.spec-list {
  margin: 24px 0 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}
.spec-list li {
  padding: 8px 0;
  color: var(--text-secondary);
  border-bottom: 1px dashed var(--border-soft);
  font-size: 0.95rem;
}
.spec-list li:last-child { border-bottom: none; }

/* ========== PROCESS ========== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.process-step {
  text-align: left;
  padding: 32px;
  border-left: 2px solid var(--accent-cedar);
  background: var(--bg-elevated);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  transition: all 0.3s var(--ease);
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-mid);
}
.step-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--accent-cedar);
  display: block;
  margin-bottom: 12px;
}
.process-step h3 { margin-bottom: 8px; }

/* ========== CONTACT ========== */
.contact-grid { align-items: start; gap: 80px; }
.contact-detail {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-soft);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail h4 {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--accent-cedar);
  margin-bottom: 8px;
}
.contact-detail a { color: var(--text-primary); }
.contact-detail a:hover { color: var(--accent-cedar); }

.contact-form {
  background: var(--bg-elevated);
  padding: 44px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: all 0.25s var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent-cedar);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(160, 90, 44, 0.08);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; }

/* ========== LEGAL ========== */
.legal .legal-container {
  max-width: 820px;
  margin: 0 auto;
}
.legal-block {
  padding: 36px 0;
  border-bottom: 1px solid var(--border-soft);
}
.legal-block:last-child { border-bottom: none; }
.legal-block h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--accent-moss-deep);
}
.legal-block p { margin-bottom: 12px; }
.legal-block ul { padding-left: 22px; margin: 12px 0; }
.legal-block li {
  list-style: disc;
  color: var(--text-secondary);
  margin-bottom: 8px;
  padding-left: 6px;
}
.legal-block a {
  color: var(--accent-cedar);
  border-bottom: 1px solid transparent;
}
.legal-block a:hover { border-bottom-color: var(--accent-cedar); }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--bg-deep);
  color: var(--text-on-dark);
  padding: 80px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-brand .logo { color: #fff; margin-bottom: 18px; }
.footer-brand .logo-text em { color: var(--accent-sun); }
.footer-brand p { color: rgba(246, 241, 232, 0.65); max-width: 300px; }
.footer-col h4 {
  color: var(--accent-sun);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  margin-bottom: 20px;
}
.footer-col a, .footer-col p {
  display: block;
  color: rgba(246, 241, 232, 0.75);
  margin-bottom: 10px;
  font-size: 0.94rem;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(246, 241, 232, 0.12);
  font-size: 0.85rem;
  color: rgba(246, 241, 232, 0.55);
}