/* =====================================================================
   Dandito's Special Saus — "Be Back Soon" landing page
   Self-hosted brand typefaces, no external requests.
   ===================================================================== */

@font-face {
  font-family: 'Oswald';
  src: url('/assets/oswald.woff2') format('woff2');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/assets/dm-sans.woff2') format('woff2');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rye';
  src: url('/assets/rye.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #12100e;
  --ink-2: #1b1512;
  --ink-3: #241c17;
  --cream: #f4ead6;
  --paper: #fff8e8;
  --orange: #ed5f05;
  --orange-deep: #b93308;
  --orange-on-light: #b83f00;
  --yellow: #ffc829;
  --dust: #c9b89b;

  --line-dark: rgba(18, 16, 14, .18);
  --line-light: rgba(244, 234, 214, .16);

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-western: 'Rye', Georgia, serif;

  --shell: min(1280px, calc(100vw - 40px));
  --pad: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--ink);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2 { margin: 0; }
h1, h2 { line-height: .95; }

::selection { background: var(--orange); color: #fff; }

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

.skip-link {
  position: fixed;
  z-index: 999;
  left: 12px;
  top: 12px;
  padding: 12px 18px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: none; }

/* --- film grain over the whole page ---------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

/* --- top bar ---------------------------------------------------------- */
.topbar {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--pad);
  max-width: 100%;
}

.topbar__brand { display: block; width: 44px; flex: none; }
.topbar__brand img { width: 100%; height: auto; }

.topbar__tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dust);
  text-align: right;
}

/* --- hero ------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  padding: 108px 0 48px;
}

.hero__glow {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(900px 620px at 78% 42%, rgba(237, 95, 5, .30), transparent 68%),
    radial-gradient(700px 520px at 12% 82%, rgba(255, 200, 41, .11), transparent 70%),
    radial-gradient(circle at 30% 12%, var(--orange) 0 1px, transparent 1.6px),
    radial-gradient(circle at 82% 68%, var(--orange) 0 1px, transparent 1.6px);
  background-size: auto, auto, 43px 43px, 57px 57px;
  opacity: .85;
  animation: drift 26s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-2%, 2%, 0) scale(1.06); }
}

.hero__inner {
  position: relative;
  width: var(--shell);
  margin-inline: auto;
  display: grid;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dust);
}
.eyebrow__rule { width: 44px; height: 2px; flex: none; background: var(--orange); }

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(58px, 17.5vw, 168px);
  line-height: .82;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero__title span {
  display: block;
  color: var(--orange);
}

.hero__sub {
  margin-top: 20px;
  font-family: var(--font-western);
  font-size: clamp(14px, 3.6vw, 22px);
  line-height: 1.4;
  color: var(--yellow);
}

.hero__body {
  margin-top: 16px;
  max-width: 46ch;
  font-size: clamp(16px, 3.9vw, 19px);
  line-height: 1.55;
  color: #d6c7b0;
}

.hero__product {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
}

.hero__halo {
  position: absolute;
  width: min(84vw, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 95, 5, .40), rgba(237, 95, 5, 0) 62%);
  filter: blur(10px);
  animation: breathe 7s ease-in-out infinite alternate;
}

@keyframes breathe {
  from { transform: scale(.94); opacity: .72; }
  to   { transform: scale(1.06); opacity: 1; }
}

.hero__bottle {
  position: relative;
  width: min(74vw, 330px);
  height: auto;
  filter: drop-shadow(0 34px 54px rgba(0, 0, 0, .62));
  animation: float 6.5s ease-in-out infinite alternate;
}

@keyframes float {
  from { transform: translateY(-9px) rotate(-1.1deg); }
  to   { transform: translateY(9px) rotate(1.1deg); }
}

.stamp {
  position: absolute;
  right: 0;
  bottom: 6%;
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-7deg);
  background: rgba(18, 16, 14, .55);
  backdrop-filter: blur(3px);
}
.stamp span:first-child { font-size: 17px; letter-spacing: .1em; }

/* --- ticker ----------------------------------------------------------- */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line-light);
  background: var(--orange);
  color: var(--ink);
  padding: 13px 0;
}
.ticker__track {
  display: flex;
  gap: 46px;
  width: max-content;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .17em;
  text-transform: uppercase;
  animation: slide 34s linear infinite;
}
.ticker__track span { white-space: nowrap; }
.ticker__track span::after { content: '\2022'; margin-left: 46px; opacity: .55; }

