/*
 * Page-scoped styles — /bespoke-art-kits/
 * Loaded via {{cdn 'assets/css/pages/bespoke-art-kits.css'}} in the head partial.
 */

/*
 * Make this page edge-to-edge between the header and footer.
 * BC's templates/components/common/body.html wraps non-home pages in
 * <div class="container">, which caps width and centres. Overriding here
 * so the .aw-page sections can span the full viewport width.
 */
.body > .container:has(> .aw-page) {
  max-width: none;
  padding: 0;
  width: 100%;
}

/* =========================================================================
   TOKENS
   ========================================================================= */
.aw-page {
  --sage: #c5d7c1;
  --pale-sage: #e8efe6;
  --ink: #1a1a1a;
  --hero-card-bg: #ffffff;
  --hero-card-line: #333;
  --accent: #00aeee;
  --accent-deep: #0b7196;
  --cta: #721313;
  --cta-dark: #501313;
  --mute: #5a5a5a;
  --line: #e6e2d8;
  --soft: #f5f3ee;
  --white: #fff;
  --pale-white: #f0ede7;
}

/* =========================================================================
   BASE — resets against BC global styles
   =========================================================================
   The theme's common_style.scss applies these globally, which bleed in:
     h1–h6  { font-weight: normal; margin: 0 0 20px; }
     p       { font-size: 14px; margin: 0 0 20px; line-height: 24px; }
     a       { color: #721313; }
     a:hover { color: ~#c2c2c2; }
     li      { margin-bottom: 10px; line-height: 18px; list-style: none; }
   Everything below is scoped under .aw-page so nothing leaks out.
   ========================================================================= */
.aw-page {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 16px;
}

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

/* Headings: BC sets font-weight: normal globally — restore bold and clear margins */
.aw-page h1,
.aw-page h2,
.aw-page h3,
.aw-page h4 {
  text-transform: none;
  font-weight: 700;
  margin: 0;
  padding: 0;
  color: var(--ink);
  line-height: 1.2;
}

/* Paragraphs: BC sets font-size: 14px and margin: 0 0 20px globally */
.aw-page p {
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}

/* Links: BC sets color: #721313 and a washed-out hover globally */
.aw-page a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
}

.aw-page a:hover,
.aw-page a:focus {
  color: var(--accent-deep);
}

/* Lists: BC sets li { margin-bottom: 10px; line-height: 18px; list-style: none } globally */
.aw-page ul,
.aw-page ol {
  margin: 0;
  padding: 0;
}

.aw-page li {
  margin-bottom: 0;
  line-height: inherit;
  list-style: none;
}

/* Inner container: our 1180px centred guttered container,
   overrides BC's .container responsive max-widths via higher specificity */
.aw-page .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 479px) {
  .aw-page .container {
    padding: 0 16px;
  }
}

/* =========================================================================
   HERO
   ========================================================================= */
.aw-page .hero {
  background: var(--pale-white);
  color: var(--ink);
  padding: 64px 0;
}

.aw-page .hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.aw-page .hero h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 700;
  color: var(--ink);
}

.aw-page .hero-lead {
  font-size: 19px;
  color: var(--mute);
  margin: 0 0 28px;
  max-width: 640px;
}

.aw-page .hero-proof {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--mute);
}

.aw-page .hero-proof li {
  position: relative;
  padding-left: 22px;
}

.aw-page .hero-proof li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent-deep);
  font-weight: 700;
}

.aw-page .hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-direction: column;
  max-width: 560px;
}

.aw-page .btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  /* Buttons manage their own colours — override the .aw-page a reset */
  color: inherit;
}

.aw-page .btn-primary {
  background: var(--accent-deep);
  color: var(--white);
}

.aw-page .btn-primary:hover {
  background: var(--white);
  color: var(--accent-deep);
  border: 1px solid var(--accent-deep);
}

.aw-page .btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.aw-page .btn-ghost-dark:hover {
  background: var(--ink);
  color: var(--white);
}

.aw-page .hero-card {
  background: var(--hero-card-bg);
  border: 1px solid var(--hero-card-line);
  border-radius: 8px;
  padding: 28px;
}

.aw-page .hero-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.aw-page .hero-card p {
  color: var(--ink);
  margin: 0 0 18px;
  font-size: 14px;
}

.aw-page .hero-stat {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--hero-card-line);
  padding: 11px 0;
  font-size: 14px;
  color: var(--ink);
}

.aw-page .hero-stat strong {
  color: var(--accent-deep);
  font-weight: 700;
}

.aw-page #how,
.aw-page #enquiry {
  scroll-margin-top: 80px;
}

/* =========================================================================
   SHARED SECTION LAYOUT
   ========================================================================= */
.aw-page .section {
  padding: 72px 0;
}

.aw-page .section-soft {
  background: var(--soft);
}

.aw-page .section h2 {
  font-size: 30px;
  margin: 0 0 8px;
  font-weight: 700;
  padding-top: 16px;
  position: relative;
}

.aw-page .section h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--accent-deep);
}

.aw-page .section-sub {
  color: var(--mute);
  margin: 0 0 40px;
  max-width: 780px;
  font-size: 17px;
}

/* =========================================================================
   HOW IT WORKS
   ========================================================================= */
.aw-page .steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

.aw-page .step {
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  position: relative;
  margin-top: 18px;
}

