/* ==========================================================================
   MR Ambition Modern Construction Ltd.
   Design C — "Concrete & safety yellow"
   Custom layer sitting on top of Tailwind CSS (loaded after Tailwind).
   ========================================================================== */

:root {
  /* Ground */
  --c-concrete:      #EFEBE5;
  --c-concrete-2:    #E4DED5;
  --c-concrete-line: #D6CEC3;

  /* Ink — surfaces */
  --c-ink:           #5A3A2E;
  --c-ink-2:         #6B4738;
  --c-ink-line:      #7D5747;
  --c-ink-deep:      #4A2F26;
  --c-ink-deep-line: #63433A;

  /* Ink — text, rules and borders. Darker than the surfaces on purpose,
     so copy stays crisp while the bands keep the lighter brown. */
  --c-ink-text:      #38281F;

  /* Accent */
  --c-safety:        #F2C318;
  --c-safety-soft:   #F7E7A6;
  --c-safety-ink:    #3A2A10;

  /* Text */
  --c-body:          #3A2C26;
  --c-muted:         #574841;
  --c-on-dark:       #F0E7E2;
  --c-on-dark-2:     #D8C8BF;
  --c-on-dark-3:     #E6DAD3;

  /* Support */
  --c-whatsapp:      #176B40;
  --c-field-line:    #9A887E;

  /* Rhythm */
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 8vw, 128px);
  --header-h: 77px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--c-concrete);
  color: var(--c-ink-text);
  font-family: 'Work Sans', 'Segoe UI', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
input, select, textarea, button { font: inherit; }

/* Square corners everywhere — this design has no rounded edges. */
input, select, textarea, button { border-radius: 0; }

/* Visible, on-brand focus ring (never removed) */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--c-safety);
  outline-offset: 2px;
}
.on-ink :where(a, button):focus-visible,
.focus-light:focus-visible {
  outline-color: var(--c-safety);
}

::selection { background: var(--c-safety); color: var(--c-ink-text); }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */

