/* =================================================================
   Sundae Websites — Home page
   Layout traced from reference image. Tokens via colors_and_type.css.
   ================================================================= */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ============== Buttons ============== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-weight: 800;
  font-size: var(--fs-15);
  padding: 13px 22px;
  border-radius: var(--r-3);
  border: 0; cursor: pointer;
  transition: background var(--d-fast) var(--ease-out),
              color var(--d-fast) var(--ease-out),
              border-color var(--d-fast) var(--ease-out),
              transform var(--d-fast) var(--ease-out);
  white-space: nowrap;
  letter-spacing: 0.005em;
}
.btn { min-height: 44px; } /* touch-safe */
.btn:active { transform: translateY(1px); }
.btn .arrow { display: inline-block; transition: transform var(--d-fast) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--primary       { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); }

.btn--ghost-light       { background: transparent; color: var(--ink); border: 1px solid var(--ink-20); }
.btn--ghost-light:hover { background: var(--ink-06); border-color: var(--ink-45); }

.btn--ghost-dark        { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--ghost-dark:hover  { background: var(--ink); color: #fff; }

.btn--phone .btn__icon  { display: inline-block; color: var(--blue); flex-shrink: 0; }
.btn--phone:hover .btn__icon { color: var(--blue-deep); }

/* Keep every text link on a single line — never let a hyperlink wrap. */
.service-card__link,
.offer__learn-more,
.receipts__viewall,
.footer__col a,
.footer__legal a,
.footer__wordmark { white-space: nowrap; }

/* ============== Eyebrow ============== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin: 0 0 18px;
}
/* Suppress the design-system eyebrow::before so the explicit .eyebrow__dot
   is the only diamond. */
.eyebrow::before { content: none !important; }
.eyebrow__dot {
  display: inline-block;
  width: 9px; height: 9px;
  background: var(--blue);
  /* translateY lifts the diamond from the line-box center up to the
     optical center of the uppercase caps (~1.66px at 12px/0.20em). */
  transform: translateY(-1.66px) rotate(45deg);
  border-radius: 2px;
}
.eyebrow--on-cream { color: var(--ink-70); }

/* ============== NAV ============== */
.nav {
  position: absolute; top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 28px 56px 0;
  pointer-events: none;
}
.nav__logo {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  gap: 2px;
  pointer-events: auto;
  text-decoration: none;
  transition: opacity var(--d-fast) var(--ease-out);
}
.nav__logo:hover { opacity: 0.78; }
.nav__logo img {
  display: block;
  width: 158px; height: auto;
}
.nav__logo-sub {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ink);
  width: 158px;
  text-align: center;
  margin-top: 3px;
}

/* ============== HERO ============== */
/* The hero is a single relative container.
   The brand mark is absolutely positioned at the top-right and
   INTENTIONALLY clipped above the top edge and past the right edge —
   matching the reference where only the bottom-left half of the
   rotated dark diamond is visible inside the page. */
.hero {
  position: relative;
  padding: 36px 56px 176px;
  background: var(--paper);
  overflow: hidden;
  min-height: clamp(420px, 40vw, 560px);
}
.hero__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding-top: 124px;
  width: clamp(440px, 52vw, 720px);
}
.hero__h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 7vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero__lede {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-70);
  margin: 0 0 28px;
  max-width: 380px;
}
.hero__ctas {
  display: flex; gap: 10px; flex-wrap: wrap;
}

/* ----- BRAND MARK -----
   Use the actual sundae-mark.png. The image is the full composition
   (blue rounded square + dark navy rotated diamond + white "S").
   Positioned at the top-right of the hero with negative offsets so
   the image's top-right corner is clipped above and past the page
   edge — matching the reference verbatim.
*/
.hero__mark {
  position: absolute;
  top: -12%;
  right: -10%;
  width: clamp(340px, 44vw, 620px);
  height: auto;
  aspect-ratio: 1 / 1;
  z-index: 1;
  pointer-events: none;
  /* Rotated to match the reference, where the blue square sits at a
     slight tilt and the dark diamond reads as the upright square. */
  transform: rotate(-12deg);
  transform-origin: center center;
}
.hero__mark-img {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.14));
}

