@font-face {
  font-family: 'Fraunces';
  src: url('/static/fonts/fraunces.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/static/fonts/fraunces-italic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('/static/fonts/jost.woff2') format('woff2');
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #182019;
  --ground-raised: #212b23;
  --ground-line: rgba(199, 164, 89, 0.16);
  --gold: #c7a459;
  --gold-bright: #e3c787;
  --linen: #e9e2d2;
  --linen-dim: #a9a290;
  --font-display: 'Fraunces', serif;
  --font-label: 'Jost', sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background-color: var(--ground);
  background-image:
    linear-gradient(rgba(9, 13, 10, 0.55), rgba(9, 13, 10, 0.55)),
    url('/static/img/hero-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--linen);
  font-family: var(--font-label);
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--gold-bright); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  main.fade-in {
    animation: rise-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  @keyframes rise-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* --- site header (not shown on the bare landing page) --- */
header.site-header {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--ground-line);
}
header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header.site-header a.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
header.site-header a.brand:hover { opacity: 0.82; }
header.site-header .brand-img {
  height: 36px;
  width: auto;
  display: block;
}
header.site-header nav a {
  position: relative;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--linen-dim);
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.2s ease;
}
header.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
header.site-header nav a:hover { color: var(--gold-bright); }
header.site-header nav a:hover::after { transform: scaleX(1); transform-origin: left; }

main { padding: 3.5rem 0 5rem; }

.eyebrow {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--linen-dim);
  margin: 0 0 0.75rem;
}

h1.page-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 3rem);
  color: var(--gold-bright);
  text-wrap: balance;
  margin: 0 0 0.75rem;
}

p.lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--linen-dim);
  margin: 0 0 2.5rem;
  max-width: 46ch;
}

p.body-copy {
  font-size: 15.5px;
  color: var(--linen);
  max-width: 60ch;
  margin: 0 0 1.5rem;
}

/* --- landing page: the hover interaction --- */
.landing-stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
  /* body already supplies the malachite background; this adds a little
     extra top/bottom depth specifically around the centered wordmark */
  background-image: linear-gradient(180deg, rgba(10, 14, 11, 0.2) 0%, rgba(10, 14, 11, 0) 40%, rgba(10, 14, 11, 0.3) 100%);
}

@media (prefers-reduced-motion: no-preference) {
  .landing-mark {
    animation: mark-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.1s;
  }
  @keyframes mark-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* .landing-mark-wrap is the ONLY thing .landing-stage's flex centering
   measures -- .landing-segments is taken out of normal flow (position:
   absolute) below, so opening/closing the menu can never change this
   wrap's height and can never shift the wordmark's on-screen position.

   Real bug this fixes (2026-08-06, reported from an actual phone): the
   old layout centered the wordmark+menu as ONE flex block, so opening
   the menu (0 -> ~400px+) made the whole block recentre, physically
   moving the wordmark upward WHILE a tap was still in progress -- a menu
   item would slide into the exact spot the finger was touching and get
   "accidentally" clicked, jumping straight to a sub-page instead of
   showing the menu. Desktop never hit this since a mouse hover doesn't
   involve a moving touch point. Pinning the wordmark's position (instead
   of just enlarging max-height, which was a separate earlier fix for a
   different symptom) removes the root cause rather than papering over
   it. */
.landing-mark-wrap {
  position: relative;
}

.landing-mark {
  cursor: default;
  transition: opacity 0.5s ease;
  margin: 0;
  line-height: 0;
}
.landing-mark-img {
  width: min(90vw, 620px);
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.35));
}

.landing-segments {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.6s ease 0.15s;
  margin-top: 1.75rem;
  /* below the fold on a short viewport is fine -- the page scrolls (see
     the 2026-08-06 fix for the max-height:300px clipping bug), it just
     needed to never move the wordmark, which absolute positioning now
     guarantees regardless of item count. */
}

.landing-stage.open .landing-mark {
  opacity: 0.18;
}
.landing-stage.open .landing-segments {
  opacity: 1;
  max-height: 1200px;
}