.aw-page .step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 24px;
  background: var(--accent);
  color: var(--ink);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.aw-page .step h3 {
  margin: 14px 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.aw-page .step p {
  color: var(--mute);
  margin: 0;
  font-size: 15px;
}

/* =========================================================================
   COURSE TYPES
   ========================================================================= */
.aw-page .course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.aw-page .course-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
}

.aw-page .course-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
}

.aw-page .course-card p {
  color: var(--mute);
  margin: 0;
  font-size: 14px;
}

/* =========================================================================
   FEATURES
   ========================================================================= */
.aw-page .features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.aw-page .feature h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
}

.aw-page .feature p {
  color: var(--mute);
  margin: 0;
}

/* =========================================================================
   ENQUIRY FORM
   ========================================================================= */
.aw-page .aw-form-section {
  background: var(--soft);
  padding: 72px 0;
}

.aw-page .aw-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.aw-page .aw-form-side h2 {
  margin: 0 0 18px;
  font-size: 26px;
  font-weight: 700;
  padding-top: 16px;
  position: relative;
}

.aw-page .aw-form-side h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--accent-deep);
}

.aw-page .aw-form-side > p {
  color: var(--mute);
  font-size: 17px;
  margin: 0 0 24px;
}

.aw-page .aw-form-side ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.aw-page .aw-form-side li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.15);
  margin-bottom: 0; /* override BC global li { margin-bottom: 10px } */
  line-height: 1.5; /* override BC global li { line-height: 18px } */
}

.aw-page .aw-form-side li:last-child {
  border-bottom: 0;
}

.aw-page .aw-form-side li strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

.aw-page .aw-form-side li span {
  color: var(--mute);
  font-size: 14px;
}

.aw-page .contact-direct {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
  margin-top: 18px;
  font-size: 15px;
}

.aw-page .contact-direct strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.aw-page .aw-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.aw-page .aw-form-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
}

.aw-page .aw-form-card .intro {
  color: var(--mute);
  margin: 0 0 24px;
  font-size: 15px;
}

.aw-page .aw-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.aw-page .aw-form-row.single {
  grid-template-columns: 1fr;
}

.aw-page .aw-form-field {
  display: flex;
  flex-direction: column;
}

.aw-page .aw-form-field label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.aw-page .aw-form-field input,
.aw-page .aw-form-field select,
.aw-page .aw-form-field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font: inherit;
  font-size: 15px;
  background: var(--white);
  line-height: 1.4;
}

.aw-page .aw-form-field input:focus,
.aw-page .aw-form-field select:focus,
.aw-page .aw-form-field textarea:focus {
  outline: 0;
  border-color: var(--ink);
}

.aw-page .aw-form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.aw-page .form-submit {
  background: var(--cta);
  color: var(--white);
  border: 0;
  width: 100%;
  padding: 15px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
}

.aw-page .form-submit:hover {
  background: var(--cta-dark);
}

.aw-page .form-privacy {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--mute);
}

.aw-page .form-privacy a {
  color: var(--ink);
}

/* =========================================================================
   FAQ
   ========================================================================= */
.aw-page .faq {
  max-width: 860px;
}

.aw-page .faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.aw-page .faq details:first-child {
  border-top: 1px solid var(--line);
}

.aw-page .faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  position: relative;
  padding-right: 36px;
  color: var(--ink);
}

.aw-page .faq summary::-webkit-details-marker {
  display: none;
}

.aw-page .faq summary::after {
  content: "\002B";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  line-height: 1;
  color: var(--mute);
}

.aw-page .faq details[open] summary::after {
  content: "\002D";
}

.aw-page .faq details > p {
  color: var(--mute);
  margin: 12px 0 0;
  padding-right: 36px;
  font-size: 15px;
  line-height: 1.55;
}

/* faq inline links use the base .aw-page a reset (ink colour + accent-deep hover) */

/* =========================================================================
   SECONDARY CTA
   ========================================================================= */
.aw-page .secondary-cta {
  padding: 56px 0;
  text-align: center;
}

.aw-page .secondary-cta p {
  font-size: 17px;
  color: var(--mute);
  margin: 0;
}

.aw-page .secondary-cta a {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
}

.aw-page .secondary-cta a:hover {
  color: var(--accent-deep);
  text-decoration: underline;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 960px) {
  .aw-page .hero-grid {
    grid-template-columns: 1fr;
  }

  .aw-page .hero h1 {
    font-size: 32px;
  }

  .aw-page .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .aw-page .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .aw-page .features {
    grid-template-columns: 1fr;
  }

  .aw-page .aw-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .aw-page .aw-form-row {
    grid-template-columns: 1fr;
  }

  .aw-page .course-grid {
    grid-template-columns: 1fr;
  }

  .aw-page .steps {
    grid-template-columns: 1fr;
  }

  .aw-page .hero-stat {
    flex-wrap: wrap;
    gap: 2px;
  }

  .aw-page .hero-stat strong {
    flex-basis: 100%;
  }

  .aw-page .section,
  .aw-page .aw-form-section {
    padding: 48px 0;
  }

  .aw-page .hero {
    padding: 40px 0;
  }

  .aw-page .section h2 {
    font-size: 24px;
  }

  .aw-page .hero h1 {
    font-size: 26px;
  }

  .aw-page .hero-ctas {
    flex-direction: column;
  }

  .aw-page .hero-ctas .btn {
    text-align: center;
    width: 100%;
  }

  .aw-page .hero-lead {
    font-size: 14px;
  }

  .aw-page .hero-proof {
    flex-direction: column;
    gap: 8px;
  }
}
