/* ============================================================
   VIBE OTTER — Editorial Rebuild
   1960s Madison Avenue art direction x Scandinavian mid-century
   Cream dominates. Navy anchors type. Teal/orange are accents.
   ============================================================ */

:root {
  --cream: #F8F8F7;
  --cream-dark: #F8F8F7;
  --white: #FFFFFF;
  --navy: #052D3F;
  --ink: #052D3F;
  --teal: #029BA9;
  --aqua: #05B4B9;
  --coral: #F87754;
  --peach: #FBB06A;
  --orange: #F87754;
  --rule: rgba(5, 45, 63, 0.15);
  --rule-strong: #052D3F;
  --muted: #052D3F;
  --primary-color: #029BA9;
  --border-color: rgba(5, 45, 63, 0.15);
  --font-serif: 'Bodoni Moda', 'Playfair Display', Didot, 'Bodoni MT', Georgia, serif;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --nav-height: 76px;
}

/* ---------- Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

/* Keep anchored sections (e.g. #contact) clear of the fixed navbar */
section[id] { scroll-margin-top: calc(var(--nav-height) + 12px); }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.12;
}

p { color: var(--muted); }

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

a { color: var(--teal); }

ul { list-style: none; }

button { font-family: var(--font-sans); }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.4rem, 4vw, 3rem);
}

section { position: relative; }

/* ---------- Editorial section rhythm ---------- */
.portfolio, .pricing, .service-excellence, .contact,
.our-story, .our-mission, .why-choose-us, .our-approach,
.about-stats, .services, .process-section,
.program-benefits-section, .how-it-works-section,
.featured-project-modern, .work-filter-section, .portfolio-grid-modern {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.portfolio, .pricing, .service-excellence, .our-mission,
.why-choose-us, .our-approach, .process-section,
.how-it-works-section, .work-filter-section {
  border-top: 1px solid var(--rule);
}

.section-header { max-width: 780px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section-number {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.1rem;
}

.section-header h2,
.section-header-modern h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  letter-spacing: -0.01em;
}

.section-header p,
.section-header-modern p {
  margin-top: 1.1rem;
  font-size: 1.02rem;
  max-width: 56ch;
}

.section-header-modern { max-width: 780px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ---------- Buttons: sharp rectangles only ---------- */
.btn,
.btn-modern-primary,
.btn-modern-secondary,
.retro-popup-cta,
.btn-video-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.05rem 2.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary,
.btn-modern-primary {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.btn-primary:hover,
.btn-modern-primary:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.btn-outline,
.btn-modern-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover,
.btn-modern-secondary:hover {
  background: var(--navy);
  color: var(--cream);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(248, 248, 247, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--rule);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-image { height: 42px; width: auto; }

.logo-text {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  white-space: nowrap;
}

.nav-menu { display: flex; align-items: center; gap: 2.4rem; }

.nav-menu a {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a.active { border-bottom-color: var(--orange); }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 1200;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO — full-bleed editorial ---------- */
.hero-full {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(248, 248, 247, 0.85) 0%, rgba(248, 248, 247, 0.5) 30%, rgba(248, 248, 247, 0) 56%),
    linear-gradient(165deg, #05B4B9 0%, #029BA9 22%, #029BA9 42%, #052D3F 72%, #052D3F 100%);
}

/* ---------- Dark teal transition band ---------- */
.teal-transition {
  position: relative;
  background: linear-gradient(180deg, #052D3F 0%, #029BA9 52%, #05B4B9 100%);
  padding: 2.6rem 1.6rem 4.2rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.2rem), 0 100%);
  margin-bottom: -1px;
}

.teal-transition-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
}

.teal-transition-rule {
  flex: 0 1 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(248, 248, 247, 0.55));
}

.teal-transition-rule:last-child {
  background: linear-gradient(90deg, rgba(248, 248, 247, 0.55), transparent);
}

.teal-transition-label {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream);
}

.teal-transition-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(248, 248, 247, 0.45);
  color: var(--cream);
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.teal-transition-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(2px);
}

@media (max-width: 768px) {
  .teal-transition { padding: 1.8rem 1.2rem 2.8rem; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.8rem), 0 100%); }
  .teal-transition-rule { flex-basis: 60px; }
}

/* Touch/pointer-reactive ombre glow */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(105% 42% at var(--glow-x, 72%) var(--glow-y, 38%), rgba(2, 155, 169, 0.92), rgba(240, 128, 68, 0.48) 48%, transparent 78%),
    radial-gradient(92% 34% at var(--glow-x2, 24%) var(--glow-y2, 78%), rgba(5, 180, 185, 0.82), rgba(5, 180, 185, 0.4) 48%, transparent 80%),
    radial-gradient(82% 30% at calc(100% - var(--glow-x, 72%)) calc(100% - var(--glow-y, 38%)), rgba(248, 119, 84, 0.78), rgba(248, 119, 84, 0.38) 48%, transparent 78%),
    radial-gradient(72% 26% at calc(50% + var(--glow-x, 72%) / 4) calc(var(--glow-y2, 78%) / 2), rgba(251, 176, 106, 0.62), rgba(251, 176, 106, 0.28) 48%, transparent 76%),
    linear-gradient(115deg, transparent calc(var(--glow-x, 72%) - 26%), rgba(251, 176, 106, 0.5) var(--glow-x, 72%), rgba(2, 155, 169, 0.46) calc(var(--glow-x, 72%) + 26%), transparent calc(var(--glow-x, 72%) + 54%));
  opacity: 1;
  transition: opacity 0.4s ease;
  will-change: background;
  animation: hero-glow-wave 9s ease-in-out infinite;
}

/* Slow breathing swell layered on top of the pointer wave */
@keyframes hero-glow-wave {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.045) translateY(-1.1%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow { transition: none; animation: none; }
}


.hero-full-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(4rem, 9vh, 6.5rem) clamp(1.4rem, 4vw, 3rem);
}

