/*
Theme Name: Chasing Rabbits Coming Soon
Theme URI: https://chasingrabbits.ca
Author: Randi-Lee Butcher
Description: A one-page vintage coming soon theme for Chasing Rabbits.
Version: 1.0.0
Text Domain: chasing-rabbits-coming-soon
*/

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&display=swap');

:root {
  --ink: #11100f;
  --paper: #e9e4d8;
  --orange: #d04532;
  --teal: #029ca1;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a { color: inherit; }

.coming-soon {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(430px, .92fr) minmax(420px, 1.08fr);
  overflow: hidden;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(17, 16, 15, .1) .7px, transparent .7px);
  background-size: 4px 4px;
}

.announcement {
  min-height: 100svh;
  padding: clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  border-right: 5px double var(--ink);
}

.masthead {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-top: 4px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font: 700 .72rem/1.2 'Oswald', Arial, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.masthead span:last-child { color: var(--teal); }

.message {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem) 0;
}

.extra {
  align-self: flex-start;
  margin-bottom: 1.5rem;
  padding: .45rem .75rem;
  background: var(--orange);
  color: var(--paper);
  font: 700 .8rem/1 'Oswald', Arial, sans-serif;
  letter-spacing: .17em;
  text-transform: uppercase;
  transform: rotate(-1.5deg);
}

h1 {
  max-width: 820px;
  margin: 0;
  font: 400 clamp(4.4rem, 8.7vw, 9rem)/.77 Georgia, 'Times New Roman', serif;
  letter-spacing: -.07em;
}

h1 em {
  display: block;
  color: var(--orange);
  font-weight: 700;
}

.intro {
  max-width: 680px;
  margin: 2rem 0 0;
  font: 700 clamp(1.05rem, 1.55vw, 1.35rem)/1.5 'Oswald', Arial, sans-serif;
}

.opening {
  margin-top: 2.5rem;
  padding: 1.2rem 1.3rem;
  border: 3px solid var(--ink);
  background: var(--teal);
  color: var(--paper);
  transform: rotate(.5deg);
}

.opening strong,
.opening span { display: block; }

.opening strong {
  font: 700 1.15rem/1.2 Georgia, 'Times New Roman', serif;
  text-transform: uppercase;
}

.opening span {
  margin-top: .3rem;
  font: 500 1rem/1.4 'Oswald', Arial, sans-serif;
}

.trail {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--ink);
  font: 700 .76rem/1.3 'Oswald', Arial, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.trail a {
  padding-bottom: .25rem;
  border-bottom: 2px solid var(--orange);
  text-decoration: none;
}

.trail a:hover,
.trail a:focus-visible { color: var(--orange); }

.artwork {
  min-height: 100svh;
  margin: 0;
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

.artwork img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.artwork::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 90px rgba(17, 16, 15, .35);
  background-image: radial-gradient(rgba(233, 228, 216, .12) .8px, transparent .8px);
  background-size: 4px 4px;
}

.stamp {
  position: absolute;
  z-index: 2;
  right: clamp(1rem, 3vw, 3rem);
  bottom: clamp(1rem, 3vw, 3rem);
  width: 138px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: rgba(17, 16, 15, .78);
  color: var(--paper);
  font: 700 .82rem/1.25 'Oswald', Arial, sans-serif;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(8deg);
}

@media (max-width: 850px) {
  .coming-soon { display: block; position: relative; }
  .artwork { position: fixed; inset: 0; min-height: 100%; }
  .artwork img { object-position: 60% center; }
  .artwork::after { background: rgba(17, 16, 15, .42); box-shadow: inset 0 0 90px rgba(17, 16, 15, .55); }
  .announcement { min-height: 100svh; width: 100%; padding: 1.25rem; border-right: 0; color: var(--paper); background: linear-gradient(90deg, rgba(17, 16, 15, .92), rgba(17, 16, 15, .52)); }
  .masthead, .trail { border-color: var(--paper); }
  .masthead span:last-child { color: #66d2d5; }
  .message { padding: 4rem 0; }
  h1 { font-size: clamp(3.8rem, 18vw, 6.6rem); }
  .intro { max-width: 90%; }
  .opening { max-width: 560px; }
  .stamp { display: none; }
}

@media (max-width: 470px) {
  .masthead span:last-child { display: none; }
  .trail { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
