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

:root {
  --black: #080808;
  --ink: #111111;
  --dark: #1c1c1c;
  --mid: #2c2c2c;
  --rule: #303030;
  --muted: #666666;
  --silver: #a8a8a8;
  --offwhite: #e8e5df;
  --white: #f4f2ee;
  --pure: #ffffff;

  --display: "Cormorant Garamond", serif;
  --body: "DM Sans", sans-serif;
  --mono: "Space Mono", monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* scrollbar */
::-webkit-scrollbar {
  width: 2px;
}
::-webkit-scrollbar-thumb {
  background: var(--rule);
}

/* ── PROGRESS BAR ── */
#bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 1px;
  background: var(--white);
  z-index: 1000;
  width: 0%;
}

/* ── NAV ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  mix-blend-mode: difference;
}

.logo {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.nav-links a:hover {
  opacity: 1;
}

@media (max-width: 600px) {
  header {
    padding: 18px 20px;
  }
  .nav-links {
    gap: 16px;
  }
  .nav-links a {
    font-size: 9px;
  }
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 40px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/cafe2.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.28) contrast(1.15) grayscale(0.6);
  transform: scale(1.03);
  transition: transform 8s ease;
}
.hero:hover .hero-bg {
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 8, 8, 0.95) 0%,
    rgba(8, 8, 8, 0.4) 50%,
    rgba(8, 8, 8, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--silver);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(3.5rem, 9vw, 9rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: italic;
  color: var(--offwhite);
  opacity: 0.7;
}

.hero-sub {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--silver);
  max-width: 420px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 28px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-fill {
  background: var(--white);
  color: var(--black);
}
.btn-fill:hover {
  background: var(--pure);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-lr;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 60px;
  background: var(--rule);
  animation: lineDown 2s ease-in-out infinite;
}
@keyframes lineDown {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 0 20px 50px;
  }
  .hero-scroll {
    right: 20px;
  }
}

/* ── DIVIDER ── */
.rule {
  width: 100%;
  height: 1px;
  background: var(--rule);
}

/* ── SECTION BASE ── */
section {
  padding: 100px 40px;
}
@media (max-width: 768px) {
  section {
    padding: 72px 20px;
  }
}

.section-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label span {
  color: var(--rule);
  font-size: 11px;
}

/* ── GALLERY ── */
#gallery {
  background: var(--ink);
  padding-top: 80px;
  padding-bottom: 80px;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 20px;
  flex-wrap: wrap;
}

.gallery-header h2 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.gallery-header p {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 260px;
  line-height: 1.6;
  text-align: right;
  font-weight: 300;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 8px;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  background: var(--dark);
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.3) brightness(0.85);
  transition:
    transform 0.7s ease,
    filter 0.7s ease;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.06);
  filter: grayscale(0) brightness(0.95);
}

.gallery-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--silver);
  padding: 5px 10px;
}

@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .gallery-item:first-child {
    grid-row: span 1;
  }
}

/* ── MENU ── */
#menu {
  background: var(--black);
}

.menu-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 72px;
  align-items: end;
}

.menu-intro h2 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.menu-intro-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
  padding-bottom: 8px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.menu-card {
  background: var(--ink);
  display: flex;
  gap: 0;
  overflow: hidden;
  transition: background 0.3s;
}
.menu-card:hover {
  background: var(--dark);
}

.menu-img {
  width: 180px;
  flex-shrink: 0;
  overflow: hidden;
}
.menu-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.2);
  transition:
    transform 0.6s ease,
    filter 0.6s ease;
}
.menu-card:hover .menu-img img {
  transform: scale(1.08);
  filter: grayscale(0);
}

.menu-info {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-name {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 10px;
}

.menu-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  flex: 1;
  margin-bottom: 20px;
}

.menu-price {
  font-family: var(--mono);
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.menu-price small {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .menu-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .menu-img {
    width: 140px;
  }
}
@media (max-width: 480px) {
  .menu-card {
    flex-direction: column;
  }
  .menu-img {
    width: 100%;
    height: 200px;
  }
}

/* ── BARBER ── */
#barber {
  background: var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
}

.barber-img-side {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}
.barber-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.4) brightness(0.7);
  transition: filter 0.6s;
}
.barber-img-side:hover img {
  filter: grayscale(0) brightness(0.85);
}

.barber-content {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.barber-content h2 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  margin-bottom: 32px;
}

.barber-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
  max-width: 380px;
  margin-bottom: 48px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--dark);
  border-left: 2px solid transparent;
  transition: all 0.3s;
  cursor: default;
}
.service-item:hover {
  background: var(--mid);
  border-left-color: var(--white);
}

.service-left {
}
.service-name {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.service-tags {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.service-price {
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--offwhite);
  letter-spacing: -0.02em;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 900px) {
  #barber {
    grid-template-columns: 1fr;
  }
  .barber-img-side {
    min-height: 320px;
  }
  .barber-content {
    padding: 60px 20px;
  }
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--white);
  color: var(--black);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  padding: 0 32px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}
.stat:first-child {
  padding-left: 0;
}
.stat:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--black);
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.75rem;
  color: #555;
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .stats-strip {
    grid-template-columns: 1fr 1fr;
    padding: 32px 20px;
    gap: 24px;
  }
  .stat {
    padding: 0;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 20px;
  }
  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-bottom: none;
  }
}

/* ── LOKASI ── */
#lokasi {
  background: var(--black);
}

.lokasi-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.lokasi-info h2 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
}

.lokasi-detail {
  margin-bottom: 32px;
}
.lokasi-detail-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.lokasi-detail-val {
  font-size: 0.9rem;
  color: var(--offwhite);
  line-height: 1.6;
  font-weight: 300;
}

.lokasi-map {
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.lokasi-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(1) invert(0.85) contrast(1.1);
  transition: filter 0.4s;
}
.lokasi-map:hover iframe {
  filter: grayscale(0.5) invert(0) contrast(1);
}

@media (max-width: 900px) {
  .lokasi-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 48px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid var(--rule);
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}

.footer-sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.footer-copy {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

@media (max-width: 600px) {
  footer {
    padding: 36px 20px;
  }
  .footer-copy {
    text-align: left;
  }
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── CURSOR DOT (desktop only) ── */
@media (hover: hover) {
  .cursor {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition:
      width 0.2s,
      height 0.2s,
      opacity 0.2s;
    mix-blend-mode: difference;
  }
}
