﻿/* ==========================================================================
   Calgary Computer Doctor — version1 homepage
   Self-contained static design. Tokens derive from the Framer reference
   template's palette (navy + orange) already extracted into site/.
   ========================================================================== */

/* --- Fonts (local, latin subset) ----------------------------------------- */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/bevietnampro-700.woff2') format('woff2');
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/inter-700.woff2') format('woff2');
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  --accent: #f68b21;
  --accent-strong: #de7a10;
  --accent-soft: rgba(246, 139, 33, 0.12);
  --accent-2: #f8db76;

  --ink: #0d1230;
  --ink-2: #12183a;
  --ink-3: #1a2249;
  --ink-line: rgba(255, 255, 255, 0.12);

  --slate: #3d495f;
  --muted: #595e75;
  --muted-2: #80849a;

  --line: #e7e8eb;
  --line-2: #d4d5dc;
  --fill: #f3f3f5;
  --fill-2: #f8f8f9;
  --white: #fff;
  --ok: #2f9e63;

  --f-display: 'Be Vietnam Pro', ui-sans-serif, system-ui, sans-serif;
  --f-body: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-xs: 8px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 500px;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);

  --shadow-sm: 0 1px 2px rgba(13, 18, 48, 0.06), 0 2px 8px rgba(13, 18, 48, 0.05);
  --shadow-md: 0 8px 24px rgba(13, 18, 48, 0.08), 0 2px 6px rgba(13, 18, 48, 0.05);
  --shadow-lg: 0 30px 60px -20px rgba(13, 18, 48, 0.35), 0 12px 28px rgba(13, 18, 48, 0.12);
  --shadow-glow: 0 20px 60px -18px rgba(246, 139, 33, 0.55);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 5rem;
}

/* --- Reset --------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  font-family: var(--f-body);
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  line-height: 1.7;
  color: var(--muted);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
}
/* Text controls must not inherit colour: the contact form sits inside
   .section--dark, whose white text would land on a light field. */
input,
textarea {
  font: inherit;
  color: var(--ink);
  caret-color: var(--ink);
}
input::placeholder,
textarea::placeholder {
  color: var(--muted-2);
  opacity: 1;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 0.75rem;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
::selection {
  background: var(--accent);
  color: var(--ink);
}

/* --- Type ---------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 1.4rem + 4.6vw, 4.5rem);
  line-height: 1.06;
}
h2 {
  font-size: clamp(2.1rem, 1.3rem + 3.1vw, 3.4rem);
}
h3 {
  font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.875rem);
}
h4 {
  font-size: 1.1875rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
p {
  text-wrap: pretty;
}
strong {
  color: var(--ink);
  font-weight: 600;
}
a {
  color: var(--ink);
  text-decoration-color: var(--line-2);
  text-underline-offset: 0.2em;
  transition: color 0.18s var(--ease), text-decoration-color 0.18s var(--ease);
}
a:hover {
  color: var(--accent-strong);
  text-decoration-color: var(--accent);
}
svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.eyebrow {
  font-family: var(--f-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 1rem;
}
.section--dark .eyebrow,
.hero .eyebrow {
  color: var(--accent-2);
}
.lede {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.65;
  color: var(--muted);
}
.section--dark .lede {
  color: rgba(255, 255, 255, 0.72);
}
.grad {
  background: linear-gradient(100deg, var(--accent-2) 0%, var(--accent) 55%, #ff9f4a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Layout -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section-y);
  position: relative;
}
.section--tint {
  background: var(--fill-2);
  border-block: 1px solid var(--line);
}
.section--dark {
  background: var(--ink-2);
  color: rgba(255, 255, 255, 0.72);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}
.section--dark a {
  color: var(--white);
}
.section--dark a:hover {
  color: var(--accent-2);
}
.section__head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__head .lede {
  margin-top: 1.25rem;
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn svg {
  width: 1.1em;
  height: 1.1em;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 10px 24px -12px rgba(246, 139, 33, 0.9);
}
.btn--primary:hover {
  background: #ffa23f;
  color: var(--ink);
  box-shadow: 0 16px 30px -12px rgba(246, 139, 33, 0.95);
}
.btn--ghost {
  border-color: var(--line-2);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.section--dark .btn--ghost,
.hero .btn--ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}
.btn--lg {
  padding: 1.05rem 1.85rem;
  font-size: 1rem;
}

/* --- Reveal animation ----------------------------------------------------
   The hidden state is applied by script.js (html.reveal-active) only once the
   observer is actually running, so content can never be left invisible if
   scripting fails. A watchdog clears the state anyway. */
html.reveal-active [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
html.reveal-active [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  html.reveal-active [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --- Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 38, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.site-header.is-stuck {
  background: rgba(9, 12, 32, 0.96);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8);
}
.progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.6vw, 1.6rem);
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  text-decoration: none;
}
.brand:hover {
  color: inherit;
}
.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--accent), #ff9f4a);
  color: var(--ink);
  box-shadow: var(--shadow-glow);
}
.brand__mark svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke-width: 2.6;
}
.brand__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 16px;
  border: 1px solid rgba(246, 139, 33, 0.6);
  animation: pulse 3.2s var(--ease) infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.94);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}
