/* ==========================================================================
   YANA LABEL — countdown.css
   Styling for the coming-soon page only. Nothing here is shared with the
   main website; the colours are copies of the brand palette.
   ========================================================================== */

:root {
  --paper:        #FBF7F3;
  --blush:        #E6C7B3;
  --clay:         #C79C81;
  --terracotta:   #9C663F;
  --terracotta-d: #7F4E2F;
  --ink:          #33241C;
  --ink-soft:     #5C463A;
  --ink-faint:    #8A7466;
  --line:         #E2D2C4;

  --font-display: "Cormorant Garamond", "Didot", "Times New Roman", serif;
  --font-body:    "Jost", "Futura", "Century Gothic", "Segoe UI", system-ui,
                  -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { margin: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}


/* ---- layout: text panel + picture panel ------------------------------- */

.cd {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: 100vh;
  min-height: 100svh;
}

.cd__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1.5rem, 5vw, 4.5rem);
  background:
    radial-gradient(110% 80% at 0% 0%, rgba(230, 199, 179, .45), transparent 60%),
    var(--paper);
}

.cd__brand img { height: clamp(18px, 2.2vw, 26px); width: auto; }

.cd__content { max-width: 34rem; }


/* ---- text ------------------------------------------------------------- */

.cd__eyebrow {
  margin: 0 0 .9rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--terracotta-d);
}

.cd__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.8rem, 2rem + 4vw, 5.2rem);
  line-height: 1;
  letter-spacing: -.01em;
}

.cd__rule {
  width: 56px; height: 1px;
  border: 0;
  background: var(--clay);
  margin: 1.6rem 0;
}

.cd__lead {
  margin: 0 0 1.4rem;
  font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem);
  color: var(--ink-soft);
}


/* ---- the countdown ------------------------------------------------------ */

.cd__timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cd__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.1rem .25rem;
}
.cd__unit + .cd__unit { border-left: 1px solid var(--line); }

.cd__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 1.6rem + 3vw, 4rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums lining-nums;
}

.cd__label {
  margin-top: .55rem;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.cd__when {
  margin: 1.3rem 0 0;
  font-size: .9rem;
  letter-spacing: .04em;
  color: var(--ink-soft);
}

.cd__local {
  margin: .3rem 0 0;
  font-size: .85rem;
  color: var(--ink-faint);
}

/* Without JavaScript there is no live countdown — just show the date. */
.no-js .cd__lead,
.no-js .cd__timer { display: none; }


/* ---- "we are live" button ----------------------------------------------- */

.cd__btn {
  display: inline-block;
  margin-top: .4rem;
  padding: .9rem 2rem;
  background: var(--terracotta);
  color: #fff;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .2s var(--ease);
}
.cd__btn:hover { background: var(--terracotta-d); }


/* ---- footer --------------------------------------------------------------- */

.cd__foot {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.6rem;
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--ink-faint);
}
.cd__foot a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.cd__foot a:hover { color: var(--terracotta-d); border-color: currentColor; }


/* ---- pictures: stacked, fading one into the next ------------------------ */

.cd__art {
  position: relative;
  overflow: hidden;
  background: var(--clay);
}

.cd__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s var(--ease), transform 6s linear;
}
.cd__slide.is-on { opacity: 1; transform: scale(1); }


/* ---- tablet & phone: picture on top, text below ------------------------- */

@media (max-width: 860px) {
  .cd { grid-template-columns: 1fr; }
  .cd__art { order: -1; height: 42vh; min-height: 260px; }
  .cd__panel { gap: 2rem; }
}

@media (max-width: 420px) {
  .cd__unit { padding: .9rem .1rem; }
  .cd__label { font-size: .62rem; letter-spacing: .14em; }
}

@media (prefers-reduced-motion: reduce) {
  .cd__slide { transition: none; transform: none; }
  .cd__btn, .cd__foot a { transition: none; }
}
