* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--cream); }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(143, 178, 207, .22), transparent 26rem),
    linear-gradient(180deg, #fffaf4 0%, #f5ede5 55%, #fffaf4 100%);
  font-family: var(--font-body);
}
body.no-scroll,
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button,
input,
textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--knot-blue); color: white; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--knot-blue);
  transition: opacity .62s var(--ease), visibility .62s var(--ease);
}
.loader img {
  width: min(250px, 52vw);
  filter: drop-shadow(0 18px 36px rgba(44, 70, 91, .18));
  animation: logoBreath 1.2s var(--ease) infinite alternate;
}
.loader.is-done { opacity: 0; visibility: hidden; }

.site-header {
  position: fixed;
  z-index: 90;
  top: 16px;
  left: 50%;
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto minmax(110px, 1fr);
  align-items: center;
  width: min(calc(100% - 32px), 1120px);
  min-height: 76px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  background: rgba(132, 166, 195, .96);
  box-shadow: 0 18px 56px rgba(45, 64, 80, .22);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}
.drawer-button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  transition: transform .2s var(--ease), background .2s ease;
}
.drawer-button:hover { transform: translateY(-1px); background: rgba(255,255,255,.18); }
.drawer-button span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: white;
  transition: transform .22s ease, opacity .22s ease;
}
.drawer-button.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.drawer-button.is-open span:nth-child(2) { opacity: 0; }
.drawer-button.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(150px, 18vw, 214px);
}
.brand img { width: 100%; }
.header-search {
  justify-self: end;
  position: relative;
  display: block;
  width: min(260px, 100%);
}
.header-search span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.header-search input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  padding: 0 18px;
  outline: none;
  color: white;
  background: rgba(255,255,255,.12);
  font-size: 13px;
  font-weight: 750;
}
.header-search input::placeholder { color: rgba(255,255,255,.76); }
.header-search input:focus {
  border-color: white;
  background: rgba(255,255,255,.18);
  box-shadow: 0 0 0 4px rgba(255,255,255,.12);
}
.nav-links {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: grid;
  gap: 6px;
  width: min(270px, calc(100vw - 34px));
  padding: 12px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s var(--ease), visibility .22s var(--ease), transform .22s var(--ease);
}
.nav-links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-radius: 16px;
  padding: 0 16px;
  color: var(--knot-blue-ink);
  font-size: 14px;
  font-weight: 850;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-links a:hover,
.nav-links a.is-active {
  color: white;
  background: var(--knot-blue);
  transform: translateX(2px);
}
.site-header.is-scrolled { box-shadow: 0 18px 60px rgba(45, 64, 80, .28); }

.hero {
  width: min(100%, 1280px);
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: start;
  margin: 0 auto;
  padding: 122px 18px 58px;
  background:
    radial-gradient(circle at 92% 18%, rgba(255,255,255,.3), transparent 24rem),
    linear-gradient(180deg, #9dbdd6 0%, #86adcb 58%, #f8f0e8 100%);
  border-radius: 0 0 44px 44px;
}
.hero__image-shell {
  position: relative;
  overflow: hidden;
  width: min(100%, 1040px);
  height: clamp(360px, 48vw, 620px);
  justify-self: center;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 34px;
  background: var(--mist);
  box-shadow: var(--shadow);
}
.hero__slides,
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slide {
  opacity: 0;
  transition: opacity .8s var(--ease), transform 5s ease;
  transform: scale(1.04);
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(26, 21, 18, .34));
}
.hero-slide span {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 22px;
  color: white;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .02em;
}
.hero__copy {
  display: grid;
  gap: 18px;
  justify-items: start;
  align-content: end;
  width: min(100%, 1040px);
  justify-self: center;
  min-height: auto;
  padding: clamp(14px, 3vw, 34px) 4px 0;
}
.hero__brandmark {
  width: min(340px, 72vw);
  filter: drop-shadow(0 16px 34px rgba(50, 76, 96, .22));
}
.hero__line {
  max-width: 930px;
  margin: 0;
  color: white;
  font-family: var(--font-display);
  font-size: clamp(58px, 9.4vw, 124px);
  font-style: italic;
  line-height: 1;
  text-wrap: balance;
  text-shadow: 0 18px 46px rgba(45, 68, 86, .2);
}
.hero__subline {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.95);
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.42;
}
.hero__details {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.hero__details span {
  border: 1px solid rgba(143,178,207,.36);
  border-radius: 999px;
  padding: 10px 13px;
  color: white;
  background: rgba(255,255,255,.16);
  font-size: 12px;
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.knot-button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 999px;
  padding: 0 28px;
  color: white;
  background: rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 18px 44px rgba(58, 85, 105, .16);
  font-size: 15px;
  font-weight: 900;
  overflow: hidden;
  transition: transform .24s var(--ease), box-shadow .24s ease, background .24s ease;
}
.knot-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.38) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .52s var(--ease);
}
.knot-button:hover,
.knot-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 24px 54px rgba(58, 85, 105, .24);
  outline: none;
}
.knot-button:hover::after,
.knot-button:focus-visible::after {
  transform: translateX(120%);
}
.knot-button--light {
  color: var(--knot-blue-ink);
  background: white;
}

