/* RESET AND GLOBALS */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  /* Palette inspired by a woodshop */
  --bg: #090806;
  --bg-alt: #12100d;
  --panel: #18130f;
  --panel-soft: #201812;
  --accent: #d2a55c;        /* brass */
  --accent-soft: rgba(210, 165, 92, 0.16);
  --accent-strong: #e3b96a;
  --text-main: #f5f0e8;     /* warm off white */
  --text-muted: #b6a89a;
  --border-subtle: rgba(143, 118, 86, 0.55);
  --pill-bg: rgba(78, 64, 50, 0.9);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.85);
  --radius-lg: 18px;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  background:
    radial-gradient(circle at 0 0, #292117 0, transparent 55%),
    radial-gradient(circle at 100% 0, #221a12 0, transparent 60%),
    radial-gradient(circle at 50% 120%, #050403 0, #000 75%);
  color: var(--text-main);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

/* LAYOUT */

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background:
    radial-gradient(circle at top, #18120d 0, #090806 65%);
}

.section-heading {
  margin: 0 0 24px;
  font-size: 1.9rem;
  font-weight: 600;
}

/* HEADER AND NAV */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(5, 4, 3, 0.97),
    rgba(5, 4, 3, 0.9),
    transparent
  );
  border-bottom: 1px solid rgba(44, 33, 22, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  background:
    radial-gradient(circle at 30% 0, #f7e4b2 0, #e2b86c 40%, #b4813e 80%);
  border: 1px solid rgba(77, 49, 22, 0.9);
  color: #24160b;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.9),
    inset 0 0 6px rgba(255, 255, 255, 0.28);
}

.logo-text {
  color: var(--text-main);
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.logo-sub {
  opacity: 0.7;
  font-weight: 400;
  font-size: 0.8rem;
}

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

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 6px 8px;
  border-radius: 999px;
  transition: color 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease;
}

.nav a:hover {
  color: var(--text-main);
  background: rgba(63, 49, 32, 0.7);
}

.nav-cta {
  border: 1px solid rgba(210, 165, 92, 0.9);
}

@media (max-width: 750px) {
  .nav {
    display: none;
  }
}

/* HERO */

.hero {
  padding: 70px 0 56px;
}

.hero-grid {
  display: grid;
}

.hero-copy h1 {
  margin: 10px 0 18px;
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.hero-subtitle {
  margin: 0 0 26px;
  color: var(--text-muted);
  max-width: 38rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent-strong);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.09s ease,
    box-shadow 0.12s ease;
}

.btn-primary {
  background: linear-gradient(to right, #e2b86c, #d19a50);
  color: #22160b;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.9);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.95);
}

.btn-ghost {
  border-color: rgba(143, 118, 86, 0.9);
  color: var(--text-main);
  background: rgba(25, 18, 11, 0.9);
}

.btn-ghost:hover {
  background: rgba(34, 24, 15, 1);
}

/* ABOUT / PILL GRID */

.section-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 800px) {
  .section-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    align-items: center;
  }
}

/* subtle wood panel feel on alt sections */
.section-alt {
  position: relative;
  overflow: hidden;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(48, 35, 23, 0.85),
      rgba(48, 35, 23, 0.85) 1px,
      rgba(32, 24, 16, 0.95) 1px,
      rgba(32, 24, 16, 0.95) 14px
    );
}

.section-alt > .container {
  position: relative;
  z-index: 1;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  background: var(--pill-bg);
  color: #f5f0e8;
  border: 1px solid rgba(210, 165, 92, 0.7);
}

/* CRAFT / STEPS */

.steps-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.step {
  background: var(--panel-soft);
  border-radius: var(--radius-lg);
  padding: 18px 16px 16px;
  border: 1px solid rgba(84, 63, 41, 0.9);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(60, 46, 33, 0.9),
      rgba(60, 46, 33, 0.9) 1px,
      rgba(40, 30, 22, 0.95) 1px,
      rgba(40, 30, 22, 0.95) 6px
    );
}

.step > * {
  position: relative;
  z-index: 1;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(210, 165, 92, 0.9);
  font-size: 0.84rem;
  margin-bottom: 8px;
  background: rgba(24, 16, 10, 0.9);
  color: var(--accent-strong);
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FOUNDER */

.founder-side .highlight {
  background: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}

.highlight-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.highlight ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-main);
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(44, 33, 22, 1);
  padding: 18px 0 22px;
  background: #070605;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (min-width: 720px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-secondary {
  opacity: 0.9;
}
