/* Gnome Garden — site stylesheet
   Design tokens come from the design canvas. Change a color here and it
   changes everywhere on the site. */

:root {
  --cement: #b8b5ae;
  --moss: #3f5a3a;
  --moss-dark: #2e4329;
  --terracotta: #c8623a;
  --offwhite: #f6f3ec;
  --white: #ffffff;
  --charcoal: #2b2b2b;
  --ink-soft: #4a4a4a;
  --ink-muted: #5f5c55;
  --ink-faint: #8c8880;
  --line: #e2ded4;
  --line-soft: #e8e4da;
  --field: #d5d1c8;
  --slot: #cfccc4;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Consolas, monospace;

  --pad: 64px;
  --radius: 12px;
}

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

/* Must beat any display: rule below, or [hidden] elements still paint */
[hidden] {
  display: none !important;
}

/* Visible to screen readers only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--offwhite);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.serif {
  font-family: var(--serif);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: var(--moss);
  text-decoration: none;
}

a:hover {
  color: var(--moss-dark);
}

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

/* Skip link — keyboard users land here first */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 6px 0;
}

.skip-link:focus {
  left: 0;
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: 2px;
}

/* ---------- Layout ---------- */

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.section--tight {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section--white {
  background: var(--white);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.stack {
  display: flex;
  flex-direction: column;
}

.grid {
  display: grid;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-muted);
}

.lede {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: 40px;
}

.section-head p {
  font-size: 18px;
  color: var(--ink-muted);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

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

.btn--primary:hover {
  background: var(--moss-dark);
  color: var(--white);
}

.btn--secondary {
  border: 1.5px solid var(--charcoal);
  color: var(--charcoal);
  background: transparent;
}

.btn--secondary:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn--light {
  background: var(--offwhite);
  color: var(--charcoal);
}

.btn--light:hover {
  background: var(--white);
  color: var(--charcoal);
}

.btn--accent {
  background: var(--terracotta);
  color: var(--white);
}

.btn--block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  background: var(--field);
  color: var(--ink-faint);
  cursor: not-allowed;
}

/* ---------- Image slots ---------- */

.slot {
  background: var(--slot);
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Shown by js when the real photo is not in place yet */
.slot img.is-missing {
  display: none;
}

.slot__label {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-align: center;
  padding: 12px;
}

.slot.is-empty .slot__label {
  display: flex;
}

.ratio-16x9 {
  aspect-ratio: 16 / 9;
}
.ratio-4x3 {
  aspect-ratio: 4 / 3;
}
.ratio-3x4 {
  aspect-ratio: 3 / 4;
}
.ratio-1x1 {
  aspect-ratio: 1 / 1;
}
.ratio-wide {
  aspect-ratio: 21 / 7;
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--offwhite);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--charcoal);
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  flex-shrink: 0;
}

.brand__name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 16px;
  font-weight: 500;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--charcoal);
  background: none;
  border: 0;
  font: inherit;
  padding: 26px 0;
  cursor: pointer;
}

.nav__link[aria-current="page"] {
  color: var(--moss);
  box-shadow: inset 0 -2px 0 var(--moss);
}

.nav__link svg {
  transition: transform 0.15s ease;
}

.nav__link[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav__menu {
  position: absolute;
  top: 100%;
  left: -8px;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(43, 43, 43, 0.12);
  padding: 8px;
  display: none;
  flex-direction: column;
}

.nav__menu[data-open="true"] {
  display: flex;
}

.nav__menu a {
  padding: 11px 14px;
  border-radius: 6px;
  color: var(--charcoal);
  font-size: 16px;
}

.nav__menu a:hover {
  background: var(--offwhite);
  color: var(--charcoal);
}

.nav__menu hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 6px 8px;
}

