/* ═══════════════════════════════════════════════════════════════
   SEO-CALGARY.CSS — page-scoped redesign layer, loaded after
   styles.min.css. Same visual language as home/about/web-design/
   social-content/local-seo: Big Shoulders Display type, orange
   accent, black atmosphere + grain, flat buttons. Duplicated per
   this site's existing page-scoped-override pattern (no shared-file
   risk, no build step) — closely mirrors local-seo-calgary.css since
   this page shares the same stats/pricing/testimonial/process shape.
   ═══════════════════════════════════════════════════════════════ */

body {
  --cream: #F3ECDF;
  --accent: var(--orange);
  --ink: #0c0a08;
  --display: 'Big Shoulders Display', Impact, sans-serif;
  --mono: 'Space Mono', 'Space Grotesk', monospace;
  --max: 100%;
  background: #000 !important;
  background-image: none !important;
  color: var(--cream);
}
body::after {
  display: block !important; content: ''; position: fixed; inset: 0; z-index: -1;
  pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 10% 8%, rgba(247,147,30,.16), transparent),
    radial-gradient(ellipse 50% 38% at 92% 14%, rgba(233,30,99,.14), transparent),
    radial-gradient(ellipse 55% 42% at 50% 88%, rgba(47,167,167,.12), transparent);
}
main, .footer { color: var(--cream); }
main .lead, main p { color: rgba(243,236,223,.62); }

.fade { filter: blur(6px); transition: opacity .6s ease, transform .6s ease, filter .6s ease; }
.fade.in { filter: blur(0); }

main h1 {
  font-family: var(--display); text-transform: uppercase; font-weight: 900; letter-spacing: 0;
  line-height: .96; color: var(--cream); font-size: clamp(2.8rem, 6.5vw, 4.6rem);
}
main h2 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.02; letter-spacing: 0;
  margin: 0; color: var(--cream);
}
main h3 { color: var(--cream); font-weight: 600; }
.section, .section-sm { border-color: rgba(243,236,223,.1) !important; }
.divider { background: rgba(243,236,223,.1) !important; }

/* ── BUTTONS ── */
.btn { border-radius: 0; padding: 1rem 1.9rem; text-transform: uppercase; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; font-weight: 700; }
.btn-primary { background: var(--accent); color: var(--ink); border: 1px solid var(--accent); box-shadow: none; }
.btn-primary:hover { background: transparent; color: var(--cream); opacity: 1; }
.btn-secondary { background: transparent; border: 1px solid rgba(243,236,223,.25); color: var(--cream); }
.btn-secondary:hover { border-color: var(--cream); background: rgba(243,236,223,.06); color: var(--cream); }

/* ── NAV ── */
.nav { background: transparent; border-bottom: 1px solid transparent; height: 96px; }
.nav.scrolled { background: rgba(0,0,0,.9); backdrop-filter: blur(16px); border-color: rgba(243,236,223,.1); }
.nav-inner { height: 96px; align-items: center; padding-left: clamp(12px, 2vw, 20px); }
.nav-brand img { height: 44px; width: 44px; }
.nav-brand-word { background: none; -webkit-text-fill-color: currentColor; color: var(--cream); font-family: var(--display); font-weight: 900; letter-spacing: .04em; }
.nav-links { gap: clamp(1rem, 3vw, 2.4rem); }
.nav-links a {
  display: flex; flex-direction: column; line-height: 1.05;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(.85rem, 1.3vw, 1.05rem);
  color: rgba(243,236,223,.55);
}
.nav-links a span:first-child { color: rgba(243,236,223,.35); font-size: .8em; }
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links a:hover span:first-child, .nav-links a.active span:first-child { color: var(--accent); }
.nav-links a::after { display: none; }
.nav-cta { background: var(--accent); border: 1px solid var(--accent); padding: .6rem 1.2rem; font-family: var(--mono); text-transform: uppercase; font-size: .7rem; font-weight: 700; letter-spacing: .08em; color: var(--ink); transition: background .2s ease, color .2s ease; }
.nav-cta:hover { background: transparent; color: var(--cream); }
.nav-drawer a { font-family: var(--display); font-weight: 900; text-transform: uppercase; }