.shell {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section-y { padding-top: var(--section-y); padding-bottom: var(--section-y); }

/* --------------------------------------------------------------------------
   Type scale (fluid, matches the artboards)
   -------------------------------------------------------------------------- */

.t-display {
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.t-page {
  font-size: clamp(40px, 5.4vw, 80px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.t-section {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.t-band {
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.t-lead {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--c-body);
}
.t-pillar {
  font-size: clamp(40px, 4.4vw, 60px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}
.t-stage {
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}
.t-service {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

/* Yellow marker behind a run of heading text */
.marker { box-shadow: inset 0 -0.32em 0 var(--c-safety); }

/* Small uppercase tag */
.eyebrow {
  display: inline-block;
  padding: 6px 10px;
  background: var(--c-safety);
  color: var(--c-ink-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Buttons — square, with a hard offset shadow instead of a glow
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  min-height: 56px;
  font-size: 16px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-ink {
  background: var(--c-ink);
  color: #FFFFFF;
  box-shadow: 5px 5px 0 var(--c-safety);
}
.btn-ink:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--c-safety); }
.btn-ink:active { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--c-safety); }

.btn-yellow {
  background: var(--c-safety);
  color: var(--c-ink-text);
  box-shadow: 4px 4px 0 var(--c-ink-text);
}
.btn-yellow:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--c-ink-text); }
.btn-yellow:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--c-ink-text); }

.btn-outline {
  background: transparent;
  color: var(--c-ink-text);
  border: 2px solid var(--c-ink-text);
  padding: 0 24px;
}
.btn-outline:hover { background: var(--c-ink); color: #FFFFFF; }

.btn-outline-light {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid var(--c-ink-line);
  padding: 0 24px;
}
.btn-outline-light:hover { background: var(--c-ink-2); }

.btn-flat-yellow {
  background: var(--c-safety);
  color: var(--c-ink-text);
  min-height: 52px;
}
.btn-flat-yellow:hover { background: #E0B30F; }

.btn-plain {
  background: transparent;
  color: var(--c-ink-text);
  border: 1px solid var(--c-field-line);
}
.btn-plain:hover { border-color: var(--c-ink-text); background: #F4F3EF; }

/* Size modifiers (always written after the colour variants) */
.btn-nav  { min-height: 52px; padding: 0 22px; font-size: 15px; }
.btn-band { min-height: 58px; }
.btn-tall { min-height: 60px; }
.btn-full { width: 100%; }

/* --------------------------------------------------------------------------
   Surfaces
   -------------------------------------------------------------------------- */

/* White card with a concrete-grey hard shadow */
.card-hard {
  background: #FFFFFF;
  box-shadow: 6px 6px 0 var(--c-concrete-line);
}
.card-yellow-shadow { background: #FFFFFF; box-shadow: 8px 8px 0 var(--c-safety); }

/* Dark "talk to us" block used on every inner page */
.talk-card {
  background: var(--c-ink);
  color: #FFFFFF;
  padding: 26px;
  box-shadow: 8px 8px 0 var(--c-safety);
}

/* Services pillar: a white card lifted off the dark band, so the copy is
   read as dark-on-light like the rest of the site. The yellow edge keeps
   the brand accent that the card background used to carry. */
.pillar {
  background: #FFFFFF;
  border-top: 5px solid var(--c-safety);
  box-shadow: 7px 7px 0 rgba(40, 26, 20, .32);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 rgba(40, 26, 20, .32);
}

/* Photo / card lift */
.lift { transition: transform .2s ease, box-shadow .2s ease; }
.lift:hover { transform: translate(-2px, -2px); }

/* Image placeholder tile — "[photo to be supplied]" */
.placeholder {
  background: var(--c-concrete-2);
  color: var(--c-muted);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Construction-site detailing
   -------------------------------------------------------------------------- */

/* Dashed survey rule above the process steps */
.stripe-rule {
  background-image: repeating-linear-gradient(90deg, var(--c-ink-text) 0 2px, transparent 2px 24px);
  background-size: 100% 12px;
  background-repeat: no-repeat;
  background-position: top left;
  padding-top: 36px;
}
.stripe-divider {
  height: 14px;
  background-image: repeating-linear-gradient(90deg, var(--c-ink-text) 0 2px, transparent 2px 24px);
  background-size: 100% 12px;
  background-repeat: no-repeat;
  background-position: top left;
}

/* Hazard tape at the top of the footer */
.hazard {
  height: 10px;
  background-image: repeating-linear-gradient(-45deg, var(--c-safety) 0 14px, var(--c-ink-deep) 14px 28px);
}

/* Yellow block offset behind a photo frame */
.offset-frame { position: relative; padding: 0 22px 22px 0; }
.offset-frame::before {
  content: "";
  position: absolute;
  inset: 22px 0 0 22px;
  background: var(--c-safety);
}
.offset-frame > * { position: relative; }

.offset-frame-sm { position: relative; padding: 0 18px 18px 0; }
.offset-frame-sm::before {
  content: "";
  position: absolute;
  inset: 18px 0 0 18px;
  background: var(--c-safety);
}
.offset-frame-sm > * { position: relative; }

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--c-concrete);
  border-bottom: 2px solid var(--c-ink-text);
}
.site-header.is-stuck { box-shadow: 0 6px 0 rgba(90, 58, 46, .06); }

.nav-link {
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  font-size: 16px;
  font-weight: 600;
}
.nav-link:hover { border-bottom-color: var(--c-ink-text); }
.nav-link[aria-current="page"] { border-bottom-color: var(--c-safety); color: var(--c-ink-text); }

/* --------------------------------------------------------------------------
   Mobile drawer (mirrors the "Menu open · phone" artboard)
   -------------------------------------------------------------------------- */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}
.drawer.is-open { display: block; }
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(74, 47, 38, .6);
  opacity: 0;
  transition: opacity .2s ease;
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(390px, 100%);
  height: 100%;
  background: var(--c-ink);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .22s ease;
  overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-ink-line);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.drawer__link[aria-current="page"] { color: var(--c-safety); }

body.is-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.field {
  height: 52px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid var(--c-field-line);
  background: #FFFFFF;
  color: var(--c-ink-text);
}
textarea.field { height: 120px; padding: 14px 16px; resize: vertical; }
.field:focus { border-color: var(--c-ink-text); }
.field-label { font-size: 14px; font-weight: 700; color: var(--c-body); }
.field[aria-invalid="true"] { border-color: #B3261E; border-width: 2px; }

.field-error {
  display: none;
  font-size: 13px;
  font-weight: 600;
  color: #B3261E;
}
.field-error.is-shown { display: block; }

.form-note {
  display: none;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--c-safety-soft);
  border-left: 4px solid var(--c-safety);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink-text);
}
.form-note.is-shown { display: flex; }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */

.faq__item { background: #FFFFFF; box-shadow: 6px 6px 0 var(--c-concrete-line); }
.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 20px 24px;
  min-height: 68px;
  font-size: 17px;
  font-weight: 700;
  color: var(--c-ink-text);
  cursor: pointer;
}
.faq__icon { transition: transform .2s ease; flex-shrink: 0; }
.faq__trigger[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}
.faq__panel.is-open { grid-template-rows: 1fr; }
.faq__panel > div { overflow: hidden; }
.faq__body {
  padding: 0 24px 22px;
  font-size: 16px;
  color: var(--c-muted);
}

/* --------------------------------------------------------------------------
   Lightbox (project photos)
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(74, 47, 38, .92);
}
.lightbox.is-open { display: flex; }
.lightbox__figure { margin: 0; max-width: 1100px; width: 100%; }
.lightbox__figure img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: var(--c-ink-deep);
}
.lightbox__caption {
  margin-top: 14px;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
}
.lightbox__close {
  position: absolute;
  top: clamp(12px, 3vw, 28px);
  right: clamp(12px, 3vw, 28px);
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-safety);
  border: 0;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Back to top
   -------------------------------------------------------------------------- */

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-ink);
  border: 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 4px 4px 0 var(--c-safety);
}
.to-top.is-shown { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease;
}

