/* -----------------------------------------------------------
   Fonts

   Primary: Jost, loaded from Google Fonts via <link> in index.html.
   It's the closest free geometric sans to Futura (same circular
   "o", low-contrast strokes, similar cap-height) — a solid stand-in
   until a licensed Futura file is available.

   If you get a licensed Futura .woff2, self-host it instead:
     1. Drop the file at assets/fonts/Futura.woff2
     2. Uncomment the @font-face block below
     3. Move 'Futura' to the front of --font-primary
   No other changes needed — every rule below reads from the
   --font-primary variable.
----------------------------------------------------------- */

/*
@font-face {
  font-family: 'Futura';
  src: url('assets/fonts/Futura.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
*/

:root {
  --bg: #f7f4ee;
  --ink: #1a1a18;
  --ink-soft: rgba(26, 26, 24, 0.55);

  --tracking: 0.35em;
  --tracking-tight: 0.14em;
  --font-primary: 'Jost', 'Futura', 'Century Gothic', 'Avenir Next', 'Avenir', sans-serif;

  --frame-width: 560px;

  /* page-corner L marks: fluid via clamp() so they scale with the
     viewport instead of jumping at a single breakpoint */
  --corner-size: clamp(26px, 5vw, 52px);
  --corner-thickness: 4px;
  --corner-offset: clamp(14px, 4vw, 32px);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-primary);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 32px;

  /* Handmade-paper background: photographed textured plaster/paper,
     full-bleed. --bg is the fallback color while it loads. */
  background-color: var(--bg);
  background-image: url("assets/paper-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* -----------------------------------------------------------
   Page / logo
----------------------------------------------------------- */

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.logo-mark {
  display: block;
  width: 240px;
  height: auto;
  margin-bottom: 56px;
}

/* -----------------------------------------------------------
   Frame (content column — no visible box; the page corners
   below carry the framing now)
----------------------------------------------------------- */

.frame {
  width: 100%;
  max-width: var(--frame-width);
  padding: 0 24px;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* -----------------------------------------------------------
   Page-corner L marks — pinned to the viewport, not the frame,
   so they always border the page. Bold strokes, fluid size via
   clamp() so they scale continuously with screen size rather
   than snapping at a breakpoint.
----------------------------------------------------------- */

.corner {
  position: fixed;
  width: var(--corner-size);
  height: var(--corner-size);
  pointer-events: none;
  z-index: 10;
}

.corner::before,
.corner::after {
  content: '';
  position: absolute;
  background: var(--ink);
}

.corner::before {
  width: 100%;
  height: var(--corner-thickness);
}

.corner::after {
  width: var(--corner-thickness);
  height: 100%;
}

.corner--tl {
  top: var(--corner-offset);
  left: var(--corner-offset);
}
.corner--tl::before {
  top: 0;
  left: 0;
}
.corner--tl::after {
  top: 0;
  left: 0;
}

.corner--tr {
  top: var(--corner-offset);
  right: var(--corner-offset);
}
.corner--tr::before {
  top: 0;
  right: 0;
}
.corner--tr::after {
  top: 0;
  right: 0;
}

.corner--bl {
  bottom: var(--corner-offset);
  left: var(--corner-offset);
}
.corner--bl::before {
  bottom: 0;
  left: 0;
}
.corner--bl::after {
  bottom: 0;
  left: 0;
}

.corner--br {
  bottom: var(--corner-offset);
  right: var(--corner-offset);
}
.corner--br::before {
  bottom: 0;
  right: 0;
}
.corner--br::after {
  bottom: 0;
  right: 0;
}

/* -----------------------------------------------------------
   001 / Coming Soon
----------------------------------------------------------- */

.index-line {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  font-size: clamp(22px, 4.5vw, 36px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
}

.index-number,
.index-label {
  color: var(--ink);
}

/* -----------------------------------------------------------
   Email capture form
----------------------------------------------------------- */

.notify-form {
  margin-top: 44px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.notify-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
  text-indent: var(--tracking);
}

.notify-row {
  display: flex;
  width: 100%;
  max-width: 360px;
  border: 1px solid var(--ink);
}

.notify-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 14px 16px;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.notify-input::placeholder {
  color: var(--ink-soft);
}

.notify-input:focus {
  outline: none;
  background: rgba(26, 26, 24, 0.04);
}

.notify-submit {
  border: none;
  border-left: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  padding: 14px 22px;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.notify-submit:hover {
  opacity: 0.85;
}

.notify-submit:active {
  opacity: 0.7;
}

.notify-status {
  min-height: 1.2em;
  margin: 14px 0 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* -----------------------------------------------------------
   Responsive
----------------------------------------------------------- */

@media (max-width: 600px) {
  :root {
    --tracking: 0.22em;
    --corner-thickness: 3px;
  }

  body {
    padding: 20px;
  }

  .logo-mark {
    width: 160px;
    margin-bottom: 40px;
  }

  .notify-form {
    margin-top: 32px;
  }

  .notify-row {
    max-width: 100%;
    flex-direction: column;
    border: none;
    gap: 10px;
  }

  .notify-input {
    border: 1px solid var(--ink);
    padding: 13px 14px;
  }

  .notify-submit {
    border: 1px solid var(--ink);
    padding: 13px 14px;
  }
}

@media (max-width: 360px) {
  .index-line {
    flex-direction: column;
    gap: 2px;
  }
}
