/* ============================================================
   MR McINTOSH — ULTRA-PREMIUM DESIGN SYSTEM
   Crafted with precision. Every pixel intentional.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --gold:          #C8A96E;
  --gold-pale:     #E8D5A8;
  --gold-deep:     #8B6914;
  --gold-glow:     rgba(200,169,110,0.18);
  --ink:           #0A0D14;
  --ink-mid:       #111827;
  --ink-soft:      #1C2537;
  --stone:         #F5F2ED;
  --stone-mid:     #EAE6DF;
  --white:         #FFFFFF;
  --mist:          rgba(255,255,255,0.06);
  --mist-2:        rgba(255,255,255,0.03);
  --text-primary:  #1A202C;
  --text-secondary:#4A5568;
  --text-ghost:    rgba(255,255,255,0.45);
  --text-faint:    rgba(255,255,255,0.25);
  --line:          rgba(200,169,110,0.15);
  --line-light:    rgba(0,0,0,0.07);

  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --font-mono:     'DM Mono', monospace;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:cubic-bezier(0.45, 0, 0.55, 1);
  --t-fast:  0.2s;
  --t-mid:   0.45s;
  --t-slow:  0.8s;

  --r-sm:  6px;
  --r-md:  14px;
  --r-lg:  22px;
  --r-xl:  36px;
  --r-full:999px;

  --shadow-xs:   0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 40px rgba(0,0,0,0.12);
  --shadow-lg:   0 20px 80px rgba(0,0,0,0.18);
  --shadow-gold: 0 8px 48px rgba(200,169,110,0.22);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; font-size: 16px; }

/* ── Skip Link (Accessibility) ──────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.6rem 1.25rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; outline: 3px solid var(--gold-deep); outline-offset: 2px; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; }

/* ── Noise Grain Overlay ──────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container--wide { max-width: 1440px; margin: 0 auto; padding: 0 2rem; }

/* ── Typography Utilities ───────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.display-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.display-title.light { color: var(--white); }
.display-title em { font-style: italic; color: var(--gold); }

.lead {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 560px;
}
.lead.light { color: var(--text-ghost); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--r-full);
  transition: all var(--t-mid) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 4px 24px rgba(200,169,110,0.3);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(200,169,110,0.45);
  background: var(--gold-pale);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(0,0,0,0.18);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover { background: var(--ink-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ── Navigation ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  transition: background var(--t-mid) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out);
}

.navbar.scrolled {
  background: rgba(10, 13, 20, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 0 var(--line);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.logo-mark {
  width: 42px; height: 42px;
  background: linear-gradient(145deg, var(--gold), var(--gold-pale));
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(200,169,110,0.3);
}
.logo-text-block { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: var(--r-full);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.07); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Mobile Nav ──────────────────────────────────────────────── */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,13,20,0.98);
  backdrop-filter: blur(32px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  transition: color var(--t-fast);
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile-close {
  position: absolute;
  top: 1.5rem; right: 1.75rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-sm);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: all var(--t-fast);
}
.nav-mobile-close:hover { background: rgba(255,255,255,0.14); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&q=90&w=2000');
  background-size: cover;
  background-position: center 30%;
  animation: heroKenBurns 24s ease-in-out infinite alternate;
  transform-origin: center;
}
@keyframes heroKenBurns {
  from { transform: scale(1.04) translate(-1%, 0); }
  to   { transform: scale(1.12) translate(1%, -2%); }
}

/* Multi-layer overlay for depth and readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10,13,20,1) 0%, rgba(10,13,20,0.55) 40%, rgba(10,13,20,0.2) 100%),
    linear-gradient(to right, rgba(10,13,20,0.7) 0%, transparent 60%);
}

/* Gold accent line at bottom of hero */
.hero-rule {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold-pale) 50%, var(--gold) 70%, transparent 100%);
  opacity: 0.6;
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem 9rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  animation: fadeUp 1s var(--ease-out) both;
}
.hero-kicker::before {
  content: '';
  display: block;
  width: 36px; height: 1px;
  background: var(--gold);
  animation: expandLine 1.2s 0.3s var(--ease-out) both;
}
@keyframes expandLine {
  from { width: 0; opacity: 0; }
  to   { width: 36px; opacity: 1; }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  animation: fadeUp 1s 0.15s var(--ease-out) both;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
  display: block;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.62);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 3rem;
  animation: fadeUp 1s 0.25s var(--ease-out) both;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 5rem;
  animation: fadeUp 1s 0.35s var(--ease-out) both;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  animation: fadeUp 1s 0.5s var(--ease-out) both;
  width: fit-content;
}