/* --------------------------------------------------------------------------
   Home page — credential chip, facts band, photo story
   -------------------------------------------------------------------------- */

/* "Registered company" chip under the hero copy */
.credential {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  background: #FFFFFF;
  border: 1px solid var(--c-concrete-line);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-ink-text);
}
.credential__no {
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  font-weight: 600;
  color: var(--c-muted);
}

/* Four-up facts band sitting directly under the hero */
.fact {
  padding: 2px 0 2px 20px;
  border-left: 3px solid var(--c-safety);
}
.fact__value {
  display: block;
  font-size: clamp(25px, 2.8vw, 33px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--c-ink-text);
}
.fact__label {
  display: block;
  margin-top: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-muted);
}

/* One photo step in the "from the ground up" band */
.story {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--c-ink);
}
.story img {
  display: block;
  width: 100%;
  height: clamp(230px, 25vw, 320px);
  object-fit: cover;
  transition: transform .4s ease;
}
.story:hover img { transform: scale(1.05); }
.story__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 16px 15px;
  background: linear-gradient(to top, rgba(74, 47, 38, .93) 28%, rgba(74, 47, 38, 0));
  color: #FFFFFF;
}
.story__step {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--c-safety);
}
.story__name {
  display: block;
  margin-top: 3px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
}

/* Photo across the head of a services pillar */
.pillar__img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Background textures — drawing board, grit and hazard edging
   -------------------------------------------------------------------------- */

/* A section that can carry a texture: the texture goes in ::before so the
   content keeps its own stacking context and stays perfectly legible. */
.tex { position: relative; isolation: isolate; }
.tex > * { position: relative; z-index: 1; }
.tex::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Blueprint squares, like the gridded paper the plans are drawn on. */
.tex-grid::before {
  background-image:
    linear-gradient(to right, rgba(90, 58, 46, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(90, 58, 46, .055) 1px, transparent 1px),
    linear-gradient(to right, rgba(90, 58, 46, .11) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(90, 58, 46, .11) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px, 140px 140px, 140px 140px;
  -webkit-mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, .35));
          mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, .35));
}

/* The same grid on the dark band, drawn in light instead. */
.tex-grid-dark::before {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .038) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 78%);
          mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 78%);
}

/* Soft yellow wash sweeping in from a corner. */
.tex-wash::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -180px;
  right: -140px;
  width: min(620px, 72vw);
  height: min(620px, 72vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 195, 24, .22), transparent 68%);
  pointer-events: none;
}

/* Fine concrete grit, kept very low contrast. */
.tex-grit::before {
  background-image: radial-gradient(rgba(90, 58, 46, .22) .5px, transparent .5px);
  background-size: 5px 5px;
  opacity: .5;
}

/* Hazard tape as a section edge. */
.edge-hazard {
  height: 8px;
  background-image: repeating-linear-gradient(-45deg, var(--c-safety) 0 12px, var(--c-ink-text) 12px 24px);
}

/* Oversized ghost numeral behind a heading. */
.ghost-no {
  position: absolute;
  z-index: -1;
  font-size: clamp(120px, 17vw, 230px);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.05em;
  color: rgba(90, 58, 46, .045);
  pointer-events: none;
  user-select: none;
}

/* --------------------------------------------------------------------------
   Home page — service chooser, reasons, FAQ teaser
   -------------------------------------------------------------------------- */

/* One of the six pickable service cards */
.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 22px;
  background: #FFFFFF;
  border: 1px solid var(--c-concrete-line);
  border-top: 4px solid var(--c-ink-text);
  transition: transform .2s ease, box-shadow .2s ease, border-top-color .2s ease;
}
.offer:hover {
  transform: translateY(-4px);
  border-top-color: var(--c-safety);
  box-shadow: 7px 7px 0 var(--c-concrete-line);
}
.offer__no {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  color: var(--c-muted);
}
.offer__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.offer__blurb { margin: 0; font-size: 15px; line-height: 1.55; color: var(--c-muted); }