/* Hero copy always sits above the mark. */
.hero__copy { z-index: 3; }

/* Subtle diamond ornaments scattered in the hero's negative space.
   Small, low-opacity rotated squares in the brand blue — just enough
   to break up the white expanse without competing with the mark. */
.hero__diamond {
  position: absolute;
  background: var(--blue);
  transform: rotate(45deg);
  pointer-events: none;
  z-index: 1;
  border-radius: 1px;
}
.hero__diamond--a {
  top: 140px;
  left: 56px;
  width: 14px;
  height: 14px;
  opacity: 0.22;
}
.hero__diamond--b {
  top: 58%;
  left: 38%;
  width: 11px;
  height: 11px;
  opacity: 0.18;
}
.hero__diamond--c {
  bottom: 96px;
  right: 18%;
  width: 18px;
  height: 18px;
  opacity: 0.14;
}
.hero__diamond--d {
  top: 30%;
  right: 9%;
  width: 12px;
  height: 12px;
  opacity: 0.16;
}

@media (max-width: 680px) {
  .hero__diamond--b,
  .hero__diamond--c,
  .hero__diamond--d { display: none; }
}

/* Twinkling diamond "sparks" scattered across the top of the hero.
   Faint but obvious — a clear opacity/scale twinkle, staggered. */
.hero__spark {
  position: absolute;
  background: var(--blue);
  transform: rotate(45deg);
  border-radius: 2px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.34;
  animation: heroSparkTwinkle 3.4s var(--ease-in-out, cubic-bezier(0.45,0,0.55,1)) infinite;
}
.hero__spark--2 { top: 132px; left: 30%; width: 8px;  height: 8px;  animation-delay: 0.7s;  }
.hero__spark--3 { top: 300px; left: 60%; width: 13px; height: 13px; animation-delay: 1.2s;  }
.hero__spark--4 { top: 470px; left: 82%; width: 9px;  height: 9px;  animation-delay: 1.7s;  }
.hero__spark--5 { top: 640px; left: 67%; width: 7px;  height: 7px;  animation-delay: 0.35s; }

@keyframes heroSparkTwinkle {
  0%, 100% { opacity: 0.16; transform: rotate(45deg) scale(0.82); }
  50%      { opacity: 0.5;  transform: rotate(45deg) scale(1.12); }
}
@media (max-width: 680px) {
  .hero__spark--3,
  .hero__spark--4,
  .hero__spark--5 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__spark { animation: none; opacity: 0.32; }
}

/* Decorative diamonds for the light/beige sections — same brand motif,
   placed in the section margins so they never collide with content. */
.sec-diamond {
  position: absolute;
  background: var(--blue);
  transform: rotate(45deg);
  pointer-events: none;
  border-radius: 1px;
  z-index: 0;
}
@media (max-width: 860px) {
  .sec-diamond { display: none; }
}

@media (max-width: 860px) {
  .hero__copy { padding-top: 72px; }
  .hero__lede { max-width: 320px; }
}
@media (max-width: 680px) {
  /* Phone hero is restyled to echo the Services-page hero: a faint brand-mark
     watermark in the top-right corner — but over WHITE (--paper), not cream.
     Tuned for the Samsung Galaxy S21 FE 5G (360 x 780 CSS px) so the first
     CTA ("Start a project") clears the fold without scrolling. */
  .hero { padding: 16px 28px 56px; min-height: 0; }
  .hero__copy { width: 100%; padding-top: 24px; }

  /* Headline sized to fit the phone hero AND leave room for the lede + first
     button above the fold. */
  .hero__h1 {
    font-size: clamp(44px, 13vw, 58px) !important;
    line-height: 0.98;
    letter-spacing: -0.024em;
    max-width: 14ch;
    margin: 12px 0 0 !important;
    padding-top: 0 !important;
  }
  .hero__lede { max-width: 100%; margin-top: 18px; font-size: 17px !important; }
  .hero__ctas { margin-top: 24px; }

  /* Brand mark becomes a large, faint corner watermark like the Services hero. */
  .hero__mark {
    display: block;
    top: -14%;
    right: -6%;
    left: auto;
    width: clamp(300px, 62vw, 440px);
    opacity: 0.10;
    transform: rotate(-12deg);
  }
  .hero__mark-img { filter: none; }

  .hero__ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Keep the watermark background clean — no extra sparks or diamonds. */
  .hero__diamond { display: none; }
  .hero__spark { display: none; }
}

