:root {
  color-scheme: light;
  --cocoa: #39251c;
  --cocoa-deep: #251711;
  --cream: #f5ede1;
  --cream-soft: #fbf7f0;
  --rose: #c98f82;
  --rose-dark: #9d675e;
  --sage: #a5aa91;
  --ink: #30231d;
  --muted: #786860;
  --line: rgba(57, 37, 28, 0.15);
  --safe-bottom: max(18px, env(safe-area-inset-bottom));
  font-family: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cocoa-deep);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.home {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fffaf2;
  background: var(--cocoa-deep);
}

.hero-video,
.hero-poster,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: 1;
  object-fit: cover;
  object-position: 56% center;
  filter: saturate(0.72) contrast(0.94);
}

.hero-poster {
  z-index: 0;
  object-fit: cover;
}

.hero-shade {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(25, 13, 9, 0.42) 0%, rgba(34, 20, 14, 0.08) 34%, rgba(31, 17, 12, 0.7) 78%, rgba(24, 13, 9, 0.92) 100%),
    linear-gradient(90deg, rgba(67, 35, 24, 0.22), rgba(145, 88, 64, 0.08));
}

.home-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  padding: max(38px, calc(env(safe-area-inset-top) + 22px)) 0 0;
}

.hero-video.video-unavailable {
  display: none;
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  animation: settle-in 700ms ease-out both;
}

.brand-bar-centered {
  justify-content: center;
}

.brand-bar-centered .brand-mark {
  padding: 11px 19px 11px 11px;
  border: 1px solid rgba(255, 250, 242, 0.26);
  border-radius: 34px;
  background: rgba(31, 17, 12, 0.28);
  box-shadow: 0 10px 30px rgba(12, 6, 4, 0.18);
  backdrop-filter: blur(12px);
}

.brand-bar-centered .brand-monogram {
  width: 45px;
  height: 45px;
  font-size: 20px;
}

.brand-bar-centered .brand-copy strong {
  font-size: 22px;
}

.brand-bar-centered .brand-copy small {
  margin-top: 3px;
  font-size: 10px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-monogram {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 250, 242, 0.58);
  border-radius: 50%;
  font-family: "Italiana", serif;
  font-size: 17px;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-family: "Italiana", serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.brand-copy small {
  margin-top: 1px;
  color: rgba(255, 250, 242, 0.68);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: inherit;
  border: 1px solid rgba(255, 250, 242, 0.32);
  border-radius: 50%;
  background: rgba(33, 18, 13, 0.18);
  backdrop-filter: blur(10px);
}

.hero-copy {
  align-self: end;
  padding: 0 22px 24px;
  animation: settle-in 800ms 80ms ease-out both;
}

.home-stage {
  min-height: 12svh;
}

.portal-zone {
  padding: 0 16px calc(82px + var(--safe-bottom));
  animation: settle-in 760ms 160ms ease-out both;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.portal-card {
  position: relative;
  display: flex;
  min-height: 132px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: hidden;
  color: #fffaf2;
  border: 1px solid rgba(244, 225, 210, 0.23);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% -20%, rgba(224, 181, 151, 0.18), transparent 52%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.012)),
    rgba(30, 20, 15, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(9, 5, 3, 0.26),
    0 18px 36px rgba(12, 6, 4, 0.3);
  text-align: center;
  text-decoration: none;
  backdrop-filter: blur(13px) saturate(0.8);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.portal-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 34%, transparent 68%, rgba(238,208,190,.035));
  pointer-events: none;
}

.portal-card::after {
  position: absolute;
  right: 24px;
  bottom: 0;
  left: 24px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(220, 175, 148, 0.58), transparent);
}

.portal-card:nth-child(2) {
  animation: settle-in 700ms 250ms ease-out both;
}

.portal-card-wide {
  min-height: 106px;
  grid-column: 1 / -1;
  flex-direction: row;
  justify-content: center;
  gap: 16px;
  padding: 0 21px;
  text-align: center;
  animation: settle-in 700ms 340ms ease-out both;
}

.portal-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 58px;
  height: 58px;
  color: #f7eadf;
  border: 1px solid rgba(233, 195, 170, 0.23);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, rgba(220, 175, 148, 0.16), rgba(25, 15, 11, 0.2));
  box-shadow: inset 0 0 18px rgba(238, 208, 190, 0.04);
  place-items: center;
  filter: drop-shadow(0 7px 12px rgba(9, 5, 3, 0.28));
  transition: transform 220ms ease, border-color 220ms ease;
}

