/* =========================================================
   WND Creative — interior page styles
   Montserrat Thin only · Liquid Glass · no numbered tiles
   Loads alongside styles.css (reuses :root vars + .glass-button)
   ========================================================= */

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Thin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-ExtraLight.woff2") format("woff2");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

:root {
  --gradient-ink: linear-gradient(90deg, #151a22 0%, #3e4b55 62%, #71808b 100%);
  --hairline: rgba(18, 24, 35, 0.12);
  --max: 1120px;

  /* thin type scale */
  --w-display: 100;   /* Thin — large headings */
  --w-lead: 200;      /* ExtraLight — leads / mid */
  --w-body: 300;      /* Light — body / UI */

  /* Uniform homepage pill width — sized so all 4 fit on one row inside the
     logo lockup, with even padding around the longest label ("305-697-9634"). */
  --button-width: clamp(148px, 12.5vw, 166px);

  /* Page tone: a slight off-white (no color washes). */
  --page: #f2f3f6;
}

/* ---- Thin everywhere. No bold / black title weights. ---- */
html, body {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: var(--w-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* =========================================================
   BASE: clean slight off-white — no color washes.
   ========================================================= */
/* Clean, solid slight off-white — keeps the logo perfectly blended. */
html, body { background: var(--page); }
.site-shell,
.hero { background: transparent !important; }

body {
  position: relative;
  isolation: isolate;
}
body.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: #1b1f26;
  background: transparent;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* =========================================================
   SMOKED GLASS BUTTONS — translucent slate material that reads as real
   frosted glass on any background (no content needed behind it). Slate tint
   ties the pills to the WND wordmark; light text; bright specular top rim +
   dark inner bottom rim (glass thickness). No click/line animation.
   ========================================================= */
.glass-button {
  position: relative;
  font-weight: var(--w-body) !important;
  letter-spacing: 0.14em;
  padding: 0 clamp(20px, 2.2vw, 30px);
  min-height: 48px;
  color: #171b22 !important;
  border: 0 !important;
  border-radius: 999px;
  background:
    linear-gradient(180deg,
      rgba(214, 219, 227, 0.62) 0%,
      rgba(184, 191, 204, 0.50) 55%,
      rgba(166, 174, 189, 0.54) 100%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(155%) brightness(1.03) !important;
  backdrop-filter: blur(16px) saturate(155%) brightness(1.03) !important;
  box-shadow:
    inset 0 1.5px 0.5px rgba(255, 255, 255, 0.95),     /* specular top rim */
    inset 0 -2px 3px rgba(58, 68, 88, 0.38),           /* glass thickness — dark bottom */
    inset 1.5px 0 1px rgba(255, 255, 255, 0.5),        /* light left rim */
    inset -1.5px 0 1px rgba(58, 68, 88, 0.16),         /* dark right rim */
    inset 0 0 0 1px rgba(255, 255, 255, 0.30),         /* faint full rim */
    0 8px 20px rgba(28, 38, 58, 0.20),                 /* float shadow */
    0 2px 6px rgba(28, 38, 58, 0.14) !important;
  transition: box-shadow 220ms ease, background 220ms ease !important;
}
/* bright top sheen */
.glass-button::before {
  content: "";
  position: absolute;
  inset: 1.5px 1.5px auto;
  height: 48%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  pointer-events: none;
}
/* soft refractive under-light on the bottom curve */
.glass-button::after {
  content: "";
  position: absolute;
  left: 9%; right: 9%; bottom: 1.5px;
  height: 30%;
  border-radius: inherit;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.glass-button:hover {
  background:
    linear-gradient(180deg,
      rgba(224, 229, 236, 0.70) 0%,
      rgba(194, 201, 213, 0.58) 55%,
      rgba(176, 184, 198, 0.60) 100%) !important;
  box-shadow:
    inset 0 1.5px 0.5px rgba(255, 255, 255, 1),
    inset 0 -2px 4px rgba(58, 68, 88, 0.42),
    inset 1.5px 0 1px rgba(255, 255, 255, 0.55),
    inset -1.5px 0 1px rgba(58, 68, 88, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.36),
    0 12px 26px rgba(28, 38, 58, 0.26),
    0 2px 6px rgba(28, 38, 58, 0.16) !important;
}
/* no click bounce, no focus/underline line */
.glass-button:focus-visible { outline: none !important; }
.main-nav a::after { display: none !important; }

/* Paired action buttons (hero + CTA) share a min width so they read as one set */
.hero-actions .glass-button,
.cta-inner .glass-button {
  min-width: clamp(160px, 16vw, 190px);
}
/* Homepage pill grid: all identical width, tighter tracking so the longest
   labels (phone number, "CONSULTING") keep even padding inside the same size. */
.contact-button,
.service-button {
  letter-spacing: 0.1em;
  padding: 0 18px;
}

/* Homepage buttons on mobile: stay 3-across and compact — no full-width
   "hotdog" bars. Equal flex widths keep them uniform. */
@media (max-width: 560px) {
  .contact-actions,
  .service-actions {
    flex-direction: row !important;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .contact-button,
  .service-button {
    width: auto !important;
    flex: 1 1 0;
    min-width: 0;
    min-height: 46px;
    padding: 0 8px;
    font-size: 0.6rem;
    letter-spacing: 0.02em;
  }
  /* Center stacked hero/CTA buttons on mobile (were left-aligned). */
  .hero-actions,
  .cta-inner .hero-actions {
    justify-content: center;
    align-items: center;
  }
  .hero-actions .glass-button { margin-inline: auto; }
}

/* Home logo: make the fallback a solid gradient block (not clipped text) so the
   vector cutout always reveals gradient/video in perfect alignment — never a
   second, mismatched "WND" that looks staggered when the font loads late. */
.wnd-fallback-text {
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  font-size: 0 !important;
  color: transparent !important;
}
/* The faint vertical seam on the logo's right is the VIDEO's edge peeking ~1px
   past the cover panel. Inset both the fallback div and the video so neither
   reaches the box edge. The video is a replaced element, so it must be sized
   with explicit calc() lengths — width:auto would snap it to its native size. */
.wnd-fallback-text { inset: 2px 6px !important; }
.wnd-video-fill {
  top: 2px !important;
  left: 6px !important;
  right: auto !important;
  bottom: auto !important;
  width: calc(100% - 12px) !important;
  height: calc(100% - 4px) !important;
}

/* =========================================================
   Liquid glass surface
   ========================================================= */
.glass {
  position: relative;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 -14px 30px rgba(255, 255, 255, 0.18),
    0 22px 50px rgba(18, 24, 35, 0.10);
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  overflow: hidden;
}
.glass::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 46%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent);
  pointer-events: none;
}

/* =========================================================
   Header — floating liquid glass bar
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: 14px;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 62px;
  padding-inline: clamp(16px, 3vw, 26px);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 14px 34px rgba(18, 24, 35, 0.10);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  max-width: calc(var(--max) - 8px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  line-height: 1;
}
.brand b {
  font-weight: 200;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  letter-spacing: 0.16em;
  color: #14171c;
}
.brand span {
  font-weight: 300;
  font-size: clamp(0.5rem, 1vw, 0.58rem);
  letter-spacing: 0.4em;
  color: #6a7079;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.main-nav a {
  position: relative;
  color: #1b1f26;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 0;
  transition: color 160ms ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: #000; }

.nav-login { padding: 9px 20px !important; min-height: 38px; }

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  width: 42px; height: 42px;
  cursor: pointer;
  align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 1.5px;
  background: #1b1f26;
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* =========================================================
   Hero
   ========================================================= */
.page-hero {
  padding: clamp(64px, 11vw, 130px) 0 clamp(36px, 6vw, 64px);
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #6a7079;
  margin: 0 0 20px;
}
.page-hero h1 {
  margin: 0;
  font-weight: var(--w-display);
  font-size: clamp(2.9rem, 8vw, 6rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  color: #14171c;
}
.page-hero .lede {
  margin: clamp(22px, 3vw, 32px) 0 0;
  max-width: 58ch;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 300;
  line-height: 1.6;
  color: #3a404a;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(30px, 4vw, 44px);
}

/* =========================================================
   Sections
   ========================================================= */
section.block { padding: clamp(52px, 8vw, 104px) 0; }
.section-head { max-width: 64ch; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head h2 {
  margin: 0;
  font-weight: var(--w-display);
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: #14171c;
}
.section-head p {
  margin: 18px 0 0;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  font-weight: 300;
  line-height: 1.65;
  color: #3a404a;
}

/* ---- Editorial service list (replaces numbered tiles) ---- */
.list { display: grid; }
.row {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) 1.4fr;
  gap: clamp(16px, 4vw, 64px);
  padding: clamp(26px, 3.4vw, 38px) 0;
  border-top: 1px solid var(--hairline);
  align-items: baseline;
}
.list .row:last-child { border-bottom: 1px solid var(--hairline); }
.row h3 {
  margin: 0;
  font-weight: 200;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  letter-spacing: 0.01em;
  color: #14171c;
}
.row p { margin: 0; font-weight: 300; font-size: 1.02rem; line-height: 1.65; color: #3a404a; max-width: 60ch; }

/* ---- Liquid glass panels (no numbers) ---- */
.panels {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  grid-template-columns: repeat(var(--cols, 3), 1fr);
}
.panel {
  position: relative;
  border-radius: 22px;
  padding: clamp(26px, 3vw, 36px);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 20px 46px rgba(18, 24, 35, 0.09);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 44%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
  pointer-events: none;
}
.panel:hover { transform: translateY(-5px); box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), 0 30px 64px rgba(18,24,35,0.14); }
.panel h3 {
  margin: 0 0 12px;
  font-weight: 200;
  font-size: 1.22rem;
  letter-spacing: 0.01em;
  color: #14171c;
}
.panel p { margin: 0; font-weight: 300; font-size: 0.98rem; line-height: 1.6; color: #3a404a; }
.panel .dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  margin-bottom: 18px;
  background: var(--gradient-ink);
  box-shadow: 0 6px 16px rgba(18, 24, 35, 0.24);
}

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 40px); }
.stat b {
  display: block;
  font-weight: var(--w-display);
  font-size: clamp(2.4rem, 5.5vw, 3.4rem);
  letter-spacing: 0.01em;
  color: #14171c;
}
.stat span { color: #6a7079; font-weight: 300; font-size: 0.9rem; line-height: 1.4; display: block; margin-top: 6px; }

/* ---- Portfolio (real work) ---- */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 26px); }
.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  padding: clamp(26px, 3vw, 36px);
  border-radius: 24px;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.14)),
    var(--gradient-ink);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 24px 54px rgba(18, 24, 35, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  isolation: isolate;
}
.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 12%, rgba(132, 189, 255, 0.5), transparent 46%),
    radial-gradient(circle at 88% 92%, rgba(174, 114, 255, 0.42), transparent 50%);
  transition: transform 500ms ease;
}
.work-card:hover::before { transform: scale(1.12) rotate(2deg); }
.work-card .cat {
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 300;
}
/* On cards with a corner badge, keep the category clear of it so the two
   don't overlap on narrow (mobile) cards — reserve the badge's width. */
