:root {
  --bg: #fff0dc;
  --primary: #e8613c;
  --secondary: #f5b63f;
  --tertiary: #6652c8;
  --accent: #1dae9b;
  --blue: #3d8af7;
  --leather: #9a5e3a;
  --text: #332830;
  --muted: #6b5e58;
  --panel: rgba(255, 255, 255, 0.92);
  --shadow: 0 12px 40px rgba(51, 40, 48, 0.12);
  --radius: 18px;
  --font: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(232, 97, 60, 0.12), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(102, 82, 200, 0.1), transparent 24%),
    linear-gradient(180deg, #fff6ea 0%, var(--bg) 42%, #f8e8d2 100%);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 18px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-seal {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--primary), var(--leather));
  box-shadow: var(--shadow);
  position: relative;
}

.brand-seal::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px dashed rgba(255, 255, 255, 0.55);
  border-radius: 10px;
}

.brand-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 2rem);
  letter-spacing: -0.02em;
}

.header-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  font-size: 0.95rem;
  font-weight: 600;
}

.header-links a {
  color: var(--text);
  text-decoration: none;
}

.header-links a:hover {
  color: var(--primary);
}

.hero-spread {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
  margin: 18px 0 56px;
}

.hero-panel,
.trail-panel {
  background: var(--panel);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-panel::before,
.trail-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(154, 94, 58, 0.18);
  pointer-events: none;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1.5px dashed rgba(154, 94, 58, 0.35);
  border-radius: calc(var(--radius) + 2px);
  pointer-events: none;
}

.hero-copy {
  padding: 34px 34px 28px;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
  margin: 0 0 16px;
}

.hero-copy p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 34ch;
  margin: 0 0 24px;
}

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

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #d14f2d);
  box-shadow: 0 8px 24px rgba(232, 97, 60, 0.28);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(51, 40, 48, 0.12);
}

.hero-visual {
  margin: 0 18px 18px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(245, 182, 63, 0.2), rgba(29, 174, 155, 0.12));
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trail-panel {
  padding: 28px 26px;
}

.trail-heading {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0 0 8px;
}

.trail-sub {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 0.98rem;
}

.stitch-trail {
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 3px dashed rgba(154, 94, 58, 0.45);
  display: grid;
  gap: 18px;
}

.station {
  position: relative;
  padding: 16px 16px 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 240, 220, 0.9));
  border: 1px solid rgba(51, 40, 48, 0.08);
}

.station::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--secondary), var(--leather));
  box-shadow: 0 0 0 4px rgba(245, 182, 63, 0.18);
}

.station h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.station p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.station--workshop { border-left: 4px solid var(--primary); }
.station--projects { border-left: 4px solid var(--tertiary); }
.station--patterns { border-left: 4px solid var(--blue); }
.station--materials { border-left: 4px solid var(--accent); }
.station--progress { border-left: 4px solid var(--secondary); }

.gallery-band {
  margin: 0 0 64px;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--leather);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 22px;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.photo-tile {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 180px;
  background: #fff;
  box-shadow: var(--shadow);
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-tile:nth-child(1) { grid-column: span 5; min-height: 280px; }
.photo-tile:nth-child(2) { grid-column: span 3; }
.photo-tile:nth-child(3) { grid-column: span 4; }
.photo-tile:nth-child(4) { grid-column: span 4; }
.photo-tile:nth-child(5) { grid-column: span 4; }
.photo-tile:nth-child(6) { grid-column: span 4; }

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 0 0 72px;
}

.legal-card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(154, 94, 58, 0.14);
}

.legal-card h2 {
  font-family: var(--font-display);
  margin-top: 0;
  font-size: 1.7rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  padding-left: 1.1rem;
}

.site-footer {
  padding: 0 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

@media (max-width: 900px) {
  .hero-spread,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .photo-strip {
    grid-template-columns: 1fr 1fr;
  }

  .photo-tile {
    grid-column: span 1 !important;
    min-height: 180px !important;
  }

  .header-links {
    display: none;
  }
}
