@font-face {
  font-family: "Great Vibes";
  src: url("great-vibes.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --gold: #967334;
  --ink: #4a503f;
  --fade: 2800ms;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #f8f7f4; }
body { margin: 0; min-width: 280px; min-height: 100svh; color: var(--ink); }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #f8f7f4 url("honeycomb.webp") center / cover no-repeat;
  pointer-events: none;
}

.shell {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
}

.composition {
  width: min(100%, 840px);
  display: grid;
  justify-items: center;
  gap: 12px;
}

.slideshow {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: min(62svh, 550px, calc(100vw - 48px));
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--fade) cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
  will-change: opacity;
}

.slide.is-active { opacity: 1; }
.slide img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.slide--logo img { width: min(100%, 800px); height: 100%; }
.slide--photo img {
  width: auto;
  height: 100%;
  border: 7px solid #b9964e;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgb(76 54 21 / 24%), 0 4px 10px rgb(76 54 21 / 12%);
}
.slide--platter img { border-radius: 50%; }

.coming-soon {
  margin: 0;
  padding: 0 18px 4px;
  font-family: "Great Vibes", "Segoe Script", "Apple Chancery", cursive;
  font-weight: 400;
  font-size: clamp(64px, 8vw, 112px);
  line-height: 1.3;
  color: var(--gold);
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgb(255 255 255 / 90%);
}

.contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 18px;
  row-gap: 4px;
  font: 400 15px / 1.5 Georgia, "Times New Roman", serif;
  letter-spacing: .035em;
}
.contact a { color: #655335; text-decoration: none; padding: 10px 4px; }
.contact a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact__separator { color: #a88b54; }

.playback {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(150 115 52 / 28%);
  border-radius: 50%;
  background: rgb(255 255 255 / 66%);
  color: #8b6d37;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}
.playback:hover { background: #fff; border-color: #967334; }
.playback svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.playback__play { display: none; }
.playback[aria-pressed="true"] .playback__pause { display: none; }
.playback[aria-pressed="true"] .playback__play { display: block; }
:focus-visible { outline: 2px solid #8b6d37; outline-offset: 5px; }

@media (max-width: 600px) {
  .backdrop { background-position: 30% center; }
  .composition { gap: 20px; }
  .coming-soon { font-size: clamp(40px, 16vw, 72px); padding-inline: 6px; }
  .contact { column-gap: 12px; font-size: 15px; }
}

@media (max-height: 520px) and (min-width: 601px) {
  .shell { padding: 12px 24px; }
  .composition { gap: 0; }
  .slideshow { height: 66svh; }
  .coming-soon { font-size: 56px; line-height: 1.25; }
}

@media (prefers-reduced-motion: reduce) {
  .slide, .playback { transition: none; }
  .slide { opacity: 0; will-change: auto; }
  .slide--logo { opacity: 1; }
  .playback { display: none; }
}
