/*
Theme Name: WKNSF
Theme URI: https://wknsf.com
Author: WKNSF LLC
Author URI: https://wknsf.com
Description: One-page theme for WKNSF LLC — Sourced with Purpose. A curated home goods brand with a refined editorial aesthetic.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wknsf
Tags: one-page, custom-menu, custom-logo, featured-images, full-width-template
*/

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #f5f0e8;
  --warm-white: #faf8f4;
  --ink: #1c1a17;
  --muted: #7a7469;
  --accent: #b5763a;
  --accent-light: #d4a96a;
  --rule: #ddd8ce;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background-color: var(--warm-white);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── NAV ── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 3rem;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s;
}

#site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

.site-branding .site-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}

.site-branding .site-title a { color: var(--ink); text-decoration: none; }

#primary-navigation ul {
  display: flex;
  gap: 2.4rem;
}

#primary-navigation ul li a {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

#primary-navigation ul li a:hover,
#primary-navigation ul li a:focus { color: var(--accent); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 8rem 3rem 5rem 10vw;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 55vw; height: 80vh;
  background: radial-gradient(ellipse at 60% 40%, #e8d9c0 0%, transparent 70%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.2s;
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 700px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.45s;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  margin-top: 2rem;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.75;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.7s;
}

.hero-cta {
  margin-top: 3rem;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.9s;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--ink);
  color: var(--warm-white);
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}

.btn-primary:hover, .btn-primary:focus { background: var(--accent); color: var(--warm-white); }

.btn-ghost {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover, .btn-ghost:focus { color: var(--accent); border-color: var(--accent); }

/* ── DIVIDER ── */
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--rule);
}

/* ── MISSION ── */
#mission {
  padding: 7rem 10vw;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.mission-label {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 0.4rem;
}

.mission-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
}

.mission-body strong { font-weight: 600; }

/* ── PILLARS ── */
#pillars {
  background: var(--cream);
  padding: 6rem 10vw;
}

.pillars-header { margin-bottom: 4rem; }

.pillars-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.pillar {
  padding: 2.8rem 2.4rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s;
}

.pillar:hover { background: var(--warm-white); }

.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 1.2rem;
}

.pillar h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
}

.pillar p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ── PHILOSOPHY ── */
#philosophy {
  padding: 8rem 10vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.philosophy-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.philosophy-text p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.philosophy-quote {
  border-left: 3px solid var(--accent);
  padding-left: 2rem;
}

.philosophy-quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink);
}

.philosophy-quote cite {
  display: block;
  margin-top: 1.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-style: normal;
}

/* ── CATEGORIES ── */
#categories {
  background: var(--ink);
  padding: 7rem 10vw;
  color: var(--cream);
}

#categories h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  margin-bottom: 0.6rem;
  color: var(--cream);
}

.categories-sub {
  font-size: 0.88rem;
  color: #a09890;
  margin-bottom: 3.5rem;
}

.categories-list {
  border-top: 1px solid #3a3630;
}

.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 0;
  border-bottom: 1px solid #3a3630;
  transition: padding-left 0.3s;
  cursor: default;
}

.category-item:hover { padding-left: 1rem; }
.category-item:hover .cat-name { color: var(--accent-light); }

.cat-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 300;
  transition: color 0.3s;
}

.cat-desc {
  font-size: 0.78rem;
  color: #7a7469;
  letter-spacing: 0.1em;
  max-width: 260px;
  text-align: right;
}

/* ── CTA BAND ── */
#contact-cta {
  padding: 7rem 10vw;
  text-align: center;
}

#contact-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

#contact-cta h2 em { font-style: italic; color: var(--accent); }

#contact-cta p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 2.8rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ── FOOTER ── */
#site-footer {
  border-top: 1px solid var(--rule);
  padding: 2.4rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── WP ALIGNMENT HELPERS ── */
.alignleft  { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { margin: 0 auto; display: block; }
.wp-caption { max-width: 100%; }
.screen-reader-text { position: absolute; left: -9999px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #site-header { padding: 1.2rem 1.5rem; }
  #primary-navigation { display: none; }
  #hero { padding: 8rem 1.5rem 5rem; }
  #mission { grid-template-columns: 1fr; gap: 2rem; padding: 5rem 1.5rem; }
  #pillars { padding: 5rem 1.5rem; }
  .pillars-grid { grid-template-columns: 1fr; }
  #philosophy { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 1.5rem; }
  #categories { padding: 5rem 1.5rem; }
  .cat-desc { display: none; }
  #contact-cta { padding: 5rem 1.5rem; }
  #site-footer { flex-direction: column; gap: 0.8rem; text-align: center; padding: 2rem 1.5rem; }
}
