/* ============================================================
   PROFIT FINANCIAL SERVICES — styles.css
   ============================================================ */


/* ------------------------------------------------------------
   1. CSS RESET
   ------------------------------------------------------------ */

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

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

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

ol,
ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}


/* ------------------------------------------------------------
   2. DESIGN TOKENS — CSS CUSTOM PROPERTIES
   ------------------------------------------------------------ */

:root {
  /* Colors */
  --color-navy:      #0B1F3A;   /* primary — headings, nav, footer */
  --color-parchment: #F5F0E8;   /* background */
  --color-brass:     #B8963E;   /* accent — CTAs, highlights, underlines */
  --color-blue-mid:  #2C4A6E;   /* secondary — hover states, dividers */
  --color-text:      #1A1A1A;   /* body text */
  --color-muted:     #6B6B6B;   /* captions, secondary text */
  --color-white:     #FFFFFF;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Type scale */
  --text-xs:   0.75rem;    /*  12px */
  --text-sm:   0.875rem;   /*  14px */
  --text-base: 1rem;       /*  16px */
  --text-md:   1.125rem;   /*  18px */
  --text-lg:   1.25rem;    /*  20px */
  --text-xl:   1.5rem;     /*  24px */
  --text-2xl:  2rem;       /*  32px */
  --text-3xl:  2.5rem;     /*  40px */
  --text-4xl:  3.25rem;    /*  52px */
  --text-5xl:  4rem;       /*  64px */

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

  /* Layout */
  --max-width: 1200px;
  --section-padding: var(--space-24) var(--space-8);

  /* Transitions */
  --ease-fast:   200ms ease;
  --ease-medium: 300ms ease;
}


/* ------------------------------------------------------------
   3. BASE TYPOGRAPHY
   ------------------------------------------------------------ */

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-parchment);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl);  }
h4 { font-size: var(--text-lg);  }

p {
  line-height: 1.75;
}


/* ------------------------------------------------------------
   4. NAV
   ------------------------------------------------------------ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
  transition: background-color var(--ease-medium), box-shadow var(--ease-medium);
}

/* Scrolled state — toggled by JS via .is-scrolled */
.nav.is-scrolled {
  background-color: var(--color-navy);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-4) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand name */
.nav__brand {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: -0.01em;
  transition: color var(--ease-medium);
  white-space: nowrap;
}

.nav.is-scrolled .nav__brand {
  color: var(--color-white);
}

/* Desktop nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-navy);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: var(--space-1);
  transition: color var(--ease-medium);
}

.nav.is-scrolled .nav__link {
  color: var(--color-white);
}

/* Brass underline slide-in on hover */
.nav__link:not(.nav__link--cta)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-brass);
  transition: width var(--ease-medium);
}

.nav__link:not(.nav__link--cta):hover::after {
  width: 100%;
}

/* "Contact Us" — outlined button */
.nav__link--cta {
  border: 1.5px solid var(--color-brass);
  color: var(--color-brass);
  padding: var(--space-2) var(--space-4);
  border-radius: 2px;
  letter-spacing: 0.04em;
  transition: background-color var(--ease-fast), color var(--ease-fast), border-color var(--ease-fast);
}

.nav__link--cta:hover {
  background-color: var(--color-brass);
  color: var(--color-white);
}

.nav.is-scrolled .nav__link--cta {
  color: var(--color-brass);
  border-color: var(--color-brass);
}

/* Hamburger button */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  z-index: 10;
}

.nav__hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-navy);
  border-radius: 1px;
  transition: background-color var(--ease-medium), transform var(--ease-medium), opacity var(--ease-fast);
}

.nav.is-scrolled .nav__hamburger-bar {
  background-color: var(--color-white);
}

/* Animated X when open */
.nav__hamburger[aria-expanded="true"] .nav__hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger[aria-expanded="true"] .nav__hamburger-bar:nth-child(2) {
  opacity: 0;
}

.nav__hamburger[aria-expanded="true"] .nav__hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile dropdown */
.nav__mobile {
  display: flex;
  flex-direction: column;
  background-color: var(--color-navy);
  padding: var(--space-4) 0 var(--space-6);
}

.nav__mobile[hidden] {
  display: none;
}