/* ── BREADCRUMBS ── */
.breadcrumb-nav, nav[aria-label="breadcrumb"] { border-color: rgba(243,236,223,.1) !important; }
nav[aria-label="breadcrumb"] ol { font-family: var(--mono) !important; font-size: .72rem !important; text-transform: uppercase; letter-spacing: .05em; }
nav[aria-label="breadcrumb"] a { color: rgba(243,236,223,.4) !important; }
nav[aria-label="breadcrumb"] a:hover { color: var(--cream) !important; }
nav[aria-label="breadcrumb"] li { color: rgba(243,236,223,.25) !important; }

/* ── EYEBROW (numbered, matches the other redesigned service pages) ── */
.eyebrow-num { display: flex; align-items: baseline; gap: .7rem; font-family: var(--mono); margin-bottom: 1.4rem; }
.eyebrow-num em { font-style: normal; font-weight: 700; font-size: .95rem; color: var(--accent); }
.eyebrow-num span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(243,236,223,.5); }
.eyebrow { font-family: var(--mono); text-transform: uppercase; font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--accent); display: block; margin-bottom: .8rem; }

/* ── ANIMATED TEXT: per-word stagger, driven by the shared .fade/.in reveal ── */
.split-unit { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(2deg); transition: opacity .5s ease, transform .5s ease; }
.in .split-unit, .fade.in .split-unit { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .split-unit { transition-delay: 0s !important; } }

