/* ==========================================================================
   TAG Residential — Design System
   Palette: deep navy + soft neutrals + muted gold accent
   ========================================================================== */

:root {
  /* Color */
  --navy-950: #0a1628;
  --navy-900: #0f2744;
  --navy-800: #163456;
  --navy-700: #1e4568;
  --charcoal: #1a2332;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --gold-600: #a67c4a;
  --gold-500: #c4945a;
  --gold-400: #d4a96a;
  --gold-100: #f7f0e6;
  --success: #166534;
  --success-bg: #dcfce7;
  --error: #991b1b;
  --error-bg: #fee2e2;

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --max-width: 70rem;
  --header-height: 6.75rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgb(15 39 68 / 0.06);
  --shadow-md: 0 4px 16px rgb(15 39 68 / 0.08);
  --shadow-lg: 0 12px 40px rgb(15 39 68 / 0.12);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 200ms;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy-800);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  transition: color var(--duration) var(--ease);
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 550;
  color: var(--navy-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-4);
}

p {
  margin: 0 0 var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-16);
}

@media (min-width: 768px) {
  .section {
    padding-block: var(--space-20);
  }
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: var(--space-3);
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.375rem);
  margin-bottom: var(--space-4);
}

.section__lead {
  font-size: 1.125rem;
  color: var(--slate-600);
  max-width: 38rem;
}

.section--alt {
  background: var(--slate-50);
}

.section--navy {
  background: var(--navy-900);
  color: var(--slate-200);
}

.section--navy .section__title {
  color: var(--white);
}

.section--navy .section__lead {
  color: var(--slate-400);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    background-color var(--duration) var(--ease),
    color var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--gold-500);
  color: var(--navy-950);
  border-color: var(--gold-500);
}

.btn--primary:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--navy-950);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgb(255 255 255 / 0.45);
}

.btn--secondary:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--slate-200);
}

.btn--outline:hover {
  border-color: var(--navy-800);
  color: var(--navy-900);
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  height: var(--header-height);
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(226 232 240 / 0.9);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  height: 100%;
  padding-block: 0.65rem;
  gap: var(--space-3);
  flex-wrap: nowrap;
}

.email-with-copy {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.email-with-copy--header {
  display: none;
  margin-left: auto;
  margin-right: var(--space-2);
}

@media (min-width: 640px) {
  .email-with-copy--header {
    display: inline-flex;
  }
}

.header-email {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--navy-900);
  background: var(--gold-100);
  border: 1px solid rgb(196 148 90 / 0.35);
  border-radius: 999px;
  white-space: nowrap;
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.header-email:hover {
  color: var(--navy-950);
  background: var(--gold-400);
  border-color: var(--gold-400);
  text-decoration: none;
}

@media (min-width: 900px) {
  .header-email {
    font-size: 0.875rem;
    letter-spacing: 0.06em;
  }
}

/* Shared copy button */
.copy-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.copy-email-btn--header {
  color: var(--navy-800);
  background: var(--white);
  border-color: var(--slate-200);
}

.copy-email-btn--header:hover {
  border-color: var(--navy-800);
  color: var(--navy-900);
}

.copy-email-btn--hero {
  min-height: 3rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.875rem;
  color: var(--white);
  background: rgb(255 255 255 / 0.12);
  border-color: rgb(255 255 255 / 0.4);
}

.copy-email-btn--hero:hover {
  background: rgb(255 255 255 / 0.2);
  border-color: var(--white);
  color: var(--white);
}

.copy-email-btn--contact {
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  font-size: 0.9375rem;
  color: var(--navy-900);
  background: var(--white);
  border-color: var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.copy-email-btn--contact:hover {
  border-color: var(--navy-800);
  color: var(--navy-950);
}

.copy-email-btn--footer {
  min-height: 2.25rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  color: var(--slate-200);
  background: rgb(255 255 255 / 0.06);
  border-color: rgb(255 255 255 / 0.14);
}

.copy-email-btn--footer:hover {
  color: var(--white);
  border-color: rgb(255 255 255 / 0.35);
}

.copy-email-btn.is-copied {
  color: var(--success);
  border-color: rgb(22 101 52 / 0.35);
  background: var(--success-bg);
}

.copy-email-btn--hero.is-copied,
.copy-email-btn--footer.is-copied {
  color: #bbf7d0;
  background: rgb(22 101 52 / 0.35);
  border-color: rgb(187 247 208 / 0.45);
}

.copy-email-btn.is-failed {
  color: var(--error);
  border-color: rgb(153 27 27 / 0.35);
  background: var(--error-bg);
}

.logo {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--navy-900);
  line-height: 1.1;
  max-width: min(100%, 18rem);
}

.logo:hover {
  color: var(--navy-900);
  text-decoration: none;
}

.logo__mark {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.25rem); /* ~2× prior 1.125rem */
  font-weight: 600;
  letter-spacing: -0.03em;
}

