/* ------------------------------------------------------------------
   Eminent Landscaping of Alaska LLC
   ------------------------------------------------------------------ */

:root {
  color-scheme: light;

  --bg: #f5f3ec;
  --paper: #ffffff;
  --ink: #1a2620;
  --ink-soft: #35463c;
  --muted: #5b6b62;
  --line: #dfe5df;
  --line-strong: #c8d2ca;

  --green: #215c38;
  --green-deep: #163d27;
  --green-hover: #3d9a58;
  --green-tint: #e7efe9;

  --gold: #c99a2e;
  --gold-text: #7d5f22;
  --gold-tint: #f6ecd2;

  --header-call-bg: #fff;
  --header-call-fg: var(--green-deep);
  --header-call-hover: var(--gold-tint);

  --gold-hover: #d4a436;
  --on-dark-chip: #fff;
  --on-dark-chip-hover: var(--gold-tint);
  --on-dark-chip-fg: var(--green-deep);
  --ghost-light-border: rgba(255, 255, 255, 0.55);
  --ghost-light-fg: #fff;
  --ghost-light-hover: rgba(255, 255, 255, 0.12);

  --on-dark: #f4f1ea;
  --on-dark-muted: #b6c7bb;
  --line-dark: rgba(255, 255, 255, 0.12);

  --shadow-sm: 0 1px 2px rgba(22, 61, 39, 0.05), 0 2px 8px rgba(22, 61, 39, 0.06);
  --shadow: 0 2px 6px rgba(22, 61, 39, 0.06), 0 18px 44px rgba(22, 61, 39, 0.14);

  --radius: 10px;
  --radius-sm: 6px;
  --shell: 1120px;

  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;

  --section: clamp(52px, 7vw, 92px);

  /* Motion: everything animates only transform/opacity so it stays cheap. */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
}

/* Dark palette is selected at publish time via site.ini — there is no
   visitor-facing toggle. html[data-theme="dark"] is written onto the pages. */
