/* ==========================================================================
   What Up Florida — homepage styles
   Recreated from the Claude Design homepage reference (high-fidelity).
   Tokens, type scale, and copy are final per docs/SPEC.md.
   ========================================================================== */

:root {
  --cream:        #F2EDE3;
  --cream-dark:   #EAE3D3;
  --spread-bg:    #DED7C4;
  --khaki:        #D8CCAF;
  --back-cover:   #EDE6D8;
  --page-white:   #FBF8F1;
  --near-black:   #211F1B;
  --body:         #6E685B;
  --body-dark:    #4B463C;
  --stone:        #A79E8B;
  --terracotta:   #C96A5B;
  --rust:         #8F4436;
  --coral:        #EE9877;

  --f-head: 'Oswald', sans-serif;
  --f-label: 'Archivo Narrow', sans-serif;
  --f-brand: 'Jost', sans-serif;
  --f-italic: 'Cormorant Garamond', serif;
  --f-body: 'Source Serif 4', Georgia, serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--near-black);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
}

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

.cover { width: 100%; height: 100%; object-fit: cover; }

a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--rust); }

/* ---- shared bits ---------------------------------------------------------- */

.eyebrow {
  margin: 0;
  font-family: var(--f-label);
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.eyebrow--rust  { color: var(--terracotta); }
.eyebrow--coral { color: var(--coral); }
.eyebrow--deep  { color: var(--rust); }

.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-label);
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
}
.btn--solid  { background: var(--near-black); color: var(--cream); padding: 14px 26px; }
.btn--outline { border: 1px solid var(--near-black); color: var(--near-black); padding: 14px 26px; background: transparent; }
.btn--outline.btn--light { border-color: var(--cream); color: var(--cream); padding: 13px 24px; }
.btn--arrow { padding: 0; }
.btn--arrow > span:first-child { background: var(--near-black); color: var(--cream); padding: 14px 26px; }
.btn__arrow { background: var(--cream); color: var(--near-black); padding: 14px 18px; }
.btn--cream { background: var(--cream); color: var(--near-black); padding: 15px 30px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}
.section-head__title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---- nav ------------------------------------------------------------------ */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  border-bottom: 1px solid var(--khaki);
}
.nav__brand {
  font-family: var(--f-brand);
  font-weight: 300;
  font-size: 19px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--near-black);
}
.nav__links {
  display: flex;
  gap: 34px;
  font-family: var(--f-label);
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.nav__links a { color: var(--body); white-space: nowrap; }
.nav__links a:hover { color: var(--near-black); }
.nav .btn--solid { font-size: 13px; letter-spacing: .14em; padding: 10px 20px; }

/* ---- hero ----------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
}
.hero__copy {
  padding: 76px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.hero__title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 64px;
  line-height: 1.06;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.hero__title-sub {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  font-size: 60px;
}
.hero__lede {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
  max-width: 44ch;
}
.hero__cta { display: flex; gap: 14px; margin-top: 6px; flex-wrap: wrap; }

.hero__panel {
  position: relative;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--khaki);
  min-height: 560px;
}
.hero__books { position: relative; width: 330px; height: 440px; }
.hero__book { position: absolute; }
.hero__book--back {
  top: -16px; left: -38px;
  width: 310px; height: 414px;
  background: var(--back-cover);
  border: 1px solid var(--khaki);
  box-shadow: 0 16px 36px rgba(33,31,27,.18);
  transform: rotate(-2deg);
}
.hero__book--front {
  position: relative;
  width: 330px; height: 440px;
  transform: rotate(2deg);
  box-shadow: 18px 24px 40px rgba(33,31,27,.28);
}
.hero__book-clip { width: 330px; height: 440px; overflow: hidden; }
.hero__book-scale {
  position: relative;
  width: 560px; height: 746px;
  transform: scale(.5893);
  transform-origin: top left;
}
.hero__book-spine {
  position: absolute; left: 0; top: 0; bottom: 0; width: 24px;
  background: linear-gradient(90deg, rgba(33,31,27,.35), rgba(33,31,27,0));
  pointer-events: none;
}
.hero__book-wordmark {
  position: absolute; left: 0; right: 0; top: 44px;
  text-align: center; pointer-events: none;
  font-family: var(--f-brand); font-weight: 300;
  text-transform: uppercase; color: var(--cream);
  text-shadow: 0 1px 12px rgba(0,0,0,.45);
  font-size: 43px; letter-spacing: .34em; line-height: 1.5;
}
.hero__book-issuetitle {
  position: absolute; bottom: 60px; left: 0; right: 0;
  text-align: center; pointer-events: none;
  font-family: var(--f-italic); font-style: italic;
  font-size: 15px; color: var(--cream); opacity: .85;
  text-shadow: 0 1px 10px rgba(0,0,0,.45);
}
.hero__book-issueno {
  position: absolute; bottom: 34px; left: 0; right: 0;
  text-align: center; pointer-events: none;
  font-family: var(--f-brand); font-weight: 300;
  font-size: 14px; letter-spacing: .44em; text-transform: uppercase;
  color: var(--cream); text-shadow: 0 1px 10px rgba(0,0,0,.45);
}
.hero__caption {
  position: absolute; bottom: 22px; left: 48px; margin: 0;
  font-family: var(--f-label); font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--terracotta);
}

/* ---- stories -------------------------------------------------------------- */

.stories { padding: 72px 48px 56px; }
.stories .section-head { margin-bottom: 32px; }
.stories__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.story { display: flex; flex-direction: column; gap: 14px; }
.story__img { height: 300px; }
.story__title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.story__teaser { margin: 0; font-size: 15px; line-height: 1.55; color: var(--body); }
.story .eyebrow { font-size: 12px; letter-spacing: .2em; }

/* ---- about ---------------------------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--near-black);
  color: var(--cream);
}
.about__img { min-height: 420px; }
.about__copy {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.about__title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.about__body { margin: 0; font-size: 17px; line-height: 1.65; color: var(--khaki); }

/* ---- book / spread carousel ---------------------------------------------- */

.book { padding: 80px 48px; background: var(--cream-dark); }
.book__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.book__stage-wrap { position: relative; }
.book__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1.5;
  background: var(--page-white);
  box-shadow: 0 26px 60px rgba(33,31,27,.28);
}
.book__gutter {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 48px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(33,31,27,0), rgba(33,31,27,.12) 48%, rgba(33,31,27,.17) 50%, rgba(33,31,27,.12) 52%, rgba(33,31,27,0));
  pointer-events: none;
}

