/* =========================================================
   2 Can Do — styles
   Palette: gold #E1AD61 · red #BD3F37 · cream #FFF7E8 · ink #2C2323
   Fonts (Adobe Fonts): fabiola-capitals (400) for headlines,
                        oso-sans-condensed (300) for everything else.

   Layout & behavior modeled on a bold, editorial feed-brand site:
   announcement bar, centered badge with split nav, full-bleed hero
   with a "dropping" line into a dark band, offset-block feature rows,
   bracket-headed cards, big-headline contact panel, dark footer,
   and scroll-triggered reveals.
   ========================================================= */

:root {
  --gold: #E1AD61;
  --red: #BD3F37;
  --cream: #FFF7E8;
  --ink: #2C2323;

  /* Derived shades (kept close to the palette) */
  --red-deep: #A23229;   /* button hover, card tone */
  --red-text: #A6342C;   /* small red text on cream: passes 4.5:1 */
  --cream-deep: #F9EFDA; /* alternate section background */
  --maroon: #4D1A16;     /* dark band + front hill */
  --night: #1E1717;      /* footer */
  --sky-top: #4D1A16;    /* top of the hero sky art */
  --line: rgba(44, 35, 35, 0.18);

  --font-head: "fabiola-capitals", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "oso-sans-condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 40px);
  --max: 1200px;
  --bar-h: 88px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Subtle kraft-paper grain (inline SVG noise) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .14 0 0 0 0 .14 .2 0 0 0 -.02'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Diagonal hatch used on placeholder panels */
  --hatch: repeating-linear-gradient(45deg, rgba(255, 247, 232, 0.05) 0 12px, transparent 12px 24px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-synthesis: none; /* the body font only ships in 300: never fake a bold */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--cream);
  background-image: var(--grain);
}

img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
  margin: 0;
}

strong, b { font-weight: 300; } /* no bold weight available */

a { color: inherit; }
main p a { color: var(--red-text); text-underline-offset: 3px; }

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

main { overflow-x: clip; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 0.7rem 1.1rem;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

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

/* ---------- Display headings ---------- */
.display {
  font-size: clamp(3.1rem, 9vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-wrap: balance;
}
.display-md { font-size: clamp(2.8rem, 6.4vw, 5rem); }
.display-light { color: var(--cream); }
.accent { color: var(--red); }
.accent-gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.8rem clamp(1.6rem, 4vw, 2.75rem);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.15rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

.btn-dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-dark:hover { background: var(--red); border-color: var(--red); }

.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--cream); border-color: var(--cream); }