.logo__sub {
  font-size: clamp(0.7rem, 1.8vw, 0.875rem); /* ~1.25–1.3×, stays readable under larger mark */
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-top: 0.15rem;
}

.nav {
  display: none;
  align-items: center;
  gap: var(--space-1);
}

.nav a {
  padding: 0.6rem 0.9rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-600);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.nav a:hover {
  color: var(--navy-900);
  background: var(--slate-100);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--navy-900);
}

.nav-toggle__icon {
  display: block;
  width: 1.125rem;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background var(--duration) var(--ease);
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform var(--duration) var(--ease);
}

.nav-toggle__icon::before {
  top: -6px;
}

.nav-toggle__icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav--open {
  display: flex;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: var(--space-3);
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.nav--open a {
  padding: 0.875rem 1rem;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav--open {
    position: static;
    flex-direction: row;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav--open a {
    padding: 0.6rem 0.9rem;
    font-size: 0.9375rem;
  }
}

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

.hero {
  position: relative;
  min-height: min(88vh, 42rem);
  display: flex;
  align-items: center;
  padding-block: var(--space-16);
  overflow: hidden;
  background: var(--navy-900);
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgb(10 22 40 / 0.94) 0%,
      rgb(15 39 68 / 0.88) 42%,
      rgb(15 39 68 / 0.55) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

/* Old-town hanging wooden shingle */
.shingle {
  --shingle-wood-deep: #3d2914;
  --shingle-wood-mid: #6b4423;
  --shingle-wood-light: #8b5a2b;
  --shingle-wood-highlight: #a67c52;
  --shingle-edge: #2a1a0c;
  --shingle-paint: #f3e6c8;
  --shingle-paint-soft: #e8d4a8;
  --shingle-iron: #4a4a4a;
  --shingle-iron-shine: #7a7a7a;

  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 var(--space-6);
  max-width: 100%;
  filter: drop-shadow(0 14px 22px rgb(0 0 0 / 0.35));
}

.shingle__hanger {
  position: relative;
  display: block;
  width: min(100%, 17rem);
  height: 1.65rem;
}

.shingle__hook {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0.7rem;
  height: 0.7rem;
  margin-left: -0.35rem;
  border: 2px solid var(--shingle-iron-shine);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #9a9a9a, var(--shingle-iron));
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 0.25);
  z-index: 2;
}

.shingle__bar {
  position: absolute;
  top: 0.85rem;
  left: 12%;
  right: 12%;
  height: 0.28rem;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    #8a8a8a 0%,
    var(--shingle-iron) 45%,
    #2f2f2f 100%
  );
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.4);
}

.shingle__chain {
  position: absolute;
  top: 0.55rem;
  width: 2px;
  height: 1.15rem;
  background: repeating-linear-gradient(
    180deg,
    var(--shingle-iron-shine) 0 3px,
    var(--shingle-iron) 3px 6px
  );
  z-index: 1;
}

.shingle__chain--left {
  left: 18%;
  transform: rotate(-6deg);
}

.shingle__chain--right {
  right: 18%;
  transform: rotate(6deg);
}