/* ============== DARK BAND ============== */
.band--dark {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  padding: 88px clamp(28px, 5vw, 64px);
  margin: 0;
  overflow: hidden;
}
/* Large outlined diamond — quiet brand motif, bleeds off the right edge. */
.band__diamond {
  position: absolute;
  top: 50%;
  right: -120px;
  width: 360px;
  height: 360px;
  transform: translateY(-50%) rotate(52deg);
  border: 1.5px solid var(--blue);
  border-radius: 12px;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 860px) {
  .band__diamond { display: none; }
}
.band__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}
.band__row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 144px;
}
.band__h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.018em;
  color: #fff;
  margin: 0;
  max-width: 12ch;
}
.band__prose {
  padding-top: 18px;
}
.band__prose p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-dark-78);
  margin: 0 0 18px;
  max-width: 44ch;
}
.band__prose p:last-child { margin-bottom: 0; }

.band__rule {
  border: 0;
  height: 1px;
  background: var(--on-dark-18);
  margin: 0 0 48px;
}

.band__services {
  list-style: none; padding: 0 0 72px; margin: 0;
  display: flex; flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.5vw, 22px);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 34px);
  line-height: 1.0;
  letter-spacing: -0.012em;
  color: #fff;
  white-space: normal;
}
.band__services > li:not(.band__sep) { white-space: nowrap; }
.band__sep {
  display: inline-block;
  width: clamp(8px, 1vw, 12px);
  height: clamp(8px, 1vw, 12px);
  background: var(--blue);
  transform: rotate(45deg);
  border-radius: 2px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .band--dark { padding: 64px 24px 32px; }
  .band__row { grid-template-columns: 1fr; gap: 28px; padding-bottom: 96px; }

  /* Inline flowing list like desktop/tablet, with tight word-to-diamond
     spacing. "Digital Marketing" is reordered to the end of the list. */
  .band__services {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 7px 9px;
    font-size: clamp(17px, 5.5vw, 28px);
    white-space: normal;
  }
  .band__services > li:nth-child(3) { order: 1; } /* Design */
  .band__services > li:nth-child(4) { order: 2; } /* diamond */
  .band__services > li:nth-child(5) { order: 3; } /* Hosting */
  .band__services > li:nth-child(6) { order: 4; } /* diamond */
  .band__services > li:nth-child(7) { order: 5; } /* SEO */
  .band__services > li:nth-child(8) { order: 6; } /* diamond */
  .band__services > li:nth-child(9) { order: 7; } /* Analytics */
  .band__services > li:nth-child(2) { order: 8; } /* diamond (before Digital Marketing) */
  .band__services > li:nth-child(1) { order: 9; } /* Digital Marketing */

  .band__sep {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0;
  }
}

/* ============== THE RECEIPTS ============== */
.receipts {
  position: relative;
  padding: 120px 56px 96px;
  background: var(--paper);
  overflow: hidden;
}
/* Faint diamond dot-field, echoing the quote band below, fading in from the
   right so the white section reads as part of the same stage. */