.nav__mobile-link {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-white);
  padding: var(--space-3) var(--space-8);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-left: 2px solid transparent;
  transition: border-color var(--ease-fast), color var(--ease-fast);
}

.nav__mobile-link:hover {
  border-left-color: var(--color-brass);
  color: var(--color-brass);
}

/* ------------------------------------------------------------
   5. HERO
   ------------------------------------------------------------ */

/* Keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section container */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-32) var(--space-8) var(--space-24);
}

/* Pre-built background (from CLAUDE.md — do not modify) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-color: #F5F0E8;
  background-image:
    linear-gradient(to right, #e8e0d0 1px, transparent 1px),
    linear-gradient(to bottom, #e8e0d0 1px, transparent 1px);
  background-size: 6rem 4rem;
}

.hero-bg__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 800px at 100% 200px,
    rgba(184, 150, 62, 0.12),
    transparent
  );
}

/* Content wrapper — above background */
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* Eyebrow: rule + label */
.hero__eyebrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  animation: fadeUp 0.8s ease-out both;
  animation-delay: 0s;
}

.hero__rule {
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--color-brass);
}

.hero__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-brass);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Main heading */
.hero__heading {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  animation: fadeUp 0.8s ease-out both;
  animation-delay: 0.15s;
}

/* Subheading */
.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--color-muted);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto var(--space-10);
  animation: fadeUp 0.8s ease-out both;
  animation-delay: 0.3s;
}

/* CTA button */
.hero__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  background-color: var(--color-navy);
  padding: 0.9rem 2.2rem;
  border-radius: 0;
  transition: background-color 250ms ease;
  animation: fadeUp 0.8s ease-out both;
  animation-delay: 0.45s;
}

.hero__cta:hover {
  background-color: var(--color-brass);
}

/* Trust line */
.hero__trust {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-muted);
  margin-top: var(--space-6);
  letter-spacing: 0.02em;
  animation: fadeUp 0.8s ease-out both;
  animation-delay: 0.6s;
}

/* ------------------------------------------------------------
   HERO — Responsive
   ------------------------------------------------------------ */

@media (max-width: 767px) {
  .hero {
    padding-top: 120px;
    align-items: flex-start;
  }

  .hero__cta {
    display: block;
    width: 100%;
    text-align: center;
  }
}

/* ------------------------------------------------------------
   6. ABOUT
   ------------------------------------------------------------ */

/* Scroll-reveal base state — elements start hidden */
.about__body,
.about__stats {
  opacity: 0;
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.about__body  { transform: translateX(-30px); }
.about__stats { transform: translateX(30px);  }

/* Triggered state when section enters viewport */
.about.is-visible .about__body,
.about.is-visible .about__stats {
  opacity: 1;
  transform: translateX(0);
}

/* Slight delay on the stats column */
.about.is-visible .about__stats {
  transition-delay: 0.1s;
}

/* Section container */
.about {
  background-color: var(--color-white);
  padding: 7rem var(--space-8);
}

.about__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 4rem;
  align-items: start;
}

/* Eyebrow */
.about__eyebrow {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.about__rule {
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--color-brass);
}

.about__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-brass);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Heading */
.about__heading {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-8);
}

/* Body paragraphs */
.about__copy {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: var(--space-6);
}

.about__copy:last-of-type {
  margin-bottom: var(--space-8);
}

/* CTA link */
.about__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-brass);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease-fast);
}

.about__cta:hover {
  border-bottom-color: var(--color-brass);
}

.about__cta-arrow {
  display: inline-block;
  transition: transform var(--ease-fast);
}

.about__cta:hover .about__cta-arrow {
  transform: translateX(4px);
}

/* Stat cards */
.about__stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.about__card {
  border-left: 3px solid var(--color-brass);
  padding: 1.5rem;
  background-color: var(--color-parchment);
}

.about__card-stat {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.about__card-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   ABOUT — Responsive
   ------------------------------------------------------------ */

/* Tablet: collapse to single column at ≤1023px */
@media (max-width: 1023px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .about {
    padding: 5.5rem var(--space-8);
  }
}

@media (max-width: 767px) {
  .about {
    padding: 5rem var(--space-6);
  }
}

/* ------------------------------------------------------------
   7. SERVICES
   ------------------------------------------------------------ */

/* Section */
.services {
  background-color: var(--color-parchment);
  padding: 7rem var(--space-8);
}

.services__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}

