:root {
    --bg-void: #0D0A07;
    --bg-deep: #15110C;
    --bg-mid: #1E1812;
    --bg-warm: #2A2118;
    --ember: #C87820;
    --ember-light: #E8A040;
    --ember-pale: #F2C970;
    --cream: #F5EDE2;
    --cream-dim: #D0C4B0;
    --stone: #8A7A6C;
    --stone-light: #B0A090;
    --text-primary: #F0E8DA;
    --text-secondary: #9A8878;
    --border-subtle: rgba(122,106,92,0.2);
    --card-hover: rgba(200,120,32,0.06);
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Jost', sans-serif;
    --font-mono: 'Space Mono', monospace;
  }

  /* ============ LIGHT MODE ============ */
  [data-theme="light"] {
    --bg-void: #F5EDE2;
    --bg-deep: #F0E6D8;
    --bg-mid: #EBE0D0;
    --bg-warm: #E2D5C4;
    --ember: #B86D18;
    --ember-light: #D48A30;
    --ember-pale: #A05E12;
    --cream: #2C2218;
    --cream-dim: #5A4A3A;
    --stone: #8A7A6C;
    --stone-light: #6E5E50;
    --text-primary: #1E160E;
    --text-secondary: #6E5E50;
    --border-subtle: rgba(122,106,92,0.18);
    --card-hover: rgba(200,120,32,0.06);
  }

  /* ============ SKIP LINK (Accessibility) ============ */
  .skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 9999;
    background: var(--ember);
    color: #FFF;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 0.1em;
  }
  .skip-link:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    z-index: 10001;
  }

  :focus-visible {
    outline: 2px solid var(--ember);
    outline-offset: 4px;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; font-size: 16px; }

  body {
    background: var(--bg-void);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 300;
    overflow-x: hidden;
  }

  /* ============ NAVIGATION ============ */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1.5rem 4rem;
    display: flex; align-items: center;
    transition: background 0.5s, padding 0.4s, backdrop-filter 0.5s;
  }
  nav.scrolled {
    background: rgba(8,6,4,0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 1rem 4rem;
    border-bottom: 0.5px solid rgba(200,120,32,0.2);
  }
  [data-theme="light"] nav.scrolled {
    background: rgba(245,237,226,0.94);
    border-bottom: 0.5px solid rgba(200,120,32,0.15);
  }
  .nav-logo {
    display: flex; align-items: center;
    text-decoration: none;
    flex: 1;
    justify-content: flex-start;
  }
  .nav-logo img {
    height: 115px;
    width: auto;
    transition: filter 0.3s, opacity 0.3s;
  }
  /* Invert logo for dark mode (black logo → white) */
  :root .nav-logo img,
  [data-theme="dark"] .nav-logo img {
    filter: invert(1);
  }
  [data-theme="light"] .nav-logo img {
    filter: none;
  }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cream-dim);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 400;
  }
  .nav-links a:hover { color: var(--ember-pale); }
  .nav-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
  }
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
  .hamburger span { width: 24px; height: 1.5px; background: var(--cream-dim); transition: all 0.3s; display: block; }

  /* Theme Toggle */
  .theme-toggle {
    width: 40px; height: 40px;
    border: none;
    background: transparent;
    color: var(--ember-pale);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
    border-radius: 0;
  }
  .theme-toggle:hover { background: rgba(200,120,32,0.08); }

  /* ============ HERO ============ */
  #hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    background: #080604;
  }
  [data-theme="light"] #hero {
    background: #F5EDE2;
  }

  /* ============ HERO PHOTO COLLAGE BACKGROUND ============ */
  .hero-photo-collage {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
    overflow: hidden;
    opacity: 0.55;
    filter: saturate(0.85) brightness(0.75);
  }
  [data-theme="light"] .hero-photo-collage {
    opacity: 0.45;
    filter: saturate(0.8) brightness(1.05);
  }
  .hero-photo-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    overflow: hidden;
  }
  /* Vignette overlay on top of photos to fade edges and match theme */
  .hero-photo-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
      radial-gradient(ellipse 70% 60% at 50% 50%, transparent 20%, rgba(8,6,4,0.6) 100%),
      linear-gradient(to bottom, rgba(8,6,4,0.3) 0%, transparent 30%, transparent 70%, rgba(8,6,4,0.5) 100%);
    pointer-events: none;
  }
  [data-theme="light"] .hero-photo-overlay {
    background:
      radial-gradient(ellipse 70% 60% at 50% 50%, transparent 20%, rgba(245,237,226,0.65) 100%),
      linear-gradient(to bottom, rgba(245,237,226,0.35) 0%, transparent 30%, transparent 70%, rgba(245,237,226,0.5) 100%);
  }
  .hero-bg {
    position: absolute; inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(42,26,10,0.3) 0%, rgba(16,12,8,0.45) 60%, rgba(8,6,4,0.6) 100%);
    pointer-events: none;
  }
  [data-theme="light"] .hero-bg {
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(232,216,196,0.25) 0%, rgba(240,230,216,0.4) 60%, rgba(245,237,226,0.55) 100%);
  }
  /* Subtle Ken Burns animation for photo collage */
  @keyframes heroPanSlow1 {
    0% { transform: scale(1.05) translate(0, 0); }
    50% { transform: scale(1.12) translate(-2%, -1%); }
    100% { transform: scale(1.05) translate(0, 0); }
  }
  @keyframes heroPanSlow2 {
    0% { transform: scale(1.08) translate(0, 0); }
    50% { transform: scale(1.14) translate(1.5%, -1.5%); }
    100% { transform: scale(1.08) translate(0, 0); }
  }
  @keyframes heroPanSlow3 {
    0% { transform: scale(1.06) translate(0, 0); }
    50% { transform: scale(1.1) translate(-1%, 2%); }
    100% { transform: scale(1.06) translate(0, 0); }
  }
  @keyframes heroPanSlow4 {
    0% { transform: scale(1.1) translate(0, 0); }
    50% { transform: scale(1.15) translate(2%, 1%); }
    100% { transform: scale(1.1) translate(0, 0); }
  }
  .hero-photo-collage img:nth-child(1) { 
    animation: heroPanSlow1 25s ease-in-out infinite; 
    object-position: center 20%;
  }
  .hero-photo-collage img:nth-child(2) { animation: heroPanSlow2 30s ease-in-out infinite; }
  .hero-photo-collage img:nth-child(3) { animation: heroPanSlow3 28s ease-in-out infinite; }
  .hero-photo-collage img:nth-child(4) { animation: heroPanSlow4 22s ease-in-out infinite; }
  .steam-container {
    position: absolute;
    bottom: 42%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 200px;
    pointer-events: none;
  }
  .steam-particle {
    position: absolute;
    bottom: 0;
    width: 40px; height: 80px;
    border-radius: 50%;
    background: rgba(200,120,32,0.07);
    filter: blur(18px);
    animation: steamRise 4s ease-in-out infinite;
  }
  [data-theme="light"] .steam-particle {
    background: rgba(200,120,32,0.12);
  }
  .steam-particle:nth-child(1) { left: 15%; animation-delay: 0s; width: 50px; }
  .steam-particle:nth-child(2) { left: 35%; animation-delay: 1.2s; width: 35px; height: 70px; }
  .steam-particle:nth-child(3) { left: 55%; animation-delay: 0.6s; width: 45px; height: 90px; }
  .steam-particle:nth-child(4) { left: 25%; animation-delay: 2s; width: 30px; height: 60px; }
  .steam-particle:nth-child(5) { left: 60%; animation-delay: 1.8s; width: 55px; }
  @keyframes steamRise {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 0.4; }
    100% { transform: translateY(-220px) scale(1.8) translateX(20px); opacity: 0; }
  }
  .ambient-glow {
    position: absolute;
    width: 600px; height: 400px;
    bottom: -100px; left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(200,120,32,0.08) 0%, transparent 70%);
    pointer-events: none;
  }
  [data-theme="light"] .ambient-glow {
    background: radial-gradient(ellipse, rgba(200,120,32,0.12) 0%, transparent 70%);
  }
  .hero-content {
    position: relative; z-index: 2;
    text-align: center;
    padding: 0 2rem;
  }
  .hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--ember);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s forwards;
  }
  .hero-eyebrow-spaced {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 9vw, 8rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--cream);
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.6s forwards;
  }
  .hero-title em {
    font-style: italic;
    color: var(--ember-pale);
    font-weight: 300;
  }
  .hero-actions {
    display: flex; gap: 1.2rem; justify-content: center; align-items: center;
    opacity: 0;
    animation: fadeUp 0.8s 1s forwards;
  }
  .btn-primary {
    padding: 0.9rem 2.4rem;
    background: var(--ember);
    color: var(--bg-void);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25,0.8,0.25,1);
    font-family: var(--font-body);
    border: none; cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  .btn-primary::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.5s;
  }
  .btn-primary:hover::after { transform: translateX(100%); }
  .btn-primary:hover { background: var(--ember-light); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(200,120,32,0.3); }
  .btn-ghost {
    padding: 0.9rem 2.4rem;
    border: 0.5px solid var(--stone);
    color: var(--cream-dim);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25,0.8,0.25,1);
    font-family: var(--font-body);
    background: transparent;
    cursor: pointer;
  }
  .btn-ghost:hover { border-color: var(--ember-pale); color: var(--ember-pale); transform: translateY(-3px); }
  @keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

  /* ============ SECTION COMMON ============ */
  section { padding: 7rem 4rem; }
  .section-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--ember);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
  }
  .section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--cream);
  }
  .section-title em { font-style: italic; color: var(--ember-pale); }
  .divider {
    width: 40px; height: 0.5px;
    background: var(--ember);
    margin: 2rem 0;
  }
  .fade-in {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .fade-in.visible { opacity: 1; transform: translateY(0); }

  /* ============ TICKER ============ */
  .ticker {
    background: var(--ember);
    padding: 0.8rem 0;
    overflow: hidden;
    white-space: nowrap;
  }
  .ticker-inner {
    display: inline-block;
    animation: ticker 30s linear infinite;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #FFF;
    font-weight: 500;
  }
  [data-theme="light"] .ticker-inner { color: #FFF; }
  .ticker-inner span { margin: 0 3rem; }
  .ticker-inner::after {
    content: attr(data-content);
    margin-left: 3rem;
  }
  @keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

  /* ============ STORY ============ */
  #story { background: var(--bg-deep); }
  .story-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 6rem; align-items: center;
  }
  .story-visual {
    position: relative; aspect-ratio: 3/4;
    background: var(--bg-warm);
    overflow: hidden;
  }
  .story-visual:hover .story-img {
    transform: scale(1.05);
  }
  .story-visual::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 70%, rgba(200,120,32,0.15), transparent 70%);
    z-index: 1;
  }
  [data-theme="light"] .story-visual::before {
    background: radial-gradient(ellipse at 50% 70%, rgba(200,120,32,0.1), transparent 70%);
  }
  .story-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25,0.8,0.25,1);
  }
  .story-tag {
    position: absolute; bottom: 2rem; right: -1.5rem;
    background: var(--ember);
    color: var(--bg-void);
    padding: 1.5rem;
    font-family: var(--font-display);
  }
  .story-tag .big-num {
    font-size: 2.5rem; font-weight: 600; display: block; line-height: 1;
  }
  .story-tag small { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
  .story-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--stone-light);
    margin-bottom: 1.5rem;
  }
  .story-text p strong { color: var(--cream); font-weight: 400; }

  /* ============ MENU ============ */
  #menu { background: var(--bg-mid); }
  .menu-inner { max-width: 1200px; margin: 0 auto; }
  .menu-header { margin-bottom: 3.5rem; }
  .menu-tabs {
    display: flex; gap: 0;
    border-bottom: 0.5px solid var(--border-subtle);
    margin-bottom: 3rem;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .menu-tabs::-webkit-scrollbar { display: none; }
  .menu-tabs { -webkit-overflow-scrolling: touch; }
  .tab-btn {
    padding: 0.8rem 1.8rem;
    background: none; border: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--stone);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: color 0.3s;
    border-bottom: 2px solid transparent;
    margin-bottom: -0.5px;
  }
  .tab-btn.active { color: var(--ember-pale); border-bottom-color: var(--ember); }
  .tab-btn:hover { color: var(--cream-dim); }
  .menu-panel { display: none; }
  .menu-panel.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.5px; }
  .menu-item {
    background: var(--bg-deep);
    padding: 2rem;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    cursor: default;
    display: flex;
    gap: 1.2rem;
    align-items: center;
  }
  .menu-item::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 2px; height: 0;
    background: var(--ember);
    transition: height 0.4s;
  }
  .menu-item:hover::before { height: 100%; }
  .menu-item:hover { background: var(--bg-warm); transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
  .item-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.6rem; gap: 0.5rem; }
  .item-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--cream);
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 0.45rem;
  }
  .item-qty {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--stone);
    font-weight: 400;
  }
  .item-price {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--ember);
    white-space: nowrap;
  }
  .item-desc {
    font-size: 0.85rem;
    color: var(--stone-light);
    line-height: 1.6;
  }
  .item-tags { margin-top: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
  .tag {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 0.5px solid var(--border-subtle);
    color: var(--stone);
    padding: 0.2rem 0.6rem;
  }
  .menu-item-img {
    width: 70px; height: 70px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center center;
    flex-shrink: 0;
    border: 1.5px solid var(--border-subtle);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .menu-item:hover .menu-item-img {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(200,120,32,0.2);
  }
  .menu-item-content {
    flex: 1;
    min-width: 0;
  }

  /* ---- Menu Add-ons ---- */
  .menu-addons {
    grid-column: 1 / -1;
    margin-top: 2rem;
    border-top: 1px dashed var(--border-subtle);
    padding-top: 1.5rem;
  }
  .menu-addons-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
  }
  .menu-addons-list {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
  }
  .menu-addon-item {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--stone-light);
  }
  .menu-addon-name {
    color: var(--ember);
    font-weight: 500;
  }

  /* ---- Social inline link ---- */
  .social-inline-link {
    margin-right: 1rem;
  }

  /* ---- Footer logo ---- */
  .footer-logo-img {
    height: 64px;
  }
  /* ============ ORIGINS ============ */
  #origins { background: var(--bg-deep); }
  .origins-inner { max-width: 1200px; margin: 0 auto; }
  .origins-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5px;
    margin-top: 3rem;
  }
  .origin-card {
    background: var(--bg-mid);
    padding: 2rem 1.5rem;
    transition: background 0.3s, transform 0.4s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.3s;
    text-align: center;
    cursor: default;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .origin-card:hover { background: var(--bg-warm); transform: translateY(-8px); box-shadow: 0 12px 30px rgba(0,0,0,0.15); }
  .origin-coffee-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
    border: 1px solid var(--ember);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  .origin-country {
    font-family: var(--font-display);
    font-size: 1.2rem; color: var(--cream);
    margin-bottom: 0.3rem;
  }
  .origin-region {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 0.8rem;
    display: block;
  }
  .origin-notes {
    font-size: 0.8rem; color: var(--stone-light); line-height: 1.5;
  }
  .origin-bar {
    margin-top: auto;
    height: 2px; background: var(--border-subtle);
    border-radius: 0;
    overflow: hidden;
  }
  .origin-bar-fill {
    height: 100%; background: var(--ember);
    transform: scaleX(0); transform-origin: left;
    transition: transform 1s 0.3s;
  }
  .origin-card.visible .origin-bar-fill { transform: scaleX(1); }

  /* ============ TESTIMONIALS ============ */
  #reviews { background: var(--bg-mid); overflow: hidden; }
  .reviews-inner { max-width: 1200px; margin: 0 auto; }
  .reviews-carousel { position: relative; margin-top: 3rem; overflow: hidden; }
  .reviews-track {
    display: flex; gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.25,0.8,0.25,1);
    will-change: transform;
  }
  .review-card {
    min-width: calc(50% - 1rem);
    max-width: calc(50% - 1rem);
    background: var(--bg-deep);
    padding: 2.5rem;
    flex-shrink: 0;
    box-sizing: border-box;
  }
  .review-stars { color: var(--ember); font-size: 0.9rem; margin-bottom: 1rem; }
  .review-text {
    font-family: var(--font-display);
    font-size: 1.3rem; font-style: italic;
    color: var(--cream);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .review-author { display: flex; align-items: center; gap: 1rem; }
  .author-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--bg-warm);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--ember-pale);
    border: 0.5px solid rgba(200,120,32,0.3);
    flex-shrink: 0;
  }
  .author-name { font-size: 0.85rem; color: var(--cream); font-weight: 400; }
  .author-via { font-size: 0.7rem; color: var(--stone); }
  .carousel-controls {
    display: flex; gap: 1rem; margin-top: 2rem;
  }
  .carousel-btn {
    width: 44px; height: 44px;
    border: 0.5px solid var(--stone);
    background: none;
    color: var(--cream-dim);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex; align-items: center; justify-content: center;
  }
  .carousel-btn:hover { border-color: var(--ember); color: var(--ember-pale); }

  /* ============ ATMOSPHERE ============ */
  #atmosphere { background: var(--bg-deep); }
  .atm-inner { max-width: 1200px; margin: 0 auto; }
  .atm-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 1.5px;
    margin-top: 3rem;
  }
  .atm-cell {
    background: var(--bg-mid);
    position: relative;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
  }
  .atm-cell:first-child { grid-row: span 2; }
  
  .atm-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 0;
  }
  .atm-cell:hover .atm-img {
    transform: scale(1.08);
  }
  
  .atm-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 10, 7, 0.75) 0%, rgba(13, 10, 7, 0) 50%);
    z-index: 1;
    transition: opacity 0.4s ease;
    opacity: 0.8;
  }
  [data-theme="light"] .atm-overlay {
    background: linear-gradient(to top, rgba(245, 237, 226, 0.75) 0%, rgba(245, 237, 226, 0) 50%);
  }
  .atm-cell:hover .atm-overlay {
    opacity: 0.25;
  }
  
  .atm-label {
    position: absolute; bottom: 1rem; left: 1.2rem;
    font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--text-primary); font-family: var(--font-mono);
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  }
  [data-theme="light"] .atm-label {
    text-shadow: 0 1px 2px rgba(255,255,255,0.7);
  }
  
  .atm-icon {
    font-size: 3.5rem;
    opacity: 0.35;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
  }
  .atm-cell:hover .atm-icon {
    transform: scale(1.15) rotate(5deg);
    opacity: 0.75;
  }


  /* ============ FAQ ============ */
  #faq { background: var(--bg-deep); }
  .faq-inner { max-width: 800px; margin: 0 auto; }
  .faq-list { margin-top: 3rem; }
  .faq-item { border-bottom: 0.5px solid var(--border-subtle); }
  .faq-question {
    width: 100%; background: none; border: none;
    padding: 1.5rem 0;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer;
    text-align: left;
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.3s;
  }
  .faq-question:hover { color: var(--ember-pale); }
  .faq-question span:first-child { flex: 1; margin-right: 2rem; }
  .faq-arrow {
    font-size: 1.2rem;
    color: var(--ember);
    transition: transform 0.4s;
    flex-shrink: 0;
  }
  .faq-item.open .faq-arrow { transform: rotate(45deg); }
  .faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
  }
  .faq-answer p {
    font-size: 0.9rem; color: var(--stone-light);
    line-height: 1.8;
    padding-bottom: 1.5rem;
  }
  .faq-item.open .faq-answer { max-height: 400px; }

  /* ============ CONTACT / MAP ============ */
  #contact { background: var(--bg-mid); }
  .contact-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
  }
  .contact-item {
    display: flex; gap: 1.2rem; align-items: flex-start;
    padding: 1.5rem 0;
    border-bottom: 0.5px solid var(--border-subtle);
  }
  .contact-icon { font-size: 1.2rem; color: var(--ember); flex-shrink: 0; margin-top: 2px; }
  .contact-label {
    font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--stone); margin-bottom: 0.3rem; display: block;
    font-family: var(--font-mono);
  }
  .contact-value { font-size: 0.95rem; color: var(--cream); line-height: 1.6; }
  .contact-value a { color: var(--ember-pale); text-decoration: none; }
  .contact-value a:hover { color: var(--ember-light); }
  .map-placeholder {
    background: var(--bg-deep);
    border: 0.5px solid var(--border-subtle);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 1rem;
    min-height: 380px;
    position: relative;
    overflow: hidden;
  }
  .map-grid-lines {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(122,106,92,0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(122,106,92,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
  }
  .map-dot {
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--ember);
    box-shadow: 0 0 0 8px rgba(200,120,32,0.15), 0 0 0 16px rgba(200,120,32,0.07);
    animation: mapPulse 2.5s infinite;
    position: relative; z-index: 1;
  }
  @keyframes mapPulse {
    0%,100% { box-shadow: 0 0 0 8px rgba(200,120,32,0.15), 0 0 0 16px rgba(200,120,32,0.07); }
    50% { box-shadow: 0 0 0 12px rgba(200,120,32,0.2), 0 0 0 24px rgba(200,120,32,0.08); }
  }
  .map-label {
    font-family: var(--font-mono);
    font-size: 0.65rem; letter-spacing: 0.2em;
    color: var(--stone);
    text-align: center;
    position: relative; z-index: 1;
  }
  .map-label strong { color: var(--ember); display: block; font-size: 0.75rem; margin-bottom: 0.2rem; }

  /* ============ COOKIE BANNER ============ */
  .cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: var(--bg-deep);
    border-top: 1px solid var(--ember);
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25,0.8,0.25,1);
  }
  .cookie-banner.show { transform: translateY(0); }
  [data-theme="light"] .cookie-banner {
    background: #FAF4EB;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  }
  .cookie-banner-text {
    font-size: 0.85rem;
    color: var(--cream-dim);
    line-height: 1.5;
    flex: 1;
  }
  .cookie-banner-text a {
    color: var(--ember-pale);
    text-decoration: underline;
    cursor: pointer;
  }
  .cookie-banner-actions {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
  }
  .cookie-btn-accept {
    padding: 0.6rem 1.5rem;
    background: var(--ember);
    color: #FFF;
    border: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
  }
  .cookie-btn-accept:hover { background: var(--ember-light); }
  .cookie-btn-reject {
    padding: 0.6rem 1.5rem;
    background: transparent;
    color: var(--stone);
    border: 0.5px solid var(--stone);
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
  }
  .cookie-btn-reject:hover { border-color: var(--ember); color: var(--ember-pale); }
  @media (max-width: 768px) {
    .cookie-banner {
      flex-direction: column;
      padding: 1rem 1.2rem;
      gap: 1rem;
      text-align: center;
    }
    .cookie-banner-text { font-size: 0.8rem; }
    .cookie-banner-actions { width: 100%; justify-content: center; }
  }

  /* ============ COOKIE POLICY MODAL ============ */
  .cookie-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }
  .cookie-modal-overlay.show { display: flex; }
  .cookie-modal {
    background: var(--bg-deep);
    border: 0.5px solid var(--border-subtle);
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2.5rem;
  }
  [data-theme="light"] .cookie-modal {
    background: #FAF4EB;
  }
  .cookie-modal h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--cream);
    margin-bottom: 1.5rem;
  }
  .cookie-modal h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--ember-pale);
    margin: 1.5rem 0 0.5rem;
  }
  .cookie-modal p {
    font-size: 0.88rem;
    color: var(--stone-light);
    line-height: 1.7;
    margin-bottom: 0.8rem;
  }
  .cookie-modal-close {
    float: right;
    background: none;
    border: none;
    color: var(--stone);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
  }
  .cookie-modal-close:hover { color: var(--ember); }

  /* ============ ANPC / SOL FOOTER ============ */
  .footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 0.5px solid var(--border-subtle);
    flex-wrap: wrap;
  }
  .footer-legal a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--stone);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    transition: color 0.3s, transform 0.3s;
  }
  .footer-legal a:hover { color: var(--ember-pale); transform: translateY(-2px); }
  .footer-legal img {
    height: 50px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s;
  }
  .footer-legal img.sol-logo {
    height: 70px;
  }
  .footer-legal img.anpc-logo {
    height: 120px;
  }
  .footer-legal a:hover img { opacity: 1; }
  @media (max-width: 480px) {
    .footer-legal { flex-direction: column; gap: 1rem; }
  }

  /* ============ FOOTER ============ */
  footer {
    background: var(--bg-void);
    padding: 4rem 4rem 2rem;
    border-top: 0.5px solid var(--border-subtle);
  }
  .footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem; padding-bottom: 3rem;
    border-bottom: 0.5px solid var(--border-subtle);
    margin-bottom: 2rem;
  }
  .footer-brand-desc { font-size: 0.85rem; color: var(--stone); line-height: 1.7; margin-top: 1rem; }
  .footer-heading {
    font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--ember); margin-bottom: 1.2rem;
    font-family: var(--font-mono);
  }
  .footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
  .footer-links a {
    font-size: 0.85rem; color: var(--stone);
    text-decoration: none; transition: color 0.3s, transform 0.3s;
    display: inline-block;
    position: relative;
  }
  .footer-links a::after {
    content: '';
    position: absolute; bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: var(--ember);
    transition: width 0.3s;
  }
  .footer-links a:hover { color: var(--cream-dim); transform: translateX(4px); }
  .footer-links a:hover::after { width: 100%; }
  .social-links { display: flex; gap: 0.8rem; margin-top: 1.5rem; }
  .social-btn {
    width: 36px; height: 36px;
    border: 0.5px solid var(--border-subtle);
    display: flex; align-items: center; justify-content: center;
    color: var(--stone);
    text-decoration: none; font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.25,0.8,0.25,1);
    font-family: var(--font-mono);
  }
  .social-btn:hover { border-color: var(--ember); color: var(--ember-pale); transform: translateY(-3px) scale(1.1); box-shadow: 0 4px 15px rgba(200,120,32,0.2); }
  .footer-bottom {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
  }
  .footer-copy { font-size: 0.75rem; color: var(--stone); }
  .footer-copy a { color: var(--ember); text-decoration: none; }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 1024px) {
    section { padding: 5rem 2.5rem; }
    nav { padding: 1.2rem 2.5rem; }
    nav.scrolled { padding: 0.9rem 2.5rem; }
    .story-grid { grid-template-columns: 1fr; gap: 3rem; }
    .story-visual { max-width: 400px; }

    .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .origins-grid { grid-template-columns: repeat(3, 1fr); }
    .atm-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; gap: 8px; }
    .atm-cell:first-child { grid-row: span 1; }
    .review-card { min-width: 100%; max-width: 100%; }
    .reviews-track { gap: 1.5rem; }
  }
  @media (max-width: 768px) {
    section { padding: 4rem 1.5rem; }
    nav { padding: 1rem 1.5rem; }
    nav.scrolled { padding: 0.8rem 1.5rem; }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .hamburger { display: flex; margin-left: 0.75rem; }
    .hero-title { font-size: clamp(3rem, 12vw, 5rem); }
    .nav-logo img { height: 80px; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .menu-panel.active { grid-template-columns: 1fr; }
    .origins-grid { grid-template-columns: 1fr 1fr; }
    .atm-grid { grid-template-columns: 1fr; grid-auto-rows: 320px; gap: 15px; }
    .footer-grid { grid-template-columns: 1fr; }


    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .hero-actions { flex-direction: column; align-items: center; }
    .reviews-track { gap: 1rem; }
    .review-card {
      min-width: 100%; max-width: 100%;
      padding: 1.5rem;
    }
    .review-stars { margin-bottom: 0.5rem; font-size: 0.85rem; }
    .review-text { font-size: 1.05rem; line-height: 1.5; margin-bottom: 1rem; }
    .author-avatar { width: 36px; height: 36px; font-size: 0.95rem; }
    .author-name { font-size: 0.8rem; }
    .author-via { font-size: 0.65rem; }
    .carousel-controls { margin-top: 1.5rem; justify-content: center; }
    .carousel-btn { width: 48px; height: 48px; font-size: 1.3rem; }
  }
  @media (max-width: 480px) {
    .review-card { padding: 1.2rem; }
    .review-stars { margin-bottom: 0.4rem; font-size: 0.8rem; }
    .review-text { font-size: 0.95rem; line-height: 1.45; margin-bottom: 0.8rem; }
    .author-avatar { width: 32px; height: 32px; font-size: 0.85rem; }
    .author-name { font-size: 0.78rem; }
    .author-via { font-size: 0.62rem; }
    .google-rating-badge { flex-wrap: wrap; justify-content: center; }
    .nav-logo img { height: 64px; }
    .footer-logo-img { height: 48px; }
  }

  /* Mobile menu overlay */
  .mobile-nav {
    display: none;
    position: fixed; inset: 0; z-index: 99;
    background: rgba(8,6,4,0.97);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem;
  }
  [data-theme="light"] .mobile-nav {
    background: rgba(245,237,226,0.97);
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a {
    font-family: var(--font-display);
    font-size: 2.5rem; font-style: italic;
    color: var(--cream); text-decoration: none;
    transition: color 0.3s;
  }
  .mobile-nav a:hover { color: var(--ember-pale); }
  .mobile-close {
    position: absolute; top: 1.5rem; right: 1.5rem;
    background: none; border: none;
    color: var(--stone); font-size: 1.5rem; cursor: pointer;
  }

  /* Notification */
  .notif {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 200;
    background: var(--ember);
    color: var(--bg-void);
    padding: 1rem 1.5rem;
    font-size: 0.85rem; font-weight: 500;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s;
    max-width: 320px;
  }
  .notif.show { transform: translateY(0); opacity: 1; }
  [data-theme="light"] .notif {
    background: #1A1208;
    color: #FFF;
  }

  /* ============ LIGHT MODE — section-specific white accents ============ */
  [data-theme="light"] .story-visual {
    background: #FAF4EB;
    box-shadow: 0 2px 30px rgba(0,0,0,0.05);
  }
  [data-theme="light"] .story-tag {
    color: #FFF;
  }
  [data-theme="light"] .menu-item {
    background: #FAF4EB;
    border: 0.5px solid rgba(200,180,160,0.2);
  }
  [data-theme="light"] .menu-item:hover {
    background: #F5EBDD;
  }
  [data-theme="light"] .origin-card {
    background: #FAF4EB;
    border: 0.5px solid rgba(200,180,160,0.15);
  }
  [data-theme="light"] .origin-card:hover {
    background: #F5EBDD;
  }
  [data-theme="light"] .review-card {
    background: #FAF4EB;
    box-shadow: 0 1px 12px rgba(0,0,0,0.04);
  }
  [data-theme="light"] .atm-cell {
    background: #FAF4EB;
  }
  [data-theme="light"] .map-placeholder {
    background: #FAF4EB;
    border-color: rgba(200,180,160,0.2);
  }
  [data-theme="light"] .map-grid-lines {
    background-image:
      linear-gradient(rgba(200,180,160,0.12) 1px, transparent 1px),
      linear-gradient(90deg, rgba(200,180,160,0.12) 1px, transparent 1px);
  }
  [data-theme="light"] .btn-primary {
    color: #FFF;
  }
  [data-theme="light"] .btn-primary:hover {
    color: #FFF;
  }
  [data-theme="light"] .btn-ghost {
    border-color: var(--stone);
    color: var(--stone);
  }
  [data-theme="light"] .btn-ghost:hover {
    border-color: var(--ember);
    color: var(--ember);
  }
  [data-theme="light"] .author-avatar {
    background: #EEE4D5;
    border-color: rgba(200,120,32,0.2);
  }
  [data-theme="light"] .carousel-btn {
    border-color: rgba(200,180,160,0.3);
  }
  [data-theme="light"] .faq-question {
    color: var(--cream);
  }
  [data-theme="light"] .faq-question:hover {
    color: var(--ember);
  }
  [data-theme="light"] .tag {
    border-color: rgba(200,180,160,0.35);
    color: var(--stone-light);
  }
  [data-theme="light"] footer {
    background: #EBE0D0;
  }
  /* ============ COFFEE BEANS CANVAS ============ */
  #coffeeBeans {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.55;
  }
  [data-theme="light"] #coffeeBeans {
    opacity: 0.35;
  }

  /* ============ BACK TO TOP ============ */
  .back-to-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 44px; height: 44px;
    background: var(--ember);
    color: #FFF;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 90;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25,0.8,0.25,1);
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(200,120,32,0.3);
  }
  .back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 25px rgba(200,120,32,0.4);
  }

  /* ============ STAGGERED ANIMATIONS ============ */
  .stagger-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .stagger-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

/* ============ GOOGLE REVIEWS ADDON ============ */
.reviews-header-addon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}
.google-rating-badge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--bg-mid);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  border: 0.5px solid var(--border-subtle);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.g-logo {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #4285F4;
  background: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.g-rating-stars {
  color: #F4B400;
  font-size: 1.1rem;
  letter-spacing: 1px;
}
.g-rating-text {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}
.write-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--ember);
  border: 1px solid var(--ember);
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 4px;
}
.write-review-btn:hover {
  background: var(--ember);
  color: #FFF;
  box-shadow: 0 4px 15px rgba(200, 120, 32, 0.25);
  transform: translateY(-2px);
}

/* ============ LANGUAGE SWITCHING ============ */
[lang="ro"] .lang-en {
  display: none !important;
}
[lang="en"] .lang-ro {
  display: none !important;
}

.lang-toggle {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--ember-pale);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
  border-radius: 0;
}
.lang-toggle:hover {
  background: rgba(200, 120, 32, 0.08);
}

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