/* Only apply the hover-reveal fallback on devices with a real pointer
   (mouse/trackpad). Mobile browsers commonly simulate a "sticky :hover"
   on tap as a compatibility fallback for desktop-authored CSS -- without
   this guard, a tap could trigger the reveal via :hover on top of (or
   instead of) the deliberate JS .open toggle, reintroducing the same
   shifting-target problem this fix exists to prevent. :focus-within is
   left unconditional -- keyboard/tab navigation isn't touch-driven and
   should keep working everywhere. */
@media (hover: hover) and (pointer: fine) {
  .landing-stage:hover .landing-mark { opacity: 0.18; }
  .landing-stage:hover .landing-segments {
    opacity: 1;
    max-height: 1200px;
  }
}
.landing-stage:focus-within .landing-mark { opacity: 0.18; }
.landing-stage:focus-within .landing-segments {
  opacity: 1;
  max-height: 1200px;
}

.landing-segments a {
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--linen);
  text-decoration: none;
  padding: 0.4rem 0;
}
.landing-segments a:hover { color: var(--gold-bright); }

.landing-footer-link {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--linen-dim);
  text-decoration: none;
}
.landing-footer-link:hover { color: var(--gold); }

/* --- cards (segment lists, service lists) --- */
.group-heading {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2.25rem 0 0.75rem;
}
.group-heading:first-of-type { margin-top: 1rem; }
.card-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--ground-line);
  border: 1px solid var(--ground-line);
  margin-top: 1rem;
}
.card {
  position: relative;
  background: var(--ground);
  padding: 1.5rem 1.75rem 1.5rem 2.1rem;
  text-decoration: none;
  display: block;
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.25s ease;
}
.card:hover {
  background: var(--ground-raised);
  padding-left: 2.35rem;
}
.card:hover::before { transform: scaleY(1); }
.card .card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--gold-bright);
  margin: 0 0 0.3rem;
}
.card .card-sub {
  font-family: var(--font-label);
  font-size: 13.5px;
  color: var(--linen-dim);
  margin: 0;
}

/* --- pricing table --- */
.pricing {
  margin: 2.25rem 0;
  padding: 0.25rem 0 0.5rem;
  border-top: 1px solid var(--ground-line);
  border-bottom: 1px solid var(--ground-line);
  position: relative;
}
.pricing::before, .pricing::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--gold);
  opacity: 0.45;
}
.pricing::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.pricing::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0.25rem;
  font-size: 14px;
}
.pricing-row + .pricing-row { border-top: 1px solid var(--ground-line); }
.pricing-row .label { color: var(--linen-dim); }
.pricing-row .price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* --- forms --- */
form.enquiry-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
}
form.enquiry-form label {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--linen-dim);
}
form.enquiry-form input,
form.enquiry-form textarea {
  background: var(--ground-raised);
  border: 1px solid var(--ground-line);
  color: var(--linen);
  font-family: var(--font-label);
  font-size: 15px;
  padding: 0.7rem 0.8rem;
  margin-top: 0.35rem;
  width: 100%;
}
form.enquiry-form input:focus,
form.enquiry-form textarea:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}
form.enquiry-form textarea { min-height: 120px; resize: vertical; }
form.enquiry-form .field-note {
  font-size: 12px;
  color: var(--linen-dim);
  margin-top: 0.3rem;
}
form.enquiry-form button {
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.8rem 1.6rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
form.enquiry-form button:hover { background: var(--gold); color: var(--ground); }

.form-error {
  color: #e0a37e;
  font-size: 13.5px;
  margin-bottom: 0.5rem;
}

.no-call-note {
  font-size: 12.5px;
  color: var(--linen-dim);
  margin-top: 1rem;
  max-width: 46ch;
}

footer.site-footer {
  border-top: 1px solid var(--ground-line);
  padding: 2.5rem 0;
  text-align: center;
}
footer.site-footer a.enquire-link {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--linen-dim);
  text-decoration: none;
}
footer.site-footer a.enquire-link:hover { color: var(--gold); }

@media (max-width: 560px) {
  header.site-header nav a { margin-left: 1rem; }

  /* Longer price strings (e.g. "$45-65/hr, or $400-1,200 packaged") were
     overflowing past the viewport edge on mobile -- `white-space: nowrap`
     plus a side-by-side flex row never wraps, it just runs off-screen.
     Stack label above price and let it wrap normally instead. */
  .pricing-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  .pricing-row .price {
    white-space: normal;
  }
}
