:root {
  --ink: #050505;
  --paper: #ffffff;
  --muted: #686868;
  --line: #d7d7d7;
  --aqua: #12cfc0;
  --aqua-soft: #dffaf7;
  --coral: #e77b6f;
  --gold: #bd944f;
  --rose: #f5d8dd;
  --max: 1230px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.62;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

a:hover,
a:focus-visible {
  color: #008f86;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  z-index: 20;
}

.utility-bar {
  min-height: 64px;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #030303;
  color: white;
  font: 700 11px/1 var(--sans);
  text-transform: uppercase;
}

.utility-bar nav,
.utility-actions,
.primary-nav,
.social-row {
  display: flex;
  align-items: center;
  gap: 26px;
}

.subscribe-link {
  color: var(--aqua);
}

.main-header {
  max-width: var(--max);
  min-height: 150px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  width: max-content;
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1;
}

.brand-kicker {
  align-self: flex-start;
  margin-right: -2px;
  font: 700 12px/1 var(--sans);
  color: var(--ink);
}

.brand-core {
  color: var(--aqua);
  font-size: 31px;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-tail {
  font-size: 27px;
  font-weight: 700;
}

.primary-nav {
  justify-content: flex-end;
  font: 800 12px/1 var(--sans);
  text-transform: uppercase;
}

.shop-pill {
  width: 82px;
  min-width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--ink);
  line-height: 1.15;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 7px 0;
  background: var(--ink);
}

.section,
.intro-band,
.join-band,
.footer-newsletter,
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.intro-band {
  margin-top: 38px;
  margin-bottom: 48px;
  padding-top: 30px;
  padding-bottom: 30px;
  display: grid;
  grid-template-columns: 170px 1fr 120px;
  gap: 20px;
  align-items: center;
  border-bottom: 3px solid var(--aqua);
  background: var(--aqua-soft);
}

.eyebrow,
.meta-line,
.breadcrumbs,
.byline,
figcaption,
.shop-card span,
label span {
  font: 800 11px/1.3 var(--sans);
  text-transform: uppercase;
  color: #0aa89e;
}

.black-button,
.teal-button,
.teal-outline,
.contact-form button,
.join-band button,
.footer-newsletter button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 2px solid transparent;
  background: var(--ink);
  color: white;
  font: 800 11px/1 var(--sans);
  text-transform: uppercase;
}

.teal-button {
  background: var(--aqua);
  color: var(--ink);
}

.teal-outline {
  background: white;
  color: #008f86;
  border-color: var(--aqua);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.86fr);
  gap: 36px;
  align-items: start;
}

.lead-story img {
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
}

.lead-story h1,
.lead-story h2,
.article-header h1,
.archive-header h1 {
  margin: 14px 0 14px;
  font-size: 37px;
  line-height: 1.1;
  font-weight: 500;
}

.lead-story p:not(.meta-line) {
  max-width: 760px;
  color: #333;
}

.side-stack {
  display: grid;
  gap: 38px;
}

.post-card,
.feature-card {
  border: 1px solid var(--line);
  background: white;
}

.post-card.horizontal {
  display: grid;
  grid-template-columns: 205px 1fr;
  min-height: 148px;
}

.post-card.horizontal .post-image img {
  height: 100%;
  object-fit: cover;
}

.post-card-body,
.feature-card > div {
  padding: 23px;
}

.post-card h3,
.feature-card h3,
.trend-lead h3 {
  margin: 8px 0 10px;
  font-size: 29px;
  line-height: 1.15;
  font-weight: 500;
}

.post-card.compact h3 {
  font-size: 21px;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--ink);
}

.category-pill {
  color: var(--ink);
}

.section {
  margin-top: 84px;
  margin-bottom: 84px;
}

.section-title-row {
  border-bottom: 1px solid var(--ink);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.script-title {
  margin: 0 0 -8px;
  font: 400 48px/1 "Brush Script MT", "Segoe Script", cursive;
}

.tabs {
  display: flex;
  gap: 48px;
  font: 800 11px/1 var(--sans);
  text-transform: uppercase;
}

.tabs a:first-child {
  border-bottom: 4px solid var(--ink);
  padding-bottom: 12px;
}

.trending-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 70px;
}

.trend-lead {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 34px;
  align-items: start;
}

