/* ==========================================================================
   SK Eagle Tiling & Stone — Design System
   Navy + White premium palette, Playfair Display + Inter typography
   ========================================================================== */

:root {
  /* Brand palette */
  --navy-950: #0a1730;
  --navy-900: #0d1b3a;
  --navy-800: #132449;
  --navy-700: #1a2f5c;
  --navy-600: #26397f;   /* logo brand navy */
  --navy-500: #33499c;
  --navy-100: #e8ebf4;
  --white: #ffffff;
  --off-white: #f7f7f5;
  --stone-100: #f2f1ec;
  --stone-200: #e6e4db;
  --stone-300: #d3d0c4;
  --grey-600: #5c6270;
  --grey-700: #444a56;
  --grey-800: #2a2e37;
  --line: rgba(10, 23, 48, 0.1);
  --line-on-dark: rgba(255, 255, 255, 0.16);

  /* Typography */
  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  /* Layout */
  --container-width: 1240px;
  --radius: 2px;
  --shadow-sm: 0 2px 8px rgba(10, 23, 48, 0.08);
  --shadow-md: 0 8px 30px rgba(10, 23, 48, 0.12);
  --shadow-lg: 0 20px 60px rgba(10, 23, 48, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 250ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--grey-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 var(--space-2); color: var(--navy-900); }
p { margin: 0 0 var(--space-2); }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 var(--space-4); }

@media (max-width: 640px) {
  .container { padding: 0 var(--space-3); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Focus states (accessibility) ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--navy-500);
  outline-offset: 3px;
}

/* ---------- Utility type ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-600);
  margin-bottom: var(--space-2);
}
.eyebrow.on-dark { color: var(--stone-200); }
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  margin-right: 10px;
  vertical-align: middle;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.35rem; }
.section-head { max-width: 680px; margin-bottom: var(--space-6); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lede { font-size: 1.15rem; color: var(--grey-700); }
.text-on-dark { color: var(--stone-100); }
.text-on-dark h1, .text-on-dark h2, .text-on-dark h3 { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  min-height: 44px;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy-600); color: var(--white); border-color: var(--navy-600); }
.btn-primary:hover { background: var(--navy-700); border-color: var(--navy-700); }
.btn-outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline-light:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.btn-white { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.btn-white:hover { background: var(--stone-100); }
.btn-sm { padding: 11px 22px; font-size: 0.82rem; }

/* ---------- Utility bar ---------- */
:root { --utility-h: 34px; }
.utility-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  background: var(--navy-950);
  height: var(--utility-h);
  font-size: 0.76rem;
}
.utility-bar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.utility-contact { display: flex; align-items: center; gap: 28px; }
.utility-contact a { display: inline-flex; align-items: center; gap: 6px; color: var(--stone-300); transition: color var(--dur) var(--ease); }
.utility-contact a:hover { color: var(--white); }
.utility-contact svg { width: 13px; height: 13px; flex-shrink: 0; }
.utility-social { display: flex; align-items: center; gap: 16px; }
.utility-social a { color: var(--stone-300); transition: color var(--dur) var(--ease); }
.utility-social a:hover { color: var(--white); }
.utility-social svg { width: 14px; height: 14px; display: block; }
@media (max-width: 900px) {
  .utility-contact a:nth-child(2) { display: none; }
}
@media (max-width: 560px) {
  .utility-bar { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: var(--utility-h); left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(10, 23, 48, 0.55) 0%, rgba(10, 23, 48, 0.28) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), padding var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease), top var(--dur) var(--ease);
  padding: 22px 0;
}
@media (max-width: 560px) {
  .site-header { top: 0; }
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: var(--navy-950);
  box-shadow: var(--shadow-md);
  padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 138px; width: auto; transition: height var(--dur) var(--ease); }
