/* =========================================================
   Dopamine Concept — styles
   Brand: cobalt blue on white + playful multicolor accents,
   marker/brush display type. Left-sidebar layout.
   ========================================================= */

:root {
  --blue: #2438c6;
  --blue-deep: #1a2aa0;
  --red: #e6402c;
  --yellow: #f6bf1a;
  --green: #2fa45a;

  --ink: #14163a;          /* deep blue-black */
  --paper: #ffffff;
  --bone: #f5f5ef;         /* warm off-white */
  --line: rgba(20, 22, 58, 0.12);
  --muted: #6b6e86;

  --sidebar-w: 248px;
  --maxw: 1080px;
  --gutter: clamp(22px, 5vw, 72px);
  --radius: 18px;          /* soft, friendly */
  --radius-sm: 12px;
  --shadow: 0 28px 60px -34px rgba(36, 56, 198, 0.45);

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-marker: "Permanent Marker", "Comic Sans MS", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 0.4em; line-height: 1.04; font-family: var(--font-head); }

.section { padding-block: clamp(60px, 9vw, 120px); position: relative; }

/* ---- shared bits ---------------------------------------- */
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1.1em;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.dot--blue { background: var(--blue); }
.dot--red { background: var(--red); }
.dot--yellow { background: var(--yellow); }
.dot--green { background: var(--green); }

.marker {
  font-family: var(--font-marker);
  font-weight: 400;
  letter-spacing: 0.5px;
}
.marker--blue { color: var(--blue); }
.marker--red { color: var(--red); }

/* Weight-mixed caption style — echoes Dopamine's posts:
   clean geometric sans (Poppins) alternating Regular/Bold within a word. */