/* ── GRAIN TEXTURE (visible on color panels) ── */
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .12; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── CORNER VIEWFINDER BRACKETS + PANEL NUMBERS ── */
.frame-mark { position: absolute; width: 20px; height: 20px; z-index: 3; }
.frame-mark--tl { top: 22px; left: 22px; border-left: 1px solid currentColor; border-top: 1px solid currentColor; }
.frame-mark--tr { top: 22px; right: 22px; border-right: 1px solid currentColor; border-top: 1px solid currentColor; }
.frame-mark--bl { bottom: 22px; left: 22px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.frame-mark--br { bottom: 22px; right: 22px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.panel-corner-num { position: absolute; top: 26px; font-family: var(--mono); font-size: .78rem; font-weight: 700; opacity: .5; z-index: 2; }
.panel-corner-num--l { left: 30px; }
.panel-corner-num--r { right: 30px; }

/* ── FULL-BLEED COLOR PANEL ── */
.color-panel {
  position: relative; overflow: hidden;
  background: var(--accent); color: var(--ink);
  border-top: none !important;
  padding: clamp(3rem, 8vw, 5.5rem) 0 !important;
  margin: 0 clamp(10px, 2vw, 20px) clamp(10px, 2vw, 20px);
  border-radius: clamp(12px, 2vw, 20px);
}
.color-panel .wrap { position: relative; z-index: 2; }
.color-panel .eyebrow-num em, .color-panel .eyebrow-num span { color: var(--ink); opacity: .55; }
.color-panel .frame-mark { color: var(--ink); opacity: .4; }
.color-panel[data-color="mag"]  { background: var(--mag); }
.color-panel[data-color="red"]  { background: var(--red); }
.color-panel[data-color="teal"] { background: var(--teal); }

/* Panel texture — diagonal hatch, angle/spacing keyed to color (matches home.css) */
.color-panel .grain { mix-blend-mode: multiply; opacity: .3; background-size: auto; }
.color-panel[data-color="mag"]    .grain { background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.9) 0, rgba(0,0,0,.9) 1px, transparent 1px, transparent 6px); }
.color-panel[data-color="red"]    .grain { background-image: repeating-linear-gradient(115deg, rgba(0,0,0,.9) 0, rgba(0,0,0,.9) 1px, transparent 1px, transparent 8px); }
.color-panel[data-color="orange"] .grain { background-image: repeating-linear-gradient(60deg, rgba(0,0,0,.9) 0, rgba(0,0,0,.9) 1px, transparent 1px, transparent 5px); }
.color-panel[data-color="teal"]   .grain { background-image: repeating-linear-gradient(45deg, rgba(0,0,0,.9) 0, rgba(0,0,0,.9) 1px, transparent 1px, transparent 7px); }
.color-panel h2, .color-panel h3, .color-panel h4 { color: var(--ink) !important; }
.color-panel p { color: var(--ink) !important; opacity: .75; }
.color-panel .btn-primary { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.color-panel .btn-primary:hover { background: transparent; color: var(--ink); }
.color-panel .btn-secondary { border-color: rgba(12,10,8,.35); color: var(--ink); }
.color-panel .btn-secondary:hover { border-color: var(--ink); background: rgba(12,10,8,.08); }

.panel-stack { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .94; font-size: clamp(2.6rem, 7vw, 5.4rem); margin-bottom: 1.6rem; }
.panel-stack > span { display: block; }
.panel-foot { display: flex; justify-content: center; margin-top: 2rem; }
.panel-copy { max-width: 640px; margin: 0 auto; text-align: center; font-size: 1.1rem; line-height: 1.7; }

/* ── HERO ── */
.svc-hero { position: relative; overflow: hidden; }
.svc-hero > div { position: relative; z-index: 2; }

/* ── STATS STRIP ── */
.stats-row .stat-num { font-family: var(--display); font-weight: 900; color: var(--accent); }
.stat-item p { color: rgba(243,236,223,.6) !important; }

/* ── CARDS (generic .card component used throughout this page) ── */
.card { background: rgba(243,236,223,.03) !important; border-color: rgba(243,236,223,.1) !important; border-radius: clamp(10px, 1.5vw, 14px) !important; box-shadow: none !important; }
.card:hover { border-color: rgba(243,236,223,.25) !important; }
.card::before, .card::after { display: none !important; }

/* ── SERVICES GRID (4-pillar "what's included") ── */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 2vw, 20px); }
.service-card {
  background: rgba(243,236,223,.03); border: 1px solid rgba(243,236,223,.1);
  border-top: 3px solid var(--sc-color, var(--accent));
  border-radius: clamp(10px, 1.5vw, 14px); padding: clamp(1.6rem, 3vw, 2rem);
  transition: transform .25s ease, background .25s ease;
}
.service-card:hover { transform: translateY(-4px); background: rgba(243,236,223,.06); }
.service-card:nth-child(1) { --sc-color: var(--orange); }
.service-card:nth-child(2) { --sc-color: var(--mag); }
.service-card:nth-child(3) { --sc-color: var(--teal); }
.service-card:nth-child(4) { --sc-color: var(--red); }
.service-card .svc-num { font-family: var(--mono); font-size: 1.1rem; font-weight: 700; color: var(--sc-color, var(--accent)); margin-bottom: .9rem; }
.service-card h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.1rem; letter-spacing: 0; color: var(--cream); margin: 0 0 .6rem; font-weight: 900; }
.service-card p { font-size: .88rem; line-height: 1.6; color: rgba(243,236,223,.6); margin: 0 0 1rem; }
.service-card .chip-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.service-card .chip { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .03em; padding: .3rem .6rem; border: 1px solid rgba(243,236,223,.15); border-radius: 20px; color: rgba(243,236,223,.6); }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ── VALUES LIST ── */
.values { gap: 0 !important; }
.value {
  border-top: 3px solid var(--val-color, var(--accent)); padding: 1.2rem 0;
  transition: transform .25s ease, background .25s ease;
}
.value:hover { transform: translateX(4px); background: rgba(243,236,223,.03); }
.value:nth-child(4n+1) { --val-color: var(--orange); }
.value:nth-child(4n+2) { --val-color: var(--mag); }
.value:nth-child(4n+3) { --val-color: var(--teal); }
.value:nth-child(4n+4) { --val-color: var(--red); }
.value h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0; color: var(--cream); margin: 0 0 .5rem; font-weight: 900; }
.value p { font-size: .92rem; line-height: 1.6; color: rgba(243,236,223,.6); margin: 0; }

.about-full-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .about-full-grid { grid-template-columns: 1fr; } }

/* ── PROCESS: interactive tile switcher (JS already wired in main.min.js
   via #page-seo .process-tile / #seoProcessDisplay / seoPd* ids) ── */
.process-wrap { display: grid; grid-template-columns: 320px 1fr; gap: clamp(1.5rem, 3vw, 3rem); }
.process-tiles { display: flex; flex-direction: column; gap: .6rem; }
.process-tile {
  display: flex; align-items: center; gap: 1rem; text-align: left;
  background: rgba(243,236,223,.03); border: 1px solid rgba(243,236,223,.1);
  border-radius: 10px; padding: 1rem 1.2rem; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  font-family: inherit; color: var(--cream);
}
.process-tile:hover { background: rgba(243,236,223,.06); }
/* Solid brand-color fill per step instead of a dark/translucent box —
   same rotation used for .value/.process-step elsewhere on the site.
   Written as direct nth-child+active rules (not a custom-property
   indirection) so specificity unambiguously beats the shared
   styles.min.css .process-tile.active gradient regardless of source order. */
