/* Liquid glass across every page (loaded last on all pages).
   The recipe matches the homepage: a translucent pane that blurs and lifts what is behind it, a bright rim
   along the top edge, a thin inner line, a soft corner sheen and a deep shadow. Inner pages gain soft brand
   glows behind their content, so the glass has light to catch. Photos sit inside glass borders and stay
   full and sharp. The header keeps its phone rule (no blur on phones: it broke the menu once).
   Reduced transparency or no backdrop blur: solid panes with the same rims. */

:root {
  --gs-rim: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 0 0 1px rgba(255, 255, 255, .11);
  --gs-sheen: radial-gradient(120% 90% at 8% 0%, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 52%);
  --gs-lift: 0 40px 80px -42px rgba(0, 0, 0, .85);
  --gs-blur: blur(18px) saturate(165%);
  --gs-pane: rgba(255, 255, 255, .045);
}

/* ---------- Light behind the glass on inner pages: soft green and gold glows, fixed to the screen ---------- */
.site-dark { position: relative; isolation: isolate; }
.site-dark::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(42% 38% at 12% 22%, rgba(4, 89, 42, .32), rgba(4, 89, 42, 0) 70%),
    radial-gradient(38% 34% at 88% 70%, rgba(191, 144, 0, .14), rgba(191, 144, 0, 0) 70%),
    radial-gradient(30% 30% at 70% 10%, rgba(4, 89, 42, .16), rgba(4, 89, 42, 0) 70%);
}

/* ---------- Shared glass pane ---------- */
.site-dark .team-card,
.site-dark .about-value,
.site-dark .service-callout,
.site-dark .rider__sheet,
.site-dark .contact-form,
.site-dark .contact-detail,
.site-dark .draft-note,
.site-dark .legal-content,
.site-dark .quote-inner,
.site-dark .statement,
.site-dark .portfolio-empty {
  border-color: transparent;
  background: var(--gs-sheen), var(--gs-pane);
  -webkit-backdrop-filter: var(--gs-blur);
  backdrop-filter: var(--gs-blur);
  box-shadow: var(--gs-rim), var(--gs-lift);
}
.site-dark .service-callout { background: radial-gradient(80% 120% at 100% 0%, rgba(191, 144, 0, .16), transparent 60%), var(--gs-sheen), var(--gs-pane); }
.site-dark .team-card:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 0 0 1px rgba(191, 144, 0, .45), var(--gs-lift); }

/* Panes that had no padding of their own */
.site-dark .about-value { padding: 22px 24px; border-radius: 22px; }
.site-dark .contact-detail { padding: 18px 20px; border-radius: 20px; }
.site-dark .legal-content { padding: clamp(24px, 4vw, 48px); border-radius: 28px; }
.site-dark .quote-inner { padding: clamp(28px, 4vw, 56px); border-radius: clamp(26px, 3vw, 40px); }
.site-dark .statement { padding: clamp(28px, 4vw, 56px); border-radius: clamp(26px, 3vw, 40px); }

/* ---------- Photos and film: glass borders ---------- */
.site-dark .page-hero__visual img,
.site-dark .about-image,
.site-dark .portfolio-photo,
.site-dark .service-row-media,
.site-dark .contact-map,
.site-dark .team-card__avatar {
  border: 6px solid rgba(255, 255, 255, .07);
  background-clip: padding-box;
  box-shadow: var(--gs-rim), 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.site-dark .page-hero__visual img { border-radius: 28px; border-width: 8px; }
.site-dark .portfolio-item:hover .portfolio-photo { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 0 0 1px rgba(191, 144, 0, .5), 0 36px 70px -30px rgba(191, 144, 0, .35); }
.site-dark .sd-frame { border: 8px solid rgba(255, 255, 255, .07); background-clip: padding-box; box-shadow: var(--gs-rim), 0 50px 100px -50px rgba(0, 0, 0, .9); }

/* Service rows: each row lifts into a glass pane on hover */
.site-dark .service-row { border-radius: 24px; }
.site-dark .service-row:hover { background: var(--gs-sheen), rgba(255, 255, 255, .035); box-shadow: var(--gs-rim); }

/* ---------- Controls: glass pills ---------- */
.site-dark .filter-button:not([aria-pressed="true"]),
.site-dark .button--green,
.site-dark .button--outline,
.site-dark .main-nav .button {
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.site-dark .button:not(.button--green):not(.button--outline) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 14px 34px -14px rgba(191, 144, 0, .7); }
.site-dark .contact-form input,
.site-dark .contact-form select,
.site-dark .contact-form textarea {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .28);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4);
}
.site-dark .contact-form input:focus,
.site-dark .contact-form select:focus,
.site-dark .contact-form textarea:focus { border-color: rgba(191, 144, 0, .7); box-shadow: 0 0 0 3px rgba(191, 144, 0, .2); }

