@font-face {
  font-family: "Kkung Headline";
  src: url("assets/fonts/KkungHeadline-Black.woff") format("woff");
  font-weight: 900;
  font-display: swap;
}

.studio-editorial {
  --cream: #fff;
  --home-gutter: clamp(16px, 4vw, 56px);
  --section-space: clamp(48px, 8vw, 100px);
}
.studio-cover {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--home-gutter);
  border-bottom: 1px solid var(--ink);
  padding-block: clamp(30px, 6vw, 78px) clamp(32px, 5vw, 64px);
}
.cover-label { font-size: .875rem; font-weight: 750; margin-bottom: 14px; }
.studio-cover .cover-heading {
  font-size: clamp(2.05rem, 5.15vw, 5.2rem);
  font-weight: 880;
  line-height: 1.04;
  letter-spacing: -.085em;
}
.studio-cover .title-accent { color: var(--deep-coral); }
.cover-description { max-width: 29ch; margin-top: 14px; font-size: clamp(1rem, 1.4vw, 1.16rem); }
.cover-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; margin-top: 16px; }
.cover-button, .cover-link, .studio-social {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  min-height: 44px;
  font-size: .9375rem;
  font-weight: 740;
}
.cover-button { border-radius: 0; border-color: var(--ink); background: var(--ink); color: white; }
.cover-button:hover { background: var(--deep-coral); border-color: var(--deep-coral); }
.cover-link { text-decoration-thickness: 1px; text-underline-offset: .28em; }
.cover-link:hover { text-decoration-thickness: 2px; }
.cover-photo { display: block; min-width: 0; color: var(--ink); text-decoration: none; }
.cover-photo > div { aspect-ratio: 1; overflow: hidden; background: var(--cream); }
.cover-photo img { object-position: center 45%; }
.cover-photo > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding-inline: 10px;
  border-bottom: 1px solid var(--ink);
  font-size: .875rem;
  font-weight: 730;
}
.cover-photo b { color: var(--deep-coral); }
.cover-photo:hover > span { background: var(--cream); }
.home-gallery { margin-block: var(--section-space); }
.edition-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 26px; }
.edition-heading :is(h1, h2), .workshop h2 {
  font-size: clamp(2rem, 4.4vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -.07em;
}
.edition-heading p { max-width: 32ch; }
.edition-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 3vw, 34px) clamp(10px, 2vw, 24px);
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.edition-strip a { display: block; text-decoration: none; }
.edition-strip [data-image] { aspect-ratio: 4 / 5; background: var(--cream); overflow: hidden; }
.edition-strip img { object-fit: contain; }
.edition-strip strong { display: block; margin-top: 8px; font-size: .9rem; }
.edition-strip a:hover strong { text-decoration: underline 2px var(--bi-coral); }
.edition-strip li:nth-child(4n + 2), .edition-strip li:nth-child(4n + 3) { margin-top: clamp(8px, 2.5vw, 28px); }
.workshop h2 { max-width: 14ch; }
.workshop figure { border-radius: 0; }
.workshop p { max-width: 32ch; }
.home-journal {
  margin-top: clamp(20px, 4vw, 58px);
  padding: clamp(14px, 2.7vw, 36px) 0 clamp(20px, 3.5vw, 46px);
  border-block: 1px solid var(--edge);
}
.journal-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 16px; }
.journal-heading h2 { font-size: clamp(1.65rem, 4.1vw, 3.7rem); font-weight: 850; }
.studio-social { text-decoration-thickness: 1px; color: var(--deep-coral); }
.journal-list {
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(9px, 2.1vw, 26px);
  list-style: none;
}
.journal-list a { display: block; text-decoration: none; min-height: 44px; }
.journal-list a:hover strong { text-decoration: underline; }
.journal-list time { display: block; margin-block: 7px 3px; line-height: 1.35; font-size: .8125rem; color: var(--muted); }
.journal-list strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: .9375rem;
  line-height: 1.38;
}
.journal-media { display: block; aspect-ratio: 1; overflow: hidden; background: var(--cream); border-radius: 14px; }
.journal-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.journal-list[hidden], .studio-landing-journal[hidden] { display: none; }
@media (max-width: 540px) {
  .journal-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .studio-cover { grid-template-columns: minmax(0, 1fr); padding-block: 20px 25px; }
  .studio-cover .cover-heading { font-size: clamp(1.9rem, 8.15vw, 4.1rem); }
  .cover-photo > div { aspect-ratio: 1.14; }
  .cover-photo img { object-position: center 38%; }
  .edition-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .edition-strip li:nth-child(n) { margin-top: 0; }
  .edition-strip strong { font-size: .8125rem; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes cover-rise {
    from { opacity: 0; transform: translateY(17px); }
  }
  @keyframes open-photo {
    from { opacity: .25; clip-path: inset(12% 0 0); }
    to { opacity: 1; clip-path: inset(0); }
  }
  @keyframes home-arrive {
    from { opacity: .2; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .studio-editorial .arrive { animation: home-arrive 440ms cubic-bezier(.23, .72, .3, 1) both; }
  .studio-cover .cover-heading.arrive { animation: cover-rise 460ms cubic-bezier(.19, 1, .22, 1) both; }
  .studio-cover .cover-description.arrive { animation-delay: 60ms; }
  .studio-cover .cover-photo.arrive { animation: none; }
  .studio-cover .cover-photo.arrive:not(:focus-visible) > div { animation: open-photo 560ms cubic-bezier(.2, .66, .26, 1) both; }
  .studio-editorial .edition-heading p.arrive { animation-delay: 65ms; }
  .studio-editorial .edition-strip li.arrive { animation: none; }
  .studio-editorial .edition-strip li.arrive [data-image] { animation: open-photo 560ms cubic-bezier(.2, .66, .26, 1) both; }
  .studio-editorial .edition-strip li:nth-child(even).arrive [data-image] { animation-delay: 70ms; }
  .studio-editorial .arrive:focus-within, .studio-editorial .arrive:focus-visible,
  .studio-editorial .edition-strip li.arrive:focus-within [data-image], .cover-actions:focus-within {
    animation: none;
  }
}

/* The storefront's rounded vinyl shapes carry the brand through the home page. */
.studio-editorial {
  --home-pink: #fce6e1;
  --display: ui-rounded, "Apple SD Gothic Neo", "Noto Sans KR", var(--sans);
}
.studio-cover {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 3vw, 32px);
  border-bottom: 0;
  padding-block: clamp(24px, 4vw, 48px) 0;
}
.cover-copy { text-align: center; }
.cover-label { margin-bottom: 5px; font-size: .81rem; }
.studio-cover .cover-heading,
.edition-heading :is(h1, h2),
.workshop h2,
.journal-heading h2 { font-family: var(--display); }
.studio-cover .cover-heading {
  font-size: clamp(2rem, 5.8vw, 5.3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.075em;
  text-wrap: balance;
}
.studio-cover .title-accent { display: inline-block; }
.cover-description { max-width: none; margin-top: 7px; }
.cover-actions { justify-content: center; gap: 0 16px; margin-top: 13px; }
.cover-button {
  border-radius: 999px;
  border-color: var(--deep-coral);
  background: var(--deep-coral);
  padding-inline: 19px;
}
.cover-button:hover { background: var(--ink); border-color: var(--ink); }
.cover-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100%, 1050px);
  justify-self: center;
  border-radius: clamp(22px, 4vw, 58px);
  background: var(--bi-coral);
}
.cover-photo > div {
  position: relative;
  height: clamp(340px, 40vw, 470px);
  aspect-ratio: auto;
  background: transparent;
}
.cover-photo::before {
  position: absolute;
  inset: 9% 17% 0;
  z-index: -1;
  border-radius: 50% 50% 42% 42% / 72% 72% 28% 28%;
  background: var(--home-pink);
  content: "";
}
.cover-photo img { object-fit: contain; object-position: center; }
.cover-photo img[src="assets/full-pink-brown.webp"] {
  /* Keep the whole cake within the frame. Edited photos use the uncropped rule above. */
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(300px, 42vw, 465px);
  min-width: 303px;
  height: auto;
  transform: translate(-52%, -58.7%);
  clip-path: polygon(
    48.4% 26.9%, 51% 26.55%, 52.8% 27.55%, 53.65% 29.25%, 52.9% 30.6%, 51.9% 31.7%,
    57.5% 40.8%, 60.6% 43.4%, 64% 43.8%, 67.8% 46.5%, 68.5% 49.2%,
    66% 52%, 65% 55.7%, 66.7% 62%, 69.5% 67.1%, 71.8% 70.1%,
    70.6% 71.65%, 65.9% 72.1%, 65% 75.7%, 65.7% 81.8%, 64.7% 86.3%,
    62% 89.1%, 56% 91%, 48% 90.8%, 42% 88.8%, 39.8% 85.5%,
    38.6% 81.4%, 38.5% 75.9%, 40% 72%, 36.9% 70%, 33.1% 69.7%,
    32.1% 67.5%, 35.8% 64.9%, 37.6% 58.2%, 38% 53.6%, 34.8% 51.7%,
    32.9% 49.2%, 34.1% 46.2%, 38.3% 44.1%, 39% 42.7%, 44% 41.1%,
    44.5% 39.1%, 47.4% 34.8%, 49.6% 31.6%, 47.6% 30.2%, 46.8% 28.4%
  );
}
.cover-photo > span {
  position: absolute;
  right: clamp(8px, 2vw, 22px);
  bottom: clamp(8px, 2vw, 22px);
  min-height: 44px;
  gap: 9px;
  padding-inline: 14px;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
}
.cover-photo:hover > span { background: var(--home-pink); }
.edition-heading { margin-bottom: 18px; }
.edition-strip [data-image] { aspect-ratio: 1; border-radius: 30% 30% 9% 9%; background: var(--surface); }
.edition-strip img { object-fit: cover; }
.edition-strip strong { margin-top: 7px; font-weight: 800; }
.workshop figure { border-radius: 26% 26% 6% 6%; }
.home-journal { border: 0; border-top: 4px solid var(--bi-coral); }
@media (max-width: 760px) {
  .studio-cover { padding-top: 18px; }
  .studio-cover .cover-heading { font-size: clamp(1.76rem, 7.9vw, 3.65rem); }
  .cover-photo > div { height: clamp(302px, 78vw, 395px); }
  .cover-photo img[src="assets/full-pink-brown.webp"] { width: clamp(265px, 74vw, 394px); min-width: 0; }
  .cover-photo::before { inset-inline: 8%; }
  .cover-photo > span { position: relative; inset: auto; width: max-content; margin: 0 10px 10px auto; font-size: .77rem; padding-inline: 11px; }
  .edition-heading { gap: 4px 15px; }
}
/* A photo-led first section, then a distinct pace for the portfolio and studio. */
.studio-editorial { --section-space: clamp(64px, 10vw, 148px); }
.studio-cover { gap: clamp(16px, 2.3vw, 34px); }
.studio-cover .cover-description { margin-top: 4px; }
.cover-photo { width: min(100%, 920px); }
.cover-photo::before { inset-inline: 23%; }
.edition-heading { display: block; margin-bottom: clamp(20px, 3vw, 38px); }
.edition-heading p { margin-top: 8px; }
.edition-strip {
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
  column-gap: clamp(12px, 3vw, 36px);
  margin-bottom: 23px;
}
.edition-strip li:first-child [data-image] { aspect-ratio: 6 / 7; }
.edition-strip li:nth-child(2) { margin-top: clamp(24px, 6vw, 80px); }
.edition-strip li:nth-child(3) { margin-top: clamp(8px, 2vw, 22px); }
.edition-strip [data-image] { border-radius: 20px; }
.edition-strip img { transition: transform .38s ease-out; }
.gallery-actions { display: flex; flex-wrap: wrap; gap: 0 20px; }
.gallery-actions a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; }
.workshop { margin-block: var(--section-space); }
.workshop-image { aspect-ratio: 5 / 4; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .edition-strip a:hover img { transform: scale(1.055); }
}
@media (max-width: 760px) {
  .cover-photo::before { inset-inline: 8%; }
  .edition-strip {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    padding: 3px 3px 10px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 3px;
  }
  .edition-strip li:nth-child(n) { margin-top: 0; scroll-snap-align: start; }
  .edition-strip li:nth-child(n) [data-image] { aspect-ratio: 1; }

}
@media (max-width: 760px) {
  .studio-editorial .workshop-image { order: 0; }
}

