/* ==========================================================================
   Tipsy Tinnies — styles
   Tokens are pulled from the brand: the logo's black and pink, and the six
   can colours. Layout follows the Sip Elixirs reference section for section.
   ========================================================================== */

:root {
  /* Brand */
  --ink: #1d1a15;          /* logo black */
  --paper: #fbf8f3;        /* off-white section base */
  --white: #ffffff;
  --pink: #e0326b;         /* the glass in the logo */
  --pink-button: #d1225c;  /* same hue, darkened for AA with white text */
  --pink-on-ink: #ff5c8f;  /* pink that reads on the black bands */
  --muted: #5b5650;

  /* Flavour inks (text-safe on paper) and tints (card backgrounds) */
  --daiquiri: #a9141d;   --daiquiri-tint: #f6e1e1;
  --pornstar: #b0601c;   --pornstar-tint: #f7e6d6;
  --espresso: #3a2419;   --espresso-tint: #ebe2dc;
  --pina: #8a6a1c;       --pina-tint: #f7efd2;
  --margarita: #5e7b47;  --margarita-tint: #e6ecdd;
  --cosmo: #a33a68;      --cosmo-tint: #f6e2ec;

  /* Type */
  --font-display: "Archivo", "Arial Narrow", Impact, sans-serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --container: 1320px;
  --gutter: 16px;
  --section: 64px;
  --radius: 14px;
  --radius-lg: 24px;
  --nav-h: 72px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section: 96px; --nav-h: 84px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 48px; --section: 120px; }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;      /* 17px */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--gutter); top: -100px;
  z-index: 100; padding: 10px 16px;
  background: var(--ink); color: var(--white);
  font-weight: 700; text-decoration: none; border-radius: 6px;
}
.skip:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 78%;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.96;
  font-size: clamp(2.25rem, 1.5rem + 3.2vw, 4rem);
}
.section-title--center { text-align: center; }

.section-lead {
  margin-top: 12px;
  font-size: 1.125rem;
  max-width: 34em;
}
.section-lead--center { margin-inline: auto; text-align: center; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .section-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 44px;
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.button--pink {
  background: var(--pink-button);
  color: var(--white);
}
.button--pink:hover { background: var(--ink); }
.button--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.button--ghost:hover { background: var(--ink); color: var(--white); }

/* --------------------------------------------------------------------------
   Banner + header
   -------------------------------------------------------------------------- */

.banner__more { display: none; }
@media (min-width: 560px) { .banner__more { display: inline; } }
.banner {
  background: var(--pink-button);
  color: var(--white);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 8px var(--gutter);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid rgba(29, 26, 21, 0.08);
}
.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.header__logo img {
  width: auto;
  height: 44px;
  mix-blend-mode: multiply;   /* the logo file has a white ground */
}
@media (min-width: 768px) { .header__logo img { height: 52px; } }

.header__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px; height: 48px;
  padding: 0 10px;
  border: 0; background: none;
  cursor: pointer;
}
.header__toggle-bar {
  display: block;
  height: 3px; width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease;
}
.header__toggle[aria-expanded="true"] .header__toggle-bar:first-child { transform: translateY(4.5px) rotate(45deg); }
.header__toggle[aria-expanded="true"] .header__toggle-bar:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.nav {
  display: none;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--white);
  border-bottom: 1px solid rgba(29, 26, 21, 0.08);
  padding: 12px var(--gutter) 24px;
}
.nav--open { display: block; }
.nav__list a {
  display: block;
  padding: 12px 0;
  font-family: var(--font-display);
  font-stretch: 85%;
  font-weight: 800;
  font-size: 1.375rem;
  text-transform: uppercase;
  text-decoration: none;
}
.nav__cta { margin-top: 12px; }

@media (min-width: 1024px) {
  .header__toggle { display: none; }
  .nav {
    display: flex;
    position: static;
    align-items: center;
    gap: 32px;
    background: none;
    border: 0;
    padding: 0;
    flex: 1;
    justify-content: flex-end;
  }
  .nav__list { display: flex; gap: 28px; margin-right: auto; margin-left: auto; }
  .nav__list a {
    padding: 8px 0;
    font-size: 1.0625rem;
    letter-spacing: 0.02em;
    border-bottom: 2px solid transparent;
  }
  .nav__list a:hover { border-bottom-color: var(--pink); }
  .nav__cta { margin: 0; }
}

