/* ==============================================
   IMPACT WEB COMPANY — Full Site Remake
   styles.css
   ============================================== */

/* ==============================================
   01. CSS VARIABLES
   ============================================== */
:root {
  /* Background */
  --bg-base: #000000;
  --bg-section: #02081a;
  --bg-section-alt: #020525;
  --bg-surface: rgba(255, 255, 255, 0.035);
  --bg-surface-hover: rgba(255, 255, 255, 0.065);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(78, 92, 238, 0.3);
  --border-focus: rgba(122, 197, 251, 0.5);

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.45);
  --text-label: #858ddb;

  /* Accent */
  --accent-blue: #4e5cee;
  --accent-blue-light: #838cf3;
  --accent-blue-dark: #3e49be;
  --accent-blue-bg: #020525;
  --accent-cyan: #7ac5fb;
  --accent-divider: #16208b;

  /* Button */
  --btn-primary-bg: #7ac5fb;
  --btn-primary-text: #000000;
  --btn-primary-hover: #5ab4f0;

  /* Gradients */
  --grad-card: linear-gradient(135deg, rgba(78, 92, 238, 0.06), rgba(255, 255, 255, 0.01));
  --grad-featured: linear-gradient(135deg, rgba(78, 92, 238, 0.14), rgba(122, 197, 251, 0.06));
  --grad-section-rule: linear-gradient(to right, rgba(78, 92, 238, 0.4), transparent 70%);

  /* Type */
  --font-display: sidenote-variable, sans-serif;
  --font-body: sidenote-variable, sans-serif;

  /* Type Scale */
  --sz-hero: clamp(52px, 7vw, 96px);
  --sz-h2: clamp(34px, 4vw, 58px);
  --sz-h3: clamp(19px, 2.2vw, 28px);
  --sz-h4: clamp(15px, 1.6vw, 20px);
  --sz-label: 11px;
  --sz-body-lg: 18px;
  --sz-body: 15px;
  --sz-sm: 13px;
  --sz-xs: 11px;

  /* Spacing */
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-28: 112px;

  /* Layout */
  --sidebar-w: 256px;
  --brand-bar-h: 56px;
  --content-px: 60px;
  --container-max: 1180px;

  /* Shape */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 40px rgba(78, 92, 238, 0.1);
  --shadow-featured: 0 24px 64px rgba(78, 92, 238, 0.28), 0 8px 24px rgba(0, 0, 0, 0.5);

  /* Motion */
  --ease-fast: 0.18s ease;
  --ease-base: 0.28s ease;
  --ease-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==============================================
   02. ACCESSIBILITY UTILITIES
   ============================================== */

/* Visually hidden — accessible to screen readers and search engines,
   invisible to sighted users. Used for SEO-critical headings in
   decorative hero sections. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ==============================================
   03. RESET
   ============================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--sz-body);
  line-height: 1.65;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background-color: rgba(78, 92, 238, 0.35);
  color: #fff;
}

/* ==============================================
   03. BUTTONS
   ============================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r-sm);
  font-size: var(--sz-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--ease-base);
  position: relative;
}

.btn-primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-color: var(--btn-primary-bg);
  font-weight: 700;
}

.btn-primary:hover {
  background-color: var(--btn-primary-hover);
  border-color: var(--btn-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(122, 197, 251, 0.28);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline {
  background: transparent;
  color: var(--accent-cyan);
  border-color: rgba(122, 197, 251, 0.35);
}

.btn-outline:hover {
  background: rgba(122, 197, 251, 0.07);
  border-color: var(--accent-cyan);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 30px;
  font-size: var(--sz-body);
}

.btn-sm {
  padding: 8px 16px;
  font-size: var(--sz-xs);
}

/* ==============================================
   04. BRAND BAR
   ============================================== */
.brand-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--brand-bar-h);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--ease-base);
}

.brand-bar-inner {
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--content-px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.brand-logo-text {
  font-size: var(--sz-sm);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ==============================================
   05. HERO
   ============================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 10;
}

/* Background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  opacity: 0.5;
  transform: scale(1.06);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(2, 5, 37, 0.38) 45%,
      rgba(0, 0, 0, 0.88) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  opacity: 0.7;
  pointer-events: none;
}

/* ==============================================
   SITE NAV — one fixed list that starts centered in the hero,
   then transforms into the sticky sidebar navigation.
   JS sets position: fixed and the initial centered state.
   ============================================== */
#site-nav {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-fancy);
  display: flex;
  flex-direction: column;
  gap: 0; /* Added from original .hero-menu-list */
  pointer-events: none; /* Added from original .hero-menu-list */
}

