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

:root {
  --white:     #FAFAF8;
  --off:       #F2F1EE;
  --black:     #111111;
  --dark-sec:  #141414;
  --grey:      #888888;
  --grey-mid:  #AAAAAA;
  --grey-lt:   #E0DFDD;
  --blue:      #5BB2EC;
  --blue-dark: #1A72B8;
  --fd: 'Syne', sans-serif;
  --fb: 'DM Sans', sans-serif;
  --fm: 'DM Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--fb);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── NAV ───────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--grey-lt);
}

.b-blue { color: var(--blue); }

.nav-logo {
  font-family: var(--fd);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--black);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--black); }

.nav-phone {
  font-family: var(--fm);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-phone:hover { color: var(--blue-dark); }

/* ── HERO ──────────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 5rem;
  position: relative;
  text-align: center;
  background: var(--white);
}

/* very subtle dot grid — echoes tile pattern without screaming */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 2.5rem;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-block;
  animation: blink 2.2s ease infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.75rem;
}

.hd-bb {
  font-family: var(--fd);
  font-weight: 800;
  font-size: clamp(5.5rem, 18vw, 18rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--black);
}

/* The tile grout line — signature element */
.hd-line {
  display: block;
  width: clamp(5.5rem, 18vw, 18rem);
  height: 4px;
  background: var(--blue);
  margin: 0.5rem 0;
}

.hd-k {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(2.8rem, 8.5vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0.08em;
  color: var(--black);
}

.hero-sub {
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 2.75rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Google rating badge bottom-right */
.hero-badge {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  z-index: 1;
}
.badge-num  { font-family: var(--fd); font-size: 2rem; font-weight: 800; line-height: 1; color: var(--black); }
.badge-stars { font-size: 0.65rem; letter-spacing: 0.06em; color: var(--blue); }
.badge-label { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }

/* ── BUTTONS ───────────────────────────────────────────────────── */

.btn-solid {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.btn-solid:hover { background: #333; transform: translateY(-2px); }

.btn-text {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1rem;
  color: var(--black);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--black);
  transition: border-color 0.2s, color 0.2s;
}
.btn-text:hover { color: var(--blue-dark); border-color: var(--blue-dark); }

.btn-blue {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.btn-blue:hover { background: #4aa0d8; transform: translateY(-2px); }

/* ── SECTION LABEL ─────────────────────────────────────────────── */

.section-label {
  font-family: var(--fm);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--blue);
  flex-shrink: 0;
}
.section-label--inv { color: rgba(255,255,255,0.4); }
.section-label--inv::before { background: var(--blue); }

/* ── ABOUT ─────────────────────────────────────────────────────── */

.about {
  padding: 8rem 0;
  background: var(--off);
  border-top: 1px solid var(--grey-lt);
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-n {
  display: block;
  font-family: var(--fd);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--black);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-l {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

.stat-sep {
  width: 1px;
  height: 48px;
  background: var(--grey-lt);
  flex-shrink: 0;
}

.about-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #555;
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
}

.about-meta {
  max-width: 520px;
  margin: 0 auto;
  border-top: 1px solid var(--grey-lt);
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--grey-lt);
  gap: 1rem;
}

.mk {
  font-family: var(--fm);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-mid);
  flex-shrink: 0;
}

.mv {
  font-size: 0.9rem;
  color: var(--black);
  text-align: right;
}

/* ── HOURS ─────────────────────────────────────────────────────── */

.hours {
  padding: 8rem 0;
  background: var(--white);
  border-top: 1px solid var(--grey-lt);
}

.hours-list {
  max-width: 560px;
  margin: 0 auto;
}

.hr-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 0.75rem;
  border-bottom: 1px solid var(--grey-lt);
  transition: background 0.18s ease, padding-left 0.18s ease;
  border-radius: 2px;
}
.hr-row:hover { background: var(--off); padding-left: 1.25rem; }

.hr-row.today {
  background: rgba(91, 178, 236, 0.08);
  border-left: 2px solid var(--blue);
  padding-left: 1rem;
}
.hr-row.today .hr-day  { color: var(--blue-dark); font-weight: 500; }
.hr-row.today .hr-time { color: var(--black); }

.hr-day  { font-size: 0.9rem; color: var(--black); }
.hr-wknd .hr-day   { color: var(--grey); }
.hr-closed .hr-day { color: #bbb; }

.hr-fill {
  height: 1px;
  background: var(--grey-lt);
  width: 100%;
  min-width: 40px;
}
.hr-fill-closed { background: rgba(91,178,236,0.2); }

.hr-time {
  font-family: var(--fm);
  font-size: 0.82rem;
  color: #555;
  white-space: nowrap;
}
.hr-time-closed { color: var(--blue); opacity: 0.7; }

/* ── CATALOG ───────────────────────────────────────────────────── */

.catalog {
  padding: 8rem 0;
  background: var(--off);
  border-top: 1px solid var(--grey-lt);
}

.cat-title {
  font-family: var(--fd);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--black);
  margin-bottom: 0.75rem;
}

.cat-intro {
  font-size: 0.88rem;
  color: var(--grey);
  margin-bottom: 3rem;
}

.cat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-lt);
  border: 1px solid var(--grey-lt);
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: var(--white);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s ease;
  position: relative;
  overflow: hidden;
}

.cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.cat-card:hover { background: var(--off); }
.cat-card:hover::before { transform: scaleX(1); }
.cat-card:hover .cc-open { color: var(--blue-dark); }

.cc-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(90deg, #ebebeb 25%, #f5f5f5 50%, #ebebeb 75%);
  background-size: 200% 100%;
  animation: skeleton 1.4s ease infinite;
  flex-shrink: 0;
}

.cc-img.loaded { animation: none; background: var(--off); }

@keyframes skeleton {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.cc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.cc-img img.loaded { opacity: 1; }

.cat-card:hover .cc-img img { transform: scale(1.04); }

.cc-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.25rem 1.25rem;
}

.cc-num {
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--grey-mid);
}

.cc-name {
  font-family: var(--fd);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
}

.cc-open {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  padding-top: 0.25rem;
  transition: color 0.18s ease;
}

/* ── MODAL ─────────────────────────────────────────────────────── */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.modal.open { display: flex; }

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.modal-box {
  position: relative;
  z-index: 1;
  width: 92vw;
  height: 90vh;
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--grey-lt);
  flex-shrink: 0;
  gap: 0.75rem;
}

.modal-title {
  font-family: var(--fd);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--black);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.modal-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--grey-lt);
  background: transparent;
  cursor: pointer;
  color: var(--grey);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  border-radius: 2px;
}
.modal-btn:hover { background: var(--off); color: var(--black); border-color: #bbb; }

.modal-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--grey-lt);
  background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--grey);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  border-radius: 2px;
}
.modal-close:hover { background: var(--black); color: var(--white); border-color: var(--black); }

.modal-body {
  flex: 1;
  overflow: hidden;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-body iframe.loaded { opacity: 1; }

.modal-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--white);
  z-index: 2;
  transition: opacity 0.3s ease;
}

.modal-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--grey-lt);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-text {
  font-size: 0.82rem;
  color: var(--grey);
  letter-spacing: 0.06em;
}

/* ── CONTACT ───────────────────────────────────────────────────── */

.contact {
  padding: 8rem 0;
  background: var(--off);
  border-top: 1px solid var(--grey-lt);
}

.contact-title {
  font-family: var(--fd);
  font-weight: 800;
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  line-height: 0.9;
  margin-bottom: 3.5rem;
}

.contact-body {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; }

.ci-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--grey-lt);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.18s ease, background 0.18s ease;
  border-radius: 2px;
}
.ci-row:hover { padding-left: 0.75rem; background: rgba(0,0,0,0.025); }

