/* UX proposal layer. Loaded last; CSS only, no changes to motion scripts. */
:root { --ux-mint: #88f9c0; --ux-mint-ink: #06231a; --ux-line: #ffffff2e; }

/* 1. Header: solid enough once scrolled so headings never collide with the logo; mint primary action. */
.site-header:before {
  background: linear-gradient(180deg, #05070c 0%, #05070cf0 48%, #05070c99 72%, transparent 100%);
  opacity: calc(var(--menu-fade, .25) * 1.34);
}
.site-header .header-cta {
  background: var(--ux-mint); border-color: var(--ux-mint); color: var(--ux-mint-ink); font-weight: 600;
}
.site-header .header-cta:hover, .site-header .header-cta:focus-visible {
  background: #a8ffd3; border-color: #a8ffd3; color: var(--ux-mint-ink);
}
/* Menu: Contact lives in the mint header button wherever that button is shown. */
@media (min-width: 1051px) { .site-header nav a.nav-contact { display: none; } }

/* 2. Homepage hero: real buttons instead of hairline text links. */
.ux-btn {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px !important; border-radius: 999px; font-size: 15px !important;
  font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.ux-btn svg { width: 16px; height: 16px; flex: none; transition: translate .3s var(--ease, ease); }
.ux-btn:hover svg { translate: 3px 0; }
.ux-btn-primary { background: var(--ux-mint); color: var(--ux-mint-ink) !important; border: 1px solid var(--ux-mint) !important; }
.ux-btn-primary:hover, .ux-btn-primary:focus-visible { background: #a8ffd3; box-shadow: 0 0 22px #88f9c040; }
.ux-btn-ghost { border: 1px solid #ffffff55 !important; color: #f2f6fb !important; background: #05070c66; backdrop-filter: blur(10px); }
.ux-btn-ghost:hover, .ux-btn-ghost:focus-visible { border-color: var(--ux-mint) !important; color: var(--ux-mint) !important; }

.page-index .hero-explore.ux-hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px;
  border-top: 1px solid var(--ux-line); padding-top: 26px;
}
.page-index .hero-explore.ux-hero-actions > * { border-top: 0; padding-top: 0; }
.page-index .hero-explore.ux-hero-actions > .upwork-proof { margin-left: auto; font-size: 13px; gap: 10px; }
.ux-proof-score { color: var(--ux-mint); font-weight: 600; }
@media (max-width: 650px) {
  .page-index .hero-explore.ux-hero-actions { margin-top: 26px; padding-top: 20px; gap: 10px; }
  .page-index .hero-explore.ux-hero-actions > .ux-btn { flex: 1 1 100%; min-height: 52px; font-size: 16px !important; }
  .page-index .hero-explore.ux-hero-actions > .upwork-proof { margin: 6px 0 0; font-size: 13px; }
  /* Pull the copy and actions up beside the headline instead of a screen-wide gap. */
  .page-index .about-hero { height: auto; min-height: 100svh; }
  .page-index .about-hero .hero-meta { padding-top: 16vh; }
}

/* 3. Portfolio: even 16:9 grid; square artwork sits on a blurred copy of itself, clearer link. */
.client-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 22px; }
.client-project:nth-child(even) { margin-top: 0; }
.client-art { aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #0d121c; }
.client-art.square-art { background: #0d121c; }
.client-art.square-art img:not(.ux-art-bg) { position: relative; z-index: 1; object-fit: contain; padding: 0; }
.client-art .ux-art-bg { position: absolute; inset: -12%; width: 124%; height: 124%; object-fit: cover; filter: blur(26px) saturate(1.3) brightness(.85); transform: none !important; }
.client-caption { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-top: 14px; }
.client-caption h3 { font-size: 19px; line-height: 1.2; }
.client-caption > span { font-size: 13px; color: #aab6c3; display: inline-flex; align-items: center; gap: 6px; }
.client-caption > span::after { content: "→"; transition: translate .3s var(--ease, ease); }
.client-project a:hover .client-caption > span { color: var(--ux-mint); }
.client-project a:hover .client-caption > span::after { translate: 4px 0; }
@media (max-width: 1050px) { .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .client-caption h3 { font-size: 15px; }
  .client-caption > span, .client-caption > span:last-child { font-size: 12px; }
}

/* 4. Reviews: score up front, two genuine quotes side by side. */
.ux-reviews { padding-block: 120px; }
.ux-reviews-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.ux-score { display: flex; align-items: baseline; gap: 16px; }
.ux-score strong { font-family: 'Funnel Display', Manrope, sans-serif; font-weight: 600; font-size: clamp(56px, 6vw, 88px); line-height: 1; letter-spacing: -.03em; }
.ux-score span { font-size: 15px; color: #c7d3e7; line-height: 1.5; }
.ux-stars { color: var(--ux-mint); letter-spacing: .12em; font-size: 15px; }
.ux-review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ux-review { margin: 0; padding: 30px; border: 1px solid var(--ux-line); border-radius: 10px; background: #070b14b8; backdrop-filter: blur(14px); display: flex; flex-direction: column; gap: 18px; }
.ux-review blockquote { margin: 0; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -.025em; }
.ux-review figcaption { margin-top: auto; font-size: 13px; color: #9fadbd; line-height: 1.5; }
.ux-review-link { display: inline-flex; margin-top: 26px; font-size: 14px; color: var(--ux-mint); border-bottom: 1px solid #88f9c066; padding-bottom: 3px; }
@media (max-width: 700px) {
  .ux-reviews { padding-block: 50px 70px; }
  .ux-review-grid { grid-template-columns: 1fr; }
  .ux-review { padding: 22px; }
  .ux-review blockquote { font-size: 22px; }
}

/* 5. Audio: player sooner on phones. */
@media (max-width: 700px) {
  .page-audio .page-hero { height: auto; min-height: 0; padding-bottom: 10px; }
  .page-audio .page-hero .hero-meta { padding-top: 28px; }
  .page-audio #desk { padding-top: 30px; margin-top: 0; }
}
.ux-score .ux-stars { color: var(--ux-mint); }

/* 6. Contact: email and copy actions. */
.ux-email-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.ux-copy-email.is-copied { border-color: var(--ux-mint) !important; color: var(--ux-mint) !important; }
.ux-copy-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 650px) { .ux-email-actions > .ux-btn { flex: 1 1 100%; min-height: 52px; } }

/* 7. About copy: soft shade behind the paragraphs so they read over the photo. */
.about-columns { position: relative; isolation: isolate; }
.about-columns::before {
  content: ""; position: absolute; z-index: -1; inset: -80px -110px; pointer-events: none;
  background: radial-gradient(ellipse farthest-side at 50% 50%, #05070ceb 0%, #05070cc7 58%, #05070c00 100%);
}
.about-columns p { color: #e6edf6; text-shadow: 0 1px 14px #05070c; }
@media (max-width: 700px) { .about-columns::before { inset: -30px -24px; } }
