.cake-parlour {
  --paper: #f7eddb;
  --surface: #fff8e9;
  --blush: #f1e2c9;
  --petal: #e9d5b7;
  --rose: #6b2b3b;
  --rose-dark: #4d1e2b;
  --ink: #301f1c;
  --muted: #654e43;
  --line: #d7bd96;
  --control-line: #9a785b;
  --gilt: #ad8054;
  --round: .2rem;
  --serif: "Noto Serif TC", "Songti TC", PMingLiU, Georgia, serif;
  background-image: radial-gradient(#8a573315 .65px, transparent .8px);
  background-size: 5px 5px;
}

.cake-parlour .demo-strip {
  border-color: #755144;
  background: #321c21;
  color: #fff8e9;
}
.cake-parlour .demo-strip span { color: #f1d8aa; }
.cake-parlour .demo-strip a:focus-visible { outline-color: #f1d8aa; }

.cake-parlour .site-header {
  border-bottom: 4px double var(--line);
  background: #f7eddbee;
}
.cake-parlour .header-inner { min-height: 5.1rem; }
.cake-parlour .brand {
  font: 650 clamp(1.25rem, 2.15vw, 1.8rem)/1.15 var(--serif);
  letter-spacing: .025em;
  white-space: nowrap;
}
.cake-parlour .brand-name {
  color: inherit;
  font: 700 .65rem/1.2 Georgia, "Times New Roman", serif;
  letter-spacing: .13em;
}
.cake-parlour .demo-monogram {
  width: 2.45rem;
  height: 2.45rem;
  border: 3px double #edd5ac;
  background: var(--rose-dark);
  color: #fff2d8;
  font: italic 700 1.2rem/1 Georgia, serif;
}
.cake-parlour .main-nav { gap: clamp(.85rem, 2.3vw, 2rem); }
.cake-parlour .button {
  border-radius: 2px;
  box-shadow: none;
}
.cake-parlour .button-primary { border-color: var(--rose-dark); }
.cake-parlour .button-outline { background: #fff8e963; }

.cake-parlour .hero {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(1.65rem, 5vw, 5rem);
  margin-block: clamp(1.3rem, 3vw, 2.65rem) clamp(2.25rem, 5vw, 4.75rem);
  padding: clamp(2rem, 5vw, 4.65rem);
  border: 1px solid #5d382e;
  background:
    radial-gradient(ellipse at 90% 60%, #69363565, transparent 63%),
    linear-gradient(125deg, #421f27 12%, #381c22 76%);
  box-shadow: 0 8px 24px #5031271c;
  color: #fff7e9;
}
.cake-parlour .hero::before {
  position: absolute;
  inset: .58rem;
  z-index: -1;
  border: 1px solid #bd945b91;
  content: "";
}
.cake-parlour .hero .kicker { color: #f1d8aa; }
.cake-parlour .hero h1 {
  font-size: clamp(3.05rem, 6.05vw, 6.5rem);
  font-weight: 650;
  line-height: 1.135;
  letter-spacing: -.066em;
  margin-block: .7rem 1.3rem;
}
.cake-parlour .hero h1 span { color: #f0d6a6; }
.cake-parlour .hero-description { color: #f8e8d1; }
.cake-parlour .hero .button-primary {
  border-color: #f5deb2;
  background: #f5deb2;
  color: #421f27;
}
.cake-parlour .hero .button-primary:hover { background: #fff1d5; }
.cake-parlour .hero .button-outline {
  border-color: #dfb47a;
  background: transparent;
  color: #fff0d7;
}
.cake-parlour .hero .button-outline:hover { background: #6b333d; }
.cake-parlour .hero :focus-visible { outline-color: #f5deb2; }

.cake-parlour .hero-art {
  display: block;
  max-width: 34rem;
  width: 100%;
  padding: 0;
  margin-inline: auto;
}
.cake-parlour .hero-art::before { content: none; }
.cake-parlour .hero-image {
  aspect-ratio: 1.12;
  margin: 0;
  border: .5rem double #d4b27d;
  border-radius: 49% 49% .12rem .12rem / 36% 36% .12rem .12rem;
  background: #8f6450;
  box-shadow: 0 8px 32px #190f109c;
}
.cake-parlour .hero-image img {
  filter: sepia(.08);
  object-position: center 58%;
}
.cake-parlour .hero-caption {
  position: static;
  margin: .85rem auto 0;
  padding: 0;
  text-align: center;
  color: #f1d8aa;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .08em;
}

.cake-parlour .collection {
  background: #eddfc65c;
  border-block: 4px double var(--line);
}
.cake-parlour .section-head { align-items: end; }
.cake-parlour .section-head .kicker {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.cake-parlour .section-head .kicker::before {
  width: 1.75rem;
  height: 1px;
  background: var(--gilt);
  content: "";
}
.cake-parlour .cake-card {
  border: 4px double var(--gilt);
  padding: .3rem;
  background: var(--surface);
  box-shadow: 0 5px 12px #6b432414;
}
.cake-parlour .cake-prices {
  font: 500 1rem/1.45 Georgia, var(--sans);
  border-top: 1px dashed var(--control-line);
}
.cake-parlour .cake-prices dd { font-size: .94rem; }
.cake-parlour .cake-prices dt { font-family: var(--sans); }

.cake-parlour .photo-grid {
  grid-template-columns: minmax(0, 1.18fr) repeat(2, minmax(0, .91fr));
}
.cake-parlour .photo-grid .work {
  padding: clamp(.55rem, 1.1vw, .8rem);
  gap: .3rem;
  border: 1px solid var(--line);
  border-radius: var(--round);
  background: var(--surface);
  box-shadow: 0 6px 14px #6b432419;
}
.cake-parlour .portfolio-photo {
  overflow: hidden;
  height: clamp(11rem, 24vw, 20.5rem);
  border: 1px solid #9f78584c;
}
.cake-parlour .photo-grid .work img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  filter: sepia(.08);
}
.cake-parlour .photo-grid .work:nth-child(2) img {
  object-position: 57% 23%;
  transform: scale(1.55);
  transform-origin: 57% 27%;
}
.cake-parlour .photo-grid .work:nth-child(3) img {
  object-position: 50% 68%;
  transform: scale(1.7);
  transform-origin: 51% 60%;
}
.cake-parlour .photo-grid .work figcaption { padding: .55rem .2rem; font-size: .94rem; }

.cake-parlour .workshop-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .9rem 1.5rem;
  margin-top: clamp(1.25rem, 3.2vw, 2.5rem);
  padding: clamp(1rem, 2.5vw, 1.8rem);
  border: 4px double var(--line);
  background: var(--surface);
}
.cake-parlour .workshop-panel h3 { font: 700 1.3rem/1.35 var(--serif); }
.cake-parlour .workshop-panel p { margin-top: .3rem; color: var(--muted); }

.cake-parlour .booking-section {
  border-block: 4px double var(--line);
  background: #e8d2b640;
}
.cake-parlour .booking-form,
.cake-parlour .order-summary {
  border: 4px double var(--line);
}
.cake-parlour .booking-form legend,
.cake-parlour .order-summary h3,
.cake-parlour .ask-note h3 { font-family: var(--serif); }
.cake-parlour .booking-form fieldset { border-bottom-style: dashed; }
.cake-parlour input,
.cake-parlour select,
.cake-parlour textarea,
.cake-parlour .date-button,
.cake-parlour .time-slot,
.cake-parlour dialog pre { border-radius: 2px; }
.cake-parlour .date-button:disabled,
.cake-parlour .time-slot:disabled { background: #f0e7d7; color: #6c574a; }
.cake-parlour .petal {
  border: 4px double var(--gilt);
  background: linear-gradient(135deg, #f1dfbf, #fbefd9);
}

.cake-parlour .site-footer {
  --ink: #fff4e0;
  --muted: #ead5bd;
  --rose: #e7bc85;
  --rose-dark: #fae8c9;
  --surface: #512a31;
  --control-line: #bc986c;
  --line: #91694e;
  border-top: 4px double var(--gilt);
  background: #3b2026;
  color: var(--ink);
}
.cake-parlour .site-footer .button-outline { background: #512a31; }
.cake-parlour .site-footer .button-outline:hover { background: #63303d; }
.cake-parlour .site-footer input[type="date"] { color-scheme: dark; }
.cake-parlour .site-footer .brand-name { color: #ead5bd; }
.cake-parlour .site-footer :focus-visible { outline-color: #f2d7a5; }
.cake-parlour dialog { border: 4px double var(--gilt); }

@media (max-width: 57rem) {
  .cake-parlour .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 .75rem;
    padding-top: .55rem;
  }
  .cake-parlour .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: clamp(.45rem, 2.7vw, 1.45rem);
    border-top: 1px solid var(--line);
    margin-top: .55rem;
    font-size: .875rem;
  }
  .cake-parlour .main-nav a { padding-block: .53rem; }
}

@media (max-width: 48rem) {
  .cake-parlour { --section: clamp(2.75rem, 8vw, 4.5rem); }
  .cake-parlour :is(#cakes, #booking, #portfolio, #questions) { scroll-margin-top: 2.55rem; }
  .cake-parlour .hero { grid-template-columns: minmax(0, 1fr); padding: clamp(1.55rem, 6vw, 3rem); }
  .cake-parlour .hero h1 { font-size: clamp(2.6rem, 10vw, 4.4rem); }
  .cake-parlour .hero-image { aspect-ratio: 1.24; border-width: .4rem; }
  .cake-parlour .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cake-parlour .photo-grid .work:first-child { grid-column: 1 / -1; }
  .cake-parlour .portfolio-photo { height: auto; aspect-ratio: 1.06; }
  .cake-parlour .photo-grid .work:first-child .portfolio-photo { aspect-ratio: 1.45; }
  .cake-parlour .photo-grid .work img { aspect-ratio: auto; }
}

@media (max-width: 26rem) {
  .cake-parlour .main-nav { column-gap: .55rem; font-size: .8125rem; }
  .cake-parlour .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .cake-parlour .hero .hero-actions .button { width: 100%; }
  .cake-parlour .cake-prices dd { font-size: .875rem; }
}