.portal-icon svg {
  width: 40px;
  height: 40px;
  overflow: visible;
}

.portal-icon svg path,
.portal-icon svg circle {
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.portal-icon svg .icon-fill {
  fill: rgba(238, 208, 190, 0.07);
}

.portal-icon svg .icon-accent {
  color: #dfae8c;
  stroke-width: 1.15;
}

.portal-label {
  position: relative;
  z-index: 1;
}

.portal-label strong,
.portal-label small {
  display: block;
}

.portal-label strong {
  font-family: "Italiana", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.05;
}

.portal-label small {
  margin-top: 5px;
  color: rgba(255, 250, 242, 0.58);
  font-size: 9px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.portal-card-wide .portal-label strong {
  font-size: 22px;
  white-space: nowrap;
}

.portal-card-wide .portal-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
}

.portal-card-wide .portal-icon svg {
  width: 37px;
  height: 37px;
}

.portal-card:active {
  transform: scale(0.975);
  border-color: rgba(255, 250, 242, 0.4);
  background: rgba(51, 34, 26, 0.72);
}

.portal-card:hover .portal-icon,
.portal-card:focus-visible .portal-icon {
  transform: translateY(-3px);
  border-color: rgba(233, 195, 170, 0.42);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 9px;
  color: rgba(255, 250, 242, 0.76);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}

.hero-copy h1 {
  max-width: 340px;
  margin: 0;
  font-family: "Italiana", serif;
  font-size: clamp(43px, 12vw, 64px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.025em;
}

.hero-copy h1 em {
  color: #eed0be;
  font-weight: 400;
}

.hero-copy > p:last-child {
  max-width: 290px;
  margin: 15px 0 0;
  color: rgba(255, 250, 242, 0.78);
  font-size: 13px;
  line-height: 1.5;
}

.category-zone {
  padding: 0 0 calc(82px + var(--safe-bottom));
  animation: settle-in 800ms 180ms ease-out both;
}

.category-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px 12px;
}

.category-heading h2 {
  margin: 0;
  font-family: "Italiana", serif;
  font-size: 21px;
  font-weight: 400;
}

.swipe-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: rgba(255, 250, 242, 0.72);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.swipe-arrow {
  display: inline-block;
  animation: nudge 1.9s ease-in-out 3;
}

.category-rail {
  display: grid;
  grid-auto-columns: minmax(132px, 42vw);
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  padding: 0 22px 7px;
  scroll-padding-inline: 22px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.category-rail::-webkit-scrollbar,
.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-card {
  position: relative;
  height: clamp(138px, 21svh, 178px);
  overflow: hidden;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: #513a30;
  box-shadow: 0 14px 30px rgba(16, 8, 5, 0.24);
  scroll-snap-align: start;
  text-decoration: none;
  transform: translateZ(0);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 550ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.category-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 34%, rgba(25, 13, 9, 0.82) 100%);
}

.category-card span {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 13px;
  left: 14px;
  font-family: "Italiana", serif;
  font-size: 19px;
  line-height: 1.05;
}

.category-card:hover img {
  transform: scale(1.05);
}

.home-nav {
  position: fixed;
  z-index: 6;
  right: 16px;
  bottom: var(--safe-bottom);
  left: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background: rgba(43, 25, 18, 0.72);
  box-shadow: 0 18px 45px rgba(12, 6, 4, 0.34);
  backdrop-filter: blur(20px);
}

.nav-action {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  color: #fffaf2;
  border: 0;
  border-radius: 16px;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.nav-action.primary {
  color: var(--cocoa-deep);
  background: #f3e6d8;
}

.nav-action:focus-visible,
.portal-card:focus-visible,
.category-tab:focus-visible {
  outline: 2px solid #f3e6d8;
  outline-offset: 3px;
}

.drawer-backdrop {
  position: fixed;
  z-index: 20;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  background: rgba(28, 16, 11, 0.56);
  transition: opacity 250ms ease, visibility 250ms ease;
  backdrop-filter: blur(5px);
}

.drawer-backdrop.open {
  visibility: visible;
  opacity: 1;
}

.contact-drawer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: 82svh;
  padding: 12px 22px calc(24px + var(--safe-bottom));
  overflow: auto;
  color: var(--ink);
  border-radius: 30px 30px 0 0;
  background: var(--cream-soft);
  box-shadow: 0 -24px 70px rgba(31, 17, 12, 0.3);
  transform: translateY(105%);
  transition: transform 380ms cubic-bezier(0.2, 0.85, 0.25, 1);
}

.drawer-backdrop.open .contact-drawer {
  transform: translateY(0);
}

.drawer-handle {
  width: 42px;
  height: 4px;
  margin: 0 auto 22px;
  border-radius: 99px;
  background: rgba(57, 37, 28, 0.2);
}

.drawer-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.drawer-title-row h2 {
  margin: 0;
  font-family: "Italiana", serif;
  font-size: 35px;
  font-weight: 400;
}

.drawer-title-row p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.drawer-close {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.contact-list {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.contact-row {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 66px;
  color: inherit;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-row span {
  color: var(--muted);
  font-size: 12px;
}

.contact-row strong {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
}

.socials {
  display: flex;
  gap: 9px;
  margin-top: 20px;
}

.socials a {
  display: grid;
  min-height: 44px;
  flex: 1;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.menu-page {
  min-height: 100svh;
  padding-bottom: 56px;
  background:
    radial-gradient(circle at 100% 55%, rgba(201, 143, 130, 0.12), transparent 34%),
    var(--cream-soft);
}

.menu-cover {
  position: relative;
  min-height: 43svh;
  overflow: hidden;
  color: white;
  background: var(--cocoa);
}

.menu-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.025);
  animation: cover-breathe 10s ease-out both;
}

.menu-cover::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(27, 15, 10, 0.56), rgba(30, 17, 12, 0.08) 34%, rgba(29, 16, 11, 0.92)),
    linear-gradient(90deg, rgba(32, 17, 11, 0.3), transparent 65%);
}

.menu-topbar,
.menu-cover-copy {
  position: relative;
  z-index: 1;
}

.menu-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(18px, env(safe-area-inset-top)) 18px 0;
}