.receipts__dots {
  position: absolute;
  top: 0; right: 0;
  width: 46%; height: 100%;
  background-image: var(--dot-pattern-blue);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.5), transparent 78%);
          mask-image: linear-gradient(to left, rgba(0,0,0,0.5), transparent 78%);
  opacity: 0.5;
  pointer-events: none;
}
.receipts__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}
.receipts__head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.receipts__headline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
}
.receipts__headline .eyebrow { margin: 0; }
.receipts__h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
/* Stylish blue brush-stroke underline for emphasised words. */
.underline-blue {
  position: relative;
  white-space: nowrap;
}
.underline-blue__stroke {
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  width: calc(100% + 0.12em);
  bottom: -0.18em;
  height: 0.44em;
  overflow: visible;
  pointer-events: none;
}
.receipts__lede {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-20);
  line-height: var(--lh-body);
  color: var(--ink-70);
  margin: 0;
  max-width: 56ch;
  text-wrap: pretty;
}
.receipts__viewall {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink-20);
  padding-bottom: 4px;
  transition: color var(--d-fast) var(--ease-out), border-color var(--d-fast) var(--ease-out);
}
.receipts__viewall .arrow { display: inline-block; transition: transform var(--d-fast) var(--ease-out); }
.receipts__viewall:hover { color: var(--blue); border-color: var(--blue); }
.receipts__viewall:hover .arrow { transform: translateX(3px); }

.receipts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

/* ---- Browser-framed client website cards ---- */
.work-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.work-card__frame {
  border-radius: var(--r-4);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ink-10);
  box-shadow: var(--shadow-sm);
  transition: transform var(--d-base) var(--ease-out),
              box-shadow var(--d-base) var(--ease-out),
              border-color var(--d-base) var(--ease-out);
}
.work-card:hover .work-card__frame {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ink-20);
}
.work-card__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 14px;
  background: #EBE7DF;
  border-bottom: 1px solid var(--ink-10);
}
.work-card__lights {
  display: inline-flex;
  gap: 6px;
  flex: 0 0 auto;
}
.work-card__lights i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink-20);
}
.work-card__addr {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  line-height: 1;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.01em;
  color: var(--ink-45);
  background: #fff;
  border-radius: var(--r-pill);
  padding: 5px 12px;
  margin-right: 33px; /* balances the 3 lights so the url sits centered */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Subtle Sundae brand mark: the rotated-diamond glyph as the tab favicon, centered to the URL line. */
.work-card__addr::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 1.5px;
  transform: rotate(45deg);
}
.work-card__shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.work-card__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 2px;
}
.work-card__name {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
}
.work-card__tag {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-45);
}

@media (max-width: 980px) {
  .receipts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .receipts { padding: 88px 28px 64px; }
  /* Drop "View all work" below the intro copy, above the first tile. */
  .receipts__head { flex-direction: column; align-items: flex-start; gap: 22px; }
  /* More breathing room between a tile's caption and the next tile. */
  .receipts__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .receipts__dots { width: 70%; }
  /* Let the headline wrap inside the gutters instead of bleeding off-screen. */
  .receipts__h2 span[style*="nowrap"] { white-space: normal !important; }
}

/* ============== QUOTE BAND ============== */
.quote-band {
  position: relative;
  background: var(--cream);  /* editorial cream band — warm, pattern-free */
  padding: 140px 32px 120px;
  overflow: hidden;
}
.quote-band::before {
  /* hairline top rule so the cream reads as a deliberate editorial section */
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--ink-10);
}
.quote-band__pattern {
  /* oversized serif quotation mark, faint, as the only ornament */
  position: absolute;
  top: 40px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 220px;
  line-height: 1;
  color: var(--ink);
  opacity: 0.06;
  pointer-events: none;
}
.quote-band__pattern::before { content: "\201C"; }
.quote-band__pattern { color: var(--ink); opacity: 0.08; }

