/* =====================================================================
   ASHWORTH ESTATES — Luxury Real Estate Template
   styles.css  ·  single shared stylesheet
   Author: senior design + frontend
   --------------------------------------------------------------------
   Contents
   1. Design tokens (:root)
   2. Reset & base
   3. Typography
   4. Layout primitives
   6. Header / navigation
   7. Buttons & links
   8. Hero
   9. Sections & shared blocks
   10. Stats / counters
   11. Listing cards
   12. Services
   13. Testimonials
   14. Awards
   15. Timeline (about)
   16. Process steps
   17. FAQ
   18. Forms (contact)
   19. Footer
   20. Animation utilities
   21. Responsive
   22. Reduced motion
   ===================================================================== */

/* 1. DESIGN TOKENS ---------------------------------------------------- */
:root {
  /* palette — warm ink, clean canvas, one disciplined brass accent,
     deep estate-green reserved for high-contrast sections */
  --ink:        #16140f;
  --ink-2:      #221f18;
  --canvas:     #fbfaf6;
  --canvas-2:   #f1ede3;
  --estate:     #1b2a24;
  --estate-2:   #263a31;
  --brass:      #b0904f;   /* disciplined gold accent — decorative only */
  --brass-deep: #8a6e45;   /* text-bearing gold — kept for AA contrast */
  --champagne:  #d9c7a7;

  --text:       #2a2620;
  --text-soft:  #5d564a;
  --muted:      #8b8475;
  --line:       rgba(22, 20, 15, 0.12);
  --line-soft:  rgba(22, 20, 15, 0.07);
  --on-dark:    #f3efe6;
  --on-dark-mut:rgba(243, 239, 230, 0.66);

  /* type */
  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-eyebrow: 0.78rem;
  --fs-sm:   clamp(0.85rem, 0.82rem + 0.15vw, 0.95rem);
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --fs-lg:   clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --fs-xl:   clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem);
  --fs-2xl:  clamp(2rem, 1.5rem + 2.4vw, 3.2rem);
  --fs-3xl:  clamp(2.6rem, 1.8rem + 4vw, 5rem);

  /* spacing & shape */
  --space-section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --container: 1240px;
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 3rem);
  --radius: 2px;            /* near-square: more architectural than rounded */
  --radius-lg: 4px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.25s;
  --t-mid: 0.5s;
  --t-slow: 0.9s;

  --shadow-card: 0 1px 2px rgba(22,20,15,0.04), 0 18px 40px -28px rgba(22,20,15,0.35);
  --shadow-lift: 0 1px 2px rgba(22,20,15,0.05), 0 32px 60px -34px rgba(22,20,15,0.45);
}

/* 2. RESET & BASE ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture, video { display: block; max-width: 100%; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 1px;
}

/* skip link */
.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--on-dark);
  padding: 0.7rem 1.4rem;
  z-index: 1000;
  letter-spacing: 0.04em;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 8px; }

