@media (max-width: 900px) {
#gallery .section-header {
    margin-bottom: 10px;
  }

#gallery .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

#gallery .photo-card img {
    aspect-ratio: 1 / 1;
  }
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 20px 60px;
  display: grid;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(520px 280px at 10% 15%, rgba(255, 236, 214, 0.9), transparent 60%),
    radial-gradient(420px 260px at 85% 20%, rgba(255, 214, 180, 0.75), transparent 58%),
    radial-gradient(460px 300px at 40% 85%, rgba(255, 239, 221, 0.85), transparent 65%);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  z-index: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  color: var(--muted);
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
}

.subheadline {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 700px;
}

.section-header p {
  max-width: 62ch;
}

#what .section-header {
  margin-inline: auto;
  align-items: center;
  text-align: center;
}

#what .section-header h2::after {
  left: 50%;
  transform: translateX(-50%);
}

#faq .section-header {
  margin-inline: auto;
  align-items: center;
  text-align: center;
}

#faq .section-header h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.cards {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.section-gallery .section-header {
  margin-bottom: 16px;
}

.card {
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.notice {
  background: rgba(196, 90, 45, 0.12);
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--accent-dark);
  font-weight: 600;
  width: fit-content;
}

#faq .accordion-trigger {
  text-align: center;
}

#faq .accordion-panel {
  text-align: center;
}

@media (min-width: 1024px) {
#faq .accordion {
    justify-items: center;
    gap: 14px;
  }

#faq .accordion-item {
    width: 100%;
    max-width: 860px;
  }

#faq .accordion-item:nth-child(2) {
    max-width: 810px;
  }

#faq .accordion-item:nth-child(3) {
    max-width: 760px;
  }

#faq .accordion-item:nth-child(4) {
    max-width: 710px;
  }

#faq .accordion-item:nth-child(5) {
    max-width: 660px;
  }

#faq .accordion-item:nth-child(6) {
    max-width: 610px;
  }

#faq .accordion-item:nth-child(7) {
    max-width: 560px;
  }

#faq .accordion-item--faq-grahamai {
    max-width: 520px;
  }

#faq .accordion-item--faq-crumbs {
    max-width: 500px;
  }

#faq .accordion-trigger {
    width: 100%;
  }
}

.footer-certifications {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  width: min(100%, 320px);
  margin: 18px auto 0;
}

.certification-logo--anab {
  height: 52px;
  max-width: 88px;
}

.certification-logo--servsafe {
  height: 42px;
  max-width: 124px;
  border-color: rgba(0, 151, 190, 0.18);
}

.footer-company-mark--mono {
  width: 42px;
  height: 36px;
  opacity: 0.82;
}

@media (min-width: 768px) {
.hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

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

@media (min-width: 1024px) {
.hero {
    padding-top: 140px;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.35), transparent 60%);
  animation: heroGlow 14s ease-in-out infinite;
  pointer-events: none;
}

.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.auth-shell {
  margin-top: 20px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

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

.site-studio-page .auth-shell {
  margin-top: 12px;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.site-studio-page .auth-actions {
  gap: 8px;
}

.site-studio-page #studio-media-status.error {
  color: #8a2d1f;
}

.auth-status.error {
  border-color: rgba(164, 70, 30, 0.45);
  background: rgba(196, 90, 45, 0.08);
}

.owner-rules-status.error {
  color: #a4461e;
}

.leaderboard-table td.rank {
  width: 38px;
  font-weight: 700;
}

@media (max-width: 900px) {
.owner-dashboard-main .auth-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
.hero {
    padding: 98px 14px 34px;
    gap: 22px;
  }

.auth-shell {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.testimonial-strip,
.testimonial-grid {
  display: grid;
  gap: 18px;
}

.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.testimonial-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(39, 31, 27, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 240, 0.92));
  box-shadow: 0 18px 40px rgba(74, 54, 39, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.testimonial-card::before,
.testimonial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.testimonial-card::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 42%),
    linear-gradient(120deg, rgba(196, 90, 45, 0.08), rgba(87, 164, 115, 0.06) 62%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.95;
}

.testimonial-card::after {
  inset: auto -20% -40% 36%;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(196, 90, 45, 0.16), rgba(196, 90, 45, 0) 68%);
  opacity: 0.75;
}

.testimonial-card > * {
  position: relative;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(196, 90, 45, 0.22);
    box-shadow: 0 24px 52px rgba(74, 54, 39, 0.12);
  }
}

.testimonial-stars {
  color: #c45a2d;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  white-space: normal;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.testimonial-quote {
  margin: 0;
  color: #2c211c;
  font-size: 1rem;
  line-height: 1.75;
}

.testimonial-footer {
  display: grid;
  gap: 4px;
}

.testimonial-author {
  font-size: 0.98rem;
}

.testimonial-meta {
  color: rgba(44, 33, 28, 0.72);
  font-size: 0.92rem;
}

.reviews-shell .reviews-card {
  gap: 22px;
  background:
    radial-gradient(circle at top left, rgba(87, 164, 115, 0.08), transparent 30%),
    radial-gradient(circle at top right, rgba(196, 90, 45, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 244, 240, 0.95));
}