/* Soft light halo so the headline lifts off the teal fade */
.hero-full-inner::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 12%;
  left: -6%;
  width: 62%;
  height: 76%;
  background: radial-gradient(60% 55% at 38% 46%, rgba(248, 248, 247, 0.92) 0%, rgba(248, 248, 247, 0.55) 48%, rgba(248, 248, 247, 0) 78%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-full-inner::before { width: 100%; left: 0; top: 6%; height: 88%; }
}

.hero-full-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--navy);
  text-shadow: 0 1px 12px rgba(248, 248, 247, 0.95), 0 1px 3px rgba(248, 248, 247, 0.9);
}

.hero-full-eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--orange);
  flex-shrink: 0;
}

.hero-full-title {
  margin-top: 1.6rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(3.4rem, 7.8vw, 7rem);
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: var(--navy);
  max-width: 13ch;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75),
    0 12px 40px rgba(248, 248, 247, 0.95),
    0 2px 8px rgba(5, 45, 63, 0.22);
}

.hero-full-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--orange);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 6px 26px rgba(248, 119, 84, 0.35);
}

.hero-full-copy {
  margin-top: 1.8rem;
  max-width: 44ch;
  font-size: 1.3rem;
  line-height: 1.65;
  color: var(--ink);
  font-weight: 600;
  text-shadow: 0 1px 14px rgba(248, 248, 247, 0.95), 0 1px 3px rgba(248, 248, 247, 0.85);
}

.hero-full-ctas {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-top: 2.6rem;
}

.hero-full-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.05rem 2.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hero-full-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.hero-full-btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(5, 45, 63, 0.45);
}

.hero-full-btn-ghost:hover {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.hero-full-meta {
  display: flex;
  gap: 2.6rem;
  margin-top: 3.2rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--rule);
}

.hero-full-meta-item dt {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--navy);
  line-height: 1;
}

.hero-full-meta-item dd {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 1px 10px rgba(248, 248, 247, 0.8);
}

/* ---------- Hero photo marquee (moving border) ---------- */
.hero-marquee {
  background: var(--navy);
  border-top: 1px solid rgba(248, 248, 247, 0.18);
  border-bottom: 1px solid rgba(248, 248, 247, 0.18);
  overflow: hidden;
  padding: 0.8rem 0;
}

.hero-marquee-track {
  display: flex;
  width: max-content;
  animation: hero-marquee 60s linear infinite;
}

.hero-marquee:hover .hero-marquee-track { animation-play-state: paused; }

.hero-marquee-group { display: flex; }

.hero-marquee-item {
  flex-shrink: 0;
  width: 225px;
  aspect-ratio: 16 / 10;
  margin-right: 0.75rem;
  border: 1px solid rgba(248, 248, 247, 0.28);
  overflow: hidden;
  background: rgba(248, 248, 247, 0.04);
}

.hero-marquee-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@keyframes hero-marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .hero-marquee-item { width: 150px; margin-right: 0.5rem; }
  .hero-marquee { padding: 0.6rem 0; }
}

/* ---------- Selected Work popup (editorial overlay) ---------- */
.retro-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(5, 45, 63, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.retro-popup-overlay.active { opacity: 1; visibility: visible; }

.retro-popup {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--cream);
  border: 1px solid var(--navy);
  padding: clamp(2rem, 4vw, 3.2rem);
}

.retro-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
}

.retro-popup-close:hover { color: var(--orange); }

.retro-popup-header {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1.4rem;
}

.retro-popup-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.retro-popup-sub {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}

.retro-popup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin: 2rem 0 2.2rem;
}

.retro-popup-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--rule);
}

.retro-popup-card-label {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.retro-popup-cta {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.retro-popup-cta:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ---------- Featured work ---------- */
.video-featured-wrapper { position: relative; }

.video-container {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--navy);
  background: var(--navy);
}

.featured-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 45, 63, 0.18);
  pointer-events: none;
}

.video-content-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  max-width: 560px;
  background: var(--cream);
  border-top: 2px solid var(--orange);
  padding: 1.8rem 2.2rem;
}

.video-badge { margin-bottom: 0.6rem; }

.portfolio-category {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}

.video-content-overlay h3 { font-size: 1.75rem; }

.video-content-overlay p {
  margin-top: 0.7rem;
  font-size: 0.92rem;
  line-height: 1.65;
}

.btn-video-cta {
  margin-top: 1.3rem;
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
  padding: 0.75rem 1.4rem;
  font-size: 0.72rem;
}

.btn-video-cta:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

.portfolio-cta-button { margin-top: 2.6rem; }

/* ---------- Selected Work — expandable video tabs ---------- */
.work-videos { margin-top: 2.2rem; }

.work-featured-video { margin-bottom: 1.6rem; }

.work-videos-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: 100%;
  padding: 1.5rem 1.7rem;
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--navy);
  box-shadow: 6px 6px 0 rgba(248, 119, 84, 0.9);
  text-align: left;
}

.work-videos-toggle-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}

.work-videos-toggle-title {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: inherit;
}

.work-videos-toggle-sub { display: block; margin-top: 0.4rem; font-size: 0.85rem; color: rgba(248, 248, 247, 0.75); }

.work-videos-toggle-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  border: none;
  color: #fff;
  font-size: 0.9rem;
  transition: transform 0.3s ease, background 0.25s ease;
}

.work-videos-panel-body {
  border: 1px solid var(--navy);
  border-top: none;
  background: var(--white);
  padding: 1.4rem;
}

.work-tabs { display: flex; flex-wrap: wrap; gap: 0.55rem; border-bottom: 1px solid var(--rule); padding-bottom: 1.2rem; }

.work-tab-btn {
  appearance: none;
  background: var(--white);
  border: 1px solid var(--navy);
  padding: 0.6rem 1.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.work-tab-btn:hover { background: var(--cream-dark); transform: translateY(-1px); }

.work-tab-btn.is-active {
  background: var(--navy);
  color: var(--cream);
  box-shadow: 3px 3px 0 var(--orange);
  transform: none;
}

.work-tab-pane { display: none; padding-top: 1.3rem; }

.work-tab-pane.is-active { display: block; animation: workPaneIn 0.35s ease; }

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

.work-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--navy);
  background: var(--navy);
}

