/* Original chodae collection, December 2026. Raster artwork is in generated/. */
.studio { --studio-green: #405349; --studio-taupe: #8d806d; }
.studio .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.studio h1, .studio h2 { font-family: var(--font-hand); font-weight: 400; }
.studio h2 { font-size: clamp(1.65rem, 3.4vw, 2.45rem); line-height: 1.7; letter-spacing: -.055em; }
.studio p { word-break: keep-all; }
.studio-label { margin-bottom: 1.5rem; font: 500 .65rem/1.6 var(--font-sans); letter-spacing: .19em; color: #647366; }
.studio-dot { display: inline-block; width: .4rem; height: .4rem; margin-right: .5rem; border-radius: 50%; background: #8c9c78; vertical-align: .08em; }
.studio-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; margin-top: 2.25rem; }
.studio .btn { border-radius: 3px; padding: .9rem 1.4rem; gap: 1.8rem; font-weight: 500; }
.studio .btn-primary { background: var(--studio-green); border-color: var(--studio-green); color: #fffefa; }
.studio .btn-primary:hover { background: #2e4136; }
.studio-text-link { display: inline-flex; gap: 1rem; align-items: center; min-height: 44px; font-size: .8rem; text-decoration: none; border-bottom: 1px solid #b3bbac; }
.studio-note { margin-top: 1rem; color: #71766d; font-size: .71rem; }
.studio-values { display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 1rem; padding: 1.4rem 1rem; border-top: 1px solid #d9ddce; border-bottom: 1px solid #d9ddce; color: #697160; font-size: .75rem; }
.studio-values i { color: #9ca78c; font-style: normal; }
.studio-collection { padding-block: 6.5rem; scroll-margin-top: 2rem; }
.studio-section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2.5rem; }
.studio-section-head h2 { margin-bottom: 0; }
.studio-section-head p:last-child:not(.studio-label) { color: var(--color-muted); font-size: .82rem; line-height: 1.9; margin-bottom: .4rem; }
.collection-controls { margin-bottom: 1.25rem; }
.collection-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.collection-filters { display: flex; flex-wrap: wrap; gap: .5rem; min-width: 0; }
.collection-filters button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .5rem 1.25rem; background: transparent; border: 1px solid #cdd2c5; border-radius: 2rem; font-size: .8rem; color: #51594b; cursor: pointer; }
.collection-filters button[aria-pressed="true"] { background: #405349; border-color: #405349; color: #fffefa; }
.collection-filters button span { opacity: .7; font-size: .6rem; }
.collection-search { display: flex; align-items: center; gap: .7rem; flex: 0 1 20rem; min-width: 0; min-height: 46px; padding-inline: .9rem; border: 1px solid #cdd2c5; border-radius: 3px; background: #fffefa; color: #71796a; }
.collection-search:focus-within { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.collection-search > svg { flex: none; }
.collection-search input { min-width: 0; width: 100%; min-height: 44px; padding: .55rem 0; border: 0; outline: 0; background: transparent; color: #374738; font-size: .75rem; }
.collection-search input::placeholder { color: #71766c; opacity: 1; }
.collection-moods { display: flex; flex-wrap: wrap; gap: .35rem .5rem; min-width: 0; padding-bottom: 1rem; border-bottom: 1px solid #d9ddce; }
.collection-moods button { min-height: 44px; padding: .45rem .8rem; border: 1px solid transparent; border-radius: 3px; background: transparent; color: #697160; font-size: .73rem; cursor: pointer; }
.collection-moods button[aria-pressed="true"] { border-color: #bfcab5; background: #e8ecdf; color: #374738; }
.collection-moods button:hover { background: #edf0e6; }
.collection-count { margin-bottom: 1.25rem; color: #697160; font-size: .7rem; }
.collection-empty { padding: 4rem 1rem; border-block: 1px solid #d9ddce; text-align: center; }
.collection-empty p { margin-bottom: .6rem; font-family: var(--font-hand); font-size: 1.3rem; }
.collection-empty > span { display: block; color: #697160; font-size: .8rem; }
.collection-empty button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 44px; margin-top: 1.5rem; padding: .6rem 1.1rem; border: 1px solid #aebaa4; border-radius: 3px; color: #405349; background: transparent; font-size: .75rem; cursor: pointer; }
.collection-more { display: flex; justify-content: center; margin-top: 3rem; }
.collection-more button { display: inline-flex; align-items: center; justify-content: space-between; gap: 3rem; min-height: 48px; padding: .8rem 1.5rem; border: 1px solid #aebaa4; border-radius: 3px; background: transparent; color: #405349; font-size: .8rem; cursor: pointer; }
.collection-more button:hover, .collection-empty button:hover { background: #e8ecdf; }
.design-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.75rem 1.7rem; }
.design-card { min-width: 0; }
.design-preview { position: relative; display: block; padding: 1.8rem; background: #efeee8; color: #454c3c; text-decoration: none; overflow: hidden; }
.design-preview > img { display: block; width: 100%; aspect-ratio: 2/3; object-fit: cover; box-shadow: 0 8px 25px #3f443b14; transition: transform .6s ease; }
.design-preview-copy { position: absolute; inset: 1.8rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; padding: 1rem; font-family: var(--font-hand); text-align: center; pointer-events: none; }
.design-preview-copy > span { font: .45rem var(--font-sans); letter-spacing: .14em; }
.design-preview-copy > strong { font-size: clamp(.85rem, 1.6vw, 1.3rem); font-weight: 400; }
.design-preview-copy > strong i { font: italic .8rem Georgia, serif; color: #7d8774; margin-inline: .3rem; }
.design-preview-copy > small { font-size: .6rem; }
.design-w-editorial .design-preview-copy { padding-top: 3rem; color: #655947; }
.design-f-moon { color: #f5f1e5; background: #dedfdc; }
.design-f-moon .design-preview-copy { justify-content: flex-start; padding-top: 38%; }
.design-f-lily .design-preview-copy { padding-bottom: 3rem; }
.design-open { position: absolute; display: flex; justify-content: space-between; align-items: center; bottom: 0; left: 0; right: 0; padding: .9rem 1.1rem; font-size: .7rem; color: #4a5548; background: #e7e9ddf0; }
.design-card-info { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: 1.2rem; }
.design-card-info > div { min-width: 0; }
.design-category { display: block; color: #71796b; font-size: .5rem; letter-spacing: .17em; }
.design-card h3 { margin: .2rem 0 0; font: 400 1.1rem var(--font-hand); }
.design-card > p { margin: .65rem 0 0; color: #71766c; font-size: .75rem; }
.design-make { display: inline-flex; gap: 1rem; align-items: center; min-height: 44px; font-size: .65rem; text-decoration: none; }
.design-preview:hover > img { transform: scale(1.035); }

/* Shared library sizing stays unchanged; homepage presentation is scoped below. */
@media (max-width: 55rem) {
  .design-preview { padding: 1.1rem; }
  .design-preview-copy { inset: 1.1rem; }
}
@media (max-width: 40rem) {
  .studio .btn { padding-inline: 1rem; gap: 1rem; font-size: .75rem; }
  .studio-text-link { font-size: .72rem; }
  .studio-collection { padding-block: 4rem; }
  .studio-section-head { display: block; margin-bottom: 1.5rem; }
  .studio-section-head > p { margin-top: 1rem; }
  .studio-label { margin-bottom: 1rem; font-size: .55rem; }
  .design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem .9rem; }
  .design-preview { padding: .75rem .75rem 1.5rem; }
  .design-preview-copy { inset: .75rem .75rem 1.5rem; gap: .85rem; padding: .3rem; }
  .design-preview-copy > span { font-size: .32rem; letter-spacing: .08em; }
  .design-preview-copy > strong { font-size: .8rem; }
  .design-preview-copy > small { font-size: .42rem; }
  .design-preview-copy > strong i { font-size: .65rem; margin-inline: .05rem; }
  .design-f-moon .design-preview-copy { padding-top: 36%; }
  .design-f-lily .design-preview-copy { padding-bottom: 1.6rem; }
  .design-w-editorial .design-preview-copy { padding-top: 1.7rem; }
  .design-open { font-size: .55rem; padding: .5rem .6rem; }
  .design-card-info { margin-top: .7rem; }
  .design-card h3 { font-size: .9rem; }
  .design-category { font-size: .4rem; }
  .design-make { font-size: .55rem; gap: .3rem; }
  .design-card > p { margin-top: .3rem; font-size: .65rem; }
  .collection-filters { gap: .4rem; }
  .collection-toolbar { display: block; }
  .collection-filters button { flex: 1; padding-inline: .65rem; font-size: .75rem; }
  .collection-search { width: 100%; margin-top: 1rem; }
  .collection-moods { gap: .25rem; }
  .collection-moods button { padding-inline: .6rem; font-size: .68rem; }
  .collection-count { font-size: .65rem; }
  .collection-more { margin-top: 2rem; }
}

/* Homepage only. Do not let these rules reach the library or preview dialogs. */
body.site:has(.studio-home) { background: #fbfcfb; }
.studio-home { min-width: 0; background: #fbfcfb; color: #202923; word-break: keep-all; }
.studio-home > section { min-width: 0; }
.studio-home > :is(.studio-story, .studio-memorial, .studio-faq, .studio-closing) h2,
.studio-home > section > .studio-section-head h2 {
  margin: 0 0 1.5rem;
  font: 650 clamp(2rem, 3.5vw, 3rem)/1.25 var(--font-sans);
  letter-spacing: -.045em;
  word-break: keep-all;
}
.studio-home > section > .studio-section-head h2 { margin-bottom: 0; }
.studio-home .studio-section-head > p:last-child:not(.studio-label) { color: #566159; font-size: .9375rem; }
.studio-home > :is(.studio-story, .studio-memorial, .studio-faq, .studio-closing) .studio-label,
.studio-home > section > .studio-section-head .studio-label {
  margin-bottom: 1.25rem;
  color: #56645b;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
}
.studio-home > :is(.home-hero, .studio-memorial, .studio-closing, .home-sticky) .btn {
  min-height: 52px;
  padding: .85rem 1.35rem;
  border-radius: .5rem;
  gap: 1rem;
  font-size: .875rem;
  font-weight: 650;
}
.studio-home > :is(.home-hero, .studio-memorial, .studio-closing, .home-sticky) .btn-primary {
  border-color: #253c30;
  background: #253c30;
  color: #fff;
}
.studio-home > :is(.home-hero, .studio-memorial, .studio-closing, .home-sticky) .btn-primary:is(:hover, :active) {
  border-color: #15281e;
  background: #15281e;
}
.studio-home > section:not(.studio-collection) :is(a, summary):focus-visible,
.studio-home > .home-sticky a:focus-visible {
  outline: 3px solid #32684c;
  outline-offset: 5px;
}
.studio-home > :is(.studio-story, .studio-memorial) .studio-text-link {
  min-height: 48px;
  gap: 1rem;
  border-bottom-color: currentColor;
  color: #304c3b;
  font-size: .875rem;
  font-weight: 600;
}

.home-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.25rem, 2vw, 2rem);
  min-height: 40rem;
  padding-block: 3.5rem 4rem;
}
.home-hero-copy { position: relative; z-index: 2; min-width: 0; }
.home-eyebrow {
  margin-bottom: 1.25rem;
  color: #506055;
  font: 650 .8125rem/1.6 var(--font-sans);
  letter-spacing: .1em;
}
.studio-home .home-hero h1 {
  margin: 0 0 1.75rem;
  font: 650 clamp(2.4rem, 5.4vw, 4.6rem)/1.2 var(--font-sans);
  letter-spacing: -.04em;
  word-break: keep-all;
}
.home-hero h1 > span { color: #737b75; }
.home-lead { margin-bottom: 0; color: #545f57; font-size: 1.025rem; line-height: 1.85; text-wrap: pretty; }
.home-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.studio-home .home-btn-ghost { border-color: #9ca69f; background: transparent; color: #27382e; }
.studio-home .home-btn-ghost:is(:hover, :active) { border-color: #506457; background: #edf1ed; }
.home-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem .75rem;
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid #dce2dc;
}
.home-facts > div { min-width: 0; }
.home-facts dt { margin-bottom: .4rem; color: #5b655e; font-size: .75rem; line-height: 1.5; }
.home-facts dd { margin: 0; color: #243a2d; font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 700; line-height: 1.3; letter-spacing: -.035em; }

/* DOM and left-to-right position use the same 1–5 order. Only depth changes. */
.home-covers {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  height: 32rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-covers::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 15% 1% 2%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #e3e9e1 0%, #f1f4ef 45%, transparent 72%);
}
.home-cover {
  --cover-x: 0%;
  --cover-y: 0rem;
  --cover-angle: 0deg;
  --cover-scale: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 35%;
  transform: translate(-50%, -50%) translate(var(--cover-x), var(--cover-y)) rotate(var(--cover-angle)) scale(var(--cover-scale));
  transition: transform 260ms ease;
}
.home-cover-1 { --cover-x: -88%; --cover-y: 1rem; --cover-angle: -12deg; --cover-scale: .82; z-index: 1; }
.home-cover-2 { --cover-x: -50%; --cover-y: .4rem; --cover-angle: -6deg; --cover-scale: .92; z-index: 3; }
.home-cover-3 { z-index: 5; }
.home-cover-4 { --cover-x: 50%; --cover-y: .4rem; --cover-angle: 6deg; --cover-scale: .92; z-index: 4; }
.home-cover-5 { --cover-x: 88%; --cover-y: 1rem; --cover-angle: 12deg; --cover-scale: .82; z-index: 2; }
.home-cover > a {
  position: relative;
  display: block;
  border: 1px solid #748478;
  border-radius: 18px;
  background: #f5f6f2;
  box-shadow: 0 24px 45px -18px #152a214d, 0 6px 14px #152a211a;
  text-decoration: none;
}
.home-cover img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; border-radius: 17px; object-fit: cover; }
.home-cover-name {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  left: .75rem;
  padding: .65rem .5rem;
  border: 1px solid #ffffff38;
  border-radius: .5rem;
  background: #1e2e25;
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}
.home-cover:is(:hover, :focus-within) {
  z-index: 10;
  transform: translate(-50%, -50%) translate(var(--cover-x), calc(var(--cover-y) - .75rem)) rotate(0deg) scale(1);
}
.home-cover:is(:hover, :focus-within) .home-cover-name { opacity: 1; }
.studio-home .home-cover > a:focus-visible { outline-color: #27553a; outline-offset: 6px; }

.home-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.home-kind {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: .75rem;
  background: #263a30;
  color: #fff;
  text-decoration: none;
}
.home-kind > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-kind::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, #12201800 12%, #12201842 32%, #122018eb 64%, #122018fa 100%); }
.home-kind-funeral { align-items: start; }
.home-kind-funeral > img { object-position: center bottom; filter: saturate(.35); }
.home-kind-funeral::after { background: linear-gradient(180deg, #18241efa 0%, #18241eeb 32%, #18241e4d 56%, #18241e00 72%); }
.home-kind-copy { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: start; gap: .85rem; width: 100%; padding: clamp(1.5rem, 3.5vw, 3rem); }
.home-kind-copy::before { content: ''; position: absolute; z-index: -1; inset: -3rem 0 0; background: linear-gradient(180deg, #12201800, #122018e6 3rem, #122018fa 100%); }
.home-kind-funeral .home-kind-copy::before { inset: 0 0 -2rem; background: linear-gradient(180deg, #18241ef2, #18241ee6 calc(100% - 2rem), #18241e00); }
.home-kind-copy > small { color: #e4ece5; font-size: .75rem; font-weight: 600; letter-spacing: .14em; }
.home-kind-copy > strong { font-size: clamp(1.75rem, 3vw, 2.6rem); font-weight: 650; line-height: 1.25; letter-spacing: -.04em; }
.home-kind-copy > span { max-width: 23rem; color: #edf2ed; font-size: 1rem; line-height: 1.75; }
.home-kind-copy > em { display: inline-flex; align-items: center; gap: 1.5rem; min-height: 44px; margin-top: .4rem; font-size: .875rem; font-style: normal; font-weight: 600; text-decoration: underline; text-underline-offset: .4em; }
.home-kind:hover .home-kind-copy > em { text-decoration-thickness: 2px; }
.studio-home .studio-values { justify-content: space-between; gap: .75rem 1.25rem; padding: 1.5rem 0; border-color: #dce2dc; color: #546058; font-size: .875rem; }
.studio-home .studio-values i { color: #657b69; font-size: .875rem; }

.studio-story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: 1rem 7rem; }
.studio-story-photo { position: relative; min-width: 0; }
.studio-story-photo > img { display: block; width: 100%; height: 36rem; border-radius: .75rem; object-fit: cover; }
.studio-story-photo::after { content: ''; position: absolute; inset: 55% 0 0; border-radius: 0 0 .75rem .75rem; background: linear-gradient(transparent, #17251dd9); }
.studio-story-photo > span { position: absolute; z-index: 1; right: 1.75rem; bottom: 1.75rem; left: 1.75rem; padding: .65rem .85rem; border-radius: .35rem; background: #182a21e6; font: italic 1.25rem/1.6 Georgia, serif; color: #fff; }
.studio-story-copy { min-width: 0; }
.studio-story-copy > p:not(.studio-label) { color: #566159; font-size: 1rem; line-height: 1.9; }
.studio-detail-list { margin-block: 2rem; }
.studio-detail-list > div { display: flex; align-items: baseline; gap: 1rem; padding-block: 1rem; border-top: 1px solid #dce2dc; }
.studio-detail-list > div > span { flex: none; color: #5c6f61; font-size: .8125rem; font-weight: 600; }
.studio-detail-list p { margin: 0; color: #59645c; font-size: .875rem; line-height: 1.8; }
.studio-detail-list strong { display: block; margin-bottom: .25rem; color: #263d2f; font-size: 1rem; font-weight: 650; }

.studio-memorial {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: 1rem;
  background: #202f28;
  color: #f7faf7;
  scroll-margin-top: 2rem;
}
.studio-home > .studio-memorial .studio-label { color: #b9ccbf; }
.studio-memorial-copy { min-width: 0; }
.studio-memorial-copy > p:not(.studio-label):not(.studio-note) { color: #d5dfd7; font-size: 1rem; line-height: 1.9; }
.studio-memorial .studio-actions { gap: 1.5rem; margin-top: 2rem; }
.studio-home > .studio-memorial .btn-primary { border-color: #f0f5ef; background: #f0f5ef; color: #21372a; }
.studio-home > .studio-memorial .btn-primary:is(:hover, :active) { border-color: #d9e7d8; background: #d9e7d8; }
.studio-home > .studio-memorial .studio-text-link { color: #f0f5ef; }
.studio-memorial .studio-note { margin-top: 1.25rem; color: #bdcec2; font-size: .8125rem; line-height: 1.7; }
.studio-home > .studio-memorial a:focus-visible { outline-color: #dfeddf; }
.memorial-paper { position: relative; display: block; width: 100%; max-width: 18rem; margin-inline: auto; border: 1px solid #8a978b; border-radius: .5rem; color: #3b4439; box-shadow: 0 24px 48px #0b171d59; text-decoration: none; }
.memorial-paper > img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; border-radius: .45rem; object-fit: cover; }
.memorial-paper > span { position: absolute; inset: 18% 7% 30%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; padding: .75rem .25rem; border-radius: .25rem; background: #fbfcf9f2; font-family: var(--font-serif); text-align: center; }
.memorial-paper small { font-size: .75rem; letter-spacing: .1em; }
.memorial-paper strong { font-weight: 600; font-size: 1.2rem; }
.memorial-paper i { font-size: .75rem; font-style: normal; line-height: 1.8; }

.studio-process { padding-block: 7rem 5.5rem; }
.studio-process > .studio-section-head > p { color: #566159; font-size: .9375rem; }
.studio-process ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 0; padding: 0; list-style: none; }
.studio-process li { min-width: 0; padding: 2rem 1.5rem; border: 1px solid #dce2dc; border-radius: .75rem; background: #f1f4f0; }
.studio-process li > span { display: flex; align-items: center; gap: .85rem; color: #4c6253; font-size: .75rem; font-weight: 600; letter-spacing: .06em; }
.studio-process .studio-step-number { font: 650 3.5rem/1 var(--font-sans); letter-spacing: -.06em; color: #385742; }
.studio-process h3 { margin: 2rem 0 .85rem; font: 650 1.125rem/1.5 var(--font-sans); letter-spacing: -.035em; }
.studio-process li > p { margin-bottom: 0; color: #566159; font-size: .9375rem; line-height: 1.85; }
.studio-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 3rem; padding-block: 1.5rem 6rem; }
.studio-faq-list { min-width: 0; }
.studio-faq details { border-top: 1px solid #dce2dc; }
.studio-faq details:last-child { border-bottom: 1px solid #dce2dc; }
.studio-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 4.75rem; padding-block: 1rem; list-style: none; font-size: 1rem; font-weight: 600; cursor: pointer; }
.studio-faq summary::-webkit-details-marker { display: none; }
.studio-faq summary::after { content: '+'; flex: none; color: #516859; font: 400 1.5rem/1 var(--font-sans); }
.studio-faq details[open] summary::after { content: '−'; }
.studio-faq details > p { padding: 0 1.5rem 1.5rem 0; margin-bottom: 0; color: #566159; font-size: .9375rem; line-height: 1.9; }
.studio-closing { padding: 5rem 2rem; border: 1px solid #dce2dc; border-radius: 1rem; background: #edf2ec; text-align: center; }
.studio-home > .studio-closing h2 { max-width: 44rem; margin: 0 auto 2rem; font-size: clamp(2rem, 4vw, 3.5rem); }
.home-sticky { display: none; }

/* Content is visible before JS, and remains visible if observation is delayed. */
.studio .will-reveal { opacity: 1; transform: none; }
.studio .will-reveal.is-visible { animation: studio-reveal 650ms ease both; }
@keyframes studio-reveal { from { opacity: .35; transform: translateY(.75rem); } to { opacity: 1; transform: none; } }

@media (max-width: 64rem) {
  .home-hero { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding-block: 3rem; }
  .home-hero-copy { max-width: 42rem; }
  .home-facts { max-width: 36rem; }
  .home-covers { max-width: 38rem; height: 33rem; margin-inline: auto; }
  .studio-story { gap: 2rem; }
  .studio-story-photo > img { height: 31rem; }
  .studio-memorial { padding: 2.5rem; gap: 2rem; }
  .studio-memorial .studio-actions { align-items: start; flex-direction: column; gap: .5rem; }
  .studio-process li { padding: 1.5rem 1.25rem; }
  .studio-process li > span { flex-wrap: wrap; }
  .studio-process h3 { margin-top: 1.5rem; }
}
@media (max-width: 760px) {
  html:has(.studio-home) { scroll-padding-bottom: 7rem; }
  .studio-home :is(a, button, input, select, summary) { scroll-margin-block: 7rem; }
  .home-hero { gap: 0; padding-block: 1.75rem 2.5rem; }
  .home-hero-copy { display: contents; }
  .home-eyebrow { margin-bottom: 1rem; }
  .studio-home .home-hero h1 { margin-bottom: 1.25rem; }
  .home-lead { max-width: 34rem; font-size: 1rem; line-height: 1.75; text-wrap: balance; }
  .home-lead-end { white-space: nowrap; }
  .home-actions { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: .5rem; margin-top: 1.5rem; }
  .studio-home > .home-hero .btn { gap: .5rem; padding-inline: .75rem; font-size: .8125rem; }
  /* Facts have no focusable controls; link order stays actions, covers, kinds. */
  .home-facts { grid-row: 6; width: 100%; max-width: none; margin-top: .5rem; padding-top: 1.25rem; gap: 1rem; }
  .home-covers {
    --home-cover-width: 38vw;
    grid-row: 5;
    display: flex;
    align-items: center;
    gap: .5rem;
    width: calc(100% + var(--page-gutter));
    max-width: none;
    height: auto;
    margin: 1rem 0 .5rem;
    padding: 1.25rem var(--page-gutter) 1.5rem 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0 var(--page-gutter);
    scrollbar-width: thin;
    scrollbar-color: #819385 #edf1eb;
  }
  .home-covers::before { content: none; }
  .home-cover,
  .home-cover:is(:hover, :focus-within) {
    position: relative;
    inset: auto;
    flex: 0 0 var(--home-cover-width);
    width: var(--home-cover-width);
    max-width: none;
    transform: none;
    scroll-snap-align: start;
    scroll-margin-inline: 0;
  }
  .home-cover > a { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .home-cover img { border: 1px solid #748478; border-radius: 14px; box-shadow: 0 12px 22px -10px #152a2140; }
  .home-cover-name { position: static; display: block; margin-top: .65rem; padding: 0 .25rem; border: 0; border-radius: 0; background: transparent; color: #405349; font-size: .75rem; opacity: 1; }
  .home-kinds { gap: 1rem; margin-bottom: 2rem; }
  .home-kind-copy { gap: .65rem; padding: 1.5rem; }
  .home-kind-copy > strong { font-size: 2rem; }
  .home-kind-copy > span { font-size: .9375rem; }
  .studio-home .studio-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding-block: 1.25rem; font-size: .8125rem; }
  .studio-home .studio-values i { display: none; }
  .studio-story { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: 0 4rem; }
  .studio-story-photo { max-width: 30rem; width: 100%; margin-inline: auto; }
  .studio-story-photo > img { height: clamp(24rem, 100vw, 32rem); }
  .studio-story-photo > span { inset-inline: 1.5rem; bottom: 1.5rem; font-size: 1.125rem; }
  .studio-memorial { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding: 2.5rem 1.5rem; }
  .studio-memorial .studio-actions { align-items: center; flex-direction: row; gap: 1.25rem; }
  .memorial-paper { max-width: 17rem; }
  .studio-process { padding-block: 4rem; }
  .studio-process ol { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .studio-process li { padding: 1.75rem; }
  .studio-process li > span { flex-wrap: nowrap; }
  .studio-process h3 { margin-top: 1.25rem; }
  .studio-faq { grid-template-columns: minmax(0, 1fr); gap: .5rem; padding-block: 0 3.5rem; }
  .studio-faq h2 br { display: none; }
  .studio-closing { padding: 3.5rem 1.25rem; }
  .home-sticky {
    position: sticky;
    z-index: 40;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 1.5rem;
    padding: .75rem;
    padding-bottom: max(.75rem, env(safe-area-inset-bottom));
    border: 1px solid #d5ddd5;
    border-bottom: 0;
    border-radius: .75rem .75rem 0 0;
    background: #fff;
    box-shadow: 0 -6px 24px #20322712;
  }
  .home-sticky > p { min-width: 0; margin: 0; color: #58635b; font-size: .75rem; line-height: 1.6; }
  .home-sticky strong { display: block; margin-bottom: .1rem; color: #263d2e; font-size: .875rem; font-weight: 650; }
  .studio-home > .home-sticky .btn { flex: none; padding-inline: 1rem; }
  body.site:has(.compare-tray:not([hidden]), dialog.design-dialog[open]) .studio-home > .home-sticky { visibility: hidden; }
}
@media (max-width: 600px) {
  .home-kinds { grid-template-columns: minmax(0, 1fr); }
  .home-kind { aspect-ratio: 4 / 5; }
}
@media (max-width: 440px) {
  .home-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .studio *, .studio *::before, .studio *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .studio .will-reveal { opacity: 1; transform: none; }
}
