/* The Second Day — Y2K futurism + botanical illustration */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --sand: #d4b890;
  --honey: #c4a878;
  --chrome: #8a9ab0;
  --rose: #c47a6a;
  --earth: #3a2e20;
  --olive: #6a8a4a;
  --cream: #f0e8d8;
}

html { scroll-behavior: smooth; }

body {
  background: var(--sand);
  color: var(--earth);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.75;
  overflow-x: hidden;
}

/* MASTHEAD */
.masthead {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--sand) 0%, #ccae84 60%, var(--honey) 100%);
  padding: 36px 24px 0;
  display: flex;
  flex-direction: column;
}

.mast-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Space Mono", monospace;
  font-size: 12px;
  color: var(--earth);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(58,46,32,0.3);
}
.meta-tag { color: var(--rose); }

.hero-stage {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0 40px;
}

.bot-illustration {
  position: absolute;
  top: 50%;
  width: clamp(120px, 18vw, 240px);
  transform: translateY(-50%);
  filter: drop-shadow(0 6px 18px rgba(58,46,32,0.18));
  opacity: 0;
  animation: botFade 1.6s ease 0.2s forwards;
}
.bot-left { left: clamp(12px, 4vw, 80px); transform: translate(-30px, -50%) rotate(-8deg); }
.bot-right { right: clamp(12px, 4vw, 80px); transform: translate(30px, -50%) rotate(8deg); }

@keyframes botFade {
  to { opacity: 0.95; transform: translate(0, -50%) rotate(0); }
}

.bot-illustration ellipse {
  animation: chromeShimmer 6s ease-in-out infinite;
  transform-origin: center;
}
@keyframes chromeShimmer {
  0%,100% { filter: hue-rotate(0) brightness(1); }
  50% { filter: hue-rotate(20deg) brightness(1.15); }
}

.mast-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(46px, 11vw, 144px);
  line-height: 0.92;
  color: var(--earth);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}
.mast-title .line-1 {
  display: block;
  font-style: normal;
}
.mast-title .line-2 {
  display: block;
  font-style: italic;
  color: var(--rose);
  background: linear-gradient(90deg, var(--rose) 0%, var(--chrome) 50%, var(--rose) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: chromeText 6s linear infinite;
}
@keyframes chromeText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.mast-sub {
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--earth);
  position: relative;
  z-index: 2;
  font-style: italic;
  font-family: "Instrument Serif", serif;
}

/* WAVE DIVIDERS */
.wave-divider {
  display: block;
  width: 100%;
  height: clamp(60px, 10vw, 120px);
  margin: 0;
}
.masthead .wave-divider { animation: waveSlide 14s ease-in-out infinite; }
.wave-mid { animation: waveSlide 18s ease-in-out infinite; transform: translateX(-2%); }
.wave-foot { animation: waveSlide 20s ease-in-out infinite reverse; }
@keyframes waveSlide {
  0%,100% { transform: translateX(-2%); }
  50% { transform: translateX(2%); }
}

/* MODULAR BLOCKS */
.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 60px);
  background: var(--honey);
}

.block {
  background: var(--cream);
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid rgba(58,46,32,0.18);
  position: relative;
  overflow: hidden;
  transition: filter 0.6s ease, opacity 0.6s ease, transform 0.6s ease, box-shadow 0.5s ease;
}

.block-num {
  display: inline-block;
  font-family: "Space Mono", monospace;
  font-size: 12px;
  color: var(--rose);
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  background: var(--cream);
  padding: 4px 10px;
  border: 1px solid rgba(196,122,106,0.4);
  border-radius: 999px;
}

.block h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.05;
  color: var(--earth);
  margin-bottom: 14px;
}

.block p {
  color: rgba(58,46,32,0.86);
  font-size: clamp(15px, 1.4vw, 17px);
}

.block-a { grid-column: span 2; background: var(--cream); }
.block-b { grid-column: span 1; background: linear-gradient(160deg, var(--cream) 0%, #e6d4b6 100%); }
.block-c { grid-column: span 1; }
.block-d { grid-column: span 2; background: linear-gradient(135deg, var(--cream) 0%, #e0d2bb 100%); }
.block-e { grid-column: span 2; }
.block-f { grid-column: span 1; background: linear-gradient(160deg, #e8dcc4 0%, var(--cream) 100%); }

/* Chrome shimmer bar */
.chrome-bar {
  margin-top: 20px;
  height: 6px;
  background: linear-gradient(90deg, var(--chrome), #c0d0e2, var(--chrome));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
@keyframes shimmer {
  from { background-position: 0% 0; }
  to { background-position: 200% 0; }
}

/* BLUR-FOCUS reveal */
.focus-block {
  filter: blur(2px);
  opacity: 0.7;
  transform: translateY(20px);
}
.focus-block.is-visible {
  filter: blur(0);
  opacity: 1;
  transform: translateY(0);
}

/* HOURS section */
.hours {
  background: var(--cream);
  padding: clamp(60px, 9vw, 110px) clamp(20px, 5vw, 80px);
  text-align: center;
}
.hours-title {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(34px, 6vw, 72px);
  color: var(--earth);
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}
.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.hour {
  padding: 22px 18px;
  background: var(--sand);
  border: 1px solid rgba(58,46,32,0.18);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.5s ease, background 0.5s ease;
}
.hour:hover { transform: translateY(-4px); background: var(--honey); }
.hour-time {
  font-family: "Space Mono", monospace;
  font-size: 18px;
  color: var(--rose);
  letter-spacing: 0.1em;
}
.hour-name {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 17px;
  color: var(--earth);
}

/* FOOTER */
.footer {
  background: var(--earth);
  color: var(--cream);
  padding: 50px 24px 60px;
  text-align: center;
}
.footer-mark {
  display: block;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 22px;
  color: var(--rose);
  margin-bottom: 12px;
}
.footer p {
  font-family: "Space Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,232,216,0.7);
}

@media (max-width: 800px) {
  .modules { grid-template-columns: 1fr; }
  .block-a, .block-b, .block-c, .block-d, .block-e, .block-f { grid-column: span 1; }
  .bot-illustration { width: 90px; opacity: 0.6 !important; }
}