.spread { position: absolute; inset: 0; display: none; }
.spread.is-active { display: block; }
.spread__grid2 {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
}
.spread__pane { position: relative; overflow: hidden; }
.spread__pane--pad { padding: 8%; }
.spread__biglabel {
  position: absolute;
  font-family: var(--f-italic);
  font-size: 150px;
  line-height: .82;
  pointer-events: none;
}
.spread__biglabel--light { left: 7%; bottom: 5%; color: var(--cream); text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.spread__biglabel--dark  { color: var(--near-black); text-align: right; }
.spread__biglabel--br    { right: 8%; bottom: 6%; }
.spread__intro {
  position: absolute; left: 8%; top: 14%; right: 8%;
  margin: 0; font-size: 15px; line-height: 1.7; color: var(--body);
}

/* spread 2 – full bleed + card */
.spread__card {
  position: absolute; right: 3%; bottom: 6%;
  max-width: 230px;
  background: rgba(251,248,241,.92);
  padding: 14px 16px;
  font-family: var(--f-label);
  font-size: 11.5px; letter-spacing: .05em; line-height: 1.7;
  color: var(--body-dark);
}

/* spread 3 – top-half pair */
.spread__halfimg { position: absolute; top: 0; width: 50%; height: 55%; }
.spread__halfimg--l { left: 0; }
.spread__halfimg--r { left: 50%; }
.spread__caption {
  position: absolute; margin: 0;
  font-family: var(--f-label);
  letter-spacing: .05em;
  color: var(--body-dark);
}
.spread__caption--bl { left: 5%; bottom: 11%; max-width: 300px; font-size: 12px; line-height: 1.8; }
.spread__folio {
  position: absolute; margin: 0;
  font-family: var(--f-label);
  text-transform: uppercase;
}
.spread__folio--bl { left: 5%; bottom: 4%; font-size: 10px; letter-spacing: .22em; color: var(--body); }

/* spread 4 – statement */
.spread--statement .spread__grid2 { background: var(--spread-bg); }
.spread__statement {
  padding: 9% 10%;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 52px;
  line-height: 1.12;
  text-transform: uppercase;
}
.spread__cols {
  padding: 9% 10%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.spread__col { margin: 0; font-size: 14.5px; line-height: 1.9; text-align: justify; }
.spread__col--dark { color: var(--body-dark); }
.spread__col--gray { color: var(--body); }

/* spread 5 – bleed / inset */
.spread__pane--inset { padding: 7% 9%; }
.spread__insetimg { width: 100%; height: 52%; }
.spread__caption--inset { position: absolute; right: 9%; bottom: 12%; width: 52%; font-size: 11.5px; line-height: 1.75; }
.spread__folio--stone { right: 6%; bottom: 4%; font-size: 10px; letter-spacing: .2em; color: var(--stone); }

/* spread 6 – teaser */
.spread--teaser {
  display: none;
  background: var(--near-black);
  color: var(--cream);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  text-align: center;
  padding: 0 12%;
}
.spread--teaser.is-active { display: flex; }
.spread__teaser-title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: .02em;
  text-transform: uppercase;
  max-width: 20ch;
}
.spread__teaser-tag { margin: 0; font-family: var(--f-italic); font-style: italic; font-size: 20px; color: var(--khaki); }

/* arrows + dots */
.book__arrow {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--near-black);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; border: 0;
  box-shadow: 0 6px 18px rgba(33,31,27,.3);
  transition: background .15s ease;
}
.book__arrow:hover { background: var(--rust); }
.book__arrow--prev { left: -24px; }
.book__arrow--next { right: -24px; }
.book__dots { display: flex; justify-content: center; gap: 10px; }
.book__dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: #B8AE97; border: 0; padding: 0; cursor: pointer;
}
.book__dots button[aria-selected="true"] { background: var(--rust); }