.hero-metric {
  padding: 1.5rem 2.5rem;
  border-left: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.hero-metric:first-child { padding-left: 0; border-left: none; }

.metric-val {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.metric-val span { color: var(--gold); }
.metric-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 0.35rem;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 3;
  animation: fadeUp 1.5s 0.8s var(--ease-out) both;
}
.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.15); }
}

/* ── Marquee Trust Bar ──────────────────────────────────────── */
.trust-bar {
  background: var(--ink-mid);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 0;
}
.trust-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
  padding: 1rem 0;
}
.trust-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 3rem;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.trust-item i { color: var(--gold); font-size: 0.8rem; }

/* ── About ──────────────────────────────────────────────────── */
.about {
  padding: 9rem 0;
  background: var(--stone);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.about-img-wrap:hover img { transform: scale(1.04); }

/* Floating year badge */
.about-badge {
  position: absolute;
  top: -1.5rem;
  right: -2rem;
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-gold);
  min-width: 120px;
}
.badge-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  display: block;
}
.badge-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.2rem;
  display: block;
}

/* Floating accent card */
.about-accent-card {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background: var(--ink);
  border-radius: var(--r-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.accent-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--gold-glow);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.accent-text strong {
  display: block;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
}
.accent-text span {
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
}

.about-content {}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 2rem 0 2.5rem;
}
.feat-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.7rem 1rem;
  background: var(--white);
  border-radius: var(--r-sm);
  border: 1px solid var(--line-light);
  transition: all var(--t-fast);
}
.feat-item:hover { border-color: var(--gold); background: rgba(200,169,110,0.04); }
.feat-item i { color: var(--gold); font-size: 0.9rem; width: 16px; text-align: center; }

.about-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Services ───────────────────────────────────────────────── */
.services {
  padding: 9rem 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.services-glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,169,110,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.services-glow-2 {
  position: absolute;
  bottom: -20%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,169,110,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.services-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  gap: 2rem;
}

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

.service-card {
  position: relative;
  background: var(--mist);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  overflow: hidden;
  cursor: default;
  transition: all var(--t-mid) var(--ease-out);
  group: true;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,169,110,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-mid);
}
.service-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(200,169,110,0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(200,169,110,0.1);
}
.service-card:hover::before { opacity: 1; }

/* Gold corner accent */
.service-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: conic-gradient(from 225deg at 100% 0%, var(--gold) 0deg, transparent 90deg);
  opacity: 0;
  transition: opacity var(--t-mid);
  border-radius: 0 var(--r-lg) 0 0;
}
.service-card:hover::after { opacity: 0.15; }

.service-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.service-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(200,169,110,0.1);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 1.75rem;
  transition: all var(--t-mid);
  border: 1px solid rgba(200,169,110,0.15);
}
.service-card:hover .service-icon-wrap {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 8px 32px rgba(200,169,110,0.3);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.service-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
}

.service-arrow {
  position: absolute;
  bottom: 2rem; right: 2rem;
  color: rgba(255,255,255,0.15);
  font-size: 1rem;
  transition: all var(--t-mid);
  transform: translate(-4px, 4px);
}
.service-card:hover .service-arrow {
  color: var(--gold);
  transform: translate(0, 0);
}

/* ── Portfolio ──────────────────────────────────────────────── */
.portfolio {
  padding: 9rem 0;
  background: var(--stone);
}
.portfolio-header {
  text-align: center;
  margin-bottom: 4.5rem;
}
.portfolio-header .lead { margin: 0 auto; }

.project-category { margin-bottom: 4.5rem; }
.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.category-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.category-rule {
  flex: 1;
  height: 1px;
  background: var(--line-light);
}
.category-icon { color: var(--gold); font-size: 0.9rem; }

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

.project-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--line-light);
  transition: all var(--t-mid) var(--ease-out);
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,169,110,0.2);
}

.side-by-side-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 230px;
  position: relative;
}
.comparison-image {
  position: relative;
  overflow: hidden;
}
.comparison-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.project-card:hover .comparison-image img { transform: scale(1.07); }
.comparison-image:first-child { border-right: 2px solid var(--white); }

