/* ═══════════ Wally's — A Fresh Take · dark theme ═══════════ */
@font-face {
  font-family: 'Cal Sans';
  src: url('assets/fonts/CalSans-Regular.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --accent: #8CDB0D;
  --accent-deep: #8CDB0D;
  --accent-ink: #1C2B04;          /* dark text on lime */
  --radius: 20px;
  --display: 'Cal Sans', 'Inter', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* dark theme (default) */
  --bg: #242424;
  --surface: #2D2D2D;
  --surface-2: #1C1C1C;
  --text: #F4F4F0;
  --muted: rgba(244, 244, 240, .68);
  --faint: rgba(244, 244, 240, .42);
  --line: rgba(244, 244, 240, .1);
  --track: rgba(244, 244, 240, .14);
  --nav-bg: rgba(36, 36, 36, .82);
  --shadow: rgba(0, 0, 0, .45);

  /* inverse-section tokens (light while site is dark) */
  --inv-bg: #F6F5F0;
  --inv-surface: #FFFFFF;
  --inv-surface-2: #EAE9E2;
  --inv-text: #242424;
  --inv-muted: rgba(36, 36, 36, .7);
  --inv-faint: rgba(36, 36, 36, .45);
  --inv-line: rgba(36, 36, 36, .12);
  --inv-track: rgba(36, 36, 36, .14);
  --inv-shadow: rgba(30, 30, 25, .14);
}


* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, .step-num, .calc-value {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(3.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.25rem; line-height: 1.25; }
.accent { color: var(--accent); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }


/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 26px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.98); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 24px rgba(140,219,13,.28); }
.btn-accent:hover { background: var(--accent-deep); box-shadow: 0 10px 30px rgba(140,219,13,.4); }
.btn-ghost { border: 2px solid rgba(244,244,240,.22); color: var(--text); font-weight: 600; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo img { height: 54px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: .93rem;
  color: var(--muted);
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { padding: 11px 20px; font-size: .88rem; }
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 24px 22px;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a {
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.4rem;
  padding: 10px 0;
  color: var(--text);
}
.mobile-menu a:active { color: var(--accent); }
.mobile-menu.open { display: flex; }

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  background: url('assets/img/hero.jpg') center 55% / cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(36,36,36,.5), rgba(36,36,36,.55) 70%, var(--surface-2)),
    linear-gradient(100deg, rgba(28,28,28,.92) 20%, rgba(28,28,28,.55) 60%, rgba(28,28,28,.3));
}
.hero-inner {
  position: relative;
  padding-top: 120px;
  padding-bottom: 110px;
  min-height: 64vh;
  display: flex;
  align-items: center;
}
.hero-copy { max-width: 640px; }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(244,244,240,.85);
  max-width: 500px;
  margin: 26px 0 34px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-hours { margin-top: 34px; font-size: .9rem; color: rgba(244,244,240,.75); }
.hero-hours strong { color: var(--accent); font-weight: 700; }
.hero .btn-ghost { border-color: rgba(244,244,240,.4); }
.hero .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero .accent { color: var(--accent); }

/* ── How it works ── */
.how { background: var(--surface-2); padding: 90px 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 46px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform .3s ease, border-color .3s ease;
}
.step:hover { transform: translateY(-6px); border-color: rgba(140,219,13,.45); }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(140,219,13,.14);
  color: var(--accent);
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ── Calculator ── */
.calc {
  --bg: var(--inv-bg); --surface: var(--inv-surface); --surface-2: var(--inv-surface-2);
  --text: var(--inv-text); --muted: var(--inv-muted); --faint: var(--inv-faint);
  --line: var(--inv-line); --track: var(--inv-track); 
  --shadow: var(--inv-shadow);
  color: var(--text);
  background: var(--bg);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.calc::before {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140,219,13,.12), transparent 65%);
  top: -180px; right: -120px;
}
.calc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.calc-sub { color: var(--muted); margin-bottom: 18px; }
.calc-note {
  font-size: .85rem;
  color: var(--faint);
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}
.calc-widget {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 42px 38px;
  box-shadow: 0 24px 60px var(--shadow);
}
.calc-readout {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  gap: 12px;
}
.calc-count { font-size: 1rem; color: var(--muted); font-weight: 600; }
.calc-count span { color: var(--text); font-size: 1.3rem; }
.calc-value {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--accent);
  line-height: 1;
}
input[type="range"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 10px;
  border-radius: 100px;
  background: linear-gradient(to right, var(--accent) var(--fill, 12%), var(--track) var(--fill, 12%));
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--text);
  border: 5px solid var(--accent);
  box-shadow: 0 4px 14px rgba(0,0,0,.4);
  transition: transform .15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--text);
  border: 5px solid var(--accent);
  box-shadow: 0 4px 14px rgba(0,0,0,.4);
}
.calc-scale {
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--faint);
  margin-top: 12px;
}

/* ── What we take ── */
.take {
  position: relative;
  padding: 110px 0 130px;
  background: url('assets/img/cans.jpg') center bottom / cover no-repeat;
}
.take::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg) 45%, rgba(36,36,36,.88) 72%, rgba(30,30,30,.78));
}
.take .container { position: relative; }
.take-title { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: .5em; }