/* 3. TYPOGRAPHY ------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 380;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "opsz" 40;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); font-weight: 500; }
p { color: var(--text-soft); }
strong { color: var(--text); font-weight: 600; }
em { font-style: italic; }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brass);
}
.eyebrow.is-centered { justify-content: center; }
.lede { font-size: var(--fs-lg); color: var(--text-soft); line-height: 1.55; }
.serif-accent { font-family: var(--display); font-style: italic; color: var(--brass-deep); }

/* 4. LAYOUT PRIMITIVES ------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.section--dark { background: var(--estate); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--on-dark); }
.section--dark p { color: var(--on-dark-mut); }
.section--alt { background: var(--canvas-2); }

.section-head { max-width: 62ch; }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 0.9rem; }
.section-head p { margin-top: 1rem; }

.grid { display: grid; gap: var(--gutter); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}

/* 6. HEADER / NAV ----------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 800;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-mid) var(--ease), padding var(--t-mid) var(--ease);
}
/* Frosted-glass bar lives on a pseudo-element, NOT the header itself.
   backdrop-filter on the header would make it the containing block for the
   fixed off-canvas menu, trapping it at header height — so we isolate it. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--canvas) 78%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background var(--t-mid) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-scrolled::before { background: color-mix(in srgb, var(--canvas) 94%, transparent); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(1rem, 0.7rem + 0.9vw, 1.6rem);
  transition: padding var(--t-mid) var(--ease);
}
.is-scrolled .nav { padding-block: 0.85rem; }

.brand { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; }
.brand__name {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand__sub {
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-top: 0.35rem;
  padding-left: 0.1em;
}

.nav__links { display: flex; align-items: center; gap: clamp(1.1rem, 0.4rem + 1.6vw, 2.4rem); }
.nav__link {
  position: relative;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  padding-block: 0.4rem;
  transition: color var(--t-fast) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid) var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--brass-deep); }

.nav__cta { display: inline-flex; }
.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 7. BUTTONS & LINKS -------------------------------------------------- */
.btn {
  --bg: var(--ink);
  --fg: var(--on-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--bg);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: color var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease);
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brass);
  transform: translateY(101%);
  transition: transform var(--t-mid) var(--ease-out);
  z-index: -1;
}
.btn:hover { color: var(--ink); border-color: var(--brass); }
.btn:hover::before { transform: translateY(0); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { color: var(--ink); border-color: var(--brass); }
.btn--light { --bg: var(--on-dark); --fg: var(--ink); }
.btn--light:hover { color: var(--ink); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brass-deep);
}
.text-link svg { transition: transform var(--t-fast) var(--ease); }
.text-link:hover svg { transform: translateX(5px); }

/* 7b. ICONS (lucide) --------------------------------------------------
   lucide hydrates <i data-lucide> into <svg class="lucide">. Size is set
   contextually; stroke-width is tuned down for a refined, editorial line.
   The <i> placeholder is sized too, so there is no layout shift on load. */
.lucide { stroke-width: 1.5; }
i[data-lucide] { display: inline-block; width: 1em; height: 1em; }
.text-link svg, .text-link i[data-lucide] { width: 16px; height: 16px; }
.listing__facts svg, .listing__facts i[data-lucide] { width: 16px; height: 16px; }
.svc__icon svg, .svc__icon i[data-lucide] { width: 28px; height: 28px; }
.award__seal svg, .award__seal i[data-lucide] { width: 34px; height: 34px; }
.svc__link svg, .svc__link i[data-lucide] { width: 16px; height: 16px; }

/* 8. HERO ------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(3rem, 1rem + 6vw, 6rem);
  padding-bottom: var(--space-section);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: end;
}
.hero__title { margin: 1.4rem 0 1.6rem; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }
.hero__meta {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero__meta dt { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.hero__meta dd { font-family: var(--display); font-size: 1.9rem; color: var(--ink); margin-top: 0.2rem; }
.hero__actions { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }

/* visual */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--estate);
}
.media__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.media:hover .media__img { transform: scale(1.05); }
.hero__visual { aspect-ratio: 4 / 5; box-shadow: var(--shadow-lift); }
.hero__tag {
  position: absolute;
  left: 0; bottom: 1.4rem;
  background: var(--canvas);
  color: var(--ink);
  padding: 0.7rem 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: var(--shadow-card);
}
.hero__tag strong { color: var(--brass-deep); }

/* bespoke architectural illustration used as photography stand-in.
   Replace .estate-art blocks with <img> of real property photography. */
