:root {
  --gutter: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #171b1e;
  color: #171b1e;
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.45;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, p, figure, ul, ol, dl, dd {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #e7a45b;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: #ffffff;
  color: #171b1e;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--gutter);
}
.section-ink {
  background: #171b1e;
  color: #ffffff;
}
.section-blue {
  background: #145ba8;
  color: #ffffff;
}
.section-cream {
  background: #f4f0e7;
}
.section-pale {
  background: #dce7f1;
}
.section-white {
  background: #ffffff;
}

.h-88, .h-64, .h-48, .h-40, .h-30 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  line-height: 1.04;
}

.h-88 {
  font-size: clamp(48px, 6.2vw, 88px);
}
.h-64 {
  font-size: 64px;
}
.h-48 {
  font-size: 48px;
}
.h-40 {
  font-size: 40px;
}
.h-30 {
  font-size: 30px;
}

.body-24 {
  font-size: 24px;
}
.body-20 {
  font-size: 20px;
}
.body-18 {
  font-size: 18px;
}
.body-17 {
  font-size: 17px;
}
.body-15 {
  font-size: 15px;
}
.body-13 {
  font-size: 13px;
}

.eyebrow {
  font-size: 13px;
  color: #145ba8;
}

.eyebrow a {
  text-decoration: none;
}

.eyebrow a:hover {
  text-decoration: underline;
}

.text-cream {
  color: #f4f0e7;
}
.text-muted {
  color: #626a70;
}
.text-blue {
  color: #145ba8;
}
.text-orange {
  color: #e7a45b;
}

.measure-760 {
  max-width: 760px;
}
.measure-800 {
  max-width: 800px;
}
.measure-850 {
  max-width: 850px;
}
.measure-900 {
  max-width: 900px;
}

.stack-20, .stack-24, .stack-32 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stack-20 {
  gap: 20px;
}
.stack-24 {
  gap: 24px;
}
.stack-32 {
  gap: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 32px;
  border: 1px solid #2c2c2c;
  border-radius: 4px;
  background: #145ba8;
  color: #ffffff;
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.btn:hover {
  background: #0f4a8c;
}

.btn-secondary {
  min-width: 180px;
  background: #f4f0e7;
  color: #171b1e;
}

.btn-secondary:hover {
  background: #dce7f1;
}

.btn-full {
  width: 100%;
}

.text-link {
  color: #ffffff;
  font-size: 17px;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-header {
  background: #171b1e;
  color: #ffffff;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: var(--gutter);
}

.brand {
  display: flex;
  flex-direction: column;
  flex: 0 1 430px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.04;
  text-decoration: none;
}

.brand span {
  width: max-content;
}

.desktop-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 880px;
}

.desktop-nav > a:not(.btn) {
  font-size: 17px;
  text-decoration: none;
  text-underline-offset: 6px;
}

.desktop-nav > a:not(.btn):hover,
.desktop-nav > a[aria-current="page"] {
  text-decoration: underline;
}

.desktop-nav .btn {
  min-height: 52px;
  padding-inline: 24px;
}

.menu-toggle,
.menu-close {
  display: none;
  padding: 8px 0;
  border: 0;
  background: none;
  color: #ffffff;
  font-size: 17px;
  white-space: nowrap;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow-y: auto;
  background: #171b1e;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-block: 24px 48px;
}

.mobile-nav > a:not(.btn) {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.04;
  text-decoration: none;
}

.mobile-nav > a[aria-current="page"] {
  color: #e7a45b;
}

.mobile-nav .btn {
  margin-top: 16px;
}

.product-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px;
  background: #dce7f1;
}

.product-visual figcaption,
.gallery-status {
  align-self: stretch;
  color: #145ba8;
  font-size: 13px;
}

.hero {
  padding-block: var(--gutter);
}

.hero-grid {
  display: grid;
  grid-template-columns: 608fr 656fr;
  gap: 48px;
  align-items: start;
}

.hero-copy .body-20,
.hero-copy .body-15 {
  max-width: 540px;
}

.hero-visual img {
  width: 506px;
}

.promise {
  padding-block: var(--gutter);
}

.promise p {
  font-size: 24px;
}

.promise span {
  margin-inline: 0.6em;
}

.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  width: 100%;
}

.kamado-card {
  padding: 24px;
  background: #ffffff;
}

.card-visual {
  align-self: stretch;
}

.card-visual img {
  width: 408px;
}

.accessory-card {
  padding: 32px;
}

.accessory-card .body-20 {
  max-width: 540px;
}

.eyebrow-spaced {
  letter-spacing: 0.02em;
}

.owner-photo img {
  width: 608px;
  aspect-ratio: 608 / 334;
  object-fit: cover;
  border: 10px solid #e9e9e9;
}