html[data-theme="dark"] {
  color-scheme: dark;

  --bg: #101612;
  --paper: #18211c;
  --ink: #e8efe9;
  --ink-soft: #c5d1c8;
  --muted: #93a49a;
  --line: #2c3b33;
  --line-strong: #42584c;

  --green: #3d9a58;
  --green-deep: #163d27;
  --green-hover: #5ecf7a;
  --green-tint: #1c3226;

  --gold: #d4a63a;
  --gold-text: #e4c36a;
  --gold-tint: #3a3018;

  --header-call-bg: var(--gold);
  --header-call-fg: #163d27;
  --header-call-hover: #e0b84a;

  --gold-hover: #e0b84a;
  --on-dark-chip: #f4f1ea;
  --on-dark-chip-hover: var(--gold);
  --on-dark-chip-fg: #163d27;
  --ghost-light-border: rgba(244, 241, 234, 0.5);
  --ghost-light-fg: #f4f1ea;
  --ghost-light-hover: rgba(244, 241, 234, 0.12);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.22);
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.32), 0 18px 44px rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] .site-header { background: #215c38; }

html[data-theme="dark"] p a,
html[data-theme="dark"] .hero-meta a {
  text-decoration-color: rgba(94, 207, 122, 0.45);
}

html[data-theme="dark"] .button-ghost:hover {
  color: var(--on-dark);
  border-color: var(--green-hover);
}

html[data-theme="dark"] ::selection {
  background: var(--gold);
  color: #163d27;
}

html[data-theme="dark"] .hero::before {
  background:
    radial-gradient(55% 70% at 78% 35%, rgba(61, 154, 88, 0.2), transparent 70%),
    radial-gradient(40% 55% at 10% 90%, rgba(201, 154, 46, 0.16), transparent 70%);
}

html[data-theme="dark"] .hero::after {
  background-image: radial-gradient(rgba(232, 239, 233, 0.08) 1px, transparent 1.5px);
}

html[data-theme="dark"] .contact-card {
  border: 1px solid rgba(201, 154, 46, 0.28);
}

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

* { box-sizing: border-box; }

html {
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100%;
  /* clip, not hidden: hidden would make <body> its own scroll container,
     which breaks the sticky header. Fall back to hidden on older WebKit. */
  overflow-x: hidden;
  overflow-x: clip;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { display: block; }

::selection {
  background: var(--gold-tint);
  color: var(--ink);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.site-header :focus-visible {
  outline-color: var(--gold);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.site {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.main { flex: 1; }

/* Typography ------------------------------------------------------- */

h1, h2, h3, h4, p, blockquote, figcaption, li { overflow-wrap: break-word; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.2;
  text-wrap: balance;
}

h1, h2, .display {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.012em;
}

h1 {
  font-size: clamp(2.1rem, 1.35rem + 2.4vw, 3.15rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.65rem, 1.2rem + 1.3vw, 2.25rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

p { margin: 0; }

/* Marker-style highlight under a key phrase; draws itself in on load. */
.hl {
  background-image: linear-gradient(rgba(201, 154, 46, 0.34), rgba(201, 154, 46, 0.34));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% 0.28em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: highlight-in 0.7s var(--ease-out) 0.9s both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--gold-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  flex: none;
  background: var(--gold);
  border-radius: 2px;
}

.lead {
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.muted { color: var(--muted); }

p a,
.hero-meta a {
  color: var(--green);
  font-weight: 600;
  text-decoration-color: rgba(33, 92, 56, 0.4);
  text-underline-offset: 2px;
}

p a:hover,
.hero-meta a:hover { color: var(--green-hover); }

.section-head {
  max-width: 660px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section-head h2 { margin-bottom: 14px; }

.section-head .lead { max-width: 58ch; }

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section-head-row .section-head { margin-bottom: 0; }

.section-head-row .text-link { margin-bottom: 4px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.text-link:hover {
  color: var(--green-hover);
  border-bottom-color: currentColor;
}

.text-link .icon {
  width: 1.05em;
  height: 1.05em;
  transition: transform 0.25s var(--ease-out);
}

.text-link:hover .icon { transform: translateX(4px); }

/* Buttons ---------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}

.button:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(61, 154, 88, 0.28);
}

.button:active {
  transform: translateY(1px);
  box-shadow: none;
  transition-duration: 0.05s;
}

.button .icon { transition: transform 0.3s var(--ease-spring); }

.button:hover .icon { transform: scale(1.12); }

.button-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--green);
}

.button-ghost:hover {
  background: var(--green-tint);
  border-color: var(--green);
  color: var(--green-deep);
}

.button-light {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--on-dark-chip-fg);
}

.button-light:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--on-dark-chip-fg);
}

.button-outline-light {
  background: var(--on-dark-chip);
  border-color: var(--on-dark-chip);
  color: var(--on-dark-chip-fg);
}

.button-outline-light:hover {
  background: var(--on-dark-chip-hover);
  border-color: var(--on-dark-chip-hover);
  color: var(--on-dark-chip-fg);
}

.button-ghost-light {
  background: transparent;
  border-color: var(--ghost-light-border);
  color: var(--ghost-light-fg);
}

.button-ghost-light:hover {
  background: var(--ghost-light-hover);
  border-color: var(--ghost-light-fg);
  color: var(--ghost-light-fg);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Header ----------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: env(safe-area-inset-top);
  background: var(--green);
  color: var(--on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px 28px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  flex: none;
  transition: transform 0.35s var(--ease-spring);
}

.brand:hover img { transform: rotate(-6deg) scale(1.06); }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: #fff;
}

.brand-place {
  margin-top: 3px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  color: rgba(244, 241, 234, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  touch-action: manipulation;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.site-nav a[aria-current="page"],
.site-nav a[aria-current="true"] {
  color: #fff;
  font-weight: 600;
}

/* Gold underline: fixed on the current page, slides in from the left on hover. */
.site-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after,
.site-nav a[aria-current="true"]::after { transform: scaleX(1); }

/* Services menu. The word Services is a link to the landing page.
   The chevron opens the list. Hover opens it on a mouse. */
.nav-services {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-services > a { padding-right: 6px; }

.nav-services-check {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.nav-services-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 44px;
  margin-left: -4px;
  color: rgba(244, 241, 234, 0.88);
  cursor: pointer;
}

.nav-services-chevron .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.nav-services-check:focus-visible + .nav-services-chevron {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.nav-services-check:checked + .nav-services-chevron .icon { transform: rotate(180deg); }

.nav-services-menu {
  display: none;
  position: absolute;
  top: calc(100% - 8px);
  left: 0;
  z-index: 50;
  min-width: 280px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #143524;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.nav-services-menu a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 6px;
  color: #f4f1ea;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-services-menu a::after { display: none; }

.nav-services-menu a:hover,
.nav-services-menu a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav-services-check:checked ~ .nav-services-menu { display: block; }

@media (hover: hover) and (min-width: 721px) {
  .nav-services:hover > .nav-services-menu,
  .nav-services:focus-within > .nav-services-menu { display: block; }

  .nav-services:hover .nav-services-chevron .icon,
  .nav-services:focus-within .nav-services-chevron .icon { transform: rotate(180deg); }
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  background: var(--header-call-bg);
  color: var(--header-call-fg);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  touch-action: manipulation;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}

.header-call:hover {
  background: var(--header-call-hover);
  color: var(--header-call-fg);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.header-call .icon { width: 1.05em; height: 1.05em; }

.header-call:hover .icon { animation: ring 0.6s ease; }

.call-short { display: none; }

/* Hero ------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(40px, 6vw, 80px) 0 clamp(44px, 6vw, 80px);
}

/* Soft green/gold glow plus a faint dot grid that fades out toward the edges.
   Pure gradients: no image request, nothing to download. */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  background:
    radial-gradient(55% 70% at 78% 35%, rgba(33, 92, 56, 0.11), transparent 70%),
    radial-gradient(40% 55% at 10% 90%, rgba(201, 154, 46, 0.13), transparent 70%);
}

.hero::after {
  background-image: radial-gradient(rgba(26, 38, 32, 0.13) 1px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 80% at 72% 45%, #000 10%, transparent 72%);
  mask-image: radial-gradient(60% 80% at 72% 45%, #000 10%, transparent 72%);
}

/* Entrance: copy rises in line by line, photo settles, then the frame slides out. */
.hero-copy > * { animation: rise 0.75s var(--ease-out) both; }
.hero-copy > :nth-child(1) { animation-delay: 0.05s; }
.hero-copy > :nth-child(2) { animation-delay: 0.15s; }
.hero-copy > :nth-child(3) { animation-delay: 0.27s; }
.hero-copy > :nth-child(4) { animation-delay: 0.36s; }
.hero-copy > :nth-child(5) { animation-delay: 0.48s; }
.hero-copy > :nth-child(6) { animation-delay: 0.58s; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-grid > * { min-width: 0; }

.hero-copy h1 { margin-bottom: 20px; }

.hero-copy .lead {
  max-width: 54ch;
  margin-bottom: 22px;
}

.hero-quote {
  margin: 0 0 28px;
  padding: 0;
}

.hero-quote::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-bottom: 12px;
  background: var(--gold);
  border-radius: 2px;
}

.hero-quote p {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 1.05rem + 1.5vw, 2.2rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.28;
  color: var(--ink);
  text-wrap: balance;
}

.hero-copy .actions { margin-bottom: 22px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta .icon {
  width: 1.1em;
  height: 1.1em;
  color: var(--green);
}

.hero-photo {
  --frame: 16px;
  position: relative;
  isolation: isolate;
  margin: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: photo-in 0.9s var(--ease-out) 0.15s both;
}

/* Thin gold frame offset behind the photo; slides out once the photo has settled. */
.hero-photo::before {
  content: "";
  position: absolute;
  inset: var(--frame) calc(var(--frame) * -1) calc(var(--frame) * -1) var(--frame);
  z-index: -1;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  animation: frame-out 0.8s var(--ease-out) 0.8s both;
}

.hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  max-height: 620px;
  object-fit: cover;
  object-position: center 40%;
  border-radius: var(--radius);
}

/* Services ticker -------------------------------------------------- */

/* Slow, seamless CSS marquee. The track holds four identical lists and
   slides by exactly half its width, so the loop point is invisible. */
.ticker {
  position: relative;
  overflow: hidden;
  overflow: clip;
  padding: 15px 0;
  background: var(--green-deep);
  color: var(--on-dark-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: clamp(40px, 8vw, 120px);
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--green-deep), rgba(22, 61, 39, 0));
}

.ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--green-deep), rgba(22, 61, 39, 0));
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}

.ticker-list {
  display: flex;
  flex: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticker-list li {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--gold);
  border-radius: 50%;
}

.ticker-list strong {
  color: #fff;
  font-weight: 600;
}

/* Icon tile -------------------------------------------------------- */

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: none;
  background: var(--green-tint);
  color: var(--green);
  border-radius: var(--radius-sm);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.35s var(--ease-spring);
}

.icon-tile .icon {
  width: 22px;
  height: 22px;
}

/* Hovering a card fills its icon tile solid green. */
.svc-card:hover .icon-tile,
.svc-row:hover .icon-tile,
.values li:hover .icon-tile,
.detail:hover .icon-tile {
  background: var(--green-hover);
  color: #fff;
  transform: scale(1.08) rotate(-5deg);
}

.svc-card-cta:hover .icon-tile {
  background: var(--gold);
  color: var(--ink);
}

/* Sections --------------------------------------------------------- */

.section { padding: var(--section) 0; }

.section-paper { background: var(--paper); }

.section-tight { padding: clamp(40px, 5vw, 64px) 0; }

/* Service cards ---------------------------------------------------- */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-grid > li {
  display: flex;
  min-width: 0;
}

.svc-grid > li > .svc-card { flex: 1; width: 100%; }

.svc-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}

.section-paper .svc-card { background: var(--bg); }

.svc-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.svc-card h3 { margin: 0; }

.svc-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.svc-card-cta {
  border-style: dashed;
  border-color: var(--line-strong);
  background: transparent !important;
  box-shadow: none;
}

.svc-card-cta .icon-tile {
  background: var(--gold-tint);
  color: var(--gold-text);
}

.svc-card-cta .text-link { margin-top: auto; }

/* Detailed service list (services page) ---------------------------- */

.svc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 26px 26px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}

.svc-row:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.svc-row h3 { margin-bottom: 6px; }

.svc-row p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Feature (text + photo) ------------------------------------------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.feature > * { min-width: 0; }

.feature h2 { margin-bottom: 16px; }

.feature .lead { margin-bottom: 22px; }

.feature-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-photo a { display: block; }

.feature-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
}

.check-list .icon {
  margin-top: 0.2em;
  width: 1.1em;
  height: 1.1em;
  color: var(--green);
}

/* Value props ------------------------------------------------------ */

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.values li {
  padding-top: 22px;
  border-top: 2px solid var(--gold);
}

.values h3 { margin: 14px 0 8px; }

.values p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Steps ------------------------------------------------------------ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 26px 24px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}

.steps li:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.35s var(--ease-spring);
}

.steps li:hover::before { transform: translateX(4px); }

.steps h3 { margin-bottom: 8px; }

.steps p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Photo cards / grids ---------------------------------------------- */

.photo-card {
  position: relative;
  margin: 0;
  min-width: 0;
}

.photo-card a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  line-height: 0;
  background: var(--line);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

/* Green wash from the bottom on hover, so the photo reads as tappable. */
.photo-card a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61, 154, 88, 0.22), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.photo-card a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.photo-card a:hover::after { opacity: 1; }

.photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.photo-card a:hover img { transform: scale(1.06); }

.photo-card figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.photo-card figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
}

.photo-card figcaption a {
  display: block;
  overflow: visible;
  line-height: inherit;
  background: none;
  box-shadow: none;
  border-radius: 0;
  color: inherit;
  text-decoration: none;
}

.photo-card figcaption a::after { content: none; }

.photo-card figcaption a:hover {
  transform: none;
  box-shadow: none;
  color: var(--green);
}

a.eyebrow {
  width: fit-content;
  text-decoration: none;
}

a.eyebrow:hover { color: var(--gold); }

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-links a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

.service-links a:hover { color: var(--green-hover); }

.service-actions { margin-top: 28px; }

.page-subhead {
  margin: 36px 0 16px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.1rem + 0.6vw, 1.7rem);
}

.photo-label {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 1;
  padding: 6px 11px;
  background: rgba(22, 61, 39, 0.92);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  pointer-events: none;
}

.photo-label-gold {
  background: var(--gold);
  color: var(--ink);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.work-grid .photo-card img { aspect-ratio: 1 / 1; }

.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ba-grid .photo-card img {
  aspect-ratio: 4 / 5;
  object-position: center 60%;
}

.ba-follow {
  margin-top: clamp(44px, 5.5vw, 72px);
}

.ba-follow h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.1rem + 0.6vw, 1.7rem);
  font-weight: 700;
}

.ba-follow h3 a {
  text-decoration: none;
}

.ba-follow h3 a:hover { color: var(--green); }

.ba-caption {
  margin-top: 16px;
  color: var(--ink-soft);
}

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

/* Lightbox --------------------------------------------------------- */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  align-items: center;
  justify-content: center;
  padding: max(56px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  background: rgba(16, 36, 25, 0.94);
}

.lightbox:target {
  display: flex;
  animation: fade-in 0.25s ease both;
}

.lightbox:target img { animation: zoom-in 0.45s var(--ease-out) both; }

.lightbox-backdrop { position: absolute; inset: 0; }

.lightbox img {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: min(100%, 1100px);
  max-height: calc(100dvh - 96px);
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  touch-action: manipulation;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }

/* Page header (inner pages) ---------------------------------------- */

.page-head {
  padding: clamp(40px, 5.5vw, 72px) 0 clamp(36px, 4.5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.page-head h1 { margin-bottom: 16px; }

.page-head .lead { max-width: 60ch; }

/* Inner pages get the same line-by-line entrance as the home hero. */
.page-head .shell > * { animation: rise 0.7s var(--ease-out) both; }
.page-head .shell > :nth-child(2) { animation-delay: 0.1s; }
.page-head .shell > :nth-child(3) { animation-delay: 0.2s; }

/* Contact ---------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 34px 34px 36px;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(201, 154, 46, 0.22), transparent 55%),
    linear-gradient(160deg, #1d4f33 0%, var(--green-deep) 65%);
  color: var(--on-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card .eyebrow { color: var(--gold); }

.contact-card h2 {
  color: #fff;
  margin-bottom: 12px;
}

.contact-card > p:not(.fine) {
  color: var(--on-dark-muted);
  max-width: 44ch;
  margin-bottom: 26px;
}

.reach-lines {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.phone {
  display: inline-block;
  align-self: flex-start;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-bottom: 3px solid var(--gold);
  touch-action: manipulation;
  transition: color 0.15s ease;
}

.phone:hover { color: var(--gold); }

.email {
  display: inline-block;
  max-width: 100%;
  color: #fff;
  font-size: clamp(1.02rem, 0.94rem + 0.4vw, 1.22rem);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  overflow-wrap: anywhere;
  touch-action: manipulation;
  transition: color 0.15s ease;
}

.email:hover { color: var(--gold); }

.contact-card .actions { margin-top: 26px; }

.contact-card .fine {
  margin-top: auto;
  padding-top: 22px;
  color: var(--on-dark-muted);
  font-size: 0.88rem;
}

.details {
  display: grid;
  gap: 14px;
  margin: 0;
}

.detail {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}

.detail:hover {
  transform: translateX(4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.detail dt {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail dd {
  grid-column: 2;
  margin: 2px 0 0;
  font-weight: 600;
}

.detail .icon-tile {
  grid-row: 1 / span 2;
  grid-column: 1;
}

/* Payment ---------------------------------------------------------- */

.pay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 720px;
}

.pay-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 26px 22px 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  text-decoration: none;
  touch-action: manipulation;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}

.pay-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.pay-card:hover .pay-qr { transform: scale(1.04); }

.pay-card:hover small { text-decoration: underline; }

.pay-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 36px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
}

