/* ════════════════════════════════════════════════════
   KESHV DESIGN STUDIO — COMING SOON
   Layout : Full-viewport background, horizontal card
            pinned to bottom with breathing margin
════════════════════════════════════════════════════ */

:root {
  --crimson:     #8B1A2B;
  --crimson-h:   #A8223A;
  --charcoal:    #1E1E1E;
  --stone:       #5A5654;
  --warm-mid:    #8A8480;
  --linen:       #F4F1EC;
  --card-bg:     rgba(255, 255, 255, 0.78);
  --card-blur:   blur(28px) saturate(1.3);
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'DM Sans', 'Helvetica Neue', sans-serif;
  --max-w:       1200px;
  --pad-x:       clamp(1.5rem, 5vw, 4rem);
  --card-margin: clamp(1.5rem, 3vh, 2.5rem); /* space below card from bottom */
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-sans); height: 100%; overflow: hidden; }
/* overflow hidden keeps one clean viewport — no scroll needed since card is at bottom */
img  { display: block; }
a    { text-decoration: none; }
ul   { list-style: none; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ════════════════════════════════════════════════════
   BACKGROUND — fixed, fills 100% viewport always
════════════════════════════════════════════════════ */
.bg-fixed {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url('studio_image.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.bg-veil {
  position: absolute;
  inset: 0;
  /* ultra-light so logo on wall stays clearly visible */
  background: rgba(255, 255, 255, 0.06);
}

/* ════════════════════════════════════════════════════
   HEADER — glass bar at top
════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(139, 26, 43, 0.13);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.4rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.site-logo {
  height: 68px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}
.site-nav { display: flex; gap: 2.5rem; }
.site-nav a {
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--crimson); }

/* ════════════════════════════════════════════════════
   PAGE WRAP — full viewport, card lives at the bottom
════════════════════════════════════════════════════ */
.page-wrap {
  position: relative;
  z-index: 10;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;          /* push card to bottom */
  padding-top: 76px;                  /* clear fixed header */
  padding-bottom: var(--card-margin); /* breathing room at bottom */
  padding-left:  var(--pad-x);
  padding-right: var(--pad-x);
  gap: 0.75rem;
}

/* ════════════════════════════════════════════════════
   HERO CARD — wide horizontal, sits at bottom
════════════════════════════════════════════════════ */
.hero-card {
  position: relative;
  width: 100%;
  max-width: var(--max-w);
  display: flex;
  flex-direction: row;
  align-items: stretch;

  /* Glassmorphism — translucent frosted panel */
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(42px) saturate(1.9) brightness(1.1);
  -webkit-backdrop-filter: blur(42px) saturate(1.9) brightness(1.1);

  /* Light-source border: bright top/left, dim bottom/right */
  border-top:    1px solid rgba(255, 255, 255, 0.80);
  border-left:   1px solid rgba(255, 255, 255, 0.80);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  border-right:  1px solid rgba(255, 255, 255, 0.26);

  border-radius: 16px;

  box-shadow:
    /* deep ambient */
    0 32px 72px rgba(18, 10, 6, 0.20),
    0 12px 28px rgba(18, 10, 6, 0.12),
    /* upward soft glow */
    0 -4px 18px rgba(255, 255, 255, 0.30),
    /* inner top-edge highlight */
    inset 0  1px  0 rgba(255, 255, 255, 0.90),
    /* inner bottom shadow */
    inset 0 -1px  0 rgba(0,   0,   0,   0.04),
    /* crimson inner glow on left */
    inset 5px 0 20px rgba(139, 26, 43, 0.07);

  overflow: hidden;
  animation: cardRise 0.9s var(--ease) both;
}

/* Subtle noise grain — authentic frosted-glass texture */
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.032;
  pointer-events: none;
  z-index: 0;
}

/* Keep all card children above the noise layer */
.v-accent,
.card-left,
.card-divider,
.card-right { position: relative; z-index: 1; }

/* crimson left accent bar */
.v-accent {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--crimson);
}

/* ── LEFT COLUMN ── */
.card-left {
  flex: 1.1;
  padding: clamp(1.8rem, 3.5vh, 3rem) clamp(2rem, 4vw, 3.5rem)
           clamp(1.8rem, 3.5vh, 3rem) clamp(2.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

/* EYEBROW */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 4.2rem;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.3s forwards;
}
.eb-dash {
  display: block;
  width: 26px; height: 1px;
  background: var(--crimson);
  flex-shrink: 0;
}
.eb-text {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--crimson);
  white-space: nowrap;
}

/* HEADLINE */
.headline {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
}
.hl {
  display: block;
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
  color: var(--charcoal);
  opacity: 0;
  transform: translateY(20px);
}
.hl-a { animation: slideUp 0.75s var(--ease) 0.42s forwards; }
.hl-b { animation: slideUp 0.75s var(--ease) 0.56s forwards; }
.hl-c { animation: slideUp 0.75s var(--ease) 0.70s forwards; }
.hl em  { font-style: italic; color: var(--crimson); }
.dot-red { color: var(--crimson); }

