@font-face {
  font-family: "Bungee";
  src: url("./assets/fonts/Bungee-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --radius-soft: 30px;
  --radius-metric: 28px 28px 78px 28px;
  --radius-client: 30px 72px 30px 30px;
  --radius-project: 30px 30px 104px 30px;
}

/* Desktop navigation has one source of truth: the complete menu button. */
.site-header { grid-template-columns: 1fr auto; }
@media (min-width: 1101px) {
  .work-grid > .project-xpeng,
  .work-grid > .project-nothing,
  .work-grid > .project-honor {
    grid-column: span 4;
    min-height: 520px;
  }
}

/* Use the current satin brand object as the sole resolved mark. */
.note-mark-satin {
  width: min(84%, 500px);
  opacity: 1;
  filter: saturate(1.08) brightness(1.04) drop-shadow(0 38px 42px rgba(0,0,0,.42));
  animation: note-satin-float 7s ease-in-out infinite paused;
}
.project-note.is-visible .note-mark-satin { animation-play-state: running; }
@keyframes note-satin-float {
  0%, 100% { opacity: .96; transform: translate3d(0, 5px, 0) rotate(-3deg) scale(.96); }
  50% { opacity: 1; transform: translate3d(0, -15px, 34px) rotate(3deg) scale(1.035); }
}

.section-index,
.section-heading > div p,
.client-heading > div p,
.approach-intro > div p,
.contact-kicker,
.project-meta,
.project-scope,
.why-visual span,
.credibility-grid > article > span,
.team-card > div > span {
  font-family: "Bungee", Arial, sans-serif;
  font-weight: 400;
}
.hero-proof { margin: 18px 0 0; color: var(--graphite); font-family: "Bungee", Arial, sans-serif; font-size: 9px; letter-spacing: .045em; }

/* One shape grammar: project cards use the selected-signal cut, result cards use
   the first metric cut, and brand cards use the supplied Google-card cut. */
.project-card,
.project-feature,
.project-portrait,
.project-xpeng,
.project-nothing,
.project-honor,
.project-huawei,
.project-note { border-radius: var(--radius-project) !important; }
.proof-grid article,
.proof-grid article:nth-child(n) { border-radius: var(--radius-metric) !important; }
.logo-cell,
.logo-cell:nth-child(n),
.logo-cell:hover { border-radius: var(--radius-client) !important; }
.proof-grid article > small,
.logo-cell::before { z-index: 4; }

.why-mareah {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, .92fr) minmax(520px, 1.08fr);
  gap: clamp(54px, 7vw, 110px);
  align-items: center;
  padding: 126px max(32px, calc((100vw - 1440px) / 2));
  overflow: hidden;
  background: var(--warm);
}
.why-mareah::before {
  position: absolute;
  right: -16vw;
  bottom: -26vw;
  width: 58vw;
  aspect-ratio: 1;
  content: "";
  border: 1px dashed rgba(12,53,233,.16);
  border-radius: 50%;
}
.why-visual {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--signal), var(--navy));
  border-radius: var(--radius-project);
  box-shadow: 0 35px 75px rgba(11,27,107,.22);
}
.why-visual::before,
.why-visual::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
}
.why-visual::before { inset: 8% -26%; }
.why-visual::after { inset: 22% -5%; border-style: dashed; }
.why-visual img {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 92%;
  transform: translate(-50%, -50%) rotate(-5deg);
  filter: drop-shadow(0 36px 32px rgba(0,0,0,.32));
  animation: satin-bow-float 7s ease-in-out infinite;
}
.why-visual span {
  position: absolute;
  z-index: 3;
  padding: 9px 12px;
  color: var(--navy);
  background: white;
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: .04em;
}
.why-visual span:nth-of-type(1) { top: 9%; left: 7%; transform: rotate(-7deg); }
.why-visual span:nth-of-type(2) { top: 47%; right: 4%; transform: rotate(7deg); }
.why-visual span:nth-of-type(3) { bottom: 8%; left: 10%; transform: rotate(4deg); }
.why-copy { position: relative; z-index: 1; }
.why-copy .eyebrow { display: flex; gap: 14px; align-items: center; margin: 0 0 30px; }
.why-copy .eyebrow b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.why-copy h2 { margin: 0; font-size: clamp(48px, 5.7vw, 82px); letter-spacing: -.075em; line-height: .91; }
.why-copy h2 em { color: var(--signal); font-family: Georgia, serif; font-weight: 400; }
.why-copy > p { max-width: 690px; margin: 30px 0 0; color: var(--graphite); font-size: clamp(17px, 1.5vw, 21px); }
.why-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 42px; }
.why-pillars article { display: grid; min-height: 164px; padding: 22px; align-content: end; background: white; border: 1px solid var(--line); border-radius: var(--radius-client); }
.why-pillars strong { color: var(--navy); font-size: 20px; }
.why-pillars span { margin-top: 8px; color: var(--graphite); font-size: 12px; }
@keyframes satin-bow-float { 50% { transform: translate(-50%, calc(-50% - 12px)) rotate(3deg) scale(1.025); } }

