/* Number 9 Hair Salon Pasir Ris — premium salon landing */

:root {
  --ink: #1a1512;
  --ink-soft: #3d342e;
  --muted: #6f635b;
  --paper: #f7f2ec;
  --paper-deep: #ebe3da;
  --sand: #d8c4b0;
  --gold: #a67c52;
  --gold-bright: #c4956a;
  --line: rgba(26, 21, 18, 0.12);
  --white: #fffdfb;
  --shadow: 0 18px 50px rgba(26, 21, 18, 0.12);
  --radius: 1.25rem;
  --header-offset: 6.5rem;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(196, 149, 106, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 20%, rgba(216, 196, 176, 0.35), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--white) 40%, var(--paper-deep) 100%);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--ink);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

/* Claim bar — fixed at top */
.claim-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 0.55rem 1rem;
}

.claim-bar p {
  margin: 0;
}

.claim-cta {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--gold-bright);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.claim-cta:hover {
  background: var(--paper);
  color: var(--ink);
}

/* Header */
.site-header {
  position: fixed;
  top: 2.35rem;
  left: 0;
  right: 0;
  z-index: 90;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(247, 242, 236, 0.72);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 242, 236, 0.92);
  box-shadow: 0 8px 30px rgba(26, 21, 18, 0.06);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-menu a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 450;
}

.nav-menu a:hover {
  color: var(--gold);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper) !important;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--ink) !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero — full-bleed, brand first */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-offset) + 2rem) 1.25rem 4.5rem;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 21, 18, 0.35) 0%, rgba(26, 21, 18, 0.55) 45%, rgba(26, 21, 18, 0.82) 100%),
    radial-gradient(ellipse at 30% 20%, rgba(166, 124, 82, 0.25), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  animation: fadeUp 1s var(--ease) both;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--sand);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 12ch;
}

.hero-lead {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 300;
  color: rgba(255, 253, 251, 0.88);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.35rem;
  font-size: 0.95rem;
}

.stars {
  color: var(--gold-bright);
  letter-spacing: 0.08em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-actions.center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold-bright);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 253, 251, 0.45);
  color: var(--white);
}

.btn-secondary:hover {
  background: rgba(255, 253, 251, 0.1);
  color: var(--white);
  border-color: var(--white);
}

.contact .btn-secondary,
.final-cta .btn-secondary {
  border-color: rgba(26, 21, 18, 0.25);
  color: var(--ink);
}

.contact .btn-secondary:hover,
.final-cta .btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Layout helpers */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container.narrow {
  max-width: 760px;
}

.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.section-head h2,
.section-copy h2,
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0.4rem 0 0.9rem;
  color: var(--ink);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.split.reverse .experience-visual {
  order: -1;
}

.breadcrumbs {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--sand);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

/* About */
.about-panel {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 251, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.about-panel dl {
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.about-panel dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.about-panel dd {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

/* Why / features lists */
.feature-list,
.service-grid,
.pillars,
.review-themes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 2.5rem;
}

.feature-list h3,
.service-grid h3,
.pillars h3,
.contact-details h3,
.site-footer h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.feature-list p,
.service-grid p,
.pillars p {
  margin: 0;
  color: var(--ink-soft);
}

.service-visuals {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-visuals img {
  width: 100%;
  height: clamp(180px, 28vw, 280px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-grid li {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 253, 251, 0.55);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.service-grid li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(166, 124, 82, 0.35);
}

.experience-visual {
  overflow: hidden;
  border-radius: calc(var(--radius) + 0.25rem);
  box-shadow: var(--shadow);
}

.experience-visual img {
  width: 100%;
  height: min(520px, 70vw);
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.experience-visual:hover img {
  transform: scale(1.04);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pillars li {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* Reviews */
.rating-banner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}

.rating-score {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 5rem);
  line-height: 1;
  color: var(--gold-bright);
}

.rating-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.review-themes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review-themes blockquote {
  margin: 0;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 253, 251, 0.7);
  border: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.review-themes p {
  margin: 0;
}

.review-note {
  margin-top: 1.5rem;
  color: var(--muted);
}

.nearby-copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* FAQ */
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--gold);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0.75rem 0 0.25rem;
  color: var(--ink-soft);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}

.hours {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.map-wrap {
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}

/* Final CTA */
.final-cta {
  text-align: center;
  background:
    linear-gradient(135deg, rgba(166, 124, 82, 0.14), rgba(247, 242, 236, 0.2)),
    var(--paper-deep);
}

.final-cta p {
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(247, 242, 236, 0.82);
  padding: 3.5rem 0 0;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--paper);
  margin: 0 0 0.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.site-footer a {
  color: var(--sand);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-bright);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-base {
  margin-top: 2.5rem;
  padding: 1.25rem;
  border-top: 1px solid rgba(247, 242, 236, 0.12);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(247, 242, 236, 0.55);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.service-grid .reveal:nth-child(2),
.feature-list .reveal:nth-child(2),
.pillars .reveal:nth-child(2),
.review-themes .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.service-grid .reveal:nth-child(3),
.feature-list .reveal:nth-child(3),
.pillars .reveal:nth-child(3),
.review-themes .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.service-grid .reveal:nth-child(4),
.feature-list .reveal:nth-child(4),
.pillars .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

.service-grid .reveal:nth-child(5) {
  transition-delay: 0.32s;
}

.service-grid .reveal:nth-child(6) {
  transition-delay: 0.4s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-content,
  .hero-img,
  .btn,
  .service-grid li,
  .experience-visual img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .split,
  .split.reverse,
  .contact-grid,
  .footer-grid,
  .service-grid,
  .service-visuals,
  .review-themes,
  .pillars,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .split.reverse .experience-visual {
    order: 0;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-offset: 5.75rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(247, 242, 236, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-0.5rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    align-items: center;
    padding-bottom: 3.5rem;
  }

  .hero h1 {
    max-width: none;
  }

  .service-grid,
  .pillars,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .rating-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
