:root {
  --red: #762e35;
  --cream: #fff2d6;
  --pink: #edb7a9;
  --ink: #5a252b;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}
.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 12px;
  background: var(--cream);
}
.site-header {
  position: relative;
  z-index: 2;
  min-height: 87px;
  padding: 14px 2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--red);
  color: var(--cream);
}
.wordmark {
  display: flex;
  min-height: 44px;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark > span {
  font:
    700 39px/0.95 "Barlow",
    sans-serif;
  letter-spacing: 0.5px;
}
.wordmark small {
  margin-top: 7px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 2.1px;
}
.site-header nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.site-header nav > a {
  display: inline-flex;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  font-size: 16px;
  letter-spacing: 0.7px;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
}
.site-header nav > a:hover {
  text-decoration: underline;
}
.button {
  display: inline-flex;
  min-height: 70px;
  min-width: 221px;
  padding: 16px 28px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: var(--pink);
  color: var(--ink);
  text-transform: uppercase;
  text-decoration: none;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.6px;
  line-height: 1.4;
  transition:
    background-color 150ms,
    color 150ms;
}
.button:hover {
  background: var(--cream);
  color: var(--ink);
}
.button:active {
  background: #f6d8c4;
}
.site-header .order-button {
  min-width: 176px;
  min-height: 52px;
  padding: 12px 20px;
  background: var(--cream);
  font-size: 16px;
}
.site-header .order-button:hover {
  background: var(--pink);
}
.nav-toggle {
  display: none;
}
.hero {
  height: 53vw;
  max-height: 900px;
}
.hero img {
  object-position: 50% 50%;
}
.ribbon {
  overflow: hidden;
  height: 36px;
  background: var(--cream);
  color: var(--red);
}
.ribbon > div {
  display: flex;
  width: max-content;
  gap: 36px;
  align-items: center;
  height: 100%;
  transform: translateX(-24px);
}
.ribbon span {
  font-family: "Playwrite US Trad", cursive;
  font-size: 18px;
  font-weight: 200;
  white-space: nowrap;
}
.red,
.red-ribbon {
  background: var(--red);
  color: var(--cream);
}
.cream {
  background: var(--cream);
  color: var(--ink);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 645px;
  scroll-margin-top: 24px;
}
.panel-photo {
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.panel-photo img {
  position: absolute;
  inset: 0;
}
.cakes-photo img {
  object-position: 67% 52%;
}
.cookies-photo img {
  object-position: 50% 50%;
}
.storefront-photo img {
  object-position: 40% 50%;
}
.panel-copy {
  padding: 46px 6vw 90px 4.4vw;
  align-self: center;
}
h2 {
  margin: 0 0 28px;
  font-family: "Playwrite US Trad", cursive;
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 200;
  line-height: 1.5;
}
.panel-copy h2 {
  white-space: nowrap;
}
.panel-copy h2 span {
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 6px;
  text-underline-offset: 9px;
}
.panel-copy p {
  max-width: 512px;
  margin: 0 0 16px;
  font-size: 19.45px;
  line-height: 1.5;
}
.panel-copy .button {
  margin: 52px 0 0 58px;
}
.cream .panel-copy {
  padding-left: 6vw;
  padding-right: 4.4vw;
}
.cream .button {
  background: var(--red);
  color: var(--cream);
}
.cream .button:hover {
  background: var(--ink);
}
.baked-goods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
  font-size: 19.45px;
  line-height: 1.5;
}
footer {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 100px 6vw;
  text-align: center;
}
.visit-stamp {
  border: 2px dashed var(--red);
  padding: 28px 18px 16px;
}
.visit-stamp h2 {
  font:
    600 17px/1.5 "DM Sans",
    sans-serif;
  margin-bottom: 12px;
}
.visit-stamp p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 12px;
}
.visit-stamp a,
.footer-contact a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.footer-hours h2 {
  font-size: 38px;
  margin-bottom: 30px;
}
.footer-hours dl {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}
.footer-hours dl > div + div {
  margin-top: 18px;
}
.footer-hours dt {
  font-weight: 600;
}
.footer-hours dd {
  margin: 0;
}
.footer-contact {
  font-size: 16px;
}
.footer-contact p {
  margin: 0 0 8px;
}
.footer-contact .signature {
  font-family: "Playwrite US Trad", cursive;
  font-size: 38px;
  font-weight: 200;
  line-height: 1.5;
  margin-bottom: 8px;
}
.order-dialog {
  width: min(520px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  padding: 38px;
  border: 2px solid var(--red);
  background: var(--cream);
  color: var(--ink);
}
.order-dialog::backdrop {
  background: rgb(35 15 14 / 65%);
}
.order-dialog h2 {
  font-size: 30px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.order-dialog p {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 24px;
}
.order-dialog .button {
  width: 100%;
  min-width: 0;
}
.close-dialog {
  display: block;
  min-height: 44px;
  min-width: 44px;
  margin: 16px auto 0;
  padding: 8px 20px;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 5px;
}
@media (min-width: 768px) and (max-width: 1100px) {
  .split {
    min-height: 540px;
  }
  .panel-copy {
    padding-bottom: 54px;
  }
  .panel-copy h2 {
    font-size: 3.2vw;
  }
  .panel-copy p,
  .baked-goods {
    font-size: 17px;
  }
  .panel-copy .button {
    margin-left: 0;
  }
  footer {
    gap: 24px;
    padding-inline: 4vw;
  }
  .footer-hours h2 {
    font-size: 30px;
  }
}
@media (max-width: 1100px) {
  .site-header {
    justify-content: center;
  }
  .nav-toggle {
    position: absolute;
    left: 16px;
    top: 22px;
    width: 44px;
    height: 44px;
    padding: 6px;
    display: grid;
    place-items: center;
    background: none;
    color: var(--cream);
    border: 0;
  }
  .nav-toggle svg {
    width: 32px;
    height: 32px;
    stroke-width: 1;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 12px;
    padding: 28px 24px 36px;
    background: var(--red);
  }
  .site-header nav.is-open {
    display: flex;
  }
  .site-header nav > a {
    justify-content: center;
    font-size: 18px;
  }
}
@media (max-width: 767px) {
  .site-header {
    min-height: 87px;
    padding: 16px 24px;
  }
  .wordmark > span {
    font-size: 35px;
  }
  .wordmark small {
    font-size: 9px;
    letter-spacing: 1.7px;
  }
  .hero {
    height: 550px;
    max-height: none;
  }
  .hero img {
    object-position: 54% 50%;
  }
  .ribbon {
    height: 60px;
  }
  .ribbon span {
    font-size: 16px;
  }
  .split {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .panel-photo {
    height: 340px;
  }
  .panel-copy,
  .cream .panel-copy {
    width: 100%;
    padding: 48px 6vw 68px;
  }
  .panel-copy h2 {
    font-size: 30px;
    line-height: 1.6;
    margin-bottom: 24px;
    white-space: normal;
  }
  .panel-copy h2 span {
    text-decoration-thickness: 4px;
    text-underline-offset: 7px;
  }
  .panel-copy p,
  .baked-goods {
    font-size: 17.58px;
    line-height: 1.5;
  }
  .baked-goods {
    column-gap: 18px;
  }
  .button {
    min-width: 167px;
    min-height: 59px;
    font-size: 17.58px;
    padding: 14px 24px;
  }
  .panel-copy .button {
    display: flex;
    width: fit-content;
    margin: 48px auto 0;
  }
  .bakery .panel-photo {
    order: -1;
  }
  footer {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 64px 6vw;
  }
  .visit-stamp {
    width: 100%;
    max-width: 300px;
  }
  .footer-hours h2 {
    font-size: 34px;
  }
  .footer-contact .signature {
    font-size: 42px;
  }
  .order-dialog {
    padding: 28px 22px;
  }
  .order-dialog h2 {
    font-size: 27px;
  }
}
@media (max-width: 359px) {
  .wordmark > span {
    font-size: 30px;
  }
  .wordmark small {
    font-size: 8px;
  }
  .panel-copy h2 {
    font-size: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