.quote-band__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 22px;
}
.quote-band__eyebrow-diamond {
  width: 9px; height: 9px;
  background: var(--blue);
  border-radius: 2px;
  transform: rotate(45deg);
}
.quote-band__stars {
  display: flex; justify-content: center; gap: 9px;
  margin: 0 0 34px;
}
.quote-band__stars span {
  width: 11px; height: 11px;
  background: var(--blue);
  border-radius: 2px;
  transform: rotate(45deg);
}
.quote-band__inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.quote-band__quote {
  font-family: var(--font-body);
  font-weight: var(--w-light);
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 56px;
  text-wrap: balance;
}
.quote-band__cite {
  display: inline-flex; align-items: center; gap: 14px;
}
.quote-band__mark {
  display: grid; place-items: center;
  width: 50px; height: 50px;
  position: relative;
}
.quote-band__mark-diamond {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  background: #fff;
  border: 1px solid var(--ink-10);
  border-radius: 7px;
  transform: rotate(45deg);
  box-shadow: var(--shadow-sm);
}
.quote-band__mark-img {
  transform: rotate(-45deg);
  width: auto;
  height: 36px;
  display: block;
}
.quote-band__person {
  display: flex; flex-direction: column;
  text-align: left;
  line-height: 1.3;
}
.quote-band__person strong {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
}
.quote-band__person span {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 12px;
  color: var(--ink-60);
}

@media (max-width: 760px) {
  .quote-band { padding: 96px 24px 80px; }
}

/* ============== FOOTER ============== */
.footer {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  padding: 96px 56px 28px;
  overflow: hidden;
}
.footer__diamond {
  position: absolute;
  right: -100px; bottom: -100px;
  width: 360px; height: 360px;
  background: var(--blue);
  border-radius: 50px;
  transform: rotate(45deg);
  opacity: 0.06;
  pointer-events: none;
}
.footer__inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
}
.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr);
  gap: 56px;
  align-items: start;
  padding-bottom: 96px;
}

.footer__pitch {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 36px;
  padding-bottom: 36px;
}
.footer__h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.022em;
  color: #fff;
  margin: 0;
}
.footer__cols {
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: end;
  gap: 90px;
}
.footer__col h5 {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--on-dark-55);
  margin: 0 0 22px;
}
.footer__col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.footer__col a {
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 15px;
  transition: color var(--d-fast) var(--ease-out);
}
.footer__col a:hover { color: var(--blue-light); }

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer__contact-icon {
  width: 20px; height: 20px;
  flex: none;
  color: var(--blue-light);
  margin-top: 2px;
}
.footer__contact a {
  line-height: var(--lh-cozy);
}

.footer__rule {
  border-top: 1px solid var(--on-dark-08);
  padding-top: 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.footer__wordmark {
  display: inline-flex; align-items: center; gap: 8px;
  justify-self: start;
}
.footer__wordmark-img {
  display: block;
  height: 17px;
  width: auto;
}
.footer__wm-light { color: var(--on-dark-55); font-weight: 500; }

.footer__legal {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--on-dark-55);
  justify-self: center;
}
.footer__legal a { color: var(--on-dark-78); transition: color var(--d-fast) var(--ease-out); }
.footer__legal a:hover { color: var(--blue-light); }
.footer__legal-sep {
  width: 3px; height: 3px; background: var(--on-dark-38); border-radius: 50%;
}

.footer__made {
  display: inline-flex; align-items: center; gap: 12px;
  justify-self: end;
}
.footer__flag {
  display: block;
  width: 67px; height: auto;
  border-radius: 3px;
  flex-shrink: 0;
}
.footer__made-text {
  display: flex; flex-direction: column;
  font-family: var(--font-ui);
  font-size: 11px;
  line-height: 1.4;
  color: var(--on-dark-55);
  text-align: right;
}
.footer__made-text strong {
  font-weight: 800;
  font-size: 12px;
  color: #fff;
  margin-bottom: 1px;
}

@media (max-width: 920px) {
  .footer { padding: 80px 28px 28px; }
  .footer__main { grid-template-columns: 1fr; gap: 48px; padding-bottom: 64px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); justify-content: stretch; gap: 40px; }
  .footer__pitch { grid-column: 1 / -1; }
  .footer__rule { grid-template-columns: 1fr; gap: 18px; }
  .footer__wordmark, .footer__legal, .footer__made { justify-self: start; }
  .footer__made-text { text-align: left; }
}
@media (max-width: 560px) {
  .footer__cols { grid-template-columns: 1fr 1fr; column-gap: 36px; row-gap: 54px; }
  /* "Get in touch" spans full width so the address + phone aren't crammed. */
  .footer__col:last-child { grid-column: 1 / -1; }
}

