/* -----------------------------------------------------------------------------
 * V4-05 The Expert — Editorial magazine layout
 * Palette: deep green + linen + gold; Lora (display) + Inter (body).
 * --------------------------------------------------------------------------- */

:root {
  --green: #1a3a28;
  --linen: #f4eed8;
  --gold: #c8982a;
  --sage: #6a8a70;
  --ink: #1a3a28;
  --font-display: "Lora", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 4px;
  --max: 1320px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(5rem, 10vw, 8rem);

  --numeral-opacity: 0.08;
  --ffl-num-color: rgba(26, 58, 40, 0.08);
  --rule-soft: rgba(26, 58, 40, 0.15);
  --rule-softer: rgba(26, 58, 40, 0.08);
  --on-green-muted: rgba(244, 238, 216, 0.8);
  --on-green-rule: rgba(244, 238, 216, 0.18);

  --tap-min: 44px;
  --dur: 350ms;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* -----------------------------------------------------------------------------
 * Reset / base
 * --------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
}

p {
  margin: 0;
}

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

address {
  font-style: normal;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--green);
  color: var(--linen);
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* -----------------------------------------------------------------------------
 * Shared utilities
 * --------------------------------------------------------------------------- */

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-min);
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 180ms var(--ease),
    color 180ms var(--ease), border-color 180ms var(--ease);
}

.btn--primary {
  background: var(--green);
  color: var(--linen);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #12301f;
}

.btn--ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--gold);
  color: var(--green);
}

.btn--contact {
  background: var(--green);
  color: var(--linen);
}

.btn--contact:hover,
.btn--contact:focus-visible {
  background: #12301f;
}

/* Dark-section button variant (used inside .location--dark). */
.location--dark .btn--primary {
  background: var(--gold);
  color: var(--green);
}

.location--dark .btn--primary:hover,
.location--dark .btn--primary:focus-visible {
  background: #b1861f;
  color: var(--green);
}

/* -----------------------------------------------------------------------------
 * Nav
 * --------------------------------------------------------------------------- */

.nav {
  background: var(--linen);
  border-bottom: 1px solid var(--rule-soft);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.nav__links {
  display: none;
  margin-left: auto;
  gap: 1.75rem;
}

.nav__links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--ink);
  text-decoration: none;
}

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

.nav__phone {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  padding: 0.6rem 1.1rem;
  background: var(--gold);
  color: var(--green);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 999px;
}

@media (min-width: 760px) {
  .nav__links {
    display: inline-flex;
  }

  .nav__phone {
    margin-left: 0;
  }
}

/* -----------------------------------------------------------------------------
 * Hero — asymmetric 3-column
 * --------------------------------------------------------------------------- */

.hero {
  background: var(--linen);
}

.hero__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
  min-height: 90svh;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.hero__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(8rem, 18vw, 16rem);
  line-height: 0.8;
  color: rgba(26, 58, 40, 0);
  letter-spacing: -0.02em;
  user-select: none;
  pointer-events: none;
  transition: color 800ms ease-out;
}

.hero__num.is-visible {
  color: rgba(26, 58, 40, var(--numeral-opacity));
}

.hero__content {
  max-width: 56ch;
  position: relative;
  z-index: 1;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero__subhead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 2rem;
  max-width: 48ch;
}

.hero__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero__photo {
  margin: 0;
  width: 100%;
  max-height: 420px;
  overflow: hidden;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
  max-height: 420px;
}

/* Tablet: 2-col — numeral hidden, photo on right. */
@media (min-width: 640px) and (max-width: 959px) {
  .hero__inner {
    grid-template-columns: 1.25fr 1fr;
    grid-template-areas: "center photo";
  }

  .hero__num {
    display: none;
  }

  .hero__content {
    grid-area: center;
  }

  .hero__photo {
    grid-area: photo;
    height: 100%;
    max-height: none;
  }

  .hero__photo img {
    min-height: 100%;
    max-height: none;
    height: 100%;
  }
}

/* Desktop: 3-col asymmetric with giant numeral bleeding behind headline. */
@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "num center photo";
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
  }

  .hero__num {
    grid-area: num;
    position: absolute;
    left: clamp(0.5rem, 3vw, 2rem);
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
  }

  .hero__content {
    grid-area: center;
    z-index: 1;
    padding-left: clamp(2rem, 8vw, 6rem);
  }

  .hero__photo {
    grid-area: photo;
    width: 360px;
    max-height: none;
    height: 72svh;
    min-height: 480px;
  }

  .hero__photo img {
    width: 100%;
    height: 100%;
    max-height: none;
  }
}

/* -----------------------------------------------------------------------------
 * Trust strip
 * --------------------------------------------------------------------------- */

.trust {
  background: var(--green);
  color: var(--linen);
}

.trust__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.trust__item {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.875rem, 1.4vw, 1rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trust__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  flex-shrink: 0;
}

/* -----------------------------------------------------------------------------
 * Services — alternating rows
 * --------------------------------------------------------------------------- */

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

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

