* { box-sizing: border-box; }

:root {
  --ink: #241713;
  --cocoa: #4a2e25;
  --cream: #f6efe7;
  --paper: #fffaf4;
  --caramel: #b67a4d;
  --muted: #796b63;
  --line: #ded1c5;
}

html { scroll-behavior: smooth; }

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

.nav {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto 0;
  padding: 24px clamp(24px, 5vw, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  color: inherit;
}

.mark {
  width: 48px;
  height: 48px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Playfair Display", serif;
  font-size: 12px;
  letter-spacing: .08em;
}

.pill {
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .14em;
}

.hero {
  min-height: 92vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-image:
    url("https://images.unsplash.com/photo-1615796701805-2094ac54bbf9?fm=jpg&ixid=M3wxMjA3fDB8MHxwaG90by1yZWxhdGVkfDE5fHx8ZW58MHx8fHx8&ixlib=rb-4.1.0&q=80&w=2400");
  background-size: cover;
  background-position: center;
  color: white;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,12,10,.88) 0%, rgba(20,12,10,.68) 46%, rgba(20,12,10,.16) 75%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  padding: 150px clamp(24px, 6vw, 90px) 90px;
}

.eyebrow {
  margin: 0 0 17px;
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: 11px;
  font-weight: 700;
  color: #e6c8b2;
}

.eyebrow.dark { color: var(--caramel); }

h1, h2, h3 {
  font-family: "Playfair Display", serif;
}

h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 105px);
  line-height: .94;
  letter-spacing: -.045em;
}

.lede {
  max-width: 620px;
  margin: 25px 0 32px;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
  color: #f0e5dc;
}

.button {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.scroll-note {
  position: absolute;
  z-index: 2;
  right: 36px;
  bottom: 34px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}

.section {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  padding: 100px 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.intro h2,
.notify h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -.035em;
}

.intro-copy {
  margin: 0;
  max-width: 570px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  padding-bottom: 100px;
}

.feature-card {
  min-height: 580px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.cookies {
  background-image: url("https://images.unsplash.com/photo-1558961363-fa8fdf82db35?auto=format&fit=crop&fm=jpg&q=82&w=1800");
}

.brownies {
  background-image: url("https://images.unsplash.com/photo-1606313564200-e75d5e30476c?auto=format&fit=crop&q=82&w=1800");
}

.cakes {
  background-image: url("https://images.unsplash.com/photo-1615796701805-2094ac54bbf9?auto=format&fit=crop&q=82&w=1800");
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(24,14,11,.88) 100%);
}

.card-copy {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 28px;
}

.card-copy span {
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 10px;
  font-weight: 700;
  color: #e7cbb6;
}

.card-copy h3 {
  margin: 7px 0 7px;
  font-size: 38px;
}

.card-copy p {
  margin: 0;
  max-width: 330px;
  color: #e9ddd5;
  line-height: 1.55;
  font-size: 14px;
}

.promise {
  padding: 85px 0 110px;
  border-top: 1px solid var(--line);
}

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

.promise-grid > div {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.promise-grid span {
  color: var(--caramel);
  font-size: 12px;
  letter-spacing: .12em;
}

.promise-grid h3 {
  margin: 14px 0 8px;
  font-size: 30px;
}

.promise-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.notify {
  background: var(--ink);
  color: white;
  padding: 110px 24px;
  text-align: center;
}

.notify-inner {
  width: min(760px, 100%);
  margin: 0 auto;
}

.notify p {
  color: #cbbab0;
}

.notify form {
  margin: 30px auto 0;
  max-width: 660px;
  display: flex;
  gap: 10px;
}

.notify input {
  flex: 1;
  min-width: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: 16px 20px;
  font: inherit;
  outline: none;
}

.notify input::placeholder { color: #b9aaa1; }

.notify button {
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.form-message {
  margin-top: 12px;
  font-size: 13px;
}

footer {
  padding: 30px clamp(24px, 5vw, 70px);
  background: #160e0c;
  color: #b9aaa2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  font-size: 12px;
}

.footer-brand { color: #fff; font-size: 17px; }

footer p { margin: 0; text-align: center; }

footer nav {
  justify-self: end;
  display: flex;
  gap: 18px;
}

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

.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;
}

@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; gap: 30px; }
  .gallery { grid-template-columns: 1fr; }
  .feature-card { min-height: 480px; }
  .promise-grid { grid-template-columns: 1fr; gap: 22px; }
  footer { grid-template-columns: 1fr; text-align: left; }
  footer p { text-align: left; }
  footer nav { justify-self: start; }
}

@media (max-width: 620px) {
  .nav { padding: 18px 20px; }
  .brand { font-size: 18px; }
  .mark { width: 42px; height: 42px; }
  .pill { display: none; }
  .hero { min-height: 88vh; background-position: 58% center; }
  .hero-copy { padding: 125px 22px 70px; }
  h1 { font-size: clamp(50px, 15vw, 74px); }
  .scroll-note { display: none; }
  .section { width: min(100% - 28px, 1240px); }
  .intro { padding: 75px 0 55px; }
  .gallery { padding-bottom: 75px; }
  .feature-card { min-height: 420px; }
  .notify { padding: 85px 18px; }
  .notify form { flex-direction: column; }
  .notify button { min-height: 52px; }
}
