:root {
  --bg: #ffffff;
  --bg-2: #fff5ef;
  --band: #fdebe3;
  --line: rgba(20, 20, 20, 0.1);
  --text: #141414;
  --muted: #6e6862;
  --accent: #f4452f;
  --accent-soft: rgba(244, 69, 47, 0.12);
  --sans: "Manrope", system-ui, sans-serif;
  --display: "Comfortaa", "Manrope", sans-serif;
  --pad: clamp(1.5rem, 0.9rem + 3vw, 4.5rem);
  --gap: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --r: 24px;
  --r-sm: 14px;
  --shadow: 0 24px 48px -28px rgba(244, 69, 47, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }

html { overflow-x: clip; font-size: 81.25%; scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; }

.title, .mono {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.title { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); }

/* Steam curls, coffee beans and dots */
.waves {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background: url("../assets/hero-shapes.svg") center / 100% 100% no-repeat;
}

/* Pill buttons, the fill slides in on hover */
.btn, .box-btn, .arrow-btn {
  --fill: var(--text);
  --on-fill: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  background: none;
  color: var(--text);
  cursor: pointer;
  transition: color 0.35s ease;
}

.btn::before, .box-btn::before, .arrow-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fill);
  transform: translateX(-101%);
  transition: transform 0.35s ease;
}

.btn:hover, .box-btn:hover, a:hover .box-btn, .arrow-btn:hover { color: var(--on-fill); }

.btn:hover::before, .box-btn:hover::before, a:hover .box-btn::before,
.arrow-btn:hover::before { transform: none; }