.project-case { display: grid; padding: 28px; align-content: space-between; background: var(--navy); }
.project-case:nth-of-type(5) { background: var(--signal); }
.project-case:nth-of-type(6) { color: var(--navy); background: var(--aluminium); }
.project-case > img {
  width: min(66%, 200px);
  height: 100px;
  object-fit: contain;
  filter: none;
}
.project-case::after { display: none; }
.case-copy { position: relative; z-index: 2; }
.case-copy > span { font-family: "Bungee", Arial, sans-serif; font-size: 9px; letter-spacing: .04em; opacity: .68; }
.case-copy h3 { margin: 15px 0 0; font-size: clamp(25px, 2.2vw, 34px); line-height: .98; }
.case-copy p { margin: 14px 0 0; color: inherit; font-size: 13px; opacity: .76; }
.case-copy strong { display: block; margin-top: 26px; font-size: clamp(35px, 3.4vw, 48px); line-height: .88; }
.case-copy small { display: block; margin-top: 8px; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }

.proof-intro > div { display: grid; gap: 12px; }
.proof-intro > div > p { max-width: 300px; margin: 0; }
.proof-intro h2 { max-width: 290px; margin: 0; font-size: clamp(36px, 3.4vw, 52px); letter-spacing: -.065em; line-height: .94; }
.proof-footnote { position: relative; z-index: 1; grid-column: 2; max-width: 680px; margin: 8px 0 0; color: rgba(255,255,255,.68); font-size: 11px; }

/* Keep the results as a stable editorial split instead of letting the grid
   collapse when the viewport sits between laptop breakpoints. */