.shingle__board {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  padding: 1rem 1.5rem 1.1rem;
  min-width: min(100%, 16.5rem);
  text-align: center;
  transform: rotate(-1.5deg);
  border-radius: 0.35rem 0.35rem 0.55rem 0.55rem;
  border: 2px solid var(--shingle-edge);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.06), transparent 35%),
    repeating-linear-gradient(
      90deg,
      var(--shingle-wood-mid) 0 14px,
      var(--shingle-wood-light) 14px 15px,
      var(--shingle-wood-mid) 15px 28px,
      var(--shingle-wood-deep) 28px 29px
    ),
    linear-gradient(
      165deg,
      var(--shingle-wood-highlight) 0%,
      var(--shingle-wood-mid) 40%,
      var(--shingle-wood-deep) 100%
    );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.18),
    inset 0 -8px 16px rgb(0 0 0 / 0.22),
    inset 0 0 0 1px rgb(255 255 255 / 0.05),
    0 2px 0 var(--shingle-edge);
}

.shingle__board::before {
  content: "";
  position: absolute;
  inset: 0.4rem;
  border: 1px solid rgb(243 230 200 / 0.22);
  border-radius: 0.2rem;
  pointer-events: none;
}

.shingle__nail {
  position: absolute;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #c0c0c0, #555 55%, #222);
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.5);
  z-index: 1;
}

.shingle__nail--tl { top: 0.45rem; left: 0.5rem; }
.shingle__nail--tr { top: 0.45rem; right: 0.5rem; }
.shingle__nail--bl { bottom: 0.45rem; left: 0.5rem; }
.shingle__nail--br { bottom: 0.45rem; right: 0.5rem; }

.shingle__label {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--shingle-paint);
  text-shadow:
    0 1px 0 rgb(0 0 0 / 0.45),
    0 0 12px rgb(0 0 0 / 0.15);
}

.shingle__rule {
  position: relative;
  z-index: 1;
  display: block;
  width: 3.25rem;
  height: 2px;
  margin: 0.1rem 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--shingle-paint-soft) 20%,
    var(--shingle-paint-soft) 80%,
    transparent
  );
  opacity: 0.75;
}

.shingle__year {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shingle-paint-soft);
  text-shadow: 0 1px 0 rgb(0 0 0 / 0.4);
}

@media (min-width: 640px) {
  .shingle__board {
    padding: 1.15rem 1.85rem 1.25rem;
    min-width: 18.5rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .shingle {
    animation: shingle-sway 5.5s ease-in-out infinite;
    transform-origin: top center;
  }
}

@keyframes shingle-sway {
  0%, 100% { transform: rotate(-0.6deg); }
  50% { transform: rotate(0.8deg); }
}

.hero__title {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  color: var(--white);
  font-weight: 550;
  margin-bottom: var(--space-5);
  letter-spacing: -0.03em;
}

.hero__subtitle {
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  line-height: 1.6;
  color: var(--slate-200);
  margin-bottom: var(--space-8);
  max-width: 34rem;
}

.hero__email-highlight {
  margin: 0 0 var(--space-8);
}

.hero__email-highlight > a {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.65rem 1.15rem;
  font-size: clamp(0.875rem, 2.4vw, 1.0625rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--navy-950);
  background: var(--gold-500);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition:
    background var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.hero__email-highlight > a:hover {
  background: var(--gold-400);
  color: var(--navy-950);
  text-decoration: none;
}

.email-with-copy--hero {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.inline-email {
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--navy-900);
  text-decoration: none;
  border-bottom: 2px solid var(--gold-500);
}

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

.contact-section {
  text-align: left;
}

.contact-section .section__lead {
  max-width: 40rem;
}

.contact-email-block {
  margin: var(--space-8) 0 0;
}

.email-with-copy--contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact-email-cta {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  font-size: clamp(0.9375rem, 2.5vw, 1.125rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--navy-950);
  background: var(--gold-500);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition:
    background var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.contact-email-cta:hover {
  background: var(--gold-400);
  color: var(--navy-950);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}

.email-with-copy--footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.footer-email {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.875rem;
}

.hero__accent-line {
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--gold-500);
  border-radius: 2px;
  margin-bottom: var(--space-6);
}

/* --------------------------------------------------------------------------
   About / Why Choose Us
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  gap: var(--space-10);
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-16);
    align-items: start;
  }
}

.about-copy p {
  font-size: 1.0625rem;
}

.about-copy strong {
  color: var(--navy-900);
  font-weight: 600;
}

.longevity-callout {
  display: block;
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  line-height: 1.25;
}

.longevity-callout::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-top: var(--space-3);
  background: var(--gold-500);
  border-radius: 2px;
}

.feature-list {
  display: grid;
  gap: var(--space-4);
}

.feature-card {
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.feature-card:hover {
  border-color: rgb(196 148 90 / 0.4);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: var(--space-3);
  background: var(--gold-100);
  color: var(--gold-600);
  border-radius: var(--radius-sm);
}

.feature-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.feature-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--slate-600);
  margin: 0;
}

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

.services-grid {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-10);
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-card__num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-500);
  margin-bottom: var(--space-3);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
}

.service-card p {
  font-size: 0.96875rem;
  color: var(--slate-600);
  flex: 1;
}

.service-card ul {
  margin-top: var(--space-4);
  display: grid;
  gap: var(--space-2);
}

.service-card li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  color: var(--slate-600);
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold-500);
}

/* --------------------------------------------------------------------------
   Service Area
   -------------------------------------------------------------------------- */

.counties {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.county-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-100);
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 999px;
}

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

.contact-grid {
  display: grid;
  gap: var(--space-10);
  margin-top: var(--space-10);
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-12);
    align-items: start;
  }
}