/* SUBTEXT */
.subtext {
  font-size: clamp(0.75rem, 1.3vw, 0.87rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--stone);
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.85s forwards;
}

/* ── VERTICAL DIVIDER ── */
.card-divider {
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(139, 26, 43, 0.18) 20%,
    rgba(139, 26, 43, 0.18) 80%,
    transparent 100%
  );
  flex-shrink: 0;
  align-self: stretch;
}

/* ── RIGHT COLUMN ── */
.card-right {
  flex: 1;
  padding: clamp(1.8rem, 3.5vh, 3rem) clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.6s forwards;
}

/* COUNTDOWN LABEL */
.cd-label {
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--warm-mid);
  margin-bottom: -0.6rem;
}

/* COUNTDOWN BLOCKS */
.countdown {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* glass blocks inside the glass card */
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top:    1px solid rgba(255, 255, 255, 0.85);
  border-left:   1px solid rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.30);
  border-right:  1px solid rgba(255, 255, 255, 0.30);
  border-radius: 8px;
  padding: 0.75rem 0.9rem 0.55rem;
  flex: 1;
  min-width: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 2px 8px rgba(20,10,6,0.06);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.cd-block:hover {
  background: rgba(255, 255, 255, 0.70);
  border-color: rgba(139, 26, 43, 0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 6px 20px rgba(139, 26, 43, 0.10);
}
.cd-digit {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.cd-unit {
  font-size: 0.48rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-mid);
  margin-top: 0.2rem;
}
.cd-sep {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  color: var(--crimson);
  font-weight: 400;
  padding-bottom: 0.5rem;
  line-height: 1;
  animation: blink 1.1s step-end infinite;
  flex-shrink: 0;
}

/* NOTIFY BLOCK */
.notify-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.notify-label {
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-mid);
}
.notify-form {
  display: flex;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top:    1px solid rgba(255, 255, 255, 0.80);
  border-left:   1px solid rgba(255, 255, 255, 0.80);
  border-bottom: 1px solid rgba(255, 255, 255, 0.30);
  border-right:  1px solid rgba(255, 255, 255, 0.30);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 2px 10px rgba(20,10,6,0.06);
}
.notify-form input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--charcoal);
  padding: 0.78rem 0.85rem;
  letter-spacing: 0.02em;
}
.notify-form input::placeholder { color: var(--warm-mid); }
.btn-notify {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--crimson);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.78rem 1.1rem;
  white-space: nowrap;
  transition: background 0.22s var(--ease);
}
.btn-notify:hover  { background: var(--crimson-h); }
.btn-notify:active { opacity: 0.85; }

.confirm-msg {
  font-size: 0.68rem;
  font-weight: 300;
  color: #3a7d52;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.4s;
  min-height: 1em;
}
.confirm-msg.show { opacity: 1; }

/* ════════════════════════════════════════════════════
   BOTTOM COPYRIGHT LINE
════════════════════════════════════════════════════ */
.page-copy {
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(90, 86, 84, 0.7);
  text-align: center;
}

/* ════════════════════════════════════════════════════
   KEYFRAMES
════════════════════════════════════════════════════ */
@keyframes cardRise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.12; }
}

/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */

/* Short screens — allow scroll so card doesn't clip */
@media (max-height: 680px) {
  body { overflow-y: auto; }
  .page-wrap { height: auto; min-height: 100vh; justify-content: flex-end; }
}

/* Tablet — stack columns */
@media (max-width: 860px) {
  body { overflow-y: auto; }
  .page-wrap { height: auto; min-height: 100vh; justify-content: flex-end; }
  .hero-card {
    flex-direction: column;
    max-width: 580px;
  }
  .card-divider {
    width: auto; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139,26,43,0.18), transparent);
  }
  .card-left  { padding: 2.2rem 2rem 1.4rem 2.5rem; }
  .card-right { padding: 1.4rem 2rem 2.2rem; }
  .hl { font-size: clamp(2.4rem, 8vw, 3.6rem); }
}

/* Mobile */
@media (max-width: 540px) {
  .site-nav { display: none; }
  .site-logo { height: 52px; }
  .header-inner { min-height: 64px; }
  .page-wrap { padding-top: 64px; padding-left: 1rem; padding-right: 1rem; }
  .card-left  { padding: 1.8rem 1.4rem 1.2rem 1.8rem; }
  .card-right { padding: 1.2rem 1.4rem 1.8rem; gap: 1.1rem; }
  .hl { font-size: clamp(2rem, 10vw, 2.8rem); }
  .countdown { gap: 0.2rem; }
  .cd-digit  { font-size: 1.5rem; }
  .cd-sep    { font-size: 1.2rem; }
  .notify-form { flex-direction: column; }
  .btn-notify  { justify-content: center; padding: 0.8rem; }
}