.svc-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding-block: 2rem;
  border-top: 1px solid var(--rule-soft);
  opacity: 1;
  transform: none;
}

.svc-row:last-child {
  border-bottom: 1px solid var(--rule-soft);
}

.svc-row__img {
  margin: 0;
  order: -1;
}

.svc-row__img img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--rule-softer);
}

.svc-row__num {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.svc-row__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.svc-row__copy {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  max-width: 52ch;
}

/* Desktop: 2-col grid; alternate image side by modifier class. */
@media (min-width: 768px) {
  .svc-row {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-block: 3rem;
  }

  .svc-row__img {
    order: 0;
  }

  .svc-row__img img {
    aspect-ratio: 3 / 2;
  }

  .svc-row--right .svc-row__img {
    order: 2;
  }
}

/* Scroll reveal for service rows. */
@media (prefers-reduced-motion: no-preference) {
  .svc-row {
    opacity: 0;
    transition: opacity var(--dur) var(--ease),
      transform var(--dur) var(--ease);
  }

  .svc-row--left {
    transform: translateX(-12px);
  }

  .svc-row--right {
    transform: translateX(12px);
  }

  .svc-row.is-visible {
    opacity: 1;
    transform: translateX(0);
  }
}

/* -----------------------------------------------------------------------------
 * Welcoming — half text, half photo
 * --------------------------------------------------------------------------- */

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

.welcoming__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.welcoming__heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 18ch;
}

.welcoming__body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 56ch;
}

.welcoming__photo {
  margin: 0;
  background: var(--sage);
}

.welcoming__photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (min-width: 900px) {
  .welcoming__inner {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
  }

  .welcoming__photo {
    height: 100%;
  }

  .welcoming__photo img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 440px;
  }
}

/* -----------------------------------------------------------------------------
 * Reviews
 * --------------------------------------------------------------------------- */

.reviews {
  background: var(--linen);
  padding: var(--section) 0;
  border-top: 1px solid var(--rule-soft);
}

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

.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.review {
  margin: 0;
  padding: 1.75rem;
  background: transparent;
  border-left: 2px solid var(--gold);
}

.review__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1rem;
}

.review__attrib {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

/* -----------------------------------------------------------------------------
 * Location — full-bleed dark green
 * --------------------------------------------------------------------------- */

.location--dark {
  background: var(--green);
  color: var(--linen);
  padding: var(--section) 0;
}

.location__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.location__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--linen);
  margin-bottom: 1.5rem;
}

.location__address {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.5;
  color: var(--linen);
  margin-bottom: 1.5rem;
}

.location__hours {
  margin: 0 0 2rem 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--on-green-muted);
}

.location__hours dt {
  font-weight: 600;
  color: var(--linen);
}

.location__hours dd {
  margin: 0;
}

.location__map {
  margin: 0;
}

.location__map svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--on-green-rule);
}

@media (min-width: 820px) {
  .location__inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

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

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

.contact__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}

.contact__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1rem;
  max-width: 24ch;
  margin-inline: auto;
}

.contact__body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  max-width: 52ch;
  margin: 0 auto 2rem;
}

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

.footer {
  background: var(--green);
  color: var(--linen);
  padding: clamp(3rem, 7vw, 5rem) 0 2rem 0;
}

.footer__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.footer__phone {
  margin-bottom: 1rem;
}

.footer__phone a {
  color: var(--linen);
  text-decoration: none;
  font-weight: 500;
}

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

.footer__social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__social a {
  color: var(--on-green-muted);
  text-decoration: none;
  font-size: 0.9375rem;
}

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

.footer__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer__hours {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  font-size: 0.9375rem;
}

.footer__hours dt {
  color: var(--linen);
  font-weight: 500;
}

.footer__hours dd {
  margin: 0;
  color: var(--on-green-muted);
}

.footer__list li {
  margin-bottom: 0.5rem;
}

.footer__list a {
  color: var(--on-green-muted);
  text-decoration: none;
  font-size: 0.9375rem;
}

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

.footer__legal {
  max-width: var(--max);
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: 1.75rem var(--gutter) 0;
  border-top: 1px solid var(--on-green-rule);
  font-size: 0.875rem;
  color: var(--on-green-muted);
  line-height: 1.6;
}

.footer__ffl {
  margin-bottom: 0.5rem;
  color: var(--linen);
}

.footer__ffl-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em;
}

.footer__age {
  margin-bottom: 0.75rem;
  max-width: 72ch;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--on-green-muted);
}

@media (min-width: 720px) {
  .footer__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 3rem;
  }
}

@media (min-width: 1000px) {
  .footer__inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* -----------------------------------------------------------------------------
 * Reduced motion — disable all transforms/opacity transitions
 * --------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0ms !important;
  }

  .hero__num {
    color: rgba(26, 58, 40, var(--numeral-opacity));
  }

  .svc-row {
    opacity: 1;
    transform: none;
  }
}