@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- interlude -------------------------------------------------------- */
.interlude {
  background: var(--cream);
  color: var(--ink);
  padding: 64px 0;
  display: grid;
  gap: 38px;
}

.interlude__art {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
.interlude__art img { width: 100%; height: 100%; object-fit: cover; }

.interlude__copy { width: var(--shell); margin-inline: auto; }

.interlude .eyebrow { color: var(--orange-on-light); }
.interlude .eyebrow__rule { background: var(--orange-on-light); }

.interlude__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 9vw, 76px);
  line-height: .9;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.interlude__body {
  margin-top: 20px;
  max-width: 54ch;
  font-size: clamp(16px, 3.9vw, 19px);
  color: #3a322b;
}
.interlude__body + .interlude__body { margin-top: 14px; }

.signature {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 2px solid var(--orange);
  font-family: var(--font-western);
  font-size: clamp(13px, 3.3vw, 17px);
  line-height: 1.5;
  color: var(--orange-on-light);
  text-transform: uppercase;
}

/* --- manifesto -------------------------------------------------------- */
.manifesto {
  background: var(--ink-2);
  padding: 74px 0;
  text-align: center;
  overflow: hidden;
}
.manifesto__inner { width: var(--shell); margin-inline: auto; }
.manifesto__kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--orange);
}
.manifesto__kicker::before { content: '\2605'; margin-right: 10px; }

.manifesto__line {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 7.4vw, 62px);
  line-height: .96;
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: var(--cream);
}

/* --- footer ----------------------------------------------------------- */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--line-light);
  padding: 56px 0 40px;
  text-align: center;
}
.footer__inner { width: var(--shell); margin-inline: auto; }
.footer__logo { width: 116px; margin: 0 auto 22px; }

.footer__line {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dust);
}

.footer__contact {
  margin-top: 14px;
  font-size: 15px;
  color: #d6c7b0;
}
.footer__label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
}
.footer__contact a {
  display: inline-block;
  margin-top: 4px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--orange);
  transition: color .18s ease, border-color .18s ease;
}
.footer__contact a:hover { color: var(--yellow); border-color: var(--yellow); }

.footer__fine {
  margin-top: 26px;
  font-size: 12.5px;
  color: #7d7167;
}

/* --- scroll reveal ---------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   Tablet
   ===================================================================== */
@media (min-width: 700px) {
  :root { --shell: min(1280px, calc(100vw - 72px)); --pad: 30px; }

  .topbar { padding: 26px var(--pad); }
  .topbar__brand { width: 54px; }
  .topbar__tag { font-size: 12.5px; }

  .hero { padding: 132px 0 72px; }
  .hero__product { min-height: 380px; }
  .hero__bottle { width: min(52vw, 420px); }
  .stamp { right: 6%; bottom: 8%; padding: 14px 17px; font-size: 14px; }
  .stamp span:first-child { font-size: 20px; }

  .interlude { padding: 92px 0; gap: 54px; }
  .interlude__art { aspect-ratio: 4 / 3; }

  .manifesto { padding: 104px 0; }
  .footer { padding: 72px 0 52px; }
  .footer__logo { width: 138px; }
}

/* =====================================================================
   Desktop
   ===================================================================== */
@media (min-width: 1000px) {
  .hero__inner {
    grid-template-columns: 1.06fr .94fr;
    gap: 40px;
  }
  .hero__product { min-height: 560px; }
  .hero__bottle { width: min(38vw, 470px); }

  .interlude {
    grid-template-columns: .92fr 1.08fr;
    align-items: center;
    gap: 0;
    padding: 0;
  }
  .interlude__art { height: 100%; min-height: 720px; }
  .interlude__copy { padding: 80px 6vw; max-width: 760px; }
}

/* =====================================================================
   Reduced motion — honour it completely
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .grain { display: none; }
  .reveal { opacity: 1; transform: none; }
}
