/* ============================================================
   DidDatDone · Construction / Coming Soon page
   Standalone styles (this page does not load styles.css)
   ============================================================ */

:root {
  --parchment:      #f6ecd7;
  --parchment-soft: #fbf5e9;
  --ink:            #3a2a1a;
  --ink-soft:       #6c5740;
  --terracotta:     #be6b36;
  --terracotta-dk:  #a2562a;
  --terracotta-lt:  #d68a52;
  --gold:           #c99a3f;
  --gold-lt:        #e6c578;
  --leather:        #412d1b;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--parchment);
  background-image:
    radial-gradient(1100px 600px at 15% -10%, rgba(214, 138, 82, 0.22), transparent 60%),
    radial-gradient(1000px 700px at 100% 0%, rgba(201, 154, 63, 0.22), transparent 55%),
    radial-gradient(900px 800px at 50% 120%, rgba(93, 115, 85, 0.12), transparent 60%);
  -webkit-font-smoothing: antialiased;
  text-align: center;
  overflow-x: hidden;
}

/* Soft drifting motes of light in the background */
.motes { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.mote {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 197, 120, 0.7), transparent 70%);
  animation: drift 14s ease-in-out infinite;
  opacity: 0.5;
}
.mote:nth-child(1) { width: 90px; height: 90px; left: 8%;  top: 70%; animation-delay: 0s; }
.mote:nth-child(2) { width: 50px; height: 50px; left: 80%; top: 60%; animation-delay: -3s; }
.mote:nth-child(3) { width: 120px; height: 120px; left: 65%; top: 20%; animation-delay: -6s; }
.mote:nth-child(4) { width: 40px; height: 40px; left: 25%; top: 25%; animation-delay: -9s; }
.mote:nth-child(5) { width: 70px; height: 70px; left: 45%; top: 80%; animation-delay: -5s; }
@keyframes drift {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.18; }
  50% { transform: translateY(-40px) translateX(18px); opacity: 0.55; }
}

.wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 22px;
}

/* The book graphic (the only graphic, taken from inspirations) */
.book-stage {
  position: relative;
  margin-bottom: 88px;
  animation: rise 1.1s cubic-bezier(0.2, 0.8, 0.25, 1) both;
}
.book-stage img {
  width: min(360px, 74vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 50px rgba(65, 45, 27, 0.4));
  animation: bookfloat 6s ease-in-out infinite;
}
.book-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  width: 58%;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(65, 45, 27, 0.32), transparent 70%);
  filter: blur(7px);
  animation: shadowpulse 6s ease-in-out infinite;
}
.book-stage .glow {
  position: absolute;
  inset: -12% -12% 0 -12%;
  background: radial-gradient(circle at 50% 45%, rgba(230, 197, 120, 0.45), transparent 62%);
  filter: blur(10px);
  z-index: -1;
  animation: glowpulse 5s ease-in-out infinite;
}

@keyframes bookfloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-18px) rotate(1deg); }
}
@keyframes shadowpulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.55; }
  50% { transform: translateX(-50%) scale(0.82); opacity: 0.35; }
}
@keyframes glowpulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.05); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(34px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.brandline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  font-weight: 600;
  color: var(--leather);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  animation: fadeUp 1s ease 0.2s both;
}
.brandline b { color: var(--terracotta-dk); font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta-dk);
  margin-bottom: 18px;
  animation: fadeUp 1s ease 0.1s both;
}

.tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 32ch;
  margin: 8px auto 0;
  line-height: 1.55;
  animation: fadeUp 1s ease 0.35s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ---- Unique progress indicator: a self-drawing spiral (the icon motif) ---- */
