:root {
  --ink: #140b06;
  --coffee: #2b1708;
  --coffee-soft: #45270f;
  --cream: #f7e8bd;
  --cream-soft: #fff5d8;
  --gold: #d6aa56;
  --gold-light: #f0cb78;
  --wine: #7f004e;
  --blue: #046f99;
  --leaf: #16472c;
  --white: #fffaf0;
  --display: "Against", "Cormorant Garamond", Georgia, serif;
  --body: "Red Hat Display", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--cream-soft);
  background: #050403;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  color: var(--ink);
  background: var(--gold-light);
}
.skip-link:focus { top: 1rem; }

.site-header { position: relative; background: #061a25; }
.nav {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  width: calc(100% - 24px);
  max-width: 1460px;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
  background: rgba(6, 9, 10, .82);
  border: 1px solid rgba(235, 197, 116, .36);
  box-shadow: 0 16px 45px rgba(0, 0, 0, .2);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
  transition: top .25s ease, min-height .25s ease, background .25s ease, box-shadow .25s ease;
}
.nav.scrolled { top: 7px; min-height: 64px; background: rgba(5, 5, 5, .95); box-shadow: 0 18px 45px rgba(0, 0, 0, .46); }
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: .2em;
}
.brand small {
  display: block;
  margin-top: .08rem;
  font-family: var(--body);
  font-size: .53rem;
  font-weight: 600;
  letter-spacing: .4em;
  text-align: center;
}
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); }
.nav-links a {
  position: relative;
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.4rem;
  width: 0;
  height: 1px;
  background: var(--gold-light);
  transition: width .25s ease;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { width: 100%; }
.nav-cta { border: 1px solid var(--gold); padding: .72rem 1.05rem; }
.nav-cta:hover, .nav-cta:focus-visible { background: var(--gold); color: var(--ink); }
.menu-toggle { display: none; border: 0; background: transparent; padding: .4rem; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--gold-light); }

.hero {
  position: relative;
  width: 100%;
  height: clamp(390px, 35vw, 710px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(214, 170, 86, .08), transparent 58%),
    #050403;
}
.hero-track { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: clamp(5.6rem, 6.4vw, 7rem) clamp(.85rem, 2vw, 2.25rem) clamp(1rem, 2.2vw, 2.4rem);
  opacity: 0;
  pointer-events: none;
  transform: none;
  transition: opacity .8s ease;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; transform: none; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 22px 52px rgba(0, 0, 0, .34));
}
.hero-dots {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 4;
  display: flex;
  gap: .55rem;
  padding: .55rem .65rem;
  background: rgba(5, 4, 3, .54);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.hero-dot {
  width: 2rem;
  height: 4px;
  padding: 0;
  background: rgba(255,255,255,.38);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.hero-dot.is-active { width: 3.2rem; background: var(--gold-light); }
.scroll-cue {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--gold-light);
  font-size: .66rem;
  letter-spacing: .3em;
  transform: translateX(-50%);
}
.scroll-cue span { width: 42px; height: 1px; background: var(--gold-light); }

main { position: relative; }
.intro {
  max-width: 950px;
  margin: 0 auto;
  padding: clamp(6rem, 12vw, 10rem) 1.5rem;
  text-align: center;
}
.eyebrow { margin: 0 0 1rem; color: var(--gold-light); font-size: .75rem; font-weight: 700; letter-spacing: .28em; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 500; line-height: .98; }
h1 { font-size: clamp(4rem, 9vw, 8rem); color: var(--gold-light); }
h2 { font-size: clamp(3rem, 6vw, 5.5rem); }
.intro-copy { max-width: 680px; margin: 1.8rem auto 2rem; font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255, 250, 240, .82); }
.text-link { display: inline-flex; gap: .55rem; align-items: center; padding-bottom: .25rem; border-bottom: 1px solid var(--gold); color: var(--gold-light); font-weight: 600; }