.brand__text {
  display: flex;
  flex-direction: column;
}
.brand__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
  color: var(--white);
  line-height: 1.2;
}
.brand__sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.4vw, 1.35rem);
}
.site-nav a {
  display: inline-block;
  padding: 0.35rem 0.15rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0.15rem;
  right: 0.15rem;
  bottom: 0.05rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.25s var(--ease);
}
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
}
.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
}
.header-phone svg {
  color: var(--accent);
}
.header-cta {
  padding: 0.7rem 1.15rem;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  color: var(--white);
  cursor: pointer;
}
.nav-toggle svg {
  width: 1.35rem;
  height: 1.35rem;
}
.nav-toggle__close {
  display: none;
}
.site-header.nav-open .nav-toggle__open {
  display: none;
}
.site-header.nav-open .nav-toggle__close {
  display: block;
}
@media (max-width: 72rem) {
  .header-phone {
    display: none;
  }
}
@media (max-width: 60rem) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: grid;
    grid-template-rows: 0fr;
    background: #090d24;
    box-shadow: 0 30px 40px -24px rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: grid-template-rows 0.3s var(--ease);
  }
  .site-nav > ul {
    overflow: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-inline: var(--gutter);
  }
  .site-header.nav-open .site-nav {
    grid-template-rows: 1fr;
  }
  .site-nav a {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .site-nav li:last-child a {
    border-bottom: 0;
  }
  .site-nav a::after {
    display: none;
  }
  .site-nav.is-open {
    padding-block: 0.5rem 1rem;
  }
}
@media (max-width: 34rem) {
  .brand__sub {
    display: none;
  }
  .header-cta {
    padding: 0.65rem 0.95rem;
  }
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 15% 0%, #171f47 0%, var(--ink) 55%, #080b22 100%);
  color: rgba(255, 255, 255, 0.78);
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(90% 75% at 60% 10%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(90% 75% at 60% 10%, #000 0%, transparent 75%);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero__glow--a {
  width: 34rem;
  height: 34rem;
  right: -8rem;
  top: -10rem;
  background: radial-gradient(circle, rgba(246, 139, 33, 0.5), transparent 65%);
}
.hero__glow--b {
  width: 26rem;
  height: 26rem;
  left: -10rem;
  bottom: -8rem;
  background: radial-gradient(circle, rgba(90, 120, 255, 0.35), transparent 65%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.hero h1 {
  color: var(--white);
  max-width: 15ch;
}
.hero__lede {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.76);
}
.hero__lede strong {
  color: var(--accent-2);
  font-weight: 600;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.75rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}
.hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__points svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--accent);
  stroke-width: 2.4;
}

/* Hero device mock */
.hero__visual {
  position: relative;
  padding: 2rem;
}
.device {
  position: relative;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55));
}
.device__screen {
  position: relative;
  border-radius: 18px;
  padding: 0.9rem;
  background: linear-gradient(160deg, #131a3d 0%, #0a0e26 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.device__screen::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.09) 0%, transparent 42%);
  pointer-events: none;
}
.device__base {
  position: relative;
  height: 13px;
  margin: 0 -4.5%;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #2c3560, #101533);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.8);
}
.device__base::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 22%;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
  background: rgba(0, 0, 0, 0.45);
}
.diag {
  position: relative;
  z-index: 1;
  padding: 0.35rem 0.65rem 0.75rem;
}
.diag__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.diag__dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.diag__dot--a {
  background: #ff5f57;
}
.diag__dot--b {
  background: var(--accent-2);
}
.diag__dot--c {
  background: #4ad07d;
}
.diag__title {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.diag__row {
  display: grid;
  grid-template-columns: 6.4rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}
.diag__label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.62);
}
.meter {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  width: var(--v);
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: 0 50%;
  animation: fill 1.2s var(--ease) forwards;
  animation-delay: var(--d, 0.2s);
}
.diag__row:nth-child(2) i {
  --d: 0.25s;
}
.diag__row:nth-child(3) i {
  --d: 0.45s;
}
.diag__row:nth-child(4) i {
  --d: 0.65s;
}
.diag__row:nth-child(5) i {
  --d: 0.85s;
}
.diag__row:nth-child(6) i {
  --d: 1.05s;
}
@keyframes fill {
  to {
    transform: scaleX(1);
  }
}
.diag__val {
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.diag__val--ok {
  color: #6ee0a0;
}
.diag__val--warn {
  color: var(--accent-2);
}
.diag__foot {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.7rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}
.diag__foot svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--accent);
  stroke-width: 2.4;
}