.btn span {
  display: block;
  padding: 0.75rem 1.4rem;
  font-size: clamp(0.69rem, 0.62rem + 0.3vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.btn-alt { --fill: var(--accent); color: var(--accent); }
.btn-solid { --fill: var(--text); border: 2px solid #fff; background: var(--accent); color: #fff; box-shadow: 0 0 0 1.5px var(--accent); }
.btn-light { --fill: #fff; --on-fill: var(--accent); color: #fff; }

.box-btn svg { display: block; width: 76px; height: 38px; padding: 13px 20px; }

/* Loader, the cup fills up like a poured coffee */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--bg);
  clip-path: circle(75% at 50% 50%);
  transition: clip-path 0.8s cubic-bezier(0.7, 0, 0.2, 1);
}

.loader.out { clip-path: circle(0 at 50% 50%); pointer-events: none; }
.loader.quick { transition: opacity 0.3s; }
.loader.quick.out { clip-path: none; opacity: 0; }

.loader-mark { display: grid; justify-items: center; gap: 26px; transition: opacity 0.3s, transform 0.5s; }
.loader.out .loader-mark { opacity: 0; transform: scale(0.9); }

.loader-cup { width: 130px; overflow: visible; }
.loader-line { fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.8s cubic-bezier(0.6, 0, 0.3, 1) forwards; }
.loader-rise { transform: translateY(420px); animation: fill 1s 0.5s cubic-bezier(0.5, 0, 0.3, 1) forwards; }
.loader-wave { fill: var(--accent); animation: wave 1.1s linear infinite; }
.loader-logo { width: 150px; opacity: 0; transform: translateY(10px); animation: rise 0.6s 0.9s ease forwards; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill { to { transform: translateY(-30px); } }
@keyframes wave { to { transform: translateX(300px); } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Header, the wrapper sticks so the bar stays on top on every page */
#header { position: sticky; top: 0; z-index: 50; }

.topbar {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: clamp(0.9rem, 0.7rem + 0.75vw, 1.5rem) var(--pad);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo { grid-column: 1; justify-self: start; }
.logo img { height: clamp(30px, 1.5rem + 1.3vw, 46px); width: auto; }

.burger {
  grid-column: 3;
  justify-self: end;
  padding: 0.9rem 1.7rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(0.95rem, 0.85rem + 0.45vw, 1.2rem);
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s, background 0.35s;
}

/* Same sliding fill as the other buttons */
.burger::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--text);
  transform: translateX(-101%);
  transition: transform 0.35s ease;
}

.burger:hover::before { transform: none; }

/* Header stays above the overlay so the burger becomes the X */
.topbar .logo { transition: opacity 0.3s; }
.nav-open .topbar { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-open .topbar .logo { opacity: 0; pointer-events: none; }
.nav-open .burger { background: #fff; color: var(--accent); }
.nav-open .burger:hover { color: #fff; }

.overlay {
  --origin: calc(100% - var(--pad) - 2.5rem) clamp(42px, 2.5rem + 1.5vw, 70px);
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow-y: auto;
  padding: 50px 20px 60px;
  background: var(--accent);
  color: #fff;
  clip-path: circle(0 at var(--origin));
  transition: clip-path 0.7s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.nav-open { overflow: hidden; }
.nav-open .overlay { clip-path: circle(150% at var(--origin)); }

.overlay-home { display: flex; width: fit-content; margin: 0 auto 40px; }
.overlay-home img { width: 120px; }

.overlay ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; max-width: 760px; margin: 0 auto; padding: 0; list-style: none; }
.overlay ul a { display: grid; place-items: center; min-height: 56px; padding: 6px; transition: color 0.25s; }
.overlay ul a:hover { color: var(--text); }
.overlay ul span { font-family: var(--display); font-weight: 300; font-size: clamp(1.5rem, 6vw, 2.8rem); line-height: 1; text-transform: uppercase; overflow-wrap: break-word; }
.overlay li:nth-child(odd) a { justify-items: start; text-align: left; }
.overlay li:nth-child(even) a { justify-items: end; text-align: right; }
.overlay li:last-child { grid-column: 1 / -1; margin-top: 1.5rem; }
.overlay li:last-child a { justify-items: center; text-align: center; }
.overlay ul .overlay-all span { padding: 1rem 2.2rem; border-radius: 999px; background: #fff; color: var(--accent); font-family: var(--sans); font-weight: 800; font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.2rem); letter-spacing: 0.14em; transition: background 0.25s, color 0.25s; }
.overlay ul .overlay-all:hover span { background: var(--text); color: #fff; }

/* Hero */
.hero { position: relative; overflow-x: clip; display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - var(--head, 80px)); padding: clamp(0.75rem, 0.5rem + 1vw, 1.5rem) var(--pad) clamp(3rem, 2rem + 4vw, 6rem); }

.waves-hero { inset: 6% 0 0; }

.hero-word {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-weight: 500;
  font-size: min(calc((100vw - 2 * var(--pad)) / var(--fit, 9.8)), 10.5rem);
  white-space: nowrap;
  line-height: 0.9;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--accent);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--gap);
}


.hero-product { position: relative; grid-column: 2; width: fit-content; margin-top: calc(-1 * min(3vw, 3rem)); }

/* Soft orange blob that slowly changes shape behind the photo */
.hero-blob {
  position: absolute;
  inset: 6% -14% -8% -12%;
  border-radius: 58% 42% 55% 45% / 48% 60% 40% 52%;
  background: var(--accent);
  animation: morph 12s ease-in-out infinite alternate;
}

@keyframes morph {
  50% { border-radius: 42% 58% 38% 62% / 60% 44% 56% 40%; transform: rotate(6deg); }
  to { border-radius: 52% 48% 62% 38% / 42% 52% 48% 58%; transform: rotate(-4deg); }
}

.hero-product img {
  position: relative;
  z-index: 1;
  width: clamp(240px, 28vw, 420px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 6px solid #fff;
  border-radius: var(--r);
  box-shadow: 0 30px 50px -30px rgba(20, 20, 20, 0.5);
  opacity: 0;
  transform: translateY(16px) rotate(-3deg);
  transition: opacity 0.5s, transform 0.5s;
}

.hero-product img.in { opacity: 1; transform: rotate(-3deg); }

.hero-slider { grid-column: 3; display: grid; gap: 2rem; justify-items: start; }

.slide { display: block; opacity: 0; transition: opacity 0.4s; }
.slide:hover h3 { color: var(--accent); }
.slide.in { opacity: 1; }
.slide h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); line-height: 1; text-transform: uppercase; color: #000; transition: color 0.25s; }
.slide-name { margin-top: 0.6rem; font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.2rem); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #000; }
.slide-desc { margin-top: 0.75rem; max-width: 30ch; color: #000; font-size: 1.05rem; }

.slider-bar { display: flex; align-items: center; gap: 2rem; width: 100%; }
.dashes { display: flex; gap: 6px; }
.dashes button { padding: 10px 0; border: 0; background: none; cursor: pointer; }
.dashes i { display: block; width: 8px; height: 8px; border-radius: 999px; background: var(--accent-soft); transition: width 0.3s, background 0.3s; }
.dashes button:hover i { background: rgba(244, 69, 47, 0.35); }
.dashes .on i { width: 26px; background: var(--accent); }

.arrows { display: flex; gap: 0.75rem; margin-left: auto; }

.arrow-btn { width: 58px; height: 38px; font-size: 1.2rem; line-height: 1; }
.arrows, .hero-slider { isolation: isolate; }

/* Selection, a soft orange band so the white cards stand out */
.selection {
  margin-top: clamp(2rem, 1rem + 3vw, 4rem);
  padding: clamp(3rem, 2rem + 4vw, 5.5rem) var(--pad);
  border-radius: 40px;
  background: var(--band);
}

.selection .title { margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }

.sel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.75rem; }

.sel-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(240px, 22vw, 340px);
  overflow: hidden;
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.35s;
}

.sel-card:hover { transform: translateY(-4px); }

/* Faint cup outline in the corner of each card */
.sel-text::before {
  content: "";
  position: absolute;
  right: -14%;
  bottom: -10%;
  width: 70%;
  aspect-ratio: 600 / 420;
  background: url("../assets/cup-line.svg") center / contain no-repeat;
  pointer-events: none;
  transition: opacity 0.35s;
}

.sel-text { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 0.75rem; padding: clamp(1.1rem, 0.7rem + 1.5vw, 2.25rem); transition: background 0.35s, color 0.35s; }
.sel-card:hover .sel-text, .sel-card:active .sel-text { background: var(--accent); color: #fff; }
.sel-card:hover .sel-text::before { opacity: 0; }
.sel-text h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.3rem); line-height: 1.05; text-transform: uppercase; }
.sel-text p { color: var(--accent); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; transition: color 0.35s; }
.sel-card:hover .sel-text p { color: #fff; }
.sel-text .box-btn { margin-top: auto; align-self: flex-start; }
.sel-card:hover .box-btn { --fill: #fff; color: var(--accent); }

.sel-img { position: relative; overflow: hidden; }
.sel-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.sel-card:hover .sel-img img { transform: scale(1.05); }

/* Scroll sections, each one pinned while it plays */
.fx { position: relative; height: 280svh; margin-top: clamp(4rem, 3rem + 5vw, 8rem); }
.fx-stick { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.fx-title { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 10vw, 9.5rem); line-height: 0.9; white-space: nowrap; }

/* Stack, photos slide away until the last one fills the screen */
.fx-stack { height: 330svh; }
.fx-stack .fx-stick { background: var(--accent); }
.stack { position: absolute; inset: 0; display: grid; place-items: center; isolation: isolate; }
.stack-card:last-child { z-index: -1; }
.stack-card {
  grid-area: 1 / 1;
  width: min(62vw, 340px);
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: var(--r);
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(20, 20, 20, 0.45);
  will-change: transform;
}
.stack-card img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r) - 10px); }
/* Last card, white with the logo and coffee beans, grows to fill the screen */
.stack-brand { display: grid; place-items: center; background: #fff url("../assets/beans.svg") center / 240px repeat; }
.stack-brand img { width: min(60%, 380px); height: auto; border-radius: 0; object-fit: contain; }

.stack-title { position: relative; z-index: 3; color: #fff; text-align: center; text-shadow: 0 6px 30px rgba(20, 20, 20, 0.35); }

/* Ribbon, photo cards slide sideways over a big outlined word */
/* Orange too, so it reads as one block with the stack above */
.fx-ribbon { margin-top: 0; }
.fx-ribbon .fx-stick { background: var(--accent); }
.ribbon-word {
  position: absolute;
  top: 50%;
  left: 0;
  translate: 0 -50%;
  font-family: var(--display);
  font-weight: 700;
  font-size: 34vw;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.4);
  will-change: transform;
}
.ribbon-track { position: absolute; left: 0; top: 50%; display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); padding-inline: var(--pad); translate: 0 -50%; will-change: transform; }
.ribbon-card { flex: none; width: clamp(240px, 30vw, 420px); aspect-ratio: 4 / 5; margin: 0; overflow: hidden; border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(20, 20, 20, 0.45); }
.ribbon-card img { width: 100%; height: 100%; object-fit: cover; }
.ribbon-card:nth-child(even) { translate: 0 6vh; }
.ribbon-text { display: grid; align-content: center; gap: 1rem; padding: 2rem; width: clamp(280px, 40vw, 560px); background: #fff; color: #000; }
.ribbon-logo { width: min(70%, 300px); }
.ribbon-text p { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; }
.ribbon-text .btn { justify-self: start; margin-top: 0.5rem; }

/* Instagram posts, hidden until links are set */
.story-row { display: grid; justify-items: center; padding: clamp(4rem, 3rem + 5vw, 8rem) var(--pad) 0; }
.story-row:has(.insta[hidden]) { display: none; }

.insta { display: grid; gap: 1rem; }
.insta[hidden] { display: none; }
.insta-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.insta-head .title { font-size: clamp(1.4rem, 1.1rem + 1vw, 2.2rem); }

.insta-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.insta-grid::-webkit-scrollbar { display: none; }

/* Same height for every post, the part below the photo is cut off */
.insta-post { position: relative; height: 510px; min-width: 0; overflow: hidden; scroll-snap-align: start; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.insta-post .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.insta-post iframe { min-width: 0 !important; width: 100% !important; border: 0 !important; border-radius: 0 !important; }
.insta-arrows { margin-left: 0; }

/* Footer */
.footer {
  margin-top: clamp(2rem, 1rem + 3vw, 4rem);
  padding: 0 var(--pad) 2rem;
  background: var(--bg);
  color: var(--text);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: 3rem 0 2.5rem;
}

.footer-logo img { width: clamp(110px, 9vw, 150px); }

.footer-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; font-weight: 800; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); letter-spacing: 0.06em; }
.footer-links a { transition: color 0.25s; }
.footer-links a:hover { color: var(--accent); }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }

/* Category page, photo on the left and menu on the right */
.menu-page { display: grid; gap: 1.25rem; padding: 12px 12px 0; }

.menu-hero { position: relative; height: 56svh; min-height: 360px; border-radius: var(--r); overflow: hidden; }
.menu-hero img { width: 100%; height: 100%; object-fit: cover; }
.menu-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20, 20, 20, 0.7)); }