/* Section header */
.services__header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.services.is-visible .services__header {
  opacity: 1;
  transform: translateY(0);
}

.services__eyebrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.services__rule {
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--color-brass);
}

.services__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-brass);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.services__heading {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.015em;
  margin-bottom: var(--space-4);
}

.services__sub {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-muted);
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto;
}

/* Cards grid */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Individual card */
.svc-card {
  position: relative;
  background-color: var(--color-white);
  border-top: 3px solid var(--color-brass);
  padding: 2.5rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  /* Scroll-reveal: start hidden, stagger via nth-child */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out,
              box-shadow 250ms ease;
}

/* Staggered reveal delays */
.services.is-visible .svc-card:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.services.is-visible .svc-card:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.services.is-visible .svc-card:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

/* Card hover lift */
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Decorative number — top right, faint watermark */
.svc-card__num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-brass);
  opacity: 0.2;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Card heading */
.svc-card__heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  padding-right: 3rem; /* clear the watermark number */
}

/* Card description */
.svc-card__desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Bullet list with brass dash */
.svc-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.svc-card__list li {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text);
  line-height: 2;
  padding-left: 1.4rem;
}

.svc-card__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-brass);
  font-size: 0.75rem;
  line-height: 2.4;
}

/* ------------------------------------------------------------
   SERVICES — Responsive
   ------------------------------------------------------------ */

@media (max-width: 1023px) {
  .services {
    padding: 5.5rem var(--space-8);
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Third card centered when 2-col grid has odd count */
  .svc-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: calc(50% - 1rem);
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .services {
    padding: 5rem var(--space-4);
  }

  .services__inner {
    padding: 0;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .svc-card:nth-child(3) {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
  }
}

/* ------------------------------------------------------------
   8. TESTIMONIALS / REVIEWS
   ------------------------------------------------------------ */

.reviews {
  background-color: var(--color-white);
  padding: 7rem var(--space-8);
}

.reviews__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}

/* Section header */
.reviews__header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reviews.is-visible .reviews__header {
  opacity: 1;
  transform: translateY(0);
}

.reviews__eyebrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.reviews__rule {
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--color-brass);
}

.reviews__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-brass);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.reviews__heading {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.015em;
}

/* Cards grid */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Individual review card */
.review-card {
  position: relative;
  background-color: var(--color-parchment);
  border-bottom: 3px solid var(--color-brass);
  padding: 2.5rem;
  margin: 0;
  /* Scroll-reveal start state */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reviews.is-visible .review-card:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.reviews.is-visible .review-card:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.reviews.is-visible .review-card:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

/* Large decorative opening quote mark */
.review-card__quote-mark {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: var(--color-brass);
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Quote text */
.review-card__quote {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.9;
  font-style: italic;
  margin-bottom: var(--space-6);
  /* Indent slightly to clear the decorative mark */
  padding-top: var(--space-6);
}

/* Thin brass divider */
.review-card__divider {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-brass);
  opacity: 0.2;
  margin-bottom: 1.25rem;
}

/* Attribution */
.review-card__author {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.review-card__name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.01em;
}

.review-card__company {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-muted);
}

/* ------------------------------------------------------------
   REVIEWS — Responsive
   ------------------------------------------------------------ */

@media (max-width: 1023px) {
  .reviews {
    padding: 5.5rem var(--space-8);
  }

  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: calc(50% - 1rem);
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .reviews {
    padding: 5rem var(--space-4);
  }

  .reviews__inner {
    padding: 0;
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .review-card:nth-child(3) {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
  }
}

/* ------------------------------------------------------------
   9. CONTACT
   ------------------------------------------------------------ */

.contact {
  background-color: var(--color-parchment);
  padding: 7rem var(--space-8);
}

.contact__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-8);
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 5rem;
  align-items: start;
}

