/* ============================================================
   THE CABELLO SUITE — Shared Design System
   Prestige rebrand: black/white/pink palette, Fraunces + Inter
   ============================================================ */

:root {
  /* Color tokens — Cabello Suite's true brand colors: black, white, pink */
  --ink: #0A0A0A;
  --ink-soft: #2B2B2B;
  --cream: #FFF1F3;
  --bone: #F4F1F1;
  --gold:  #f6a7d4;
  --gold-deep:  #ec9dc5;
  --gold-soft: rgba(212, 162, 187);
  --clay: #8B5E4D;
  --line: rgba(212, 162, 187);
  --line-on-dark: rgba(255, 255, 255, 0.18);

  /* Type */
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --nav-h: 4.5rem;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

a { color: inherit; }

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   DYNAMIC ISLAND NAVBAR
   ============================================================ */

.island-wrap {
  position: fixed;
  top: 1.1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 2000;
  padding: 0 1rem;
  pointer-events: none;
}

.island {
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  height: var(--nav-h);
  padding: 0 0.6rem 0 1.3rem;
  background: #FBF5F8;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(28, 23, 20, 0.08);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(28, 23, 20, 0.12), 0 1px 2px rgba(28, 23, 20, 0.06);
  width: min(96vw, 300px);
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.island.has-cart {
  width: min(96vw, 300px);
  justify-content: space-between;
}

.island:not(.has-cart) {
  justify-content: space-between;
}

.island-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.island-logo img {
  height: 130px;
  width: auto;
  display: block;
}

.island-logo .mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.island-logo .wordmark {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.island-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}

/* Cart icon — only injected on kinky.html */
.island-cart {
  position: relative;
  left: -50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.25s ease;
  text-decoration: none;
}

.island-cart:hover {
  background: var(--gold-soft);
}

.island-cart svg {
  width: 35px;
  height: 35px;
  stroke: var(--ink);
  fill: var(--ink);
  stroke-width: 1.6;
}

.cart-counter {
  position: absolute;
  top: 12px;
  right: 10px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.2s ease;
}

.cart-counter.bump {
  animation: cartBump 0.4s ease;
}

@keyframes cartBump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* Menu trigger (hamburger -> X) */
.menu-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.menu-trigger:hover { background: var(--cream); }

.menu-trigger .bar-stack {
  position: relative;
  width: 18px;
  height: 13px;
}

.menu-trigger .bar {
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, top 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-trigger .bar:nth-child(1) { top: 0; }
.menu-trigger .bar:nth-child(2) { top: 5.75px; }
.menu-trigger .bar:nth-child(3) { top: 11.5px; }

.menu-trigger.open .bar:nth-child(1) {
  top: 5.75px;
  transform: rotate(45deg);
}
.menu-trigger.open .bar:nth-child(2) {
  opacity: 0;
}
.menu-trigger.open .bar:nth-child(3) {
  top: 5.75px;
  transform: rotate(-45deg);
}

/* ============================================================
   OVERLAY MENU — slides from left, links stagger in
   ============================================================ */

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--cream);
  z-index: 1999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  transform: translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.menu-overlay.open {
  transform: translateX(0);
}

.menu-overlay-mark {
  position: absolute;
  top: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  opacity: 0;
  transition: opacity 0.5s ease 0.15s;
}

.menu-overlay.open .menu-overlay-mark {
  opacity: 1;
}

.menu-close {
  position: absolute;
  top: 1.7rem;
  right: 1.7rem;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.menu-close:hover {
  background: rgba(246, 241, 233, 0.08);
  border-color: var(--gold);
}

.menu-close svg {
  width: 16px;
  height: 16px;
  stroke: var(--cream);
  stroke-width: 1.6;
}

.menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.menu-scrim {
  position: fixed;
  inset: 0;
  background: rgba(28, 23, 20, 0.35);
  backdrop-filter: blur(2px);
  z-index: 1998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.menu-scrim.open {
  opacity: 1;
  pointer-events: all;
}

.menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.menu-links li {
  overflow: hidden;
}

.menu-links li a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3rem);
  color: var(--ink);
  text-decoration: none;
  padding: 0.4rem 0;
  font-weight: 500;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.menu-overlay.open .menu-links li a {
  opacity: 1;
  transform: translateY(0);
}

.menu-links li:nth-child(1) a { transition-delay: 0.10s; }
.menu-links li:nth-child(2) a { transition-delay: 0.16s; }
.menu-links li:nth-child(3) a { transition-delay: 0.22s; }
.menu-links li:nth-child(4) a { transition-delay: 0.28s; }
.menu-links li:nth-child(5) a { transition-delay: 0.34s; }

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

.menu-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease 0.05s, transform 0.5s ease 0.05s;
}

.menu-overlay.open .menu-eyebrow {
  opacity: 1;
  transform: translateY(0);
}

.menu-footer-row {
  display: flex;
  gap: 1.8rem;
  margin-top: 3rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
}

.menu-overlay.open .menu-footer-row {
  opacity: 1;
  transform: translateY(0);
}

.menu-footer-row a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0A0A0A;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

@media (max-width: 540px) {
  .menu-overlay { padding: 0 1.6rem; }
  .menu-footer-row { flex-direction: column; align-items: center; gap: 0.9rem; }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn-gold {
  background: var(--gold);
  color: var(--cream);
}
.btn-gold:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER — Architectural Craftsman Redesign
   ============================================================ */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  bottom: -40px;
  overflow: hidden;
  margin-top: 0;
}

/* Rule lines — three hairlines staggered at top */
.footer-rule-top {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 2rem;
  padding-top: 3.5rem;
  max-width: var(--container);
  margin: 0 auto;
}
.frule {
  display: block;
  height: 1px;
  background: var(--line-on-dark);
}
.frule-1 { width: 100%; }
.frule-2 { width: 62%; margin-left: auto; background: rgba(194,55,107,0.35); }
.frule-3 { width: 28%; margin-left: auto; }

/* Grand three-column footer body */
.footer-grand {
  padding: 5rem 2rem 4rem;
}
.footer-grand-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Left pillar */
.footer-pillar-label {
  font-size: 0.60rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
  margin-bottom: 1.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(194,55,107,0.25);
}

.footer-pillar-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-pillar-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(249,246,242,0.60);
  text-decoration: none;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(249,246,242,0.07);
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.footer-pillar-nav a::after {
  content: "→";
  opacity: 0;
  font-size: 0.8rem;
  transition: opacity 0.2s ease;
  font-family: var(--font-body);
}
.footer-pillar-nav a:hover {
  color: var(--cream);
  padding-left: 0.4rem;
}
.footer-pillar-nav a:hover::after { opacity: 1; color: var(--rose); }

.footer-hours-block { display: flex; flex-direction: column; gap: 0; }
.fh-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(249,246,242,0.42);
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(249,246,242,0.06);
  font-weight: 300;
}
.fh-row span:last-child { color: rgba(249,246,242,0.65); }

/* Centre pillar — logo + headline */
.footer-grand-centre {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  border-left: 1px solid rgba(249,246,242,0.08);
  border-right: 1px solid rgba(249,246,242,0.08);
  padding: 0 3rem;
}

.footer-grand-logo {
  margin-bottom: 2.8rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid rgba(194,55,107,0.22);
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer-grand-logo .footer-logo-img {
  height: 80px;
  opacity: 0.90;
  filter: brightness(0) invert(1);
}

.footer-grand-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  line-height: 1.0;
  color: var(--cream);
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: 2.8rem;
}

.footer-grand-headline em {
  font-style: italic;
  color: var(--rose);
}

.footer-grand-cta { 
  width: 100%; 
  justify-content: center; 
  background-color: #F4F1F1; 
  color:#0A0A0A;
  font-family: 'Inter', sans-serif;
 }

/* Right pillar */
.footer-bq {
  border: none;
  padding: 0;
  margin: 0 0 0 0;
}
.footer-bq p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(249,246,242,0.58);
  font-weight: 300;
  margin-bottom: 0.8rem;
  quotes: "\201C" "\201D";
}
.footer-bq p::before { content: open-quote; }
.footer-bq p::after { content: close-quote; }
.footer-bq footer {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(249,246,242,0.28);
  font-style: normal;
  font-weight: 500;
  background: none;
  padding: 0; margin: 0;
}