/* --------------------------------------------------------------------------
   Hero
   The copy sits over the photo at every width. On phones the crop is pushed
   to the right so the tin stays in frame.
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.hero__img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  max-height: 88vh;
  object-fit: cover;
  object-position: 78% 50%;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(29,26,21,.88) 0%, rgba(29,26,21,.45) 50%, rgba(29,26,21,.05) 75%);
}
.hero__inner {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter) 36px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 78%;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
  font-size: clamp(2.75rem, 1.5rem + 4.6vw, 5.25rem);
  max-width: 8.5em;
}
.hero__text {
  margin-top: 18px;
  max-width: 34em;
  font-size: 1.0625rem;
  line-height: 1.55;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.hero .button--ghost { color: var(--white); border-color: var(--white); }
.hero .button--ghost:hover { background: var(--white); color: var(--ink); }

@media (min-width: 900px) {
  .hero__img { min-height: 640px; object-position: 50% 50%; }
  .hero::after {
    background:
      linear-gradient(to right, rgba(29,26,21,.82) 0%, rgba(29,26,21,.55) 36%, rgba(29,26,21,0) 60%),
      linear-gradient(to top, rgba(29,26,21,.5) 0%, rgba(29,26,21,0) 40%);
  }
  .hero__inner {
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 0;
  }
  .hero__title, .hero__text, .hero__actions { max-width: min(46%, 640px); }
  .hero__text { font-size: 1.1875rem; }
}

/* --------------------------------------------------------------------------
   Benefits strip (scrolling, like the marquee further down)
   -------------------------------------------------------------------------- */

