/* A quiet finishing layer that gives every public page the same rhythm. */
:root {
  --mw-gold: #d2b36d;
  --mw-surface: #111214;
  --mw-surface-raised: #171819;
  --mw-border: rgba(255, 255, 255, .16);
  --mw-radius-control: 10px;
  --mw-radius-card: 16px;
}

html {
  scroll-padding-top: 28px;
}

.wrap {
  width: min(1280px, calc(100% - clamp(40px, 7.5vw, 104px)));
}

main h1,
main h2,
main h3 {
  text-wrap: balance;
}

main p {
  text-wrap: pretty;
}

.button,
.toolkit-add-button,
.journey-cta,
.story-consult-link {
  border-radius: var(--mw-radius-control);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline-color: var(--mw-gold);
  outline-offset: 3px;
}

::selection {
  background: rgba(210, 179, 109, .34);
  color: #fff;
}

.button,
.toolkit-add-button,
.journey-cta,
.story-consult-link,
.site-header .header-actions > .pay-nav,
.site-header .header-actions > .portal-nav {
  transition-duration: .22s;
}

.button:hover,
.toolkit-add-button:hover,
.journey-cta:hover,
.story-consult-link:hover {
  transform: translateY(-1px);
}

.button.silver:hover,
.toolkit-add-button:hover,
.journey-cta:hover {
  box-shadow: 0 8px 24px rgba(210, 179, 109, .14);
}

.toolkit-stage,
.website-cover,
.journey-card,
.why-service-card,
.review-card,
.proof-report,
.proof-search,
.proof-map,
.proof-point,
.proof-concept-grid,
.inquiry-form,
.pay-panel,
.pay-summary,
.launch-preview-layout,
.portal-includes,
.website-page-pillar {
  border-radius: var(--mw-radius-card);
}

.toolkit-stage,
.website-cover,
.journey-card,
.why-service-card,
.review-card,
.proof-report,
.proof-point,
.inquiry-form,
.pay-panel,
.pay-summary,
.website-page-pillar {
  border-color: var(--mw-border);
}

input,
select,
textarea,
.pay-page .pay-field input,
.pay-page .pay-field select,
.pay-page .pay-field textarea {
  border-radius: 9px;
}

.contractor-story,
.toolkit-section,
.website-designs,
.getting-started.section,
.guarantee-section,
.faq,
.contact,
.proof-section,
.why-services-section,
.reviews-marquee-section,
.website-page-details {
  padding-block: clamp(76px, 8vw, 112px);
}

.reviews-page-hero {
  padding-block: clamp(46px, 5.5vw, 70px) 20px;
}

.reviews-marquee-section {
  padding-block: 26px clamp(76px, 8vw, 112px);
}

.website-page-cta,
.why-cta-inner {
  border-radius: var(--mw-radius-card);
}

.why-section-heading,
.website-page-heading,
.website-designs-heading,
.journey-heading,
.section-top {
  margin-bottom: clamp(28px, 4vw, 48px);
}

/* Give the Why Us hero a visual anchor instead of leaving its right half empty. */
.why-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  align-items: center;
  gap: clamp(18px, 3.5vw, 52px);
}

.why-hero-inner {
  max-width: none;
}

.why-hero-visual {
  --why-gold: #d7bb78;
  position: relative;
  display: grid;
  width: min(100%, 500px);
  aspect-ratio: 1;
  justify-self: end;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(210, 179, 109, .12), transparent 40%),
    radial-gradient(circle at 52% 50%, rgba(93, 116, 143, .13), transparent 67%);
  box-shadow: inset 0 0 80px rgba(255, 255, 255, .025), 0 20px 60px rgba(0, 0, 0, .18);
}

.why-hero-visual::before,
.why-hero-visual::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  content: "";
}

.why-hero-visual::before {
  inset: 10%;
}

.why-hero-visual::after {
  inset: 21%;
  border-color: rgba(215, 187, 120, .18);
}

.why-hero-orbit {
  position: absolute;
  width: 73%;
  aspect-ratio: 1;
  border: 1px solid rgba(215, 187, 120, .24);
  border-radius: 50%;
  transform: rotate(-24deg) scaleY(.48);
  box-shadow: 0 0 32px rgba(210, 179, 109, .08);
}

.why-hero-orbit-inner {
  width: 54%;
  border-color: rgba(190, 207, 226, .18);
  transform: rotate(56deg) scaleY(.58);
}

.why-hero-core {
  display: grid;
  width: 39%;
  aspect-ratio: 1;
  align-content: center;
  justify-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 15px 42px rgba(0, 0, 0, .38), 0 0 70px rgba(210, 179, 109, .12);
  backdrop-filter: blur(14px);
  text-align: center;
}

.why-hero-core span,
.why-hero-core small {
  color: #d5d3ce;
  font: 800 8px/1.4 Manrope, Arial, sans-serif;
  letter-spacing: .15em;
}

.why-hero-core strong {
  color: #f4f2ec;
  font: 700 clamp(48px, 6vw, 78px)/.84 Barlow, "Arial Narrow", Arial, sans-serif;
  letter-spacing: -.045em;
  text-shadow: 0 2px 24px rgba(210, 179, 109, .24);
}

.why-hero-core small {
  color: var(--mw-gold);
  font-size: 7px;
}

.why-service-chip {
  position: absolute;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(42, 44, 47, .88), rgba(18, 19, 21, .86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 12px 28px rgba(0, 0, 0, .28);
  color: #f0efec;
  font: 700 11px/1 Manrope, Arial, sans-serif;
  letter-spacing: .015em;
  white-space: nowrap;
  backdrop-filter: blur(12px);
}

.why-service-chip::before {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--why-chip-color, var(--mw-gold));
  box-shadow: 0 0 12px color-mix(in srgb, var(--why-chip-color, var(--mw-gold)) 64%, transparent);
  content: "";
}