/* Google review panel (replaces the system-check mock) */
.greviews {
  display: block;
  padding: 0.9rem 0.4rem 0.4rem;
  text-decoration: none;
  border-radius: 12px;
  transition: background 0.25s var(--ease);
}
.greviews:hover {
  background: rgba(255, 255, 255, 0.04);
}
.greviews__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.greviews__g {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
}
.greviews__score {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
}
.greviews__stars {
  position: relative;
  display: inline-block;
  margin: 0.65rem 0 0.5rem;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.22);
}
.greviews__stars i {
  position: absolute;
  inset: 0;
  width: 98%;
  overflow: hidden;
  white-space: nowrap;
  font-style: normal;
  color: #fbbc05;
}
.greviews__count {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}
.greviews__count b {
  color: #fff;
}
.greviews__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-2);
}
.greviews__cta svg {
  width: 1rem;
  height: 1rem;
}

.chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 15rem;
  padding: 0.7rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  font-size: 0.8125rem;
  line-height: 1.4;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.chip b {
  font-weight: 700;
}
.chip svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--accent-strong);
  stroke-width: 2.1;
}
.chip--1 {
  top: 0.5rem;
  left: -1.75rem;
}
.chip--2 {
  bottom: 0.5rem;
  left: -2.25rem;
  animation-delay: -2s;
}
.chip--3 {
  top: 50%;
  right: -3.5rem;
  animation-name: float-center;
  animation-delay: -4s;
}
@keyframes float-center {
  0%,
  100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(calc(-50% - 9px));
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* Hero stats */
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.stats__item dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.4rem;
}
.stats__item dd {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.stats__item b {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.1;
}
.stats__item span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.58);
}
@media (max-width: 66rem) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    max-width: 22ch;
  }
  .hero__visual {
    max-width: 34rem;
    padding: 2.5rem 2rem 3rem;
  }
  .rev {
    padding-right: 0.9rem;
  }
  .chip--3 {
    display: none;
  }
}
@media (max-width: 46rem) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .chip--1,
  .chip--3 {
    display: none;
  }
  .chip--2 {
    left: -0.5rem;
    bottom: -1rem;
  }
  .hero__visual {
    padding: 1.5rem 0.5rem 3rem;
  }
}

/* --- Goals --------------------------------------------------------------- */
.goals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.goal {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.goal:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 139, 33, 0.45);
  box-shadow: var(--shadow-md);
}
.goal__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.goal__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 2;
}
.goal h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.goal p {
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* --- Split (prose + aside) ----------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.split__main h3 {
  margin-bottom: 1rem;
}
.split__main p + p {
  margin-top: 1rem;
}
.split__aside {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--fill);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.split__aside h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.split__note {
  margin-top: 1.25rem;
  font-size: 0.875rem;
}

/* --- Checklist ----------------------------------------------------------- */
.ticks li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.ticks li + li {
  margin-top: 0.6rem;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--accent-soft);
}
.ticks li::after {
  content: '';
  position: absolute;
  left: 0.42rem;
  top: 0.66em;
  width: 0.32rem;
  height: 0.58rem;
  border-right: 2px solid var(--accent-strong);
  border-bottom: 2px solid var(--accent-strong);
  transform: rotate(40deg);
}
.ticks--tight li + li {
  margin-top: 0.35rem;
}
.section--dark .ticks li::before {
  background: rgba(246, 139, 33, 0.2);
}

/* --- Offer card ---------------------------------------------------------- */
.offer {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--ink-2) 0%, #10163a 60%, #151c45 100%);
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  overflow: hidden;
}
.offer::after {
  content: '';
  position: absolute;
  width: 24rem;
  height: 24rem;
  right: -8rem;
  top: -10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 139, 33, 0.28), transparent 65%);
  filter: blur(40px);
}
.offer__head {
  position: relative;
}
.offer__head h3 {
  color: var(--white);
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
}
.offer__head p {
  margin-top: 0.85rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.62);
}
.offer__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}
.offer__list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.offer__list li:hover {
  background: rgba(246, 139, 33, 0.14);
  border-color: rgba(246, 139, 33, 0.35);
}
.offer__list svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--accent);
}

