:root {
  --paper: #f8f4ec;
  --linen: #efe6d8;
  --ink: #253134;
  --muted: #65706b;
  --sage: #657f63;
  --terracotta: #b46045;
  --mustard: #d2a83a;
  --blue: #243f5b;
  --white: #fffdf8;
  --line: rgba(37, 49, 52, .16);
  --shadow: 0 22px 60px rgba(37, 49, 52, .12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(248, 244, 236, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  white-space: nowrap;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--terracotta);
  border-radius: 50%;
  transform: rotate(-9deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.3vw, 30px);
  font-weight: 800;
  font-size: .92rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--mustard);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  margin-left: auto;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 1.1rem;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 72px));
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(248, 244, 236, .96) 0%, rgba(248, 244, 236, .76) 36%, rgba(248, 244, 236, .1) 78%);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  width: min(760px, 92vw);
  padding: clamp(52px, 9vw, 98px) clamp(18px, 4vw, 56px);
}

.eyebrow,
.section-kicker,
.tag {
  margin: 0 0 12px;
  color: var(--terracotta);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: .78rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: .98;
}

h1 {
  max-width: 720px;
  font-size: clamp(3.3rem, 10vw, 8rem);
}

h2 {
  font-size: clamp(2.2rem, 5.8vw, 5rem);
}

h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

p {
  margin: 0;
}

.hero-overlay p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 22px;
  color: #364241;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 49, 52, .15);
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.button.secondary {
  color: var(--white);
  background: var(--sage);
  border-color: var(--sage);
}

.button.ghost {
  background: rgba(255, 253, 248, .72);
}

.intro-band,
.content-section,
.angled-section,
.newsletter-strip,
.page-hero,
.page-content {
  padding: clamp(54px, 9vw, 112px) clamp(18px, 4vw, 56px);
}

.intro-band {
  background: var(--ink);
  color: var(--white);
}

.intro-band p {
  color: rgba(255, 253, 248, .78);
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .8fr);
  gap: clamp(28px, 7vw, 86px);
  align-items: start;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 850px;
}

.craft-grid,
.course-grid,
.guide-grid,
.kit-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.craft-card,
.course-card,
.guide-card,
.kit-card,
.info-card,
.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 42px rgba(37, 49, 52, .07);
  overflow: hidden;
}

.craft-card img,
.course-card img,
.guide-card img,
.kit-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.craft-card div,
.course-card div,
.guide-card div,
.kit-card div,
.info-card,
.legal-card {
  padding: 22px;
}

.craft-card p,
.course-card p,
.guide-card p,
.kit-card p,
.info-card p,
.legal-card p {
  color: var(--muted);
  margin-top: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
}

.angled-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr);
  gap: 34px;
  background: var(--linen);
  border-block: 1px solid var(--line);
}

.angled-copy p:not(.eyebrow) {
  margin-top: 18px;
  max-width: 620px;
  color: var(--muted);
}

.mood-list {
  display: grid;
  gap: 12px;
  align-content: center;
}

.mood-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
}

.mood-list i {
  color: var(--terracotta);
}

.kit-highlight {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(280px, .7fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.kit-highlight img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.kit-highlight p {
  margin-top: 16px;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  color: var(--ink);
  font-weight: 800;
}

.check-list i {
  color: var(--sage);
  margin-right: 8px;
}

.newsletter-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--blue);
  color: var(--white);
}

.newsletter-strip .eyebrow {
  color: #f1c861;
}

.site-footer {
  padding: 50px clamp(18px, 4vw, 56px) 24px;
  background: #182224;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(180px, .45fr) minmax(280px, .9fr);
  gap: 34px;
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 14px;
}

.site-footer p,
.site-footer a {
  display: block;
  color: rgba(255, 253, 248, .76);
  margin-top: 8px;
}

.disclaimer {
  max-width: 620px;
  padding-top: 18px;
  font-size: .92rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 253, 248, .16);
  color: rgba(255, 253, 248, .68);
  font-size: .9rem;
}

.footer-bottom a {
  display: inline;
  margin: 0;
}

.page-hero {
  background: var(--linen);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(280px, .55fr);
  gap: 34px;
  align-items: end;
}

.page-hero p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  margin-top: 18px;
  font-size: 1.08rem;
}

.page-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.filter-btn {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus-visible {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.course-block {
  margin-top: 54px;
}

.course-block:first-of-type {
  margin-top: 0;
}

.course-block h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: .92rem;
}

.course-meta span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.open-modal {
  width: 100%;
  margin-top: 20px;
  cursor: pointer;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 34, 36, .66);
}

.modal-panel {
  position: relative;
  width: min(780px, 96vw);
  max-height: min(820px, 90vh);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.modal-panel img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.modal-body {
  padding: clamp(22px, 5vw, 38px);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 253, 248, .92);
  cursor: pointer;
}

.detail-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.detail-list li {
  display: flex;
  gap: 10px;
}

.detail-list i {
  color: var(--terracotta);
  margin-top: 5px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(280px, 1fr);
  gap: 26px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field {
  display: grid;
  gap: 6px;
  font-weight: 900;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffefa;
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 138px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: .92rem;
}

.success-message {
  display: none;
  padding: 14px;
  color: var(--white);
  background: var(--sage);
  border-radius: var(--radius);
  font-weight: 900;
}

.success-message.visible {
  display: block;
}

.prose {
  max-width: 940px;
}

.prose h2 {
  margin-top: 34px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

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

.prose p {
  margin-top: 14px;
}

.prose ul {
  margin-top: 14px;
}

@media (min-width: 981px) {
  .nav-toggle {
    display: none;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px clamp(18px, 4vw, 56px) 20px;
    background: rgba(248, 244, 236, .98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 0;
  }

  .split,
  .angled-section,
  .kit-highlight,
  .page-hero-inner,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .craft-grid,
  .course-grid,
  .guide-grid,
  .kit-grid,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .newsletter-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-block: 12px;
  }

  .brand {
    font-size: 1.18rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: 690px;
  }

  .hero::after {
    background: rgba(248, 244, 236, .82);
  }

  .hero-overlay {
    padding-top: 90px;
  }

  .hero-actions,
  .button-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .craft-grid,
  .course-grid,
  .guide-grid,
  .kit-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}