.btn-outline-light { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-outline-light:hover { background: var(--cream); color: var(--ink); }

/* ---------- Scroll reveals (only when JS adds .js-anim) ---------- */
.js-anim [data-reveal] {
  opacity: 0;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js-anim [data-reveal="up"]    { transform: translateY(36px); }
.js-anim [data-reveal="down"]  { transform: translateY(-36px); }
.js-anim [data-reveal="left"]  { transform: translateX(-48px); }
.js-anim [data-reveal="right"] { transform: translateX(48px); }
.js-anim [data-reveal].is-in   { opacity: 1; transform: none; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  padding: 0.5rem var(--gutter);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.announce p { margin: 0; line-height: 1.35; }
.announce-link { margin-left: 0.6rem; text-underline-offset: 3px; text-decoration-thickness: 1px; white-space: nowrap; }
.announce-link:hover { text-decoration-thickness: 2px; }
@media (max-width: 599px) { .announce-link { display: none; } }

/* ---------- Header: red hands mark on the left, links on the right ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--bar-h);
  background-color: var(--cream);
  background-image: var(--grain);
  border-bottom: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(44, 35, 35, 0.16); }
/* slides away on scroll down, returns on scroll up */
.site-header.is-hidden { transform: translateY(calc(-100% - 20px)); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

.brand { display: block; flex: none; line-height: 0; }
.brand img {
  height: 62px;
  width: auto;
  transform-origin: left center;
  transition: transform 0.4s var(--ease);
}
.brand:hover img { transform: rotate(-4deg) scale(1.04); }
.site-header.is-scrolled .brand img { transform: scale(0.86); }
.site-header.is-scrolled .brand:hover img { transform: scale(0.9) rotate(-4deg); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.65rem;
  min-height: 46px;
  padding: 0.4rem 0.9rem;
  font: inherit;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
}
.nav-toggle-bars {
  width: 20px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.site-nav ul { display: flex; gap: clamp(1.25rem, 2.6vw, 2.75rem); }
.site-nav a {
  position: relative;
  display: block;
  padding: 0.55rem 0;
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2rem;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after { transform: scaleX(1); }

/* Small screens: menu button on the right, links drop down in a panel */
@media (max-width: 959px) {
  :root { --bar-h: 76px; }
  .brand img { height: 54px; }

  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 0.75rem var(--gutter) 1.25rem;
    background-color: var(--cream);
    background-image: var(--grain);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 20px rgba(44, 35, 35, 0.16);
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav a { padding: 0.95rem 0.25rem; border-bottom: 1px solid var(--line); font-size: 1.25rem; }
  .js .site-nav a::after { display: none; }
  .js .site-nav a[aria-current="true"] { color: var(--red-text); }

  /* Without JS the links simply wrap under the mark */
  html:not(.js) .site-header { position: relative; height: auto; }
  html:not(.js) .header-inner { flex-wrap: wrap; justify-content: center; padding-block: 0.6rem; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; justify-content: center; column-gap: 1.5rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: clamp(620px, calc(100svh - var(--bar-h) - 40px), 900px);
  padding: 7.5rem var(--gutter) clamp(8.5rem, 18vw, 13rem);
  text-align: center;
  color: var(--cream);
}

/* Solid fallback that matches the top of the sky art, so nothing flashes while the layers load */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  background-color: var(--sky-top);
}

/* Illustrated layers, back to front. Bottom-anchored so the trees always meet the band below. */
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.layer {
  position: absolute;
  inset: 0;
  display: block;
  will-change: transform;
  /* --scroll is set by js/main.js; each layer lags the page by its own --speed */
  transform: translate3d(0, calc(var(--scroll, 0) * var(--speed, 0) * 1px), 0);
}
.layer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
}
/* run the foreground a few px past the hero's bottom edge so no sub-pixel seam shows above the band */
.layer-foreground { bottom: -4px; }
.layer-clouds img { animation: cloud-drift 70s ease-in-out infinite alternate; }
@keyframes cloud-drift { from { transform: translateX(-2.5%); } to { transform: translateX(2.5%); } }

/* Optional looping video (see the comment in index.html) sits between the sky and the mountains' shade */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  mix-blend-mode: overlay;
}

.hero-inner { position: relative; z-index: 1; }

/* The one-color gold horizontal logo is the hero headline; a soft shadow lifts it off the sky */
.hero h1 { margin: 0; line-height: 0; }
.hero-logo {
  display: block;
  width: min(88vw, 760px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 6px 26px rgba(30, 23, 23, 0.4));
}
.hero-lead {
  max-width: 46ch;
  margin: 2rem auto 2.25rem;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }

/* Thin line that "drops" out of the hero into the band below */
.hero-line {
  position: absolute;
  left: 50%;
  bottom: -70px;
  z-index: 3;
  width: 2px;
  height: clamp(170px, 24vw, 250px);
  margin-left: -1px;
  background: var(--cream);
  transform-origin: top;
  animation: draw-line 1.4s var(--ease) 0.7s both;
}
.hero-line::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--cream);
}
@keyframes draw-line { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- Dark intro band ---------- */
.band {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 8rem 0 clamp(4.5rem, 9vw, 7rem);
  text-align: center;
  color: var(--cream);
  /* Flat #4D1A16 like the hero's foreground, so the two meet with no visible seam (no grain here: it lightens the maroon).
     The soft red glow sits low and to the right, well away from the top edge. */
  background-color: var(--maroon);
  background-image: radial-gradient(55% 70% at 90% 95%, rgba(189, 63, 55, 0.28), transparent 72%);
}
/* Your cloud wisps (desktop and mobile versions), drifting very slowly. Scaled up a touch so the drift never shows an edge. */
.band-clouds {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}
.band-clouds img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  animation: band-drift 90s ease-in-out infinite alternate;
}
@keyframes band-drift { from { transform: scale(1.06) translateX(-2.5%); } to { transform: scale(1.06) translateX(2.5%); } }

.band-inner { position: relative; }
.band-mark { width: 46px; height: auto; margin: 0 auto 1.6rem; }
.band .display { max-width: 16em; margin-inline: auto; font-size: clamp(3rem, 7.4vw, 6rem); }
.band-intro {
  margin: 1.5rem 0 0;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  letter-spacing: 0.06em;
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-tint {
  background-color: var(--cream-deep);
  background-image: var(--grain);
  border-block: 1px solid var(--line);
}
.section-dark { background-color: var(--night); background-image: none; color: var(--cream); }
.section-dark a { color: var(--gold); }
.section-dark .btn-gold { color: var(--ink); }
.section-dark :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.band :focus-visible { outline-color: var(--gold); }

.section-intro { margin: 1.25rem 0 0; font-size: 1.35rem; }

/* ---------- Feature rows: offset blocks + copy ---------- */
.feature { display: grid; gap: 4.5rem; align-items: center; }
/* Grid items should stretch to their column by default, but a <figure> wrapping only an
   aspect-ratio-sized image (no <figcaption>) can end up sized by its collapsed content
   instead in some browsers, especially once reordered by .feature-reverse. Pin the width
   explicitly so it never depends on that. */
.feature-figure { width: 100%; }

.feature-media {
  position: relative;
  width: min(calc(100% - 52px), 420px);
  margin: 1.75rem auto;
}
/* gold/red block peeking out top-left */
.feature-media::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -26px;
  left: -26px;
  width: 58%;
  height: 42%;
  background: var(--fm-accent, var(--gold));
}
/* dark block offset behind bottom-left */
.feature-media::after {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: -26px;
  left: -26px;
  width: 80%;
  height: 80%;
  background: var(--fm-base, var(--ink));
}

.fm-art {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  color: var(--cream);
  background-color: var(--red);
  background-image: var(--hatch), var(--grain);
}
.fm-art-ink { background-color: var(--ink); color: var(--gold); }
.fm-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.fm-caption {
  position: relative;
  z-index: 1;
  margin: 3.25rem 0 0;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-copy p:not(.feature-lead) { max-width: 60ch; }
.feature-lead {
  margin: 1.4rem 0 1.4rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.25;
  color: var(--ink);
}

.tick-list { margin: 0 0 2.25rem; }
.tick-list li { position: relative; padding: 0.3rem 0 0.3rem 1.6rem; }
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.05rem;
  width: 8px;
  height: 8px;
  background: var(--red);
}

@media (min-width: 900px) {
  .feature { grid-template-columns: 0.8fr 1.2fr; gap: clamp(4rem, 8vw, 7.5rem); }
  .feature-reverse { grid-template-columns: 1.2fr 0.8fr; }
  .feature-reverse > :first-child { order: 2; }
  .feature-media,
  .feature-figure { margin-left: 26px; }
  .feature-reverse > .feature-media,
  .feature-reverse > .feature-figure { margin-left: auto; margin-right: 0; }
}

/* ---------- Bracket-headed cards ---------- */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 3rem;
}
.card { display: flex; flex-direction: column; background: var(--cream-deep); border: 1px solid var(--line); }

.card-top {
  position: relative;
  display: flex;
  align-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  color: var(--cream);
  background-color: var(--tone, var(--ink));
  background-image: var(--hatch);
  isolation: isolate;
  container-type: inline-size;
}
@supports (font-size: 1cqw) {
  .card-title { font-size: clamp(1.7rem, 11.5cqw, 2.5rem); }
}
/* your card art, with a light dark wash on the left for the title; zooms slowly on hover */
.card-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.card-top::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(30, 23, 23, 0.4), rgba(30, 23, 23, 0) 65%);
}
.card:hover .card-img { transform: scale(1.06); }