/* Phone footer: balanced spacing + centered bottom row. */
@media (max-width: 680px) {
  /* Equal space above and below the Services/Find us columns. Drop the
     button's extra inline margin + pitch padding so the gap is driven solely
     by footer__main, and match it with the cols row-gap below (set at 560). */
  .footer__pitch .btn { margin-bottom: 0 !important; }
  .footer__pitch { padding-bottom: 0; }
  .footer__main { gap: 54px; }
  .footer__col h5 { margin-bottom: 16px; }

  .footer__rule { justify-items: center; text-align: center; }
  .footer__wordmark,
  .footer__legal,
  .footer__made { justify-self: center; }
  .footer__legal { flex-wrap: nowrap; }
  .footer__made-text { text-align: center; }
}

/* ============== SERVICES CARDS ============== */
.services {
  position: relative;
  padding: 120px 56px 96px;
  background: var(--paper);
}
.services__inner {
  max-width: 1180px;
  margin: 0 auto;
}
.services__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 56px;
  max-width: 720px;
}
.services__h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 16px;
  text-wrap: balance;
}
.services__lede {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-20);
  line-height: var(--lh-body);
  color: var(--ink-70);
  margin: 0;
  max-width: 56ch;
  text-wrap: pretty;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--ink-10);
  border-radius: var(--r-5);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
  transition: border-color var(--d-fast) var(--ease-out),
              box-shadow var(--d-base) var(--ease-out),
              transform var(--d-base) var(--ease-out);
}
.service-card:hover {
  border-color: var(--ink-20);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-card__num {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-45);
}
.service-card__icon {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  background: rgba(34, 141, 249, 0.10);
  color: var(--blue);
  border-radius: var(--r-3);
  margin-bottom: 6px;
}
.service-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.service-card__sub {
  display: block;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-60);
  letter-spacing: 0;
  margin-top: 4px;
}
.service-card__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-70);
  margin: 0;
  text-wrap: pretty;
}
.service-card__link {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-45);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color var(--d-fast) var(--ease-out);
}
.service-card__link .arrow { display: inline-block; transition: transform var(--d-fast) var(--ease-out); }
.service-card__link:hover { color: var(--blue-deep); }
.service-card__link:hover .arrow { transform: translateX(3px); }

@media (max-width: 1080px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .services { padding: 88px 28px 64px; }
  .services__grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
}

/* ============== $97 OFFER BAND ============== */
.offer {
  position: relative;
  background: var(--cream);
  padding: 120px 56px;
}
.offer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.offer__h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 4.8vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.020em;
  color: var(--ink);
  margin: 0 0 20px;
  text-wrap: balance;
}
.offer__lede {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-20);
  line-height: var(--lh-body);
  color: var(--ink-70);
  margin: 0 0 28px;
  max-width: 44ch;
}
.offer__fineprint {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--ink-45);
  margin: -18px 0 26px;
}
.offer__ctas {
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
}
.offer__learn-more {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 15px;
  color: var(--ink-60);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 160ms var(--ease-out, cubic-bezier(0.22,0.61,0.36,1)),
              border-color 160ms var(--ease-out, cubic-bezier(0.22,0.61,0.36,1));
}
.offer__learn-more:hover {
  color: var(--blue-deep);
  border-bottom-color: var(--blue-deep);
}
.offer__learn-more .arrow {
  transition: transform 160ms var(--ease-out, cubic-bezier(0.22,0.61,0.36,1));
}
.offer__learn-more:hover .arrow {
  transform: translateX(3px);
}