.nav__menu .is-all {
  color: var(--moss);
  font-weight: 600;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cart-btn {
  position: relative;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: var(--charcoal);
  display: flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.cart-btn__count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--terracotta);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.burger {
  display: none;
  background: none;
  border: 0;
  padding: 9px;
  cursor: pointer;
  color: var(--charcoal);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 96px;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero h1 {
  font-size: 60px;
  line-height: 1.08;
  text-wrap: pretty;
}

.hero .lede {
  max-width: 540px;
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-hero__top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: end;
}

.page-hero h1 {
  font-size: 56px;
  line-height: 1.05;
}

.page-hero__title {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ---------- Product cards ---------- */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section--white .card {
  background: var(--offwhite);
}

.card--available:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(43, 43, 43, 0.14);
}

.card--available:hover .card__media img {
  transform: scale(1.03);
}

.card__media {
  position: relative;
}

.card__media img {
  transition: transform 0.3s ease;
}

.card--soon .card__media {
  background: #dad7d0;
}

.card__veil {
  position: absolute;
  inset: 0;
  background: rgba(43, 43, 43, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__veil span {
  font-family: var(--serif);
  font-size: 120px;
  font-weight: 500;
  line-height: 1;
  color: var(--offwhite);
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge--available {
  background: var(--moss);
  color: var(--white);
}

.badge--soon {
  background: var(--offwhite);
  color: var(--charcoal);
  border: 1px solid var(--line);
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 22px 24px;
  flex-grow: 1;
}

.card__body h3 {
  font-size: 24px;
}

.card__price {
  font-size: 17px;
  color: var(--ink-soft);
}

.card__teaser {
  font-size: 16px;
  color: var(--ink-muted);
}

.card__body .btn {
  margin-top: auto;
  padding-top: 0;
}

.card__body .btn {
  margin-top: 14px;
}

/* ---------- Process steps ---------- */

.process-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}

.process-intro h2 {
  font-size: 40px;
}

.process-intro p {
  font-size: 18px;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step__rule {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step__num {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: var(--terracotta);
  color: var(--white);
  font-family: var(--serif);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step__line {
  flex-grow: 1;
  border-top: 1.5px dashed var(--cement);
}

.step h3 {
  font-size: 22px;
}

.step p {
  font-size: 16px;
  color: var(--ink-soft);
}

/* ---------- Use case tiles ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, 300px);
  gap: 20px;
}

.tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--slot);
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tile:hover img {
  transform: scale(1.03);
}

.tile__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 20px 18px;
  background: linear-gradient(
    180deg,
    rgba(43, 43, 43, 0) 0%,
    rgba(43, 43, 43, 0.55) 100%
  );
  font-family: var(--serif);
  font-size: 20px;
  color: var(--white);
}

.tile--lead {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}

.tile--lead .tile__label {
  font-size: 26px;
  padding: 28px 24px 22px;
}

.tile--wide {
  grid-column: 3 / span 2;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--moss);
  color: var(--white);
}

.cta-band__inner {
  padding-top: 72px;
  padding-bottom: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-band h2 {
  font-size: 36px;
  color: var(--white);
}

.cta-band p {
  font-size: 18px;
  color: #d6ddd2;
}

/* ---------- Collection chips ---------- */

.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1.5px solid var(--cement);
  color: var(--charcoal);
  font-weight: 500;
  font-size: 15px;
}

.chip:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.chip[aria-current="page"] {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

/* ---------- Shopify embed regions ---------- */

.collection-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.collection-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.collection-block__head h2 {
  font-size: 30px;
}

.shopify-embed {
  min-height: 120px;
}

.shopify-embed__fallback {
  border: 1px dashed var(--cement);
  border-radius: var(--radius);
  padding: 28px 32px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shopify-embed__fallback strong {
  font-weight: 600;
}

/* ---------- Numbered steps (how to order) ---------- */

.two-col {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}

.two-col__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 100px;
}

.two-col__aside h2 {
  font-size: 36px;
}

.two-col__aside p {
  font-size: 18px;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.numbered {
  list-style: none;
  margin: 0;
  padding: 0;
}

.numbered li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.numbered li:last-child {
  border-bottom: 1px solid var(--line);
}

.numbered__num {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--terracotta);
  line-height: 1;
}

.numbered h3 {
  font-size: 21px;
  margin-bottom: 6px;
}

.numbered p {
  font-size: 16px;
  color: var(--ink-soft);
}

/* ---------- Specs ---------- */

.specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.specs > div {
  padding: 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.specs > div:last-child {
  border-right: 0;
}

.specs .serif {
  font-size: 22px;
}

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* ---------- Forms ---------- */

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.field--full {
  grid-column: 1 / span 2;
}

.field .optional {
  font-weight: 400;
  color: var(--ink-faint);
}

.field input,
.field select,
.field textarea {
  min-height: 48px;
  border: 1.5px solid var(--field);
  border-radius: 6px;
  background: var(--offwhite);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--charcoal);
  width: 100%;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--moss);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(63, 90, 58, 0.18);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-faint);
}

.dropzone {
  min-height: 88px;
  border: 1.5px dashed var(--cement);
  border-radius: 6px;
  background: var(--offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 400;
  color: var(--ink-muted);
  padding: 16px;
  text-align: center;
  cursor: pointer;
}

.dropzone input {
  display: none;
}

/* ---------- FAQ ---------- */

.faq {
  display: flex;
  flex-direction: column;
}

.faq details {
  border-top: 1px solid var(--field);
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--field);
}

.faq summary {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: var(--plus) center / contain no-repeat;
  mask: var(--plus) center / contain no-repeat;
}

.faq {
  --plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M10 4v12M4 10h12'/%3E%3C/svg%3E");
  --minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 10h12'/%3E%3C/svg%3E");
}

.faq details[open] summary::after {
  -webkit-mask-image: var(--minus);
  mask-image: var(--minus);
}

.faq details p {
  padding-bottom: 22px;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 620px;
}

/* ---------- Prose (About) ---------- */

.prose {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-top: 72px;
  padding-bottom: 96px;
}

.prose section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.prose h2 {
  font-size: 32px;
}

.prose p {
  font-size: 19px;
  line-height: 1.65;
  color: #3a3a3a;
}

.pull-quote {
  margin: 0;
  padding: 40px 0;
  border-top: 1px solid var(--field);
  border-bottom: 1px solid var(--field);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}

.pull-quote p {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--moss);
  text-wrap: pretty;
}

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--charcoal);
  color: #e8e4da;
  padding: 64px 0 32px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__brand .brand__name {
  color: var(--offwhite);
  font-size: 20px;
}

.footer__brand .brand__mark {
  width: 40px;
  height: 40px;
  background: #3a3a3a;
}

.footer p {
  font-size: 15px;
  color: var(--cement);
  max-width: 260px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.footer__col strong {
  color: var(--offwhite);
  margin-bottom: 4px;
  font-weight: 600;
}

.footer__col a {
  color: var(--cement);
}

.footer__col a:hover {
  color: var(--offwhite);
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  border: 1px solid #4a4a4a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
}

.socials a:hover {
  border-color: var(--cement);
  color: var(--cement);
}

.newsletter {
  display: flex;
  gap: 8px;
}

.newsletter input {
  flex-grow: 1;
  min-height: 46px;
  border-radius: 6px;
  border: 1px solid #4a4a4a;
  background: #333333;
  padding: 0 14px;
  color: var(--offwhite);
  font-family: var(--sans);
  font-size: 15px;
}

.newsletter input::placeholder {
  color: var(--ink-faint);
}

.newsletter .btn {
  min-height: 46px;
  padding: 0 18px;
}

.footer__base {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #3f3f3f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--ink-faint);
}

.footer__base a {
  color: var(--ink-faint);
}

.footer__base nav {
  display: flex;
  gap: 24px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  :root {
    --pad: 40px;
  }

  .hero,
  .process-intro,
  .page-hero__top {
    gap: 40px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-col {
    gap: 48px;
  }

  .specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .specs > div:nth-child(2) {
    border-right: 0;
  }

  .specs > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  :root {
    --pad: 20px;
  }

  body {
    font-size: 16px;
  }

  .nav,
  .header__actions .desktop-only {
    display: none;
  }

  .burger {
    display: flex;
  }

  /* Mobile menu */
  .nav.is-open {
    display: flex;
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--offwhite);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 40px;
    overflow-y: auto;
    z-index: 30;
  }

  .nav.is-open .nav__item {
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open .nav__link {
    padding: 18px 0;
    width: 100%;
    justify-content: space-between;
    font-size: 20px;
    font-family: var(--serif);
  }

  .nav.is-open .nav__menu {
    position: static;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 12px 0;
    min-width: 0;
  }

  .nav.is-open .nav__menu a {
    padding: 12px 0 12px 14px;
  }

  .header__inner {
    height: 64px;
  }

  .nav.is-open {
    inset: 64px 0 0 0;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .brand__name {
    font-size: 19px;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head h2,
  .process-intro h2,
  .two-col__aside h2,
  .cta-band h2,
  .collection-block__head h2 {
    font-size: 28px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 40px;
    padding-bottom: 48px;
  }

  /* Photo first on mobile — it does the selling above the fold */
  .hero .slot {
    order: -1;
  }

  .hero h1 {
    font-size: 34px;
  }

  .lede {
    font-size: 17px;
  }

  .btn-row {
    flex-direction: column;
  }

  .btn-row .btn {
    width: 100%;
  }

  .page-hero {
    padding-top: 40px;
  }

  .page-hero__top {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .cards-3,
  .gallery,
  .pair {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-intro {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Steps go image-beside-text on mobile so the row stays short */
  .step {
    display: grid;
    grid-template-columns: 120px 1fr;
    grid-template-areas:
      "media rule"
      "media title"
      "media body";
    column-gap: 16px;
    row-gap: 4px;
    align-items: start;
  }

  .step .slot {
    grid-area: media;
    aspect-ratio: 4 / 3;
  }

  .step__rule {
    grid-area: rule;
  }

  .step__line {
    display: none;
  }

  .step h3 {
    grid-area: title;
    font-size: 19px;
  }

  .step p {
    grid-area: body;
    font-size: 15px;
  }

  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 12px;
  }

  .tile {
    aspect-ratio: 1 / 1;
  }

  .tile--lead,
  .tile--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .tile__label,
  .tile--lead .tile__label {
    font-size: 15px;
    padding: 24px 12px 12px;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .cta-band__inner .btn {
    width: 100%;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .two-col__aside {
    position: static;
  }

  .numbered li {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 18px 0;
  }

  .numbered__num {
    font-size: 22px;
  }

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

  .specs > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px;
  }

  .specs > div:last-child {
    border-bottom: 0;
  }

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

  .field--full {
    grid-column: auto;
  }

  .prose {
    padding-top: 40px;
    padding-bottom: 56px;
    gap: 36px;
  }

  .prose h2 {
    font-size: 26px;
  }

  .prose p {
    font-size: 17px;
  }

  .pull-quote p {
    font-size: 24px;
  }

  .collection-block__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .footer {
    padding-top: 40px;
  }

  .footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer__brand {
    grid-column: 1 / span 2;
  }

  .footer__newsletter {
    grid-column: 1 / span 2;
  }

  .footer__base {
    margin-top: 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