.contact-info {
  display: grid;
  gap: var(--space-5);
}

.contact-info__card {
  padding: var(--space-6);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
}

.contact-info__card h3 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: var(--space-4);
}

.contact-detail {
  display: grid;
  gap: var(--space-4);
}

.contact-detail dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 0.15rem;
}

.contact-detail dd {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--navy-900);
  font-weight: 500;
}

.contact-detail a {
  color: var(--navy-900);
  text-decoration: none;
  font-weight: 500;
}

.contact-detail a:hover {
  color: var(--gold-600);
  text-decoration: underline;
}

.contact-note {
  font-size: 0.9375rem;
  color: var(--slate-600);
  padding: var(--space-4);
  border-left: 3px solid var(--gold-500);
  background: var(--gold-100);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Form */
.form-card {
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
  .form-card {
    padding: var(--space-8);
  }
}

.form-card h3 {
  font-size: 1.375rem;
  margin-bottom: var(--space-2);
}

.form-card > p {
  color: var(--slate-600);
  font-size: 0.96875rem;
  margin-bottom: var(--space-6);
}

.form-row {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

@media (min-width: 640px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-900);
}

.form-field .optional {
  font-weight: 400;
  color: var(--slate-500);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
  line-height: 1.5;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--slate-400);
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: var(--slate-400);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgb(15 39 68 / 0.1);
  outline: none;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.5rem;
}

.form-status {
  display: none;
  margin-bottom: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
}

.form-status--success {
  display: block;
  color: var(--success);
  background: var(--success-bg);
  border: 1px solid rgb(22 101 52 / 0.2);
}

.form-status--error {
  display: block;
  color: var(--error);
  background: var(--error-bg);
  border: 1px solid rgb(153 27 27 / 0.2);
}

.form-status[hidden] {
  display: none !important;
}

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

.site-footer {
  padding-block: var(--space-10);
  background: var(--navy-950);
  color: var(--slate-400);
  font-size: 0.875rem;
}

.site-footer a {
  color: var(--slate-200);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-400);
}

.footer-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.footer-tagline {
  display: inline-block;
  margin-top: 0.15rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-400);
}

.footer-meta {
  display: grid;
  gap: var(--space-2);
}

.footer-disclaimer {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--slate-500);
  max-width: 48rem;
}

.footer-credit {
  margin-top: var(--space-5);
  font-size: 0.8125rem;
  color: var(--slate-500);
}

.footer-credit a {
  color: var(--slate-300);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgb(196 148 90 / 0.45);
}

.footer-credit a:hover {
  color: var(--gold-400);
  border-bottom-color: var(--gold-400);
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: var(--space-4);
}