.mix {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.mix b { font-weight: 800; }
.mix--blue { color: var(--blue); }
.mix--red { color: var(--red); }

.section__head { max-width: 620px; margin-bottom: clamp(30px, 5vw, 56px); }
.section__head h2,
.story__text h2,
.visit__info h2 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section__sub { color: var(--muted); max-width: 52ch; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  border: 2px solid var(--blue);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn--solid { background: var(--blue); color: #fff; }
.btn--solid:hover { background: var(--blue-deep); border-color: var(--blue-deep); transform: translateY(-2px); }
.btn--line { color: var(--blue); background: transparent; }
.btn--line:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

/* ---- SIDEBAR -------------------------------------------- */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  background: var(--blue);
  color: #fff;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  z-index: 50;
}
.brand__mark { width: 92px; height: 92px; border: 3px solid rgba(255,255,255,0.9); border-radius: 50%; }
.brand { display: inline-block; }

.sidenav {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidenav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  padding: 8px 0;
  color: rgba(255,255,255,0.85);
  width: max-content;
  position: relative;
  transition: color 0.15s ease, padding 0.18s ease;
}
.sidenav a::before {
  content: "";
  position: absolute;
  left: -16px; top: 50%;
  width: 0; height: 3px; border-radius: 3px;
  background: var(--yellow);
  transform: translateY(-50%);
  transition: width 0.18s ease;
}
.sidenav a:hover,
.sidenav a.is-active { color: #fff; padding-left: 16px; }
.sidenav a:hover::before,
.sidenav a.is-active::before { width: 10px; }

.sidebar__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.8);
  padding-top: 26px;
}
.sidebar__foot a { transition: color 0.15s ease; }
.sidebar__foot a:hover { color: var(--yellow); }
.sidebar__loc {
  margin-top: 8px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.sidebar__toggle { display: none; }

/* ---- CONTENT ROOT --------------------------------------- */
.content {
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
}
.hero,
.section:not(.menu),
.stickers,
.footer { padding-inline: var(--gutter); }

/* ---- HERO ----------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(60px, 9vw, 120px);
  min-height: clamp(560px, 86vh, 840px);
}
.hero__blob {
  position: absolute;
  top: -10%; right: -8%;
  width: 60%; height: 90%;
  background: radial-gradient(closest-side, rgba(36,56,198,0.10), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero__text, .hero__media { position: relative; z-index: 1; }

.hero__title {
  font-size: clamp(2.7rem, 6.4vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin-bottom: 0.5em;
}
.hero__title .mix {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.02em;
  margin-top: 0.08em;
}
.hero__lead { font-size: 1.12rem; color: var(--muted); max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }

.hero__smileline {
  margin-top: 2.2em;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-marker);
  color: var(--red);
  font-size: 1.1rem;
}
.smile { width: 46px; height: 26px; color: var(--green); }

/* polaroid frames */
.polaroid {
  margin: 0;
  background: #fff;
  padding: 14px 14px 52px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.polaroid img { border-radius: 6px; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.polaroid figcaption {
  font-family: var(--font-marker);
  color: var(--blue);
  text-align: center;
  margin-top: 14px;
  font-size: 1.05rem;
}
.polaroid--tilt { transform: rotate(2.4deg); transition: transform 0.3s ease; }
.polaroid--tilt:hover { transform: rotate(0deg); }

/* ---- STICKER STRIP -------------------------------------- */
.stickers {
  list-style: none;
  margin: 0;
  padding-block: 0 clamp(40px, 6vw, 70px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 2px dashed var(--line);
  padding-bottom: clamp(40px, 6vw, 70px);
}
.sticker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.55em 1.15em;
  border-radius: 999px;
  color: #fff;
  transform: rotate(-1.5deg);
}
.stickers li:nth-child(even) { transform: rotate(1.5deg); }
.sticker--blue { background: var(--blue); }
.sticker--red { background: var(--red); }
.sticker--yellow { background: var(--yellow); color: var(--ink); }
.sticker--green { background: var(--green); }

/* ---- STORY ---------------------------------------------- */
.story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.story__text p { color: var(--muted); max-width: 50ch; }
.story__points { list-style: none; padding: 0; margin: 1.6em 0 0; display: grid; gap: 12px; }
.story__points li {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 600; color: var(--ink);
}
.story__media .polaroid { transform: rotate(-2.2deg); }

/* ---- MENU ----------------------------------------------- */
.menu { background: var(--bone); padding-inline: 0; }
.menu__head { padding-inline: var(--gutter); margin-bottom: clamp(26px, 4vw, 46px); }
.menu__title {
  font-family: var(--font-marker);
  font-weight: 400;
  color: var(--blue);
  font-size: clamp(3.4rem, 11vw, 7rem);
  line-height: 0.9;
  margin: 0 0 0.15em;
}
.menu__grid {
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}
.menu__cat {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
  padding-bottom: 0.5em;
  margin-bottom: 0.8em;
  border-bottom: 3px solid currentColor;
}
.menu__cat--blue { color: var(--blue); }
.menu__cat--red { color: var(--red); }
.menu__cat--green { color: var(--green); margin-top: 2em; }

.menu__list { list-style: none; padding: 0; margin: 0; }
.menu__list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 6px;
  padding: 0.7em 0;
  border-bottom: 1px solid var(--line);
}
.menu__list--compact li { padding: 0.5em 0; }
.m-name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.m-name--blue { color: var(--blue); }
.m-name--red { color: var(--red); }
.m-price { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.menu__list small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 2px;
}
.leader {
  border-bottom: 2px dotted var(--line);
  transform: translateY(-4px);
  min-width: 18px;
}
.menu__note { margin-top: 1.4em; font-size: 0.82rem; color: var(--muted); font-style: italic; }

/* ---- GALLERY -------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; transition: transform 0.4s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure:nth-child(odd) { transform: rotate(-1.4deg); }
.gallery figure:nth-child(even) { transform: rotate(1.4deg); }

/* ---- VISIT ---------------------------------------------- */
.visit {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.visit__lead { color: var(--muted); max-width: 40ch; }
.visit__details { display: grid; gap: 20px; margin: 1.8em 0; }
.visit__details dt {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--blue);
  margin-bottom: 0.3em;
}
.visit__details dd { margin: 0; }
.link { color: var(--blue); border-bottom: 2px solid transparent; transition: border-color 0.15s ease; }
.link:hover { border-color: var(--blue); }

/* social icon buttons */
.social { display: flex; gap: 12px; margin-top: 14px; }
.social__btn {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.social__btn svg { width: 21px; height: 21px; }
.social__btn:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.social--light .social__btn { border-color: rgba(255,255,255,0.7); color: #fff; }
.social--light .social__btn:hover { background: #fff; color: var(--blue); border-color: #fff; }
.muted { color: var(--muted); font-size: 0.88em; }
.visit__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
}
.visit__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---- FOOTER --------------------------------------------- */
.footer {
  background: var(--blue);
  color: #fff;
  padding-block: clamp(48px, 6vw, 80px);
}
.footer__top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.footer__mark { width: 70px; height: 70px; border: 2px solid rgba(255,255,255,0.8); border-radius: 50%; }
.footer__tag { font-family: var(--font-head); font-weight: 600; margin: 0; }
.footer__nav { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
.footer__top .social { margin-top: 0; }
.footer__nav a { color: rgba(255,255,255,0.85); font-family: var(--font-head); font-weight: 600; transition: color 0.15s ease; }
.footer__nav a:hover { color: var(--yellow); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 26px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.footer__bottom p { margin: 0; }
.footer__credit { font-family: var(--font-marker); color: var(--yellow); }

/* ---- REVEAL --------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- RESPONSIVE ----------------------------------------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__media { max-width: 420px; }
  .story, .visit { grid-template-columns: 1fr; }
  .story__media, .visit__map { max-width: 460px; }
  .menu__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  /* sidebar becomes top bar */
  .sidebar {
    position: sticky;
    inset: 0 0 auto 0;
    width: 100%;
    flex-direction: row;
    align-items: center;
    padding: 14px var(--gutter);
  }
  .brand__mark { width: 52px; height: 52px; border-width: 2px; }
  .sidebar__toggle {
    display: flex; flex-direction: column; gap: 5px;
    margin-left: auto;
    background: none; border: 0; cursor: pointer; padding: 8px;
  }
  .sidebar__toggle span { width: 26px; height: 3px; background: #fff; border-radius: 3px; transition: transform 0.2s ease, opacity 0.2s ease; }
  .sidebar.is-open .sidebar__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .sidebar.is-open .sidebar__toggle span:nth-child(2) { opacity: 0; }
  .sidebar.is-open .sidebar__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .sidenav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--blue);
    margin: 0;
    padding: 8px var(--gutter) 22px;
    gap: 0;
    max-height: 0; overflow: hidden;
    transition: max-height 0.28s ease;
  }
  .sidebar.is-open .sidenav { max-height: 360px; }
  .sidenav a { font-size: 1.25rem; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.15); width: 100%; }
  .sidenav a:hover { padding-left: 0; }
  .sidebar__foot {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--blue);
    margin: 0; padding: 0 var(--gutter) 22px;
    transform: translateY(-100%);
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.28s ease, opacity 0.2s ease;
    pointer-events: none;
  }
  .sidebar.is-open .sidebar__foot {
    position: static; transform: none; max-height: 200px; opacity: 1; pointer-events: auto;
    padding-top: 6px;
  }
  .content { margin-left: 0; width: 100%; }
}

@media (max-width: 460px) {
  .gallery { grid-template-columns: 1fr; }
  .hero__title .marker { transform: rotate(-2deg); }
}