@media (min-width: 769px) {
  #site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    z-index: 30;
  }
}

@media (max-width: 768px) {
  #site-nav {
    display: none;
  }
}

.hero-menu-item {
  width: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px;
  border-radius: var(--r-sm);
  text-decoration: none;
  opacity: 0;
  /* JS entrance animation */
  pointer-events: auto;
  /* items are clickable */
  white-space: nowrap;
  transition: background-color var(--ease-base);
}

.hero-menu-item:hover {
  background-color: rgba(78, 92, 238, 0.08);
}

/* Number — hidden in hero state, fades in when nav settles */
.hmi-num {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  min-width: 16px;
  flex-shrink: 0;
  opacity: 0;
  /* revealed via JS after transition */
  transition: color var(--ease-base);
}

/* In hero state the number is invisible — remove it from flex flow so
   the hover background box centers cleanly behind the visible name text.
   Once JS adds .is-nav the rule no longer applies and GSAP fades it in. */
.hero-menu-list:not(.is-nav) .hmi-num {
  display: none;
}

/* Category name — large in hero, scales down to nav size */
.hmi-name {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--accent-blue-light);
  transition: color var(--ease-slow);
}

.hero-menu-item:hover .hmi-name {
  color: var(--text-primary);
}

.hero-menu-item:hover .hmi-num {
  color: var(--accent-cyan);
}

/* Active state — only visible after nav has settled (is-nav class added by JS) */
.hero-menu-list.is-nav .hero-menu-item.active {
  background: rgba(78, 92, 238, 0.1);
}

.hero-menu-list.is-nav .hero-menu-item.active .hmi-name {
  color: var(--text-primary);
}

.hero-menu-list.is-nav .hero-menu-item.active .hmi-num {
  color: var(--accent-cyan);
}


/* ==============================================
   05b. MOBILE HERO NAV
   Separate nav that lives inside .hero — scrolls away naturally.
   Avoids iOS Safari position:fixed quirks entirely.
   Default state = mobile (visible, stacked, large type).
   Desktop gets display:none via min-width override below.
   Entrance is CSS keyframe animation — no JS dependency.
   ============================================== */
@keyframes mhn-slide-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-hero-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 5;
  pointer-events: none;
}

/* Hide on desktop — sidebar nav handles it there */
@media (min-width: 769px) {
  .mobile-hero-nav {
    display: none;
  }
}

.mhn-item {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 10vw, 56px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--accent-blue-light);
  text-decoration: none;
  padding: 5px 12px;
  pointer-events: auto;
  white-space: nowrap;
  opacity: 0;
  animation: mhn-slide-up 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: color var(--ease-slow);
}

/* Stagger each item */
.mhn-item:nth-child(1) { animation-delay: 0.15s; }
.mhn-item:nth-child(2) { animation-delay: 0.25s; }
.mhn-item:nth-child(3) { animation-delay: 0.35s; }
.mhn-item:nth-child(4) { animation-delay: 0.45s; }
.mhn-item:nth-child(5) { animation-delay: 0.55s; }
.mhn-item:nth-child(6) { animation-delay: 0.65s; }

.mhn-item:active {
  color: var(--text-primary);
}

/* ==============================================
   06. MOBILE SECTION NAV (visible only on mobile)
   ============================================== */