.why-service-chip-website { --why-chip-color: #d4d4d5; top: 19%; left: 10%; }
.why-service-chip-seo { --why-chip-color: #d6bb7d; top: 15%; right: 11%; }
.why-service-chip-ads { --why-chip-color: #8ab9d5; right: 3%; top: 48%; }
.why-service-chip-ai { --why-chip-color: #a9a1d5; right: 18%; bottom: 13%; }
.why-service-chip-sales { --why-chip-color: #94b99d; left: 7%; bottom: 25%; }

@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .contractor-story,
  .toolkit-section,
  .website-designs,
  .getting-started.section,
  .guarantee-section,
  .faq,
  .contact,
  .proof-section,
  .why-services-section,
  .reviews-marquee-section,
  .website-page-details {
    padding-block: clamp(56px, 10vw, 78px);
  }

  .reviews-page-hero {
    padding-block: 42px 16px;
  }

  .reviews-marquee-section {
    padding-block: 20px 62px;
  }

  .why-hero-layout {
    grid-template-columns: 1fr;
  }

  .why-hero-visual {
    display: none;
  }

  .why-section-heading,
  .website-page-heading,
  .website-designs-heading,
  .journey-heading,
  .section-top {
    margin-bottom: 27px;
  }
}

@media (max-width: 420px) {
  .wrap {
    width: calc(100% - 36px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Keep the mobile header to one row; put secondary actions inside the Menu panel. */
@media (max-width: 800px) {
  .site-header,
  .proof-page .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: 0 12px;
    width: calc(100% - 40px);
    height: auto;
    min-height: 0;
    padding: 6px 0 9px;
  }

  .site-header > .brand,
  .proof-page .site-header > .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    min-width: 0;
    margin: 0;
  }

  .site-header .brand img,
  .proof-page .site-header .brand img {
    width: 82px;
    height: 75px;
    max-width: 100%;
    object-fit: contain;
  }

  .site-header > .menu,
  .proof-page .site-header > .menu {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    min-height: 44px;
    margin: 0;
    padding: 8px 2px 8px 10px;
    font-size: 14px;
  }

  .site-header > nav#main-nav:not(.open),
  .proof-page .site-header > nav#main-nav:not(.open) {
    display: none;
  }

  .site-header > nav#main-nav.open,
  .proof-page .site-header > nav#main-nav.open {
    position: static;
    inset: auto;
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    width: 100%;
    max-width: none;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 10px 0 0;
    padding: 8px 14px 4px;
    transform: none;
    border: 1px solid rgba(255, 255, 255, .17);
    border-bottom: 0;
    border-radius: 13px 13px 0 0;
    background: linear-gradient(150deg, #171717, #0b0b0b);
    color: #f2f2f2;
    font-size: 14px;
    box-sizing: border-box;
  }

  .site-header > nav#main-nav.open a,
  .proof-page .site-header > nav#main-nav.open a {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 0;
    padding: 8px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: #e8e8e8;
    font-size: 14px;
    white-space: nowrap;
  }

  .site-header > nav#main-nav.open .nav-object,
  .proof-page .site-header > nav#main-nav.open .nav-object {
    display: none;
  }

  .site-header > .header-actions,
  .proof-page .site-header > .header-actions {
    display: none;
  }

  .site-header > nav#main-nav.open + .header-actions,
  .proof-page .site-header > nav#main-nav.open + .header-actions {
    grid-column: 1 / -1;
    grid-row: 3;
    display: grid;
    grid-template-columns: minmax(0, .8fr) 54px minmax(0, 1.35fr);
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 12px 14px 14px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-radius: 0 0 13px 13px;
    background: linear-gradient(150deg, #171717, #0b0b0b);
    box-sizing: border-box;
  }

  .site-header > nav#main-nav.open + .header-actions > .pay-nav,
  .site-header > nav#main-nav.open + .header-actions > .portal-nav,
  .proof-page .site-header > nav#main-nav.open + .header-actions > .pay-nav,
  .proof-page .site-header > nav#main-nav.open + .header-actions > .portal-nav {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    justify-content: center;
    margin: 0;
    padding: 8px 5px;
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }

  .site-header > nav#main-nav.open + .header-actions > .language-picker,
  .proof-page .site-header > nav#main-nav.open + .header-actions > .language-picker {
    display: inline-flex;
    width: 54px;
    min-width: 54px;
    height: 40px;
    min-height: 40px;
    justify-content: center;
  }

  .site-header > nav#main-nav.open + .header-actions .language-switch,
  .proof-page .site-header > nav#main-nav.open + .header-actions .language-switch {
    width: 54px;
    height: 38px;
  }
}

@media (max-width: 360px) {
  .site-header,
  .proof-page .site-header {
    column-gap: 9px;
    width: calc(100% - 36px);
  }

  .site-header .brand img,
  .proof-page .site-header .brand img {
    width: 78px;
    height: 71px;
  }

  .site-header > nav#main-nav.open + .header-actions,
  .proof-page .site-header > nav#main-nav.open + .header-actions {
    grid-template-columns: minmax(0, .8fr) 50px minmax(0, 1.35fr);
    gap: 6px;
    padding-inline: 10px;
  }

  .site-header > nav#main-nav.open + .header-actions > .language-picker,
  .site-header > nav#main-nav.open + .header-actions .language-switch,
  .proof-page .site-header > nav#main-nav.open + .header-actions > .language-picker,
  .proof-page .site-header > nav#main-nav.open + .header-actions .language-switch {
    width: 50px;
    min-width: 50px;
  }
}
