/*
 * WebsiteDelivered — Apple HIG-inspired design system
 * Shared across homepage, services, about, contact, etc.
 */
/* ─────────────────────────────────────────────────────────
   Apple HIG-inspired design system (shared with /simple-site/)
   ───────────────────────────────────────────────────────── */
.hig {
  background: #fbfbfd; color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-weight: 400; line-height: 1.47; letter-spacing: -0.022em;
}
.hig h1, .hig h2, .hig h3, .hig .display {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.05;
  color: #1d1d1f; margin: 0;
}
.hig .display-xl { font-size: clamp(48px, 7vw, 96px); }
.hig .display-lg { font-size: clamp(40px, 5.5vw, 72px); }
.hig .display-md { font-size: clamp(32px, 4vw, 56px); }
.hig .display-sm { font-size: clamp(24px, 2.6vw, 36px); }
.hig .lede {
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.4; color: #1d1d1f; font-weight: 400;
  letter-spacing: -0.016em;
}
.hig .muted { color: #6e6e73; }

/* Sections */
.hig-section { padding: 140px 24px; }
.hig-section.compact { padding: 96px 24px; }
.hig-section .container { max-width: 1120px; margin: 0 auto; }
.hig-light { background: #fbfbfd; color: #1d1d1f; }
.hig-dark  { background: #000; color: #f5f5f7; }
.hig-soft  { background: #f5f5f7; color: #1d1d1f; }
.hig-dark h1, .hig-dark h2, .hig-dark h3 { color: #f5f5f7; }
.hig-dark .lede, .hig-dark p { color: #a1a1a6; }

/* Buttons */
.hig-btn {
  display: inline-flex; align-items: center; gap: 4px;
  background: #0071e3; color: #fff;
  font-size: 17px; font-weight: 400; letter-spacing: -0.01em;
  padding: 12px 22px; border-radius: 980px;
  text-decoration: none; transition: background .15s;
}
.hig-btn:hover { background: #0077ed; }
.hig-btn.dark { background: #fff; color: #000; }
.hig-btn.dark:hover { background: #f5f5f7; }
.hig-btn.ghost { background: transparent; color: #0071e3; padding: 12px 18px; }
.hig-btn.ghost:hover { background: rgba(0,113,227,.08); }
.hig-dark .hig-btn.ghost { color: #2997ff; }
.hig-link {
  display: inline-flex; align-items: center; gap: 3px;
  color: #0071e3; text-decoration: none; font-size: 17px;
  font-weight: 400; transition: color .12s;
}
.hig-link:hover { color: #0077ed; }
.hig-link::after { content: "›"; font-size: 19px; margin-left: 2px; }
.hig-dark .hig-link { color: #2997ff; }
.hig-cta-row { display: inline-flex; gap: 4px; flex-wrap: wrap; }

/* ═══ HERO ═══ */
.hig-hero { text-align: center; padding: 100px 24px 0; }
.hig-hero h1 { max-width: 14ch; margin: 0 auto 20px; }
.hig-hero h1 .accent {
  background: linear-gradient(120deg, #0071e3 0%, #5e5ce6 50%, #ac1cfe 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hig-hero .lede { max-width: 44ch; margin: 0 auto 28px; }
.hig-hero .hig-cta-row { margin-bottom: 80px; }
.hig-hero-feature {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══ CINEMATIC FEATURE CARD ═══ */
.hig-hero-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 21 / 10;
  min-height: 540px;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 32px 80px -24px rgba(0,0,0,.40), 0 0 0 1px rgba(0,0,0,.05);
  isolation: isolate;
}
.hig-hero-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: higKenBurns 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes higKenBurns {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, -1%); }
}
.hig-hero-frame::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 80% 0%, rgba(0,113,227,.30) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.20) 0%, rgba(0,0,0,.10) 40%, rgba(0,0,0,.85) 100%);
  pointer-events: none;
}

.hig-hero-frame .overlay {
  position: absolute;
  inset: 0;
  padding: clamp(28px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  z-index: 1;
}

/* Overlay top row — meta pill + huge stat */
.hig-hero-frame .overlay-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}
.hig-hero-frame .meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 8px 16px;
  white-space: nowrap;
}
.hig-hero-frame .meta .live-dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34c759;
  flex-shrink: 0;
}
.hig-hero-frame .meta .live-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: #34c759;
  opacity: .35;
  animation: higpulse 1.8s ease-out infinite;
}
.hig-hero-frame .badge-corner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1;
}
.hig-hero-frame .badge-corner .stat-num {
  font-family: "SF Pro Display", -apple-system, sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin: 0;
}
.hig-hero-frame .badge-corner .stat-label {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}

/* Overlay bottom block — tag, headline, desc, CTAs */
.hig-hero-frame .overlay-bottom {
  max-width: 600px;
}
.hig-hero-frame .tag {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  margin: 0 0 16px;
}
.hig-hero-frame h3 {
  font-family: "SF Pro Display", -apple-system, sans-serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  margin: 0 0 14px;
}
.hig-hero-frame .case-desc {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.014em;
  color: rgba(255,255,255,.82);
  margin: 0 0 28px;
  max-width: 38ch;
}
.hig-hero-frame .case-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hig-hero-frame .case-btn-primary,
.hig-hero-frame .case-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 12px 22px;
  border-radius: 980px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, transform .15s;
}
.hig-hero-frame .case-btn-primary {
  background: #fff;
  color: #000;
}
.hig-hero-frame .case-btn-ghost {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
}
.hig-hero-frame:hover .case-btn-primary { background: #f5f5f7; }
.hig-hero-frame .case-btn-primary::after,
.hig-hero-frame .case-btn-ghost::after {
  content: "›";
  font-size: 19px;
  margin-left: 1px;
  line-height: 1;
}

@media (max-width: 720px) {
  .hig-hero-frame {
    aspect-ratio: auto;
    min-height: 520px;
  }
  .hig-hero-frame .overlay {
    padding: 28px;
    gap: 20px;
  }
  .hig-hero-frame .overlay-top { gap: 12px; }
  .hig-hero-frame .badge-corner .stat-num { font-size: 36px; }
  .hig-hero-frame .meta {
    font-size: 11px;
    padding: 6px 12px;
    letter-spacing: .08em;
  }
  .hig-hero-frame .case-desc { margin-bottom: 20px; }
}

/* Thumbnail strip below the feature card */
.hig-hero-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 0 24px;
}
.hig-hero-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  box-shadow: 0 12px 24px -10px rgba(0,0,0,.18);
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
.hig-hero-thumb:hover { transform: translateY(-3px); }
.hig-hero-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}
.hig-hero-thumb:hover img { transform: scale(1.06); }
.hig-hero-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.70) 100%);
}
.hig-hero-thumb .label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: #fff;
  z-index: 1;
}
.hig-hero-thumb .label .cat {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(255,255,255,.78);
  margin-bottom: 4px;
}
.hig-hero-thumb .label .name {
  display: block;
  font-family: "SF Pro Display", -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
@media (max-width: 720px) {
  .hig-hero-thumbs {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ═══ FEATURED OFFER (the $99 special teaser) ═══ */
.hig-offer { position: relative; text-align: center; overflow: hidden; }
.hig-offer .eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: #2997ff; text-transform: uppercase; margin-bottom: 24px;
}
.hig-offer .eyebrow::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%; background: #2997ff;
}
.hig-offer h2 { max-width: 22ch; margin: 0 auto 24px; }
.hig-offer h2 .price {
  background: linear-gradient(120deg, #2997ff 0%, #5e5ce6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hig-offer .lede { max-width: 42ch; margin: 0 auto 36px; }
.hig-offer .pills {
  display: inline-flex; flex-wrap: wrap; gap: 6px; justify-content: center;
  margin-bottom: 36px;
}
.hig-offer .pill {
  font-size: 13px; padding: 6px 14px; border-radius: 999px;
  background: rgba(245,245,247,.10); color: #a1a1a6;
  border: 1px solid rgba(245,245,247,.10);
}

/* ═══ SERVICES ═══ */
.hig-svc-head { text-align: center; max-width: 720px; margin: 0 auto 96px; }
.hig-svc-head h2 { margin: 0 0 20px; }
.hig-svc-head .lede { color: #6e6e73; }

.hig-svc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}
.hig-svc {
  position: relative; padding: 48px 36px;
  background: #f5f5f7; border-radius: 22px;
  text-decoration: none; color: #1d1d1f;
  overflow: hidden; isolation: isolate;
  transition: transform .25s cubic-bezier(.22,1,.36,1), background .2s;
}
.hig-svc:hover { transform: translateY(-3px); background: #ebebef; }
.hig-svc .icon {
  display: inline-flex; width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0071e3, #5e5ce6);
  border-radius: 14px; color: #fff;
  margin-bottom: 24px;
  box-shadow: 0 8px 16px -4px rgba(0,113,227,.32);
}
.hig-svc .icon svg { width: 24px; height: 24px; }
.hig-svc h3 {
  font-size: 26px; font-weight: 600; letter-spacing: -.02em;
  margin: 0 0 8px;
}
.hig-svc p {
  font-size: 15px; color: #6e6e73; line-height: 1.55;
  margin: 0 0 20px;
}
.hig-svc .more {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 15px; color: #0071e3; font-weight: 500;
}
.hig-svc .more::after { content: "›"; font-size: 18px; margin-left: 2px; }

/* ═══ RECENT WORK ═══ */
.hig-portfolio h2 { text-align: center; margin: 0 auto 20px; }
.hig-portfolio .lede { text-align: center; max-width: 38ch; margin: 0 auto 80px; color: #a1a1a6; }

.hig-portfolio-feature {
  position: relative; overflow: hidden;
  border-radius: 24px; aspect-ratio: 16/9;
  margin-bottom: 16px; display: block; text-decoration: none;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.30);
}
.hig-portfolio-feature img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.hig-portfolio-feature:hover img { transform: scale(1.03); }
.hig-portfolio-feature::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%);
}
.hig-portfolio-feature .content {
  position: absolute; inset: 0; padding: 56px;
  display: flex; flex-direction: column; justify-content: end;
  color: #fff; z-index: 1;
}
.hig-portfolio-feature .tag {
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.85); margin: 0 0 14px;
}
.hig-portfolio-feature h3 {
  font-size: clamp(32px, 4vw, 56px); color: #fff;
  max-width: 14ch; margin: 0 0 16px;
}
.hig-portfolio-feature .action {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 17px; color: #fff; font-weight: 500;
}
.hig-portfolio-feature .action::after { content: "›"; font-size: 22px; }
@media (max-width: 720px) { .hig-portfolio-feature .content { padding: 32px; } }

.hig-card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.hig-card {
  position: relative; display: block; overflow: hidden;
  border-radius: 18px; aspect-ratio: 4/5;
  text-decoration: none;
  box-shadow: 0 12px 28px -12px rgba(0,0,0,.18);
  transition: transform .25s cubic-bezier(.22,1,.36,1);
}
.hig-card:hover { transform: translateY(-3px); }
.hig-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.hig-card:hover img { transform: scale(1.05); }
.hig-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.78) 100%);
}
.hig-card-content {
  position: absolute; inset: 0; padding: 24px;
  display: flex; flex-direction: column; justify-content: end;
  color: #fff; z-index: 1;
}
.hig-card-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  color: rgba(255,255,255,.85); margin-bottom: 10px;
}
.hig-card h3 {
  font-size: 22px; color: #fff; margin: 0 0 4px;
  font-weight: 700; letter-spacing: -.02em;
}
.hig-card-loc { font-size: 13px; color: rgba(255,255,255,.7); }