.ci-label {
  display: block;
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 0.25rem;
}

.ci-val  { display: block; font-size: 0.95rem; color: var(--black); }
.ci-arrow { font-size: 1.1rem; color: var(--blue); flex-shrink: 0; }

.contact-map {
  height: 420px;
  overflow: hidden;
  border: 1px solid var(--grey-lt);
  filter: grayscale(0.6) contrast(1.05);
  transition: filter 0.3s;
}
.contact-map:hover { filter: none; }
.contact-map iframe { width: 100%; height: 100%; display: block; border: none; }

/* ── FOOTER ────────────────────────────────────────────────────── */

.footer {
  padding: 1.75rem 0;
  background: var(--white);
  border-top: 1px solid var(--grey-lt);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-brand {
  font-family: var(--fd);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--black);
}

.footer-copy {
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
}

.footer-loc { font-size: 0.72rem; color: var(--grey); }

/* ── REVEAL ANIMATIONS ─────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── HAMBURGER ─────────────────────────────────────────────────── */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 0.5rem;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV ────────────────────────────────────────────────── */

.mobile-nav {
  display: none;
  position: fixed;
  top: 52px;
  left: 0; right: 0;
  z-index: 99;
  background: var(--white);
  border-bottom: 1px solid var(--grey-lt);
  padding: 0.5rem 0 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

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

.mn-link {
  display: block;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--grey-lt);
  transition: background 0.15s;
}
.mn-link:hover { background: var(--off); }

.mn-phone {
  display: block;
  padding: 1rem 1.5rem 0.5rem;
  font-family: var(--fm);
  font-size: 0.9rem;
  color: var(--blue-dark);
  text-decoration: none;
  font-weight: 500;
}

/* ── ROTATE HINT ───────────────────────────────────────────────── */

.rotate-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--blue);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  flex-shrink: 0;
}

.rotate-icon {
  font-size: 1.1rem;
  display: inline-block;
  animation: spin-hint 2s ease infinite;
}

@keyframes spin-hint {
  0%   { transform: rotate(0deg); }
  30%  { transform: rotate(90deg); }
  60%  { transform: rotate(90deg); }
  100% { transform: rotate(0deg); }
}

.rotate-hint.visible { display: flex; }

/* ── RESPONSIVE ────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .contact-body { grid-template-columns: 1fr; gap: 3rem; }
  .contact-map { height: 300px; }
  .stat-sep { display: none; }
  .stats-row { gap: 2rem; }
  .hero-badge { display: none; }
  .cat-cards { grid-template-columns: repeat(2, 1fr); }
  .modal-box { width: 100vw; height: 100dvh; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 6.5rem 1.25rem 3.5rem; }
  .hd-bb { font-size: clamp(4.5rem, 22vw, 9rem); }
  .hd-k  { font-size: clamp(2.2rem, 11vw, 4.5rem); }
  .hd-line { width: clamp(4.5rem, 22vw, 9rem); }

  .about, .hours, .catalog, .contact { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }

  .about-body { font-size: 0.95rem; }
  .contact-title { font-size: clamp(2rem, 9vw, 3.2rem); }
  .cat-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  .footer { padding: 1.25rem 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.4rem; padding: 0 1.25rem; }

  /* modal full screen on mobile */
  .modal-box { border-radius: 0; }
  .modal-body { position: relative; }

  /* catalog 2 cols on mobile stays */
  .cat-cards { grid-template-columns: repeat(2, 1fr); }
  .cc-name { font-size: 0.82rem; }
  .cc-info { padding: 0.75rem 0.9rem 1rem; }
}

@media (max-width: 400px) {
  .cat-cards { grid-template-columns: repeat(2, 1fr); }
  .cc-name { font-size: 0.72rem; }
  .cc-info { padding: 0.6rem 0.7rem 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
  .mt { transition: none; }
}