.menu-hero-text { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.75rem; z-index: 1; color: #fff; }
.menu-hero-text small { display: inline-block; margin-bottom: 0.8rem; padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--accent); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.menu-hero-text h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 8vw, 5rem); line-height: 1; text-transform: uppercase; overflow-wrap: break-word; }

.menu-panel {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--head, 70px) - 24px);
  padding: 2rem 1.25rem 1.25rem;
  border-radius: var(--r);
  background: var(--bg);
}

#menu-list { padding-bottom: 2.5rem; }

.group + .group { margin-top: 3.5rem; }

.group-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem);
  text-transform: uppercase;
  color: var(--accent);
}

.group-title::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: var(--accent-soft); }

.dish { display: grid; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.dish:last-child { border-bottom: 0; }
.dish-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-sm); background: var(--bg-2); }

.dish-head { display: flex; align-items: baseline; gap: 0.75rem; }
.dish h4 { font-weight: 700; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); }
.dots { flex: 1; min-width: 16px; }
.dish-price { font-weight: 800; font-size: 1.05rem; color: var(--accent); white-space: nowrap; }
.dish p { margin-top: 0.3rem; font-size: 0.92rem; line-height: 1.5; color: var(--muted); }
.dish .allergens { margin-top: 0.15rem; font-size: 0.78rem; }