.card-title {
  position: relative;
  max-width: 52%; /* multi-word titles wrap before they reach the artwork */
  padding-left: 1.1rem;
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
  text-shadow: 0 1px 14px rgba(30, 23, 23, 0.65);
  line-height: 0.98;
  letter-spacing: 0.03em;
}
/* the "[" bracket */
.card-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.04em;
  bottom: 0.04em;
  width: 0.34em;
  border: 0.1em solid var(--cream);
  border-right: 0;
}

.card-body { flex: 1; display: flex; flex-direction: column; padding: 1.6rem 1.75rem 1.9rem; }
.card-body p { flex: 1; margin-bottom: 1.1rem; }
.card-link {
  align-self: flex-start;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-text);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.card-link::after { content: " \2192"; display: inline-block; transition: transform 0.25s var(--ease); }
.card-link:hover { text-decoration-thickness: 2px; }
.card-link:hover::after { transform: translateX(4px); }

/* ---------- Service detail pages (estate-care.html, owners-agent-services.html) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 5rem) 0 clamp(4rem, 9vw, 6rem);
  text-align: center;
  color: var(--cream);
  background-color: var(--maroon);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 780px; margin-inline: auto; }
.page-crumb { margin: 0 0 1.1rem; font-size: 1rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.page-crumb a { color: inherit; text-decoration: none; }
.page-crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-crumb .sep { margin: 0 0.6em; opacity: 0.5; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 4.75rem); }
.page-hero-lead { margin: 1.4rem auto 0; max-width: 46ch; font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.4; }

.section-lead { max-width: 68ch; font-size: 1.3rem; line-height: 1.5; }

.detail-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 720px) { .detail-grid { grid-template-columns: repeat(2, 1fr); } }
.detail-card { padding: clamp(1.5rem, 4vw, 2rem); background: var(--cream-deep); border: 1px solid var(--line); }
.detail-card h3,
.detail-card h4 {
  position: relative;
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
}
.detail-card h3::before,
.detail-card h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.04em;
  bottom: 0.04em;
  width: 0.3em;
  border: 0.09em solid var(--red);
  border-right: 0;
}
.detail-card p { margin: 0; }

/* ---------- About: several short subsections stacked under one heading ---------- */
.about-block { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.about-block:first-of-type { margin-top: 1.5rem; }
.about-block p { max-width: 68ch; }
.about-block p + p { margin-top: 1rem; }
.about-subhead {
  position: relative;
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
}
.about-subhead::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.04em;
  bottom: 0.04em;
  width: 0.3em;
  border: 0.09em solid var(--red);
  border-right: 0;
}
.feature-copy .about-subhead { margin-top: 0; }