/* Labels */
.label {
  position: absolute;
  top: 10px; left: 10px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--r-full);
  backdrop-filter: blur(8px);
}
.comparison-image:first-child .label {
  background: rgba(10,13,20,0.75);
  color: rgba(255,255,255,0.8);
}
.comparison-image:last-child .label {
  left: auto; right: 10px;
  background: var(--gold);
  color: var(--ink);
}

/* Divider icon */
.side-by-side-comparison::after {
  content: '↔';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 30px; height: 30px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  line-height: 30px;
  text-align: center;
}

.project-info { padding: 1.25rem 1.5rem 1.5rem; }
.project-info h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}
.project-info p { font-size: 0.84rem; color: var(--text-secondary); }

/* ── Why Us ─────────────────────────────────────────────────── */
.why-us {
  padding: 9rem 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}
.why-img-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
}
.why-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Overlay stat card */
.why-stat-card {
  position: absolute;
  bottom: 2rem;
  right: -2.5rem;
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 2rem;
  min-width: 160px;
  text-align: center;
  box-shadow: var(--shadow-gold);
}
.wsc-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1;
}
.wsc-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

.benefits { display: flex; flex-direction: column; gap: 0; margin-top: 2.5rem; }
.benefit {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all var(--t-fast);
}
.benefit:last-child { border-bottom: none; }
.benefit:hover { padding-left: 0.5rem; }

.benefit-icon {
  width: 52px; height: 52px;
  background: rgba(200,169,110,0.08);
  border: 1px solid rgba(200,169,110,0.15);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  transition: all var(--t-mid);
}
.benefit:hover .benefit-icon { background: var(--gold); color: var(--ink); }

.benefit-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.benefit-body p { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.7; }

/* ── Testimonials ───────────────────────────────────────────── */
.testimonials {
  padding: 9rem 0;
  background: var(--stone);
}
.testimonials-header { text-align: center; margin-bottom: 4rem; }
.testimonials-header .lead { margin: 0 auto; }

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

.t-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
  transition: all var(--t-mid) var(--ease-out);
}
.t-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; right: 1.75rem;
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  color: rgba(200,169,110,0.1);
  pointer-events: none;
}
.t-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200,169,110,0.25);
}

.t-stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
}
.t-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
}
.t-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink), var(--ink-soft));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
}
.t-name { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); }
.t-location { font-size: 0.78rem; color: var(--text-secondary); margin-top: 1px; }

.testimonials-cta { text-align: center; margin-top: 3.5rem; }

/* ── CTA Banner ─────────────────────────────────────────────── */
.cta-band {
  padding: 6rem 0;
  background: var(--ink-mid);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(200,169,110,0.08) 0%, transparent 70%);
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-band-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  margin: 1.25rem 0;
  line-height: 1.1;
}
.cta-band-inner h2 em { font-style: italic; color: var(--gold); }
.cta-band-inner p {
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}
.cta-band-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Contact ────────────────────────────────────────────────── */
.contact {
  padding: 9rem 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: linear-gradient(to left, rgba(200,169,110,0.03), transparent);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6rem;
  align-items: start;
  position: relative;
}

.contact-methods { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--mist);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  transition: all var(--t-mid);
}
.contact-method:hover {
  background: var(--mist-2);
  border-color: rgba(200,169,110,0.25);
  transform: translateX(4px);
}
.cm-icon {
  width: 44px; height: 44px;
  background: var(--gold-glow);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}
.cm-label { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.1rem; }
.cm-value {
  font-size: 0.92rem;
  color: var(--white);
  font-weight: 500;
}
.cm-value a { color: var(--white); transition: color var(--t-fast); }
.cm-value a:hover { color: var(--gold); }

/* Contact Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-xl);
  padding: 3rem;
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.form-subtitle {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.9rem 1.1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: all var(--t-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(200,169,110,0.5);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 3px rgba(200,169,110,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--ink-soft); color: var(--white); }
.form-group textarea { resize: none; min-height: 110px; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: #050810;
  border-top: 1px solid var(--line);
  padding: 5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 2.5rem;
}
.footer-brand-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.35);
  margin-top: 1.25rem;
  max-width: 300px;
  line-height: 1.8;
}
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.75rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  transition: all var(--t-fast);
}
.footer-social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--t-fast);
}
.footer-col ul a:hover { color: var(--white); }
.footer-col li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-col li i { color: var(--gold); font-size: 0.75rem; width: 14px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.22);
}

/* ── Floating CTA ────────────────────────────────────────────── */
.float-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--t-mid) var(--ease-out);
  pointer-events: none;
}
.float-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.float-cta a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold);
  color: var(--ink);
  padding: 0.85rem 1.5rem;
  border-radius: var(--r-full);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 40px rgba(200,169,110,0.4), 0 2px 8px rgba(0,0,0,0.2);
  transition: all var(--t-fast);
}
.float-cta a:hover { transform: translateY(-2px); box-shadow: 0 12px 50px rgba(200,169,110,0.55); }