.work-video-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.work-video-frame iframe,
.work-video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

.work-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: var(--cream);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.work-video-play:hover { background: var(--teal); transform: translate(-50%, -50%) scale(1.06); }

.work-video-caption { margin-top: 0.8rem; font-size: 0.85rem; color: var(--muted); }

.work-video-link { margin-top: 0.6rem; font-size: 0.85rem; color: var(--muted); }
.work-video-link a { color: var(--teal); text-decoration: none; font-weight: 600; }
.work-video-link a:hover { text-decoration: underline; }
.work-video-link i { font-size: 0.75rem; margin-right: 0.25rem; color: var(--teal); }

/* Hero pages slideshow (Services tab) */
.hero-slideshow .hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity 0.6s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; padding: 0; background: rgba(5, 45, 63, 0.55); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: background 0.2s ease; }
.hero-slide-nav:hover { background: var(--teal); }
.hero-slide-prev { left: 12px; }
.hero-slide-next { right: 12px; }
.hero-slide-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 8px; }
.hero-slide-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; }
.hero-slide-dot.is-active { background: #fff; transform: scale(1.25); }

.work-video-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.work-video-link:hover {
  border-bottom-color: var(--teal);
  transform: translateY(-1px);
}

@media (max-width: 560px) {
  .work-videos-toggle { padding: 1.1rem 1.2rem; box-shadow: 4px 4px 0 rgba(248, 119, 84, 0.9); }
  .work-videos-toggle-title { font-size: 1.2rem; }
  .work-videos-toggle-icon { width: 38px; height: 38px; }
  .work-videos-panel-body { padding: 1rem; }
  .work-featured-video { margin-bottom: 1.1rem; }
  .work-tabs { gap: 0.4rem; }
  .work-video-play { width: 52px; height: 52px; }
}

/* ---------- Client marquee ---------- */
.clients-carousel {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0;
  overflow: hidden;
  background: var(--cream);
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.carousel-item {
  position: relative;
  padding: 0 2.6rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.carousel-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--orange);
  transform: translateY(-50%) rotate(45deg);
}

/* ---------- Pricing — teal band with 1950s scalloped edges ---------- */
.pricing {
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(248, 248, 247, 0.10), transparent 65%),
    linear-gradient(180deg, #052D3F 0%, #029BA9 22%, #05B4B9 50%, #029BA9 78%, #052D3F 100%);
}

/* Faded otter logo watermark backdrop — upper right, beside the header */
.pricing::before {
  content: "";
  position: absolute;
  top: 110px;
  right: 4%;
  width: min(57%, 705px);
  aspect-ratio: 1024 / 1536;
  background: url("images/variants/colorful-otter-brand-logo.png-960w.webp") center / contain no-repeat;
  opacity: 0.4;
  filter: drop-shadow(0 0 24px rgba(248, 248, 247, 0.6)) drop-shadow(0 0 55px rgba(248, 248, 247, 0.35)) brightness(1.2);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 900px) {
  .pricing::before { opacity: 0.22; width: min(75%, 570px); right: 2%; top: 110px; }
}

.pricing .container { position: relative; z-index: 1; }

/* 1950s scalloped edges */
.scallop-edge {
  position: absolute;
  left: 0;
  width: 100%;
  height: 21px;
  background-repeat: repeat-x;
  background-size: 21px 21px;
  pointer-events: none;
  z-index: 1;
}

.scallop-top {
  top: -20px;
  background-image: radial-gradient(circle at 50% 100%, #052D3F 10.5px, rgba(248, 248, 247, 0) 11px);
  filter: drop-shadow(0 4px 5px rgba(5, 45, 63, 0.3));
}

.scallop-bottom {
  bottom: -20px;
  background-image: radial-gradient(circle at 50% 0, #052D3F 10.5px, rgba(248, 248, 247, 0) 11px);
  filter: drop-shadow(0 -4px 5px rgba(5, 45, 63, 0.3));
}

/* Readable text on teal */
.pricing .section-number { color: #FBB06A; }
.pricing .section-header h2 { color: var(--cream); }
.pricing .section-header p { color: rgba(248, 248, 247, 0.92); }
.pricing .hosting-headline { color: var(--cream); }
.pricing .category-label span { color: var(--cream); border-bottom-color: #FBB06A; }
.pricing .diy-note { color: rgba(248, 248, 247, 0.92); }
.pricing .diy-note a { color: #FBB06A; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  align-items: stretch;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.8rem 2.2rem 3rem;
  border: 1px solid rgba(5, 45, 63, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 32%),
    rgba(248, 248, 247, 0.7);
  box-shadow: 0 12px 26px rgba(5, 45, 63, 0.28), 0 3px 8px rgba(5, 45, 63, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(5, 45, 63, 0.34), 0 6px 14px rgba(5, 45, 63, 0.2);
}

.pricing-card.featured {
  background:
    linear-gradient(180deg, rgba(248, 248, 247, 0.08), rgba(248, 248, 247, 0) 34%),
    rgba(5, 45, 63, 0.7);
  border-color: rgba(251, 176, 106, 0.55);
  box-shadow: 0 18px 40px rgba(5, 45, 63, 0.5), 0 4px 10px rgba(5, 45, 63, 0.3);
}

.pricing-card.featured:hover {
  box-shadow: 0 26px 52px rgba(5, 45, 63, 0.55), 0 8px 16px rgba(5, 45, 63, 0.32);
}

.pricing-card.featured .price .amount { color: var(--cream); }

.pricing-card.featured .btn-primary {
  background: #FBB06A;
  border-color: #FBB06A;
  color: var(--navy);
}

.pricing-card.featured .btn-primary:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--navy);
}

.pricing-card.featured h3,
.pricing-card.featured .price,
.pricing-card.featured .pricing-features li {
  color: var(--cream);
}

.pricing-card.featured .pricing-features li { border-bottom-color: rgba(248, 248, 247, 0.28); }
.pricing-card.featured .pricing-features i { color: #FBB06A; }
.pricing-card.featured .price .currency { color: #FBB06A; }
.pricing-card.featured .pricing-header h3 { color: #FBB06A; }

.popular-badge {
  position: absolute;
  top: 0;
  left: 2.2rem;
  transform: translateY(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
}

.pricing-header h3 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}

.price {
  display: flex;
  align-items: flex-start;
  gap: 0.2rem;
  margin-top: 1.4rem;
}

.price .currency {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--orange);
  margin-top: 0.5rem;
}

.price .amount {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
}

.pricing-features { margin: 1.8rem 0 2.2rem; }

/* Keep the consultation buttons aligned across all cards */
.pricing-card .btn { margin-top: auto; }

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
  color: var(--ink);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features i {
  color: var(--teal);
  font-size: 0.78rem;
  margin-top: 5px;
}

/* Hosting */
.hosting-section-new {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(2.2rem, 4.5vw, 3.4rem) clamp(1.6rem, 4vw, 3.4rem) clamp(2rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(5, 45, 63, 0.55), rgba(5, 45, 63, 0.35));
  border: 1px solid rgba(248, 248, 247, 0.28);
  border-top: 3px solid #FBB06A;
  box-shadow: 0 16px 36px rgba(5, 45, 63, 0.4), inset 0 1px 0 rgba(248, 248, 247, 0.12);
}

.hosting-headline {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  max-width: 680px;
}

.hosting-categories-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-top: 2.6rem;
}

.category-label span {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--orange);
}

.hosting-card-new {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 1.9rem;
  position: relative;
  box-shadow: 0 8px 18px rgba(5, 45, 63, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hosting-card-new:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(5, 45, 63, 0.34);
}

.hosting-cards-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.card-icon { color: var(--teal); font-size: 1.15rem; margin-bottom: 1.1rem; }

.hosting-card-new h4 { font-size: 1.15rem; }

.card-price {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 0.6rem;
}

.card-tagline { font-size: 0.88rem; margin-top: 0.4rem; }

.most-popular-badge {
  position: absolute;
  top: -9px;
  right: 1.4rem;
  background: var(--orange);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
}

.diy-note { margin-top: 2.2rem; font-size: 0.92rem; }

.diy-note a { color: var(--teal); text-underline-offset: 3px; }

/* ---------- Service excellence — asymmetric editorial ---------- */
.excellence-content {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.excellence-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--navy);
}

.excellence-text h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }

.features-list { margin: 2rem 0 2.2rem; }

.feature-item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
}

.feature-item:last-child { border-bottom: 1px solid var(--rule); }

.feature-item h4 { font-size: 1.05rem; }

.feature-item p { margin-top: 0.35rem; font-size: 0.92rem; }

.cta-subtext {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--teal);
}

/* ---------- Statistics — full-width navy moment ---------- */
.statistics {
  background: var(--navy);
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

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

.stat-card {
  border-left: 1px solid rgba(248, 248, 247, 0.28);
  padding-left: 1.7rem;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4.2vw, 3.7rem);
  font-weight: 700;
  line-height: 1;
  color: var(--cream);
}

.stat-label {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 248, 247, 0.75);
}

