/* Diamond Nails & Beauty — page sections below the walk-through */

/* =====================================================================
   Header navigation & mobile menu
   ===================================================================== */
.site-nav { display: flex; gap: clamp(18px, 2.4vw, 36px); margin-left: auto; margin-right: 8px; }
.site-nav a {
  position: relative; text-decoration: none; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ivory-dim); padding: 8px 0; transition: color 0.3s;
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.site-nav a:hover, .site-nav a.is-current { color: var(--gold-light); }
.site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%;
  background: rgba(9, 8, 7, 0.4); cursor: pointer; position: relative; flex: none;
}
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--ivory); transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: rgba(9, 8, 7, 0.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  padding: calc(var(--header-h) + 28px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: clamp(32px, 9vw, 46px); line-height: 1.25; text-decoration: none; color: var(--ivory);
  padding: 8px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu nav a:active { color: var(--gold-light); }
.mobile-menu__foot { display: grid; gap: 12px; margin-top: 28px; }
.mobile-menu__foot p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.hero-notice {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 14px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(9, 8, 7, 0.55);
  font-size: 12.5px; letter-spacing: 0.04em; color: var(--gold-light) !important;
}
.hero-notice::before { content: '◆'; font-size: 9px; color: var(--gold); }
.hero-notice[hidden] { display: none; }

/* =====================================================================
   Shared section styles
   ===================================================================== */
.container { width: 100%; max-width: var(--max); margin: 0 auto; }
.section { position: relative; padding: clamp(84px, 11vw, 150px) var(--gutter); }
.section + .section::before {
  content: ''; position: absolute; top: 0; left: 50%; width: min(var(--max), calc(100% - 2 * var(--gutter)));
  transform: translateX(-50%); height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.display { font-size: clamp(40px, 5.2vw, 76px); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .display { margin-bottom: 18px; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--split .display { margin-bottom: 0; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ivory) !important; line-height: 1.6; margin: 0 0 18px; }
.section p { color: var(--ivory-dim); }
.muted { color: var(--muted) !important; }
.text-link {
  color: var(--gold-light); text-decoration: none; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; transition: border-color 0.3s;
}
.text-link:hover { border-color: var(--gold); }

/* Reveal on scroll (only when JS has marked the page ready) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =====================================================================
   Closure notice
   ===================================================================== */
.notice { padding: 0 var(--gutter); background: linear-gradient(180deg, #0d0b09, #090807); }
.notice[hidden] { display: none; }
.notice__inner {
  max-width: var(--max); margin: 0 auto; padding: 26px 0;
  display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.notice__mark { color: var(--gold); font-size: 12px; }
.notice p { margin: 0; flex: 1 1 420px; color: var(--ivory-dim); }
.notice strong { color: var(--gold-light); font-weight: 500; }
.notice__link { color: var(--gold-light); text-decoration: none; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }
.notice__link:hover { color: var(--ivory); }

/* =====================================================================
   About
   ===================================================================== */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.frame { position: relative; padding: 14px; }
.frame::before { content: ''; position: absolute; inset: 0; border: 1px solid var(--line-strong); pointer-events: none; }
.frame::after { content: ''; position: absolute; inset: 28px -18px -18px 28px; border: 1px solid var(--line); z-index: -1; }
.frame img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.about__media { margin: 0; position: relative; z-index: 0; }
.about__media figcaption { margin-top: 26px; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.about__copy .display { margin-bottom: 26px; }
.ticks { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ivory); font-size: 15.5px; }
.ticks li::before { content: '◆'; position: absolute; left: 0; top: 1px; color: var(--gold); font-size: 10px; }
.signature { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--gold-light) !important; margin: 8px 0 0; }

.stats {
  margin-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: 34px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num { display: block; font-family: var(--serif); font-size: clamp(44px, 5vw, 68px); line-height: 1; color: var(--gold-light); }
.stat__num small { font-size: 0.5em; vertical-align: super; margin-left: 2px; }
.stat__label { display: block; margin-top: 10px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }

/* =====================================================================
   Services
   ===================================================================== */
.services { background: radial-gradient(90% 60% at 80% 0%, rgba(209, 173, 102, 0.06), transparent 60%), var(--onyx); }
.tabs__list { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.tabs__list button {
  font: 400 13px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ivory-dim);
  background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 13px 20px; cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.tabs__list button:hover { color: var(--ivory); border-color: var(--line-strong); }
.tabs__list button[aria-selected="true"] { color: #120e09; background: linear-gradient(135deg, #f0d79f, #d1ad66 55%, #b38d45); border-color: transparent; }
.tabs__panel { border: 1px solid var(--line); background: linear-gradient(180deg, rgba(23, 20, 17, 0.7), rgba(16, 14, 12, 0.7)); padding: clamp(24px, 4vw, 52px); position: relative; }
.tabs__panel::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(209, 173, 102, 0.08); pointer-events: none; }
.tabs__panel[hidden] { display: none; }
.panel__intro { margin: 0 0 26px; max-width: 46em; font-size: 16.5px; }
.menu { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(32px, 5vw, 72px); }
.menu li {
  break-inside: avoid; display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 14px;
  padding: 15px 0; border-bottom: 1px dashed rgba(209, 173, 102, 0.2);
}
.menu__name { color: var(--ivory); font-size: 16.5px; }
.menu__time { font-size: 12px; letter-spacing: 0.1em; color: var(--muted); white-space: nowrap; }
.menu__price { font-family: var(--serif); font-size: 22px; color: var(--gold-light); white-space: nowrap; min-width: 3.2em; text-align: right; }
.services__foot { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.services__foot p { margin: 0; max-width: 40em; }
.services__foot a:not(.btn) { color: var(--gold-light); }
.services__foot strong { color: var(--ivory); font-weight: 500; }

/* =====================================================================
   Gallery
   ===================================================================== */
.gallery__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(150px, 16vw, 230px); gap: 14px; }
.g { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--onyx-3); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s; filter: saturate(0.95); }
.g:hover img { transform: scale(1.05); filter: saturate(1.05); }
.g::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(209, 173, 102, 0); transition: box-shadow 0.5s; pointer-events: none; }
.g:hover::after { box-shadow: inset 0 0 0 1px rgba(209, 173, 102, 0.55); }
.gallery__grid .g:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 4; }
.gallery__grid .g:nth-child(2) { grid-column: 6 / 9; grid-row: 1 / 3; }
.gallery__grid .g:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 3; }
.gallery__grid .g:nth-child(4) { grid-column: 9 / 11; grid-row: 3 / 4; }
.gallery__grid .g:nth-child(5) { grid-column: 6 / 9; grid-row: 3 / 4; }
.gallery__grid .g:nth-child(6) { grid-column: 11 / 13; grid-row: 3 / 4; }
.gallery__grid .g:nth-child(6) img { object-position: 50% 30%; }
.gallery__grid .g:nth-child(7) { grid-column: 1 / 5; grid-row: 4 / 6; }
.gallery__grid .g:nth-child(8) { grid-column: 5 / 9; grid-row: 4 / 6; }
.gallery__grid .g:nth-child(9) { grid-column: 9 / 13; grid-row: 4 / 6; }

/* =====================================================================
   Reviews marquee
   ===================================================================== */
.reviews { padding-left: 0; padding-right: 0; overflow: hidden; }
.reviews > .container { padding: 0 var(--gutter); }
.reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.reviews__head .display { margin: 0; }
.rating { display: flex; align-items: center; gap: 18px; }
.rating__num { font-family: var(--serif); font-size: clamp(64px, 7vw, 96px); line-height: 0.9; color: var(--gold-light); }
.rating p { margin: 6px 0 0; font-size: 14.5px; }
.stars--lg { font-size: 20px; letter-spacing: 4px; }

.marquee {
  display: grid; gap: 18px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__row { overflow: hidden; padding: 6px 0; }
/* A conveyor moving left to right; it pauses while hovered, focused or held. */
.marquee__track { display: flex; align-items: stretch; gap: 20px; width: max-content; animation: conveyor var(--marquee-time, 90s) linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-held .marquee__track { animation-play-state: paused; }
@keyframes conveyor { from { transform: translateX(calc(-50% - 10px)); } to { transform: translateX(0); } }
.review {
  margin: 0; width: clamp(300px, 30vw, 410px); flex: none; padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 18px;
  border: 1px solid var(--line); border-radius: 4px; background: linear-gradient(180deg, rgba(28, 24, 20, 0.95), rgba(18, 16, 13, 0.95));
}
.review__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.review__avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font: 500 17px/1 var(--sans); color: #120e09; background: linear-gradient(135deg, #f0d79f, #b38d45);
}
.review__who strong { display: block; color: var(--ivory); font-weight: 500; font-size: 15.5px; }
.review__who span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.review .stars { font-size: 14px; letter-spacing: 2px; }
.review blockquote { margin: 0; }
.review p { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--ivory); white-space: pre-line; }
.reviews__foot { margin-top: 44px; display: flex; justify-content: center; }

/* =====================================================================
   Visit
   ===================================================================== */
.visit__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: stretch; }
.map { position: relative; min-height: 480px; border: 1px solid var(--line); overflow: hidden; background: var(--onyx-3); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.visit__info { display: grid; gap: 24px; align-content: start; }
.card { border: 1px solid var(--line); padding: 28px 30px; background: linear-gradient(180deg, rgba(23, 20, 17, 0.75), rgba(16, 14, 12, 0.75)); }
.card h3 { margin: 0 0 14px; font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--ivory); }
.card p { margin: 0 0 10px; }
.card__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.card__title-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 12px; margin-bottom: 14px; }
.visit__grid > *, .visit__row > *, .visit__info > * { min-width: 0; }
.card__title-row h3 { margin: 0; }
.status { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ivory-dim); white-space: nowrap; }
.status::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; background: #b9665e; vertical-align: 1px; }
.status.is-open { color: var(--gold-light); }
.status.is-open::before { background: #7fbf8a; box-shadow: 0 0 10px rgba(127, 191, 138, 0.8); }
.status[hidden] { display: none; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid rgba(209, 173, 102, 0.12); font-weight: 300; font-size: 15.5px; }
.hours th { text-align: left; color: var(--ivory-dim); }
.hours td { text-align: right; color: var(--ivory); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--gold-light); font-weight: 400; }
.hours tr.is-today th::after { content: ' · today'; font-size: 12px; color: var(--muted); font-weight: 300; }
.hours__note { margin: 16px 0 0 !important; font-size: 14px; color: var(--gold-light) !important; }
.hours__note[hidden] { display: none; }
.contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: baseline; font-size: 15.5px; }
.contact span { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.contact a { color: var(--ivory); text-decoration: none; overflow-wrap: anywhere; border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.contact a:hover { color: var(--gold-light); border-color: var(--line-strong); }
.visit__row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; margin-top: 24px; }
.policy p { margin: 0; font-size: 15.5px; line-height: 1.75; }

/* =====================================================================
   Final CTA & footer
   ===================================================================== */
.cta { padding: clamp(96px, 12vw, 170px) var(--gutter); text-align: center; background: radial-gradient(60% 70% at 50% 40%, rgba(209, 173, 102, 0.14), transparent 70%), var(--onyx); border-top: 1px solid var(--line); }
.cta__logo { width: 96px; height: 96px; margin: 0 auto 26px; }
.cta .display { margin: 0 0 18px; }
.cta p { color: var(--ivory-dim); margin: 0 auto 34px; max-width: 34em; }
.cta__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.site-footer { border-top: 1px solid var(--line); padding: 64px var(--gutter) 28px; background: #070605; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; }
.footer__brand img { width: 88px; height: 88px; }
.footer__brand p { margin: 12px 0 0; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.site-footer h4 { margin: 0 0 12px; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-weight: 400; }
.site-footer p { margin: 0 0 10px; color: var(--ivory-dim); font-size: 15px; line-height: 1.7; }
.site-footer a { color: var(--ivory-dim); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer__base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__base p { margin: 0; font-size: 13px; color: var(--muted); }
.footer__base nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__base nav a { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }

/* Floating Book Now on phones once past the walk-through */
.book-fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; display: none;
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 0.35s, transform 0.35s var(--ease);
}
.book-fab.is-shown { opacity: 1; transform: none; pointer-events: auto; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-block; }
  .header-actions { margin-left: auto; }
  .about__grid { grid-template-columns: 1fr; }
  .visit__grid { grid-template-columns: 1fr; }
  .visit__row { grid-template-columns: 1fr; }
  .map { min-height: 420px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .header-actions > .btn { display: none; }
  .menu { columns: 1; }
  .menu li { grid-template-columns: 1fr auto; row-gap: 2px; }
  .menu__time { grid-column: 1; grid-row: 2; }
  .menu__price { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .tabs__list { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 24px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .tabs__list::-webkit-scrollbar { display: none; }
  .tabs__list button { flex: none; padding: 12px 16px; font-size: 12px; }
  .tabs__panel { padding: 22px 18px; }
  .ticks { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; gap: 10px; }
  .gallery__grid .g:nth-child(n) { grid-column: auto; grid-row: auto; }
  .gallery__grid .g:nth-child(1) { grid-column: 1 / 3; grid-row: span 2; }
  .review { width: 80vw; padding: 22px 20px 24px; }
  .review p { font-size: 16px; }
  .card { padding: 22px 20px; }
  .contact li { grid-template-columns: 82px 1fr; font-size: 15px; }
  .visit__row { grid-template-columns: 1fr; }
  .map { min-height: 340px; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .book-fab { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .marquee__row { overflow-x: auto; }
  .g img { transition: none; }
}