.trend-lead img {
  aspect-ratio: 0.76 / 1;
  object-fit: cover;
}

.trend-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: trends;
}

.trend-list li + li {
  border-top: 1px solid #eeeeee;
}

.trend-list a {
  min-height: 74px;
  display: grid;
  grid-template-columns: 45px 1fr;
  align-items: center;
  color: #6d6d6d;
  font: 800 15px/1.25 var(--sans);
}

.trend-list span {
  color: var(--ink);
  font-size: 24px;
}

.product-strip,
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-strip {
  margin-top: 58px;
}

.shop-card {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fffdf9;
}

.shop-card strong {
  display: block;
  font-size: 20px;
  line-height: 1.15;
}

.shop-card em {
  color: #008f86;
  font: 800 11px/1 var(--sans);
  text-transform: uppercase;
  font-style: normal;
}

.join-band,
.footer-newsletter {
  margin-top: 78px;
  margin-bottom: 78px;
  padding-top: 30px;
  padding-bottom: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.95fr);
  gap: 42px;
  align-items: center;
  background: var(--aqua-soft);
  border-top: 3px solid var(--aqua);
  border-bottom: 3px solid var(--aqua);
}

form {
  display: grid;
  gap: 14px;
}

.join-band form,
.footer-newsletter form {
  grid-template-columns: 1fr 1fr 160px;
  align-items: end;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--aqua);
  padding: 13px 14px;
  background: white;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.center-title {
  margin: 0 0 48px;
  text-align: center;
  font-size: 56px;
  line-height: 1;
  text-transform: lowercase;
}

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

.feature-card img {
  aspect-ratio: 0.88 / 1;
  object-fit: cover;
}

.feature-card.wide {
  grid-column: span 2;
}

.feature-card.wide img {
  aspect-ratio: 1.82 / 1;
}

.feature-card.tall {
  display: flex;
  min-height: 400px;
  align-items: end;
}

.feature-card h3 {
  font-size: 32px;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 58px;
  align-items: center;
}

.split-feature img {
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
}

.split-feature h2,
.two-column-feature h2,
.guide-library h2 {
  margin: 0 0 20px;
  font-size: 40px;
  line-height: 1.1;
}

.two-column-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 52px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.mini .post-image img {
  aspect-ratio: 0.8 / 1;
  object-fit: cover;
}

.mini .post-card-body {
  padding: 14px 0 0;
}

.mini {
  border: 0;
}

.editor-corner {
  min-height: 520px;
  display: flex;
  align-items: end;
  padding: 36px;
  background-size: cover;
  background-position: center;
}

.editor-corner > div {
  max-width: 520px;
  padding: 30px;
  background: #fffaf1;
}

.guide-library {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 26px;
  padding-bottom: 26px;
}

.guide-library p {
  max-width: 900px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-grid .large {
  grid-column: span 2;
}

.feature-grid .large .post-image img {
  aspect-ratio: 1.58 / 1;
  object-fit: cover;
}

.recent-grid,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 46px 34px;
}

.recent-grid .post-card,
.archive-grid .post-card {
  border: 0;
}

.recent-grid .post-image img,
.archive-grid .post-image img {
  aspect-ratio: 0.82 / 1;
  object-fit: cover;
}

.recent-grid .post-card-body,
.archive-grid .post-card-body {
  padding: 15px 0 0;
}

.centered {
  width: max-content;
  margin: 42px auto 0;
}