.product-grid {
  display: grid;
  grid-template-columns: 730fr 534fr;
  gap: 48px;
  align-items: start;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.gallery:focus-visible {
  outline-offset: 6px;
}

.gallery-frame {
  width: 448px;
  max-width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.gallery-slide {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-slide[hidden] {
  display: none;
}

.gallery-slide.is-detail {
  transform: scale(1.9);
  transform-origin: 50% 32%;
}

.gallery-slide.is-cover {
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 230px));
  gap: 20px;
}

.gallery-thumb {
  padding: 12px;
  border: 1px solid transparent;
  background: #dce7f1;
  color: #145ba8;
  font-size: 17px;
  text-align: left;
  cursor: pointer;
}

.gallery-thumb:hover {
  border-color: #145ba8;
}

.gallery-thumb[aria-pressed="true"] {
  background: #145ba8;
  color: #ffffff;
}

.gallery-controls {
  display: flex;
  gap: 16px;
}

.bullet-list {
  padding: 0;
  list-style: none;
}

.bullet-list li::before {
  content: "• ";
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 29px;
  width: 100%;
}

.faq summary {
  display: inline-flex;
  gap: 18px;
  font-size: 20px;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 760px;
  margin-top: 8px;
}

.masterclass-grid {
  display: grid;
  grid-template-columns: minmax(0, 580px) minmax(0, 684px);
  justify-content: space-between;
  gap: 48px;
  align-items: start;
}

.program-list {
  width: 100%;
  padding: 0;
  list-style: none;
}

.program-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 24px;
  background: #ffffff;
}

.program-number {
  color: #145ba8;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.04;
}

.program-card h3 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 24px;
  line-height: 1.04;
}

.signup-form {
  align-items: stretch;
  padding: 40px;
  background: #ffffff;
}

.form-alert {
  padding: 12px 16px;
  border: 1px solid #900b09;
  border-radius: 8px;
  color: #900b09;
  font-size: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field > label {
  color: #1e1e1e;
  font-size: 16px;
  line-height: 1.4;
}

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  padding: 12px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #ffffff;
  color: #171b1e;
  font-size: 16px;
  line-height: 1;
}

.field textarea {
  min-height: 42px;
  line-height: 1.4;
  padding-block: 10px;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23626a70' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.field select:invalid {
  color: #b3b3b3;
}

.field select option {
  color: #171b1e;
}

.field ::placeholder {
  color: #b3b3b3;
  opacity: 1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #145ba8;
  outline: 2px solid #dce7f1;
  outline-offset: 0;
}

.field.has-error input:not([type="checkbox"]),
.field.has-error select,
.field.has-error textarea {
  border-color: #900b09;
}

.field-error {
  color: #900b09;
  font-size: 16px;
  line-height: 1.4;
}

.field-check label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  cursor: pointer;
}

.field-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #145ba8;
}

.summary-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 800px;
  padding: 24px;
  background: #ffffff;
}

.summary-card dt,
.summary-card dd {
  display: inline;
}

.site-footer {
  background: #171b1e;
  color: #f4f0e7;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-block: var(--gutter);
  font-size: 15px;
}

.footer-brand {
  color: #ffffff;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.04;
}

.footer-tagline {
  font-size: 17px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links span {
  margin-inline: 0.6em;
}

.copyright {
  font-size: 13px;
}

.copyright span {
  margin-inline: 0.6em;
}

@media (max-width: 1099px) {
  .hero-grid,
  .product-grid,
  .masterclass-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .gallery-stage {
    max-width: 656px;
  }

  .product-grid,
  .masterclass-grid {
    gap: 48px;
  }

  .h-64 {
    font-size: 56px;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 24px;
  }

  .nav-wrap {
    padding-block: 24px;
  }

  .brand {
    font-size: 25px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle,
  .menu-close {
    display: block;
  }

  .hide-mobile {
    display: none;
  }

  .h-88 {
    font-size: 48px;
  }
  .hero .h-88 {
    font-size: 64px;
  }
  .h-64 {
    font-size: 40px;
  }
  .h-section-mobile {
    font-size: 40px;
  }
  .about .h-48 {
    font-size: 40px;
  }

  .stack-32 {
    gap: 24px;
  }

  .btn-block-mobile {
    width: 100%;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-visual figcaption,
  .card-visual figcaption {
    order: -1;
  }

  .hero-visual img {
    width: 294px;
  }

  .promise p {
    font-size: 18px;
  }

  .promise span {
    margin-inline: 0.4em;
  }

  .two-up {
    grid-template-columns: 1fr;
  }

  .card-visual img {
    width: 272px;
  }

  .accessory-card .h-48 {
    font-size: 48px;
  }

  .about-owner {
    order: 1;
  }

  .owner-photo img {
    width: 100%;
  }

  .gallery-frame {
    width: 272px;
  }

  .gallery-thumbs {
    gap: 24px;
  }

  .gallery-thumb {
    font-size: 13px;
  }

  .gallery-controls .btn {
    flex: 1;
    min-width: 0;
    padding-inline: 12px;
  }

  .faq summary {
    font-size: 20px;
  }

  .signup-form {
    padding: 20px;
  }

  .body-24 {
    font-size: 24px;
  }
}