.menu-section,
.contact-section {
  scroll-margin-top: 116px;
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 76px 18px;
}
.section-heading {
  display: grid;
  justify-items: center;
  text-align: center;
  margin-bottom: 28px;
}
.section-heading img {
  width: min(240px, 58vw);
  margin-bottom: 12px;
}
.section-heading h1,
.section-heading h2 {
  margin: 0;
  color: var(--knot-blue-ink);
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 400;
  line-height: .9;
}
.section-heading p {
  max-width: 920px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2.4vw, 30px);
  font-weight: 750;
  line-height: 1.45;
  text-wrap: balance;
}
.section-heading--menu {
  margin-bottom: 34px;
  padding-top: 8px;
}
.section-heading--menu img {
  width: min(280px, 58vw);
  margin-bottom: 22px;
}
.section-heading--menu h1 {
  color: var(--cocoa);
  font-size: clamp(72px, 9vw, 118px);
}

.menu-board {
  overflow: hidden;
  border: 1px solid rgba(143,178,207,.42);
  border-radius: 32px;
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
}
.category-tabs {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 16px;
  background: linear-gradient(90deg, rgba(143,178,207,.98), rgba(117,154,185,.98));
  scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  padding: 0 17px;
  color: white;
  background: rgba(255,255,255,.1);
  font-size: 13px;
  font-weight: 850;
  transition: transform .18s var(--ease), background .18s ease, color .18s ease;
}
.category-tab:hover { transform: translateY(-1px); background: rgba(255,255,255,.18); }
.category-tab.is-active {
  color: var(--knot-blue-ink);
  background: white;
}
.menu-meta {
  padding: 18px 20px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}
.product-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  height: 214px;
  overflow: hidden;
  border: 1px solid rgba(47,52,56,.1);
  border-radius: 22px;
  background: white;
  box-shadow: 0 12px 28px rgba(42, 50, 57, .07);
  opacity: 0;
  transform: translateY(10px);
  animation: cardIn .38s var(--ease) forwards;
  transition: transform .2s var(--ease), box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover {
  border-color: rgba(143,178,207,.78);
  box-shadow: 0 18px 44px rgba(42, 50, 57, .12);
  transform: translateY(-3px);
}
.product-card__media {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.product-card__image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.product-card:hover .product-card__image { transform: none; }
.product-card__body {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 9px;
  overflow: hidden;
  padding: 17px 17px 17px 0;
}
.product-card__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}
.product-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.18;
}
.price {
  color: var(--coffee);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.product-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag-row span {
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--knot-blue-ink);
  background: rgba(143,178,207,.16);
  font-size: 11px;
  font-weight: 850;
}
.detail-link {
  justify-self: start;
  border: 0;
  padding: 0;
  color: var(--knot-blue-ink);
  background: transparent;
  font-size: 13px;
  font-weight: 900;
}
.empty-state {
  grid-column: 1 / -1;
  min-height: 180px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(143,178,207,.62);
  border-radius: 22px;
  color: var(--muted);
  background: rgba(143,178,207,.08);
  font-weight: 850;
  text-align: center;
}