.pay-brand img { width: auto; height: 26px; }

.pay-brand img[src*="cashapp"] {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.pay-qr {
  width: 168px;
  height: 168px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform 0.35s var(--ease-out);
}

.pay-card strong {
  font-size: 0.98rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.pay-card small {
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 600;
}

.pay-note {
  max-width: 60ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.review-grid {
  grid-template-columns: minmax(0, 351px);
}

/* CTA band --------------------------------------------------------- */

.cta-band {
  background:
    radial-gradient(60% 150% at 88% 0%, rgba(201, 154, 46, 0.26), transparent 60%),
    linear-gradient(115deg, var(--green) 0%, var(--green) 40%, var(--green-deep) 100%);
  color: #fff;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: clamp(44px, 5vw, 64px) 0;
}

.cta-inner h2 {
  color: #fff;
  margin-bottom: 8px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 48ch;
}

.cta-inner .actions { flex: none; }

/* Footer ----------------------------------------------------------- */

.site-footer {
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--green-deep);
  color: var(--on-dark-muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.7fr) minmax(0, 1.15fr);
  gap: 32px 40px;
  padding: clamp(44px, 5vw, 60px) 0 clamp(32px, 4vw, 44px);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-brand img { width: 36px; height: 36px; }

.footer-brand .brand-name { color: #fff; }

.footer-brand .brand-place { color: var(--gold); }

.footer-grid p {
  max-width: 40ch;
  line-height: 1.6;
}

.footer-heading {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-links a,
.footer-links span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-links .icon {
  margin-top: 0.25em;
  width: 1.05em;
  height: 1.05em;
  color: var(--gold);
}

.site-footer a {
  color: var(--on-dark);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px 0 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.85rem;
}

/* Keyframes -------------------------------------------------------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* Uses the standalone `translate` property so it never fights the hover
   `transform` on cards (a transition can't start on a property that a
   fill-mode animation is also driving). */
@keyframes rise-in {
  from { translate: 0 20px; }
}

@keyframes fade-in {
  from { opacity: 0; }
}

@keyframes photo-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@keyframes frame-out {
  from { opacity: 0; transform: translate(calc(var(--frame) * -1), calc(var(--frame) * -1)); }
  to { opacity: 1; transform: none; }
}

@keyframes highlight-in {
  from { background-size: 0% 0.28em; }
}

@keyframes ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-16deg); }
  45% { transform: rotate(13deg); }
  70% { transform: rotate(-7deg); }
}

@keyframes zoom-in {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* Scroll-driven animations ----------------------------------------- */

/* Sections rise into view as you scroll. This is driven by the browser's
   own scroll timeline (no JavaScript, no scroll listeners). Browsers that
   don't support it simply show everything in place. */
@supports (animation-timeline: view()) {
  @media (min-width: 721px) {
    .section-head:not(.section-head-row .section-head),
    .section-head-row,
    .svc-card,
    .svc-row,
    .values > li,
    .steps > li,
    .photo-card,
    .ba-caption,
    .feature > *,
    .contact-card,
    .detail,
    .pay-card,
    .cta-inner > * {
      animation: rise-in ease-out both;
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
      animation-range: entry calc(var(--d, 0) * 4%) cover calc(22% + var(--d, 0) * 4%);
    }

    .cta-inner > * { animation-range: entry 0% entry 100%; }

    .svc-grid > :nth-child(4n + 2),
    .work-grid > :nth-child(4n + 2),
    .values > :nth-child(3n + 2),
    .steps > :nth-child(3n + 2),
    .gallery-grid > :nth-child(3n + 2),
    .svc-list > :nth-child(2n),
    .ba-grid > :nth-child(2n),
    .pay-grid > :nth-child(2n),
    .details > :nth-child(2n) { --d: 1; }

    .svc-grid > :nth-child(4n + 3),
    .work-grid > :nth-child(4n + 3),
    .values > :nth-child(3n),
    .steps > :nth-child(3n),
    .gallery-grid > :nth-child(3n) { --d: 2; }

    .svc-grid > :nth-child(4n),
    .work-grid > :nth-child(4n) { --d: 3; }
  }
}

/* Responsive ------------------------------------------------------- */

@media (max-width: 1040px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 880px) {
  .hero-grid,
  .feature,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-photo img {
    aspect-ratio: 4 / 3;
    max-height: 480px;
    object-position: center 45%;
  }

  /* Single column here, so the dot texture would sit behind body text. */
  .hero::after { display: none; }

  .values,
  .steps,
  .svc-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  html, body { overflow-x: clip; }

  .shell { width: min(calc(100% - 32px), var(--shell)); }

  .header-inner {
    flex-wrap: wrap;
    gap: 0;
    min-width: 0;
    min-height: 0;
    padding-top: 10px;
  }

  .brand { flex: 1 1 auto; min-width: 0; }

  .brand-name, .brand-place {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-call {
    flex: 0 0 auto;
    margin-right: 8px;
  }

  .brand img { width: 36px; height: 36px; }

  .brand-name { font-size: 1.08rem; }

  .header-call {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .call-full { display: none; }
  .call-short { display: inline; }

  html, body, .site {
    max-width: 100%;
    overflow-x: hidden;
  }

  .shell { min-width: 0; }

  .site-nav {
    order: 3;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 8px 0 0 !important;
    margin-left: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .site-nav > a,
  .nav-services {
    flex: 0 1 auto !important;
    min-width: 0;
    max-width: none;
    width: auto !important;
    justify-content: center;
  }

  .site-nav a {
    justify-content: center;
    min-width: 0;
    min-height: 42px;
    padding: 8px 8px;
    font-size: 0.9rem;
    border-radius: 0;
  }

  .site-nav a:hover { background: transparent; }

  .site-nav a::after {
    left: 25%;
    right: 25%;
    bottom: 0;
    transform-origin: center;
  }

  .site-nav { position: relative; }

  .nav-services { min-width: 0; }

  .nav-services > a {
    flex: 0 1 auto;
    justify-content: center;
    padding-right: 2px;
    padding-left: 8px;
  }

  .nav-services-chevron {
    position: static;
    width: 22px;
    height: 42px;
    margin: 0 4px 0 0;
  }

  .nav-services-menu {
    left: 50%;
    transform: translateX(-50%);
    width: min(280px, calc(100vw - 32px));
    min-width: 0;
    top: 100%;
    border-radius: 10px;
    max-height: min(70vh, 520px);
    overflow: auto;
  }

  .nav-services-menu a {
    justify-content: flex-start;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 1rem;
  }

  .nav-services-menu a:hover { background: rgba(255, 255, 255, 0.1); }

  .hero-photo { --frame: 10px; }

  /* Don't start essential content at opacity 0. iOS Low Power Mode and
     Reduce Motion can freeze fill-mode animations on the first keyframe,
     which made the phone page look blank white. */
  .hero-copy > *,
  .hero-photo,
  .hero-photo::before,
  .page-head .shell > *,
  .hl {
    animation: none;
  }

  .ticker { padding: 13px 0; }

  .ticker-list li {
    gap: 16px;
    padding-right: 16px;
    font-size: 0.7rem;
  }

  .cta-inner .actions,
  .cta-inner .actions .button {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .svc-grid,
  .gallery-grid,
  .pay-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .svc-grid { gap: 12px; }

  .svc-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 4px;
    padding: 18px 18px 20px;
  }

  .svc-card .icon-tile {
    grid-row: 1 / span 3;
    align-self: start;
    width: 42px;
    height: 42px;
  }

  .svc-card h3,
  .svc-card p,
  .svc-card .text-link { grid-column: 2; }

  .svc-card p { font-size: 0.9rem; }

  .svc-card .text-link {
    margin-top: 6px;
    justify-self: start;
  }

  .work-grid { gap: 12px; }

  .work-grid .photo-card figcaption { font-size: 0.85rem; margin-top: 8px; }

  .photo-label { left: 10px; top: 10px; padding: 5px 9px; font-size: 0.68rem; }

  .ba-grid { gap: 12px; }

  .ba-grid .photo-card img { aspect-ratio: 3 / 4; }

  .actions { flex-direction: column; align-items: stretch; }

  .actions .button { width: 100%; }

  .contact-card { padding: 28px 24px 30px; }

  .svc-row { padding: 22px 20px 24px; }
}

/* Reduced motion: no movement except the services ticker. Never leave
   content stuck on a from { opacity: 0 } keyframe. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *:not(.ticker-track),
  *:not(.ticker-track)::before,
  *:not(.ticker-track)::after {
    transition: none !important;
    animation: none !important;
  }

  .ticker-track {
    animation: ticker 48s linear infinite;
  }

  .photo-card a:hover,
  .photo-card a:hover img,
  .svc-card:hover,
  .svc-row:hover,
  .steps li:hover,
  .detail:hover,
  .pay-card:hover,
  .pay-card:hover .pay-qr,
  .button:hover,
  .header-call:hover,
  .brand:hover img,
  .icon-tile,
  .text-link:hover .icon {
    transform: none !important;
  }
}

@media print {
  .site-header,
  .site-nav,
  .header-call,
  .cta-band,
  .ticker,
  .lightbox { display: none !important; }

  *,
  *::before,
  *::after { animation: none !important; }
}