.site-header.is-scrolled .brand img,
.site-header.is-solid .brand img { height: 108px; }
.brand-text { font-family: var(--font-display); color: var(--white); font-size: 1.15rem; letter-spacing: 0.03em; line-height: 1.2; white-space: nowrap; }
.brand-text span { display: block; font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.22em; color: var(--stone-300); font-weight: 500; margin-top: 2px; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: var(--space-5); }
.nav-links { display: flex; gap: var(--space-4); }
.nav-links a {
  color: var(--stone-100);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 8px 2px;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--white);
  transition: right var(--dur) var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.header-phone { display: flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; font-size: 0.92rem; }
.header-phone svg { width: 17px; height: 17px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none; border: none; padding: 8px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--white);
  position: relative; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle span::before { position: absolute; top: -8px; }
.nav-toggle span::after { position: absolute; top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .header-phone { display: none; }
  .header-actions .btn-primary.btn-sm { display: none; }
  .nav-toggle { display: flex; }
  .main-nav { gap: var(--space-2); }
}

@media (max-width: 560px) {
  .header-inner { gap: var(--space-2); }
  .brand-text { font-size: 0.98rem; }
  .brand img { height: 87px; }
  .header-actions .btn { padding: 11px 16px; font-size: 0.78rem; }
  .nav-toggle { width: 36px; height: 44px; padding: 4px; }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--navy-950);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), visibility var(--dur), transform var(--dur) var(--ease);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav a { font-family: var(--font-display); font-size: 1.9rem; color: var(--white); }
.mobile-nav .btn { margin-top: var(--space-3); font-family: var(--font-body); font-size: 0.92rem; }
.mobile-nav a.btn-white { color: var(--navy-900); }
.mobile-call-btn { display: inline-flex; align-items: center; gap: 10px; }
.mobile-call-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--navy-950);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { animation: hero-kenburns 18s ease-in-out infinite alternate; }
@keyframes hero-kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; }
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,17,36,0.75) 0%, rgba(10,17,36,0.55) 40%, rgba(10,17,36,0.92) 100%);
}
.hero-content { position: relative; z-index: 1; padding-top: calc(120px + var(--utility-h)); padding-bottom: var(--space-7); }
@media (max-width: 560px) { .hero-content { padding-top: 90px; } }
.hero-content h1 { color: var(--white); max-width: 900px; }
.hero-content .lede { max-width: 560px; color: var(--stone-100); }
.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-4); }
.hero-scroll {
  position: absolute; bottom: var(--space-4); left: 50%; transform: translateX(-50%);
  color: var(--stone-200); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 1;
}
.hero-scroll .line { width: 1px; height: 34px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden; }
.hero-scroll .line::after { content:""; position:absolute; top:-100%; left:0; width:100%; height:100%; background: var(--white); animation: scrollLine 1.8s var(--ease) infinite; }
@keyframes scrollLine { to { top: 100%; } }

.page-hero {
  position: relative; color: var(--white); background: var(--navy-950);
  padding: calc(180px + var(--utility-h)) 0 var(--space-6);
  overflow: hidden;
}
@media (max-width: 560px) { .page-hero { padding: 130px 0 var(--space-5); } }
.page-hero .hero-media img { opacity: 0.55; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: var(--stone-100); }
.breadcrumb { font-size: 0.82rem; color: var(--stone-300); margin-bottom: var(--space-2); letter-spacing: 0.04em; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Sections ---------- */
section { padding: var(--space-7) 0; }
.section-tight { padding: var(--space-6) 0; }
.bg-off { background: var(--off-white); }
.bg-navy { background: var(--navy-950); }
.bg-navy-alt { background: var(--navy-900); }
.bg-stone { background: var(--stone-100); }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: var(--space-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: var(--space-4); } }
.split-media { position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; border-radius: var(--radius); }
.split-media .frame {
  position: absolute; top: -18px; left: -18px; right: 18px; bottom: 18px;
  border: 1px solid var(--navy-600); z-index: -1;
}
@media (max-width: 640px) { .split-media .frame { display: none; } }