.progress {
  margin: 38px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: fadeUp 1s ease 0.5s both;
}
/* Faint symbols fading in and out across the background */
.bg-symbols { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bg-sym {
  position: absolute;
  width: 34px;
  height: auto;
  opacity: 0;
  animation: sym-appear 9s ease-in-out infinite;
  will-change: opacity;
}
/* scattered positions, sizes, rotations, speeds and delays so each one
   appears at a different spot and time, barely visible, then fades away */
.bg-sym--1  { top: 12%; left: 8%;   width: 28px;  transform: rotate(-12deg); animation-duration: 8.5s;  animation-delay: 0s; }
.bg-sym--2  { top: 68%; left: 14%;  width: 40px;  transform: rotate(8deg);   animation-duration: 11s;   animation-delay: 2.4s; }
.bg-sym--3  { top: 32%; left: 78%;  width: 33px;  transform: rotate(15deg);  animation-duration: 9.5s;  animation-delay: 1.2s; }
.bg-sym--4  { top: 80%; left: 70%;  width: 26px;  transform: rotate(-7deg);  animation-duration: 12s;   animation-delay: 4.1s; }
.bg-sym--5  { top: 18%; left: 44%;  width: 30px;  transform: rotate(5deg);   animation-duration: 10s;   animation-delay: 5.6s; }
.bg-sym--6  { top: 52%; left: 88%;  width: 37px;  transform: rotate(-18deg); animation-duration: 8s;    animation-delay: 3.3s; }
.bg-sym--7  { top: 6%;  left: 64%;  width: 24px;  transform: rotate(20deg);  animation-duration: 11.5s; animation-delay: 6.8s; }
.bg-sym--8  { top: 86%; left: 34%;  width: 31px;  transform: rotate(-4deg);  animation-duration: 9s;    animation-delay: 1.9s; }
.bg-sym--9  { top: 44%; left: 24%;  width: 43px;  transform: rotate(11deg);  animation-duration: 12.5s; animation-delay: 7.5s; }
.bg-sym--10 { top: 60%; left: 52%;  width: 27px;  transform: rotate(-14deg); animation-duration: 10.5s; animation-delay: 4.8s; }
.bg-sym--11 { top: 26%; left: 18%;  width: 25px;  transform: rotate(9deg);   animation-duration: 9.2s;  animation-delay: 8.3s; }
.bg-sym--12 { top: 4%;  left: 30%;  width: 32px;  transform: rotate(-16deg); animation-duration: 11.8s; animation-delay: 3.7s; }
.bg-sym--13 { top: 40%; left: 60%;  width: 28px;  transform: rotate(6deg);   animation-duration: 8.8s;  animation-delay: 6.1s; }
.bg-sym--14 { top: 74%; left: 46%;  width: 36px;  transform: rotate(-9deg);  animation-duration: 12.2s; animation-delay: 2.0s; }
.bg-sym--15 { top: 56%; left: 6%;   width: 30px;  transform: rotate(17deg);  animation-duration: 10.2s; animation-delay: 9.0s; }
.bg-sym--16 { top: 90%; left: 84%;  width: 24px;  transform: rotate(-5deg);  animation-duration: 9.7s;  animation-delay: 5.0s; }
.bg-sym--17 { top: 22%; left: 92%;  width: 29px;  transform: rotate(13deg);  animation-duration: 11.2s; animation-delay: 1.5s; }
.bg-sym--18 { top: 84%; left: 22%;  width: 26px;  transform: rotate(-11deg); animation-duration: 8.3s;  animation-delay: 7.0s; }
.bg-sym--19 { top: 14%; left: 76%;  width: 38px;  transform: rotate(4deg);   animation-duration: 12.8s; animation-delay: 3.0s; }
.bg-sym--20 { top: 48%; left: 40%;  width: 27px;  transform: rotate(-19deg); animation-duration: 9.4s;  animation-delay: 10.0s; }

@keyframes sym-appear {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.09; }
}

/* Quill writing an ink line across the page */
.quill-write {
  width: min(300px, 78vw);
}
.quill-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
/* The ink reveal and nib motion/fade are animated with SMIL inside the SVG
   (see construction.html) so they share one clock and never drift apart. */
.quill-svg .ink-draw {
  fill: none;
  stroke: url(#inkgrad2);
  stroke-width: 3.4;
  stroke-linecap: round;
}
.quill-svg .nib {
  filter: drop-shadow(0 2px 3px rgba(65, 45, 27, 0.35));
}
/* Slight pen tilt */
.quill-svg .nib-shape { transform: rotate(18deg); transform-box: fill-box; transform-origin: bottom center; }
.progress-label {
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.coming {
  margin-top: 34px;
  display: inline-flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.92rem;
  color: var(--ink-soft);
  animation: fadeUp 1s ease 0.6s both;
}
.coming span { display: inline-flex; align-items: center; gap: 8px; }
.coming i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--terracotta);
  animation: blink 1.8s ease-in-out infinite;
}
.coming span:nth-child(2) i { animation-delay: 0.9s; }
@keyframes blink { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

.site-foot {
  position: relative;
  z-index: 1;
  padding: 22px 16px 28px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.site-foot a { color: var(--terracotta-dk); font-weight: 600; text-decoration: none; }
.site-foot a:hover { color: var(--terracotta); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
  .bg-sym { opacity: 0; }
  .quill-svg .ink-draw { stroke-dashoffset: 0; opacity: 1; }
  .quill-svg .nib { opacity: 0; }
}