.mobile-section-nav {
  display: none;
  position: sticky;
  top: var(--brand-bar-h);
  z-index: 150;
  background: rgba(2, 8, 26, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
}

.mobile-section-nav::-webkit-scrollbar {
  display: none;
}

.mobile-section-nav-inner {
  display: flex;
  gap: 0;
  padding: 0 4px;
  white-space: nowrap;
}

.msn-item {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  font-size: var(--sz-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: color var(--ease-base), border-bottom-color var(--ease-base);
  white-space: nowrap;
  flex-shrink: 0;
}

.msn-item:hover {
  color: var(--text-primary);
}

.msn-item.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

/* ==============================================
   06. PAGE LAYOUT
   ============================================== */
.page-layout {
  display: flex;
  align-items: flex-start;
}

/* ==============================================
   07. SIDEBAR
   ============================================== */
.menu-sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  position: sticky;
  top: var(--brand-bar-h);
  height: calc(100vh - var(--brand-bar-h));
  border-right: 1px solid var(--border-subtle);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  background-color: rgba(0, 0, 0, 0.6);
}

.menu-sidebar::-webkit-scrollbar {
  display: none;
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: var(--sp-10) var(--sp-6);
}

.sidebar-header {
  margin-bottom: var(--sp-8);
}

.sidebar-masthead {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}

.sidebar-rule {
  height: 1px;
  background: var(--grad-section-rule);
}

/* Spacer — pushes sidebar footer to the bottom.
   The actual nav items are the fixed hero-menu-list overlaid on top. */
.sidebar-nav-space {
  flex: 1;
}

/* Sidebar footer */
.sidebar-footer {
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.sidebar-cta {
  width: 100%;
  font-size: var(--sz-xs);
}

.sidebar-location {
  font-size: var(--sz-xs);
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.08em;
}

/* ==============================================
   08. MAIN CONTENT
   ============================================== */
.page-content {
  flex: 1;
  min-width: 0;
  background-color: var(--bg-section);
}

/* ==============================================
   09. CONTENT SECTIONS
   ============================================== */
.content-section {
  padding: var(--sp-28) var(--content-px);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

/* Top accent rule */
.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-section-rule);
}

.section-header {
  margin-bottom: var(--sp-12);
}

.section-label {
  font-size: var(--sz-label);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-label);
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Menu-style ornament: short rule after the section label */
.section-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent-blue-light);
  opacity: 0.4;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--sz-h2);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: var(--sp-5);
}

.section-subtitle {
  font-size: var(--sz-body-lg);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 540px;
}

.section-cta-row {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  margin-top: var(--sp-10);
  flex-wrap: wrap;
}

.cta-aside {
  font-size: var(--sz-sm);
  color: var(--text-muted);
  font-style: italic;
  max-width: 360px;
}

/* ==============================================
   10. CARD GRID
   ============================================== */
.card-grid {
  display: grid;
  gap: 14px;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ==============================================
   11. VALUE CARDS (01 — Menu)
   ============================================== */
.value-card {
  background: var(--bg-surface);
  background-image: var(--grad-card);
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  transition: all var(--ease-slow);
  position: relative;
  overflow: hidden;
}

.value-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(78, 92, 238, 0.1), transparent 65%);
  transition: opacity var(--ease-base);
  pointer-events: none;
}

.value-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.value-card:hover::after {
  opacity: 1;
}

.card-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(78, 92, 238, 0.1);
  border: 1px solid rgba(78, 92, 238, 0.18);
  color: var(--accent-blue-light);
  margin-bottom: var(--sp-6);
  transition: all var(--ease-base);
}

.value-card:hover .card-icon-wrap {
  background: rgba(78, 92, 238, 0.18);
  border-color: rgba(122, 197, 251, 0.28);
  color: var(--accent-cyan);
}

.value-card-title {
  font-size: var(--sz-h3);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: var(--sp-3);
  color: var(--text-primary);
}

.value-card-text {
  font-size: var(--sz-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==============================================
   12. FEATURE LIST
   ============================================== */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--sz-sm);
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-blue-light);
  flex-shrink: 0;
}

.feature-list--sm li {
  font-size: var(--sz-xs);
  gap: 8px;
}

.feature-list--sm li::before {
  width: 4px;
  height: 4px;
}

/* ==============================================
   13. DEMO CARDS (02 — Appetizers)
   ============================================== */
.demo-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--ease-slow);
}