.archive-header {
  margin-top: 46px;
  margin-bottom: 44px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.archive-header p:not(.breadcrumbs) {
  max-width: 780px;
  font-size: 21px;
}

.subcat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.subcat-row span {
  border: 1px solid var(--aqua);
  padding: 8px 13px;
  font: 800 11px/1 var(--sans);
  text-transform: uppercase;
}

.article-layout {
  max-width: 980px;
}

.article-header {
  text-align: left;
}

.article-header h1 {
  font-size: 56px;
}

.article-deck {
  max-width: 760px;
  font-size: 23px;
  line-height: 1.45;
  color: #333;
}

.article-hero {
  margin: 36px 0 42px;
}

.article-hero img {
  aspect-ratio: 1.48 / 1;
  object-fit: cover;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
}

.article-content {
  max-width: 760px;
  margin: 0 auto;
}

.article-content h2,
.text-page h2,
.related-products h2 {
  margin: 44px 0 12px;
  font-size: 34px;
  line-height: 1.15;
}

.article-content ul {
  padding-left: 23px;
}

.article-content li + li {
  margin-top: 9px;
}

.affiliate-note,
.article-note {
  margin: 28px 0;
  padding: 20px;
  border-left: 5px solid var(--aqua);
  background: var(--aqua-soft);
}

.article-note {
  background: #fff7f2;
  border-left-color: var(--coral);
}

.article-content .shop-grid {
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0;
}

.shop-card.detailed {
  min-height: 205px;
}

.shop-card.detailed p {
  margin: 10px 0;
  color: var(--muted);
}

.category-back {
  margin-top: 38px;
  font: 800 12px/1 var(--sans);
  text-transform: uppercase;
}

.text-page {
  max-width: 860px;
}

.text-page h1,
.search-page h1 {
  margin: 20px 0;
  font-size: 56px;
  line-height: 1.08;
}

.contact-form {
  margin-top: 20px;
}

.contact-form button {
  width: max-content;
}

.search-box {
  display: block;
  max-width: 780px;
  margin: 28px 0 42px;
}

.site-footer {
  margin-top: 90px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  padding-top: 44px;
  padding-bottom: 44px;
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr 0.8fr;
  gap: 44px;
}

.footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid h3 {
  margin: 0 0 12px;
  font: 800 14px/1 var(--sans);
  text-transform: uppercase;
}

.copyright {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 42px;
  color: var(--muted);
  font: 700 11px/1 var(--sans);
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .utility-bar {
    min-height: 42px;
    padding: 0 16px;
  }

  .utility-bar nav {
    display: none;
  }

  .main-header {
    min-height: 70px;
    grid-template-columns: 1fr 46px;
    gap: 16px;
    padding: 0 16px;
  }

  .brand-core {
    font-size: 20px;
  }

  .brand-tail {
    font-size: 18px;
  }

  .brand-kicker {
    font-size: 8px;
  }

  .menu-button {
    display: block;
  }

  .primary-nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 22px;
    gap: 0;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .shop-pill {
    width: auto;
    min-width: 0;
    height: 44px;
    border-radius: 0;
  }

  .intro-band,
  .hero-grid,
  .trending-grid,
  .trend-lead,
  .join-band,
  .footer-newsletter,
  .split-feature,
  .two-column-feature,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .intro-band {
    margin-top: 22px;
  }

  .post-card.horizontal {
    grid-template-columns: 112px 1fr;
    min-height: 118px;
  }

  .post-card.horizontal h3 {
    font-size: 15px;
  }

  .post-card-body,
  .feature-card > div {
    padding: 14px;
  }

  .lead-story h1,
  .article-header h1,
  .archive-header h1,
  .text-page h1,
  .search-page h1 {
    font-size: 35px;
  }

  .script-title {
    font-size: 36px;
  }

  .section-title-row {
    align-items: start;
    flex-direction: column;
  }

  .tabs {
    gap: 24px;
  }

  .product-strip,
  .shop-grid,
  .article-content .shop-grid,
  .mini-grid,
  .feature-grid,
  .recent-grid,
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .feature-card.wide,
  .feature-grid .large {
    grid-column: span 2;
  }

  .join-band form,
  .footer-newsletter form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .section,
  .intro-band,
  .join-band,
  .footer-newsletter,
  .footer-grid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    margin-top: 58px;
    margin-bottom: 58px;
  }

  .intro-band {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .lead-story h1 {
    font-size: 25px;
  }

  .post-card h3,
  .trend-lead h3,
  .feature-card h3 {
    font-size: 21px;
  }

  .trend-lead {
    gap: 20px;
  }

  .center-title {
    margin-bottom: 28px;
    font-size: 36px;
  }

  .masonry-grid,
  .product-strip,
  .shop-grid,
  .article-content .shop-grid,
  .feature-grid,
  .recent-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

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

  .feature-card.wide,
  .feature-grid .large {
    grid-column: auto;
  }

  .editor-corner {
    min-height: 420px;
    padding: 18px;
  }

  .editor-corner > div {
    padding: 18px;
  }

  .article-deck {
    font-size: 19px;
  }

  .article-content h2,
  .text-page h2 {
    font-size: 26px;
  }

  .article-layout {
    padding-left: 16px;
    padding-right: 16px;
  }
}