.stats-cta {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(248, 248, 247, 0.2);
}

.stats-cta .btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.stats-cta .btn-primary:hover { background: var(--cream); border-color: var(--cream); color: var(--navy); }

.stats-cta p { color: rgba(248, 248, 247, 0.7); font-size: 0.92rem; }

/* ---------- Contact ---------- */
.contact {
  background:
    linear-gradient(rgba(5, 45, 63, 0.78), rgba(5, 45, 63, 0.78)),
    url('images/couple-winter-city-lights.jpg') center 30% / cover no-repeat;
}

/* Readable text on the photo background */
.contact .section-number { color: #FBB06A; }
.contact .section-header h2 { color: var(--cream); }
.contact .section-header p { color: rgba(248, 248, 247, 0.92); }
.contact .contact-item { border-top-color: rgba(248, 248, 247, 0.25); }
.contact .contact-item:last-child { border-bottom-color: rgba(248, 248, 247, 0.25); }
.contact .contact-icon { color: #7FD6DE; }
.contact .contact-item h4 { color: var(--cream); }
.contact .contact-item p { color: rgba(248, 248, 247, 0.9); }

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}

.contact-option {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: var(--white);
  border: 1px solid var(--rule);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-option:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(5, 45, 63, 0.35);
}

.contact-option-icon { color: var(--teal); font-size: 1.7rem; }

.contact-option h3 {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0;
}

.contact-option p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

.contact-option-cta {
  margin-top: auto;
  padding-top: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.contact-option-cta i { margin-left: 0.4rem; transition: transform 0.25s ease; }

.contact-option:hover .contact-option-cta i { transform: translateX(4px); }

.contact-option-form { cursor: default; }

.contact-option-form:hover { transform: none; box-shadow: none; }

.contact-lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.contact-lead-form input[type="text"],
.contact-lead-form input[type="email"],
.contact-lead-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--cream, #FAF7F2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.contact-lead-form input:focus,
.contact-lead-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.contact-lead-form textarea { resize: vertical; }

.contact-lead-btn {
  margin-top: 0.25rem;
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.contact-form-status { font-size: 0.92rem; }

.contact-form-status p { margin: 0; }

.contact-note {
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
  text-align: center;
  font-size: 0.92rem;
  color: rgba(248, 248, 247, 0.92);
}

.contact-note a, .contact-note { color: rgba(248, 248, 247, 0.92); }

.contact-item {
  display: flex;
  gap: 1.3rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
}

.contact-item:last-child { border-bottom: 1px solid var(--rule); }

.contact-icon { color: var(--teal); font-size: 1rem; width: 22px; padding-top: 3px; }

.contact-item h4 {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-item p { margin-top: 0.35rem; font-size: 0.95rem; }

.form-group { margin-bottom: 1.6rem; }

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  padding: 0.7rem 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease;
}

.form-group textarea {
  border: 1px solid var(--rule);
  padding: 0.85rem;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus { border-bottom-color: var(--teal); }

.form-group textarea:focus { border-color: var(--teal); }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  padding: clamp(3.2rem, 6vw, 4.8rem) 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.6rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid rgba(248, 248, 247, 0.18);
}

.footer-section h3 {
  font-size: 1.5rem;
  color: var(--cream);
}

.footer-section > p {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: rgba(248, 248, 247, 0.7);
}

.footer-section h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.1rem;
}

.footer-section ul li { line-height: 2.1; }

.footer-section ul li a {
  font-size: 0.9rem;
  color: rgba(248, 248, 247, 0.75);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-section ul li a:hover { color: var(--cream); }

.footer-section ul li {
  font-size: 0.9rem;
  color: rgba(248, 248, 247, 0.75);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 1.7rem;
  font-size: 0.8rem;
  color: rgba(248, 248, 247, 0.55);
}

.footer-bottom a { color: rgba(248, 248, 247, 0.55); text-decoration: none; }
.footer-bottom a:hover { color: var(--cream); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-badge-new {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid var(--rule);
  padding: 0.55rem 1.1rem;
}

.hero-badge-new i { color: var(--orange); font-size: 0.8rem; }

.about-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin-top: 1.6rem;
  letter-spacing: -0.015em;
}

.about-hero .lead,
.mission-text .lead,
.approach-text .lead,
.cta-content .lead {
  margin-top: 1.3rem;
  font-size: 1.12rem;
  line-height: 1.7;
  max-width: 62ch;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.story-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--navy);
}

.story-text h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }

.story-text h3 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 1.2rem 0 1.6rem;
}

