.profile-page {
  --profile-bg: #07071a;
  --profile-surface: #0f0f2a;
  --profile-surface-2: #151333;
  --profile-card: rgba(139, 92, 246, .06);
  --profile-accent: #8b5cf6;
  --profile-accent-bright: #a855f7;
  --profile-glow: rgba(139, 92, 246, .30);
  --profile-text: #fff;
  --profile-muted: #94a3b8;
  --profile-border: rgba(139, 92, 246, .20);
  --profile-line: rgba(255, 255, 255, .10);
  background: #02020b;
  color: var(--profile-text);
}

.profile-page .scroll-progress { background: linear-gradient(90deg, #8b5cf6, #a855f7, #22d3ee); }
.profile-page a:focus-visible,
.profile-page button:focus-visible { outline: 2px solid var(--profile-accent-bright); outline-offset: 3px; }

.profile-topbar {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(1400px, calc(100% - 32px));
  margin: 28px auto 18px;
  padding: 18px 20px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 8px;
  background: #07071a;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

.profile-brand img { width: 156px; height: auto; }
.profile-doc-meta {
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
.profile-topbar__cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(139, 92, 246, .28);
}

.profile-document {
  overflow: hidden;
  padding-bottom: 34px;
  background:
    radial-gradient(700px circle at 15% 8%, rgba(168, 85, 247, .25), transparent 58%),
    radial-gradient(700px circle at 90% 16%, rgba(34, 211, 238, .10), transparent 55%),
    linear-gradient(180deg, #07071a 0%, #09091f 42%, #07071a 100%);
}

.profile-container { width: min(1240px, calc(100% - clamp(32px, 6vw, 88px))); margin: 0 auto; }
.profile-section {
  width: min(1240px, calc(100% - clamp(32px, 6vw, 88px)));
  margin: 22px auto;
  padding: clamp(44px, 5vw, 72px);
  border: 1px solid rgba(139, 92, 246, .22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(15,15,42,.96), rgba(7,7,26,.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
  break-inside: avoid;
  page-break-inside: avoid;
}
.profile-section > .profile-container { width: 100%; }
.profile-section-head { max-width: 860px; margin-bottom: 34px; }
.profile-label,
.profile-kicker {
  margin: 0 0 16px;
  color: #c4b5fd;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.profile-page h1,
.profile-page h2,
.profile-page h3 { color: var(--profile-text); letter-spacing: 0; }
.profile-page h1 { max-width: 880px; margin: 0; font-size: clamp(48px, 6.2vw, 88px); line-height: .98; font-weight: 800; }
.profile-page h2 { max-width: 880px; margin: 0; font-size: clamp(34px, 4vw, 64px); line-height: 1.02; font-weight: 800; }
.profile-page h3 { margin: 0 0 12px; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.18; font-weight: 750; }
.profile-page p { color: var(--profile-muted); }

.profile-cover {
  position: relative;
  width: min(1240px, calc(100% - clamp(32px, 6vw, 88px)));
  margin: 0 auto 22px;
  min-height: auto;
  padding: clamp(58px, 6vw, 84px);
  border: 1px solid rgba(139, 92, 246, .24);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(9,9,31,.98), rgba(7,7,26,.99));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
  break-after: page;
}
.profile-cover__grid {
  position: absolute;
  inset: 0;
  opacity: .42;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.profile-cover__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, .78fr); gap: clamp(34px, 6vw, 86px); align-items: center; width: 100%; }
.profile-cover__lead { max-width: 760px; margin: 24px 0 0; color: #cbd5e1; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.65; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.profile-cover-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 32px;
}
.profile-cover-facts span {
  padding: 13px 14px;
  border: 1px solid var(--profile-border);
  border-radius: 8px;
  background: rgba(255,255,255,.055);
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.profile-cover-facts--final { max-width: 820px; }
.profile-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 750; font-size: 14px; }
.profile-btn--primary { background: linear-gradient(135deg, #8b5cf6, #a855f7); color: #fff; box-shadow: 0 24px 54px rgba(139, 92, 246, .34); }
.profile-btn--secondary { border: 1px solid var(--profile-border); background: rgba(255, 255, 255, .06); color: #fff; }

.profile-cover__visual,
.profile-card,
.profile-copy-panel,
.work-feature,
.profile-testimonial-grid figure,
.engagement-grid article {
  border: 1px solid var(--profile-border);
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(139,92,246,.045));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 72px rgba(0,0,0,.26);
  backdrop-filter: blur(12px);
}
.profile-cover__visual {
  position: relative;
  min-height: 520px;
  padding: 22px;
  border-radius: 8px;
  overflow: hidden;
}
.profile-cover__visual::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 35%, rgba(168,85,247,.33), transparent 36%);
  animation: profile-pulse 5s ease-in-out infinite;
}
.profile-visual__bar,
.profile-flow,
.profile-dashboard { position: relative; z-index: 1; }
.profile-visual__bar { display: flex; justify-content: space-between; gap: 14px; color: #ddd6fe; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.profile-visual__bar em { color: var(--profile-muted); font-style: normal; }
.profile-flow { display: grid; grid-template-columns: 1fr 1.18fr 1fr; gap: 16px; align-items: center; min-height: 360px; }
.profile-flow__col,
.profile-flow__core {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(7,7,26,.55);
}
.profile-flow__col span { color: #c4b5fd; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; }
.profile-flow__col b { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.06); color: #fff; font-size: 13px; }
.profile-flow__core { place-items: center; min-height: 210px; text-align: center; }
.profile-flow__core i { width: 76px; height: 76px; border-radius: 50%; background: radial-gradient(circle, #fff, #a855f7 45%, rgba(139,92,246,.20)); box-shadow: 0 0 48px rgba(168,85,247,.65); }
.profile-flow__core strong { font-size: 20px; }
.profile-flow__core small { color: var(--profile-muted); }
.profile-dashboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.profile-dashboard span { min-height: 72px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.06); color: var(--profile-muted); font-size: 12px; }
.profile-dashboard strong { display: block; color: #fff; font-size: 26px; }
.profile-trust-strip { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; width: 100%; margin-top: 46px; border: 1px solid var(--profile-border); border-radius: 8px; overflow: hidden; background: rgba(255,255,255,.05); }
.profile-trust-strip span { padding: 20px; color: var(--profile-muted); }
.profile-trust-strip strong { display: block; color: #fff; font-size: 22px; }

.profile-two-col { display: grid; grid-template-columns: .78fr 1fr; gap: clamp(32px, 6vw, 92px); align-items: start; }
.profile-copy-panel { padding: clamp(24px, 4vw, 44px); border-radius: 8px; }
.profile-copy-panel p { margin-top: 0; font-size: 18px; line-height: 1.75; }
.principles { display: grid; gap: 12px; margin: 28px 0; }
.principles article { padding: 18px; border-radius: 16px; background: rgba(255,255,255,.055); }
.principles strong { display: block; color: #fff; }
.principles span { display: block; margin-top: 5px; color: var(--profile-muted); }
.profile-location { color: #ddd6fe !important; font-family: var(--font-mono); font-size: 12px !important; letter-spacing: .08em; text-transform: uppercase; }

.profile-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.profile-stat-grid article { min-height: 210px; padding: 24px; border: 1px solid var(--profile-border); border-radius: 20px; background: rgba(255,255,255,.055); }
.profile-stat-grid strong { display: block; color: #fff; font-size: clamp(42px, 5vw, 70px); line-height: 1; }
.profile-stat-grid b { display: block; margin-top: 16px; color: #fff; font-size: 17px; }
.profile-stat-grid p { margin: 8px 0 0; }
.profile-mini-strip { margin-top: 18px; padding: 16px 20px; border: 1px solid var(--profile-border); border-radius: 16px; color: #c4b5fd; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; }

.service-grid,
.industry-grid,
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.profile-card { position: relative; padding: 22px; border-radius: 8px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.profile-card:hover { transform: translateY(-4px); border-color: rgba(168,85,247,.55); box-shadow: 0 24px 60px rgba(139,92,246,.18); }
.service-card span { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 22px; border-radius: 12px; background: rgba(139,92,246,.18); color: #ddd6fe; font-family: var(--font-mono); font-weight: 700; }
.service-card p { min-height: 54px; }
.service-card small { display: block; color: #c4b5fd; font-family: var(--font-mono); font-size: 11px; line-height: 1.8; text-transform: uppercase; }

.profile-section-sub { max-width: 760px; color: #cbd5e1; font-size: 18px; line-height: 1.7; }
.framework-line { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 38px; }
.framework-line article { position: relative; min-height: 270px; padding: 24px; border: 1px solid var(--profile-border); border-radius: 22px; background: rgba(255,255,255,.055); }
.framework-line span { display: block; margin-bottom: 28px; color: #a855f7; font-size: 48px; line-height: 1; font-weight: 800; }
.framework-line p { margin: 0; font-size: 14px; line-height: 1.7; }
.profile-callout { margin-top: 20px; padding: 24px; border: 1px solid rgba(168,85,247,.45); border-radius: 20px; background: rgba(139,92,246,.12); color: #fff; font-size: 20px; font-weight: 700; }

.industry-grid { grid-template-columns: repeat(3, 1fr); margin-top: 34px; }
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 34px; }
.tech-grid .profile-card { grid-column: span 2; }
.tech-grid .profile-card:nth-child(4),
.tech-grid .profile-card:nth-child(5) { grid-column: span 3; }

.featured-work { display: grid; gap: 18px; margin-top: 34px; }
.work-feature { display: grid; grid-template-columns: minmax(280px, .72fr) 1fr; gap: 26px; padding: 18px; border-radius: 8px; }
.work-feature img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: 18px; }
.work-feature div { padding: 8px 8px 8px 0; }
.work-feature span,
.profile-work-grid em { color: #c4b5fd; font-family: var(--font-mono); font-size: 11px; letter-spacing: .10em; text-transform: uppercase; font-style: normal; }
.work-feature p { margin: 8px 0; line-height: 1.65; }
.work-feature b { color: #fff; }
.profile-work-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 28px; }
.profile-work-grid a { position: relative; min-height: 190px; padding: 14px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; border-radius: 18px; background: #111; }
.profile-work-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform .35s ease, opacity .35s ease; }
.profile-work-grid a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82), transparent 62%); }
.profile-work-grid a:hover img { transform: scale(1.05); opacity: .92; }
.profile-work-grid span,
.profile-work-grid em { position: relative; z-index: 1; }
.profile-work-grid span { color: #fff; font-weight: 800; }

.testimonial-trust { margin: 26px 0 18px; color: #ddd6fe; font-weight: 700; }
.profile-testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.profile-testimonial-grid figure { display: flex; flex-direction: column; justify-content: space-between; min-height: 320px; margin: 0; padding: 24px; border-radius: 8px; break-inside: avoid; page-break-inside: avoid; }
.profile-testimonial-grid blockquote { margin: 0; color: #fff; font-size: 18px; line-height: 1.55; font-weight: 650; }
.translation { margin: 16px 0 0; color: #cbd5e1; }
.profile-testimonial-grid figcaption { display: flex; align-items: center; gap: 14px; margin-top: 24px; color: #fff; font-weight: 800; }
.profile-testimonial-grid img { width: 58px; height: 58px; object-fit: contain; border-radius: 8px; background: #fff; padding: 6px; }
.profile-testimonial-grid em { display: block; color: var(--profile-muted); font-style: normal; font-weight: 500; }

.why-grid { grid-template-columns: repeat(3, 1fr); margin-top: 34px; }
.engagement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.engagement-grid article { min-height: 230px; padding: 26px; border-radius: 22px; }
.engagement-grid span { color: #c4b5fd; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.engagement-grid b { display: block; margin-top: 18px; color: #fff; font-size: 28px; }
.delivery-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.delivery-steps span { padding: 16px; border: 1px solid var(--profile-border); border-radius: 16px; color: #fff; text-align: center; font-weight: 800; }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 34px; }
.client-name-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.client-name-row span { padding: 14px 16px; border: 1px solid var(--profile-border); border-radius: 999px; background: rgba(255,255,255,.055); color: #fff; }

.profile-final-cta {
  width: min(1240px, calc(100% - clamp(32px, 6vw, 88px)));
  margin: 22px auto 0;
  padding: clamp(58px, 7vw, 94px);
  border: 1px solid rgba(139, 92, 246, .24);
  border-radius: 8px;
  background: radial-gradient(620px circle at 18% 15%, rgba(168,85,247,.32), transparent 60%), #07071a;
  break-inside: avoid;
  page-break-inside: avoid;
}
.profile-final-cta > .profile-container { width: 100%; }
.profile-final-cta h2 { max-width: 820px; }
.profile-final-cta p { max-width: 790px; color: #cbd5e1; font-size: 20px; line-height: 1.65; }
.office-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.office-grid address { padding: 20px; border: 1px solid var(--profile-border); border-radius: 18px; background: rgba(255,255,255,.055); color: var(--profile-muted); font-style: normal; }
.office-grid strong { display: block; color: #fff; margin-bottom: 8px; }

/* Editorial company-profile treatment: dark cover, clean internal sheets. */
.profile-page { background: #d9d9e2; }
.profile-document {
  padding: 24px 0 54px;
  background: #d9d9e2;
}
.profile-cover {
  min-height: 860px;
  padding-top: 42px;
  background:
    radial-gradient(700px circle at 85% 42%, rgba(139,92,246,.24), transparent 54%),
    linear-gradient(145deg, #07071a, #11112e);
}
.profile-cover__masthead {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 80px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.profile-cover__masthead img { width: 174px; height: auto; }
.profile-cover__masthead span {
  color: #c4b5fd;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.profile-section {
  color: #161323;
  background: #fff;
  border-color: #d9d3e6;
  box-shadow: 0 18px 50px rgba(37, 24, 62, .12);
  break-inside: auto;
  page-break-inside: auto;
}
.profile-section .profile-label { color: #7c3aed; }
.profile-section h2,
.profile-section h3,
.profile-section strong,
.profile-section b { color: #171123; }
.profile-section p,
.profile-section span { color: #625a70; }
.profile-section .profile-section-sub { color: #625a70; }
.profile-section .profile-card,
.profile-section .profile-copy-panel,
.profile-section .work-feature,
.profile-section .engagement-grid article,
.profile-section .profile-testimonial-grid figure {
  background: #f8f6fb;
  border-color: #ddd6e8;
  box-shadow: none;
  backdrop-filter: none;
  break-inside: avoid;
  page-break-inside: avoid;
}
.profile-section .profile-card:hover { transform: none; border-color: #c4b5fd; box-shadow: none; }
.profile-section .principles article,
.profile-section .profile-stat-grid article,
.profile-section .framework-line article {
  background: #f8f6fb;
  border-color: #ddd6e8;
  break-inside: avoid;
  page-break-inside: avoid;
}
.profile-section .profile-location,
.profile-section .service-card small,
.profile-section .work-feature span,
.profile-section .profile-work-grid em,
.profile-section .engagement-grid span { color: #7c3aed !important; }
.profile-section .service-card span {
  color: #6d28d9;
  background: #ede9fe;
}
.profile-section .profile-mini-strip,
.profile-section .profile-callout {
  color: #4c1d95;
  background: #f3effc;
  border-color: #d8ccf0;
}
.profile-section .work-feature b,
.profile-section .profile-testimonial-grid blockquote,
.profile-section .profile-testimonial-grid figcaption,
.profile-section .delivery-steps span,
.profile-section .client-name-row span { color: #171123; }
.profile-section .testimonial-trust { color: #5b21b6; }
.profile-section .delivery-steps span,
.profile-section .client-name-row span {
  background: #f8f6fb;
  border-color: #ddd6e8;
}
.profile-section .translation,
.profile-section .profile-testimonial-grid em { color: #625a70; }
.service-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
.service-card { min-height: 0; }
.service-card p { min-height: 0; }
.industry-grid,
.why-grid { grid-template-columns: repeat(2, 1fr); }
.tech-grid { grid-template-columns: repeat(2, 1fr); }
.tech-grid .profile-card,
.tech-grid .profile-card:nth-child(4),
.tech-grid .profile-card:nth-child(5) { grid-column: auto; }
.team-grid { grid-template-columns: repeat(2, 1fr); }
.profile-work-grid { grid-template-columns: repeat(4, 1fr); }
.profile-final-cta {
  min-height: 620px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(620px circle at 18% 15%, rgba(168,85,247,.32), transparent 60%),
    #07071a;
}

@keyframes profile-pulse {
  0%, 100% { transform: scale(.96); opacity: .75; }
  50% { transform: scale(1.06); opacity: 1; }
}

@media (max-width: 1180px) {
  .profile-cover__inner,
  .profile-two-col { grid-template-columns: 1fr; }
  .profile-cover__visual { min-height: 440px; }
  .service-grid,
  .profile-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .framework-line { grid-template-columns: 1fr; }
  .framework-line article { min-height: 0; }
  .tech-grid,
  .why-grid,
  .team-grid,
  .profile-work-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid .profile-card,
  .tech-grid .profile-card:nth-child(4),
  .tech-grid .profile-card:nth-child(5) { grid-column: auto; }
}

@media (max-width: 760px) {
  .profile-topbar { grid-template-columns: 1fr; width: calc(100% - 20px); margin-top: 10px; }
  .profile-nav { display: none; }
  .profile-topbar__cta { display: none; }
  .profile-doc-meta { max-width: 28ch; font-size: 9px; line-height: 1.7; text-align: left; white-space: normal; overflow-wrap: anywhere; }
  .profile-container,
  .profile-section,
  .profile-cover,
  .profile-final-cta { width: calc(100% - 28px); }
  .profile-section,
  .profile-cover,
  .profile-final-cta { padding: 28px 14px; }
  .profile-cover { min-height: auto; padding-top: 58px; }
  .profile-cover__masthead { align-items: flex-start; gap: 22px; margin-bottom: 42px; }
  .profile-cover__masthead span { max-width: 16ch; text-align: right; }
  .profile-page h1 { max-width: 9ch; font-size: clamp(36px, 10vw, 42px); line-height: 1.08; }
  .profile-kicker { font-size: 10px; line-height: 1.7; }
  .profile-cover__copy { max-width: 100%; }
  .profile-cover__lead { max-width: 25ch; font-size: 18px; }
  .profile-actions,
  .profile-btn { width: 100%; }
  .profile-flow { grid-template-columns: 1fr; min-height: 0; }
  .profile-dashboard,
  .profile-trust-strip,
  .profile-cover-facts,
  .profile-stat-grid,
  .service-grid,
  .industry-grid,
  .tech-grid,
  .why-grid,
  .engagement-grid,
  .delivery-steps,
  .team-grid,
  .office-grid,
  .profile-work-grid { grid-template-columns: 1fr; }
  .work-feature { grid-template-columns: 1fr; }
  .work-feature div { padding: 0; }
  .profile-testimonial-grid { grid-template-columns: 1fr; }
}

@media print {
  @page { size: A4; margin: 8mm; }
  html { scroll-behavior: auto; }
  body.profile-page { background: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .profile-document { padding: 0; overflow: visible; }
  .profile-cover,
  .profile-section,
  .profile-final-cta {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .profile-cover {
    min-height: 277mm;
    padding: 14mm;
    break-after: page;
    page-break-after: always;
  }
  .profile-section {
    padding: 12mm 10mm;
    break-inside: auto;
    page-break-inside: auto;
  }
  .profile-section + .profile-section {
    break-before: page;
    page-break-before: always;
  }
  .profile-final-cta {
    min-height: 277mm;
    padding: 14mm;
    break-before: page;
    page-break-before: always;
  }
  .profile-card,
  .work-feature,
  .profile-testimonial-grid figure,
  .engagement-grid article,
  .profile-stat-grid article,
  .framework-line article { break-inside: avoid; page-break-inside: avoid; }
  .service-grid,
  .industry-grid,
  .why-grid,
  .tech-grid,
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .profile-work-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .profile-testimonial-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .profile-testimonial-grid figure { min-height: 0; }
  .profile-card:hover { transform: none; box-shadow: none; }
  .profile-work-grid a::after { background: linear-gradient(to top, rgba(0,0,0,.88), transparent 62%); }
  .profile-btn,
  .scroll-progress { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .profile-cover__visual::before { animation: none; }
  .profile-card,
  .profile-work-grid img,
  .profile-testimonial-track figure { transition: none; }
}