.offer__card {
  background: #fff;
  border-radius: var(--r-5);
  padding: 36px 36px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ink-10);
}
.offer__card-head {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ink-10);
  margin-bottom: 22px;
}
.offer__price {
  display: flex; align-items: baseline; gap: 6px;
}
.offer__price-num {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.022em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.offer__price-unit {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink-60);
}
.offer__price-foot {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--ink-45);
  margin: 10px 0 0;
}
.offer__feats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.offer__feats li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: start;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-70);
}
.offer__feats strong {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  margin-right: 4px;
}
.offer__diamond {
  display: inline-block;
  width: 9px; height: 9px;
  margin-top: 7px;
  background: var(--blue);
  transform: rotate(45deg);
  border-radius: 2px;
  flex-shrink: 0;
}

@media (max-width: 880px) {
  .offer { padding: 88px 28px; }
  .offer__inner { grid-template-columns: 1fr; gap: 48px; }
  .offer__card { padding: 28px 24px 24px; }
  .offer__price-num { font-size: 56px; }
}

/* ============================================================
   Motion — entrance only. Fast, polite, no bounce.
   All disabled under prefers-reduced-motion.
   ============================================================ */

/* 1. Hero load-in: headline, lede, CTAs rise + fade with a clear stagger.
   JS-driven so the elements are never left stuck-invisible. Base state is
   visible; .hero-anim (added by JS before paint) sets the hidden start. */
/* The H1 is the LCP element — it is intentionally NOT hidden here, so it
   paints on first frame instead of waiting for JS + a 900ms fade. Only the
   supporting lede + CTAs ride the entrance animation. */
.hero-anim .hero__lede,
.hero-anim .hero__ctas {
  opacity: 0;
  transform: translateY(42px);
}
.hero__lede,
.hero__ctas {
  transition: opacity 900ms var(--ease-out, cubic-bezier(0.22,0.61,0.36,1)),
              transform 900ms var(--ease-out, cubic-bezier(0.22,0.61,0.36,1));
  transition-delay: var(--hero-delay, 0ms);
}
.hero-in .hero__lede,
.hero-in .hero__ctas {
  opacity: 1;
  transform: none;
}
.hero__lede { --hero-delay: 200ms; }
.hero__ctas { --hero-delay: 380ms; }

/* Hero diamonds scale + fade in after the text settles. */
.hero-anim .hero__diamond { opacity: 0; transform: scale(0.4) rotate(45deg); }
.hero__diamond {
  transition: opacity 700ms var(--ease-out, cubic-bezier(0.22,0.61,0.36,1)) 760ms,
              transform 700ms var(--ease-out, cubic-bezier(0.22,0.61,0.36,1)) 760ms;
}
.hero-in .hero__diamond--a { opacity: 0.22; transform: rotate(45deg); }
.hero-in .hero__diamond--c { opacity: 0.14; transform: rotate(45deg); }
.hero-in .hero__diamond--d { opacity: 0.16; transform: rotate(45deg); }

/* 2. Scroll reveal: blocks fade up as they enter the viewport. */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 720ms var(--ease-out, cubic-bezier(0.22,0.61,0.36,1)),
              transform 720ms var(--ease-out, cubic-bezier(0.22,0.61,0.36,1));
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 3. Marker underline draws itself (left-to-right wipe) when revealed. */
.underline-blue__stroke {
  clip-path: inset(0 100% 0 0);
}
.underline-blue.is-drawn .underline-blue__stroke {
  transition: clip-path 640ms var(--ease-out, cubic-bezier(0.22,0.61,0.36,1)) 220ms;
  clip-path: inset(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-anim .hero__lede,
  .hero-anim .hero__ctas,
  .hero-anim .hero__diamond { opacity: 1; transform: none; transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .underline-blue__stroke { clip-path: none; }
}

/* ============================================================
   Mobile refinements (mobile-styling pass)
   ============================================================ */

/* Tighten the nav gutter so the logo isn't pinned to the edge on phones. */
@media (max-width: 680px) {
  .nav { padding: 20px 24px 0; }
  .nav__logo img,
  .nav__logo-sub { width: 138px; }
}