.collection {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 11vw, 11rem) clamp(1.25rem, 6vw, 7rem);
  background:
    radial-gradient(circle at 12% 7%, rgba(127, 0, 78, .18), transparent 28%),
    radial-gradient(circle at 88% 17%, rgba(4, 111, 153, .16), transparent 25%),
    linear-gradient(180deg, #090806, #050403 78%);
}
.collection::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(88%, 1450px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 170, 86, .8), transparent);
  transform: translateX(-50%);
}
.collection-copy { position: relative; max-width: 900px; margin: 0 auto clamp(3rem, 7vw, 6rem); text-align: center; }
.collection-copy h2 { color: var(--gold-light); }
.collection-copy p:last-child { max-width: 720px; margin: 1.5rem auto 0; color: rgba(255,255,255,.76); font-size: 1.05rem; }
.reel-shell { position: relative; max-width: 1180px; margin: 0 auto; }
.collection-instruction {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  color: rgba(255,255,255,.58);
  font-size: .9rem;
  letter-spacing: .03em;
  text-align: center;
}
.coffee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.4vw, 2.4rem);
  width: 100%;
}
.coffee-item {
  min-width: 0;
  perspective: 1400px;
}
.coffee-card {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.coffee-visual {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0b0907;
  border: 0;
  box-shadow: 0 28px 65px rgba(0, 0, 0, .38);
  transform: translateY(0);
  transition: transform .55s cubic-bezier(.2,.72,.2,1), box-shadow .55s ease;
}
.coffee-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 46%, rgba(4, 3, 2, .24) 67%, rgba(4, 3, 2, .88));
  pointer-events: none;
  transition: opacity .45s ease;
}
.coffee-photo,
.label-lift img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.coffee-photo { transition: filter .55s ease, transform .7s cubic-bezier(.2,.72,.2,1); }
.label-lift {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  opacity: 0;
  clip-path: var(--label-clip);
  pointer-events: none;
  transform: translateY(0) scale(1);
  transform-origin: center;
  filter: brightness(1.08) drop-shadow(0 16px 17px rgba(0, 0, 0, .78));
  transition: opacity .2s ease, transform .6s cubic-bezier(.18,.8,.2,1), filter .4s ease;
}
.front-caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding: 1rem 1.1rem;
  color: var(--cream-soft);
  background: rgba(8, 6, 4, .84);
  border: 0;
  backdrop-filter: blur(12px);
  transition: opacity .35s ease, transform .45s ease;
}
.front-caption small { grid-column: 1 / -1; font-size: .72rem; letter-spacing: .2em; opacity: .72; }
.front-caption strong { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 500; line-height: 1; }
.front-caption em { font-size: .78rem; font-style: normal; color: var(--gold-light); }
.inline-profile {
  position: absolute;
  top: 23%;
  right: 4%;
  left: 4%;
  z-index: 5;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: translateY(36%) scale(.42);
  transform-origin: center 68%;
  filter: drop-shadow(0 28px 30px rgba(0,0,0,.78));
  transition: opacity .3s ease, transform .72s cubic-bezier(.16,.82,.18,1);
}
.inline-profile img {
  width: 100%;
  height: auto;
  background: #08243a;
  border: 0;
}
.inline-profile-note {
  display: block;
  width: max-content;
  max-width: 92%;
  margin: .75rem auto 0;
  padding: .58rem .9rem;
  color: var(--cream-soft);
  background: rgba(5,4,3,.82);
  border-radius: 999px;
  font-size: .75rem;
  font-style: normal;
  letter-spacing: .08em;
  text-align: center;
  backdrop-filter: blur(10px);
}
.coffee-card:hover .coffee-visual,
.coffee-card:focus-visible .coffee-visual {
  box-shadow: 0 36px 82px rgba(0, 0, 0, .56);
  transform: translateY(-7px);
}
.coffee-card:hover .coffee-photo { transform: scale(1.018); }
.coffee-card[aria-pressed="true"] .coffee-visual {
  box-shadow: 0 42px 95px rgba(0, 0, 0, .66);
  transform: translateY(-10px);
}
.coffee-card[aria-pressed="true"] .coffee-photo {
  filter: brightness(.34) saturate(.62);
  transform: scale(1.018);
}
.coffee-card[aria-pressed="true"] .coffee-visual::after { opacity: .35; }
.coffee-card[aria-pressed="true"] .label-lift {
  opacity: .56;
  transform: translateY(-14px) scale(1.04);
  filter: brightness(1.12) saturate(1.06) drop-shadow(0 18px 21px rgba(0, 0, 0, .9));
}
.coffee-card[aria-pressed="true"] .inline-profile {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.coffee-card[aria-pressed="true"] .front-caption {
  opacity: 0;
  transform: translateY(130%);
}
.coffee-card-static { cursor: default; }
.coffee-card-static:hover .coffee-visual {
  box-shadow: 0 28px 65px rgba(0, 0, 0, .38);
  transform: none;
}
.coffee-card-static:hover .coffee-photo { transform: none; }
.kit-item .coffee-photo { object-position: 52% center; }
.kit-item .front-caption { grid-template-columns: 1fr; }
.kit-item .front-caption strong {
  grid-column: 1 / -1;
  max-width: 12ch;
  font-size: clamp(1.65rem, 2.7vw, 2.75rem);
}
.kit-item .front-caption em {
  grid-column: 1 / -1;
  margin-top: .65rem;
  font-size: .86rem;
  letter-spacing: .06em;
}
.accent-traditional { --accent: #b87815; --label-clip: inset(46% 48% 17% 17%); }
.accent-green { --accent: #587b32; --label-clip: inset(42% 30% 16% 34%); }
.accent-black { --accent: #d0a24e; --label-clip: inset(43% 30% 16% 35%); }
.accent-blue { --accent: #1089b5; --label-clip: inset(42% 28% 16% 34%); }
.accent-wine { --accent: #a20a67; --label-clip: inset(41% 27% 15% 28%); }
.accent-sidra { --accent: #06749e; --label-clip: inset(51% 32% 14% 29%); }
.accent-geisha { --accent: #c58716; --label-clip: inset(51% 32% 14% 29%); }

.story { width: 100%; overflow: hidden; background: #070604; border: 0; }
.story img { width: 100%; height: auto; }

.moments {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 10vw, 9rem) clamp(1.25rem, 6vw, 7rem);
  background: radial-gradient(circle at 84% 20%, rgba(151, 91, 22, .18), transparent 28%), #080706;
}
.moments::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(88%, 1450px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214,170,86,.75), transparent);
  transform: translateX(-50%);
}
.moments-copy { max-width: 940px; margin: 0 auto clamp(3rem, 6vw, 5.5rem); text-align: center; }
.moments-signature { margin: 0 0 1rem; color: var(--gold-light); font-size: .75rem; font-weight: 700; letter-spacing: .34em; }
.moments-copy h2 { color: var(--gold-light); }
.moments-copy p:last-child { max-width: 680px; margin: 1.5rem auto 0; color: rgba(255,255,255,.76); font-size: 1.05rem; }
.moments-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .72fr);
  align-items: start;
  gap: clamp(1rem, 2.4vw, 2.2rem);
  max-width: 1450px;
  margin: 0 auto;
}
.moment-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 0;
  box-shadow: 0 28px 70px rgba(0,0,0,.36);
}
.moment-photo-wide { height: clamp(340px, 35vw, 510px); margin-top: clamp(1.5rem, 5vw, 4.5rem); }
.moment-photo-tall { height: clamp(480px, 49vw, 680px); }
.moment-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.moment-photo-wide img { object-position: center; }
.moment-photo-tall img { object-position: center 43%; }
.moment-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(5,4,3,.78));
  pointer-events: none;
}
.moment-photo figcaption {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  left: clamp(1rem, 3vw, 2rem);
  z-index: 1;
  color: var(--cream-soft);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.5vw, 2.45rem);
  line-height: 1.02;
}
.moment-photo:hover img { filter: saturate(1.08); transform: scale(1.025); }

.contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 8vw, 9rem);
  background: var(--cream);
  color: var(--ink);
}
.contact .eyebrow { color: #8a5e16; }
.contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; min-width: min(100%, 560px); }
.contact-button { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5.4rem; padding: 1rem 1.15rem; border: 1px solid var(--ink); font-weight: 700; }
.contact-button svg { flex: 0 0 auto; width: 2.6rem; height: 2.6rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.contact-button > span:nth-of-type(1) { flex: 1; }
.contact-button small { display: block; margin-bottom: .1rem; font-size: .62rem; letter-spacing: .18em; opacity: .62; }
.contact-button:hover, .contact-button:focus-visible { background: var(--ink); color: var(--gold-light); }
.contact-email { text-transform: none; }

.whatsapp-float {
  position: fixed;
  right: 1.6rem;
  bottom: max(1.6rem, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 4.35rem;
  padding: .7rem 1.05rem .7rem .8rem;
  color: #fff;
  background: #167c43;
  border: 1px solid rgba(241, 203, 120, .8);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,.48);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover, .whatsapp-float:focus-visible { background: #106b38; box-shadow: 0 22px 55px rgba(0,0,0,.58); transform: translateY(-4px); }
.whatsapp-float svg { flex: 0 0 auto; width: 2.65rem; height: 2.65rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.whatsapp-float > span { display: grid; color: #fff; font-size: .96rem; font-weight: 700; line-height: 1.12; }
.whatsapp-float small { color: #f5d487; font-size: .56rem; letter-spacing: .14em; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: 2rem clamp(1.25rem, 5vw, 5rem); background: #080604; color: rgba(255,255,255,.55); font-size: .8rem; }
footer p:last-child { text-align: right; }
.footer-brand { font-size: 1rem; }
.footer-contact-links { display: flex; align-items: center; gap: .7rem; }
.footer-contact-links a { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; color: var(--gold-light); background: rgba(255,255,255,.045); border-radius: 50%; transition: color .2s ease, background .2s ease, transform .2s ease; }
.footer-contact-links a:hover, .footer-contact-links a:focus-visible { color: var(--ink); background: var(--gold-light); transform: translateY(-2px); }
.footer-contact-links svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }

@media (max-width: 980px) {
  .hero { height: clamp(320px, 43vw, 430px); }
  .hero-slide { padding: 5.25rem .75rem 1.4rem; }
  .coffee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
  .front-caption em { display: none; }
  .kit-item .front-caption em { display: block; }
  .contact-actions { grid-template-columns: 1fr; min-width: min(100%, 390px); }
  .moments-gallery { grid-template-columns: minmax(0, 1.35fr) minmax(240px, .75fr); }
}

@media (max-width: 760px) {
  .nav { top: 8px; width: calc(100% - 16px); min-height: 68px; padding: 0 1rem; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(4, 18, 27, .97);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav-links .nav-cta { margin-top: .8rem; padding: .85rem 1rem; text-align: center; border: 1px solid var(--gold); }
  .hero { height: 245px; }
  .hero-slide { padding: 4.85rem .45rem .8rem; }
  .hero-slide img { object-position: center; }
  .hero-dots { right: 50%; bottom: .35rem; transform: translateX(50%); }
  .hero-dot { width: 1.45rem; }
  .hero-dot.is-active { width: 2.4rem; }
  .scroll-cue { display: none; }
  .coffee-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .coffee-card { aspect-ratio: 3 / 4; }
  .coffee-card .front-caption { left: .75rem; right: .75rem; bottom: .75rem; }
  .inline-profile { top: 22%; right: 3%; left: 3%; }
  .moments-gallery { grid-template-columns: 1fr; }
  .moment-photo-wide { height: 320px; margin-top: 0; }
  .moment-photo-tall { height: 480px; }
  .story img { min-height: 190px; object-fit: cover; object-position: center; }
  .contact { flex-direction: column; align-items: flex-start; }
  .contact-actions { width: 100%; min-width: 0; }
  .whatsapp-float { right: .75rem; bottom: max(.75rem, env(safe-area-inset-bottom)); min-height: 3.9rem; padding: .58rem .82rem .58rem .65rem; }
  .whatsapp-float svg { width: 2.35rem; height: 2.35rem; }
  .whatsapp-float > span { font-size: .86rem; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .brand { justify-self: center; }
  .footer-contact-links { justify-self: center; }
  footer p { margin: 0; }
  footer p:last-child { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