.hig-portfolio-foot { text-align: center; margin-top: 48px; }

/* ═══ APPROACH (3-pillar) ═══ */
.hig-approach { text-align: center; }
.hig-approach .eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .06em;
  color: #0071e3; text-transform: uppercase; margin-bottom: 24px;
}
.hig-approach h2 { max-width: 18ch; margin: 0 auto 32px; }
.hig-approach .lede { max-width: 44ch; margin: 0 auto 80px; color: #6e6e73; }
.hig-approach .pillars {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 64px;
  text-align: left; max-width: 980px; margin: 0 auto;
}
.hig-approach .pillar h3 {
  font-size: 24px; font-weight: 600; letter-spacing: -.02em;
  margin: 0 0 8px;
}
.hig-approach .pillar p {
  font-size: 15px; color: #6e6e73; line-height: 1.55; margin: 0;
}
.hig-approach .pillar .step {
  font-family: "SF Pro Display", sans-serif;
  font-size: 14px; font-weight: 600; color: #0071e3;
  letter-spacing: .08em; margin-bottom: 12px; display: block;
}

/* ═══ CLOSING ═══ */
.hig-closing { text-align: center; }
.hig-closing h2 { max-width: 14ch; margin: 0 auto 20px; }
.hig-closing .lede { max-width: 36ch; margin: 0 auto 36px; color: #6e6e73; }

@media (max-width: 720px) {
  .hig-section { padding: 80px 20px; }
  .hig-section.compact { padding: 60px 20px; }
  .hig-hero { padding: 60px 20px 0; }
}


/* Long-form legal/policy prose */
.hig-prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.6;
  color: #1d1d1f;
  letter-spacing: -0.014em;
}
.hig-prose h2 {
  font-family: "SF Pro Display", -apple-system, sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.024em;
  color: #1d1d1f;
  margin: 56px 0 14px;
  line-height: 1.15;
}
.hig-prose h2:first-child { margin-top: 0; }
.hig-prose h3 {
  font-family: "SF Pro Display", -apple-system, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: #1d1d1f;
  margin: 32px 0 10px;
}
.hig-prose p { margin: 0 0 16px; color: #1d1d1f; }
.hig-prose ul, .hig-prose ol { margin: 0 0 18px; padding-left: 22px; color: #1d1d1f; }
.hig-prose li { margin: 6px 0; }
.hig-prose a { color: #0071e3; text-decoration: none; }
.hig-prose a:hover { color: #0077ed; text-decoration: underline; }
.hig-prose strong { font-weight: 600; }
.hig-prose .meta {
  font-size: 13px; color: #6e6e73; letter-spacing: -0.01em;
  text-transform: uppercase; font-weight: 500;
  margin: 0 0 32px;
}