/* --- Experience band ----------------------------------------------------- */
.exp {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding-block: clamp(2rem, 4vw, 3rem);
  border-block: 1px solid var(--ink-line);
}
.exp__label h3 {
  font-size: 1.375rem;
}
.exp__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.exp__list li {
  padding: 0.55rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}
.exp__list li:hover {
  border-color: var(--accent);
  background: rgba(246, 139, 33, 0.16);
  color: var(--white);
}

/* --- Quotes -------------------------------------------------------------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.quote {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.quote::before {
  content: '\201C';
  position: absolute;
  top: 0.35rem;
  right: 1.25rem;
  font-family: var(--f-display);
  font-size: 5rem;
  line-height: 1;
  color: rgba(246, 139, 33, 0.35);
}
.quote h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.75rem;
  max-width: 22ch;
}
.quote p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
}
.quote a {
  color: var(--accent-2);
}

/* --- Team ---------------------------------------------------------------- */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.member {
  display: flex;
  gap: 1.15rem;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.member:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.member h3 {
  font-size: 1.1875rem;
}
.member__role {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-top: 0.2rem;
}
.member__bio {
  margin-top: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}
@media (max-width: 62rem) {
  .goals,
  .team,
  .quotes {
    grid-template-columns: 1fr;
  }
  .split,
  .offer,
  .exp {
    grid-template-columns: 1fr;
  }
  .offer__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 40rem) {
  .offer__list {
    grid-template-columns: 1fr;
  }
}

/* --- Services tabs ------------------------------------------------------- */
.tabs__list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.4rem;
  border-radius: var(--r-pill);
  background: var(--fill);
  border: 1px solid var(--line);
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.tab svg {
  width: 1.1rem;
  height: 1.1rem;
}
.tab:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}
.tab.is-active {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.tab.is-active svg {
  color: var(--accent);
}
.tabs__panels {
  margin-top: clamp(2rem, 4vw, 3rem);
}
.panel[hidden] {
  display: none;
}
.panel.is-active {
  animation: panelIn 0.5s var(--ease) both;
}
@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
.panel__intro {
  max-width: 58rem;
}
.panel__intro h3 {
  margin-bottom: 1rem;
}
.panel__intro p + p {
  margin-top: 1rem;
}
.panel__block {
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.panel__block > h4 {
  margin-bottom: 0.85rem;
}
.panel__block p + p {
  margin-top: 1rem;
}
.mini-label {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.duo__item {
  padding: clamp(1.35rem, 3vw, 1.85rem);
  background: var(--fill-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.duo__icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--accent-strong);
}
.duo__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}
.duo__item h4 {
  margin-bottom: 0.5rem;
}
.duo__item p {
  font-size: 0.9375rem;
  line-height: 1.65;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.chips li {
  padding: 0.5rem 0.95rem;
  border-radius: var(--r-pill);
  background: var(--fill);
  border: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--slate);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}
.chips li:hover {
  border-color: rgba(246, 139, 33, 0.5);
  background: var(--white);
  color: var(--ink);
}
.chips--alert li {
  background: rgba(211, 47, 47, 0.07);
  border-color: rgba(211, 47, 47, 0.22);
  color: #a52a2a;
}
.chips--alert li:hover {
  border-color: rgba(211, 47, 47, 0.5);
  color: #8c1f1f;
}
.grid-2,
.grid-3 {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mini-card {
  padding: clamp(1.25rem, 2.5vw, 1.6rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.mini-card h4 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.mini-card h4 svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--accent-strong);
}
.mini-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
}
.callout {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--r-md);
  border: 1px solid rgba(246, 139, 33, 0.35);
  background: linear-gradient(120deg, rgba(246, 139, 33, 0.1), rgba(248, 219, 118, 0.08));
  color: var(--slate);
  font-size: 1rem;
}
.callout__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
}
.callout__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}
.callout strong {
  color: var(--ink);
}
@media (max-width: 60rem) {
  .tabs__list {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: var(--r-md);
  }
  .tabs__list::-webkit-scrollbar {
    display: none;
  }
  .duo,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* --- Client marquee ------------------------------------------------------ */
.marquee {
  position: relative;
  margin-block: clamp(2rem, 4vw, 3rem) clamp(2.5rem, 5vw, 3.5rem);
  padding-block: 1.5rem;
  border-block: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll 60s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  padding-inline: 1.75rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--slate);
  white-space: nowrap;
}
.marquee__track span::after {
  content: '';
  width: 5px;
  height: 5px;
  margin-left: 3.5rem;
  border-radius: 50%;
  background: var(--accent);
}
@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* --- Clients grid -------------------------------------------------------- */
.clients {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
  gap: clamp(0.85rem, 2vw, 1.25rem);
}
.client {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: clamp(1.25rem, 2.5vw, 1.6rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.client:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 139, 33, 0.5);
  box-shadow: var(--shadow-md);
}
.client h3 {
  font-size: 1.0625rem;
  color: var(--ink);
}
.client p {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
}
.client__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-strong);
}
.client__link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s var(--ease);
}
.client:hover .client__link svg {
  transform: translateX(3px);
}

