/* ============================================
   BUILD WITH NATE - Workshop Maker Aesthetic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;500;600;700;800;900&family=Karla:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- CSS Variables --- */
:root {
  --dark: #1a1714;
  --dark-mid: #242019;
  --dark-soft: #2e2a23;
  --cream: #f5f0e8;
  --cream-dim: #d9d2c7;
  --coral: #e8725c;
  --coral-dark: #c45a46;
  --coral-glow: #ff8a72;
  --wood: #c4956a;
  --wood-light: #dbb896;
  --green-board: #4a7a4a;
  --blue-accent: #5a7fa8;
  --font-display: 'Big Shoulders Display', sans-serif;
  --font-body: 'Karla', sans-serif;
  --max-width: 1200px;
  --section-pad: clamp(60px, 10vw, 120px);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--coral) var(--dark-mid);
}

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; font-family: inherit; }

/* --- Utility --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* --- Noise texture overlay --- */
body::before {
  content: '';
  position: fixed;
  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='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.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}

.nav.scrolled {
  background: rgba(26, 23, 20, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.4);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--coral);
  transition: transform 0.3s;
}

.nav-logo:hover img { transform: rotate(10deg) scale(1.05); }

.nav-logo span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }

.nav-yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff0000;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 4px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.nav-yt-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
}

.nav-yt-btn svg { width: 18px; height: 18px; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  color: var(--cream);
  font-size: 1.6rem;
  padding: 4px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/nate/hero.jpg') center center / cover no-repeat;
  filter: brightness(0.35) saturate(0.8);
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero.in-view .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 23, 20, 0.9) 0%,
    rgba(26, 23, 20, 0.5) 50%,
    rgba(26, 23, 20, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px clamp(20px, 4vw, 40px) 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text { animation: fadeSlideUp 1s ease-out 0.3s both; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 114, 92, 0.15);
  border: 1px solid rgba(232, 114, 92, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral-glow);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero h1 .accent { color: var(--coral); }

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--cream-dim);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 114, 92, 0.3);
}

.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  border: 2px solid var(--cream-dim);
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: var(--coral);
  color: var(--coral);
  transform: translateY(-2px);
}

.hero-image {
  display: flex;
  justify-content: center;
  animation: fadeSlideUp 1s ease-out 0.6s both;
}

.hero-logo-container {
  position: relative;
  width: 340px;
  height: 340px;
}

.hero-logo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--coral);
  box-shadow: 0 0 60px rgba(232, 114, 92, 0.2), 0 20px 60px rgba(0,0,0,0.5);
}

.hero-logo-ring {
  position: absolute;
  inset: -16px;
  border: 2px dashed rgba(232, 114, 92, 0.25);
  border-radius: 50%;
  animation: spinSlow 30s linear infinite;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 40px;
  padding-top: 60px;
  border-top: 1px solid rgba(245, 240, 232, 0.08);
  margin-top: 60px;
  grid-column: 1 / -1;
  animation: fadeSlideUp 1s ease-out 0.9s both;
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--coral);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--cream-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
  position: relative;
}

.section-tag::before,
.section-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--coral);
  opacity: 0.4;
}

.section-tag::before { right: calc(100% + 12px); }
.section-tag::after { left: calc(100% + 12px); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--cream-dim);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* --- About Section --- */
.about {
  padding: var(--section-pad) 0;
  position: relative;
  background: var(--dark-mid);
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--coral), transparent);
  opacity: 0.3;
}

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

.about-images {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-img {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.about-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.6s;
}

.about-img:hover img { transform: scale(1.03); }

.about-img:first-child {
  max-width: 360px;
}

.about-text h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 24px;
}

.about-story {
  color: var(--cream-dim);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-story strong { color: var(--cream); }

.about-philosophy {
  background: rgba(232, 114, 92, 0.08);
  border-left: 3px solid var(--coral);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin-top: 28px;
}

.about-philosophy p {
  font-style: italic;
  color: var(--cream);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- Projects Section --- */
.projects {
  padding: var(--section-pad) 0;
  position: relative;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
  position: relative;
}

.project-card:last-child { margin-bottom: 0; }
.project-card.reverse { direction: rtl; }
.project-card.reverse > * { direction: ltr; }

.project-images {
  position: relative;
}

.project-showcase {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--dark-mid);
  border: 2px solid rgba(245, 240, 232, 0.06);
  aspect-ratio: 3 / 4;
}

.project-showcase img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: opacity 0.6s, transform 0.6s;
}

