/* The supplied pink paper belongs only to the TeaDrops project. */
.teadrops-page {
  --case-ink: #533a32;
  --case-muted: #624b44;
  --case-line: #533a3245;
  --case-paper: #ddbeb4;
  min-height: 100svh;
  background: var(--case-paper) url('assets/teadrops/pink-paper.png') center / cover;
}
.teadrops-page .case-main { max-width: 1240px; margin-top: 22px; }
.teadrops-page .case-footer { max-width: 1240px; }
.teadrops-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 7vw, 104px); align-items: center; padding: 10px 0 48px; }
.teadrops-overview { max-width: 520px; }
.teadrops-page .case-mark { width: 78px; height: 62px; margin-bottom: 18px; }
.teadrops-kicker { margin: 0 0 12px; font: 700 .8125rem/1.5 'Courier New', Courier, monospace; letter-spacing: .06em; text-transform: uppercase; }
.teadrops-page .case-main h1 { max-width: none; margin: 0 0 12px; font: 400 clamp(3.6rem, 6.2vw, 5.4rem)/1.08 Raosand, Georgia, serif; letter-spacing: -.015em; }
.teadrops-disclaimer { margin: 0 0 22px; font-size: .875rem; line-height: 1.6; color: var(--case-muted); }
.teadrops-description, .teadrops-product > p:last-child { font-size: 1rem; line-height: 1.75; color: #49362f; }
.teadrops-description { max-width: 48ch; margin: 0; }
.teadrops-facts { display: flex; flex-wrap: wrap; gap: 24px 48px; margin: 24px 0 0; }
.teadrops-facts dt { font: 700 .8125rem/1.5 'Courier New', Courier, monospace; margin-bottom: 5px; }
.teadrops-facts dd { margin: 0; font-size: .9375rem; line-height: 1.6; color: #49362f; }
.teadrops-product { max-width: 440px; border-left: 1px solid var(--case-line); padding: 18px 0 18px 32px; }
.teadrops-product h2 { font: 400 clamp(2rem, 3.1vw, 2.8rem)/1.2 Raosand, Georgia, serif; letter-spacing: -.01em; margin: 0 0 20px; }
.teadrops-product > p:last-child { margin: 0; }
.teadrops-design { border-top: 1px solid var(--case-line); padding-top: 32px; }
.teadrops-design-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.teadrops-design-header .teadrops-kicker { margin-bottom: 8px; }
.teadrops-design h2 { font: 400 clamp(1.8rem, 3vw, 2.6rem)/1.2 Raosand, Georgia, serif; letter-spacing: -.01em; margin: 0; }
.teadrops-open-figma { flex: 0 0 auto; padding-block: 10px; font: 700 .875rem/1.5 'Courier New', Courier, monospace; text-underline-offset: 5px; }
.teadrops-view-switch { display: flex; flex-wrap: wrap; gap: 10px; }
.teadrops-view-switch button { min-height: 44px; padding: 11px 18px; border: 1px solid var(--case-ink); font: 700 .875rem/1.4 'Courier New', Courier, monospace; }
.teadrops-view-switch button[aria-pressed="true"] { background: var(--case-ink); color: #fff8ef; }
.teadrops-view-switch button[aria-pressed="false"]:hover { background: #ffffff30; }
.teadrops-view-switch button:focus-visible { outline: 2px dashed var(--case-ink); outline-offset: 4px; }
.teadrops-view-description { margin: 14px 0 20px; font-size: .9375rem; line-height: 1.6; color: #49362f; }
.teadrops-embed { display: block; width: 100%; height: clamp(520px, 74svh, 860px); border: 1px solid rgba(0, 0, 0, .1); background: #f7f1ed; }
.teadrops-gallery { height: clamp(520px, 74svh, 860px); display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; border: 1px solid var(--case-line); background: #f3e4dd; }
.teadrops-gallery[hidden], .teadrops-embed[hidden] { display: none; }
.teadrops-gallery-track { min-height: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #937266 #f3e4dd; }
.teadrops-gallery-track:focus-visible { outline: 2px dashed var(--case-ink); outline-offset: -4px; }
.teadrops-slide { flex: 0 0 100%; min-width: 0; height: 100%; margin: 0; padding: 16px; display: flex; align-items: center; justify-content: center; scroll-snap-align: start; scroll-snap-stop: always; }
.teadrops-slide img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; }
.teadrops-gallery-controls { display: grid; grid-template-columns: 100px minmax(0, 1fr) 100px; align-items: center; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--case-line); }
.teadrops-gallery-controls button { min-height: 44px; padding: 10px 14px; border: 1px solid var(--case-ink); background: transparent; color: var(--case-ink); font: 700 .875rem/1.4 'Courier New', Courier, monospace; cursor: pointer; }
.teadrops-gallery-controls button:hover:not(:disabled) { background: var(--case-ink); color: #fff8ef; }
.teadrops-gallery-controls button:focus-visible { outline: 2px dashed var(--case-ink); outline-offset: 3px; }
.teadrops-gallery-controls button:disabled { opacity: .35; cursor: default; }
.teadrops-gallery-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; text-align: center; }
.teadrops-gallery-status [data-teadrops-position] { font: 700 .875rem/1.5 'Courier New', Courier, monospace; font-variant-numeric: tabular-nums; }
.teadrops-gallery-status [data-teadrops-screen-name] { font-size: 1rem; line-height: 1.4; }
@media (max-width: 760px) {
  .teadrops-page .case-main { margin-top: 26px; }
  .teadrops-intro { grid-template-columns: 1fr; gap: 32px; padding: 0 0 32px; }
  .teadrops-page .case-main h1 { font-size: clamp(3.1rem, 13vw, 4.7rem); }
  .teadrops-page .case-mark { width: 66px; height: 54px; }
  .teadrops-product { max-width: 520px; padding: 0 0 0 20px; }
  .teadrops-product h2 { font-size: 2.1rem; }
  .teadrops-product h2 br { display: none; }
  .teadrops-design { padding-top: 28px; }
  .teadrops-design-header { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 16px; }
  .teadrops-design h2 { font-size: 2rem; }
  .teadrops-embed { height: 560px; }
  .teadrops-gallery { height: clamp(300px, 85vw, 560px); }
  .teadrops-slide { padding: 8px; }
  .teadrops-gallery-controls { grid-template-columns: 82px minmax(0, 1fr) 82px; gap: 8px; padding: 12px 10px; }
  .teadrops-gallery-controls button { padding: 10px 6px; }
  .teadrops-gallery-status { flex-direction: column; gap: 2px; }
  .teadrops-gallery-status [data-teadrops-screen-name] { font-size: .875rem; }
}