.contact-card {
  display: grid;
  grid-template-columns: .8fr .9fr 1fr;
  gap: clamp(18px, 3vw, 36px);
  align-items: stretch;
  border: 1px solid rgba(143,178,207,.42);
  border-radius: 32px;
  padding: clamp(22px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(238,245,249,.9)),
    white;
  box-shadow: var(--shadow);
}
.contact-brand {
  display: grid;
  align-content: center;
  gap: 20px;
}
.contact-brand img { width: min(260px, 100%); }
.contact-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.contact-details {
  display: grid;
  align-content: center;
  gap: 10px;
  color: var(--text);
  font-weight: 780;
}
.contact-details p { margin: 0; color: var(--muted); line-height: 1.55; }
.contact-details > a {
  color: var(--knot-blue-ink);
  font-weight: 900;
  overflow-wrap: anywhere;
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 8px;
}
.contact-links a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(143,178,207,.38);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--knot-blue-ink);
  background: white;
  font-size: 13px;
  font-weight: 900;
  transition: transform .18s var(--ease), box-shadow .18s ease, background .18s ease, color .18s ease;
}
.contact-links a:hover,
.button:hover {
  color: white;
  background: var(--knot-blue);
  box-shadow: 0 12px 28px rgba(77, 103, 124, .18);
  transform: translateY(-2px);
}
.message-form {
  display: grid;
  gap: 12px;
}
.message-form label {
  display: grid;
  gap: 7px;
}
.message-form span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.message-form input,
.message-form textarea {
  width: 100%;
  border: 1px solid rgba(47,52,56,.12);
  border-radius: 18px;
  padding: 13px 14px;
  outline: none;
  color: var(--text);
  background: rgba(255,255,255,.82);
  resize: vertical;
}
.message-form input:focus,
.message-form textarea:focus {
  border-color: var(--knot-blue);
  box-shadow: 0 0 0 4px rgba(143,178,207,.18);
}
.message-form .button {
  justify-self: start;
  border: 0;
  color: white;
  background: var(--knot-blue-ink);
}

.story-page {
  width: min(100%, var(--container));
  min-height: calc(100svh - 110px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .8fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  margin: 0 auto;
  padding: 128px 18px 70px;
}
.story-page__image {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.story-page__image img {
  width: 100%;
  aspect-ratio: .82;
  object-fit: cover;
}
.story-page__copy {
  position: relative;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(143,178,207,.34);
  border-radius: 34px;
  padding: clamp(26px, 5vw, 56px);
  background: rgba(255,255,255,.82);
  box-shadow: var(--soft-shadow);
}
.story-page__copy::before {
  content: "";
  width: 72px;
  height: 2px;
  margin: 2px 0 4px;
  border-radius: 999px;
  background: var(--knot-blue);
}
.story-page__copy img { width: min(300px, 80vw); }
.story-page__copy h1 {
  margin: 0;
  color: var(--knot-blue-ink);
  font-family: var(--font-display);
  font-size: clamp(50px, 7vw, 86px);
  font-style: italic;
  font-weight: 400;
  line-height: .9;
}
.story-page__copy .story-page__lead {
  max-width: 29ch;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 38px);
  font-style: italic;
  line-height: 1.08;
}
.story-page__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, visibility .24s ease;
}
.product-modal.is-open { opacity: 1; visibility: visible; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 23, 20, .56);
  backdrop-filter: blur(10px);
}
.modal-panel {
  position: relative;
  width: min(880px, 100%);
  overflow: hidden;
  border-radius: 28px;
  background: white;
  box-shadow: 0 32px 120px rgba(0,0,0,.32);
  transform: translateY(14px) scale(.98);
  transition: transform .28s var(--ease);
}
.product-modal.is-open .modal-panel { transform: none; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: rgba(255,255,255,.84);
  font-size: 26px;
}
.modal-content {
  display: grid;
  grid-template-columns: 1fr .95fr;
}
.modal-media,
.modal-media > img:first-child {
  min-height: 500px;
}
.modal-media {
  display: grid;
  place-items: center;
  background: var(--mist);
  padding: 16px;
}
.modal-media > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.modal-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(28px, 5vw, 54px);
}
.modal-logo { width: 138px; }
.modal-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 400;
  line-height: .94;
}
.modal-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.modal-price {
  color: var(--coffee);
  font-size: 22px;
  font-weight: 900;
}

