:root {
  --ink: #1f2a20;
  --forest: #263d2e;
  --moss: #738068;
  --cream: #f3efe4;
  --paper: #fbf8f0;
  --line: rgba(31, 42, 32, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  margin: 0 auto;
  max-width: 1440px;
  min-height: 82px;
  padding: 0 5vw;
}

.brand {
  align-items: center;
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  gap: 11px;
}

.brand-mark {
  align-items: center;
  background: var(--forest);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  font-size: 15px;
  height: 36px;
  justify-content: center;
  width: 36px;
}

nav {
  display: flex;
  font-size: 13px;
  gap: 34px;
  letter-spacing: 0.03em;
}

nav a,
.header-button {
  transition: opacity 180ms ease;
}

nav a:hover,
.header-button:hover {
  opacity: 0.58;
}

.header-button {
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  justify-self: end;
  padding: 8px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  margin: 0 auto;
  max-width: 1440px;
  min-height: 690px;
  padding: 54px 5vw 76px;
}

.hero-copy {
  align-self: center;
  max-width: 590px;
  padding: 36px 7vw 36px 0;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 23px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  font-size: clamp(58px, 6.1vw, 94px);
  letter-spacing: -0.055em;
  line-height: 0.94;
  margin: 0;
}

.hero-text {
  color: #5e665e;
  font-size: 16px;
  line-height: 1.8;
  margin: 35px 0;
  max-width: 470px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.primary-button {
  align-items: center;
  background: var(--forest);
  color: white;
  display: inline-flex;
  font-size: 13px;
  gap: 38px;
  padding: 17px 20px;
  transition: background 180ms ease, transform 180ms ease;
}

.primary-button:hover {
  background: #18281e;
  transform: translateY(-2px);
}

.small-note {
  color: #7e857d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-style: italic;
}

.hero-visual {
  margin: 0;
  min-height: 560px;
  overflow: hidden;
  position: relative;
}

.hero-visual img {
  height: 100%;
  object-fit: cover;
}

.hero-visual::after {
  border: 1px solid rgba(255, 255, 255, 0.48);
  content: "";
  inset: 18px;
  pointer-events: none;
  position: absolute;
}

.hero-visual figcaption {
  background: var(--paper);
  bottom: 0;
  display: flex;
  flex-direction: column;
  left: 0;
  min-width: 184px;
  padding: 18px 23px;
  position: absolute;
  z-index: 1;
}

.hero-visual figcaption span {
  font-size: 9px;
  letter-spacing: 0.14em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.hero-visual figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 400;
}

.collection {
  background: var(--cream);
  padding: 100px 5vw 112px;
}

.section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 48px;
  max-width: 1280px;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

.section-heading h2,
.ritual h2 {
  font-size: clamp(42px, 5vw, 70px);
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0;
}

.section-heading > p {
  color: #687068;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 3px;
  max-width: 390px;
}

.tea-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1280px;
}

.tea-card {
  border-top: 1px solid var(--ink);
  padding-top: 14px;
}

.card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.card-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.tea-card:hover img {
  transform: scale(1.035);
}

.card-image span {
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  left: 0;
  padding: 9px 11px;
  position: absolute;
  top: 0;
}

.card-copy {
  padding: 20px 4px 0;
}

.card-copy p {
  font-size: 9px;
  letter-spacing: 0.16em;
  margin: 0 0 7px;
  text-transform: uppercase;
}

.card-copy h3 {
  font-size: 31px;
  margin: 0 0 11px;
}

.card-copy span {
  color: #686f67;
  font-size: 13px;
  line-height: 1.6;
}

.ritual {
  background: var(--forest);
  color: var(--paper);
  padding: 112px 5vw 118px;
  text-align: center;
}

.ritual h2 {
  margin: 0 auto;
  max-width: 780px;
}

.steps {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  margin: 72px auto 0;
  max-width: 1120px;
  text-align: left;
}

.steps div {
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  padding: 31px 42px 0;
}

.steps div:first-child {
  padding-left: 0;
}

.steps div:last-child {
  border-right: 0;
  padding-right: 0;
}

.steps span {
  color: #9eaa9c;
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  margin-bottom: 28px;
}

.steps strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 400;
  margin-bottom: 12px;
}

.steps p {
  color: #b9c1b9;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

footer {
  align-items: center;
  display: grid;
  font-size: 12px;
  grid-template-columns: 1fr auto 1fr;
  margin: 0 auto;
  max-width: 1440px;
  min-height: 130px;
  padding: 25px 5vw;
}

footer p {
  color: #737a73;
  text-align: center;
}

footer > span {
  justify-self: end;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .hero-copy {
    padding: 52px 0 58px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 24px;
  }

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

  .tea-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 70px;
  }

  .brand {
    font-size: 17px;
  }

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

  .header-button {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-bottom: 54px;
  }

  h1 {
    font-size: 54px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .collection,
  .ritual {
    padding-bottom: 78px;
    padding-top: 78px;
  }

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

  .tea-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .steps {
    border-top: 0;
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .steps div,
  .steps div:first-child,
  .steps div:last-child {
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding: 25px 0 30px;
  }

  .steps span {
    margin-bottom: 14px;
  }

  footer {
    gap: 16px;
    grid-template-columns: 1fr;
    padding-bottom: 36px;
    padding-top: 36px;
    text-align: center;
  }

  footer p {
    margin: 0;
  }

  footer > span {
    justify-self: center;
  }

  .footer-brand {
    justify-content: center;
  }
}
