:root {
  --navy:       #1B2D4F;
  --navy-light: #2a4270;
  --bg:         #F2F2F0;
  --white:      #FFFFFF;
  --text:       #1B2D4F;
  --muted:      #5a6a80;
  --border:     #d8d8d4;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Jost', sans-serif;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  height: 64px;
  transition: box-shadow 0.3s, background-color 0.45s ease;
}
nav.scrolled {
  background: var(--white);
}
body { padding-top: 64px; }
.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  gap: 3px;
  margin-left: 0;
}
.nav-logo-icon { height: 30px; width: auto; filter: brightness(0) invert(1); transition: filter 0.45s ease; }
.nav-logo-name { height: 22px; width: auto; filter: brightness(0) invert(1); transition: filter 0.45s ease; position: relative; top: -1px; }
nav.scrolled .nav-logo-icon,
nav.scrolled .nav-logo-name { filter: none; }
.nav-logo-text {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.3;
  text-align: center;
  transition: color 0.45s ease;
}
nav.scrolled .nav-logo-text { color: var(--navy); }
.nav-links {
  display: flex;
  gap: 48px;
  list-style: none;
  margin-right: 40px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.45s ease;
}
.nav-links a:hover,
.nav-links a.active { border-color: var(--white); }
nav.scrolled .nav-links a { color: var(--navy); }
nav.scrolled .nav-links a:hover,
nav.scrolled .nav-links a.active { border-color: var(--navy); }

/* Nav dropdown — fixed width keeps toggle box + menu as one clean rectangle on hover,
   regardless of how long the city names are. Sized to comfortably fit the longest label. */
.nav-dropdown {
  position: relative;
  width: 130px;
  text-align: center;
}
.nav-dropdown-toggle { cursor: pointer; }
/* On hover/focus, the LI gets a navy box around the toggle — the menu sits flush
   beneath it (top: 100%) so moving the mouse from toggle to menu keeps :hover alive. */
.nav-dropdown:hover,
.nav-dropdown:focus-within {
  background: var(--navy);
  padding: 18px 0;
  margin: -18px 0;
}
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle {
  color: var(--white) !important;
  border-bottom-color: transparent !important;
}
.nav-dropdown-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 10px 0 14px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy);
  z-index: 110;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li a {
  display: block;
  padding: 8px 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78) !important;
  border-bottom: none !important;
  white-space: nowrap;
  text-align: center;
}
.nav-dropdown-menu li a:hover { color: var(--white) !important; }
/* Match scrolled-nav state: keep navy box + white text even when nav has white bg */
nav.scrolled .nav-dropdown:hover .nav-dropdown-toggle,
nav.scrolled .nav-dropdown:focus-within .nav-dropdown-toggle {
  color: var(--white) !important;
}
/* Mobile menu — locations section */
.mobile-section-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  padding: 14px 28px 4px 40px;
  text-align: right;
  white-space: nowrap;
}
.mobile-menu a.mobile-sub {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  text-transform: none;
  letter-spacing: 0.06em;
}

.nav-cta-group {
  display: flex;
  gap: 12px;
  margin-right: 40px;
  position: relative;
  z-index: 102;
}
.btn-nav {
  background: transparent;
  color: var(--white);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 32px;
  min-width: 140px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.75);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.45s ease, color 0.45s ease;
  box-sizing: border-box;
}
.btn-nav:hover { background: rgba(255,255,255,0.15); }
nav.scrolled .btn-nav { background: var(--navy); border-color: var(--navy); color: var(--white); }
nav.scrolled .btn-nav:hover { background: var(--navy-light); border-color: var(--navy-light); }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 102;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s, background-color 0.45s ease;
}
nav.scrolled .hamburger span { background: var(--navy); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.32) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 101;
  min-width: 180px;
  padding-top: 64px;
  transform: translateX(110%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.90);
  text-decoration: none;
  padding: 18px 28px 18px 40px;
  text-align: right;
  white-space: nowrap;
}
/* Breadcrumb — visible UI strip that pairs with BreadcrumbList JSON-LD on the same page.
   Uses <nav class="breadcrumb">. Must explicitly override the generic `nav { position: fixed; ... }`
   rule above so the breadcrumb stays in normal flow instead of stacking on top of the navbar. */
.breadcrumb {
  position: static;
  display: block;
  height: auto;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 80px;
  font-family: var(--sans);
  z-index: auto;
}
.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 13px;
  font-weight: 400;
}
.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}
.breadcrumb-item:not(:last-child)::after {
  content: '\203A';
  margin: 0 10px;
  color: var(--border);
  font-weight: 400;
}
.breadcrumb-item a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb-item a:hover { color: var(--navy); }
.breadcrumb-item:last-child {
  color: var(--navy);
  font-weight: 500;
}
@media (max-width: 600px) {
  .breadcrumb { padding: 12px 24px; }
  .breadcrumb-list { font-size: 12px; }
  .breadcrumb-item:not(:last-child)::after { margin: 0 6px; }
}