/* --- Rates --------------------------------------------------------------- */
.rates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}
.rate-group {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.rates__col {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-content: start;
}
.rate-group__head {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: linear-gradient(150deg, var(--fill-2), var(--fill));
  border-bottom: 1px solid var(--line);
}
.rate-group__head h3 {
  font-size: 1.375rem;
}
.rate-group__head p {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.rate {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease);
}
.rate:last-child {
  border-bottom: 0;
}
.rate:hover {
  background: var(--fill-2);
}
.rate__price {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.15rem;
}
.rate__price b {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.rate__price span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.rate__body h4 {
  margin-bottom: 0.5rem;
}
.rate__body p {
  font-size: 0.9375rem;
  line-height: 1.65;
}
.rate__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.rate__more svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent-strong);
  transition: transform 0.2s var(--ease);
}
.rate__more:hover svg {
  transform: translateX(3px);
}
.rates__note {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding: clamp(1.25rem, 3vw, 1.6rem) clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--r-md);
  background: var(--accent-soft);
  border: 1px solid rgba(246, 139, 33, 0.3);
  font-size: 1rem;
  color: var(--slate);
}
@media (max-width: 62rem) {
  .rates {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 34rem) {
  .rate {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .rate__price {
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
  }
}

/* --- Contact ------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact__aside h2 {
  margin-bottom: 1.25rem;
}
.contact__list {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}
.contact__list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.contact__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: 14px;
  background: rgba(246, 139, 33, 0.16);
  border: 1px solid rgba(246, 139, 33, 0.3);
  color: var(--accent-2);
}
.contact__icon svg {
  width: 1.3rem;
  height: 1.3rem;
}
.contact__list li > span:last-child {
  display: flex;
  flex-direction: column;
}
.contact__list b {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.contact__list a,
.contact__list li > span:last-child > span {
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
}
.contact__list a:hover {
  color: var(--accent-2);
  text-decoration: underline;
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}
/* Clickable map preview: static image, opens Google Maps in a new tab. */
.map-card {
  position: relative;
  display: block;
  margin-top: 1.5rem;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.map-card__img {
  width: 100%;
  aspect-ratio: 1470 / 672;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}
.map-card:hover .map-card__img,
.map-card:focus-visible .map-card__img {
  transform: scale(1.02);
}
.map-card:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 3px;
}
.map-card__badge {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(13, 18, 48, 0.88);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  transition: background-color 0.2s var(--ease);
}
.map-card:hover .map-card__badge {
  background: var(--accent-strong);
}
.map-card__badge svg {
  width: 1rem;
  height: 1rem;
}
.map-card__credit {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}
@media (prefers-reduced-motion: reduce) {
  .map-card__img {
    transition: none;
  }
  .map-card:hover .map-card__img,
  .map-card:focus-visible .map-card__img {
    transform: none;
  }
}

/* --- Form ---------------------------------------------------------------- */
.form {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.form__title {
  font-size: 1.375rem;
}
.form__note {
  margin-top: 0.4rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}
.field + .field,
.field + .form__submit,
.form__submit + .form__success {
  margin-top: 1rem;
}
.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}
.field label span {
  color: var(--accent-strong);
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--fill-2);
  font-size: 0.9375rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease);
}
.field textarea {
  resize: vertical;
  min-height: 7rem;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(246, 139, 33, 0.16);
}
.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
  border-color: #c0392b;
  background: rgba(192, 57, 43, 0.04);
}
.field--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field--captcha input {
  max-width: 9rem;
}
.field__error {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #c0392b;
}
.form__submit {
  width: 100%;
}
.form__success {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-sm);
  background: rgba(47, 158, 99, 0.09);
  border: 1px solid rgba(47, 158, 99, 0.35);
  font-size: 0.9375rem;
  color: #1f6b43;
}
.form__success svg {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  color: var(--ok);
  stroke-width: 2.4;
}
.form__success[hidden] {
  display: none;
}

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  background: #080b22;
  color: rgba(255, 255, 255, 0.6);
  padding-block: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2rem);
  font-size: 0.9375rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(1.75rem, 4vw, 3rem);
}
.site-footer__brand .brand {
  margin-bottom: 1.15rem;
}
.site-footer__brand p {
  max-width: 30rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}
