:root {
  --amber: #C47A0C;
  --amber-deep: #9A5B08;
  --amber-dark: #6F4005;
  --gold: #E0A21A;
  --honey-tint: #FFF4D9;
  --honey-line: #F6E2AC;
  --navy: #2B3A55;
  --teal: #1F8A9C;
  --teal-deep: #17717F;
  --red: #D2431F;
  --rust: #9B3415;
  --green: #2E7D32;
  --berry: #B4175E;
  --orange: #C25A10;
  --ink: #2B2118;
  --muted: #6B5B45;
  --cream: #FBF7F0;
  --line: #E6D9C3;
  --tan: #C9B79C;
  --white: #FFFFFF;
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

main {
  flex: 1;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.1;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--teal-deep);
}

a:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2.5rem, 1040px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.5em 1em;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 2px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  padding-block: 0.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--amber);
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tabs a {
  display: block;
  padding: 0.45em 1em;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}

.tabs a:hover {
  background: var(--honey-tint);
}

.tabs a[aria-current="page"] {
  background: var(--amber-deep);
  color: var(--white);
}

.wave {
  width: min(100%, 460px);
  margin-bottom: 0.9rem;
}

.edge {
  width: 100%;
  height: clamp(28px, 4vw, 52px);
}

.hero {
  background: var(--white);
}

.hero-inner {
  display: grid;
  align-items: center;
  gap: 1.5rem 2.5rem;
  padding-block: clamp(1.75rem, 5vw, 3.5rem) clamp(1rem, 3vw, 2rem);
}

.hero h1 {
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--amber);
  margin-bottom: 0.15em;
}

.names {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 0.5em;
}

.names .s {
  color: var(--red);
}

.names .amp {
  color: var(--gold);
}

.names .a {
  color: var(--green);
}

.lead {
  max-width: 30ch;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0;
}

.hero-logo {
  width: min(100%, 440px);
  margin-inline: auto;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.65em 1.5em;
  border: 3px solid transparent;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  transition: transform 0.15s, background-color 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--amber-deep);
  color: var(--white);
  box-shadow: 0 4px 0 var(--amber-dark);
}

.btn-primary:hover {
  background: #864F06;
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  border-color: var(--navy);
  color: var(--navy);
}

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

.page-hero {
  background-color: var(--honey-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23F6E2AC' stroke-width='2'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%23F6E2AC' stroke-width='2'/%3E%3C/svg%3E");
}

.page-hero .wrap {
  padding-block: clamp(2rem, 5vw, 3.25rem) 0.75rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.25rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--amber-deep);
  margin-bottom: 0.2em;
}

.page-hero .wave {
  width: min(70%, 340px);
  margin-inline: auto;
  margin-bottom: 0;
}

.section {
  padding-block: clamp(1.75rem, 4.5vw, 3rem);
}

.section + .section {
  padding-top: 0;
}

.section .wrap > h2,
.col > h2 {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 600;
  color: var(--berry);
}

.intro {
  max-width: 46ch;
  font-size: 1.25rem;
  font-weight: 700;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 1.9rem 1.5rem 1.3rem;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 22px;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 10px;
  background: var(--accent, var(--gold));
}

.card h2,
.card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent, var(--navy));
}

.card p {
  color: var(--muted);
  font-weight: 600;
}

.card .more {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 600;
}

.card.navy {
  --accent: var(--navy);
}

.card.teal {
  --accent: var(--teal-deep);
}

.card.red {
  --accent: var(--red);
}

.card.green {
  --accent: var(--green);
}

.card.person p {
  margin-bottom: 0;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.quote {
  margin: 0;
  padding: 1.3rem 1.5rem;
  background: var(--white);
  border: 2px solid var(--line);
  border-left: 10px solid var(--q);
  border-radius: 22px;
}

.quote blockquote {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--q);
}

.quote blockquote p {
  margin: 0;
}

.quote figcaption {
  margin-top: 0.7rem;
  font-family: var(--display);
  font-weight: 600;
  color: var(--muted);
}

.quote.scarlett {
  --q: var(--teal-deep);
}

.quote.annie {
  --q: var(--berry);
}

.split {
  display: grid;
  gap: 2rem 3rem;
  align-items: start;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.35em 1em;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 999px;
  font-weight: 800;
}

.note {
  color: var(--muted);
  font-weight: 600;
}

.col > h2:not(:first-child) {
  margin-top: 1.75rem;
}

.prices {
  max-width: 380px;
  padding: 1.3rem 1.6rem 0.9rem;
  background: var(--white);
  border: 3px solid var(--amber);
  border-radius: 24px;
}

.prices h2,
.prices h3 {
  margin-bottom: 0.3rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  color: var(--ink);
}

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

.prices li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.prices li + li {
  border-top: 2px solid var(--line);
}

.size {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.15;
}

.size.small {
  color: var(--navy);
}

.size.medium {
  color: var(--rust);
}

.bag {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--teal);
}

.nutrition {
  max-width: 360px;
  padding: 0.9rem 1rem 0.8rem;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 6px;
  font-size: 1rem;
  line-height: 1.35;
}

.nutrition h2 {
  margin: 0;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid var(--ink);
  font-family: var(--body);
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nutrition .serving,
.nutrition .calories {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
}

.nutrition .serving {
  padding: 0.3rem 0;
  border-bottom: 10px solid var(--ink);
  font-weight: 800;
}

.nutrition .calories {
  padding: 0.2rem 0;
  border-bottom: 5px solid var(--ink);
  font-weight: 800;
  font-size: 1.6rem;
}

.nutrition .calories strong {
  font-size: 2.2rem;
  line-height: 1;
}

.nutrition table {
  width: 100%;
  border-collapse: collapse;
}

.nutrition th,
.nutrition td {
  padding: 0.22rem 0;
  border-bottom: 1px solid var(--ink);
  font-weight: 400;
  text-align: left;
}

.nutrition td {
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.nutrition thead th {
  font-size: 0.875rem;
  font-weight: 800;
  text-align: right;
}

.nutrition .sub th {
  padding-left: 1rem;
}

.nutrition .sub2 th {
  padding-left: 2rem;
}

.nutrition .bar th,
.nutrition .bar td {
  border-top: 10px solid var(--ink);
}

.nutrition .vit td {
  font-weight: 400;
}

.nutrition .foot {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.notice {
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 3px dashed var(--tan);
  border-radius: 24px;
  text-align: center;
}

.notice h2 {
  font-size: clamp(1.5rem, 3.5vw, 1.9rem);
  font-weight: 600;
  color: var(--navy);
}

.notice p {
  margin: 0;
  font-weight: 600;
  color: var(--muted);
}

.narrow {
  max-width: 640px;
  margin-inline: auto;
}

.site-footer {
  padding: 2rem 0 1.75rem;
  background: var(--white);
  border-top: 2px solid var(--line);
  text-align: center;
}

.thanks {
  margin-bottom: 0.3rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  line-height: 1.2;
  color: var(--orange);
}

.site-footer small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

@media (min-width: 820px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .split {
    grid-template-columns: 1fr 360px;
  }

  .split.even {
    grid-template-columns: 380px 1fr;
    align-items: center;
  }
}

@media (max-width: 819px) {
  .site-header {
    position: static;
  }

  .header-inner,
  .tabs {
    justify-content: center;
  }

  .hero-inner {
    text-align: center;
  }

  .hero-logo {
    order: -1;
    width: min(70%, 300px);
  }

  .hero .wave,
  .lead {
    margin-inline: auto;
  }

  .actions {
    justify-content: center;
  }

  .prices,
  .nutrition {
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