/* Scroll-reveal: columns slide in from opposite sides */
.contact__form-col,
.contact__info-col {
  opacity: 0;
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.contact__form-col  { transform: translateX(-30px); }
.contact__info-col  { transform: translateX(30px); transition-delay: 0.1s; }

.contact.is-visible .contact__form-col,
.contact.is-visible .contact__info-col {
  opacity: 1;
  transform: translateX(0);
}

/* Eyebrow */
.contact__eyebrow {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.contact__rule {
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--color-brass);
}

.contact__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-brass);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Heading + sub */
.contact__heading {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.015em;
  margin-bottom: var(--space-2);
}

.contact__sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--color-muted);
  margin-bottom: 2.5rem;
}

/* Form fields */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field__label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 0.4rem;
  display: block;
}

.form-field__input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #ddd;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-white);
  transition: border-color 250ms ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-field__input::placeholder {
  color: var(--color-muted);
}

.form-field__input:focus {
  outline: none;
  border-color: var(--color-brass);
}

.form-field__input--textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.7;
}

/* Submit button */
.contact__submit {
  width: 100%;
  padding: 1rem;
  margin-top: 0.5rem;
  background-color: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 250ms ease;
}

.contact__submit:hover {
  background-color: var(--color-brass);
}

/* Right column: Contact info */
.contact__info-heading {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

/* Divider immediately below heading */
.contact__info-divider--heading {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-brass);
  opacity: 0.3;
  margin-bottom: 2rem;
}

.contact__info-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact__info-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.contact__info-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-brass);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.contact__info-value {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.5;
}

.contact__info-value--link {
  text-decoration: none;
  transition: color var(--ease-fast);
}

.contact__info-value--link:hover {
  color: var(--color-brass);
}

.contact__info-address {
  font-style: normal;
  line-height: 1.7;
}

.contact__closing {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--color-muted);
  line-height: 1.7;
  border-top: 1px solid rgba(184, 150, 62, 0.3);
  margin-top: 2rem;
  padding-top: 2rem;
}

/* ------------------------------------------------------------
   CONTACT — Responsive
   ------------------------------------------------------------ */

@media (max-width: 1023px) {
  .contact {
    padding: 5.5rem var(--space-8);
  }

  .contact__inner {
    gap: 3rem;
  }
}

@media (max-width: 767px) {
  .contact {
    padding: 5rem var(--space-4);
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    padding: 0;
    /* Default DOM order: form col first, info col second */
  }
}

/* ------------------------------------------------------------
   10. FOOTER
   ------------------------------------------------------------ */

.footer {
  background-color: var(--color-navy);
  padding: 4rem 0 2rem;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}

/* Row 1 — Three column grid */
.footer__top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

/* Column 1: Brand */
.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  max-width: 260px;
}

/* Column label (shared by nav + contact columns) */
.footer__col-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-brass);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Column 2: Nav links */
.footer__nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 200ms ease;
}

.footer__nav-links a:hover {
  color: var(--color-white);
}

/* Column 3: Contact list */
.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__contact-list li,
.footer__contact-list a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 200ms ease;
  line-height: 1.5;
}

.footer__contact-list a:hover {
  color: var(--color-white);
}

/* Row 2: Divider */
.footer__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2.5rem 0;
}

/* Row 3: Bottom bar */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__legal,
.footer__location {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
}

/* ------------------------------------------------------------
   FOOTER — Responsive
   ------------------------------------------------------------ */

@media (max-width: 767px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__tagline {
    max-width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* Sentinel — invisible, sits 80px from top */
.nav__sentinel {
  position: absolute;
  top: 80px;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* ------------------------------------------------------------
   NAV — Responsive (mobile-first breakpoint)
   ------------------------------------------------------------ */

@media (max-width: 767px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__inner {
    padding: var(--space-4) var(--space-6);
  }
}

/* ------------------------------------------------------------
   SMALL MOBILE — below 480px
   ------------------------------------------------------------ */

@media (max-width: 479px) {
  /* Prevent brand name overflow on narrow screens */
  .nav__brand {
    font-size: 1rem;
  }

  /* Extra top padding to clear fixed nav */
  .hero {
    padding-top: 140px;
  }

  /* Tighter section horizontal padding */
  .about,
  .services,
  .reviews,
  .contact {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .contact__inner,
  .services__inner,
  .reviews__inner {
    padding-left: 0;
    padding-right: 0;
  }

  /* Footer inner padding */
  .footer__inner {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }
}