.site-footer h2 {
  font-family: var(--f-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}
.site-footer__links {
  display: grid;
  gap: 0.6rem;
}
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}
.site-footer__links a:hover {
  color: var(--accent-2);
}
.site-footer__links svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
}
.site-footer__legal {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}
.site-footer__legal p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
}
/* The fine print is a sentence, not a row of links. */
.site-footer__legal .site-footer__fine {
  display: block;
  gap: 0;
}
.site-footer__legal a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.875rem;
}
.site-footer__legal a:hover {
  color: var(--accent-2);
}
.site-footer__fine {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.42);
}
@media (max-width: 62rem) {
  .contact {
    grid-template-columns: 1fr;
  }
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 34rem) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* --- Fixes: dark-section surface overrides ------------------------------- */
.form h3,
.form h4,
.form strong,
.form label {
  color: var(--ink);
}
.form .form__note {
  color: var(--muted);
}
.form a {
  color: var(--accent-strong);
}
.form a:hover {
  color: var(--accent-strong);
}
.hero h1 .grad {
  display: block;
}
.brand__name,
.btn,
.header-cta {
  white-space: nowrap;
}
@media (max-width: 34rem) {
  .brand__mark {
    width: 2.4rem;
    height: 2.4rem;
  }
  .brand__name {
    font-size: 0.9375rem;
  }
  .header-cta {
    padding: 0.6rem 0.85rem;
    font-size: 0.875rem;
  }
}

/* --- Onsite billing card (balances the rates columns) -------------------- */
.billing {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--ink-2), #0f1738);
  color: rgba(255, 255, 255, 0.75);
}
.billing h3 {
  color: var(--white);
  font-size: 1.1875rem;
  margin-bottom: 1rem;
}
.billing .ticks li::before {
  background: rgba(246, 139, 33, 0.2);
}
.billing .ticks li {
  color: rgba(255, 255, 255, 0.82);
}
.billing__figure {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.billing__figure b {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent-2);
  line-height: 1;
}
.billing__figure span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Hero headline sizing (keep the accent line on one line) ------------- */
h1 {
  font-size: clamp(2.4rem, 1.3rem + 3.9vw, 3.9rem);
}
.hero h1 {
  max-width: 18ch;
}

/* ==========================================================================
   Mobile pass
   ========================================================================== */

/* Hero: copy → visual → trust points, so the "system check" artwork is not
   buried under a screen of text on a phone. */
.hero__inner {
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas:
    'copy visual'
    'points visual';
  align-items: start;
}
.hero__copy {
  grid-area: copy;
}
.hero__visual {
  grid-area: visual;
  align-self: start;
}
.hero__points {
  grid-area: points;
}

/* Persistent call bar — mobile only, appears after the hero. */
.callbar {
  display: none;
}

@media (max-width: 66rem) {
  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      'copy'
      'visual'
      'points';
  }
  .hero__points {
    margin-top: 0;
  }
}

@media (max-width: 60rem) {
  :root {
    --header-h: 4.25rem;
    --section-y: clamp(3.25rem, 8vw, 5rem);
  }

  .hero {
    padding-block: clamp(1.75rem, 6vw, 3rem) clamp(2rem, 5vw, 3rem);
  }
  .hero__lede {
    margin-top: 1.15rem;
  }
  .hero__actions {
    margin-top: 1.5rem;
    gap: 0.65rem;
  }
  .hero__visual {
    padding: 1.75rem 0.25rem 2.5rem;
  }
  .hero__points {
    margin-top: 1.5rem;
    flex-direction: column;
    gap: 0.6rem;
  }
  .stats {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  /* All six services visible — no hidden horizontal scroll. */
  .tabs__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
    width: 100%;
    overflow: visible;
    border-radius: var(--r-md);
  }
  .tab {
    justify-content: flex-start;
    padding: 0.7rem 0.8rem;
    font-size: 0.875rem;
    border-radius: var(--r-sm);
  }
  .tab span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }


  /* Sixteen stacked client cards is four screens of scrolling. */
  .client p,
  .client__link {
    display: none;
  }
  .client {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1.1rem;
    box-shadow: none;
  }
  .client h3 {
    font-size: 0.9375rem;
  }
  .client::after {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    flex: none;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    transform: rotate(45deg);
  }
  .clients {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .goal,
  .mini-card,
  .duo__item {
    padding: 1.15rem;
  }
  .offer {
    padding: 1.4rem 1.15rem;
  }
  .rate {
    padding: 1.15rem 1.1rem;
  }
  .form {
    padding: 1.35rem 1.15rem;
  }
  .callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    gap: 0.6rem;
    padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom, 0px));
    background: rgba(9, 13, 36, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(115%);
    transition: transform 0.3s var(--ease);
  }
  .callbar.is-visible {
    transform: none;
  }
  .callbar .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.85rem 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .callbar .btn--primary {
    flex-grow: 1.5;
  }
  .callbar .btn--ghost {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
  }
  .callbar .btn--ghost:hover {
    border-color: var(--accent-2);
    color: var(--accent-2);
  }
  body {
    padding-bottom: 5.25rem;
  }
  .site-footer {
    padding-bottom: 1.5rem;
  }
}