.story-text p {
  margin-bottom: 1.15rem;
  line-height: 1.8;
}

.our-mission { background: var(--white); }

.mission-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.mission-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--navy);
}

.mission-values { margin-top: 2rem; }

.value-item {
  display: flex;
  gap: 1.3rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--rule);
}

.value-item:last-child { border-bottom: 1px solid var(--rule); }

.value-icon { color: var(--teal); font-size: 1.05rem; padding-top: 4px; }

.value-text h4 { font-size: 1.02rem; }

.value-text p { margin-top: 0.35rem; font-size: 0.92rem; }

/* Why choose us — editorial columns carousel */
.why-carousel-wrapper { position: relative; }

.why-carousel {
  display: flex;
  gap: 40px;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.why-carousel .feature-card {
  flex: 0 0 calc((100% - 80px) / 3);
  border-top: 2px solid var(--navy);
  padding-top: 1.6rem;
  background: transparent;
}

.feature-icon {
  color: var(--orange);
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
}

.why-carousel .feature-card h3 { font-size: 1.3rem; }

.why-carousel .feature-card p { margin-top: 0.7rem; font-size: 0.92rem; }

.carousel-nav {
  position: absolute;
  top: 42%;
  z-index: 5;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--cream);
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.25s ease;
}

.carousel-nav:hover { background: var(--teal); }

.carousel-prev-why { left: -22px; }
.carousel-next-why { right: -22px; }

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.4rem;
}

.carousel-indicator {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 0;
  background: var(--rule);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease;
}

.carousel-indicator.active { background: var(--orange); }

/* Approach */
.our-approach { background: var(--white); }

.approach-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.approach-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--navy);
}

.approach-text h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }

.approach-steps { margin-top: 2rem; }

.step-item {
  display: flex;
  gap: 1.6rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--rule);
}

.step-number,
.process-number {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.1;
  flex-shrink: 0;
}

.step-content h4 { font-size: 1.02rem; }

.step-content p { margin-top: 0.35rem; font-size: 0.92rem; }

/* About stats */
.about-stats .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }

.about-stats .stat-card { border-left-color: var(--rule); }

.about-stats .stat-number { color: var(--navy); }

.about-stats .stat-label { color: var(--muted); }

.about-stats .stat-card > p { margin-top: 0.7rem; font-size: 0.85rem; }

.stat-icon {
  color: var(--orange);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

/* About CTA */
.about-cta {
  background: var(--navy);
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.cta-content h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--cream);
}

.cta-content .lead { color: rgba(248, 248, 247, 0.75); }

.cta-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

.cta-buttons .btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.cta-buttons .btn-primary:hover { background: var(--cream); border-color: var(--cream); color: var(--navy); }

.cta-buttons .btn-outline {
  color: var(--cream);
  border-color: rgba(248, 248, 247, 0.55);
}

.cta-buttons .btn-outline:hover { background: var(--cream); border-color: var(--cream); color: var(--navy); }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.page-hero {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--rule);
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: -0.015em;
}

.page-hero-content p {
  margin-top: 1.3rem;
  font-size: 1.12rem;
  max-width: 56ch;
}

/* Services — editorial column table */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--navy);
}

.service-card {
  padding: 2.5rem 2.1rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: transparent;
}

.service-card:nth-child(3n) { border-right: none; }

.service-card:nth-child(n+4) { border-bottom: none; }

.service-icon {
  color: var(--teal);
  font-size: 1.3rem;
  margin-bottom: 1.3rem;
}

.service-card h3 { font-size: 1.35rem; }

.service-card > p { margin-top: 0.8rem; font-size: 0.93rem; }

.service-features { margin-top: 1.3rem; }

.service-features li {
  padding: 0.45rem 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.service-features li::before {
  content: '\2014';
  color: var(--orange);
  margin-right: 0.65rem;
}

/* Process */
.process-section { background: var(--white); }

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

.process-step { border-top: 2px solid var(--navy); padding-top: 1.5rem; }

.process-number { font-size: 2.6rem; }

.process-step h3 { font-size: 1.25rem; margin-top: 0.6rem; }

.process-step p { margin-top: 0.6rem; font-size: 0.9rem; }

/* Services CTA — navy band */
.services-cta-section {
  background: var(--navy);
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.services-cta-section .cta-content h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--cream);
}