.proof {
  grid-template-columns: minmax(280px, .52fr) minmax(0, 1.48fr);
  grid-template-areas: "intro metrics" "intro footnote";
  gap: 22px clamp(34px, 5vw, 76px);
  min-height: 600px;
  padding-block: 88px;
  align-items: center;
}
.proof-intro {
  grid-area: intro;
  display: grid;
  gap: 30px;
  align-content: center;
  align-items: start;
}
.proof-intro > .section-marker { width: auto; }
.proof-intro > div:not(.section-marker) { display: grid; gap: 14px; }
.proof-intro h2 { max-width: 360px; }
.proof-intro > div > p { max-width: 350px; }
.proof-grid {
  grid-area: metrics;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.proof-grid article { min-width: 0; min-height: 260px; }
.proof-footnote { grid-area: footnote; grid-column: auto; }

/* Simple, one-direction horizontal services rail. */
.capabilities {
  height: auto !important;
  min-height: 0;
  padding: 88px 0 94px;
  overflow: hidden;
}
.capabilities .capability-sticky {
  position: relative;
  top: auto;
  display: grid;
  height: auto;
  overflow: visible;
}
.capabilities .capability-sticky::before { mask-image: linear-gradient(90deg, #000, transparent); }
.capabilities .capability-heading {
  position: relative;
  top: auto;
  left: auto;
  display: grid;
  width: min(1440px, calc(100% - 64px));
  grid-template-columns: minmax(420px, 1.2fr) minmax(300px, .8fr);
  gap: 22px 70px;
  margin: 0 auto 38px;
}
.capabilities .capability-heading > div { grid-column: 1 / -1; margin: 0; }
.capabilities .capability-heading h2 { grid-column: 1; max-width: 680px; font-size: clamp(44px, 4.7vw, 68px); }
.capabilities .capability-heading > p { grid-column: 2; align-self: end; margin: 0; }
.capability-rail-controls { display: flex !important; grid-column: 2; gap: 8px !important; align-items: center; justify-content: flex-end; margin: 0 !important; }
.capability-rail-controls button { display: grid; width: 44px; height: 44px; padding: 0; place-items: center; color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.24); border-radius: 50%; cursor: pointer; }
.capability-rail-controls span { min-width: 72px; color: rgba(255,255,255,.7); font-family: "Bungee", Arial, sans-serif; font-size: 9px; text-align: center; }
.capability-rail-shell { position: relative; width: 100%; overflow: hidden; }
.capabilities .capability-wheel {
  position: relative;
  top: auto;
  left: auto;
  display: flex;
  width: 100%;
  aspect-ratio: auto;
  gap: 16px;
  padding: 8px max(32px, calc((100vw - 1440px) / 2)) 28px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-padding-inline: max(32px, calc((100vw - 1440px) / 2));
  scroll-snap-type: x mandatory;
  transform: none !important;
  scrollbar-width: none;
}
.capabilities .capability-wheel::-webkit-scrollbar { display: none; }
.capabilities .capability-card {
  position: relative;
  top: auto;
  left: auto;
  flex: 0 0 clamp(280px, 27vw, 370px);
  min-height: 320px;
  scroll-snap-align: center;
  opacity: .56;
  border-radius: var(--radius-project) !important;
  transform: scale(.92) !important;
  transition: opacity 380ms ease, transform 520ms var(--ease), box-shadow 380ms ease;
}
.capabilities .capability-card.is-active { opacity: 1; transform: scale(1) !important; box-shadow: 0 36px 90px rgba(0,0,0,.42); }
.capabilities .capability-card svg { width: 44px; height: 44px; margin: 22px 0 auto; }
.capabilities .capability-card h3 { margin-top: 22px; font-size: clamp(23px, 1.9vw, 29px); }
.capabilities .capability-card p { margin-top: 12px; font-size: 13px; }

.credibility-field {
  padding: 126px max(32px, calc((100vw - 1440px) / 2));
  color: white;
  background: var(--ink);
}
.credibility-heading { display: flex; gap: 24px; align-items: flex-start; max-width: 1440px; margin: 0 auto 56px; }
.credibility-heading p { margin: 0 0 20px; color: var(--aluminium); font-family: "Bungee", Arial, sans-serif; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.credibility-heading h2 { margin: 0; font-size: clamp(48px, 5.6vw, 78px); letter-spacing: -.07em; line-height: .92; }
.credibility-heading h2 em { color: white; font-family: Georgia, serif; font-weight: 400; }
.credibility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 1440px; margin: 0 auto; }
.credibility-grid article { display: flex; min-height: 340px; padding: 30px; flex-direction: column; justify-content: flex-end; color: var(--navy); background: white; border-radius: var(--radius-client); }
.credibility-grid article:nth-child(2) { color: white; background: var(--signal); }
.credibility-grid article:nth-child(3) { color: white; background: var(--navy); }
.credibility-grid article > span { margin-bottom: auto; font-size: 9px; letter-spacing: .05em; opacity: .65; }
.credibility-grid h3 { margin: 50px 0 0; font-size: clamp(28px, 2.7vw, 40px); line-height: .98; }
.credibility-grid p { margin: 18px 0 0; font-size: 13px; opacity: .72; }
.client-name-cloud { position: relative; z-index: 1; max-width: 1220px; margin: 42px auto 0; color: var(--graphite); font-size: 12px; line-height: 1.9; text-align: center; }

/* Team deck: no invented people—one confirmed founder plus three team practices. */
.team-section { grid-template-columns: minmax(600px, 1.18fr) minmax(360px, .82fr); }
.team-deck { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; grid-auto-rows: 210px; gap: 12px; perspective: 1200px; }
.team-card { position: relative; overflow: hidden; color: white; background: var(--navy); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-client); box-shadow: 0 24px 60px rgba(0,0,0,.28); transform: rotate(var(--team-rotate, 0deg)); transition: transform 480ms var(--ease), box-shadow 480ms ease; isolation: isolate; }
.team-card-founder { --team-rotate: -1.4deg; grid-row: span 3; }
.team-card-bow { --team-rotate: 1.8deg; }
.team-card-creative { --team-rotate: -1.1deg; }
.team-card-digital { --team-rotate: 1.2deg; }
.team-card > img,
.team-card > canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-card-bow > img { padding: 16px; object-fit: contain; background: white; }
.team-card > canvas { z-index: 2; opacity: 0; image-rendering: pixelated; transition: opacity 180ms ease; }
.team-card::after { position: absolute; z-index: 3; inset: 34% 0 0; content: ""; background: linear-gradient(transparent, rgba(5,7,17,.94)); }
.team-card > div { position: absolute; z-index: 4; right: 20px; bottom: 20px; left: 20px; }
.team-card > div > span { font-size: 8px; letter-spacing: .05em; opacity: .68; }
.team-card h3 { margin: 8px 0 0; font-size: clamp(20px, 2vw, 30px); line-height: .98; }
.team-card p { margin: 8px 0 0; color: rgba(255,255,255,.72); font-size: 11px; }
@media (hover: hover) {
  .team-card:hover { z-index: 8; transform: rotate(calc(var(--team-rotate) * -1.8)) translateY(-10px) scale(1.035); box-shadow: 0 38px 90px rgba(0,0,0,.44); }
  .team-card:hover > canvas { opacity: .84; animation: pixel-flicker 760ms steps(2, end) infinite alternate; }
}
@keyframes pixel-flicker { 50% { opacity: .34; filter: hue-rotate(18deg) saturate(1.4); } }
.team-section .founder-copy h2 { max-width: 610px; }
.team-section .founder-copy > strong { color: white; }

@media (max-width: 1040px) {
  .why-mareah { grid-template-columns: 1fr; }
  .why-visual { min-height: 520px; }
  .team-section { grid-template-columns: 1fr; }
  .team-deck { width: min(820px, 100%); }
}

@media (max-width: 720px) {
  :root {
    --radius-metric: 22px 22px 58px 22px;
    --radius-client: 24px 58px 24px 24px;
    --radius-project: 26px 26px 78px 26px;
  }
  .why-mareah { gap: 42px; padding: 88px 18px; }
  .why-visual { min-height: 390px; }
  .why-visual img { width: 112%; }
  .why-copy h2 { font-size: clamp(44px, 12.5vw, 58px); }
  .why-pillars { grid-template-columns: 1fr; }
  .why-pillars article { min-height: 128px; }
  .project-case { min-height: 500px; padding: 24px; }
  .project-case > img { height: 86px; }
  .case-copy h3 { font-size: clamp(24px, 8.2vw, 31px); }
  .case-copy p { font-size: 12px; }
  .case-copy strong { margin-top: 20px; font-size: clamp(34px, 11vw, 46px); }
  .case-copy small { max-width: 30ch; font-size: 7.5px; letter-spacing: .025em; line-height: 1.35; }
  .proof { grid-template-columns: 1fr; }
  .proof-intro h2 { max-width: 100%; }
  .proof-intro > div > p { max-width: 100%; }
  .proof-footnote { grid-column: 1; margin-top: 0; }
  .capabilities { padding: 88px 0 92px; }
  .capabilities .capability-heading { width: calc(100% - 36px); grid-template-columns: 1fr; margin-bottom: 36px; }
  .capabilities .capability-heading > div,
  .capabilities .capability-heading h2,
  .capabilities .capability-heading > p,
  .capability-rail-controls { grid-column: 1; }
  .capability-rail-controls { justify-content: flex-start; }
  .capabilities .capability-heading h2 { font-size: clamp(40px, 11.7vw, 54px); }
  .capabilities .capability-wheel { inset: auto; height: auto; padding: 6px 18px 32px; }
  .capabilities .capability-card { top: auto; left: auto; flex-basis: 82vw; width: auto; min-height: 300px; opacity: .58; transform: scale(.94) !important; }
  .capabilities .capability-card.is-active { transform: scale(1) !important; }
  .credibility-field { padding: 88px 18px; }
  .credibility-heading { gap: 14px; }
  .credibility-heading h2 { font-size: clamp(42px, 12vw, 56px); }
  .credibility-grid { grid-template-columns: 1fr; }
  .credibility-grid article { min-height: 280px; }
  .team-section { gap: 54px; padding-top: 92px; }
  .team-deck { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .team-card-founder { grid-column: 1 / -1; grid-row: span 2; }
  .team-card-bow { grid-column: 1 / -1; }
  .team-card-creative,
  .team-card-digital { grid-column: span 1; }
  .team-card h3 { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .why-visual img { animation: none; }
  .team-card { transform: none; }
  .team-card > canvas { display: none; }
}

/* Client revision 2: unified wayfinding, horizontal proof, editorial case art,
   cropped founder portrait, a signal-led contact moment and a cleaner footer. */
.section-marker {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  margin: 0 !important;
}
.section-marker p,
.section-marker b {
  margin: 0 !important;
  font-family: "Bungee", Arial, sans-serif;
  font-size: 9px !important;
  font-weight: 400 !important;
  letter-spacing: .055em !important;
  line-height: 1.15;
  text-transform: uppercase;
}
.section-index,
.section-index.light {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: var(--navy);
  background: white;
  border: 1px solid rgba(11,27,107,.12);
  border-radius: 50%;
  font-size: 9px;
  letter-spacing: .02em;
  box-shadow: 0 10px 25px rgba(5,7,17,.08);
}
.section-index.light {
  color: var(--ink);
  background: white;
  border-color: rgba(255,255,255,.42);
}
.why-copy > .section-marker {
  width: max-content !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 0 30px !important;
  color: var(--navy);
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.why-copy > .section-marker::before,
.why-copy > .section-marker::after { display: none !important; }
.why-copy > .section-marker > .section-index {
  display: grid !important;
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px !important;
  padding: 0 !important;
  place-items: center !important;
  color: var(--navy) !important;
  background: white !important;
  border: 1px solid rgba(11,27,107,.12) !important;
  border-radius: 50% !important;
  box-shadow: 0 10px 25px rgba(5,7,17,.08) !important;
}

/* Restore the original full-screen editorial menu while retaining the complete
   section list and motion control added for this revision. */
.menu-toggle { display: block; }
.mobile-nav {
  inset: 86px 0 0;
  width: 100%;
  min-height: calc(100svh - 86px);
  max-height: none;
  padding: clamp(32px, 5vw, 72px) max(24px, calc((100vw - 1440px) / 2));
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  box-shadow: none;
}
.mobile-nav__sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(36px, 7vw, 110px); }
.mobile-nav__sections a {
  display: grid;
  grid-template-columns: 46px minmax(0,1fr) auto;
  gap: 16px;
  min-height: 0;
  padding: 17px 0;
  align-items: center;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
  border-radius: 0;
  color: white;
  background: transparent;
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 650;
  letter-spacing: -.04em;
  transition: color 220ms ease, padding 320ms var(--ease);
}
.mobile-nav__sections a::after { color: var(--signal); content: "\2197\FE0E"; font-family: Arial, sans-serif; font-size: 18px; font-variant-emoji: text; opacity: 1; }

.skip-button > span,
.header-cta b,
.hero-actions b,
.project-arrow,
.project-note a b,
.capability-rail-controls button,
.credibility-controls button,
.founder-copy a b,
.contact-card b,
.astrisoft-tag__arrow {
  font-family: Arial, sans-serif;
  font-variant-emoji: text;
}
.mobile-nav__sections a:hover,
.mobile-nav__sections a:focus-visible { color: var(--soft-blue); padding-inline-start: 10px; }
.mobile-nav__sections small { color: rgba(255,255,255,.5); font-family: "Bungee", Arial, sans-serif; font-size: 8px; letter-spacing: .04em; }
.mobile-nav__motion { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.mobile-nav .motion-control {
  position: relative;
  inset: auto;
  width: auto;
  min-height: 48px;
  justify-content: flex-start;
  color: white;
  border-color: rgba(255,255,255,.2);
  background: transparent;
}
.mobile-nav .motion-dot { box-shadow: 0 0 0 5px rgba(12,53,233,.22), 0 0 24px rgba(12,53,233,.85); }
.mobile-nav__utility { margin-top: 12px; padding-top: 12px; gap: 22px; }
.mobile-nav__utility a { min-height: 0; padding: 9px 0; border: 0; border-radius: 0; background: transparent; font-size: 11px; }

/* Why MAREAH cards carry animated brand icons instead of text-only blocks. */
.why-pillars article { position: relative; overflow: hidden; align-content: start; transition: color 320ms ease, background 320ms ease, transform 420ms var(--ease), box-shadow 320ms ease; }
.why-pillars article::after { position: absolute; right: -20%; bottom: -52%; width: 90%; aspect-ratio: 1; content: ""; border: 1px dashed rgba(12,53,233,.18); border-radius: 50%; }
.why-icon { display: grid; width: 50px; height: 50px; margin-bottom: auto; place-items: center; color: white; background: var(--signal); border-radius: 16px 16px 30px 16px; box-shadow: 0 15px 32px rgba(12,53,233,.24); animation: why-icon-float 4.6s ease-in-out infinite; }
.why-pillars article:nth-child(2) .why-icon { color: var(--navy); background: var(--soft-blue); animation-delay: -1.1s; }
.why-pillars article:nth-child(3) .why-icon { background: var(--navy); animation-delay: -2.2s; }
.why-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.why-pillars strong { margin-top: 28px; }
@media (hover: hover) {
  .why-pillars article:hover { color: white; background: var(--navy); border-color: var(--navy); box-shadow: 0 26px 58px rgba(11,27,107,.2); transform: translateY(-8px) rotate(-1deg); }
  .why-pillars article:nth-child(even):hover { transform: translateY(-8px) rotate(1deg); }
  .why-pillars article:hover strong,
  .why-pillars article:hover span { color: white; }
  .why-pillars article:hover .why-icon { color: var(--navy); background: white; transform: rotate(9deg) scale(1.08); }
}
@keyframes why-icon-float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-7px) rotate(3deg); } }

/* Generic brand artwork replaces the incorrect profile-page crops while the
   client logos preserve the identity of each confirmed case study. */
.project-case {
  display: grid;
  grid-template-rows: minmax(250px, 1fr) auto;
  min-height: 680px;
  padding: 0;
  overflow: hidden;
  background: var(--navy) !important;
}
.case-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 26%, rgba(255,255,255,.2) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 42%, rgba(223,229,255,.2), transparent 22%),
    linear-gradient(145deg, #0c35e9 0%, #0b1b6b 68%, #050711 100%);
  filter: none;
  transform: scale(1.015);
  transition: transform 900ms var(--ease), background-position 700ms ease;
}
.case-visual-huawei { background-position: 0 0; }
.case-visual-likee { background-position: 50% 0; }
.case-visual-anker { background-position: 100% 0; }
.case-visual::before { position: absolute; inset: 10% -18%; content: ""; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; box-shadow: inset 0 0 70px rgba(223,229,255,.08); transform: rotate(-12deg); }
.case-visual::after { position: absolute; inset: 8%; content: ""; background: url("./assets/3d/geometry/mareah-bow-full.svg") center / 54% auto no-repeat; opacity: .17; filter: brightness(0) invert(1); transform: rotate(8deg); }
.case-visual img { position: absolute; z-index: 2; top: 50%; left: 50%; width: min(46%, 190px); height: 78px; padding: 15px 22px; object-fit: contain; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; background: rgba(5,7,17,.66); box-shadow: 0 20px 58px rgba(5,7,17,.34); backdrop-filter: blur(12px); transform: translate(-50%,-50%); }
.project-case .case-copy { padding: 26px 28px 30px; }
@media (hover: hover) {
  .project-case:hover .case-visual { transform: scale(1.06); }
}