/* Leave the bottom-right corner free for the TNR widget bubble (mobile only —
   the bubble renders at <=640px). The bar stays full width; only the button
   is pushed left, clear of the bubble, and sized to fit the full
   "Call 403-607-8865" label without truncation. */
@media (max-width: 640px) {
  .callbar {
    padding-right: 160px;
  }
  .callbar .btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

/* Below ~416px one unmissable call button beats two cramped ones. */
@media (max-width: 26rem) {
  .callbar .btn--ghost {
    display: none;
  }
}

/* Very narrow phones (<=352px): the hero and sticky bar already offer a call
   action, so drop the header CTA and keep the brand readable. */
@media (max-width: 22rem) {
  .header-cta {
    display: none;
  }
}
@media (max-width: 19rem) {
  .brand__name {
    font-size: 0.8125rem;
  }
  .brand__mark {
    width: 2.1rem;
    height: 2.1rem;
  }
  .brand__mark svg {
    width: 1.15rem;
    height: 1.15rem;
  }
}

/* ==========================================================================
   Site logo
   The client's own badge (240x240 PNG with alpha, from
   compdr.ca/wp-content/uploads/2018/01/Computer-Doctor-Logo_filled.png).
   Desktop: fixed top-left, large over the hero like the original site, then
   shrinks into the header gutter on scroll so it never covers content.
   ========================================================================== */
.sitelogo {
  display: none;
}
.brand__mark {
  background: none;
  border-radius: 50%;
  box-shadow: none;
}
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand__pulse {
  border-radius: 50%;
  inset: -3px;
}

@media (min-width: 60.0625rem) {
  /* The badge only exists when script can also drive its handoff on scroll.
     Without JS the header wordmark (which is always in flow) is used instead,
     so nothing can ever end up covering the content column. */
  html.js .sitelogo {
    position: fixed;
    top: 0.75rem;
    left: var(--gutter);
    z-index: 120;
    display: block;
    width: clamp(104px, 10vw, 150px);
    height: auto;
    border-radius: 50%;
    filter: drop-shadow(0 18px 30px rgba(3, 6, 20, 0.5));
    transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
  }
  html.js .sitelogo:hover {
    transform: scale(1.03);
  }
  html.js .site-header .brand {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  /* On scroll the badge hands off to the header wordmark. Both live in the
     top-left corner and neither can overlap the content column: the badge is
     only shown while the hero's own padding keeps text clear of it, and the
     header reserves its own space. */
  html.js body.is-scrolled .sitelogo {
    opacity: 0;
    transform: translateY(-10px) scale(0.9);
    pointer-events: none;
  }
  html.js body.is-scrolled .site-header .brand {
    opacity: 1;
    visibility: visible;
  }
}

/* ==========================================================================
   Team photos (sourced from the original site's uploads)
   ========================================================================== */
.member {
  flex-direction: column;
  gap: 1.15rem;
}
.member__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--fill);
}
.member__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Lukas's card swaps to the original site's hover image. */
.member__photo-alt {
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.member--swap {
  cursor: default;
}
.member--swap:hover .member__photo-alt,
.member--swap:focus-visible .member__photo-alt,
.member--swap:focus-within .member__photo-alt {
  opacity: 1;
}


/* Hero: tertiary "services & rates" link kept low-key next to the two
   primary actions. */
.hero__more {
  margin-top: 1.15rem;
}
.hero__more a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent-2);
  text-decoration-color: rgba(248, 219, 118, 0.45);
}
.hero__more a:hover {
  color: var(--white);
}
.hero__more svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s var(--ease);
}
.hero__more a:hover svg {
  transform: translateX(3px);
}

/* Form: failure state */
.form__error {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-sm);
  background: rgba(192, 57, 43, 0.07);
  border: 1px solid rgba(192, 57, 43, 0.32);
  font-size: 0.9375rem;
  color: #8c2f26;
}
.form__error[hidden] {
  display: none;
}
.form__submit[disabled] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