.reviews-toolbar {
  display: grid;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(91, 60, 43, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 244, 240, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.reviews-notice {
  margin: 0;
}

.reviews-empty-card {
  text-align: center;
}

.reviews-empty-card h2 {
  margin-bottom: 8px;
}

@media (min-width: 900px) {
.reviews-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (max-width: 900px) {
.reviews-shell .auth-actions {
    width: 100%;
  }

.reviews-empty-card h2 {
    font-size: clamp(1.7rem, 7vw, 2.25rem);
    line-height: 1.1;
  }
}

@media (max-width: 700px) {
.much-obliged-handoff-copy .eyebrow {
    margin-bottom: 2px;
  }
}

@media (max-width: 900px) {
.review-purpose-cards .card {
    padding: 18px;
  }
}

.crumbs-flow-step h3,
.crumbs-rules-copy h2,
.crumbs-rules-note strong,
.crumbs-ladder .section-header h2 {
  margin: 14px 0 10px;
  font-family: "Fraunces", serif;
}

.home-page .hero {
  padding-top: 40px;
  padding-bottom: 74px;
  gap: 20px;
}

.home-page .hero::before {
  inset: -12% -4%;
  background:
    radial-gradient(600px 300px at 4% 10%, rgba(255, 236, 214, 0.95), transparent 62%),
    radial-gradient(460px 270px at 96% 16%, rgba(255, 205, 173, 0.78), transparent 56%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 42%);
}

.home-page .hero::after {
  inset: -30% -16%;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.34), transparent 60%),
    repeating-linear-gradient(
      -14deg,
      rgba(255, 255, 255, 0.12) 0 18px,
      rgba(255, 255, 255, 0) 18px 42px
    );
  opacity: 0.75;
  animation: none;
}

.home-page .eyebrow {
  color: var(--brand-red);
  font-weight: 800;
}

.home-page .hero h1 {
  display: block;
  width: min(100%, 640px);
  max-width: 640px;
  margin: 6px 0 0;
  line-height: 0;
}

.home-page .hero h1 picture {
  display: block;
  width: 100%;
}

.home-page .hero h1 img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.home-page .subheadline {
  max-width: 20ch;
  font-size: 1.16rem;
  color: #584942;
}

@media (min-width: 768px) {
.home-page .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
    align-items: start;
  }
}

@media (min-width: 901px) {
.home-page .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
    align-items: start;
    gap: 28px 42px;
  }

.home-page .hero h1 {
    order: 1;
    grid-column: 1 / -1;
    width: min(100%, 100%);
    max-width: none;
    margin: -6px 0 4px;
  }

.home-page .eyebrow {
    order: 2;
    grid-column: 1 / -1;
    margin-top: 0;
  }

.home-page .subheadline {
    order: 5;
    grid-column: 1 / -1;
  }
}

.home-page .section-header {
  gap: 10px;
}

.home-page .section-header h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.home-page .cards .card,
.home-page .accordion-item,
.home-page .photo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(63, 43, 30, 0.08);
  box-shadow:
    0 18px 34px rgba(60, 41, 28, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.home-page .cards .card:not([data-product-card])::before,
.home-page .accordion-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, rgba(196, 90, 45, 0.86), rgba(216, 174, 105, 0.84), rgba(95, 141, 92, 0.72));
  opacity: 0.9;
}

.home-page #how .card h3 {
  font-size: 1.4rem;
}

.home-page #pricing [data-product-card] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 247, 241, 0.92));
}

.home-page #pricing [data-product-card] h3 {
  font-size: 1.65rem;
}

.home-page #pricing .price-line {
  font-weight: 600;
  color: #4d3d33;
}

.pricing-page .section-header h2 {
  margin-bottom: 6px;
}

.home-page .testimonial-card {
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.97), rgba(248, 241, 233, 0.95));
}

.home-page .testimonial-stars {
  color: var(--brand-red);
}

.home-page #faq .accordion-trigger {
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
.home-page .hero {
    padding-top: 12px;
    padding-bottom: 40px;
    gap: 12px;
  }

.home-page .hero h1 {
    font-size: clamp(2.6rem, 10vw, 4rem);
  }
}

@media (max-width: 640px) {
.home-page .hero {
    padding-top: 8px;
    padding-bottom: 28px;
    gap: 10px;
    grid-template-columns: minmax(132px, 38vw) minmax(0, 1fr);
    align-items: start;
  }

.home-page .eyebrow {
    grid-column: 1 / -1;
    grid-row: 3;
    margin: 0 auto;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-align: center;
  }

.home-page .hero h1 {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 2px 0 0;
    font-size: clamp(1.9rem, 9.2vw, 2.75rem);
    line-height: 0.94;
  }

.home-page .subheadline {
    grid-row: 7;
    margin: 0;
    max-width: none;
    font-size: 1rem;
    line-height: 1.35;
  }

.home-page .mobile-home-section-enabled .section-header {
    gap: 8px;
  }

.home-page .mobile-home-section-enabled .section-header h2 {
    font-size: 1.65rem;
  }

.home-page .mobile-home-section-enabled .cards {
    gap: 12px;
  }
}

@media (min-width: 901px) {
.home-page .eyebrow {
    order: 1;
    grid-column: 1 / -1;
    margin: 0;
  }

.home-page .hero h1 {
    order: 2;
    grid-column: 1 / -1;
    width: min(100%, 620px);
    margin: -2px 0 6px;
  }

.home-page .subheadline {
    order: 3;
    grid-column: 1 / -1;
    max-width: 25ch;
    font-size: 1.22rem;
  }

.shop-page #main > .section-header,
  .shop-page #main > .shop-review-proof,
  .shop-page #main > .auth-shell {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }
}