/* Proof of experience: three concise signals, all visible at once. */
.credibility-field { position: relative; overflow: hidden; padding: 88px 0 94px; }
.credibility-heading {
  display: block;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto 42px;
}
.credibility-heading h2 { max-width: 780px; font-size: clamp(44px,4.7vw,66px); }
.credibility-grid {
  display: grid;
  width: min(1440px, calc(100% - 64px));
  max-width: 1440px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
}
.credibility-grid article {
  position: relative;
  min-height: 278px;
  padding: 28px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(34px) rotate(-1.2deg);
  transition: transform 620ms var(--ease), opacity 520ms ease, box-shadow 360ms ease;
}
.credibility-grid article:nth-child(2) { transform: translateY(46px) rotate(.8deg); transition-delay: 90ms; }
.credibility-grid article:nth-child(3) { transform: translateY(58px) rotate(-.6deg); transition-delay: 180ms; }
.credibility-grid.is-visible article { opacity: 1; transform: none; }
.credibility-grid article::after {
  position: absolute;
  top: 26px;
  right: 28px;
  content: attr(data-proof-number);
  color: currentColor;
  font-family: "Bungee", Arial, sans-serif;
  font-size: 9px;
  letter-spacing: .08em;
  opacity: .38;
}
.credibility-icon { display: grid; width: 48px; height: 48px; margin-top: auto; place-items: center; color: white; background: var(--navy); border-radius: 14px 14px 28px 14px; transition: transform 460ms var(--ease), border-radius 460ms var(--ease); }
.credibility-grid article:nth-child(2) .credibility-icon,
.credibility-grid article:nth-child(3) .credibility-icon { color: var(--navy); background: white; }
.credibility-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.credibility-grid h3 { margin-top: 22px; font-size: clamp(25px,2.2vw,34px); }
.credibility-grid p { margin-top: 14px; }
@media (hover: hover) {
  .credibility-grid.is-visible article:hover { z-index: 2; transform: translateY(-9px) rotate(-.7deg); box-shadow: 0 30px 72px rgba(0,0,0,.34); transition-delay: 0ms; }
  .credibility-grid.is-visible article:nth-child(2):hover { transform: translateY(-9px) rotate(.7deg); }
  .credibility-grid article:hover .credibility-icon { border-radius: 24px 14px 14px 14px; transform: rotate(8deg) scale(1.08); }
}