/* ---------- Stat / trust bar ---------- */
.stat-bar { background: var(--navy-950); color: var(--white); }
.stat-bar .grid { padding: var(--space-5) 0; }
.stat-item { text-align: center; border-left: 1px solid var(--line-on-dark); padding: 0 var(--space-2); }
.stat-item:first-child { border-left: none; }
.stat-item .num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.6rem); color: var(--white); display: block; }
.stat-item .label { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone-300); margin-top: 6px; }
@media (max-width: 640px) { .stat-item { border-left: none; border-top: 1px solid var(--line-on-dark); padding-top: var(--space-3); } .stat-item:first-child { border-top: none; padding-top: 0; } }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: var(--space-4);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-100); color: var(--navy-600);
  margin-bottom: var(--space-3);
  border-radius: var(--radius);
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--grey-700); font-size: 0.96rem; margin-bottom: var(--space-2); }
.card-link { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy-600); display: inline-flex; align-items: center; gap: 6px; }
.card-link svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.card-link:hover svg { transform: translateX(4px); }

/* Service card image variant */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; padding: var(--space-6) 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: none; }
.service-block:nth-child(even) .service-media { order: 2; }
.service-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-num { font-family: var(--font-display); font-size: 0.95rem; color: var(--navy-600); letter-spacing: 0.1em; }
.service-list { margin-top: var(--space-3); display: grid; gap: 10px; }
.service-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--grey-700); }
.service-list svg { width: 18px; height: 18px; color: var(--navy-600); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 860px) { .service-block, .service-block:nth-child(even) { grid-template-columns: 1fr; } .service-block:nth-child(even) .service-media { order: 0; } }

/* Material swatch grid */
.swatch-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: var(--space-5); }
.swatch-item { text-align: center; }
.swatch-item .swatch-photo { aspect-ratio: 1/1; overflow: hidden; border: 1px solid var(--line); }
.swatch-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.swatch-item:hover img { transform: scale(1.08); }
.swatch-item .swatch-label { display: block; margin-top: 10px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em; color: var(--navy-800); }
@media (max-width: 900px) { .swatch-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .swatch-grid { grid-template-columns: repeat(2, 1fr); } }

/* Material badges */
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  padding: 10px 20px; border: 1px solid var(--line); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.03em; color: var(--navy-800); background: var(--white);
}

/* ---------- Section fade transitions (soften navy <-> light seams) ---------- */
.fade-bottom-off, .fade-bottom-white,
.fade-top-off, .fade-top-white,
.fade-top-off-after, .fade-top-white-after {
  position: relative;
}
.fade-bottom-off::after, .fade-bottom-white::after,
.fade-top-off::before, .fade-top-white::before,
.fade-top-off-after::after, .fade-top-white-after::after {
  content: "";
  position: absolute; left: 0; right: 0; height: var(--space-3);
  pointer-events: none; z-index: 1;
}
/* Bottom fades: dark section ending, blends into the light section below */
.fade-bottom-off::after { bottom: 0; background: linear-gradient(180deg, rgba(242, 241, 236, 0) 0%, var(--off-white) 100%); }
.fade-bottom-white::after { bottom: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--white) 100%); }
/* Top fades: dark section starting, blends down from the light section above (::before — free on most sections) */
.fade-top-off::before { top: 0; background: linear-gradient(180deg, var(--off-white) 0%, rgba(242, 241, 236, 0) 100%); }
.fade-top-white::before { top: 0; background: linear-gradient(180deg, var(--white) 0%, rgba(255, 255, 255, 0) 100%); }
/* Top fades via ::after — for sections whose ::before is already used (e.g. .cta-band's radial glow) */
.fade-top-off-after::after { top: 0; background: linear-gradient(180deg, var(--off-white) 0%, rgba(242, 241, 236, 0) 100%); }
.fade-top-white-after::after { top: 0; background: linear-gradient(180deg, var(--white) 0%, rgba(255, 255, 255, 0) 100%); }