/* The little "what it covers" tags inside a service card */
.tag {
  display: inline-block;
  padding: 5px 10px;
  background: var(--c-concrete);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-body);
}
.offer:hover .tag { background: var(--c-safety-soft); }

/* "Why work with us" reason block */
.reason {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--c-ink-line);
}
.reason__no {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-safety);
  color: var(--c-ink-text);
  font-size: 14px;
  font-weight: 800;
}
.reason__title { margin: 0 0 5px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: #FFFFFF; }
.reason__copy  { margin: 0; font-size: 15px; line-height: 1.6; color: var(--c-on-dark); }

/* --------------------------------------------------------------------------
   Footer — botanical line art under a warm colour overlay
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  isolation: isolate;
  background-color: var(--c-ink-deep);
  /* The colour overlay itself: a warm wash over a diagonal brown gradient. */
  background-image:
    radial-gradient(ellipse at 88% 8%, rgba(156, 92, 60, .55), transparent 58%),
    radial-gradient(ellipse at 12% 95%, rgba(58, 36, 28, .50), transparent 55%),
    linear-gradient(142deg, #4A2F26 0%, #5A3A2E 52%, #6B4738 100%);
}

/* The drawn flowers, sitting above the colour and below the text. */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("../img/footer-botanical.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  opacity: .17;
  pointer-events: none;
}

@media (max-width: 700px) {
  /* Keep the stems readable rather than cropping hard on a narrow screen. */
  .site-footer::before { background-size: 220% auto; opacity: .13; }
}

/* --------------------------------------------------------------------------
   Floating WhatsApp button (bottom-left, opposite back-to-top)
   -------------------------------------------------------------------------- */

.wa-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 35;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(74, 47, 38, .38);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(74, 47, 38, .46);
}
.wa-float:active { transform: translateY(0); }

/* Soft outward pulse so the eye finds it without it shouting. */
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-pulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);    opacity: .7; }
  70%  { transform: scale(1.45); opacity: 0;  }
  100% { transform: scale(1.45); opacity: 0;  }
}

/* The two floating buttons share the bottom edge on small screens. */
@media (max-width: 480px) {
  .wa-float { width: 52px; height: 52px; left: 14px; bottom: 14px; }
  .to-top   { width: 46px; height: 46px; right: 14px; bottom: 16px; }
}

/* --------------------------------------------------------------------------
   Phone refinements
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {
  /* Big display type gets too loose at phone width. */
  .t-display { letter-spacing: -.035em; }

  /* Keep the service cards comfortable rather than cramped. */
  .offer { padding: 22px 20px 20px; }
  .offer__title { font-size: 19px; }

  /* The numbered reason blocks lose the hanging indent and stack. */
  .reason { gap: 13px; padding: 19px 0; }
  .reason__no { width: 34px; height: 34px; font-size: 13px; }

  /* Photo-story tiles: shorter, so five of them are not a long scroll. */
  .story img { height: 210px; }

  /* FAQ rows: full-width tap target, less horizontal padding. */
  .faq__trigger { padding: 18px 18px; font-size: 16px; }
  .faq__body { padding: 0 18px 20px; }

  /* Hard shadows are heavy on a small screen. */
  .card-hard, .faq__item { box-shadow: 4px 4px 0 var(--c-concrete-line); }
  .talk-card { box-shadow: 5px 5px 0 var(--c-safety); }

  /* The offset yellow block behind photos eats width on a phone. */
  .offset-frame    { padding: 0 14px 14px 0; }
  .offset-frame::before    { inset: 14px 0 0 14px; }
  .offset-frame-sm { padding: 0 12px 12px 0; }
  .offset-frame-sm::before { inset: 12px 0 0 12px; }
}

/* Every interactive target clears the 44px minimum on touch screens. */
@media (hover: none) and (pointer: coarse) {
  .nav-link, .faq__trigger, .drawer__link { min-height: 44px; }
  .wa-float, .to-top { width: 56px; height: 56px; }
}

/* --------------------------------------------------------------------------
   Reduced motion & print
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
  .pillar:hover, .lift:hover, .btn-ink:hover, .btn-yellow:hover { transform: none; }
  .story:hover img { transform: none; }
  .offer:hover { transform: none; }
  .wa-float:hover { transform: none; }
  .wa-float::after { animation: none; opacity: 0; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .drawer, .to-top, .wa-float, .lightbox { display: none !important; }
  body { background: #FFFFFF; font-size: 12pt; }
  .card-hard, .talk-card, .card-yellow-shadow { box-shadow: none; }
}