.footer {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 34px 18px;
  color: white;
  background: var(--knot-blue);
  text-align: center;
}
.footer img { width: min(190px, 52vw); }
.footer span { font-size: 13px; font-weight: 850; opacity: .84; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes logoBreath { to { transform: translateY(-5px) scale(1.01); } }
@keyframes cardIn { to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 54px 1fr 190px;
  }
  .brand { justify-self: center; }
  .hero {
    padding-top: 116px;
  }
  .hero__image-shell { height: min(58svh, 560px); }
  .contact-card,
  .story-page,
  .modal-content {
    grid-template-columns: 1fr;
  }
  .modal-media,
  .modal-media > img:first-child { min-height: 340px; }
}

@media (max-width: 700px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 64px;
    grid-template-columns: 46px 1fr 46px;
    gap: 8px;
    padding: 9px 10px;
  }
  .drawer-button { width: 44px; }
  .brand { width: 134px; }
  .header-search {
    width: 44px;
    height: 44px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.36);
    border-radius: 50%;
  }
  .header-search::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 14px;
    width: 12px;
    height: 12px;
    border: 2px solid white;
    border-radius: 50%;
  }
  .header-search::after {
    content: "";
    position: absolute;
    right: 13px;
    bottom: 13px;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: white;
    transform: rotate(45deg);
  }
  .header-search input {
    position: absolute;
    inset: 0;
    width: 44px;
    padding: 0;
    opacity: 0;
  }
  .header-search:focus-within {
    position: absolute;
    left: 10px;
    right: 10px;
    top: calc(100% + 10px);
    z-index: 4;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 999px;
    overflow: visible;
  }
  .header-search:focus-within::before,
  .header-search:focus-within::after { display: none; }
  .header-search:focus-within input {
    position: static;
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    opacity: 1;
    background: rgba(132, 166, 195, .98);
  }
  .nav-links {
    left: 0;
    top: calc(100% + 10px);
    width: min(270px, calc(100vw - 20px));
  }
  .hero {
    min-height: auto;
    gap: 16px;
    padding: 94px 10px 44px;
    border-radius: 0 0 30px 30px;
  }
  .hero__image-shell {
    height: 54svh;
    min-height: 390px;
    border-radius: 28px;
  }
  .hero__copy {
    padding: 18px 12px 0;
  }
  .hero__brandmark { width: min(270px, 84vw); }
  .hero__line {
    font-size: clamp(34px, 11vw, 50px);
  }
  .hero__subline {
    font-size: 17px;
    line-height: 1.5;
  }
  .hero__actions { width: 100%; }
  .knot-button {
    min-height: 52px;
    flex: 1 1 150px;
    padding: 0 18px;
  }
  .menu-section,
  .contact-section { padding: 56px 10px; }
  .section-heading img { width: min(190px, 62vw); }
  .menu-board,
  .contact-card { border-radius: 24px; }
  .category-tabs {
    padding: 12px;
    gap: 8px;
  }
  .category-tab {
    min-height: 39px;
    padding: 0 14px;
    font-size: 12px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }
  .product-card {
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 12px;
    height: 214px;
    border-radius: 22px;
  }
  .product-card__media { padding: 0; }
  .product-card__image {
    min-height: 0;
    object-fit: cover;
    padding: 0;
  }
  .product-card:hover .product-card__image { transform: none; }
  .product-card__body {
    align-content: center;
    gap: 8px;
    overflow: hidden;
    padding: 13px 13px 13px 0;
  }
  .product-card__top {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .product-card h3 { font-size: 15.5px; }
  .product-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12.5px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .contact-card { padding: 20px; }
  .contact-brand img { width: min(220px, 78vw); }
  .message-form .button { width: 100%; }
  .story-page {
    padding: 96px 10px 54px;
  }
  .story-page__image,
  .story-page__copy { border-radius: 26px; }
  .story-page__copy { padding: 24px; }
  .product-modal { padding: 12px; align-items: end; }
  .modal-panel {
    max-height: calc(100svh - 24px);
    overflow-y: auto;
    border-radius: 24px;
  }
  .modal-copy { padding: 24px; }
}

@media (max-width: 390px) {
  .brand { width: 120px; }
  .product-card {
    grid-template-columns: 168px minmax(0, 1fr);
    height: 214px;
  }
  .product-card__image { min-height: 0; }
}

@media (max-width: 350px) {
  .product-card {
    grid-template-columns: 138px minmax(0, 1fr);
    height: 214px;
  }
  .product-card__body {
    padding: 13px 12px 13px 0;
  }
  .product-card__image {
    min-height: 0;
  }
}

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