/* Closet Reflections — placeholder landing page
   Design concept: a page laid out like a mechanical patent drawing sheet —
   title block, hairline rules, a framed "figure" for the CAD animation,
   and a rotated inspection-stamp call-to-action. */

:root {
  --table: #E7E7E1;
  --paper: #F5F6F2;
  --ink: #16181A;
  --graphite: #6B706C;
  --line: #D9DBD2;
  --stamp: #B23A2E;
  --stamp-dark: #7F281F;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --sheet-margin: clamp(10px, 3vw, 28px);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

body {
  background: var(--table);
  color: var(--ink);
  font-family: var(--font-body);
  display: flex;
}

/* Registration / crop marks — small print-production detail at the
   viewport corners, reinforcing the "printed sheet" concept. */
.crop {
  position: fixed;
  width: 14px;
  height: 14px;
  z-index: 5;
  pointer-events: none;
}
.crop::before,
.crop::after {
  content: "";
  position: absolute;
  background: var(--graphite);
  opacity: 0.5;
}
.crop::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
}
.crop::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
}
.crop-tl { top: 10px; left: 10px; }
.crop-tr { top: 10px; right: 10px; }
.crop-bl { bottom: 10px; left: 10px; }
.crop-br { bottom: 10px; right: 10px; }

.sheet {
  margin: var(--sheet-margin);
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--ink);
  min-height: calc(100vh - (var(--sheet-margin) * 2));
}

.sheet-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding: 14px 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
}

.sheet-bar--top {
  border-bottom: 1px solid var(--line);
}

.sheet-bar--bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 72px;
}

.hero-text {
  max-width: 46ch;
}

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stamp);
}

.title {
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(40px, 7.5vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.descriptor {
  margin: 0;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--graphite);
}

.stamp {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 32px;
  padding: 12px 22px;
  border: 3px solid var(--stamp);
  border-radius: 6px;
  color: var(--stamp);
  text-decoration: none;
  font-family: var(--font-mono);
  transform: rotate(-3deg);
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.stamp::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--stamp);
  border-radius: 9px;
  opacity: 0.35;
}

.stamp:hover,
.stamp:focus-visible {
  transform: rotate(0deg) scale(1.03);
  background: var(--stamp);
  color: var(--paper);
}

.stamp:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 5px;
}

.stamp-line1 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stamp-line2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.stamp-caption {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--graphite);
}

.fig {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fig-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
}

.fig-frame {
  border: 1px solid var(--ink);
  background: #ffffff;
  padding: 8px;
  line-height: 0;
}

.fig-frame video {
  display: block;
  width: 100%;
  height: auto;
}

/* Load-in reveal — only for viewers who haven't asked for reduced motion.
   Base state (outside this query) is fully visible by default. */
@media (prefers-reduced-motion: no-preference) {
  .eyebrow,
  .title,
  .descriptor,
  .stamp,
  .stamp-caption {
    opacity: 0;
    transform: translateY(14px);
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  }
  .eyebrow { animation-delay: 0.05s; }
  .title { animation-delay: 0.15s; }
  .descriptor { animation-delay: 0.28s; }
  .stamp { animation-delay: 0.4s; }
  .stamp-caption { animation-delay: 0.48s; }

  @keyframes rise {
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    gap: 40px;
  }
  .hero-text {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 32px 18px;
  }
  .sheet-bar {
    padding: 12px 18px;
  }
  .stamp {
    transform: rotate(-2deg);
  }
}