.strip {
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding-block: 18px;
  font-family: var(--font-display);
  font-stretch: 80%;
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  line-height: 1;
}
.strip__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.strip__track li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.strip__track li::after {
  content: "";
  width: 8px; height: 8px;
  margin: 0 26px;
  border-radius: 50%;
  background: var(--pink-on-ink);
}
@media (min-width: 1024px) {
  .strip { font-size: 1.5rem; padding-block: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .strip__track { animation: none; }
}

/* --------------------------------------------------------------------------
   How to serve
   -------------------------------------------------------------------------- */

.how {
  background: var(--white);
  padding-block: var(--section);
}
.how__steps {
  display: grid;
  gap: 32px;
  margin-top: 40px;
  counter-reset: step;
}
.how__step {
  text-align: center;
  counter-increment: step;
}
.how__step img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.how__step h3 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-stretch: 80%;
  font-weight: 900;
  font-size: 1.75rem;
  text-transform: uppercase;
  line-height: 1;
}
.how__step h3::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  font-size: 1rem;
  vertical-align: 4px;
}
.how__step p {
  margin: 10px auto 0;
  max-width: 26em;
  color: var(--muted);
}
@media (min-width: 768px) {
  .how__steps { grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
}

/* --------------------------------------------------------------------------
   The range
   -------------------------------------------------------------------------- */

.range {
  background: var(--paper);
  padding-block: var(--section);
}
.range__grid {
  display: grid;
  gap: 20px;
}
.card {
  --tint: var(--paper);
  --flavour: var(--ink);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 42%;
  min-height: 260px;
  background: var(--tint);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card__body {
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.card h3 {
  font-family: var(--font-display);
  font-stretch: 78%;
  font-weight: 900;
  font-size: 2rem;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--flavour);
}
.card p { color: var(--ink); max-width: 20em; flex: 1; }
.card__link {
  font-weight: 800;
  text-decoration: none;
  color: var(--flavour);
  border-bottom: 2px solid currentColor;
  padding-bottom: 1px;
}
.card__link:hover { color: var(--ink); }
.card__media {
  position: relative;
  min-height: 220px;
}
.card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card--daiquiri  { --tint: var(--daiquiri-tint);  --flavour: var(--daiquiri); }
.card--pornstar  { --tint: var(--pornstar-tint);  --flavour: var(--pornstar); }
.card--espresso  { --tint: var(--espresso-tint);  --flavour: var(--espresso); }
.card--pina      { --tint: var(--pina-tint);      --flavour: var(--pina); }
.card--margarita { --tint: var(--margarita-tint); --flavour: var(--margarita); }
.card--cosmo     { --tint: var(--cosmo-tint);     --flavour: var(--cosmo); }

@media (min-width: 640px) {
  .range__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .range__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .card { min-height: 320px; }
  .card__body { padding: 30px 26px; }
  .card h3 { font-size: 2.25rem; }
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding-block: 14px;
  font-family: var(--font-display);
  font-stretch: 78%;
  font-weight: 900;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  text-transform: uppercase;
  line-height: 1;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__track span { padding-inline: 0.6em; white-space: nowrap; }
.marquee em { font-style: normal; color: var(--pink-on-ink); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* --------------------------------------------------------------------------
   Classes & events (carousel)
   -------------------------------------------------------------------------- */

.events {
  background: var(--paper);
  padding-block: var(--section);
}
.events__inner {
  display: grid;
  gap: 36px;
}
.events__intro .button { margin-top: 24px; }
.rail__controls {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}
.rail__btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.rail__btn:hover { background: var(--ink); color: var(--white); }

.rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
.rail__card {
  flex: 0 0 min(82%, 340px);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 6px solid var(--pink);
}
.rail__card h3 {
  font-family: var(--font-display);
  font-stretch: 80%;
  font-weight: 900;
  font-size: 1.625rem;
  line-height: 1;
  text-transform: uppercase;
}
.rail__card p { color: var(--ink); flex: 1; }
.rail__meta { flex: 0 !important; color: var(--muted); font-weight: 700; font-size: 0.9375rem; }

@media (min-width: 1024px) {
  .events__inner { grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
  .rail { margin-inline: 0; padding-inline: 0; }
  .rail__card { flex-basis: min(48%, 360px); }
}

/* --------------------------------------------------------------------------
   Tinnies 101
   -------------------------------------------------------------------------- */

.hundred {
  display: grid;
  background: var(--white);
}
.hundred__media img {
  width: 100%;
  aspect-ratio: 1200 / 1020;
  object-fit: cover;
  object-position: 50% 50%;
}
.hundred__content {
  padding: var(--section) var(--gutter);
}
.hundred__content .section-title { margin-bottom: 28px; }

@media (min-width: 900px) {
  .hundred { grid-template-columns: 1fr 1fr; }
  .hundred__media { position: relative; min-height: 560px; max-height: 680px; }
  .hundred__media img {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
    border-top-right-radius: 120px;
  }
  .hundred__content {
    align-self: center;
    padding-inline: clamp(32px, 6vw, 96px);
  }
}

/* --------------------------------------------------------------------------
   Accordion (shared by 101 and FAQ)
   -------------------------------------------------------------------------- */

.accordion { display: grid; gap: 10px; }
.accordion--center { max-width: 760px; margin-inline: auto; }

.acc {
  background: var(--paper);
  border-radius: 999px;
  overflow: hidden;
}
.acc[open] { border-radius: 28px; }
.acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  font-family: var(--font-display);
  font-stretch: 80%;
  font-weight: 800;
  font-size: 1.125rem;
  text-transform: uppercase;
  min-height: 56px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+";
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.125rem;
  transition: transform .2s ease;
}
.acc[open] summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 22px 20px; color: var(--ink); }
.acc__body p { max-width: 42em; }

.faq .acc { background: var(--white); }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: calc(var(--section) + 24px) var(--gutter) var(--section);
  margin-top: -1px;
  overflow-x: clip;
}
.about::before {
  /* curved top edge, like the reference */
  content: "";
  position: absolute;
  left: -10%; right: -10%; top: -36px;
  height: 72px;
  background: var(--ink);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.about__inner {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  display: grid;
  gap: 20px;
  justify-items: center;
}
.about__inner p { font-size: 1.0625rem; line-height: 1.65; }
.about .button--pink { margin-top: 8px; }
.about .button--pink:hover { background: var(--white); color: var(--ink); }

/* --------------------------------------------------------------------------
   Lifestyle
   -------------------------------------------------------------------------- */

.lifestyle { margin: 0; background: var(--ink); }
.lifestyle img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  background: var(--paper);
  padding-block: var(--section);
}
.faq__inner {
  display: grid;
  gap: 32px;
  justify-items: center;
}
.faq .accordion { width: 100%; }

/* --------------------------------------------------------------------------
   Serving suggestions
   -------------------------------------------------------------------------- */

.serve {
  background: var(--white);
  padding-block: var(--section);
}
.serve__grid {
  display: grid;
  gap: 24px;
  margin-top: 36px;
}
.serve__card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.serve__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.serve__tags span {
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid rgba(29,26,21,.12);
}
.serve__name {
  margin-top: 10px;
  font-family: var(--font-display);
  font-stretch: 78%;
  font-weight: 900;
  font-size: 1.625rem;
  line-height: 0.95;
  text-transform: uppercase;
}
.serve__name--daiquiri  { color: var(--daiquiri); }
.serve__name--pornstar  { color: var(--pornstar); }
.serve__name--pina      { color: var(--pina); }
.serve__name--margarita { color: var(--margarita); }

@media (min-width: 640px) {
  .serve__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .serve__grid { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   Footer + contact form
   -------------------------------------------------------------------------- */

.footer {
  background: var(--ink);
  color: var(--white);
  padding-top: var(--section);
}
.footer__inner {
  display: grid;
  gap: 40px;
}
.footer__intro { display: grid; gap: 16px; align-content: start; }
.footer__intro p { max-width: 32em; }
.footer__place {
  margin-top: 12px;
  font-family: var(--font-display);
  font-stretch: 80%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--pink-on-ink);
}

.form {
  display: grid;
  gap: 16px;
  justify-items: start;
}
.form__row { display: grid; gap: 6px; width: 100%; }
.form label { font-weight: 700; font-size: 0.9375rem; }
.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: var(--white);
  font: inherit;
}
.form select { appearance: none; }
.form select option { color: var(--ink); }
.form textarea { resize: vertical; }
.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible {
  outline-color: var(--pink-on-ink);
  border-color: var(--pink-on-ink);
}
.footer .button--pink:hover { background: var(--white); color: var(--ink); }

.footer__bottom {
  margin-top: var(--section);
  padding-block: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  font-size: 0.9375rem;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__links a { text-decoration: none; font-weight: 700; }
.footer__links a:hover { color: var(--pink-on-ink); }
.footer__legal { margin-left: auto; color: rgba(255,255,255,.6); }

@media (min-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1.2fr; gap: 72px; }
}

/* Anchored sections land below the sticky header */
[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }

/* Print-safe / small screens: keep long words from overflowing */
.hero__title, .section-title { overflow-wrap: anywhere; }