.process-tile.active { color: var(--ink); }
.process-tile:nth-child(1).active { background: var(--orange); border-color: var(--orange); }
.process-tile:nth-child(2).active { background: var(--mag); border-color: var(--mag); }
.process-tile:nth-child(3).active { background: var(--teal); border-color: var(--teal); }
.process-tile:nth-child(4).active { background: var(--red); border-color: var(--red); }
.process-tile .tile-num { font-family: var(--mono); font-weight: 700; color: var(--accent); font-size: .95rem; flex-shrink: 0; }
.process-tile.active .tile-num { color: var(--ink); opacity: .7; }
.process-tile .tile-title { display: block; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: .95rem; letter-spacing: 0; }
.process-tile .tile-sub { display: block; font-size: .78rem; color: rgba(243,236,223,.5); margin-top: .2rem; }
.process-tile.active .tile-sub { color: rgba(12,10,8,.7); }

/* Right panel — solid-fills to match whichever tile is active */
.process-display { background: var(--orange); border: none; color: var(--ink); border-radius: 14px; padding: clamp(1.8rem, 3vw, 2.6rem); display: flex; flex-direction: column; justify-content: space-between; transition: background .3s ease; }
.process-wrap:has(.process-tile:nth-child(1).active) .process-display { background: var(--orange); }
.process-wrap:has(.process-tile:nth-child(2).active) .process-display { background: var(--mag); }
.process-wrap:has(.process-tile:nth-child(3).active) .process-display { background: var(--teal); }
.process-wrap:has(.process-tile:nth-child(4).active) .process-display { background: var(--red); }
.process-display h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.6rem; letter-spacing: 0; margin: .4rem 0 .8rem; font-weight: 900; color: var(--ink); }
.pd-kicker { font-family: var(--mono); text-transform: uppercase; font-size: .75rem; letter-spacing: .06em; color: var(--ink); opacity: .6; }
.process-display p { font-size: .92rem; line-height: 1.7; color: var(--ink); opacity: .8; }
.pd-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.pd-chips span { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; padding: .3rem .6rem; border: 1px solid rgba(12,10,8,.25); border-radius: 20px; color: var(--ink); background: rgba(12,10,8,.1); }
.pd-meta { display: flex; gap: 1.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.pd-meta-item { font-size: .8rem; color: var(--ink); opacity: .7; padding: .9rem 1rem; background: rgba(12,10,8,.1); border: 1px solid rgba(12,10,8,.2); border-radius: 7px; }
.pd-meta-item b { display: block; color: var(--ink); opacity: 1; font-family: var(--mono); font-size: .95rem; margin-top: .2rem; }
.pd-progress { height: 3px; background: rgba(12,10,8,.2); border-radius: 3px; margin-top: 1.5rem; overflow: hidden; }
.pd-progress-fill { height: 100%; background: var(--ink); transition: width .4s ease; }
@media (max-width: 820px) { .process-wrap { grid-template-columns: 1fr; } }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3rem); }
.pricing-col { border-top: 1px solid rgba(243,236,223,.15); padding-top: 1.6rem; }
.pricing-col h3 { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.1rem, 2vw, 1.4rem); letter-spacing: 0; color: var(--cream); margin: 0 0 1.2rem; font-weight: 900; }
.pricing-col ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; color: rgba(243,236,223,.62); line-height: 2; }
.pricing-col ul li { display: flex; gap: .8rem; }
@media (max-width: 700px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ── TESTIMONIAL ── */
.testi-featured-q { color: var(--cream) !important; }
.testi-avatar { background: var(--accent) !important; color: var(--ink) !important; }
.tcard-role { color: rgba(243,236,223,.55) !important; }

/* ── FOOTER manifesto CTA ── */
.footer-manifesto { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; padding-bottom: clamp(2.5rem, 6vw, 4rem); margin-bottom: clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid rgba(243,236,223,.1); }
.footer-manifesto h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.4rem); max-width: 16ch; margin: 0; }
.footer-col h4 { font-family: var(--mono) !important; text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; color: var(--accent); }
.footer-badges span { font-family: var(--mono); }
.quote-band { padding: clamp(3rem, 8vw, 5.5rem) 0; text-align: center; }