/* Seasonal colors and marks sit around the cover photo. */
.cover-photo::before { background: var(--season-panel, var(--home-pink)); }
.season-marker {
  position: absolute;
  top: clamp(10px, 2vw, 25px);
  left: clamp(10px, 2vw, 25px);
  display: grid;
  place-items: center;
  width: clamp(29px, 4vw, 46px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--season-ink, var(--deep-coral));
  background: var(--season-panel, var(--home-pink));
  font: normal 720 clamp(15px, 2.5vw, 24px)/1 var(--sans);
  pointer-events: none;
}
.season-marker::before { content: var(--season-mark, ""); }
.studio-editorial:not([data-season]) .season-marker,
.studio-editorial[data-season="standard"] .season-marker,
.studio-editorial[data-no-season-decoration] .season-marker { display: none; }
.studio-editorial[data-season="spring"] { --season-panel: #ffe7ef; --season-ink: var(--deep-coral); --season-mark: "✿"; }
.studio-editorial[data-season="summer"] { --season-panel: #e8f6ff; --season-ink: var(--bi-class); --season-mark: "≈"; }
.studio-editorial[data-season="autumn"] { --season-panel: #ffe8c4; --season-ink: #714225; --season-mark: "❧"; }
.studio-editorial[data-season="winter"] { --season-panel: #eef1fb; --season-ink: var(--bi-class); --season-mark: "✳"; }
.studio-editorial[data-season="christmas"] { --season-panel: #e4f2e9; --season-ink: var(--bi-treats); --season-mark: "✦"; }
.studio-editorial[data-season="celebration"] { --season-panel: #feefcc; --season-ink: var(--deep-coral); --season-mark: "✧"; }

#season-field { margin: 14px 0; padding: 0 12px 10px; border: 1px solid var(--edge); border-radius: 8px; }
#season-field legend { font-weight: 750; }
#season-field .editor-check { display: flex; align-items: center; min-height: 44px; gap: 8px; }
#season-field input[type="checkbox"] { width: auto; }

.brand-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  grid-template-areas: "photo text";
  align-items: center;
  gap: clamp(28px, 8vw, 112px);
  margin-bottom: var(--section-space);
}
.brand-proof-copy { grid-area: text; }
.brand-proof-copy .brand-proof-kicker {
  margin-bottom: 12px;
  color: var(--deep-coral);
  font-size: .875rem;
  font-weight: 750;
}
.brand-proof-copy h2 {
  font-family: var(--display);
  font-size: clamp(2.7rem, 7vw, 6.15rem);
  font-weight: 900;
  line-height: .99;
  letter-spacing: -.075em;
  white-space: pre-line;
}
.brand-proof-copy h2 + p { max-width: 26ch; margin-top: 16px; }
.brand-proof-copy a { gap: 6px; }
.brand-proof-photo {
  grid-area: photo;
  aspect-ratio: 3 / 4;
  min-width: 0;
  width: min(100%, 480px);
  justify-self: end;
  overflow: hidden;
  background: var(--surface);
  border-radius: clamp(12px, 2vw, 28px);
}
.brand-proof-photo img { object-fit: contain; }
@media (max-width: 760px) {
  .brand-proof {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "text" "photo";
    gap: 12px;
  }
  .brand-proof-copy h2 { font-size: clamp(2.25rem, 10vw, 4.3rem); }
  .brand-proof-copy h2 br { display: none; }
  .brand-proof-copy h2 + p { max-width: 100%; margin-top: 10px; }
  .brand-proof-photo { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .studio-editorial .brand-proof-photo.arrive {
    animation: open-photo 520ms cubic-bezier(.2, .66, .26, 1) both;
  }
}

.home-index {
  margin-block: 0 var(--section-space);
  padding-top: clamp(38px, 8vw, 112px);
}
.home-index-title {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 1.04;
  margin-bottom: clamp(18px, 3vw, 46px);
}
.business-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "studio portraits activities";
  gap: clamp(10px, 1.3vw, 20px);
}
.business-path {
  --business-ink: #371b17;
  --business-wash: #ffe1da;
  grid-area: studio;
  min-width: 0;
}
.business-path[data-business="portraits"] {
  --business-ink: #2034a0;
  --business-wash: #e3eaff;
  grid-area: portraits;
}
.business-path[data-business="activities"] {
  --business-ink: #0c5538;
  --business-wash: #d8f2e4;
  grid-area: activities;
}
.business-main {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: end;
  align-items: end;
  column-gap: 12px;
  min-height: clamp(168px, 19vw, 232px);
  height: 100%;
  padding: clamp(17px, 2.35vw, 34px);
  overflow: hidden;
  background: var(--business-wash);
  border-radius: 6px;
  color: var(--business-ink);
  text-decoration: none;
}
[data-business="studio"] .business-main {
  min-height: clamp(168px, 19vw, 232px);
  color: #fff;
  background: #492723;
}
.business-visual {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.business-visual img { object-fit: cover; object-position: 50% 39%; }
[data-business="studio"] .business-main::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgb(29 18 19 / .92), rgb(29 18 19 / .66) 53%, transparent 100%);
  pointer-events: none;
}
.business-main:has(.business-visual img) { color: #fff; }
.business-main:not(:is([data-business="studio"] *)):has(.business-visual img) .business-text {
  background: #231916;
  border-radius: 4px;
  padding: 7px 10px;
  width: fit-content;
}
[data-business="portraits"] .business-visual:empty::before,
[data-business="portraits"] .business-visual:empty::after {
  content: "";
  position: absolute;
  top: -19%;
  right: 9%;
  width: 32%;
  aspect-ratio: 4 / 5;
  border: 2px solid rgb(40 68 220 / .30);
  transform: rotate(23deg);
}
[data-business="portraits"] .business-visual:empty::after {
  right: -5%;
  top: -31%;
  aspect-ratio: 1;
  background: rgb(255 255 255 / .28);
}
[data-business="activities"] .business-visual:empty {
  background: radial-gradient(circle closest-side, rgb(8 120 79 / .17) 99%, transparent) 99% -55px / 48% 220px no-repeat,
    radial-gradient(circle closest-side, rgb(8 120 79 / .11) 99%, transparent) 69% -28px / 45% 185px no-repeat;
}
.business-text > span { font-size: .85rem; font-weight: 740; }
.business-text strong {
  display: block;
  margin-top: 5px;
  font-size: clamp(1.15rem, 2.25vw, 2.25rem);
  line-height: 1.14;
  letter-spacing: -.055em;
}
[data-business="studio"] .business-text strong { font-size: clamp(1.15rem, 2.25vw, 2.25rem); }
.business-text p { margin-top: 7px; font-size: .9rem; }
.business-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--business-ink);
  color: #fff;
  font-size: 1.28rem;
}
[data-business="studio"] .business-arrow { background: var(--bi-cake); color: var(--ink); }
.business-main:focus-visible { outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .business-visual img, .business-arrow { transition: transform .24s ease-out; }
  .business-main:is(:hover, :focus-visible) .business-visual img { transform: scale(1.035); }
  .business-main:is(:hover, :focus-visible) .business-arrow { transform: rotate(12deg); }
}
@media (max-width: 760px) {
  .business-paths { grid-template-columns: minmax(0, 1fr); grid-template-areas: "studio" "portraits" "activities"; }
  .business-main, [data-business="studio"] .business-main { min-height: 118px; }
}

@media (max-width: 760px) {
}

/* Vinyl colors frame the same cakes, even when the cover photo is replaced. */
.studio-cover {
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 6vw, 90px);
  padding-block: clamp(32px, 5vw, 72px);
  border-bottom: 1px solid var(--edge);
}
.cover-copy { text-align: start; }
.cover-label { margin-bottom: 15px; color: var(--deep-coral); }
.studio-cover .cover-heading {
  font-size: clamp(3.15rem, 8.1vw, 7.4rem);
  line-height: .99;
  letter-spacing: -.07em;
}
.studio-cover .cover-heading .title-accent {
  color: var(--deep-coral);
}
.studio-cover .cover-description { max-width: 30ch; margin-top: 17px; }
.cover-actions { justify-content: flex-start; }
.cover-button {
  background: var(--bi-class);
  border-color: var(--bi-class);
  border-radius: 999px;
}
.cover-photo {
  align-self: stretch;
  border-radius: 48% 46% 22px 22px / 24% 27% 22px 22px;
}
.cover-photo > div {
  z-index: 1;
  height: clamp(350px, 43vw, 560px);
  overflow: visible;
}
.cover-photo::before {
  inset: 7% 12% -28%;
  background: var(--season-panel, #bdeeff);
  transform: translateY(var(--arch-travel, 0px));
}
.cover-photo .cover-plinth {
  position: absolute;
  inset: auto 7% -16% 7%;
  z-index: 0;
  height: 42%;
  border-radius: 48% 48% 0 0 / 46% 46% 0 0;
  background: var(--bi-class);
  transform: translateY(var(--plinth-travel, 0px));
}
.cover-photo > div:has(img[src="assets/full-pink-brown.webp"]) {
  filter: drop-shadow(0 10px 5px rgb(28 23 40 / .27));
}
.cover-photo img[src="assets/full-pink-brown.webp"] {
  width: clamp(355px, 47vw, 555px);
  transform: translate(-52%, -58%) translateY(var(--cake-travel, 0px));
}
.cover-photo > span {
  position: absolute;
  inset: auto clamp(9px, 2vw, 22px) clamp(9px, 2vw, 22px) auto;
  z-index: 2;
  margin: 0;
  border-radius: 999px;
}
.cover-photo .season-marker { z-index: 2; top: 32%; left: 6%; }

.brand-spread {
  width: min(100%, 750px);
  margin: var(--section-space) auto;
}
.brand-spread .brand-proof {
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: clamp(12px, 2vw, 22px);
  margin: 0;
  padding: clamp(16px, 3vw, 38px);
  color: var(--ink);
  background: #ecf4ff;
  border-radius: 24px 24px 76px 24px;
}
.brand-spread .brand-proof-photo {
  width: 100%;
  border-radius: 44% 44% 16px 16px / 25% 25% 16px 16px;
  background: #ecf4ff;
  transform: scale(var(--proof-scale, 1));
  transform-origin: center bottom;
}
.brand-spread .brand-proof-kicker { color: var(--deep-coral); }
.brand-spread .brand-proof-copy h2 {
  font-size: clamp(1.6rem, 3vw, 3rem);
  letter-spacing: -.055em;
  line-height: 1.13;
}
.brand-spread .brand-proof-copy h2 br { display: none; }
.brand-spread .brand-proof-copy h2 + p { max-width: none; margin-top: 8px; }
.brand-spread .brand-proof-kicker { margin-bottom: 5px; }
.edition-strip [data-image], .workshop figure { border-radius: 0; }

@media (max-width: 840px) {
  .studio-cover {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding-block: 24px 28px;
  }
  .studio-cover .cover-heading { font-size: clamp(3.25rem, 13vw, 5.8rem); }
  .studio-cover .cover-description { margin-top: 10px; }
  .cover-label { margin-bottom: 9px; }
  .cover-photo > div { height: clamp(258px, 77vw, 445px); }
  .cover-photo::before { inset-inline: 11%; }
  .cover-photo img[src="assets/full-pink-brown.webp"] {
    width: clamp(270px, 83vw, 455px);
    min-width: 0;
  }
  .cover-photo > span {
    position: relative;
    inset: auto;
    width: max-content;
    margin: 0 9px 9px auto;
  }
}

/* A single photograph grows inside the sticky scene. The business links follow it in document order. */
.store-intro {
  --display: ui-rounded, "Apple SD Gothic Neo", "Noto Sans KR", var(--sans);
  --intro-stage-height: 100vh;
  --intro-photo-shade: linear-gradient(#201411b8, #201411a6 28%, #201411a6 72%, #201411ba);
  --intro-runway: calc(var(--intro-stage-height) * .78);
  --intro-start-height: clamp(168px, 38vh, 352px);
  --intro-start-width: calc(var(--intro-start-height) * .77);
  --intro-edge: clamp(18px, 5.6vw, 112px);
  --intro-block-edge: clamp(10px, calc(var(--intro-stage-height) * .015), 18px);
  --intro-title-size: clamp(2rem, min(10.8vw, 14.5vh), 10rem);
  background: #fcf0e7;
}
.store-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  height: var(--intro-stage-height);
  overflow: hidden;
}
.store-window {
  position: absolute;
  z-index: -1;
  width: var(--intro-width, var(--intro-start-width));
  height: var(--intro-height, var(--intro-start-height));
  border-radius: var(--intro-radius, 8px);
  margin: 0;
  overflow: hidden;
  background: #512e28;
}
.store-window::after {
  position: absolute;
  inset: 0;
  background: var(--intro-photo-shade);
  opacity: var(--intro-veil, 0);
  content: "";
  pointer-events: none;
}
.store-window img { object-position: 52% 42%; }
.store-window img[src="assets/storefront-intro.webp"] { object-position: 50% 18%; }
.store-title {
  position: absolute;
  inset: 0;
  z-index: 1;
  font: 900 var(--intro-title-size)/1.06 "Kkung Headline", var(--display);
  pointer-events: none;
}
.store-title span {
  position: absolute;
  inset-inline: var(--intro-edge);
  font-size: min(1em, calc((100vw - 2 * var(--intro-edge)) / max(1, var(--intro-line-length, 8))));
  letter-spacing: .012em;
  word-spacing: .045em;
  color: var(--title-on-paper);
  color: color-mix(in srgb, var(--title-on-paper), var(--title-on-photo) calc(var(--intro-title-tint, 0) * 100%));
  text-shadow: 0 2px 12px rgb(35 15 13 / var(--intro-title-tint, 0));
}
.store-title span:first-child {
  top: max(var(--intro-block-edge), env(safe-area-inset-top));
  --title-on-paper: #3e2422;
  --title-on-photo: #fff3e8;
}
.store-title span:last-child {
  bottom: max(var(--intro-block-edge), env(safe-area-inset-bottom));
  text-align: end;
  --title-on-paper: #b72e37;
  --title-on-photo: #ffcfbf;
}
.store-next {
  position: absolute;
  top: calc(50% + var(--intro-start-height) / 2 + 10px);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  padding-inline: 14px;
  color: #5f423d;
  font-size: .75rem;
  font-weight: 550;
  text-decoration: none;
  opacity: var(--intro-hint-opacity, 1);
}
.store-next-icon {
  width: 8px;
  height: 8px;
  margin-block-start: -3px;
  border-right: 1.5px solid var(--deep-coral);
  border-bottom: 1.5px solid var(--deep-coral);
  transform: rotate(45deg);
}
.store-next-direction {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.store-next-name { font-size: .75rem; }
.store-next:hover { color: var(--deep-coral); }
.store-next:focus-visible { opacity: 1; background: #fff5ee; }
.store-intro[data-hint-off] .store-next:not(:focus-visible) { pointer-events: none; }
.store-intro[data-menu-ready][data-hint-off] .store-next:not(:focus-visible) {
  clip-path: inset(50%);
}
@supports (height: 100dvh) {
  .store-intro { --intro-stage-height: 100dvh; }
}
@media (prefers-reduced-motion: no-preference) and (min-height: 440px) {
  .store-intro[data-intro-motion] { min-height: calc(var(--intro-stage-height) + var(--intro-runway)); }
  .store-intro[data-intro-motion] .store-stage { position: sticky; top: 0; }
}
@media (max-width: 760px) {
  .store-intro {
    --intro-runway: calc(var(--intro-stage-height) * .68);
    --intro-start-height: clamp(145px, 34vh, 290px);
    --intro-title-size: clamp(1.75rem, min(12vw, 11vh), 4.25rem);
  }
  .store-window img { object-position: 52% 46%; }
}
@media (max-height: 439px) {
  .store-intro { --intro-start-height: 27vh; --intro-title-size: clamp(1.38rem, 7vh, 2.8rem); }
}


.store-previews,
.store-previews > div {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.store-previews > div {
  opacity: 0;
  transition: opacity 420ms ease-in-out;
}
.store-previews img { display: block; width: 100%; height: 100%; object-fit: cover; }
.store-previews [data-preview="class"] img { object-position: 61% 45%; }
.store-previews [data-preview="portraits"] img { object-position: center 38%; }
.store-previews [data-preview="activities"] img { object-position: 62% 55%; }
.store-previews > div::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--intro-photo-shade);
}
.store-intro[data-scene="class"] [data-preview="class"],
.store-intro[data-scene="portraits"] [data-preview="portraits"],
.store-intro[data-scene="activities"] [data-preview="activities"] { opacity: 1; }

.store-choices {
  position: absolute;
  inset: 50% 0 auto;
  z-index: 2;
  width: min(720px, calc(100% - 36px));
  margin-inline: auto;
  opacity: var(--intro-choices-opacity, 1);
  transform: translateY(calc(-50% + var(--intro-choices-y, 0px)));
}
.store-choices ul { margin: 0; padding: 0; list-style: none; text-align: center; }
@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .public-home .store-choices li + li { margin-block-start: 6px; }
}
.store-choices a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(48px, 8vh, 76px);
  padding: 6px .35em;
  color: #e9dbd3;
  font-weight: 600;
  font-size: clamp(1.35rem, 4.1vw, 3.4rem);
  line-height: 1.26;
  letter-spacing: .018em;
  text-decoration: none;
  text-shadow: 0 2px 10px #201411e0;
  transition: color 190ms ease-out;
}
.store-intro[data-scene="studio"] a[data-scene="studio"],
.store-intro[data-scene="class"] a[data-scene="class"],
.store-intro[data-scene="portraits"] a[data-scene="portraits"],
.store-intro[data-scene="activities"] a[data-scene="activities"] { color: #fff; }
.store-choices a:is(:hover, :focus-visible) { text-decoration: none; }
.store-choices a:focus-visible { outline: 2px solid #fff5ee; outline-offset: -2px; }
@media (max-width: 760px) {
  .store-choices a {
    min-height: clamp(48px, 7.5vh, 64px);
    padding-inline: .12em;
    font-size: clamp(1.375rem, 7vw, 2.5rem);
  }
}
.store-intro:not([data-intro-motion]) .store-stage {
  height: auto;
  min-height: var(--intro-stage-height);
  grid-template-rows: auto 1fr auto;
  place-items: center;
  gap: 12px;
  padding: max(var(--intro-block-edge), env(safe-area-inset-top)) 16px
    max(var(--intro-block-edge), env(safe-area-inset-bottom));
}
.store-intro:not([data-intro-motion]) .store-title { position: relative; inset: auto; width: 100%; padding: 0; }
.store-intro:not([data-intro-motion]) .store-title span { position: static; display: block; }
.store-intro:not([data-intro-motion]) .store-window { position: relative; }
.store-intro:not([data-intro-motion]) .store-choices { position: relative; inset: auto; width: min(100%, 520px); transform: none; }
.store-intro:not([data-intro-motion]) .store-previews { display: none; }
.store-intro:not([data-intro-motion]) .store-choices a { color: #3e2422; text-shadow: none; }
.store-intro:not([data-intro-motion]) .store-choices a:focus-visible { outline-color: #3e2422; }
.store-intro:not([data-intro-motion]) .store-next { display: none; }
@media (prefers-reduced-motion: reduce) {
  .store-previews > div, .store-choices a { transition: none; }
}


/* Home shortcuts and navigation overlay. */
.store-tools {
  position: absolute;
  z-index: 4;
  inset: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) auto auto;
  display: flex;
  align-items: center;
  max-width: calc(100% - 32px);
  gap: clamp(6px, 1vw, 12px);
  color: #3e2422;
}
.store-intro[data-photo-controls] .store-tools {
  color: #fff5ee;
  text-shadow: 0 1px 4px #251613, 0 0 2px #251613;
}
.store-intro[data-photo-controls] .store-tools :focus-visible { outline-color: currentColor; }
.store-tools a, .store-tools button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: inherit;
  line-height: 1.2;
}
.store-tools a {
  padding-inline: clamp(5px, .85vw, 12px);
  font-size: clamp(.8rem, 1.03vw, .9375rem);
  font-weight: 600;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
}
.store-tools a:is(:hover, :focus-visible) { text-decoration-color: currentColor; }
.store-tools button {
  flex: 0 0 44px;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.store-tools button span { width: 16px; height: 1px; background: currentColor; }
.store-tools button:hover { border-color: currentColor; }

html.store-menu-open { overflow: hidden; }
.store-menu {
  position: fixed;
  inset: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) auto auto;
  width: min(680px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100% - 2 * max(12px, env(safe-area-inset-top), env(safe-area-inset-bottom)));
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 24px 4px 24px 24px;
  background: #fcf0e7;
  color: #3e2422;
  box-shadow: 0 15px 54px #2b161836;
  overscroll-behavior: contain;
}
.store-menu[open] { animation: store-menu-in 210ms ease-out both; }
.store-menu::backdrop { background: #29161360; backdrop-filter: blur(6px); }
@keyframes store-menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.store-menu-inner { padding: 0 clamp(18px, 4vw, 52px) clamp(23px, 5vw, 64px); }
.store-menu-top {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-inline-end: calc(8px - clamp(18px, 4vw, 52px));
  gap: 12px;
  padding-block: 8px;
  background: #fcf0e7;
}
.store-menu-top p { margin: 0; color: var(--deep-coral); font-size: .875rem; font-weight: 800; }
.store-menu-top .store-menu-close {
  min-width: 44px;
  min-height: 44px;
  margin-inline-end: -8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 2rem;
  line-height: 1;
}
.store-menu-close:focus-visible { outline-offset: -4px; border-radius: 50%; }
.store-menu nav { margin-top: clamp(9px, 3vw, 38px); }
.store-menu nav a {
  display: block;
  min-height: 44px;
  padding-block: .3em;
  border-bottom: 1px solid #d9bbb0;
  font-weight: 600;
  font-size: clamp(1.25rem, 4.6vw, 3.1rem);
  letter-spacing: -.06em;
  line-height: 1.3;
  text-decoration: none;
}
.store-menu nav a:first-child { border-top: 1px solid #d9bbb0; }
.store-menu nav a:is(:hover, :focus-visible) { color: var(--deep-coral); text-decoration: none; }
@media (max-width: 900px) {
  .store-intro[data-intro-motion] .store-stage:has(.store-tools) .store-title span:first-child {
    top: calc(max(12px, env(safe-area-inset-top)) + 56px);
  }
  .store-intro:not([data-intro-motion]) .store-stage:has(.store-tools) {
    padding-top: calc(max(12px, env(safe-area-inset-top)) + 56px);
  }
}
@media (min-width: 901px) {
  .store-intro[data-intro-motion] .store-title span:first-child {
    --shortcut-reserve: max(28vw, 275px);
    inset-inline-end: var(--shortcut-reserve);
    font-size: min(1em, calc((100vw - var(--intro-edge) - var(--shortcut-reserve)) / max(1, var(--intro-line-length, 8))));
  }
  .store-intro:not([data-intro-motion]) .store-title span:first-child { padding-inline-end: max(24vw, 245px); }
}
@media (min-width: 761px) and (max-width: 900px) and (max-height: 540px) {
  .store-intro { --intro-title-size: clamp(2rem, 10vh, 3rem); }
  .store-choices a { font-size: clamp(1.3rem, 5.8vh, 1.85rem); }
}
@media (prefers-reduced-motion: reduce) {
  .store-menu[open] { animation: none; }
}

/* Pet food studio */
.studio-chapter.detail, .studio-subpage {
  --studio-cream: #fff3da;
  --studio-peach: #ffded1;
  --studio-chocolate: #36201a;
  padding: 0 0 calc(108px + env(safe-area-inset-bottom));
  background: #fffcf4;
}
.studio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  padding-block: 12px;
  border-bottom: 1px solid var(--edge);
}
.studio-brand-logo { display: inline-flex; flex: none; align-items: center; min-height: 44px; }
.studio-brand-logo img { display: block; width: 83px; height: auto; }
.studio-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .7fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding-block: clamp(23px, 4vw, 52px);
}
.studio-intro h2 {
  margin: 0 0 8px;
  color: var(--studio-chocolate);
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  letter-spacing: -.05em;
  line-height: 1.1;
}
/* Window artwork from the studio's printed decals, layered around the shop photo. */
.studio-frontage {
  position: relative;
  isolation: isolate;
  width: min(100%, 465px);
  justify-self: end;
  margin-block: 8px 16px;
}
.studio-window-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.studio-intro .studio-window-art img {
  position: absolute;
  height: auto;
  aspect-ratio: auto;
  border-radius: 0;
  filter: var(--window-shadow, drop-shadow(1px 3px 3px rgb(65 32 20 / .22)));
}
.studio-intro .studio-window-dog {
  width: clamp(76px, 8.8vw, 128px);
  inset-inline-start: clamp(0px, 1.1vw, 16px);
  inset-block-end: -17px;
  --window-shadow: drop-shadow(2px 7px 5px rgb(65 32 20 / .25));
}
.studio-intro .studio-window-blue {
  width: clamp(23px, 3.1vw, 43px);
  inset-block-start: -15px;
  inset-inline-end: 12%;
  z-index: -1;
}
.studio-intro .studio-window-gold {
  width: clamp(12px, 1.4vw, 19px);
  inset-block-start: 11%;
  inset-inline-end: 2%;
}
#studio :is(#home-gallery, #treats > .studio-menu-heading) {
  position: relative;
  padding-inline-end: 48px;
}
#studio :is(#home-gallery, #treats > .studio-menu-heading)::after {
  content: "";
  position: absolute;
  inset: 2px 6px auto auto;
  width: 29px;
  aspect-ratio: 1;
  background: center / contain no-repeat;
  filter: drop-shadow(1px 2px 2px rgb(65 32 20 / .19));
  pointer-events: none;
}
#studio #home-gallery::after { background-image: url("assets/studio-window-red.png"); }
#studio #treats > .studio-menu-heading::after { background-image: url("assets/studio-window-curl.png"); }
@media (prefers-reduced-motion: no-preference) {
  .studio-window-art.arrive .studio-window-dog {
    animation: studio-window-hop 2.3s ease-in-out 2;
  }
  .studio-window-art.arrive .studio-window-blue {
    animation: studio-window-hop 2.3s .15s ease-in-out 2;
  }
}
@keyframes studio-window-hop {
  38% { transform: translate(5px, -9px) rotate(-5deg); }
  68% { transform: translate(2px, -3px) rotate(2deg); }
}
.studio-intro p { max-width: 41ch; margin: 0; line-height: 1.65; word-break: keep-all; }
.studio-intro figure { margin: 0; }
.studio-intro img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 6px; }
.studio-featured-cake {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 5vw, 72px);
  padding-block: clamp(14px, 3vw, 40px) clamp(22px, 4vw, 48px);
  border-bottom: 1px solid var(--edge);
}
.studio-featured-photo { margin: 0; width: min(100%, 420px); aspect-ratio: 3 / 4; }
.studio-featured-photo :is(a, [data-image]) { display: block; height: 100%; }
.studio-featured-photo a:focus-visible { outline-offset: 4px; }
.studio-featured-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}
.studio-featured-copy { max-width: 35ch; word-break: keep-all; }
.studio-featured-copy h1 {
  margin: 0;
  font-size: clamp(1.65rem, 3.45vw, 3.7rem);
  line-height: 1.12;
  letter-spacing: -.055em;
  color: var(--studio-chocolate);
}
.studio-featured-copy p { margin: 12px 0 0; line-height: 1.65; }
.studio-featured-copy .studio-featured-order {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--edge);
}
.studio-featured-order strong { display: block; color: var(--studio-chocolate); }
@media (max-width: 620px) {
  .studio-featured-cake { grid-template-columns: minmax(0, 1fr); }
}
main:has(.studio-chapter:not([hidden])) + .footer { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
.studio-floating-inquiry {
  position: fixed;
  z-index: 8;
  inset-inline: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  display: inline-flex;
  align-items: center;
  gap: .65em;
  min-height: 48px;
  padding: 8px 16px;
  border: 1px solid #38221d;
  border-radius: 999px;
  color: #302022;
  background: var(--bi-cake);
  box-shadow: 0 7px 18px #38221d38;
  font-weight: 800;
  text-decoration: none;
}
.studio-floating-inquiry:is(:hover, :focus-visible) { text-decoration: underline; outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .studio-floating-inquiry:not(:focus-visible) { animation: studio-float 4s ease-in-out infinite; }
  @keyframes studio-float { 50% { transform: translateY(-4px); } }
}
.studio-inquiry-icon { display: block; flex: none; }
.studio-inquiry-icon text {
  fill: var(--bi-cake);
  font: 900 6px Arial, sans-serif;
  letter-spacing: -.12px;
}
#class-chapter #class h1 { margin-bottom: .28em; font-size: clamp(2.1rem, 5vw, 3.5rem); }
.studio-section-nav { display: flex; flex-wrap: wrap; column-gap: clamp(11px, 2vw, 24px); }
.studio-section-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--studio-chocolate);
  font-size: .875rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.studio-section-nav a:is(:hover, :focus-visible) { color: var(--deep-coral); text-decoration: underline; }