.demo-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.demo-preview {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.demo-preview-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.demo-bg-restaurant {
  background: linear-gradient(140deg, #1a0b03 0%, #2a1205 40%, #0a0a10 100%);
}

.demo-bg-bar {
  background: linear-gradient(140deg, #020a1c 0%, #041628 40%, #0a0a10 100%);
}

/* Browser chrome mockup at top of demo preview */
.demo-chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  z-index: 2;
}

.demo-chrome-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.demo-chrome-bar {
  flex: 1;
  height: 12px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 3px;
  margin-left: 6px;
}

/* Decorative wireframe lines in demo preview */
.demo-wire {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
}

.wire-1 {
  bottom: 28%;
  left: 10%;
  right: 10%;
  height: 1px;
}

.wire-2 {
  bottom: 18%;
  left: 15%;
  right: 35%;
  height: 1px;
}

.wire-3 {
  bottom: 11%;
  left: 15%;
  right: 50%;
  height: 1px;
}

.demo-preview-content {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: var(--sp-5);
}

.demo-eyebrow {
  font-size: var(--sz-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.demo-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.demo-badge {
  display: inline-block;
  font-size: var(--sz-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(78, 92, 238, 0.18);
  border: 1px solid rgba(78, 92, 238, 0.28);
  color: var(--accent-blue-light);
}

.demo-body {
  padding: var(--sp-8);
}

.demo-title {
  font-size: var(--sz-h3);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: var(--sp-3);
}

.demo-desc {
  font-size: var(--sz-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--sp-5);
}

/* ==============================================
   13b. BAKERY DEMO CARD — Artisan Brand Identity
   ============================================== */

.demo-card--bakery {
  background: linear-gradient(135deg, #faf7f2 0%, #f5f0e8 55%, #ede5d8 100%);
  border-color: rgba(200, 164, 110, 0.28);
  text-decoration: none;
  display: block;
  color: inherit;
}

.demo-card--bakery:hover {
  border-color: rgba(200, 164, 110, 0.6);
  box-shadow: 0 6px 32px rgba(139, 109, 76, 0.16), 0 0 0 1px rgba(200, 164, 110, 0.22);
  transform: translateY(-2px);
}

/* Warm cream preview background */
.demo-bg-bakery {
  background: linear-gradient(140deg, #f0e6d4 0%, #e8d8c0 50%, #dfc9ab 100%);
}

/* Light chrome bar for bakery (inverted from dark default) */
.demo-chrome--light {
  background: rgba(139, 109, 76, 0.1);
  border-bottom-color: rgba(139, 109, 76, 0.14);
}

.demo-chrome-dot--light {
  background: rgba(139, 109, 76, 0.28);
}

.demo-chrome-bar--light {
  background: rgba(139, 109, 76, 0.14);
}

/* Warm wireframe lines */
.demo-wire--light {
  background: rgba(139, 109, 76, 0.12);
}

/* Bakery eyebrow — warm label tone */
.demo-eyebrow--bakery {
  color: rgba(139, 109, 76, 0.8);
}

/* Bakery name — warm serif feel */
.demo-name--bakery {
  font-family: Georgia, 'Times New Roman', serif;
  color: #2c2418;
  letter-spacing: 0.01em;
}

/* Live badge — gold instead of blue */
.demo-badge--live {
  background: rgba(200, 164, 110, 0.22);
  border-color: rgba(200, 164, 110, 0.5);
  color: #8b6d4c;
}

/* Body section warm border */
.demo-body--bakery {
  border-top: 1px solid rgba(200, 164, 110, 0.2);
}

/* Bakery title — warm serif */
.demo-title--bakery {
  font-family: Georgia, 'Times New Roman', serif;
  color: #2c2418;
  font-weight: 600;
  letter-spacing: 0;
}

/* Bakery description */
.demo-desc--bakery {
  color: rgba(44, 36, 24, 0.68);
}

/* Feature list — warm tones */
.feature-list--bakery li {
  color: rgba(44, 36, 24, 0.68);
}

.feature-list--bakery li::before {
  background: #c8a46e;
}

/* ==============================================
   14. SERVICE CARDS (03 — Entrees)
   ============================================== */
.service-card {
  display: flex;
  gap: var(--sp-5);
  padding: var(--sp-8);
  background: var(--bg-surface);
  background-image: var(--grad-card);
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  transition: all var(--ease-slow);
}

.service-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: rgba(78, 92, 238, 0.1);
  border: 1px solid rgba(78, 92, 238, 0.16);
  color: var(--accent-blue-light);
  flex-shrink: 0;
  padding: 14px;
  transition: all var(--ease-base);
}

.service-card:hover .service-icon {
  background: rgba(78, 92, 238, 0.18);
  border-color: rgba(122, 197, 251, 0.28);
  color: var(--accent-cyan);
}

.service-body {
  flex: 1;
}

.service-title {
  font-size: var(--sz-h4);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.service-desc {
  font-size: var(--sz-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--sp-4);
}

/* ==============================================
   15. PRICING (04 — Sides)
   ============================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface);
  background-image: var(--grad-card);
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  position: relative;
  transition: all var(--ease-slow);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.pricing-card--featured {
  background-image: var(--grad-featured);
  border-color: rgba(122, 197, 251, 0.25);
  box-shadow: var(--shadow-featured);
  transform: translateY(-6px);
  z-index: 1;
}

.pricing-card--featured:hover {
  transform: translateY(-10px);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-cyan);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-tier {
  font-size: var(--sz-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-label);
  margin-bottom: 10px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.pricing-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.pricing-unit {
  font-size: var(--sz-sm);
  color: var(--text-muted);
}

.pricing-note {
  font-size: var(--sz-xs);
  color: var(--text-muted);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--sp-8);
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--sz-sm);
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '✓';
  font-size: 12px;
  color: var(--accent-cyan);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-btn {
  width: 100%;
}

/* ==============================================
   16. ADD-ONS (05 — Desserts)
   ============================================== */
.addon-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.addon-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  padding: var(--sp-8);
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  transition: all var(--ease-slow);
}

.addon-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-surface-hover);
}

.addon-left {
  flex: 1;
  min-width: 0;
}

.addon-title {
  font-size: var(--sz-h4);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.addon-desc {
  font-size: var(--sz-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 500px;
}

.addon-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.addon-price {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.addon-price span {
  font-family: var(--font-body);
  font-size: var(--sz-sm);
  font-weight: 400;
  color: var(--text-muted);
}

/* ==============================================
   17. CONTACT (06 — Drinks)
   ============================================== */
.contact-section {
  background-color: var(--bg-section-alt);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: var(--sp-12);
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: var(--sz-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-card);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: var(--sz-sm);
  transition: all var(--ease-base);
  width: 100%;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  border-color: var(--border-focus);
  background: rgba(122, 197, 251, 0.035);
  box-shadow: 0 0 0 3px rgba(122, 197, 251, 0.07);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.form-note {
  font-size: var(--sz-xs);
  color: var(--text-muted);
  font-style: italic;
}

/* Contact aside */
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  padding-top: 4px;
}

.contact-detail {
  border-left: 2px solid var(--accent-divider);
  padding-left: var(--sp-4);
}

.contact-detail-label {
  font-size: var(--sz-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: var(--sz-sm);
  font-weight: 500;
  color: var(--text-primary);
}

/* ==============================================
   18. FOOTER
   ============================================== */
.site-footer {
  background-color: #000;
  border-top: 1px solid var(--border-subtle);
}

.footer-top {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--sp-12) var(--sp-16);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-8);
  border-bottom: 1px solid var(--border-subtle);
}

.footer-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
  flex-shrink: 0;
  opacity: 0.85;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: var(--sz-xs);
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: var(--sp-6);
  justify-content: center;
}

.footer-nav a {
  font-size: var(--sz-xs);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  transition: color var(--ease-fast);
}

.footer-nav a:hover {
  color: var(--text-primary);
}

.footer-action {
  display: flex;
  justify-content: flex-end;
}

.footer-bottom {
  text-align: center;
  padding: var(--sp-5) var(--sp-16);
}

.footer-bottom p {
  font-size: var(--sz-xs);
  color: var(--text-muted);
}

/* ==============================================
   19. REVEAL ANIMATION INIT STATES
   ============================================== */
.reveal-card {
  opacity: 0;
  transform: translateY(22px);
}

/* ==============================================
   20. RESPONSIVE — TABLET (≤ 1060px)
   ============================================== */
@media (max-width: 1060px) {
  :root {
    --content-px: 40px;
    --sidebar-w: 220px;
  }

  .card-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-3px);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-aside {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--sp-4);
  }

  .contact-detail {
    flex: 1 1 160px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--sp-6);
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-action {
    justify-content: center;
  }
}

/* ==============================================
   21. RESPONSIVE — MOBILE (≤ 768px)
   ============================================== */
@media (max-width: 768px) {
  :root {
    --content-px: 20px;
    --sp-28: 64px;
    --brand-bar-h: 52px;
  }

  .brand-bar-inner {
    padding: 0 20px;
  }

  .menu-sidebar {
    display: none;
  }

  .mobile-section-nav {
    display: block;
  }

  .hmi-name {
    font-size: clamp(36px, 10vw, 56px);
  }

  .card-grid--3,
  .card-grid--2 {
    grid-template-columns: 1fr;
  }

  .service-card {
    flex-direction: column;
    gap: var(--sp-4);
  }

  .addon-card {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-5);
  }

  .addon-right {
    flex-direction: row;
    align-items: center;
    gap: var(--sp-4);
    width: 100%;
    flex-wrap: wrap;
  }

  .btn-sm {
    padding: 14px 18px;
    font-size: var(--sz-sm);
    min-height: 44px;
  }

  .pricing-grid {
    max-width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .demo-name {
    font-size: 22px;
  }

}

/* ==============================================
   22. LARGE SCREENS (≥ 1400px)
   ============================================== */
@media (min-width: 1400px) {
  :root {
    --content-px: 80px;
  }
}