/* Preview notice: informational, not an error the visitor caused. */
.form__error--info {
  background: rgba(246, 139, 33, 0.09);
  border-color: rgba(246, 139, 33, 0.4);
  color: var(--slate);
}
.form__error--info strong {
  color: var(--ink);
}
.form__error--info code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.875em;
  color: var(--ink);
  word-break: break-all;
}

/* These message paragraphs contain inline links; a flex container would turn
   each text run and link into its own column. Block layout, normal flow. */
.form__error,
.form__error--info,
.form__success {
  display: block;
}
.form__success {
  padding-left: 2.6rem;
  position: relative;
}
.form__success svg {
  position: absolute;
  left: 1.15rem;
  top: 1.15rem;
  width: 1.2rem;
  height: 1.2rem;
  color: var(--ok);
}
.form__success span {
  display: block;
}

/* Field text: explicit, so nothing in a dark section can wash it out. */
.form input,
.form textarea {
  color: var(--ink);
  caret-color: var(--ink);
}
.form input::placeholder,
.form textarea::placeholder {
  color: var(--muted-2);
  opacity: 1;
}
/* Autofill in Chrome paints its own background; keep text readable. */
.form input:-webkit-autofill,
.form input:-webkit-autofill:hover,
.form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--white) inset;
  caret-color: var(--ink);
}

/* ==========================================================================
   Blog (/blog/ and /blog/<slug>/)
   ========================================================================== */
.page-hero {
  position: relative;
  background: radial-gradient(120% 120% at 15% 0%, #171f47 0%, var(--ink) 55%, #080b22 100%);
  color: rgba(255, 255, 255, 0.76);
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2.25rem, 5vw, 3.5rem);
  overflow: hidden;
}
.page-hero .container {
  position: relative;
}
.page-hero .eyebrow {
  color: var(--accent-2);
}
.page-hero h1 {
  color: var(--white);
  max-width: 22ch;
}
.page-hero .lede {
  margin-top: 1.25rem;
  max-width: 46rem;
  color: rgba(255, 255, 255, 0.76);
}
.post-meta {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Index grid */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 139, 33, 0.45);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.post-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--fill);
}
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
}
.post-card__date {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.post-card__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.post-card__excerpt {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}
.post-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-strong);
}
.post-card__more svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 2;
  transition: transform 0.2s var(--ease);
}
.post-card:hover .post-card__more svg {
  transform: translateX(3px);
}

/* Article + sidebar */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21rem;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}
.article {
  min-width: 0;
}
.article__figure {
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
  background: var(--fill);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.article__figure img {
  width: 100%;
  height: auto;
}
.article__body {
  font-size: 1.0625rem;
}
.article__body > * + * {
  margin-top: 1.15rem;
}
.article__body p {
  line-height: 1.75;
}
.article__body a {
  color: var(--accent-strong);
  text-decoration-color: rgba(246, 139, 33, 0.4);
}
.article__body a:hover {
  color: var(--ink);
}
.article__body ul,
.article__body ol {
  padding-left: 1.3rem;
}
.article__body ul {
  list-style: disc;
}
.article__body ol {
  list-style: decimal;
}
.article__body li {
  line-height: 1.65;
}
.article__body li + li {
  margin-top: 0.5rem;
}
.article__cta {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
}
.post-nav a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 48%;
  font-weight: 600;
  text-decoration: none;
}
.post-nav a span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.post-nav a:hover span {
  color: var(--accent-strong);
}
.post-nav__next {
  margin-left: auto;
  text-align: right;
}

.blog-aside {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
}
.aside-card {
  padding: clamp(1.25rem, 2.5vw, 1.6rem);
  background: var(--fill-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.aside-card h2 {
  font-size: 1.0625rem;
  margin-bottom: 1rem;
}
.aside-list {
  display: grid;
  gap: 0.85rem;
}
.aside-list li {
  display: grid;
  gap: 0.15rem;
}
.aside-list a {
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.aside-list a:hover {
  color: var(--accent-strong);
}
.aside-list span {
  font-size: 0.8125rem;
  color: var(--muted-2);
}
.aside-card--cta {
  background: var(--ink-2);
  border-color: transparent;
  color: rgba(255, 255, 255, 0.75);
}
.aside-card--cta h2 {
  color: var(--white);
}
.aside-card--cta .btn {
  margin-top: 1.1rem;
}

@media (max-width: 60rem) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 40rem) {
  .post-grid {
    grid-template-columns: 1fr;
  }
  .post-nav {
    flex-direction: column;
  }
  .post-nav a {
    max-width: none;
  }
  .post-nav__next {
    margin-left: 0;
    text-align: left;
  }
}