.cross-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--ink);
  color: var(--cream);
}
.cross-link p { margin: 0; max-width: 46ch; font-size: 1.25rem; line-height: 1.4; }
.cross-link .btn { flex: none; white-space: normal; }
@media (max-width: 640px) {
  /* the button's own text is too wide for one line at phone widths: let it wrap instead of overflowing */
  .cross-link .btn { width: 100%; }
}

/* On the homepage: a quiet text link under the "Ask About…" button to the matching detail page */
.feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.75rem; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 3rem; }
@media (min-width: 720px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 4vw, 2.25rem);
  background: var(--cream-deep);
  border: 1px solid var(--line);
}
.testimonial-mark {
  font-family: var(--font-head);
  font-size: 3.5rem;
  line-height: 0.6;
  color: var(--red);
  opacity: 0.45;
}
.testimonial-text { margin: 0.5rem 0 0; font-size: 1.2rem; line-height: 1.45; font-style: italic; color: rgba(44, 35, 35, 0.75); }
.testimonial-by { margin-top: 1.5rem; font-size: 1.1rem; letter-spacing: 0.04em; }
.testimonial-by span { display: block; margin-top: 0.2rem; font-size: 1rem; color: var(--red-text); letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Projects / gallery ---------- */
.gallery { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 3rem; }
@media (min-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

.project { min-width: 0; }

.shot {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  color: var(--cream);
  text-decoration: none;
  background-color: var(--tone, var(--ink));
  background-image: var(--hatch);
  isolation: isolate;
}
.shot img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transition: transform 0.8s var(--ease);
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(30, 23, 23, 0.75), rgba(30, 23, 23, 0) 55%);
}
.shot:hover img,
.shot:focus-visible img { transform: scale(1.07); }
.shot:focus-visible { outline: 3px solid var(--gold); outline-offset: -8px; }