/* Remove the baked silver display rim while keeping the confirmed portrait. */
.team-card-founder > img,
.team-card-founder > canvas {
  inset: -8% -12%;
  width: 124%;
  height: 116%;
  max-width: none;
  object-position: center 44%;
}

/* Satin bow echoes tie the major chapters together without obstructing copy. */
.work,
.proof,
.clients,
.credibility-field,
.contact,
.capability-sticky,
.approach-sticky { position: relative; overflow: hidden; }
.bow-signal {
  position: absolute;
  z-index: 0;
  width: clamp(170px, 21vw, 390px);
  opacity: .1;
  pointer-events: none;
  filter: drop-shadow(0 26px 34px rgba(5,7,17,.22));
  animation: bow-signal-drift 9s ease-in-out infinite;
}
.bow-signal-work { top: 3%; right: -5%; transform: rotate(17deg); }
.bow-signal-proof { right: -7%; bottom: -14%; opacity: .16; animation-delay: -1.5s; }
.bow-signal-services { top: 14%; left: -8%; opacity: .12; animation-delay: -3s; }
.bow-signal-clients { top: 1%; right: 3%; opacity: .1; animation-delay: -4.5s; }
.bow-signal-credibility { right: -5%; bottom: -22%; opacity: .14; animation-delay: -2.2s; }
.bow-signal-approach { top: 4%; left: -6%; opacity: .12; animation-delay: -5.5s; }
.bow-signal-contact { top: 50%; left: 53%; width: clamp(360px, 50vw, 820px); opacity: .23; transform: translate(-20%,-50%) rotate(-8deg); animation-name: bow-contact-drift; }
.work > :not(.bow-signal),
.proof > :not(.bow-signal),
.clients > :not(.bow-signal),
.credibility-field > :not(.bow-signal),
.contact > :not(.bow-signal),
.capability-sticky > :not(.bow-signal),
.approach-sticky > :not(.bow-signal) { position: relative; z-index: 1; }
@keyframes bow-signal-drift { 0%,100% { translate: 0 0; rotate: -3deg; } 50% { translate: 0 -16px; rotate: 4deg; } }
@keyframes bow-contact-drift { 0%,100% { transform: translate(-20%,-50%) rotate(-8deg) scale(.97); } 50% { transform: translate(-17%,-54%) rotate(-2deg) scale(1.04); } }