/* ── Scroll Reveal Animations ────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

.reveal       { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal-left  { opacity: 0; transform: translateX(-48px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal-right { opacity: 0; transform: translateX(48px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translate(0); }

.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }
.stagger > *:nth-child(5) { transition-delay: 0.4s; }
.stagger > *:nth-child(6) { transition-delay: 0.5s; }

/* ── Success State ───────────────────────────────────────────── */
.form-success {
  display: none;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.25);
  border-radius: var(--r-md);
  text-align: center;
  color: #34D399;
  font-size: 0.9rem;
}
.form-success i { display: block; font-size: 1.5rem; margin-bottom: 0.5rem; }

/* ── Responsive — Mobile First ───────────────────────────────────────────── */

/* ─ 1200px — wide tablet / small desktop ─ */
@media (max-width: 1200px) {
  .hero-headline { font-size: clamp(3rem, 7vw, 6.5rem); }
  .why-stat-card  { right: 1rem; }
}

/* ─ 1100px — tablet landscape ─ */
@media (max-width: 1100px) {
  .services-grid  { grid-template-columns: 1fr 1fr; }
  .about-inner,
  .why-us-grid,
  .contact-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge    { top: -1rem; right: 1rem; }
  .about-accent-card { display: none; }
  .why-img-wrap   { aspect-ratio: 16/9; }
  .why-stat-card  { right: 1.5rem; bottom: 1.5rem; }
  .contact-grid   { gap: 2.5rem; }
}