.services-cta-section .cta-content p {
  margin-top: 1.1rem;
  font-size: 1.05rem;
  color: rgba(248, 248, 247, 0.75);
  max-width: 56ch;
}

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */
.work-hero-modern {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--rule);
}

.work-hero-bg { display: none; }

.hero-badge-work {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid var(--rule);
  padding: 0.55rem 1.1rem;
}

.hero-badge-work i { color: var(--orange); font-size: 0.8rem; }

.work-hero-title {
  font-size: clamp(2.8rem, 5.6vw, 4.8rem);
  margin-top: 1.6rem;
  letter-spacing: -0.015em;
}

.gradient-text {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--orange);
  font-style: italic;
}

.work-hero-subtitle {
  margin-top: 1.4rem;
  font-size: 1.08rem;
  max-width: 62ch;
}

.work-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.6rem;
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--rule);
}

.work-stat { display: flex; align-items: center; gap: 0.7rem; }

.work-stat .stat-num i { color: var(--teal); font-size: 1rem; }

.work-stat .stat-text {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem;
}

.benefit-card { border-top: 2px solid var(--navy); padding-top: 1.5rem; }

.benefit-icon { color: var(--teal); font-size: 1.2rem; margin-bottom: 1.1rem; }

.benefit-card h3 { font-size: 1.22rem; }

.benefit-card p { margin-top: 0.7rem; font-size: 0.9rem; }

/* How it works */
.how-it-works-section { background: var(--white); }

.steps-timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3.5rem;
}

.timeline-step {
  display: flex;
  gap: 1.6rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--rule);
}

.timeline-step .step-number { font-size: 2rem; }

.timeline-step h3 { font-size: 1.25rem; }

.timeline-step p { margin-top: 0.5rem; font-size: 0.92rem; }

/* Featured project */
.featured-label-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.6rem;
}

.featured-label-modern i { color: var(--orange); }

.video-wrapper-landscape {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--navy);
  background: var(--navy);
  overflow: hidden;
}

.video-wrapper-landscape iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.featured-badge-floating {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream);
  padding: 0.5rem 1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}

.featured-badge-floating i { color: var(--orange); }

.featured-details-landscape { margin-top: 2.6rem; }

.details-header h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }

.featured-lead {
  margin-top: 1rem;
  font-size: 1.05rem;
  max-width: 62ch;
}

.details-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  margin-top: 2.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--rule);
}

.features-column h3 {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.93rem;
  color: var(--ink);
}

.check-item i { color: var(--teal); font-size: 0.85rem; margin-top: 4px; }

.impact-box {
  display: flex;
  gap: 1.2rem;
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 1.7rem;
}

.impact-icon { color: var(--orange); font-size: 1.15rem; padding-top: 3px; }

.impact-text h4 { font-size: 1.05rem; }

.impact-text p { margin-top: 0.5rem; font-size: 0.9rem; }

.impact-column .btn-modern-primary { margin-top: 1.6rem; }

/* Filter — rectangular tabs, not pills */
.work-filter-section { background: var(--cream); }

.filter-pills { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 0.65rem 1.25rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pill-btn i { color: var(--teal); font-size: 0.8rem; }

.pill-btn:hover { border-color: var(--navy); }

.pill-btn.active { background: var(--navy); border-color: var(--navy); color: var(--cream); }

.pill-btn.active i { color: var(--orange); }

/* Portfolio grid */
.grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card-modern {
  background: var(--white);
  border: 1px solid var(--rule);
  transition: border-color 0.3s ease;
}

.project-card-modern:hover { border-color: var(--navy); }

.card-image-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card-modern:hover .card-image-wrapper img { transform: scale(1.04); }

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: rgba(5, 45, 63, 0.88);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.project-card-modern:hover .card-overlay { opacity: 1; }

.overlay-content { padding: 1.7rem; }

.category-badge {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}

.overlay-content h3 {
  margin-top: 0.5rem;
  font-size: 1.3rem;
  color: var(--cream);
}

.overlay-content p {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(248, 248, 247, 0.85);
}

.metrics-row { margin-top: 0.9rem; }

.metrics-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 1.2rem;
  font-size: 0.74rem;
  color: rgba(248, 248, 247, 0.8);
}

.metrics-row i { color: var(--orange); font-size: 0.72rem; }

.card-footer-modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  border-top: 1px solid var(--rule);
}

.card-info h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
}

.card-info p {
  margin-top: 0.2rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-link { color: var(--teal); font-size: 0.95rem; text-decoration: none; }

.card-link:hover { color: var(--orange); }

/* Work CTA — navy band */
.work-cta-modern {
  background: var(--navy);
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.cta-box-modern { max-width: 780px; }

.cta-icon-large {
  color: var(--orange);
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.cta-box-modern h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--cream);
}

.cta-box-modern > p,
.cta-box-modern p:not(.cta-note-modern) {
  margin-top: 1.1rem;
  font-size: 1.02rem;
  color: rgba(248, 248, 247, 0.75);
}

.cta-features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(248, 248, 247, 0.2);
  border-bottom: 1px solid rgba(248, 248, 247, 0.2);
}

.cta-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
}

.cta-feature-item i { color: var(--orange); }

.cta-buttons-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.btn-modern-primary.large,
.btn-modern-secondary.large { padding: 1.05rem 2.2rem; }

.btn-modern-primary.large {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.btn-modern-primary.large:hover { background: var(--cream); border-color: var(--cream); color: var(--navy); }

.btn-modern-secondary.large {
  background: transparent;
  border-color: rgba(248, 248, 247, 0.55);
  color: var(--cream);
}

.btn-modern-secondary.large:hover { background: var(--cream); border-color: var(--cream); color: var(--navy); }

.cta-note-modern {
  margin-top: 1.6rem;
  font-size: 0.8rem;
  color: rgba(248, 248, 247, 0.6);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) and (min-width: 1025px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid .pricing-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 0.8rem); }
}

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3n) { border-right: 1px solid var(--rule); }
  .service-card:nth-child(2n) { border-right: none; }
  .service-card:nth-child(4) { border-bottom: 1px solid var(--rule); }
  .service-card:nth-child(n+5) { border-bottom: none; }

  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-modern { grid-template-columns: repeat(2, 1fr); }
  .about-stats .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: 1fr 1fr; }

  .why-carousel .feature-card { flex: 0 0 calc((100% - 40px) / 2); }
}