/* ---- ticker --------------------------------------------------------------- */

.ticker { padding: 56px 0; border-bottom: 1px solid var(--khaki); overflow: hidden; }
.ticker__track {
  display: flex;
  width: max-content;
  gap: 64px;
  animation: wufTicker 90s linear infinite;
}
.ticker__group {
  display: flex; gap: 64px; align-items: center;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--near-black);
}
.ticker__group span { white-space: nowrap; }
.ticker__dot { color: var(--stone); }
@keyframes wufTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- photo strip ---------------------------------------------------------- */

.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 4px; }
.strip__cell { height: 210px; }

/* ---- newsletter ----------------------------------------------------------- */

.newsletter { background: var(--khaki); padding: 72px 48px; text-align: center; }
.newsletter__title {
  margin: 14px 0 26px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.newsletter__form { display: flex; justify-content: center; max-width: 520px; margin: 0 auto; }
.newsletter__input {
  flex: 1;
  background: var(--cream);
  border: 1px solid var(--near-black);
  border-right: none;
  padding: 15px 18px;
  font-family: var(--f-label);
  font-size: 15px;
  color: var(--near-black);
}
.newsletter__input::placeholder { color: var(--stone); }
.newsletter__btn {
  background: var(--near-black);
  color: var(--cream);
  padding: 15px 28px;
  font-family: var(--f-label);
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
}

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

.footer { background: var(--near-black); color: var(--cream); padding: 80px 64px 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  max-width: 1400px;
  margin: 0 auto;
}
.footer__brandcol { display: flex; flex-direction: column; gap: 28px; max-width: 380px; }
.footer__brand {
  font-family: var(--f-brand);
  font-weight: 200;
  font-size: 24px;
  letter-spacing: .3em;
  text-transform: uppercase;
  line-height: 1.5;
}
.footer__desc { margin: 0; font-family: var(--f-italic); font-size: 16px; line-height: 1.8; color: var(--stone); }
.footer__social { display: flex; gap: 22px; font-family: var(--f-brand); font-weight: 300; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.footer__social a { color: var(--cream); }
.footer__col { display: flex; flex-direction: column; gap: 22px; }
.footer__h { font-family: var(--f-brand); font-weight: 400; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.footer__links { display: flex; flex-direction: column; gap: 16px; font-family: var(--f-brand); font-weight: 300; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.footer__links a { color: var(--stone); }
.footer__links a:hover { color: var(--cream); }
.footer__bottom {
  max-width: 1400px;
  margin: 64px auto 0;
  border-top: 1px solid rgba(242,237,227,.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 28px;
  font-family: var(--f-brand);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--stone);
}

/* ---- responsive ----------------------------------------------------------- */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__panel { min-height: 520px; }
  .about { grid-template-columns: 1fr; }
  .about__img { min-height: 300px; }
  .stories__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .nav { flex-wrap: wrap; gap: 14px; padding: 18px 22px; }
  .nav__links { order: 3; width: 100%; gap: 20px; }
  .hero__copy { padding: 48px 24px; }
  .hero__title { font-size: 46px; }
  .hero__title-sub { font-size: 44px; }
  .stories, .newsletter { padding-left: 24px; padding-right: 24px; }
  .stories__grid { grid-template-columns: 1fr; }
  .about__copy { padding: 44px 24px; }
  .book { padding: 56px 20px; }
  .book__arrow--prev { left: 6px; }
  .book__arrow--next { right: 6px; }
  .spread__biglabel { font-size: 84px; }
  .spread__statement { font-size: 30px; }
  .spread__teaser-title { font-size: 30px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .footer { padding: 56px 24px 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
}