.work-card:has(.badge) .cat { padding-right: 104px; }
.work-card .name {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 100;
  letter-spacing: 0.01em;
  color: #fff;
  margin: 10px 0 0;
}
.work-card .go {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 300;
}
.work-card .badge {
  position: absolute;
  top: 22px; right: 22px;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---- Process flow (thin, no heavy numbers) ---- */
.flow { display: grid; }
.flow-step {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: clamp(16px, 4vw, 56px);
  padding: clamp(22px, 3vw, 32px) 0;
  border-top: 1px solid var(--hairline);
  align-items: baseline;
}
.flow-step:last-child { border-bottom: 1px solid var(--hairline); }
.flow-step .label {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #6a7079;
  font-weight: 300;
}
.flow-step h3 { margin: 0 0 8px; font-weight: 200; font-size: 1.35rem; color: #14171c; }
.flow-step p { margin: 0; font-weight: 300; color: #3a404a; line-height: 1.65; max-width: 60ch; }

/* ---- CTA band ---- */
.cta-band { padding: clamp(64px, 9vw, 120px) 0; }
.cta-inner {
  position: relative;
  border-radius: 30px;
  padding: clamp(44px, 6vw, 80px);
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 30px 70px rgba(18, 24, 35, 0.12);
  backdrop-filter: blur(24px) saturate(1.7);
  -webkit-backdrop-filter: blur(24px) saturate(1.7);
}
.cta-inner h2 {
  margin: 0 auto;
  max-width: 22ch;
  font-weight: var(--w-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  color: #14171c;
}
.cta-inner p { margin: 20px auto 0; max-width: 52ch; font-weight: 300; color: #3a404a; font-size: 1.08rem; line-height: 1.6; }
.cta-inner .hero-actions { justify-content: center; }

/* ---- Pricing (glass, no numbers) ---- */
.price-card { display: flex; flex-direction: column; }
.price-card .price { font-size: 2rem; font-weight: 100; letter-spacing: 0.01em; color: #14171c; margin: 8px 0 4px; }
.price-card .price small { font-size: 0.85rem; font-weight: 300; color: #6a7079; }
.price-card.featured { border-color: rgba(255,255,255,0.85); box-shadow: inset 0 1px 1px rgba(255,255,255,0.95), 0 30px 66px rgba(18,24,35,0.18); }
.price-card p { margin: 0 0 22px; }
.tag {
  align-self: flex-start;
  font-size: 0.64rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #14171c;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.price-card .glass-button { margin-top: auto; width: 100%; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  color: #3a404a;
  padding: clamp(46px, 6vw, 72px) 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #6a7079;
  font-weight: 300;
}
.footer-col a, .footer-col p {
  display: block;
  color: #3a404a;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 2.1;
  margin: 0;
  transition: color 150ms ease;
}
.footer-col a:hover { color: #000; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(30px, 5vw, 48px);
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  font-size: 0.82rem;
  font-weight: 300;
  color: #6a7079;
}
.footer-bottom a { color: #6a7079; text-decoration: none; }
.footer-bottom a:hover { color: #000; }

/* =========================================================
   Legal pages
   ========================================================= */
.legal { padding: clamp(20px, 4vw, 40px) 0 clamp(56px, 8vw, 96px); }
.legal .doc { max-width: 760px; }
.legal h2 { margin: clamp(30px, 4vw, 44px) 0 12px; font-size: 1.4rem; font-weight: 200; color: #14171c; }
.legal h3 { margin: 24px 0 8px; font-size: 1.05rem; font-weight: 300; color: #14171c; }
.legal p, .legal li { color: #3a404a; font-weight: 300; line-height: 1.75; font-size: 1rem; }
.legal ul { padding-left: 20px; }
.legal .updated { color: #6a7079; font-weight: 300; font-size: 0.9rem; }
.legal .toc {
  border-radius: 18px;
  padding: 24px 28px;
  margin: 8px 0 24px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 18px 40px rgba(18, 24, 35, 0.08);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
}
.legal .toc a { color: #2a2f38; text-decoration: none; line-height: 2; font-size: 0.95rem; font-weight: 300; }
.legal .toc a:hover { text-decoration: underline; }
.legal .note {
  margin-top: 34px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
  font-weight: 300;
  color: #4a515b;
  line-height: 1.55;
}

/* =========================================================
   Login / Portal
   ========================================================= */
.auth-wrap { flex: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: calc(100svh - 90px); align-items: stretch; }
.auth-aside {
  position: relative;
  color: #fff;
  padding: clamp(40px, 6vw, 84px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-radius: 30px;
  margin: 18px 0 18px 18px;
  background: linear-gradient(150deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04)), var(--gradient-ink);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 30px 70px rgba(18,24,35,0.24);
}
.auth-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.16), transparent 50%),
    radial-gradient(circle at 88% 90%, rgba(255, 255, 255, 0.08), transparent 52%);
}
.auth-aside > * { position: relative; }
.auth-aside h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 100; line-height: 1.06; margin: 18px 0 16px; letter-spacing: 0.01em; }
.auth-aside p { color: rgba(255, 255, 255, 0.85); font-weight: 300; line-height: 1.6; max-width: 40ch; }
.auth-aside ul { list-style: none; padding: 0; margin: 28px 0 0; }
.auth-aside li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; color: rgba(255, 255, 255, 0.92); font-weight: 300; }
.auth-aside li svg { flex: 0 0 auto; margin-top: 3px; }

.auth-panel { display: flex; align-items: center; justify-content: center; padding: clamp(32px, 6vw, 64px); }
.auth-card { width: 100%; max-width: 400px; }
.auth-card h1 { font-size: 1.9rem; font-weight: 100; margin: 0 0 8px; letter-spacing: 0.01em; }
.auth-card .sub { color: #6a7079; font-weight: 300; margin: 0 0 28px; font-size: 0.95rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.72rem; font-weight: 300; letter-spacing: 0.16em; text-transform: uppercase; color: #6a7079; margin-bottom: 8px; }
.field input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  font-family: inherit;
  font-weight: 300;
  font-size: 1rem;
  color: #14171c;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field input:focus { outline: none; border-color: rgba(75, 123, 190, 0.6); box-shadow: 0 0 0 4px rgba(75, 123, 190, 0.14); }
.field-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; font-size: 0.88rem; font-weight: 300; }
.field-row label { display: flex; align-items: center; gap: 8px; color: #3a404a; }
.field-row a { color: #2a2f38; }
.auth-card .glass-button { width: 100%; min-height: 50px; }
.auth-alt { margin-top: 22px; text-align: center; font-size: 0.9rem; font-weight: 300; color: #6a7079; }
.auth-note {
  margin-top: 26px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 300;
  color: #4a515b;
  line-height: 1.55;
}
.auth-status { margin: 14px 2px 0; font-size: 0.9rem; font-weight: 300; min-height: 1.15em; line-height: 1.4; }
.auth-status.err { color: #b3261e; }
.auth-status.ok { color: #2a7d4f; }

/* ---- Client portal / dashboard ---- */
.portal { flex: 1; padding: clamp(30px, 5vw, 56px) 0 clamp(48px, 7vw, 88px); }
.portal-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(26px, 4vw, 40px); }
.portal-head h1 { margin: 0; font-weight: 100; font-size: clamp(1.9rem, 4.4vw, 2.8rem); letter-spacing: 0.01em; color: #14171c; }
.portal-head p { margin: 8px 0 0; color: #6a7079; font-weight: 300; font-size: 0.98rem; }
.portal .section-label { font-size: 0.72rem; font-weight: 300; letter-spacing: 0.28em; text-transform: uppercase; color: #6a7079; margin: 0 0 16px; }
.invoice-list { display: grid; gap: clamp(12px, 1.6vw, 16px); }
.invoice {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 20px;
  align-items: center;
  padding: clamp(18px, 2.4vw, 24px) clamp(20px, 2.6vw, 28px);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255,255,255,0.62), rgba(255,255,255,0.24));
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), 0 14px 34px rgba(18,24,35,0.08);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
}
.invoice .meta { min-width: 0; }
.invoice .num { font-weight: 300; font-size: 1.02rem; color: #14171c; letter-spacing: 0.01em; }
.invoice .desc { color: #5a616b; font-weight: 300; font-size: 0.9rem; margin-top: 3px; }
.invoice .amt { font-weight: 200; font-size: 1.5rem; color: #14171c; letter-spacing: 0.01em; white-space: nowrap; }
.invoice .row2 { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 4px; }
.invoice .due { color: #6a7079; font-weight: 300; font-size: 0.85rem; }
.invoice .actions { margin-left: auto; display: flex; gap: 10px; }
.invoice .actions .glass-button { min-height: 40px; padding: 0 18px; font-size: 0.72rem; }
.status-pill { font-size: 0.64rem; font-weight: 300; letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.status-pill.due { color: #8a5a00; background: rgba(255, 196, 92, 0.22); border: 1px solid rgba(200, 150, 40, 0.35); }
.status-pill.paid { color: #2a7d4f; background: rgba(70, 200, 130, 0.16); border: 1px solid rgba(50, 160, 100, 0.3); }
.portal-empty { padding: clamp(28px, 4vw, 40px); border-radius: 18px; border: 1px dashed rgba(18,24,35,0.2); color: #6a7079; font-weight: 300; text-align: center; }
@media (max-width: 560px) {
  .invoice { grid-template-columns: 1fr; }
  .invoice .amt { font-size: 1.3rem; }
  .invoice .actions { margin-left: 0; }
}

/* =========================================================
   Search overlay
   ========================================================= */
.search-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  display: none; align-items: flex-start; justify-content: center;
  padding: clamp(60px, 14vh, 160px) 20px;
}
.search-overlay.open { display: flex; }
.search-box { width: 100%; max-width: 620px; }
.search-box input {
  width: 100%;
  padding: 20px 22px;
  font-size: 1.3rem;
  font-family: inherit;
  font-weight: 300;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), 0 22px 50px rgba(18, 24, 35, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.search-box input:focus { outline: none; border-color: rgba(75, 123, 190, 0.6); }
.search-results {
  margin-top: 14px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 22px 50px rgba(18, 24, 35, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.search-results a { display: block; padding: 14px 20px; text-decoration: none; color: #14171c; font-weight: 300; border-bottom: 1px solid var(--hairline); }
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover { background: rgba(255, 255, 255, 0.7); }
.search-results a small { display: block; color: #6a7079; font-size: 0.82rem; margin-top: 2px; }
.search-results a[hidden] { display: none; }
.search-hint { text-align: center; color: #6a7079; font-weight: 300; font-size: 0.82rem; margin-top: 14px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .panels { grid-template-columns: repeat(2, 1fr); } /* beats inline --cols:4 */
  .work, .stats { grid-template-columns: repeat(2, 1fr); }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 640px) {
  .main-nav {
    position: fixed;
    inset: 84px 12px auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(22px) saturate(1.5);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 24px 54px rgba(18, 24, 35, 0.16);
    padding: 8px 20px 18px;
    transform: translateY(-160%);
    transition: transform 280ms ease;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 15px 0; border-bottom: 1px solid var(--hairline); }
  .main-nav a::after { display: none; }
  .nav-login { text-align: center; margin-top: 12px; }
  .nav-toggle { display: inline-flex; }
  .panels { grid-template-columns: 1fr; } /* beats inline --cols:4 */
  .work, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .flow-step { grid-template-columns: 1fr; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* =========================================================
   Accessibility — reduced transparency: drop the blur, go opaque.
   ========================================================= */
@media (prefers-reduced-transparency: reduce) {
  .glass-button,
  .panel,
  .glass,
  .cta-inner,
  .price-card,
  .legal .toc,
  .legal .note,
  .site-header .wrap,
  .site-footer,
  .field input,
  .main-nav {
    background: rgba(245, 245, 247, 1) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.14) !important;
    border-color: rgba(18, 24, 35, 0.14) !important;
  }
  .glass-button::before { display: none; }
  body::before { opacity: 0.22; }
  body.page::after { background: #f4f6fb; }
}

/* =========================================================
   Home logo — original video cutout. Panel painted in var(--page) so it blends
   into the solid off-white page (no rectangle). Video/gradient shows through
   the letter holes.
   ========================================================= */
.wnd-logo-cutout > rect { fill: var(--page); }

/* =========================================================
   Intake / project form (start.html)
   ========================================================= */
.intake { flex: 1; padding: clamp(28px, 5vw, 52px) 0 clamp(56px, 8vw, 96px); }
.intake .wrap { max-width: 860px; }
.intake .lead { max-width: 60ch; color: #3a404a; font-weight: 300; font-size: clamp(1rem,1.6vw,1.14rem); line-height: 1.6; margin: 14px 0 0; }
.form-section {
  margin-top: clamp(20px, 3vw, 30px);
  padding: clamp(22px, 3vw, 32px);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(255,255,255,0.6), rgba(255,255,255,0.22));
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), 0 16px 40px rgba(18,24,35,0.07);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
}
.fs-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 6px; }
.fs-head .n { font-size: 0.72rem; font-weight: 300; letter-spacing: 0.24em; color: #9aa2ad; }
.fs-head h2 { margin: 0; font-weight: 200; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: #14171c; letter-spacing: 0.01em; }
.fs-sub { margin: 0 0 18px; color: #6a7079; font-weight: 300; font-size: 0.9rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.intake .field { margin-bottom: 16px; }
.intake .field.full { grid-column: 1 / -1; }
.intake label.lbl { display: block; font-size: 0.74rem; font-weight: 300; letter-spacing: 0.1em; text-transform: uppercase; color: #6a7079; margin-bottom: 7px; }
.intake label.lbl .req { color: #b3261e; margin-left: 3px; }
.intake input[type=text], .intake input[type=email], .intake input[type=tel], .intake input[type=url],
.intake select, .intake textarea {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(18,24,35,0.16); border-radius: 12px;
  font-family: inherit; font-weight: 300; font-size: 0.98rem; color: #14171c;
  background: rgba(255,255,255,0.7); transition: border-color 160ms ease, box-shadow 160ms ease;
}
.intake textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.intake select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg,transparent 50%,#6a7079 50%),linear-gradient(135deg,#6a7079 50%,transparent 50%); background-position: calc(100% - 20px) center, calc(100% - 15px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.intake input:focus, .intake select:focus, .intake textarea:focus { outline: none; border-color: rgba(62,75,85,0.6); box-shadow: 0 0 0 4px rgba(75,123,190,0.12); }
/* option grids (checkbox / radio) */
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.opt-grid.tight { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.opt { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid rgba(18,24,35,0.14); border-radius: 11px; background: rgba(255,255,255,0.5); cursor: pointer; font-weight: 300; font-size: 0.92rem; color: #2a2f38; transition: border-color 140ms ease, background 140ms ease; }
.opt:hover { border-color: rgba(62,75,85,0.45); background: rgba(255,255,255,0.75); }
.opt input { accent-color: #2a3442; width: 16px; height: 16px; flex: 0 0 auto; }
.opt:has(input:checked) { border-color: rgba(42,52,66,0.7); background: rgba(232,236,242,0.8); }
.yn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 18px; }
.yn { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(18,24,35,0.08); }
.yn > span { font-weight: 300; color: #2a2f38; font-size: 0.94rem; }
.yn .pair { display: flex; gap: 8px; flex: 0 0 auto; }
.yn .pair label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 300; color: #4a515b; }
.form-submit { margin-top: clamp(22px, 3vw, 32px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-submit .glass-button { min-height: 52px; padding: 0 34px; }
.form-msg { font-weight: 300; font-size: 0.95rem; }
.form-msg.err { color: #b3261e; }
.form-msg.ok { color: #2a7d4f; }
.form-hidden { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.intake-done { text-align: center; padding: clamp(40px,7vw,90px) 0; }
.intake-done h2 { font-weight: 100; font-size: clamp(2rem,5vw,3rem); color: #14171c; margin: 0 0 12px; }
.intake-done p { color: #3a404a; font-weight: 300; max-width: 48ch; margin: 0 auto; line-height: 1.6; }
@media (max-width: 620px) { .grid-2 { grid-template-columns: 1fr; } }

/* =========================================================
   Portal v2 — approvals, uploads, profile
   ========================================================= */
.status-pill.pending { color: #4a5568; background: rgba(120, 134, 156, 0.14); border: 1px solid rgba(90, 104, 128, 0.28); }
.btn-sm { min-height: 40px !important; padding: 0 18px !important; font-size: 0.72rem !important; }

.approval-list { display: grid; gap: clamp(12px, 1.6vw, 16px); }
.approval {
  padding: clamp(18px, 2.4vw, 24px) clamp(20px, 2.6vw, 28px);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255,255,255,0.62), rgba(255,255,255,0.24));
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), 0 14px 34px rgba(18,24,35,0.08);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
}
.approval .ap-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.approval .num { font-weight: 300; font-size: 1.05rem; color: #14171c; }
.approval .desc { color: #5a616b; font-weight: 300; font-size: 0.9rem; margin-top: 4px; max-width: 60ch; }
.approval .ap-row { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.ap-notes {
  width: 100%; margin-top: 14px; padding: 12px 14px; min-height: 70px; resize: vertical;
  border: 1px solid rgba(18,24,35,0.16); border-radius: 12px;
  font-family: inherit; font-weight: 300; font-size: 0.95rem; color: #14171c;
  background: rgba(255,255,255,0.7);
}
.ap-notes:focus { outline: none; border-color: rgba(62,75,85,0.6); box-shadow: 0 0 0 4px rgba(75,123,190,0.12); }
.ap-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.ap-done-notes { margin: 12px 0 0; color: #5a616b; font-weight: 300; font-size: 0.9rem; font-style: italic; }

.upload-box {
  padding: clamp(20px, 2.6vw, 28px);
  border-radius: 18px;
  border: 1px dashed rgba(18,24,35,0.24);
  background: rgba(255,255,255,0.4);
}
.upload-box .up-title { margin: 0 0 4px; font-weight: 300; font-size: 1.05rem; color: #14171c; }
.upload-box .up-sub { margin: 0 0 16px; color: #6a7079; font-weight: 300; font-size: 0.88rem; max-width: 62ch; line-height: 1.5; }
.up-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.up-name { color: #5a616b; font-weight: 300; font-size: 0.9rem; }
.file-list { margin-top: 12px; display: grid; gap: 8px; }
.file-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 10px 16px; border-radius: 12px;
  background: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.7);
}
.file-row .fname { font-weight: 300; color: #14171c; font-size: 0.94rem; word-break: break-all; }
.file-row .fmeta { color: #8a919c; font-weight: 300; font-size: 0.8rem; white-space: nowrap; }

.profile-box {
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255,255,255,0.62), rgba(255,255,255,0.24));
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), 0 14px 34px rgba(18,24,35,0.08);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
}
.profile-box .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.profile-box .field { margin-bottom: 12px; }
.profile-box .lbl { display: block; font-size: 0.72rem; font-weight: 300; letter-spacing: 0.1em; text-transform: uppercase; color: #6a7079; margin-bottom: 6px; }
.profile-box input, .profile-box textarea {
  width: 100%; padding: 11px 13px; border: 1px solid rgba(18,24,35,0.16); border-radius: 11px;
  font-family: inherit; font-weight: 300; font-size: 0.95rem; color: #14171c;
  background: rgba(255,255,255,0.7);
}
.profile-box input:focus, .profile-box textarea:focus { outline: none; border-color: rgba(62,75,85,0.6); box-shadow: 0 0 0 4px rgba(75,123,190,0.12); }
.contact-row { display: grid; grid-template-columns: 1fr 1fr 1.2fr 1fr 36px; gap: 8px; margin-bottom: 8px; align-items: center; }
.contact-row .c-del {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(18,24,35,0.18);
  background: rgba(255,255,255,0.6); color: #6a7079; font-size: 1rem; cursor: pointer;
}
.contact-row .c-del:hover { color: #b3261e; border-color: rgba(179,38,30,0.4); }
@media (max-width: 720px) {
  .profile-box .grid-2 { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr 1fr; }
  .contact-row .c-email { grid-column: 1 / 2; }
  .contact-row .c-del { justify-self: end; }
}

/* =========================================================
   Admin dashboard
   ========================================================= */
.admin-form-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.admin-form-row input { flex: 1 1 220px; }
.admin-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.admin-form-row input, .admin-form-grid input {
  padding: 11px 13px; border: 1px solid rgba(18,24,35,0.16); border-radius: 11px;
  font-family: inherit; font-weight: 300; font-size: 0.95rem; color: #14171c;
  background: rgba(255,255,255,0.7);
}
.admin-form-row input:focus, .admin-form-grid input:focus {
  outline: none; border-color: rgba(62,75,85,0.6); box-shadow: 0 0 0 4px rgba(75,123,190,0.12);
}
.admin-list { margin-top: 14px; display: grid; gap: 10px; }
.admin-list .fname a { color: #14171c; }

/* =========================================================
   Admin — client cards, client detail, prompt
   ========================================================= */
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(12px, 1.6vw, 18px); }
.client-card {
  position: relative; display: block; text-decoration: none;
  padding: clamp(18px, 2.2vw, 24px);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255,255,255,0.62), rgba(255,255,255,0.24));
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), 0 14px 34px rgba(18,24,35,0.08);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.client-card:hover { transform: translateY(-3px); box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), 0 22px 46px rgba(18,24,35,0.14); }
.cc-name { font-weight: 300; font-size: 1.2rem; color: #14171c; letter-spacing: 0.01em; }
.cc-email { color: #8a919c; font-weight: 300; font-size: 0.86rem; margin-top: 3px; word-break: break-all; }
.cc-status { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.cc-open { position: absolute; top: clamp(18px,2.2vw,24px); right: clamp(18px,2.2vw,24px); color: #6a7079; font-weight: 300; font-size: 0.82rem; }

.profile-prompt {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: clamp(20px,3vw,28px); padding: 16px 20px; border-radius: 16px;
  background: linear-gradient(150deg, rgba(120,170,255,0.16), rgba(174,140,255,0.12));
  border: 1px solid rgba(120,150,220,0.28);
  color: #2a3442; font-weight: 300; font-size: 0.96rem;
}

.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 24px; }
.kv { display: flex; flex-direction: column; gap: 2px; }
.kv span { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: #8a919c; font-weight: 300; }
.kv b { font-weight: 300; color: #14171c; font-size: 0.98rem; word-break: break-word; }
.kv b a { color: #2a3442; }
.pf-about { margin: 16px 0 0; color: #3a404a; font-weight: 300; line-height: 1.6; }
.contacts-view { margin-top: 18px; border-top: 1px solid var(--hairline); padding-top: 14px; }
.cv-head { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: #8a919c; font-weight: 300; margin-bottom: 8px; }
.cv-row { padding: 6px 0; color: #14171c; font-weight: 300; font-size: 0.95rem; }
.cv-row b { font-weight: 300; }
.cv-row .fmeta { display: block; color: #8a919c; font-size: 0.82rem; margin-top: 1px; }

/* Front page: pin the standard footer to the bottom, hero fills the rest */
body:not(.page) { min-height: 100svh; display: flex; flex-direction: column; }
body:not(.page) .site-shell { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
body:not(.page) .hero { flex: 1 1 auto; min-height: 0; }
.home-footer { padding-top: clamp(18px, 3vw, 26px); padding-bottom: clamp(18px, 3vw, 26px); }