/* Show day: the step line glows gold where it is active */
.site-dark .sd-step { border-left-color: rgba(255, 255, 255, .12); }
.site-dark .sd-step.is-on { border-left-color: #bf9000; box-shadow: -8px 0 18px -10px rgba(191, 144, 0, .7); }

/* ---------- Footer, every page: a glass band with glass social buttons ---------- */
.site-footer {
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(4, 89, 42, .2), rgba(4, 89, 42, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)),
    #030403 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  border-top-color: transparent !important;
}
.footer-socials a:not(:hover) {
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 0 0 1px rgba(255, 255, 255, .12);
}

/* ---------- Fallbacks ---------- */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-dark .team-card, .site-dark .about-value, .site-dark .service-callout, .site-dark .rider__sheet,
  .site-dark .contact-form, .site-dark .contact-detail, .site-dark .draft-note, .site-dark .legal-content,
  .site-dark .quote-inner, .site-dark .statement, .site-dark .portfolio-empty { background-color: #121412; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-dark .team-card, .site-dark .about-value, .site-dark .service-callout, .site-dark .rider__sheet,
  .site-dark .contact-form, .site-dark .contact-detail, .site-dark .draft-note, .site-dark .legal-content,
  .site-dark .quote-inner, .site-dark .statement, .site-dark .portfolio-empty,
  .site-dark .filter-button, .site-dark .button--green, .site-dark .button--outline, .site-dark .main-nav .button {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #121412;
  }
}

/* ---------- Services hero: two short lines and a film in a glass frame ---------- */
.site-dark .page-hero--stage h1 { max-width: 14ch; margin-bottom: 0; }
.site-dark .page-hero__kicker {
  margin: .08em 0 0;
  color: #bf9000;
  font-family: var(--font-display, inherit);
  font-size: clamp(40px, 5.6vw, 84px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.045em;
  text-shadow: 0 0 40px rgba(191, 144, 0, .35);
}
.site-dark .page-hero__line { max-width: 36ch; margin: clamp(18px, 2.4vw, 28px) 0 0; color: rgba(243, 240, 232, .76); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; }
.site-dark .page-hero__visual--film video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, .08);
  border-radius: clamp(28px, 3vw, 44px);
  background: #3a3210 center / cover no-repeat;
  background-clip: padding-box;
  box-shadow: var(--gs-rim), 0 50px 100px -40px rgba(191, 144, 0, .55), 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.site-dark .page-hero--stage h1, .site-dark .page-hero__kicker { max-width: 12ch; font-size: clamp(42px, 5vw, 78px); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }

/* ---------- Footer, every page: five columns (brand, Work, Plan with us, Policies, Contact) ---------- */
.footer-main--five { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; padding-block: clamp(56px, 7vw, 88px); }
.footer-main--five .footer-brand p { color: rgba(243, 240, 232, .66); font-size: 14px; line-height: 1.6; }
.footer-main--five .footer-brand .footer-tag { margin-top: 22px; color: #f3f0e8; font-family: var(--font-display, inherit); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.footer-main--five .footer-brand .footer-tag + p { margin-top: 8px; }
.footer-main--five .footer-col h2 { margin-bottom: 18px; color: #bf9000; font-size: 11px; letter-spacing: .2em; }
.footer-main--five .footer-col a { margin: 0 0 12px; color: rgba(243, 240, 232, .88); font-size: 14.5px; transition: color .2s ease; }
.footer-main--five .footer-col a:hover { color: #bf9000; text-decoration: none; }
.footer-contact a[href^="tel:"] { color: #f3f0e8; font-size: 16px; font-weight: 700; letter-spacing: .01em; }
.footer-contact address { margin-top: 6px; color: rgba(243, 240, 232, .6); font-size: 14px; font-style: normal; line-height: 1.6; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #bf9000; }
@media (max-width: 1100px) {
  .footer-main--five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-main--five .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-main--five { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-main--five .footer-contact { grid-column: 1 / -1; }
  .footer-main--five .footer-col a { min-height: 32px; display: flex; align-items: center; margin-bottom: 4px; }
}

/* ---------- Policy pages: a contents list, readable lists, anchors clear of the sticky header ---------- */
.site-dark .legal-content h2 { scroll-margin-top: 110px; color: #f3f0e8; }
.site-dark .legal-content ul { padding-left: 1.2em; }
.site-dark .legal-content li { margin: 0 0 10px; line-height: 1.65; }
.site-dark .legal-content li strong { color: #f3f0e8; }
.legal-toc { margin: 0 0 8px; padding: 20px 24px; border-radius: 20px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.legal-toc p { margin: 0 0 10px; color: #bf9000; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.legal-toc ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 20px; margin: 0; padding-left: 1.3em; }
.site-dark .legal-toc li { margin: 0; color: rgba(243, 240, 232, .5); }
.site-dark .legal-toc a { color: rgba(243, 240, 232, .88); text-decoration: none; }
.site-dark .legal-toc a:hover { color: #bf9000; }
.site-dark .legal-content .legal-updated { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(243, 240, 232, .5); font-size: 13px; }
.site-dark .page-hero .page-hero__line { max-width: 52ch; margin-top: 14px; color: rgba(243, 240, 232, .72); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; }