.dish.is-out { opacity: 0.45; }
.dish.is-out .dish-price { font-size: 0.85rem; color: var(--muted); }

.frame-note { margin-top: 3rem; text-align: center; font-size: 0.8rem; color: var(--muted); }

.cat-nav { margin-top: auto; padding: 1.25rem 0 0.5rem; }
.cat-nav a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.6rem; border-radius: var(--r); background: var(--accent); color: #fff; transition: background 0.25s; }
.cat-nav a:hover { background: var(--text); }
.cat-nav small { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.3em; }
.cat-nav span { display: inline-flex; align-items: center; gap: 0.75rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 1.1rem + 1.4vw, 2.2rem); text-transform: uppercase; text-align: right; }
.cat-nav svg { flex: none; width: 40px; height: 12px; transition: transform 0.25s; }
.cat-nav a:hover svg { transform: translateX(6px); }

.menu-page + #footer .footer { margin-top: 3rem; }

@media (min-width: 600px) {
  .dish.has-img { grid-template-columns: 150px 1fr; gap: 1.5rem; align-items: start; }
  .dish-img { aspect-ratio: 3 / 2; }
}

@media (min-width: 960px) {
  .menu-page { grid-template-columns: 1fr 1fr; align-items: start; gap: 16px; padding: 16px 16px 0; }
  .menu-hero { position: sticky; top: calc(var(--head, 90px) + 16px); height: calc(100svh - var(--head, 90px) - 32px); }
  .menu-hero-text { left: 3rem; right: 3rem; bottom: 3rem; }
  .menu-panel { min-height: calc(100svh - var(--head, 90px) - 32px); padding: 1.5rem 6% 1.5rem; }
}