/* A more cinematic, signal-led contact close. */
.contact {
  position: relative;
  min-height: 760px;
  grid-template-columns: minmax(0,1.05fr) minmax(360px,.75fr);
  gap: clamp(54px, 8vw, 130px);
  align-items: center;
  color: white;
  background:
    radial-gradient(circle at 72% 44%, rgba(12,53,233,.88), transparent 35%),
    radial-gradient(circle at 8% 110%, rgba(12,53,233,.35), transparent 35%),
    var(--ink);
}
.contact::before,
.contact::after { position: absolute; content: ""; pointer-events: none; border-radius: 50%; }
.contact::before { top: 9%; right: 5%; width: min(54vw, 760px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.16); }
.contact::after { right: 12%; bottom: -36%; width: min(40vw, 580px); aspect-ratio: 1; border: 1px dashed rgba(255,255,255,.2); }
.contact-copy { max-width: 790px; }
.contact-copy .section-marker { margin-bottom: 36px !important; }
.contact h2 { font-size: clamp(58px, 7.2vw, 104px); }
.contact h2 em { color: white; text-shadow: 0 0 44px rgba(12,53,233,.8); }
.contact-kicker { max-width: 48ch; margin: 32px 0 0; color: rgba(255,255,255,.74); font-size: 9px; line-height: 1.6; }
.contact-copy > p { max-width: 600px; color: rgba(255,255,255,.7); font-size: clamp(17px,1.5vw,21px); }
.contact-choices { gap: 12px; }
.contact-card {
  min-height: 180px;
  padding: 28px;
  overflow: hidden;
  border-color: rgba(255,255,255,.25);
  border-radius: var(--radius-project);
  box-shadow: 0 22px 62px rgba(0,0,0,.22);
  backdrop-filter: blur(16px);
  transition: transform 420ms var(--ease), box-shadow 320ms ease, border-color 320ms ease;
}
.contact-card.email { background: linear-gradient(145deg, rgba(12,53,233,.98), rgba(11,27,107,.92)); }
.contact-card.whatsapp { color: white; background: rgba(255,255,255,.08); }
.contact-card::after { position: absolute; right: -22%; bottom: -68%; width: 72%; aspect-ratio: 1; content: ""; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.contact-card:hover,
.contact-card:focus-visible { border-color: white; box-shadow: 0 34px 80px rgba(0,0,0,.34); transform: translateY(-8px) rotate(-1deg); }
.contact-card:nth-child(2):hover,
.contact-card:nth-child(2):focus-visible { transform: translateY(-8px) rotate(1deg); }
.whatsapp-status { color: rgba(255,255,255,.66); }

/* Footer: one open composition, divided by rules rather than floating cards. */
.sitemap-footer.site-footer {
  grid-template-columns: minmax(360px,1.55fr) repeat(3,minmax(150px,.55fr));
  gap: 0;
  padding: clamp(62px,7vw,92px) max(24px,calc((100vw - 1440px) / 2)) 24px;
  border-radius: 0;
  background:
    radial-gradient(circle at 76% 24%, rgba(12,53,233,.42), transparent 30%),
    linear-gradient(145deg,#050711 2%,#071348 65%,#050711 100%);
}
.sitemap-footer.site-footer::before { opacity: .07; }
.sitemap-footer__brand,
.sitemap-footer__nav,
.sitemap-footer__connect,
.sitemap-footer__utility {
  min-height: 260px;
  padding: clamp(22px,2.2vw,32px);
  border: 0;
  border-left: 1px solid rgba(255,255,255,.14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.sitemap-footer__brand { justify-content: flex-start; gap: 15px; border-left: 0; }
.sitemap-footer__brand::before { display: none; }
.sitemap-footer__brand p { max-width: 430px; margin: 4px 0 0; font-size: clamp(23px,2.5vw,34px); line-height: 1.04; }
.footer-eyebrow { color: rgba(255,255,255,.52); font-family: "Bungee",Arial,sans-serif; font-size: 8px; letter-spacing: .08em; }
.sitemap-footer__nav:hover,
.sitemap-footer__connect:hover,
.sitemap-footer__utility:hover { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.025); box-shadow: none; transform: none; }
.sitemap-footer__bottom { margin-top: 0; padding-top: 20px; }

[dir="rtl"] .mobile-nav { right: 0; left: 0; }
[dir="rtl"] .case-visual img { right: auto; left: 50%; }
[dir="rtl"] .credibility-grid { direction: rtl; }

body.motion-paused .bow-signal,
body.motion-paused .why-icon,
body.reduce-motion .bow-signal,
body.reduce-motion .why-icon { animation: none !important; }
body.motion-paused .credibility-grid article,
body.reduce-motion .credibility-grid article { opacity: 1; transform: none; transition: none; }

@media (max-width: 1080px) {
  .proof { grid-template-columns: 1fr; grid-template-areas: "intro" "metrics" "footnote"; min-height: 0; }
  .proof-intro { grid-template-columns: minmax(0,.6fr) minmax(0,1.4fr); align-items: start; }
  .proof-grid article { min-height: 220px; }
  .sitemap-footer.site-footer { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .credibility-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .credibility-grid article:last-child { grid-column: 1 / -1; min-height: 238px; }
  .sitemap-footer__brand { grid-column: 1 / -1; min-height: 210px; }
  .sitemap-footer__nav,
  .sitemap-footer__connect { border-top: 1px solid rgba(255,255,255,.14); }
  .sitemap-footer__nav { border-left: 0; }
  .sitemap-footer__utility { grid-column: 1 / -1; min-height: 0; border-top: 1px solid rgba(255,255,255,.14); border-left: 0; }
}

@media (max-width: 720px) {
  .section-index,
  .section-index.light { width: 38px; height: 38px; flex-basis: 38px; }
  .mobile-nav { inset: 72px 0 0; width: 100%; min-height: calc(100svh - 72px); max-height: none; padding: 24px 18px 34px; border-radius: 0; }
  [dir="rtl"] .mobile-nav { right: 0; left: 0; }
  .mobile-nav__sections { grid-template-columns: 1fr; }
  .mobile-nav__sections a { min-height: 0; grid-template-columns: 34px minmax(0,1fr) auto; padding: 12px 0; border-radius: 0; font-size: clamp(20px,6.2vw,28px); }
  .mobile-nav__utility { display: flex; grid-template-columns: none; flex-wrap: wrap; }
  .why-copy > .section-marker > .section-index { width: 38px !important; height: 38px !important; flex-basis: 38px !important; }
  .why-pillars article { min-height: 154px; color: var(--ink); background: white; transform: none; }
  .why-pillars article strong { color: var(--navy); }
  .why-pillars article span { color: var(--graphite); }
  .why-icon { width: 46px; height: 46px; }
  .project-case { min-height: 520px; }
  .case-visual { min-height: 260px; }
  .project-case .case-copy { padding: 24px; }
  .proof { gap: 30px; padding: 72px 18px 78px; }
  .proof-intro { grid-template-columns: 1fr; gap: 20px; }
  .proof-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .proof-grid article { min-height: 178px; }
  .credibility-field { padding: 72px 0 78px; }
  .credibility-heading { width: calc(100% - 36px); margin-bottom: 30px; }
  .credibility-heading h2 { font-size: clamp(42px,12vw,56px); }
  .credibility-grid { width: calc(100% - 36px); grid-template-columns: 1fr; gap: 12px; }
  .credibility-grid article,
  .credibility-grid article:last-child { grid-column: auto; min-height: 244px; }
  .team-card-founder > img,
  .team-card-founder > canvas { inset: -7% -11%; width: 122%; height: 114%; }
  .bow-signal { width: clamp(150px,48vw,230px); opacity: .08; }
  .bow-signal-contact { top: 34%; left: 44%; width: 128vw; opacity: .18; }
  .contact { min-height: 0; grid-template-columns: 1fr; gap: 52px; padding: 94px 18px; }
  .contact::before { top: 18%; right: -48%; width: 130vw; }
  .contact-copy .section-marker { margin-bottom: 28px !important; }
  .contact h2 { font-size: clamp(52px,15vw,72px); }
  .contact-card { min-height: 156px; }
  .sitemap-footer.site-footer { grid-template-columns: 1fr; gap: 0; padding: 52px 18px 16px; }
  .sitemap-footer__brand,
  .sitemap-footer__nav,
  .sitemap-footer__connect,
  .sitemap-footer__utility { grid-column: 1; min-height: 0; padding: 30px 8px; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .sitemap-footer__brand { min-height: 188px; border-top: 0; }
  .sitemap-footer__brand p { margin-top: 2px; font-size: clamp(23px,7vw,30px); }
  .sitemap-footer__utility { display: grid; grid-template-columns: 1fr; }
  .sitemap-footer__bottom { grid-template-columns: 1fr; justify-items: start; gap: 18px; }
}

@media (max-width: 390px) {
  .astrisoft-tag { font-size: 12px; }
}

@media (hover: none), (pointer: coarse) {
  .why-pillars article:hover {
    color: var(--ink);
    background: white;
    border-color: var(--line);
    box-shadow: none;
    transform: none;
  }
  .why-pillars article:hover strong { color: var(--navy); }
  .why-pillars article:hover span { color: var(--graphite); }
}

@media (prefers-reduced-motion: reduce) {
  .bow-signal,
  .why-icon { animation: none; }
  .credibility-grid article { opacity: 1; transform: none; transition: none; }
}