.shot-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.95rem;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(30, 23, 23, 0.78);
}
.shot-title {
  position: absolute;
  left: 1.5rem;
  right: 4.5rem;
  bottom: 1.25rem;
  padding-left: 0.9rem;
  font-family: var(--font-head);
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.shot-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.03em;
  bottom: 0.03em;
  width: 0.3em;
  border: 0.09em solid var(--cream);
  border-right: 0;
}
.shot-expand {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 40px;
  height: 40px;
  padding: 10px;
  color: var(--ink);
  background: var(--gold);
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.shot:hover .shot-expand,
.shot:focus-visible .shot-expand { transform: scale(1.12); background: var(--cream); }

/* ---------- Project gallery (lightbox) ---------- */
html.lb-open { overflow: hidden; }

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--cream);
  background: rgba(30, 23, 23, 0.97);
}
.lightbox::backdrop { background: rgba(30, 23, 23, 0.92); }
.lightbox[open] { display: block; animation: lb-in 0.3s var(--ease) both; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

.lb-inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  height: 100vh;
  height: 100dvh;
  padding: clamp(0.75rem, 2.5vw, 1.75rem) clamp(0.75rem, 3vw, 2.5rem);
}

.lb-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.lb-kicker { margin: 0; font-size: 1rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.lb-title { margin: 0.15rem 0 0; font-family: var(--font-head); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; letter-spacing: 0.03em; }
.lb-close {
  flex: none;
  min-height: 46px;
  padding: 0.4rem 1.2rem;
  font: inherit;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  background: transparent;
  border: 2px solid var(--cream);
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.lb-close:hover { background: var(--cream); color: var(--ink); }

.lb-stage { position: relative; display: grid; min-height: 0; touch-action: pan-y; }
.lb-figure {
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  justify-items: center;
  gap: 0.7rem;
  min-height: 0;
  padding-inline: clamp(0px, 5vw, 4.5rem);
}
/* leaves room for the title bar, caption and thumbnail strip */
.lb-img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 20rem);
  max-height: calc(100dvh - 20rem);
  transition: opacity 0.25s;
}
.lb-img.is-loading { opacity: 0.3; }

.lb-cap {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lb-label { position: relative; padding-left: 0.95rem; font-family: var(--font-head); font-size: 1.6rem; line-height: 1; letter-spacing: 0.05em; }
.lb-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.03em;
  bottom: 0.03em;
  width: 0.3em;
  border: 0.09em solid var(--gold);
  border-right: 0;
}

.lb-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-top: -27px;
  padding: 0;
  color: var(--cream);
  background: rgba(30, 23, 23, 0.72);
  border: 2px solid var(--cream);
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.lb-nav svg { width: 26px; height: 26px; }
.lb-nav:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.lb-prev { left: 0; }
.lb-next { right: 0; }
.lb-nav[hidden] { display: none; }
@media (max-width: 599px) {
  .lb-nav { width: 44px; height: 44px; margin-top: -22px; }
  .lb-nav svg { width: 22px; height: 22px; }
}

.lb-thumbs { display: flex; gap: 0.6rem; justify-content: center; justify-content: safe center; overflow-x: auto; padding: 0.4rem 0.25rem 0.2rem; }
.lb-thumb {
  flex: none;
  display: grid;
  gap: 0.3rem;
  padding: 0;
  font: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--cream);
  background: none;
  border: 0;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.25s;
}
.lb-thumb img { width: 84px; height: 63px; object-fit: cover; border: 2px solid transparent; }
.lb-thumb:hover,
.lb-thumb[aria-current="true"] { opacity: 1; }
.lb-thumb[aria-current="true"] img { border-color: var(--gold); }

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

/* ---------- Service area ---------- */
.area-grid { display: grid; gap: 3rem; align-items: center; }
.area-copy p { max-width: 46ch; margin: 1.5rem 0 2rem; }

.area-panel {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  text-align: center;
  border: 1px solid rgba(225, 173, 97, 0.55);
  background-image: repeating-linear-gradient(45deg, rgba(225, 173, 97, 0.06) 0 12px, transparent 12px 24px);
}
/* gold corner ticks */
.area-panel::before,
.area-panel::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border: 4px solid var(--gold);
}
.area-panel::before { top: -4px; left: -4px; border-right: 0; border-bottom: 0; }
.area-panel::after  { bottom: -4px; right: -4px; border-left: 0; border-top: 0; }