/* Tablet */
@media (max-width: 1100px) {
  .sel-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: 0; }
  .sel-img { order: -1; aspect-ratio: 4 / 3; }
  .sel-text { min-height: 170px; }
}

/* Mobile */
@media (max-width: 760px) {

  .hero { padding: clamp(2rem, 1.4rem + 2.5vw, 4rem) var(--pad) 4rem; }
  .waves-hero { background-image: url("../assets/hero-shapes-mobile.svg"); }
  .hero-grid { grid-template-columns: 1fr; justify-items: center; }
  .hero-product, .hero-slider { grid-column: auto; }
  .hero-product { order: 1; margin-top: 2.5rem; }
  .hero-word { --fit: 9; }
  .fx-title { font-size: 9vw; }
  .hero-slider { order: 2; width: 100%; margin-top: 2.5rem; }
    .hero-product img { width: 68vw; }

  .selection { padding-block: 6rem 5rem; }

  .sel-grid {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 72%;
    column-gap: 1.25rem;
    margin-inline: calc(-1 * var(--pad));
    padding-inline: var(--pad);
    overflow-x: auto;
    padding-top: 0.5rem;
    padding-bottom: 2.5rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .sel-grid::-webkit-scrollbar { display: none; }
  .sel-card { scroll-snap-align: start; }

  .insta { order: 1; max-width: 360px; width: 100%; justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .hero-blob, .loader-wave { animation: none; }
  .loader-line, .loader-rise, .loader-logo { animation: none; stroke-dashoffset: 0; opacity: 1; transform: none; }
}