.estate-art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 80% 12%, rgba(217,199,167,0.22), transparent 55%),
    linear-gradient(160deg, var(--estate-2), var(--estate) 70%, #16211d);
}
.estate-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* 9. SECTIONS & SHARED BLOCKS ---------------------------------------- */
.page-hero { padding-top: clamp(3rem, 1.5rem + 5vw, 6rem); padding-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.page-hero h1 { margin: 1.1rem 0 1.1rem; max-width: 16ch; }
.page-hero p { max-width: 56ch; }

.feature-row { align-items: stretch; }
.feature-row .media { aspect-ratio: 5 / 4; min-height: 320px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.pill {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.45rem 1rem;
}

/* 10. STATS / COUNTERS ------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.stat { text-align: left; }
.stat__num {
  font-family: var(--display);
  font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem);
  line-height: 1;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.1em;
}
.section--dark .stat__num { color: var(--on-dark); }
.stat__suffix { font-size: 0.5em; color: var(--brass); }
.stat__label {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--dark .stat__label { color: var(--on-dark-mut); }

/* 11. LISTING CARDS --------------------------------------------------- */
.listings { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.listing {
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out),
              border-color var(--t-mid) var(--ease);
}
.listing:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--line); }
.listing__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.listing__media .media__img,
.listing__media .estate-art { transition: transform 1.2s var(--ease-out); }
.listing:hover .listing__media .estate-art,
.listing:hover .listing__media .media__img { transform: scale(1.06); }
.listing__status {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--canvas);
  color: var(--ink);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
}
.listing__status.is-new { background: var(--brass); color: var(--ink); }
.listing__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: 0.6rem; }
.listing__price { font-family: var(--display); font-size: 1.6rem; color: var(--ink); }
.listing__addr { font-size: 0.86rem; color: var(--text-soft); }
.listing__loc { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.listing__facts {
  display: flex; gap: 1.2rem; margin-top: 0.6rem; padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.8rem; color: var(--text-soft);
}
.listing__facts span { display: inline-flex; align-items: center; gap: 0.4rem; }
.listing__facts strong { color: var(--ink); font-weight: 600; }

/* 12. SERVICES -------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.svc {
  background: var(--canvas);
  padding: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: background var(--t-mid) var(--ease);
}
.svc:hover { background: var(--canvas-2); }
.svc__no { font-family: var(--display); font-size: 0.95rem; color: var(--brass-deep); letter-spacing: 0.1em; }
.svc__icon { color: var(--brass-deep); }
.svc h3 { font-size: 1.3rem; }
.svc p { font-size: 0.94rem; }
.svc__link { margin-top: auto; padding-top: 0.6rem; }

/* 13. TESTIMONIALS ---------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.quote {
  background: var(--canvas);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 2rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.section--dark .quote { background: var(--estate-2); border-color: rgba(217,199,167,0.16); }
.quote__mark { font-family: var(--display); font-size: 3rem; line-height: 0.4; color: var(--brass); height: 1.4rem; }
.quote__text { font-family: var(--display); font-size: 1.18rem; line-height: 1.45; color: var(--ink); font-weight: 380; }
.section--dark .quote__text { color: var(--on-dark); }
.quote__stars { color: var(--brass); letter-spacing: 0.2em; font-size: 0.85rem; }
.quote__by { margin-top: auto; }
.quote__name { font-weight: 700; color: var(--ink); font-size: 0.92rem; }
.section--dark .quote__name { color: var(--on-dark); }
.quote__role { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.2rem; }

/* 14. AWARDS ---------------------------------------------------------- */
.awards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.award {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.section--dark .award { border-color: rgba(217,199,167,0.18); }
.award__seal { color: var(--brass); }
.award__year { font-family: var(--display); font-size: 1.5rem; color: var(--ink); }
.section--dark .award__year { color: var(--on-dark); }
.award__name { font-size: 0.8rem; letter-spacing: 0.08em; color: var(--text-soft); }
.section--dark .award__name { color: var(--on-dark-mut); }

/* 15. TIMELINE -------------------------------------------------------- */
.timeline { display: grid; gap: 0; border-left: 1px solid var(--line); margin-left: 0.5rem; }
.tl-item { position: relative; padding: 0 0 2.4rem 2.2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -5px; top: 6px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 4px var(--canvas);
}
.tl-item__year { font-family: var(--display); font-size: 1.3rem; color: var(--brass-deep); }
.tl-item h4 { margin: 0.3rem 0 0.4rem; }

/* 16. PROCESS STEPS --------------------------------------------------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--brass);
}
.step::after {
  content: "";
  position: absolute;
  top: 0.6rem; left: 3.2rem; right: -0.5rem;
  height: 1px;
  background: var(--line);
}
.step:last-child::after { display: none; }
.step h4 { margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; }

/* 17. FAQ ------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  text-align: left;
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--ink);
}
.faq__icon { flex: none; width: 22px; height: 22px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--brass-deep);
  transition: transform var(--t-fast) var(--ease);
}
.faq__icon::before { left: 0; right: 0; top: 10px; height: 1.5px; }
.faq__icon::after { top: 0; bottom: 0; left: 10px; width: 1.5px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: scaleY(0); }
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--t-mid) var(--ease);
}
.faq__a > div { padding: 0 0 1.5rem; max-width: 70ch; }

/* 18. FORMS ----------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.info-list { display: grid; gap: 1.6rem; margin-top: 2rem; }
.info-item__label { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.info-item__value { font-family: var(--display); font-size: 1.25rem; color: var(--ink); margin-top: 0.3rem; }
.info-item a { text-decoration: none; }
.info-item a:hover { color: var(--brass-deep); }

.form { display: grid; gap: 1.3rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); font-weight: 600; }
.field label .req { color: var(--brass-deep); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 22%, transparent);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: #b3463a;
  box-shadow: 0 0 0 3px rgba(179,70,58,0.14);
}
.field__error { font-size: 0.78rem; color: #b3463a; min-height: 1em; }
.form__status {
  font-size: 0.9rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--canvas-2);
}
.form__status[data-state="success"] { border-color: var(--brass); color: var(--ink); }

/* 19. FOOTER ---------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding-top: clamp(3.5rem, 2rem + 5vw, 6rem); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--gutter); padding-bottom: 3rem; }
.footer-top h4 { color: var(--on-dark); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; font-family: var(--sans); font-weight: 600; margin-bottom: 1.2rem; }
.footer-brand .brand__name { color: var(--on-dark); }
.footer-brand p { color: var(--on-dark-mut); margin-top: 1.2rem; max-width: 34ch; }
.footer-list { display: grid; gap: 0.8rem; }
.footer-list a { color: var(--on-dark-mut); text-decoration: none; font-size: 0.92rem; transition: color var(--t-fast) var(--ease); }
.footer-list a:hover { color: var(--on-dark); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.8rem;
  border-top: 1px solid rgba(243,239,230,0.12);
  font-size: 0.8rem;
  color: var(--on-dark-mut);
}
.footer-social { display: flex; gap: 1.4rem; }
.footer-social a { color: var(--on-dark-mut); text-decoration: none; letter-spacing: 0.08em; }
.footer-social a:hover { color: var(--brass); }

/* 20. ANIMATION UTILITIES -------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

.mask { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-out); }
.mask.is-visible { clip-path: inset(0 0 0 0); }

/* hero line entrance */
.line > span { transform: translateY(110%); transition: transform var(--t-slow) var(--ease-out); }
.is-loaded .line > span { transform: translateY(0); }
.is-loaded .line:nth-child(2) > span { transition-delay: 0.08s; }
.is-loaded .line:nth-child(3) > span { transition-delay: 0.16s; }

/* 21. RESPONSIVE ------------------------------------------------------ */
@media (max-width: 1024px) {
  .cols-4, .stats, .awards { grid-template-columns: repeat(2, 1fr); }
  .listings, .svc-grid, .quotes, .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 360px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem var(--gutter);
    background: var(--canvas);
    box-shadow: -30px 0 60px -30px rgba(22,20,15,0.4);
    transform: translateX(100%);
    transition: transform var(--t-mid) var(--ease-out);
    z-index: 850;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__link { font-size: 1rem; }
  .nav__cta { margin-top: 0.5rem; }
  .nav__toggle { display: block; z-index: 860; }
  body.menu-open { overflow: hidden; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(22,20,15,0.4);
    opacity: 0; visibility: hidden; transition: opacity var(--t-mid) var(--ease); z-index: 840;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  .hero__grid, .split, .feature-row, .contact-grid { grid-template-columns: 1fr; }
  .feature-row .media { min-height: 280px; order: -1; }
  .hero__visual { aspect-ratio: 16 / 11; }
}

@media (max-width: 620px) {
  .cols-2, .cols-3, .stats, .awards, .listings, .svc-grid, .quotes, .steps { grid-template-columns: 1fr; }
  .hero__meta { gap: 1.6rem; }
  .form__row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* 22. REDUCED MOTION -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .mask, .line > span { opacity: 1; transform: none; clip-path: none; }
}