.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 46px;
  align-items: center;
  gap: 18px;
  padding: 26px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: inherit;
}
.acc-title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.1;
  transition: color .3s ease, transform .35s cubic-bezier(.22,.61,.36,1);
  transform-origin: left center;
}
.acc-x {
  position: relative;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background .3s ease, border-color .3s ease, transform .45s cubic-bezier(.22,.61,.36,1);
  justify-self: end;
}
.acc-x::before, .acc-x::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 16px; height: 2px;
  background: var(--text);
  transform: translate(-50%, -50%);
  transition: background .3s ease, transform .3s ease;
}
.acc-x::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-head:hover .acc-title { color: var(--accent); transform: translateX(10px); }
.acc-head:hover .acc-x { border-color: var(--accent); }
.acc-item.open .acc-x {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(135deg);
}
.acc-item.open .acc-x::before, .acc-item.open .acc-x::after { background: var(--accent-ink); }
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s cubic-bezier(.22,.61,.36,1);
}
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel-inner {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
}
.acc-text { max-width: 560px; padding: 0 4px; }
.acc-panel .acc-text { padding-bottom: 0; }
.acc-item.open .acc-text { padding-bottom: 34px; }
.acc-text p { color: var(--muted); font-size: 1rem; margin-bottom: 12px; }
.acc-pill {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.acc-note {
  display: inline-block;
  padding: 9px 14px;
  background: var(--surface-2);
  border-radius: 10px;
  font-size: .84rem !important;
  color: var(--muted);
}
.acc-media { padding-bottom: 0; }
.acc-item.open .acc-media { padding-bottom: 34px; }
.acc-media img {
  width: 260px;
  height: 170px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.take-cta { text-align: center; margin-top: 46px; color: var(--muted); }
.take-cta a { color: var(--accent); font-weight: 600; }

/* ── About ── */
.about {
  --bg: var(--inv-bg); --surface: var(--inv-surface); --surface-2: var(--inv-surface-2);
  --text: var(--inv-text); --muted: var(--inv-muted); --faint: var(--inv-faint);
  --line: var(--inv-line); 
  --shadow: var(--inv-shadow);
  color: var(--text);
  background: var(--bg);
  padding: 100px 0;
}
.about-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px var(--shadow);
}
.about-copy p { color: var(--muted); margin-bottom: 16px; max-width: 540px; }
.about-list {
  list-style: none;
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.about-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 600;
  font-size: .95rem;
}
.about-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--accent-ink);
  background: var(--accent);
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-top: 3px;
}

/* ── Visit ── */
.visit { padding: 110px 0; }
.visit-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  margin-top: 46px;
}
.visit-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.info-block h3 {
  font-size: .8rem;
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.info-block p { color: var(--muted); }
.info-block a { color: var(--text); font-weight: 600; text-decoration: none; }
.info-block a:hover { color: var(--accent); }
.hours-table { border-collapse: collapse; }
.hours-table td { padding: 5px 0; color: var(--muted); }
.hours-table td:first-child { font-weight: 600; color: var(--text); padding-right: 34px; }
.hours-table tr.today td { color: var(--accent); font-weight: 700; }
.visit-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px var(--shadow);
}
.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;

}

.visit-map iframe { filter: invert(90%) hue-rotate(180deg) contrast(.9); }

/* ── Footer ── */
.footer { background: var(--surface-2); border-top: 1px solid var(--line); padding: 70px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr;
  gap: 40px;
  padding-bottom: 54px;
}
.footer-logo { height: 74px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: .92rem; }
.footer-col h4 {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.footer-col a, .footer-col span {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bar {
  border-top: 1px solid var(--line);
  padding: 22px 24px;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: .82rem;
  color: var(--faint);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-inner { padding-top: 72px; padding-bottom: 56px; min-height: 0; }
  .how { padding: 64px 0 80px; }
  .hero::before {
    background:
      linear-gradient(to bottom, rgba(36,36,36,.62), rgba(36,36,36,.66) 70%, var(--surface-2)),
      linear-gradient(100deg, rgba(28,28,28,.85) 30%, rgba(28,28,28,.6));
  }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .calc-inner, .visit-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-photo img { height: 300px; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; padding: 12px; }
  .nav-cta span { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .acc-head { grid-template-columns: 1fr 38px; gap: 12px; padding: 20px 2px; }
  .acc-x { width: 38px; height: 38px; }
  .acc-panel-inner { grid-template-columns: 1fr; gap: 0; }
  .acc-media img { width: 100%; height: 180px; margin-left: 0; }
  .acc-media { padding: 0; }
  .acc-item.open .acc-media { padding-bottom: 24px; }
  .how { padding: 48px 0 60px; }
  .take { padding: 76px 0 96px; }
  .visit { padding: 76px 0; }
  .calc, .about { padding: 76px 0; }
  .hero-inner { padding-top: 52px; padding-bottom: 44px; }
  .footer-bar { flex-direction: column; text-align: center; }
}

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