/* Creel — heycreel.com
   The site wears the app's own materials: deep pine water, brass, bone,
   painted scenes with the interface set into their shadowed thirds. */

:root {
  --water: #0b1914;
  --bank: #14261e;
  --reed: #1d3429;
  --brass: #d9a441;
  --brass-soft: #ab8339;
  --bone: #f2ede0;
  --bone-dim: rgba(242, 237, 224, 0.58);
  --moss: #7fa653;
  --tide: #457b71;
  --display: "Fraunces", Georgia, serif;
  --body: "Alegreya Sans", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--water);
  color: var(--bone);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
a { color: var(--brass); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.9em;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-art {
  position: absolute;
  inset: -4%;
  background: var(--water) url("/assets/hero.jpg") center / cover no-repeat;
  animation: drift 26s ease-in-out infinite alternate;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(11, 25, 20, 0.85) 0%, rgba(11, 25, 20, 0.35) 50%, rgba(11, 25, 20, 0.15) 100%),
    linear-gradient(to bottom, rgba(11, 25, 20, 0.55) 0%, rgba(11, 25, 20, 0) 35%, rgba(11, 25, 20, 0.9) 100%);
}

@keyframes drift {
  from { transform: scale(1.04) translate(6px, 4px); }
  to   { transform: scale(1.1) translate(-8px, -8px); }
}

#embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: center;
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 7rem 0 5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
}

.brand img { border-radius: 8px; }
.brand.small { font-size: 1.05rem; }

.lede { max-width: 34rem; color: var(--bone-dim); font-size: 1.12rem; }

.cta-row { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; margin-top: 1.6rem; }

.store-pill {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--brass);
  color: var(--water);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cta-note { color: var(--bone-dim); font-size: 0.95rem; }

.hero-dial { margin: 0; text-align: center; }
#dial { width: min(340px, 78vw); height: auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5)); }
#dial-caption {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--bone-dim);
  max-width: 21rem;
  margin-left: auto;
  margin-right: auto;
}

/* ---------------------------------------------------------------- moment */

.moment {
  width: min(760px, 92vw);
  margin: 6rem auto;
  text-align: center;
}

.section-lede { color: var(--bone-dim); max-width: 36rem; margin-left: auto; margin-right: auto; }

.chips { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.chips li {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(29, 52, 41, 0.65);
  border: 1px solid rgba(242, 237, 224, 0.09);
  font-size: 0.92rem;
}

/* -------------------------------------------------------------- triptych */

.triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  width: min(1120px, 94vw);
  margin: 0 auto 6rem;
}

.panel {
  position: relative;
  min-height: 460px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bank) var(--art) center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.panel:hover { transform: translateY(-6px); }

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 25, 20, 0.05) 30%, rgba(11, 25, 20, 0.92) 82%);
}

.panel-text { position: relative; z-index: 1; padding: 1.6rem; }
.panel-text p { color: var(--bone-dim); font-size: 0.98rem; margin: 0; }

/* --------------------------------------------------------- privacy band */

.privacy-band {
  position: relative;
  background: var(--water) url("/assets/band-gear.jpg") center / cover no-repeat;
  padding: 9rem 0;
}

.privacy-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11, 25, 20, 0.92) 0%, rgba(11, 25, 20, 0.55) 60%, rgba(11, 25, 20, 0.25) 100%);
}

.privacy-inner { position: relative; width: min(1120px, 92vw); margin: 0 auto; max-width: 34rem; margin-left: max(4vw, calc((100vw - 1120px) / 2)); }
.privacy-inner p:last-child { color: var(--bone-dim); }

/* -------------------------------------------------------------------- pro */

.pro { width: min(920px, 92vw); margin: 6rem auto; }

.pro-card {
  border-radius: 26px;
  padding: 2.6rem;
  background:
    linear-gradient(rgba(11, 25, 20, 0.72), rgba(11, 25, 20, 0.72)),
    url("/assets/wicker.jpg") center / 480px repeat;
  border: 1px solid rgba(217, 164, 65, 0.25);
}

.pro-cols { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.4rem; margin-top: 1.4rem; }
.pro-cols h4 { font-family: var(--display); font-size: 1.15rem; margin: 0 0 0.6rem; }
.pro-cols ul { list-style: none; padding: 0; margin: 0; color: var(--bone-dim); }
.pro-cols li { padding: 0.32rem 0 0.32rem 1.5rem; position: relative; }
.pro-cols li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 9px; height: 9px; border-radius: 50%; background: var(--brass); }
.pro-cols > div:first-child li::before { background: var(--moss); }
.price { display: block; color: var(--brass); font-size: 1rem; font-family: var(--body); font-weight: 700; }
.price em { display: block; font-style: normal; font-weight: 400; color: var(--bone-dim); font-size: 0.85rem; }

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

footer { border-top: 1px solid rgba(242, 237, 224, 0.08); padding: 3rem 0 4rem; }
.footer-inner { width: min(1120px, 92vw); margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
footer nav { display: flex; gap: 1.6rem; }
footer nav a { color: var(--bone-dim); text-decoration: none; }
footer nav a:hover { color: var(--brass); }
.fine { color: rgba(242, 237, 224, 0.4); font-size: 0.85rem; }

/* ------------------------------------------------------------ subpages */

.page { width: min(720px, 92vw); margin: 0 auto; padding: 6rem 0 4rem; }
.page h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.page h2 { font-size: 1.35rem; margin-top: 2em; }
.page p, .page li { color: var(--bone-dim); }
.page .back { display: inline-block; margin-bottom: 2.5rem; text-decoration: none; }

/* ----------------------------------------------------------------- motion */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.shown { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  .hero-art { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  #embers { display: none; }
}

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

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 5rem; text-align: left; }
  .hero-dial { order: -1; }
  .triptych { grid-template-columns: 1fr; }
  .panel { min-height: 380px; }
  .pro-cols { grid-template-columns: 1fr; }
  .privacy-inner { margin-left: 4vw; }
}