.project-showcase .img-blowout {
  opacity: 0;
  transform: scale(0.95);
}

.project-showcase:hover .img-complete {
  opacity: 0;
  transform: scale(1.05);
}

.project-showcase:hover .img-blowout {
  opacity: 1;
  transform: scale(1);
}

.project-showcase-label {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream-dim);
  background: rgba(26, 23, 20, 0.8);
  padding: 6px 14px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.project-showcase:hover .project-showcase-label { opacity: 1; }

.project-board {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--green-board);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transform: rotate(6deg);
  transition: transform 0.4s;
  z-index: 2;
  background: var(--dark);
}

.project-board img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.project-board:hover { transform: rotate(0deg) scale(1.1); }

.project-info h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 8px;
}

.project-type {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 20px;
}

.project-desc {
  color: var(--cream-dim);
  line-height: 1.8;
  margin-bottom: 28px;
}

.project-disciplines {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.discipline-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(245, 240, 232, 0.05);
  border: 1px solid rgba(245, 240, 232, 0.1);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cream-dim);
  transition: all 0.3s;
}

.discipline-tag:hover {
  border-color: var(--coral);
  color: var(--coral);
  background: rgba(232, 114, 92, 0.08);
}

.discipline-tag svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

/* --- FAQ Section --- */
.faq {
  padding: var(--section-pad) 0;
  background: var(--dark-mid);
  position: relative;
}

.faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wood), transparent);
  opacity: 0.2;
}

.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.faq-tab {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 4px;
  background: rgba(245, 240, 232, 0.05);
  color: var(--cream-dim);
  border: 1px solid rgba(245, 240, 232, 0.1);
  transition: all 0.3s;
}

.faq-tab:hover {
  color: var(--cream);
  background: rgba(245, 240, 232, 0.08);
}

.faq-tab.active {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-group { display: none; }
.faq-group.active { display: block; }

.faq-item {
  border-bottom: 1px solid rgba(245, 240, 232, 0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  transition: color 0.3s;
  gap: 16px;
}

.faq-question:hover { color: var(--coral); }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(245, 240, 232, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
  stroke: var(--cream-dim);
}

.faq-item.open .faq-icon {
  border-color: var(--coral);
  background: var(--coral);
}

.faq-item.open .faq-icon svg {
  transform: rotate(45deg);
  stroke: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s;
}

.faq-answer-inner {
  padding-bottom: 24px;
  color: var(--cream-dim);
  line-height: 1.8;
}

/* --- Shop / Coming Soon Section --- */
.shop {
  padding: var(--section-pad) 0;
  position: relative;
  text-align: center;
}

.shop-preview {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.shop-item {
  position: relative;
  width: 260px;
  padding: 32px;
  background: var(--dark-mid);
  border: 2px solid rgba(245, 240, 232, 0.06);
  border-radius: 12px;
  transition: all 0.4s;
}

.shop-item:hover {
  border-color: rgba(232, 114, 92, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.shop-item img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.3));
}

.shop-item h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.shop-item p {
  font-size: 0.9rem;
  color: var(--cream-dim);
  margin-bottom: 16px;
}

.shop-coming-soon {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral);
  padding: 8px 20px;
  border: 1px dashed var(--coral);
  border-radius: 100px;
}

/* --- Footer --- */
.footer {
  padding: 48px 0;
  background: var(--dark);
  border-top: 1px solid rgba(245, 240, 232, 0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.footer-brand span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-links a {
  color: var(--cream-dim);
  transition: color 0.3s;
  display: flex;
  align-items: center;
}

.footer-links a:hover { color: var(--coral); }
.footer-links svg { width: 22px; height: 22px; }

.footer-copy {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.35);
}

/* --- Animations --- */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-subtitle { margin: 0 auto 36px; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }

  .hero-logo-container {
    width: 240px;
    height: 240px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-images { max-width: 280px; margin: 0 auto; }

  .project-card,
  .project-card.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

  .project-board {
    width: 90px;
    height: 120px;
    bottom: -12px;
    right: -8px;
  }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 23, 20, 0.98);
    backdrop-filter: blur(12px);
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(245, 240, 232, 0.06);
  }
  .nav-toggle { display: block; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .stat { flex: 1; min-width: 100px; }
  .shop-preview { gap: 20px; }
  .shop-item { width: 100%; max-width: 300px; }
  .faq-tabs { flex-wrap: wrap; }
}