/* ─ 900px — tablet portrait ─ */
@media (max-width: 900px) {
  .project-grid         { grid-template-columns: 1fr 1fr; }
  .testimonials-grid    { grid-template-columns: 1fr 1fr; }
  .footer-grid          { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .services-top         { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero-metrics         { gap: 0; }
  .about, .services, .portfolio,
  .why-us, .testimonials, .contact { padding: 6rem 0; }
  .cta-band             { padding: 4.5rem 0; }
}

/* ─ 768px — mobile landscape / large phone ─ */
@media (max-width: 768px) {
  /* Navigation */
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .navbar     { padding: 0 1.25rem; height: 66px; }

  /* Touch targets — min 48×48px per WCAG */
  .btn, .nav-mobile a, .contact-method,
  .hamburger, .nav-mobile-close,
  .footer-social a { min-height: 48px; }
  .hamburger  { padding: 10px 8px; }

  /* Hero */
  .hero-headline  { font-size: clamp(2.6rem, 9vw, 4rem); line-height: 1; }
  .hero-content   { padding: 0 1.25rem 7rem; }
  .hero-desc      { font-size: 1rem; }
  .hero-ctas      { flex-direction: column; gap: 0.75rem; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-metrics   {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r-md);
    overflow: hidden;
    margin-top: 0;
  }
  .hero-metric {
    padding: 1rem 0.75rem;
    border-left: 1px solid rgba(255,255,255,0.08);
    text-align: center;
  }
  .hero-metric:first-child { border-left: none; }
  .metric-val  { font-size: 1.8rem; }
  .metric-label { font-size: 0.6rem; letter-spacing: 0.1em; }
  .hero-scroll-hint { display: none; }

  /* Trust bar */
  .trust-item { padding: 0 1.5rem; font-size: 0.68rem; }

  /* About */
  .about-badge  { display: none; }
  .about-inner  { gap: 2.5rem; }
  .about-img-wrap { aspect-ratio: 3/2; }
  .about-features { grid-template-columns: 1fr; gap: 0.5rem; }
  .about-ctas   { flex-direction: column; }
  .about-ctas .btn { width: 100%; justify-content: center; }

  /* Services */
  .services-grid        { grid-template-columns: 1fr; }
  .service-card         { padding: 2rem; }
  .services-top         { gap: 0.75rem; }
  .services             { padding: 5rem 0; }

  /* Portfolio */
  .project-grid         { grid-template-columns: 1fr; }
  .side-by-side-comparison { height: 200px; }
  .portfolio            { padding: 5rem 0; }

  /* Why us */
  .why-us-grid          { gap: 2.5rem; }
  .why-img-wrap         { aspect-ratio: 16/9; }
  .why-stat-card        { position: static; margin-top: 1rem; border-radius: var(--r-md); display: inline-block; }
  .benefits             { margin-top: 1.5rem; }
  .benefit              { gap: 1rem; padding: 1.25rem 0; }
  .why-us               { padding: 5rem 0; }

  /* Testimonials */
  .testimonials-grid    { grid-template-columns: 1fr; }
  .testimonials         { padding: 5rem 0; }

  /* CTA band */
  .cta-band             { padding: 4rem 0; }
  .cta-band-btns        { flex-direction: column; align-items: center; gap: 0.75rem; }
  .cta-band-btns .btn   { width: 100%; max-width: 320px; justify-content: center; }

  /* Contact */
  .contact              { padding: 5rem 0; }
  .contact-methods      { gap: 0.75rem; }
  .contact-form-wrap    { padding: 2rem 1.5rem; }
  .form-row             { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid          { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
  .footer               { padding: 3.5rem 0 2rem; }
  .footer-bottom        { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  /* Spacing */
  .about, .services, .portfolio,
  .why-us, .testimonials, .contact { padding: 5rem 0; }

  /* Float CTA — keep visible on mobile but smaller */
  .float-cta { bottom: 1.25rem; right: 1.25rem; }
  .float-cta a { padding: 0.8rem 1.25rem; font-size: 0.82rem; }
}

/* ─ 480px — small phones ─ */
@media (max-width: 480px) {
  :root { font-size: 15px; }
  .container, .container--wide { padding: 0 1rem; }

  .hero-headline    { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-kicker      { font-size: 0.65rem; }
  .hero-content     { padding: 0 1rem 5.5rem; }

  .display-title    { font-size: clamp(2rem, 8vw, 2.5rem); }

  .hero-metrics     { grid-template-columns: 1fr 1fr; }
  .hero-metric:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-left: none;
  }

  .services-grid    { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .about, .services, .portfolio,
  .why-us, .testimonials, .contact { padding: 4rem 0; }
  .cta-band         { padding: 3.5rem 0; }

  /* Float CTA stays visible — it's the primary mobile action */
  .float-cta { display: block; }

  .footer-grid      { grid-template-columns: 1fr; }
  .project-grid     { grid-template-columns: 1fr; }
  .side-by-side-comparison { height: 180px; }
  .form-row         { grid-template-columns: 1fr; }
  .form-group textarea { min-height: 100px; }

  .benefit          { grid-template-columns: 44px 1fr; gap: 0.75rem; }
  .benefit-icon     { width: 44px; height: 44px; }

  .cta-band-inner h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
}

/* ─ 360px — tiny phones (Galaxy A series etc) ─ */
@media (max-width: 360px) {
  :root { font-size: 14px; }
  .hero-headline  { font-size: 2rem; }
  .hero-metrics   { grid-template-columns: 1fr; }
  .hero-metric    { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
  .hero-metric:first-child { border-top: none; }
  .metric-val     { font-size: 2rem; }
  .display-title  { font-size: 1.85rem; }
  .side-by-side-comparison { height: 160px; }
  .t-card         { padding: 1.5rem; }
}

/* ─ Safe area insets (notched iPhones, Android) ─ */
@supports (padding: max(0px)) {
  .navbar   { padding-left: max(1.25rem, env(safe-area-inset-left)); padding-right: max(1.25rem, env(safe-area-inset-right)); }
  .footer   { padding-bottom: max(2rem, env(safe-area-inset-bottom)); }
  .float-cta { right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom)); }
  .nav-mobile { padding-bottom: env(safe-area-inset-bottom); }
}

/* ─ Reduced motion ─ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
  }
  .hero-bg { animation: none; }
  .trust-track { animation: none; }
  .scroll-line { animation: none; }
}

/* ─ Print ─ */
@media print {
  .navbar, .float-cta, .nav-mobile,
  .trust-bar, .hero-scroll-hint,
  .cta-band, .footer-social { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  .hero { min-height: auto; background: #000; color: #fff; padding: 2rem; }
  .hero-overlay, .hero-bg { display: none; }
  a[href^="tel"]::after { content: " (" attr(href) ")"; }
  a[href^="mailto"]::after { content: " (" attr(href) ")"; }
  .container { max-width: 100%; }
}