.area-pin { width: 56px; height: 56px; margin: 0 auto 0.75rem; color: var(--gold); }
.area-kicker { margin: 0; font-size: 1.05rem; letter-spacing: 0.2em; text-transform: uppercase; }
.area-place {
  margin: 0.3rem 0 0;
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}
.area-state { margin: 0.4rem 0 1.5rem; font-size: 1.3rem; letter-spacing: 0.22em; text-transform: uppercase; }
.map-link {
  display: inline-block;
  padding: 0.35rem 0;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

@media (min-width: 900px) {
  .area-grid { grid-template-columns: 1fr 1fr; gap: 6rem; }
}

/* ---------- Contact ---------- */
.contact-panel {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
  padding: clamp(1.5rem, 5vw, 4rem);
  background-color: var(--cream-deep);
  background-image: var(--grain);
  border: 1px solid var(--line);
}
.contact-badge { width: 120px; height: auto; margin-bottom: 1.5rem; }
.contact-lead { max-width: 24ch; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; }

.contact-details { margin: 2rem 0 0; }
.contact-details div { margin-bottom: 1.1rem; }
.contact-details dt { font-size: 1rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red-text); }
.contact-details dd { margin: 0; font-size: 1.4rem; line-height: 1.3; }
.contact-details a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 4px; text-decoration-thickness: 2px; }

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.field .req, .field .opt { font-size: 0.9rem; letter-spacing: 0.04em; text-transform: none; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 1.15rem;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  border-radius: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field ::placeholder { color: rgba(44, 35, 35, 0.55); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(189, 63, 55, 0.25); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.contact-form .btn { width: 100%; margin-top: 0.5rem; }
.form-status { margin: 1rem 0 0; min-height: 1.6em; font-size: 1.15rem; }
.form-status[data-state="success"],
.form-status[data-state="error"] { padding: 0.75rem 1rem; background: #fff; border-left: 4px solid var(--gold); }
.form-status[data-state="error"] { border-left-color: var(--red); }

@media (min-width: 900px) {
  .contact-panel { grid-template-columns: 0.85fr 1.15fr; gap: clamp(3rem, 7vw, 6rem); align-items: start; }
  .contact-form .btn { width: auto; }
}

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(3.5rem, 7vw, 5.5rem); background: var(--night); color: var(--cream); }
.footer-grid { display: grid; gap: 2.75rem; }
.footer-head {
  margin: 0 0 1.4rem;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  letter-spacing: 0.04em;
  color: var(--gold);
}
.footer-col p { margin: 0 0 0.5rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.footer-nav ul { display: grid; gap: 0.1rem; }
.footer-nav a { display: inline-block; padding: 0.15rem 0; }

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
}

.footer-base { margin-top: clamp(3rem, 6vw, 4.5rem); padding-block: 1.75rem; border-top: 1px solid rgba(255, 247, 232, 0.16); }
.footer-base-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.footer-base img { width: 150px; opacity: 0.9; }
.footer-base p { margin: 0; font-size: 1rem; letter-spacing: 0.04em; }
.footer-legal { display: grid; gap: 0.4rem; }
.footer-credit a { color: var(--gold); text-underline-offset: 4px; }
.footer-credit a:hover { color: var(--cream); }
@media (min-width: 800px) { .footer-legal { justify-items: end; text-align: right; } }
.footer-tagline {
  margin-left: 0.6rem;
  font-family: var(--font-head);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- 404 page ---------- */
.notfound-page { background-color: var(--maroon); background-image: none; color: var(--cream); }
.notfound {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 3rem var(--gutter);
  text-align: center;
}
.notfound img { width: min(80vw, 380px); height: auto; margin-bottom: 1rem; }
.nf-code { margin: 0; font-family: var(--font-head); font-size: clamp(5rem, 22vw, 11rem); line-height: 0.9; letter-spacing: 0.03em; color: var(--red); }
.notfound h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.notfound p:not(.nf-code) { max-width: 36ch; margin: 0 0 1rem; }