@media (max-width: 900px) {
  .mobile-menu-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    z-index: 1100;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--navy);
    padding: 0.6rem 2rem 1.6rem;
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0.35s;
  }

  .nav-menu.active { transform: translateY(0); visibility: visible; }

  .nav-menu li { border-bottom: 1px solid var(--rule); }

  .nav-menu li:last-child { border-bottom: none; }

  .nav-menu a {
    display: block;
    padding: 1.05rem 0;
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .hero-full { min-height: 0; }

  .hero-full-inner { padding: 4rem 1.6rem 3.4rem; }

  .excellence-content,
  .story-content,
  .mission-content,
  .approach-content,
  .contact-content,
  .details-grid,
  .steps-timeline,
  .hosting-categories-wrapper {
    grid-template-columns: 1fr;
  }

  .mission-image, .approach-image, .story-image { order: -1; }

  .story-image img, .mission-image img, .approach-image img,
  .excellence-image img { aspect-ratio: auto; }

  .video-content-overlay {
    position: static;
    max-width: none;
    border-top: none;
    border-bottom: 2px solid var(--orange);
  }

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

  .carousel-prev-why { left: 0; }
  .carousel-next-why { right: 0; }

  .why-carousel .feature-card { flex: 0 0 100%; }

  .stats-cta { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
}

@media (max-width: 560px) {
  .hero-full-meta { flex-wrap: wrap; gap: 1.4rem 2rem; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; }
  .service-card:nth-child(n+4) { border-bottom: 1px solid var(--rule); }
  .service-card:last-child { border-bottom: none; }

  .benefits-grid,
  .process-grid,
  .grid-modern,
  .about-stats .stats-grid,
  .stats-grid,
  .hosting-cards-group,
  .footer-content { grid-template-columns: 1fr; }

  .retro-popup-grid { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .logo-text { display: none; }
}

/* ---------- Phone-size fixes (≤560px) ---------- */
@media (max-width: 560px) {
  /* Headline scales down so no word runs past the screen edge */
  .hero-full-title { font-size: clamp(2.5rem, 12.5vw, 3.4rem); }

  /* Hero CTAs stack full-width and can never overflow their container */
  .hero-full-ctas { flex-direction: column; align-items: stretch; }
  .hero-full-btn {
    justify-content: center;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    letter-spacing: 0.1em;
    text-align: center;
    white-space: normal;
  }

  .btn,
  .btn-modern-primary,
  .btn-modern-secondary,
  .retro-popup-cta { max-width: 100%; }

  .cta-buttons-modern { flex-direction: column; }
  .cta-buttons-modern .btn-modern-primary,
  .cta-buttons-modern .btn-modern-secondary {
    justify-content: center;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    letter-spacing: 0.1em;
  }
  .cta-buttons-modern .btn-modern-primary span,
  .cta-buttons-modern .btn-modern-secondary span { white-space: normal; }

  /* Comfortable tap targets */
  .work-tab-btn,
  .pill-btn { min-height: 44px; font-size: 0.78rem; }
  .hero-slide-nav { width: 44px; height: 44px; }
  .hero-slide-dot { width: 16px; height: 16px; }
  .carousel-indicator { width: 16px; height: 16px; }
  .retro-popup-close { padding: 0.35rem 0.6rem; }

  /* Popup fits small screens */
  .retro-popup-overlay { padding: 1rem; }
  .retro-popup { max-height: 90vh; padding: 1.6rem 1.2rem; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .carousel-track,
  .hero-marquee-track { animation: none; }

  * { transition-duration: 0.01ms !important; }
}
.vo-touchup-233 {
  min-height: 14px;
}

/* ============================================================
   MOBILE OVERFLOW FIXES (≤768px — desktop layout untouched)
   The client-name and website-photo marquees use width:max-content
   tracks that run past the phone screen edge. On small screens they
   become static, centered, wrapped rows instead.
   ============================================================ */
@media (max-width: 768px) {
  /* Client names: wrapped centered row, no marquee overflow */
  .carousel-track {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.35rem;
    animation: none;
  }

  .carousel-item {
    padding: 0.35rem 1.1rem;
    letter-spacing: 0.12em;
  }

  /* Duplicate loop copies are hidden once the marquee stops */
  .carousel-item.is-dup { display: none; }

  /* Website photo border: wrapped centered grid, no marquee overflow */
  .hero-marquee-track {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    animation: none;
  }

  .hero-marquee-group {
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
  }

  .hero-marquee-group[aria-hidden="true"] { display: none; }

  .hero-marquee-item {
    width: calc(33.333% - 0.34rem);
    margin-right: 0;
  }
}

@media (max-width: 560px) {
  /* Two photos per row on phones */
  .hero-marquee-item { width: calc(50% - 0.25rem); }

  /* Eyebrow line must fit the narrowest phones */
  .hero-full-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
  }

  .hero-full-eyebrow::before { width: 22px; }

  /* Buttons keep long labels inside the screen and stay tappable */
  .btn {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    letter-spacing: 0.1em;
  }

  /* Larger hamburger tap target */
  .mobile-menu-toggle { padding: 10px; }
}

/* ---------- Book a Free 10-Minute Call (modal) ---------- */
.booking-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 45, 63, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
}

.booking-modal-overlay.open { display: flex; }

.booking-modal {
  background: var(--cream);
  border: 1px solid var(--rule);
  width: 100%;
  max-width: 980px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}

.booking-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
  padding: 6px;
  z-index: 2;
}

.booking-modal-header { margin-bottom: 1.5rem; padding-right: 2rem; }

.booking-modal-header .section-number {
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.booking-modal-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin: 0.4rem 0 0.6rem;
}

