/* =========================================================
   Mapi Paper Cups — redesign
   Palette taken from the logo: charcoal + cocoa brown,
   on a warm paper/kraft background.
   ========================================================= */
:root {
  --ink: #23252a;
  --charcoal: #33363b;
  --brand: #7d5046;        /* logo brown */
  --brand-dark: #5f3a32;
  --kraft: #c8a27c;
  --gold: #c9a227;
  --paper: #f7f2ea;
  --paper-2: #efe6d8;
  --white: #fffdf9;
  --muted: #6c655d;
  --line: #e2d7c6;
  --eco: #9fcfb1;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(35, 37, 42, .06), 0 12px 32px -12px rgba(35, 37, 42, .18);
  --shadow-lg: 0 30px 60px -25px rgba(60, 35, 25, .35);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.35rem; }
h1 em, h2 em { font-style: italic; color: var(--brand); }
p { margin: 0 0 1em; }
.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .95rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px var(--brand); }
.btn--brand:hover { background: var(--brand-dark); }
.btn--dark { background: var(--charcoal); color: #fff; }
.btn--dark:hover { background: var(--ink); }
.btn--ghost { border-color: var(--charcoal); color: var(--charcoal); }
.btn--ghost:hover { background: var(--charcoal); color: #fff; }
.btn--block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 1rem;
}
.eyebrow--light { color: var(--kraft); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3fa66b; box-shadow: 0 0 0 4px rgba(63,166,107,.18); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 249, .85);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0,0,0,.25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand span { font: 700 1.45rem/1 var(--font-body); letter-spacing: -0.03em; color: var(--charcoal); }
.brand small { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .08em; color: var(--brand); margin-top: 2px; }
.brand--light span { color: #fff; }
.brand--light small { color: var(--kraft); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .3s, top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(40px, 7vw, 90px) 0 clamp(60px, 8vw, 110px);
  background:
    radial-gradient(1200px 500px at 85% 10%, var(--paper-2), transparent 60%),
    linear-gradient(var(--white), var(--paper));
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.5rem; }
.stats { display: grid; grid-template-columns: repeat(3, auto); gap: 2rem; margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 520px; }
.stats dt { font: 600 2rem/1 var(--font-display); color: var(--charcoal); }
.stats dd { margin: .35rem 0 0; font-size: .85rem; color: var(--muted); line-height: 1.35; }

.hero__visual { position: relative; }
.float-card {
  position: absolute; z-index: 2; background: var(--white); border-radius: 16px;
  padding: .8rem 1.1rem; box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.25;
  animation: bob 5s ease-in-out infinite;
}
.float-card strong { font-size: .95rem; }
.float-card span { font-size: .8rem; color: var(--muted); }
.float-card--a { left: -18px; bottom: 14%; }
.float-card--b { right: -10px; bottom: -22px; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Ticker ---------- */
.ticker { background: var(--charcoal); color: var(--paper); overflow: hidden; padding: 16px 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { font: 500 1.05rem/1 var(--font-display); font-style: italic; padding: 0 2rem; white-space: nowrap; display: flex; align-items: center; gap: 2rem; }
.ticker span::after { content: "✦"; font-style: normal; color: var(--kraft); font-size: .8rem; margin-left: 2rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: #eae4da; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 640px; margin-bottom: 3rem; }
.section__head p:last-child { color: var(--muted); }
.section--dark .section__head p:last-child { color: #b8b0a4; }

/* ---------- Size finder ---------- */
.sizes { display: grid; gap: 2rem; }
.sizes__lineup {
  display: flex; align-items: flex-end; justify-content: center; gap: clamp(8px, 2.5vw, 34px);
  padding: 2rem 1rem 0; border-bottom: 2px solid var(--charcoal); min-height: 220px;
}
.cup-btn {
  background: none; border: 0; padding: 0 0 12px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-body); color: var(--muted);
  transition: transform .25s ease;
}
.cup-btn svg { overflow: visible; }
.cup-btn .cup-body { fill: var(--paper-2); stroke: var(--charcoal); stroke-width: 1.5; transition: fill .25s; }
.cup-btn .cup-rim { fill: var(--white); stroke: var(--charcoal); stroke-width: 1.5; }
.cup-btn b { font-size: .95rem; color: var(--charcoal); }
.cup-btn small { font-size: .75rem; }
.cup-btn:hover { transform: translateY(-6px); }
.cup-btn:hover .cup-body { fill: var(--kraft); }
.cup-btn[aria-selected="true"] .cup-body { fill: var(--brand); }
.cup-btn[aria-selected="true"] b { color: var(--brand); }
.cup-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; border-radius: 8px; }

.sizes__detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
  background: var(--paper); border-radius: var(--radius); padding: clamp(16px, 3vw, 40px);
}
.sizes__img { background: #fff; border-radius: var(--radius-sm); overflow: hidden; }
.sizes__img img { transition: opacity .25s; }
.sizes__img img.is-swapping { opacity: 0; }
.sizes__use { font-weight: 700; color: var(--brand); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .4rem; }
.sizes__info h3 { font-size: clamp(2.5rem, 5vw, 3.6rem); margin-bottom: 1.2rem; }
.sizes__info h3 small { font-family: var(--font-body); font-size: 1.1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.spec { width: 100%; border-collapse: collapse; margin-bottom: 1.8rem; }
.spec th, .spec td { text-align: left; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.spec th { font-weight: 500; color: var(--muted); }
.spec td { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Before / After ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .8rem; }
.steps li { counter-increment: s; display: flex; gap: .9rem; align-items: center; }
.steps li::before {
  content: counter(s); flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper-2); color: var(--brand); font-weight: 700; font-size: .9rem;
}
.ba {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  background: #fff; box-shadow: var(--shadow-lg); user-select: none; touch-action: pan-y;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__img--after { clip-path: inset(0 0 0 var(--pos)); }
.ba__tag {
  position: absolute; top: 18px; z-index: 2; padding: .35em .9em; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.ba__tag--before { left: 18px; background: var(--paper-2); color: var(--charcoal); }
.ba__tag--after { right: 18px; background: var(--brand); color: #fff; }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: var(--charcoal); z-index: 2; pointer-events: none;
}
.ba__handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; background: var(--charcoal); color: #fff;
  display: grid; place-items: center; font-weight: 700; box-shadow: var(--shadow);
}
.ba__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0;
  cursor: ew-resize; z-index: 3;
}
.ba:has(.ba__range:focus-visible) .ba__handle span { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #2c2e33; border: 1px solid #3a3d43; border-radius: var(--radius); padding: 2rem;
  transition: transform .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); border-color: var(--kraft); }
.card p { color: #b8b0a4; margin: 0; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--brand);
  display: grid; place-items: center; margin-bottom: 1.5rem;
}
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__stamp {
  position: absolute; right: -16px; bottom: 32px; background: var(--gold); color: var(--ink);
  border-radius: 50%; width: 140px; height: 140px; display: grid; place-content: center; text-align: center;
  box-shadow: var(--shadow-lg); line-height: 1.2;
}
.about__stamp strong { font: 600 2.2rem/1 var(--font-display); }
.about__stamp span { font-size: .75rem; font-weight: 700; padding: 0 18px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.values div { border-top: 2px solid var(--charcoal); padding-top: 1rem; }
.values span { font-weight: 700; color: var(--brand); font-size: .85rem; }
.values h3 { margin: .3rem 0 .4rem; font-size: 1.2rem; }
.values p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Quote form + contact ---------- */
.quote { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.quote__form, .contact { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field span, .chips legend { font-size: .85rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .8em 1em; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(125, 80, 70, .12); }
.field input.is-invalid { border-color: #c0392b; }
.chips { border: 0; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { margin-bottom: .5rem; padding: 0; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; padding: .55em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9rem; font-weight: 600; transition: all .2s; }
.chips input:checked + span { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.chips input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.form-msg { margin: 1rem 0 0; font-weight: 600; min-height: 1.5em; }
.form-msg.ok { color: #2e7d4f; }
.form-msg.err { color: #c0392b; }

.contact h3 { font-size: 1.3rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.contact__list { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact__list li { display: flex; flex-direction: column; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.contact__list span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.contact__list a { font-weight: 700; text-decoration: none; }
.contact__list a:hover { color: var(--brand); }
.open-status { font: 700 .72rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: .45em .8em; border-radius: 999px; }
.open-status.open { background: #dff2e6; color: #23663f; }
.open-status.closed { background: #f6e1dc; color: #9b3a28; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .95rem; }
.hours th, .hours td { padding: .45rem .6rem; text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today { background: var(--paper-2); font-weight: 700; }
.hours tr.today th, .hours tr.today td { font-weight: 700; }
.hours tr.today th:first-child { border-radius: 8px 0 0 8px; }
.hours tr.today td { border-radius: 0 8px 8px 0; }
.map { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16/10; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b8b0a4; padding: 70px 0 30px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.footer h4, .footer .footer__title { font-family: var(--font-body); line-height: 1.4; color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 1rem; }
.footer nav, .footer__grid > div:last-child { display: flex; flex-direction: column; gap: .5rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .brand { margin-bottom: 1rem; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 50px; padding-top: 24px; border-top: 1px solid #3a3d43; font-size: .85rem; }
.footer__bottom a { color: var(--kraft); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid, .ba-grid, .about, .quote, .sizes__detail { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; margin: 2rem auto 0; width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 1rem 16px 1.5rem; box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
    transform: translateY(-10px); opacity: 0; visibility: hidden; transition: all .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 1rem; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .stats { gap: 1rem; }
  .stats dt { font-size: 1.6rem; }
  .values, .field-row { grid-template-columns: 1fr; }
  .values { gap: 1rem; }
  .field-row { gap: 0; }
  .float-card--a { left: 8px; }
  .float-card--b { right: 8px; }
  .about__stamp { right: 8px; width: 110px; height: 110px; }
  .about__stamp strong { font-size: 1.7rem; }
  .sizes__lineup { gap: 6px; padding-inline: 0; }
  .cup-btn b { font-size: .8rem; }
  .cup-btn small { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Image presentation matched to the live site:
   cups are transparent cut-outs sitting directly on the
   section colour — no cards, frames or shadows boxes.
   ========================================================= */
.hero { background: var(--white); }
.hero__cups { width: 100%; mix-blend-mode: multiply; } /* trio photo has a white backdrop, like the live hero */
.float-card--a { left: 0; bottom: 6%; }
.float-card--b { right: 0; bottom: -8px; }

/* Coloured bands: blue cup on blush, Coffee To Go on green */
.band { padding: clamp(56px, 7vw, 90px) 0; }
.band__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.band__cup { width: 100%; max-width: 460px; justify-self: center; filter: drop-shadow(0 24px 30px rgba(0,0,0,.18)); }
.band--blush { background: #f7efed; }
.band--blush h2 { color: var(--brand); }
.band--green { background: #12903f; color: #e8f6ec; }
.band--green h2 { color: #fff; }
.band--green .eyebrow--light { color: #bfe8cc; }
.band--green p { max-width: 36em; }

/* Espresso / Latte / Frappe — same canvas, so real relative sizes */
.section__head--center { text-align: center; margin-inline: auto; }
.drinks { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 2vw, 24px); align-items: end; }
.drink { margin: 0; text-align: center; }
.drink img { width: 100%; mix-blend-mode: multiply; transition: transform .4s ease; }
.drink:hover img { transform: translateY(-8px); }
.drink figcaption { font: 600 clamp(1.05rem, 2vw, 1.5rem)/1.2 var(--font-display); color: var(--brand); margin-top: -4%; }

/* Why choose — Coffee To Go pair cut-out */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.why__cups { width: 100%; }
.why__list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.why__list li { padding-left: 1.6rem; position: relative; color: var(--muted); }
.why__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.why__list b { color: var(--ink); }

/* Before/after uses the live pair (WHITE-CUP-SAME-SIZE → 1-2-1), same framing */
.ba { background: #fff; }

/* About: text + stamp, then factory photo carousel */
.about { grid-template-columns: 1fr auto; }
.about__stamp { position: static; width: 170px; height: 170px; align-self: start; }
.gallery { margin-top: clamp(40px, 6vw, 70px); }
.gallery__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 20px) / 2); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius);
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.gallery__track figure { margin: 0; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-2); }
.gallery__track img { width: 100%; height: 100%; object-fit: cover; }
.gallery__nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.2rem; }
.gallery__btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--charcoal); background: none; cursor: pointer; font-size: 1.1rem; transition: background .2s, color .2s; }
.gallery__btn:hover { background: var(--charcoal); color: #fff; }
.gallery__dots { display: flex; gap: 8px; }
.gallery__dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; transition: width .25s, background .25s; }
.gallery__dots button[aria-current="true"] { width: 26px; border-radius: 5px; background: var(--brand); }

/* Contact card logo (live: Macastena logo jpg) + white footer logo */
.contact__logo { width: 120px; margin-bottom: 1rem; }
.footer__logo { display: inline-block; margin-bottom: 1rem; }
.footer__logo img { width: 110px; }

@media (max-width: 960px) {
  .band__grid, .why { grid-template-columns: 1fr; }
  .band__cup { max-width: 340px; }
  .about { grid-template-columns: 1fr; }
  .about__stamp { display: none; }
}
@media (max-width: 600px) {
  .gallery__track { grid-auto-columns: 88%; }
  .drink figcaption { font-size: .95rem; }
}
.steps li { display: block; position: relative; padding-left: 46px; min-height: 32px; line-height: 32px; }
.steps li::before { position: absolute; left: 0; top: 0; }
/* let the size finder shrink below its content width on phones */
.sizes { grid-template-columns: minmax(0, 1fr); }
.sizes > *, .sizes__detail > * { min-width: 0; }
@media (max-width: 960px) { .sizes__detail { grid-template-columns: minmax(0, 1fr); } }
.cup-btn svg { display: block; }

/* =========================================================
   Multi-page additions (Home / About / Services / Blog / Contact)
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav__cta[aria-current="page"] { background: var(--brand); }

/* Inner page header (live: grey banner with the page title) */
.page-hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
  background:
    radial-gradient(900px 300px at 90% 0%, var(--paper-2), transparent 70%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin: .2em 0 .25em; }
.page-hero .lead { margin: 0; }
.crumbs { display: flex; gap: .6rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--brand); }
.crumbs a:hover { text-decoration: underline; }
.section--tight { padding-top: clamp(48px, 6vw, 80px); }

/* Brown text band (live: About + Services) */
.band--brown { background: var(--brand); color: #f6ece6; }
.band--brown h2 { color: #fff; }
.band--brown b { color: #fff; }
.narrow { max-width: 860px; font-size: 1.15rem; }
.narrow--center { text-align: center; margin-inline: auto; }
.band__tagline { font: italic 500 1.25rem/1.4 var(--font-display); color: #fff; margin: 1.5rem 0 0; }

/* Home: contact block */
.home-contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.home-contact .contact__list { margin-top: 1.5rem; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.post__body { padding: 1.25rem 1.5rem 1.5rem; }
.post time { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.post h2 { font-size: 1.4rem; margin: .4rem 0 0; }

/* Footer: logo / contact / links / subscribe */
.footer__grid { grid-template-columns: 1.3fr 1fr .8fr 1.2fr; }
.footer__grid > div { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.subscribe { display: flex; width: 100%; max-width: 320px; background: #2c2e33; border: 1px solid #3a3d43; border-radius: 999px; padding: 4px; }
.subscribe input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; font: inherit; padding: .55rem .9rem; }
.subscribe input::placeholder { color: #8d867c; }
.subscribe input:focus { outline: none; }
.subscribe:focus-within { border-color: var(--kraft); }
.subscribe button { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; font-size: 1.1rem; cursor: pointer; }
.subscribe button:hover { background: var(--brand-dark); }
.subscribe__msg { font-size: .85rem; color: var(--kraft); min-height: 1.3em; margin: 0; }

@media (max-width: 960px) {
  .home-contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* Size-chart slider (Services) — arrows + dots like the live carousel */
.size-slider { position: relative; background: #fff; border-radius: var(--radius-sm); padding-bottom: 44px; }
.size-slider__viewport { overflow: hidden; border-radius: var(--radius-sm); }
.size-slider__track { display: flex; transition: transform .55s cubic-bezier(.22, .8, .24, 1); }
.size-slider__slide { flex: 0 0 100%; }
.size-slider__slide img { width: 100%; height: auto; display: block; }
.size-slider__arrow {
  position: absolute; top: calc(50% - 22px); transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .9); color: var(--charcoal); font-size: 1.8rem; line-height: 1;
  box-shadow: var(--shadow); display: grid; place-items: center; padding-bottom: 4px;
  transition: background .2s, color .2s;
}
.size-slider__arrow:hover { background: var(--charcoal); color: #fff; }
.size-slider__arrow:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.size-slider__arrow--prev { left: 10px; }
.size-slider__arrow--next { right: 10px; }
.size-slider__dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; }
.size-slider__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; transition: width .25s, background .25s; }
.size-slider__dots button[aria-current="true"] { width: 26px; border-radius: 5px; background: var(--brand); }
.size-slider__dots button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Live-text additions */
.hint { font-size: .9rem; color: var(--muted); font-style: italic; margin: -.25rem 0 1.5rem; }
.why__close { margin: 1.5rem 0 0; font-weight: 600; color: var(--charcoal); }

/* Porosit Builder: generic sections use the brand colours */
:root { --pb-accent: var(--brand); --pb-soft: var(--paper); --pb-dark: var(--ink); }

/* Footer: newsletter box removed -> 3 columns */
.footer__grid { grid-template-columns: 1.4fr 1fr .8fr; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; } }

/* Spam trap field: hidden from people, bots fill it in */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
