:root {
  --ink: #231f20;
  --muted: #6f6760;
  --paper: #fbf7f0;
  --white: #ffffff;
  --linen: #efe4d6;
  --rose: #b95f61;
  --plum: #3f2b3d;
  --green: #586b57;
  --gold: #d5a14f;
  --line: rgba(35, 31, 32, .14);
  --shadow: 0 24px 70px rgba(63, 43, 61, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 247, 240, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--plum);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #403a36;
  font-size: 15px;
}

.nav a:hover {
  color: var(--rose);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  padding: 10px 14px;
  color: var(--ink);
}

.header-action,
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 0 22px;
  font-weight: 700;
  cursor: pointer;
}

.header-action {
  color: var(--white);
  background: var(--green);
}

.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #171214;
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 18, 20, .86) 0%, rgba(23, 18, 20, .66) 43%, rgba(23, 18, 20, .18) 100%),
    url("../images/sewing-class-hero.png") center / cover no-repeat;
  transform: scale(1.015);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 86px 0 104px;
}

.hero-copy {
  max-width: 690px;
  color: var(--white);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  display: inline-flex;
  color: var(--rose);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1c66c;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 780px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.06;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.2;
}

.lead {
  max-width: 640px;
  color: rgba(255, 255, 255, .88);
  font-size: 21px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary {
  color: var(--white);
  background: var(--rose);
}

.btn-primary:hover {
  background: #a64f52;
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, .58);
  background: rgba(255, 255, 255, .08);
}

.hero-facts {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-facts span {
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 6px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .08);
}

.intro {
  padding: 54px 0;
  background: var(--plum);
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.intro h2 {
  margin-bottom: 0;
}

.intro p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
}

.section {
  padding: 92px 0;
}

.section-muted {
  background: var(--linen);
}

.section-accent {
  background: var(--green);
  color: var(--white);
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head p,
.split p,
.workshop-copy p,
.faq-grid > div > p,
.request-grid > div > p {
  color: var(--muted);
  font-size: 18px;
}

.section-head-light p,
.section-accent .section-label {
  color: rgba(255, 255, 255, .78);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.program-card,
.format-list article,
.price-card,
.timeline div,
.faq-list details,
.form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.program-card {
  min-height: 270px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.program-card > span {
  margin-bottom: auto;
  color: var(--rose);
  font-weight: 800;
}

.program-card p,
.format-list p,
.timeline p,
.price-card p,
.faq-list p,
.footer p {
  color: var(--muted);
}

.workshop-grid,
.request-grid,
.faq-grid,
.split {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 58px;
  align-items: start;
}

.note {
  border-left: 4px solid var(--rose);
  padding-left: 18px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline div {
  padding: 24px;
}

.timeline b,
.timeline span {
  display: block;
}

.timeline b {
  color: var(--rose);
  margin-bottom: 5px;
}

.timeline span {
  font-size: 20px;
  font-weight: 800;
}

.format-list {
  display: grid;
  gap: 14px;
}

.format-list article {
  padding: 24px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.price-card {
  min-height: 240px;
  padding: 26px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: rgba(213, 161, 79, .75);
  background: #fff8e9;
  box-shadow: var(--shadow);
}

.price-card strong {
  margin-top: auto;
  color: var(--plum);
  font-size: 26px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary,
.docs-grid summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
}

.legal-section {
  padding-top: 0;
  background: var(--paper);
}

.docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.docs-grid details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--white);
}

.docs-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.request-section {
  background:
    linear-gradient(180deg, rgba(251, 247, 240, .92), rgba(251, 247, 240, .92)),
    repeating-linear-gradient(45deg, rgba(185, 95, 97, .14) 0 1px, transparent 1px 16px);
}

.contact-list {
  margin-top: 28px;
  display: grid;
  gap: 9px;
}

.contact-list p {
  margin: 0;
  color: var(--ink);
}

.form {
  padding: 28px;
  box-shadow: var(--shadow);
}

.form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form label span {
  font-weight: 700;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid rgba(35, 31, 32, .2);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffdf9;
  outline: none;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(185, 95, 97, .14);
}

.checkbox {
  grid-template-columns: 18px 1fr;
  align-items: start;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.checkbox span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.form .btn {
  width: 100%;
}

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--green);
  font-weight: 700;
}

.footer {
  padding: 46px 0;
  color: rgba(255, 255, 255, .82);
  background: #211920;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr .55fr;
  gap: 34px;
}

.footer .brand-mark {
  background: var(--rose);
}

.footer .brand strong,
.footer h3 {
  color: var(--white);
}

.footer .brand small,
.footer p {
  color: rgba(255, 255, 255, .68);
}

.footer-brand {
  margin-bottom: 18px;
}

.legal h3 {
  font-size: 18px;
}

.legal p {
  margin-bottom: 8px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links a:hover {
  color: var(--white);
}

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    width: 100%;
    order: 5;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-bottom: 16px;
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px 12px;
    background: var(--white);
  }

  .header-action {
    display: none;
  }

  .intro-grid,
  .workshop-grid,
  .request-grid,
  .faq-grid,
  .docs-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .program-grid,
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .header-inner {
    min-height: 70px;
    gap: 12px;
  }

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

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    max-width: 120px;
    overflow-wrap: anywhere;
  }

  .nav {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 680px;
    align-items: flex-end;
  }

  .hero-image {
    background:
      linear-gradient(180deg, rgba(23, 18, 20, .15) 0%, rgba(23, 18, 20, .82) 52%, rgba(23, 18, 20, .96) 100%),
      url("../images/sewing-class-hero.png") 62% center / cover no-repeat;
  }

  .hero-inner {
    padding: 210px 0 50px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 31px;
  }

  .lead,
  .section-head p,
  .split p,
  .workshop-copy p,
  .faq-grid > div > p,
  .request-grid > div > p {
    font-size: 16px;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-facts span {
    width: 100%;
  }

  .section {
    padding: 66px 0;
  }

  .intro {
    padding: 42px 0;
  }

  .program-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .program-card,
  .price-card {
    min-height: 0;
  }

  .form {
    padding: 22px;
  }
}