.back-link {
  display: inline-flex;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  color: white;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  background: rgba(39, 21, 14, 0.22);
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.menu-wordmark {
  font-family: "Italiana", serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 14px rgba(20, 10, 7, 0.35);
}

.menu-cover-copy {
  position: absolute;
  right: 22px;
  bottom: 32px;
  left: 22px;
  animation: settle-in 650ms ease-out both;
}

.menu-cover-copy p {
  margin: 0 0 8px;
  color: rgba(255,255,255,0.76);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.menu-cover-copy h1 {
  margin: 0;
  font-family: "Italiana", serif;
  max-width: 92%;
  font-size: clamp(46px, 13vw, 62px);
  font-weight: 400;
  line-height: 0.95;
}

.menu-cover-copy small {
  display: block;
  max-width: 300px;
  margin-top: 10px;
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  line-height: 1.45;
}

.category-tabs-wrap {
  position: sticky;
  z-index: 8;
  top: 0;
  padding: 11px 0 0;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 247, 240, 0.94);
  box-shadow: 0 8px 26px rgba(57, 37, 28, 0.045);
  backdrop-filter: blur(20px);
}

.category-tabs-label {
  display: block;
  padding: 0 18px 6px;
  color: var(--rose-dark);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.category-tabs {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 0 18px;
  scrollbar-width: none;
}

.category-tab {
  position: relative;
  flex: 0 0 auto;
  padding: 7px 0 13px;
  color: var(--muted);
  font-family: "Italiana", serif;
  font-size: 15px;
  text-decoration: none;
  transition: color 180ms ease;
}

.category-tab::after {
  position: absolute;
  right: 50%;
  bottom: -1px;
  left: 50%;
  height: 2px;
  content: "";
  background: var(--cocoa);
  transition: right 220ms ease, left 220ms ease;
}

.category-tab.active {
  color: var(--cocoa);
}

.category-tab.active::after {
  right: 0;
  left: 0;
}

.product-section {
  padding: 34px 16px 0;
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 21px;
  padding: 0 3px;
}

.section-title h2 {
  margin: 0;
  font-family: "Italiana", serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 1;
}

.product-count {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--muted);
  font-size: 9px;
}

.product-count strong {
  color: var(--cocoa);
  font-family: "Italiana", serif;
  font-size: 21px;
  font-weight: 400;
}

.product-list {
  display: grid;
  gap: 13px;
}

.product-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 168px;
  overflow: hidden;
  color: inherit;
  border: 1px solid rgba(57, 37, 28, 0.09);
  border-radius: 21px;
  background: rgba(255, 252, 247, 0.78);
  box-shadow: 0 10px 30px rgba(57, 37, 28, 0.055);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:active {
  transform: scale(0.985);
}

.product-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.product-copy {
  min-width: 0;
  padding: 15px 15px 14px;
}

.product-kicker {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--rose-dark);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-copy h3 {
  margin: 0;
  font-family: "Italiana", serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.05;
}

.product-copy p {
  display: -webkit-box;
  margin: 6px 0 9px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.price {
  font-size: 14px;
  font-weight: 600;
}

.product-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.product-card .product-media {
  min-height: 168px;
}

.product-card:hover .product-photo {
  transform: scale(1.04);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-bottom: 10px;
  color: var(--rose-dark);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.product-meta span + span::before {
  margin-right: 10px;
  color: rgba(57, 37, 28, 0.28);
  content: "•";
}

.product-arrow {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--cocoa);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.product-dialog {
  width: min(92vw, 440px);
  max-height: 88svh;
  padding: 0;
  overflow: hidden auto;
  color: var(--ink);
  border: 0;
  border-radius: 28px;
  background: var(--cream-soft);
  box-shadow: 0 30px 80px rgba(26, 14, 10, 0.42);
}

.product-dialog::backdrop {
  background: rgba(28, 16, 11, 0.68);
  backdrop-filter: blur(6px);
}

.product-dialog img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.dialog-copy {
  padding: 22px;
}

.dialog-copy h2 {
  margin: 0;
  font-family: "Italiana", serif;
  font-size: 34px;
  font-weight: 400;
}

.dialog-copy p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.compliance-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  margin-top: 19px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.compliance-grid section {
  padding: 14px 15px;
}

.compliance-grid section:first-child,
.compliance-grid section:last-child {
  grid-column: 1 / -1;
}

.compliance-grid section + section {
  border-top: 1px solid var(--line);
}

.compliance-grid section > span {
  display: block;
  margin-bottom: 5px;
  color: var(--rose-dark);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compliance-grid section p,
.compliance-grid section strong {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
}

.compliance-note {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.dialog-close {
  min-height: 44px;
  padding: 0 18px;
  color: white;
  border: 0;
  border-radius: 14px;
  background: var(--cocoa);
}

@keyframes settle-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cover-breathe {
  from { transform: scale(1.08); }
  to { transform: scale(1.025); }
}

@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  48% { transform: translateX(6px); }
}

@media (min-width: 700px) {
  body {
    display: grid;
    min-height: 100vh;
    place-items: center;
    background: #d9cabd;
  }

  #app {
    width: min(100%, 520px);
    min-height: 100vh;
    box-shadow: 0 0 70px rgba(49, 29, 21, 0.22);
  }

  .home,
  .home-content,
  .menu-page {
    min-height: 100vh;
  }

  .home-nav,
  .drawer-backdrop {
    right: calc((100vw - min(100vw, 520px)) / 2 + 16px);
    left: calc((100vw - min(100vw, 520px)) / 2 + 16px);
  }

  .drawer-backdrop {
    inset-block: 0;
  }

  .contact-drawer {
    right: 0;
    left: 0;
  }

  .category-rail {
    grid-auto-columns: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-video { display: none; }
}

/* Luz Coffee customer skin — isolated under /luzcoffee/. */
:root {
  --cocoa: #164f3d;
  --cocoa-deep: #082e24;
  --cream: #f2eee1;
  --cream-soft: #faf7ed;
  --rose: #d5b65f;
  --rose-dark: #8c742c;
  --sage: #8ea99b;
  --ink: #173b31;
  --muted: #68766f;
  --line: rgba(12, 65, 49, 0.16);
}

html,
body {
  background: var(--cocoa-deep);
}

.hero-video {
  filter: saturate(0.82) contrast(0.95) brightness(0.9);
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(3, 35, 26, 0.34) 0%, rgba(8, 55, 41, 0.06) 36%, rgba(5, 44, 33, 0.58) 78%, rgba(3, 31, 24, 0.86) 100%),
    linear-gradient(90deg, rgba(13, 73, 55, 0.14), rgba(196, 157, 55, 0.035));
}

.home-content {
  padding-top: max(26px, calc(env(safe-area-inset-top) + 16px));
}

.brand-bar-centered .luz-brand-mark {
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.luz-logo-frame {
  position: relative;
  display: grid;
  width: clamp(128px, 37vw, 154px);
  aspect-ratio: 1;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(237, 209, 121, 0.82);
  border-radius: 50%;
  background: #083b2d;
  box-shadow:
    0 0 0 7px rgba(8, 56, 43, 0.46),
    0 0 0 8px rgba(224, 190, 89, 0.2),
    0 22px 54px rgba(1, 21, 16, 0.42),
    inset 0 0 34px rgba(231, 197, 95, 0.06);
  animation: luz-logo-arrive 850ms cubic-bezier(.2,.8,.2,1) both;
}

.luz-logo-frame::after {
  position: absolute;
  inset: 7px;
  content: "";
  border: 1px solid rgba(231, 200, 105, 0.26);
  border-radius: inherit;
  pointer-events: none;
}

.luz-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.34);
}

.home-stage {
  min-height: 8svh;
}

.portal-card {
  color: #e6c86f;
  border-color: rgba(223, 194, 104, 0.28);
  background:
    radial-gradient(circle at 50% -20%, rgba(113, 172, 144, 0.2), transparent 56%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.015)),
    rgba(11, 70, 52, 0.77);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(1, 28, 20, 0.32),
    0 18px 38px rgba(1, 25, 18, 0.32);
  backdrop-filter: blur(14px) saturate(0.88);
}

.portal-card::after {
  background: linear-gradient(90deg, transparent, rgba(224, 191, 88, 0.64), transparent);
}

.portal-icon {
  color: #e5c569;
  border-color: rgba(229, 200, 111, 0.32);
  background: radial-gradient(circle at 40% 30%, rgba(105, 165, 136, 0.2), rgba(4, 47, 34, 0.28));
  box-shadow: inset 0 0 20px rgba(230, 200, 107, 0.05);
  filter: drop-shadow(0 7px 12px rgba(1, 23, 16, 0.32));
}

.portal-icon svg .icon-accent {
  color: #f0d98c;
}

.portal-label strong {
  color: #e8ca71;
  text-shadow: 0 2px 15px rgba(3, 29, 21, 0.38);
}

.portal-label small {
  color: rgba(244, 222, 151, 0.68);
}

.portal-card:active {
  border-color: rgba(235, 207, 121, 0.52);
  background: rgba(12, 79, 58, 0.9);
}

.home-nav {
  border-color: rgba(229, 202, 119, 0.24);
  background: rgba(4, 48, 35, 0.82);
  box-shadow: 0 18px 45px rgba(1, 24, 17, 0.4);
}

.nav-action.primary {
  color: #0a4533;
  background: linear-gradient(135deg, #f0d98e, #cfaa48);
}

.menu-page {
  background:
    radial-gradient(circle at 100% 55%, rgba(51, 121, 92, 0.1), transparent 34%),
    var(--cream-soft);
}

.menu-cover::after {
  background:
    linear-gradient(180deg, rgba(3, 39, 28, 0.6), rgba(5, 53, 38, 0.1) 34%, rgba(3, 40, 29, 0.92)),
    linear-gradient(90deg, rgba(4, 49, 35, 0.36), transparent 65%);
}

.menu-wordmark,
.menu-cover-copy h1 {
  color: #f0d98e;
}

.back-link,
.menu-topbar .icon-button {
  border-color: rgba(239, 215, 141, 0.36);
  background: rgba(4, 53, 38, 0.32);
}

.category-tab::after {
  background: #b6963d;
}

.category-tab.active {
  color: #15503d;
}

.category-tabs-wrap {
  padding-top: 15px;
}

.category-tabs-label {
  padding-bottom: 9px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.category-tabs {
  gap: 27px;
}

.category-tab {
  padding: 9px 0 17px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.product-card {
  border-color: rgba(13, 76, 56, 0.12);
  background: rgba(255, 253, 247, 0.84);
  box-shadow: 0 10px 30px rgba(9, 60, 44, 0.065);
}

.product-arrow {
  color: #176047;
  border-color: rgba(17, 84, 62, 0.19);
}

.dialog-close {
  color: #f4dda0;
  background: #12503c;
}

@keyframes luz-logo-arrive {
  from { opacity: 0; transform: translateY(-12px) scale(.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