.studio-chapter [data-view-anchor] { scroll-margin-block-start: 16px; }
.studio-menu-heading { margin: 0 0 16px; grid-column: 1 / -1; }
.studio-chapter :is(.studio-menu-heading h2, .cake-gallery-header h2, .studio-notices > h2) {
  margin: 0;
  color: var(--studio-chocolate);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -.045em;
}
.studio-menu-heading p { margin: 6px 0 0; word-break: keep-all; }
.studio-notices {
  margin-top: clamp(32px, 6vw, 68px);
  padding: clamp(18px, 3vw, 28px);
  border-radius: 6px;
  background: #fff3de;
}
.studio-order-guide { margin: 10px 0 0; line-height: 1.6; word-break: keep-all; }
.studio-notice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 30px;
  margin-top: 16px;
}
.studio-notice-grid h3 { font-size: 1rem; margin: 0 0 5px; }
.studio-notice-grid p { margin: 0 0 4px; line-height: 1.55; word-break: keep-all; }
@media (max-width: 620px) {
  .studio-header { flex-direction: column; align-items: flex-start; }
  .studio-section-nav { column-gap: 10px; }
  .studio-intro { grid-template-columns: 1fr; }
  .studio-frontage { width: 100%; }
  .studio-notice-grid { grid-template-columns: 1fr; }
}
/* Keep the reel covers and the photo grid independent from each post's original crop. */
.studio-reels {
  margin-block: clamp(32px, 6vw, 84px) 0;
  padding-block: clamp(20px, 3vw, 44px);
  border-block: 1px solid var(--studio-chocolate);
}
.studio-posts { margin-block: clamp(28px, 5vw, 65px) 0; padding-bottom: clamp(32px, 6vw, 78px); }
.studio-reels .journal-heading h2,
.studio-posts .journal-heading h2 { color: var(--studio-chocolate); letter-spacing: -.065em; }
.journal-reels,
.journal-photos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.journal-reels { align-items: start; margin-top: clamp(12px, 2vw, 26px); }
.journal-reels > li:nth-child(even) { margin-top: clamp(10px, 2vw, 28px); }
.journal-reels .journal-media {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 50% 50% 12px 12px / 18% 18% 12px 12px;
  background: var(--studio-peach);
}
.journal-play {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bi-cake);
  color: var(--studio-chocolate);
  font-size: 12px;
}
.journal-photos .journal-media { border-radius: 4px; background: var(--studio-peach); }
@media (max-width: 760px) {
  .journal-reels,
  .journal-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  .studio-landing-journal .journal-media img { transition: scale .3s ease; }
  .studio-landing-journal a:is(:hover, :focus-visible) img { scale: 1.045; }
  @supports (animation-timeline: view()) {
    @keyframes journal-entry {
      from { opacity: .66; transform: translateY(16px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .studio-landing-journal li {
      animation: journal-entry linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 90%;
    }
  }
}

.studio-subpage { min-height: 100vh; }
.studio-section-nav [aria-current="page"] { color: var(--deep-coral); text-decoration: underline; text-underline-offset: .35em; }
.studio-skip { position: absolute; top: 10px; left: 12px; padding: 10px 14px; background: #fff; z-index: 10; transform: translateY(-160%); }
.studio-skip:focus { transform: none; }
.studio-sub-content { padding-block: clamp(24px, 4vw, 52px) 12px; }
.studio-sub-content h1 { margin: 0 0 14px; color: var(--studio-chocolate); font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.14; letter-spacing: -.05em; }
.studio-sub-content .studio-cake-portfolio { margin: 0; padding-block: 0; }
.studio-sub-content .studio-menu-catalog { padding-block: 0; }
.studio-sub-content .studio-reels, .studio-sub-content .studio-posts { width: 100%; }
.studio-about-story { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(12px, 2.4vw, 30px); align-items: start; }
.studio-about-story figure { margin: 0; }
.studio-about-story img { display: block; width: 100%; height: auto; border-radius: 6px; }
.studio-about-scenes { display: grid; gap: 18px; }
.studio-about-scenes img { aspect-ratio: 4 / 3; object-fit: cover; }
.studio-about-scenes .studio-about-cake { aspect-ratio: 1; object-position: center 60%; }
.studio-about-scenes figcaption { margin-top: 6px; color: var(--muted); font-size: .875rem; }
.studio-about-copy { max-width: 48ch; margin: 0; line-height: 1.65; word-break: keep-all; }
.studio-page-heading:has(.studio-about-copy) { margin-bottom: clamp(18px, 3vw, 32px); }
.studio-gallery-group { padding: clamp(18px, 3.6vw, 35px) 0; border-top: 1px solid var(--edge); }
.studio-group-heading { display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: baseline; margin-bottom: 14px; }
.studio-group-heading h2, .studio-detail-note h2 { margin: 0; font-size: clamp(1.12rem, 2.2vw, 1.55rem); line-height: 1.3; }
.studio-group-heading span { color: var(--muted); font-size: .875rem; }
.studio-gallery-group[data-cake-group="design"] .cake-grid { grid-template-columns: minmax(0, min(100%, 640px)); }
.studio-gallery-group[data-cake-group="design"] .cake-case-photo [data-image] { aspect-ratio: 4 / 3; }
.studio-detail-note { max-width: 740px; margin-top: clamp(24px, 5vw, 58px); padding-top: 18px; border-top: 1px solid var(--edge); }
.studio-detail-note :is(p, li) { word-break: keep-all; }
.studio-detail-note p { margin: 8px 0 0; }
.studio-options { margin: 10px 0 0; }
.studio-options div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3px 16px; padding: 9px 0; border-bottom: 1px solid var(--edge); }
.studio-options dd { margin: 0; font-weight: 700; }
.studio-care-list { margin: 12px 0 0; padding-left: 1.3em; }
.studio-care-list li + li { margin-top: 5px; }
@media (max-width: 620px) {
  .studio-about-story { grid-template-columns: 1fr; }
  .studio-about-scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .studio-about-scenes img { aspect-ratio: 1; }
}

/* The storefront keeps its color while the category list takes focus. */
.public-home .store-intro {
  --intro-photo-shade: linear-gradient(#20141180, #201411a6 27% 73%, #20141193);
}
.public-home .store-next {
  gap: 4px;
  --hint-on-paper: #5f423d;
  --hint-on-photo: #fff5eb;
  --hint-photo-share: calc(var(--intro-hint-tint, 0) * 100%);
  color: var(--hint-on-paper);
  color: color-mix(in srgb, var(--hint-on-paper), var(--hint-on-photo) var(--hint-photo-share));
  text-shadow: 0 1px 3px rgb(32 20 17 / var(--intro-hint-tint, 0)),
    0 0 2px rgb(32 20 17 / var(--intro-hint-tint, 0));
}
.public-home .store-next:hover { --hint-on-paper: var(--deep-coral); }
.public-home .store-next:focus-visible {
  background: transparent;
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.public-home .store-next-direction { font-size: .75rem; }
.public-home .store-next-icon {
  width: 11px;
  height: 11px;
  margin-block-start: 1px;
  border-color: color-mix(in srgb, var(--deep-coral), var(--hint-on-photo) var(--hint-photo-share));
  filter: drop-shadow(0 1px 1px rgb(32 20 17 / var(--intro-hint-tint, 0)));
}
.public-home .store-title span:last-child {
  --title-on-paper: #f35449;
  --title-on-paper: color-mix(in srgb, var(--bi-coral) 94%, #3e2422);
}
.public-home .store-intro[data-intro-motion] .store-title span {
  transform: scale(calc(1 - var(--intro-choices-opacity, 0) * .34));
  transform-origin: left top;
  text-shadow: 0 1px 3px rgb(35 15 13 / var(--intro-title-tint, 0));
}
.public-home .store-intro[data-intro-motion] .store-title span:last-child {
  transform-origin: right bottom;
}

html.public-home-page,
body.public-home,
body.public-home > main { scrollbar-width: none; }
html.public-home-page::-webkit-scrollbar,
body.public-home::-webkit-scrollbar,
body.public-home > main::-webkit-scrollbar { display: none; width: 0; height: 0; }

@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  html.public-home-page,
  body.public-home { overflow: hidden; overscroll-behavior: none; }

  body.public-home > main {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0 -40px;
    height: var(--store-visible-height, 100%);
    overflow: hidden auto;
    overscroll-behavior: none;
  }

  /* Keep the scene inside the visible width, even if the browser paints a native scroll indicator. */
  .public-home #home { width: 100vw; }
  .public-home .store-intro {
    --intro-stage-height: var(--store-visible-height, 100vh);
  }
}

@media (max-width: 760px) and (orientation: portrait) {
  .public-home .store-intro {
    --intro-block-edge: clamp(28px, calc(var(--intro-stage-height) * .048), 46px);
    --intro-photo-top-edge: clamp(22px, calc(var(--intro-stage-height) * .036), 38px);
  }
  .public-home .store-choices a {
    font-size: clamp(1.375rem, min(8vw, calc(var(--intro-stage-height) * .064)), 2.75rem);
  }
}

@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .public-home .store-intro {
    --intro-block-edge: clamp(14px, calc(var(--intro-stage-height) * .029), 34px);
    --intro-photo-top-edge: clamp(10px, calc(var(--intro-stage-height) * .015), 18px);
  }
}

@media (max-width: 760px) and (orientation: portrait),
       (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .public-home .store-intro[data-intro-motion] .store-title span:first-child {
    /* Give the sign more room as the storefront fills the viewport. */
    top: max(env(safe-area-inset-top), calc(var(--intro-block-edge) +
      (var(--intro-photo-top-edge) - var(--intro-block-edge)) * var(--intro-title-tint, 0)));
  }
}

@media (max-width: 760px) and (orientation: portrait) and (min-height: 440px) {
  .public-home .store-intro {
    --intro-title-size: clamp(1.75rem, min(13.6vw, calc(var(--intro-stage-height) * .11)), 4.75rem);
    --intro-line-length: 6.5;
  }
}

.store-loader {
  position: fixed;
  z-index: 5;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  display: none;
  place-items: center;
  width: clamp(88px, 23vw, 112px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff5eb;
  pointer-events: none;
}
html[data-store-preparing],
html[data-store-preparing] body.public-home > main { overflow: hidden; }
html[data-store-preparing] body.public-home { background: #fcf0e7; }
html[data-store-preparing] body.public-home > main { visibility: hidden; }
html[data-store-preparing] .store-loader { display: grid; }
.store-loader svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.store-loader circle { fill: none; stroke-width: 3; }
.store-loader-track { stroke: #ead0c5; }
.store-loader-ring {
  stroke: #bf333b;
  stroke-linecap: round;
  stroke-dasharray: 33 100;
  transform: rotate(-90deg);
  transform-origin: center;
}
.store-loader img { width: 66%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  html[data-store-preparing] .store-loader-ring {
    animation: store-loader-clockwise 1.1s linear infinite;
  }
  @keyframes store-loader-clockwise {
    0% { stroke-dasharray: 0 100; }
    85%, 100% { stroke-dasharray: 100 100; }
  }
}
.public-home .store-intro[data-intro-motion] .store-choices a { color: #fff5eb; }
.public-home .store-choices [aria-disabled="true"] { cursor: default; }

.public-home #home {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