/* Inline body links (used inside paragraphs / FAQ answers) */
.inline-link {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}
.inline-link:hover { color: var(--navy-light); }
/* Location section — "See full studio" link below each location-info block */
.location-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 4px;
  transition: opacity 0.2s ease;
}
.location-cta:hover { opacity: 0.7; }
a.section-eyebrow-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}
a.section-eyebrow-link:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
/* ── FOOTER ── */
footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 64px 80px 40px;
}
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: 40px;
}
.footer-logo img { height: 80px; width: auto; }
.footer-logo-text {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1.4;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
}
.footer-contact a { color: var(--muted); text-decoration: none; }
.footer-contact a:hover { color: var(--navy); }
.footer-location { display: flex; flex-direction: column; gap: 3px; }
.footer-contact .footer-location-name {
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-contact .footer-location-name:hover { opacity: 0.65; color: var(--navy); }
.footer-shared-email { margin-top: 4px; }

.post-cta {
  margin: 48px 0;
  padding: 28px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.post-cta-heading {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 10px;
}
.post-cta-intro {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 18px;
}
.post-cta-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-cta-link {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.2s;
}
.post-cta-link:hover { border-color: var(--navy); }
.post-cta-city {
  font-weight: 500;
  color: var(--navy);
  font-size: 15px;
  letter-spacing: 0.04em;
}
.post-cta-landmark {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
@media (min-width: 600px) {
  .post-cta-links { flex-direction: row; }
  .post-cta-link { flex: 1; }
}

.related-posts {
  margin: 48px auto;
  max-width: 760px;
  padding: 0 24px;
}
.related-posts h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--navy);
  text-align: center;
  margin: 0 0 24px;
}
.related-posts ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.related-posts li {
  border-bottom: 1px solid var(--border);
}
.related-posts li a {
  display: block;
  padding: 16px 8px;
  color: var(--navy);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s, padding-left 0.2s;
}
.related-posts li a:hover {
  color: var(--navy-light);
  padding-left: 16px;
}
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 12px; font-weight: 300; color: var(--muted); }
.footer-links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 12px; font-weight: 400; color: var(--muted); text-decoration: none; white-space: nowrap; }
.footer-links a:hover { color: var(--navy); }
.footer-links a + a { border-left: 1px solid var(--border); padding-left: 24px; }
.footer-socials { display: flex; gap: 16px; align-items: center; }
.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.2s;
}
.social-icon:hover { opacity: 0.75; }
.si-fb { background: #1877F2; }
.si-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.si-li { background: #0A66C2; color: white; }

/* ── MANAGER MINI-CARD ──
   Injected by config.js anywhere we render a location reference. The card is a small
   photo + name + role link to the manager's profile page. Used on the homepage location
   cards, /about locations section, and each location landing page. */
.loc-manager-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  margin-top: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--navy);
  transition: border-color 0.2s, background 0.2s;
}
.loc-manager-card:hover {
  border-color: var(--navy);
  background: var(--bg);
}
.loc-manager-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg);
}
.loc-manager-info { flex: 1; min-width: 0; }
.loc-manager-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 2px;
}
.loc-manager-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.loc-manager-arrow {
  font-size: 18px;
  color: var(--muted);
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}
.loc-manager-card:hover .loc-manager-arrow {
  color: var(--navy);
  transform: translateX(3px);
}
/* Static (non-link) variant — used when a manager has no profileUrl set in TEAM.
   Renders the same visual card without click affordances. */
.loc-manager-card--static { cursor: default; }
.loc-manager-card--static:hover {
  border-color: var(--border);
  background: var(--white);
}

/* ── MEET YOUR WHITENING SPECIALIST ──
   Shared section featured on each location landing page. Photo on one side,
   name + role + bio + CTA on the other. Stacks on mobile. */
.meet-specialist {
  padding: 96px 80px;
  background: var(--bg);
}
.meet-specialist-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
.meet-specialist-photo {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
}
.meet-specialist-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.meet-specialist h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 8px;
}
.meet-specialist-role {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
}
.meet-specialist-bio p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--navy);
  margin: 0 0 18px;
}
.meet-specialist-cta {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--navy);
  transition: opacity 0.2s;
}
.meet-specialist-cta:hover { opacity: 0.7; }
/* Alternating variant: photo on the right (used for a second specialist stacked below the first) */
.meet-specialist-inner--reverse .meet-specialist-photo { order: 2; }
.meet-specialist-inner--reverse .meet-specialist-content { order: 1; }
@media (max-width: 900px) {
  .meet-specialist { padding: 56px 24px; }
  .meet-specialist-inner { grid-template-columns: 1fr; gap: 32px; }
  .meet-specialist-photo { max-width: 280px; }
  /* On mobile both blocks stack photo-first regardless of the reverse modifier */
  .meet-specialist-inner--reverse .meet-specialist-photo,
  .meet-specialist-inner--reverse .meet-specialist-content { order: 0; }
}

/* ── SCROLL FADE ── */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── SHARED RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 16px 0 0; }
  .nav-links { display: none; }
  .nav-cta-group { gap: 6px; margin-left: auto; margin-right: 12px; }
  .btn-nav { display: block; font-size: 10px; padding: 8px 12px; min-width: 88px; }
  .hamburger { display: flex; }
  footer { padding: 48px 24px 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