/* ---------- Photo carousel (About teaser) ---------- */
.ig-carousel {
  position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--navy-950);
  cursor: grab; touch-action: pan-y; user-select: none;
}
.ig-carousel:active { cursor: grabbing; }
.ig-carousel-track { display: flex; height: 100%; transition: transform 420ms var(--ease); will-change: transform; }
.ig-carousel-slide { flex: 0 0 100%; height: 100%; }
.ig-carousel-slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ig-carousel-prev, .ig-carousel-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(10,17,36,0.45); border: 1px solid rgba(255,255,255,0.4); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur) var(--ease);
}
.ig-carousel-prev:hover, .ig-carousel-next:hover { background: rgba(10,17,36,0.75); }
.ig-carousel-prev { left: 14px; }
.ig-carousel-next { right: 14px; }
.ig-carousel-prev svg, .ig-carousel-next svg { width: 18px; height: 18px; }
.ig-carousel-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; gap: 8px;
}
.ig-carousel-dots button {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.45); border: none; padding: 0;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.ig-carousel-dots button.is-active { background: var(--white); transform: scale(1.25); }
.ig-carousel-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: flex; align-items: center; gap: 6px;
  background: rgba(10,17,36,0.55); color: var(--white); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 6px 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.3);
}
.ig-carousel-badge svg { width: 13px; height: 13px; }

/* ---------- Gallery peek carousel (3-up, center-focused, autoplay) ---------- */
.peek-carousel { position: relative; padding: 0 56px; max-width: 1400px; margin-left: auto; margin-right: auto; }
.peek-viewport { overflow: hidden; }
.peek-track { display: flex; will-change: transform; transition: transform 650ms cubic-bezier(0.65, 0, 0.35, 1); }
.peek-slide {
  flex: 0 0 33.3334%;
  box-sizing: border-box;
  padding: 0 8px;
  opacity: 0.45;
  transform: scale(0.86);
  transition: transform 650ms cubic-bezier(0.65, 0, 0.35, 1), opacity 650ms cubic-bezier(0.65, 0, 0.35, 1);
  cursor: pointer;
}
.peek-slide .peek-photo {
  position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 3px;
  box-shadow: var(--shadow-sm); background: var(--navy-950);
}
.peek-slide .peek-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.peek-slide .peek-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  color: var(--white); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  opacity: 0; transition: opacity var(--dur) var(--ease);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.peek-slide.is-active { opacity: 1; transform: scale(1); cursor: zoom-in; z-index: 2; }
.peek-slide.is-active .peek-photo { box-shadow: var(--shadow-lg); }
.peek-slide.is-active .peek-tag { opacity: 1; }
@media (max-width: 900px) { .peek-slide { flex-basis: 50%; } }
@media (max-width: 600px) { .peek-slide { flex-basis: 100%; padding: 0 4px; } .peek-carousel { padding: 0 var(--space-5); } }

.peek-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line); color: var(--navy-900);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.peek-arrow:hover { background: var(--navy-600); color: var(--white); }
.peek-prev { left: 0; }
.peek-next { right: 0; }
@media (max-width: 600px) { .peek-arrow { width: 38px; height: 38px; } }

.peek-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: var(--space-4); max-width: 640px; margin-left: auto; margin-right: auto; }
.peek-dots button { width: 7px; height: 7px; border-radius: 50%; background: var(--stone-300); border: none; padding: 0; transition: background var(--dur) var(--ease), transform var(--dur) var(--ease); }
.peek-dots button.is-active { background: var(--navy-600); transform: scale(1.5); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  position: relative; overflow: hidden; cursor: pointer; background: var(--navy-950);
  aspect-ratio: 4/5;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,17,36,0) 55%, rgba(10,17,36,0.75) 100%);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .tag {
  position: absolute; left: 16px; bottom: 16px; color: var(--white);
  font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600;
  opacity: 0; transform: translateY(8px); transition: all var(--dur) var(--ease); z-index: 1;
}
.gallery-item:hover .tag { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8,13,28,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur);
  padding: var(--space-4);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 84vh; object-fit: contain; box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25);
  color: var(--white); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background var(--dur) var(--ease);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }
.lightbox-close { top: var(--space-3); right: var(--space-3); }
.lightbox-prev { left: var(--space-3); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: var(--space-3); top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; bottom: var(--space-3); left: 50%; transform: translateX(-50%); color: var(--stone-200); font-size: 0.85rem; letter-spacing: 0.05em; }
@media (max-width: 640px) { .lightbox-prev, .lightbox-next { width: 40px; height: 40px; } }

/* ---------- Services carousel (mobile only) ---------- */
.services-carousel { display: none; }
@media (max-width: 640px) {
  .services-grid-desktop { display: none; }
  .services-carousel { display: block; }
}
.services-carousel.ig-carousel { aspect-ratio: auto; background: transparent; cursor: grab; }
.services-carousel .ig-carousel-track { align-items: stretch; }
.services-carousel .ig-carousel-slide { height: auto; padding: 4px 4px 40px; }
.services-carousel .card { height: 100%; box-sizing: border-box; }
.services-carousel .card:hover { transform: none; box-shadow: none; border-color: var(--line); }
.services-carousel .ig-carousel-prev,
.services-carousel .ig-carousel-next {
  background: var(--white); border-color: var(--line); color: var(--navy-900); box-shadow: var(--shadow-sm);
}
.services-carousel .ig-carousel-prev:hover,
.services-carousel .ig-carousel-next:hover { background: var(--navy-600); color: var(--white); }
.services-carousel .ig-carousel-prev { left: -6px; }
.services-carousel .ig-carousel-next { right: -6px; }
.services-carousel .ig-carousel-dots { bottom: 10px; }
.services-carousel .ig-carousel-dots button { background: var(--stone-300); }
.services-carousel .ig-carousel-dots button.is-active { background: var(--navy-600); }

/* ---------- Testimonials carousel (mobile only) ---------- */
.testi-carousel { display: none; }
@media (max-width: 640px) {
  .testi-grid-desktop { display: none; }
  .testi-carousel { display: block; }
}
.testi-carousel.ig-carousel { aspect-ratio: auto; background: transparent; cursor: grab; }
.testi-carousel .ig-carousel-track { align-items: stretch; }
.testi-carousel .ig-carousel-slide { height: auto; padding: 4px 4px 40px; }
.testi-carousel .testi-card { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; }
.testi-carousel .testi-quote { flex: 1; }
.testi-carousel .ig-carousel-prev,
.testi-carousel .ig-carousel-next {
  background: var(--white); border-color: var(--line); color: var(--navy-900); box-shadow: var(--shadow-sm);
}
.testi-carousel .ig-carousel-prev:hover,
.testi-carousel .ig-carousel-next:hover { background: var(--navy-600); color: var(--white); }
.testi-carousel .ig-carousel-prev { left: -6px; }
.testi-carousel .ig-carousel-next { right: -6px; }
.testi-carousel .ig-carousel-dots { bottom: 10px; }
.testi-carousel .ig-carousel-dots button { background: var(--stone-300); }
.testi-carousel .ig-carousel-dots button.is-active { background: var(--navy-600); }