.booking-modal-header p {
  color: rgba(5, 45, 63, 0.75);
  max-width: 60ch;
}

.booking-bailout {
  margin-top: 1.4rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(5, 45, 63, 0.7);
}

.booking-bailout a,
.booking-bailout .booking-bailout-link {
  color: var(--teal);
  font-weight: 600;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.booking-content {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.booking-card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.booking-card-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.1rem;
}

.booking-card-label-step3 { margin-top: 1.6rem; }

/* Calendar */
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cal-month-label {
  font-size: 1.15rem;
}

.cal-nav {
  background: none;
  border: 1px solid var(--rule);
  color: var(--navy);
  width: 38px;
  height: 38px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.cal-nav:hover:not(:disabled) { background: var(--teal); border-color: var(--teal); color: #fff; }
.cal-nav:disabled { opacity: 0.35; cursor: default; }

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.4rem;
}

.calendar-weekdays span {
  text-align: center;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.6;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  background: none;
  border: 1px solid transparent;
  color: var(--navy);
  cursor: pointer;
  min-height: 38px;
  padding: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cal-day.is-empty { cursor: default; }

.cal-day.is-open:hover { border-color: var(--teal); }

.cal-day.is-disabled {
  color: rgba(5, 45, 63, 0.3);
  cursor: default;
  text-decoration: line-through;
}

.cal-day.is-selected {
  background: var(--teal);
  color: #fff;
  font-weight: 600;
}

.calendar-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(5, 45, 63, 0.65);
}

/* Time slots */
.slot-empty { font-size: 0.92rem; color: rgba(5, 45, 63, 0.65); }

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

.slot-btn {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.65rem 0.4rem;
  background: none;
  border: 1px solid var(--rule);
  color: var(--navy);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.slot-btn:hover { border-color: var(--teal); color: var(--teal); }

.slot-btn.is-selected {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  font-weight: 600;
}

.slot-btn:disabled {
  color: rgba(5, 45, 63, 0.3);
  text-decoration: line-through;
  cursor: default;
}

/* Booking form */
.booking-selection {
  font-size: 0.9rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.booking-auth-prompt {
  border: 1px solid var(--rule);
  padding: 1.3rem;
  margin-top: 0.5rem;
}

.booking-auth-prompt p { font-size: 0.92rem; margin-bottom: 0.4rem; }
.booking-auth-prompt .btn { margin-top: 0.8rem; }

.booking-success {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--teal);
  font-weight: 600;
}

.booking-logged-in {
  margin-top: 1.2rem;
  font-size: 0.88rem;
  color: rgba(5, 45, 63, 0.75);
}

.booking-logged-in a { font-weight: 600; }

/* Auth modal */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 45, 63, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
}

.auth-modal-overlay.open { display: flex; }

.auth-modal {
  background: var(--cream);
  border: 1px solid var(--rule);
  width: 100%;
  max-width: 420px;
  padding: clamp(1.5rem, 4vw, 2.2rem);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.auth-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
  padding: 6px;
}

.auth-modal-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1.4rem;
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(5, 45, 63, 0.55);
  padding: 0.7rem 0.3rem;
  cursor: pointer;
}

.auth-tab.is-active { color: var(--navy); border-bottom-color: var(--coral); }

.auth-form .btn { width: 100%; }

.auth-error { color: #C0392B; font-size: 0.85rem; margin-top: 0.7rem; }

.auth-forgot { margin-top: 1rem; text-align: center; font-size: 0.85rem; }

.auth-hint { margin-top: 0.9rem; font-size: 0.8rem; color: rgba(5, 45, 63, 0.65); }

.auth-verify-message {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--teal);
  font-size: 0.9rem;
  text-align: center;
}

.auth-verify-message a { font-weight: 600; }

.nav-book-link { color: var(--coral) !important; font-weight: 600; }

/* Booking page status badges (shared with dashboards) */
.status-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
}

.status-badge.pending { background: rgba(251, 176, 106, 0.2); color: #A85B1E; }
.status-badge.confirmed { background: rgba(2, 155, 169, 0.15); color: var(--teal); }
.status-badge.denied { background: rgba(192, 57, 43, 0.12); color: #C0392B; }

@media (max-width: 900px) {
  .booking-content { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .slot-grid { grid-template-columns: repeat(2, 1fr); }
  .cal-day { min-height: 34px; font-size: 0.78rem; }
}

/* ---------- Booking dashboards (My Bookings / Admin) ---------- */
.dashboard-page { padding: clamp(3rem, 7vw, 5rem) 0; min-height: 60vh; }

.bookings-list { margin-top: 2rem; display: grid; gap: 1rem; }

.bookings-loading { color: rgba(5, 45, 63, 0.65); font-size: 0.95rem; }

.booking-record {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 1.3rem 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.booking-record h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }

.booking-record-when { font-size: 0.92rem; color: var(--teal); font-weight: 600; }

.booking-record-when i { font-size: 0.8rem; margin-right: 0.3rem; }

.booking-record-meta { font-size: 0.88rem; color: rgba(5, 45, 63, 0.75); margin-top: 0.3rem; }

.booking-record-notes { font-size: 0.88rem; color: rgba(5, 45, 63, 0.75); margin-top: 0.5rem; font-style: italic; }

.booking-record-side { display: flex; flex-direction: column; align-items: flex-end; gap: 0.7rem; flex-shrink: 0; }

.booking-record-actions { display: flex; gap: 0.5rem; }

.btn-admin {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--rule);
  background: none;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-admin.confirm:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-admin.deny:hover { background: #C0392B; border-color: #C0392B; color: #fff; }

.admin-filter { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.5rem; }

.admin-filter label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }

.admin-filter select {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--navy);
}

.dashboard-cta { margin-top: 2.5rem; font-size: 0.95rem; }

@media (max-width: 640px) {
  .booking-record { flex-direction: column; }
  .booking-record-side { align-items: flex-start; flex-direction: row; justify-content: space-between; width: 100%; }
}