.footer-connect {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-connect-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(249,246,242,0.07);
  transition: padding-left 0.25s ease;
  gap: 0.2rem;
}
.footer-connect-link:hover { padding-left: 0.4rem; }
.fc-label {
  font-size: 0.58rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
}
.fc-value {
  font-size: 0.82rem;
  color: rgba(249,246,242,0.60);
  font-weight: 300;
  transition: color 0.2s ease;
}
.footer-connect-link:hover .fc-value { color: var(--cream); }

.footer-social-row {
  display: flex;
  gap: 0.6rem;
}
.footer-social-row a {
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.footer-social-row a:hover { background: var(--rose); border-color: var(--rose); }
.footer-social-row svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* Bottom rule lines */
.footer-rule-bottom {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 2rem;
  max-width: var(--container);
  margin: 0 auto 0;
}
.frule-b1 { display: block; height: 1px; width: 100%; background: var(--line-on-dark); }
.frule-b2 { display: block; height: 1px; width: 40%; background: rgba(194,55,107,0.30); }

/* Colophon */
.footer-colophon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  padding: 1.8rem 2rem 2.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.10em;
  color: rgba(249,246,242,0.25);
  font-weight: 300;
  flex-wrap: wrap;
}
.footer-colophon em {
  font-style: italic;
  font-family: var(--font-display);
  color: rgba(249,246,242,0.35);
  letter-spacing: 0.04em;
}
.footer-colophon-mark {
  color: var(--rose);
  opacity: 0.4;
  font-size: 0.5rem;
}

/* Footer responsive */
@media (max-width: 1000px) {
  .footer-grand-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .footer-grand-centre {
    grid-column: 1 / -1;
    border-left: none; border-right: none;
    border-top: 1px solid rgba(249,246,242,0.08);
    border-bottom: 1px solid rgba(249,246,242,0.08);
    padding: 3rem 2rem;
    order: -1;
  }
}
@media (max-width: 640px) {
  .footer-grand-inner { grid-template-columns: 1fr; }
  .footer-grand-centre { order: -1; }
  .frule-2 { width: 80%; }
  .footer-colophon { gap: 0.8rem; text-align: center; }
}


/* ============================================================
   SHARED UTILITIES
   ============================================================ */

.container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  border: none;
}

.spacer-nav {
  height: calc(var(--nav-h) + 2.5rem);
}