/* ---------- Testimonials ---------- */
.testi-card { background: var(--white); border: 1px solid var(--line); padding: var(--space-4); }
.testi-stars { color: var(--navy-600); letter-spacing: 3px; margin-bottom: var(--space-2); font-size: 1.05rem; }
.testi-quote { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy-900); font-style: italic; margin-bottom: var(--space-3); }
.testi-name { font-weight: 700; font-size: 0.9rem; }
.testi-role { font-size: 0.82rem; color: var(--grey-600); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--navy-950); color: var(--white); text-align: center; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background: radial-gradient(circle at 15% 30%, rgba(38,57,127,0.55), transparent 55%), radial-gradient(circle at 85% 75%, rgba(38,57,127,0.4), transparent 50%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band .lede { max-width: 560px; margin: 0 auto var(--space-4); color: var(--stone-100); }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Process steps ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); counter-reset: step; }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { position: relative; padding-top: var(--space-5); }
.process-step .step-num {
  font-family: var(--font-display); font-size: 3rem; color: var(--navy-100);
  -webkit-text-stroke: 1.5px var(--navy-600); color: transparent;
  position: absolute; top: 0; left: 0;
}
.process-step h3 { margin-top: var(--space-1); }
.process-step p { color: var(--grey-700); font-size: 0.92rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em; color: var(--navy-900); }
.form-field .req { color: var(--navy-600); }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--line-strong, #c7c9d2); border-radius: var(--radius);
  padding: 13px 14px; background: var(--white); color: var(--grey-800);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  min-height: 44px;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(38,57,127,0.14); outline: none;
}
.form-field .hint { font-size: 0.78rem; color: var(--grey-600); }
.form-field .error { font-size: 0.78rem; color: #b3261e; display: none; }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: #b3261e; }
.form-field.has-error .error { display: block; }
.form-status { margin-top: var(--space-3); padding: 14px 18px; border-radius: var(--radius); font-size: 0.92rem; display: none; }
.form-status.show { display: block; }
.form-status.success { background: #e9f3ec; color: #1e5d3b; border: 1px solid #bfe0cb; }
.form-status.error { background: #fbeceb; color: #8c231d; border: 1px solid #f1c3c0; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* Contact info cards */
.contact-info-list { display: grid; gap: var(--space-3); }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .icon { width: 46px; height: 46px; flex-shrink: 0; background: var(--navy-100); color: var(--navy-600); display: flex; align-items: center; justify-content: center; }
.contact-info-item .icon svg { width: 22px; height: 22px; }
.contact-info-item h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; margin: 0 0 4px; color: var(--navy-900); }
.contact-info-item p { color: var(--grey-700); font-size: 0.94rem; margin: 0; }
.contact-info-item a:hover { color: var(--navy-600); }

.map-embed { border: 1px solid var(--line); width: 100%; height: 340px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.social-row { display: flex; gap: 12px; margin-top: var(--space-3); }
.social-row a {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--navy-900); transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.social-row a:hover { background: var(--navy-600); border-color: var(--navy-600); color: var(--white); }
.social-row svg { width: 18px; height: 18px; }
.social-row.on-dark a { color: var(--white); border-color: var(--line-on-dark); }
.social-row.on-dark a:hover { background: var(--white); color: var(--navy-900); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--stone-200); padding: var(--space-7) 0 var(--space-4); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--space-5); margin-bottom: var(--space-6); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 46px; margin-bottom: var(--space-3); }
.footer-brand p { color: var(--stone-300); font-size: 0.92rem; max-width: 320px; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--space-3); }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--stone-300); font-size: 0.92rem; transition: color var(--dur) var(--ease); }
.address-link { color: inherit; text-decoration: none; }
.hours-table { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line-on-dark); border-bottom: 1px solid var(--line-on-dark); margin: 4px 0; }
.hours-table .hours-row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.88rem; }
.hours-table .hours-row span:first-child { color: var(--stone-100); font-weight: 600; }
.hours-table .hours-row span:last-child { color: var(--stone-300); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--line-on-dark); padding-top: var(--space-3); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-2); font-size: 0.82rem; color: var(--stone-300); }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); margin: var(--space-6) 0; }
.eagle-watermark {
  position: absolute; top: -60px; right: -80px; width: 520px; opacity: 0.05; z-index: 0; pointer-events: none;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--navy-900);
  padding: 12px 20px; z-index: 999; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Mobile-only overrides (do not touch desktop rules above) ---------- */
@media (max-width: 640px) {
  .home-final-cta-lede { display: none; }
}
