/* ===== Tokens ===== */
:root {
  --charcoal: #1e1e1e;
  --offwhite: #f2efea;
  --copper: #b87333;
  --mid: #5a5a5a;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max: 1280px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(4rem, 8vw, 7rem);

  /* Derived / scoped values (kept named, not magic) */
  --border-card: 1px solid rgba(0, 0, 0, 0.08);
  --divider-copper: 1px solid var(--copper);
  --hero-photo-mobile-max: 60vh;
  --hero-breakpoint: 880px;
  --reveal-distance: 16px;
  --reveal-duration: 300ms;
  --hover-duration: 180ms;
  --hero-scale-duration: 700ms;
}

/* ===== Reset / base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--offwhite);
  overflow-x: hidden;
}

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

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

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--charcoal);
  color: var(--offwhite);
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ===== Typography ===== */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 1.25rem 0;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem 0;
  color: var(--charcoal);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95rem 1.5rem;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--hover-duration) ease,
              color var(--hover-duration) ease,
              border-color var(--hover-duration) ease;
}

.btn--primary {
  background: var(--copper);
  color: var(--charcoal);
  border-color: var(--copper);
}
.btn--primary:hover {
  background: #a5652a;
  border-color: #a5652a;
}

.btn--ghost {
  background: transparent;
  color: var(--copper);
  border-color: var(--copper);
}
.btn--ghost:hover {
  background: var(--copper);
  color: var(--charcoal);
}

.btn--dark {
  background: var(--charcoal);
  color: var(--offwhite);
  border-color: var(--charcoal);
}
.btn--dark:hover {
  background: #000;
  border-color: #000;
}

.btn--pill {
  border-radius: 999px;
  background: var(--copper);
  color: var(--charcoal);
  border-color: var(--copper);
  padding: 0.65rem 1.1rem;
  font-size: 0.8125rem;
}
.btn--pill:hover {
  background: #a5652a;
  border-color: #a5652a;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--charcoal);
  color: var(--offwhite);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--offwhite);
  white-space: nowrap;
}

.nav__links {
  display: none;
  gap: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
}

.nav__links a {
  color: rgba(242, 239, 234, 0.7);
  transition: color var(--hover-duration) ease;
}
.nav__links a:hover {
  color: var(--offwhite);
}

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

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
  background: var(--charcoal);
}

.hero__left {
  background: var(--charcoal);
  color: var(--offwhite);
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter);
}

.hero__content {
  max-width: 30rem;
  margin: 0 auto;
  width: 100%;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5.4vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--offwhite);
  margin: 0 0 1.25rem 0;
}

.hero__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(242, 239, 234, 0.78);
  margin: 0 0 2rem 0;
  max-width: 28rem;
}

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

.hero__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--copper);
  letter-spacing: -0.01em;
  border-top: 1px solid rgba(184, 115, 51, 0.35);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}

.hero__right {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__photo {
    transform: scale(1.04);
    animation: hero-zoom var(--hero-scale-duration) ease-out forwards;
  }
}

@keyframes hero-zoom {
  to { transform: scale(1); }
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__left {
    order: 1;
    padding-top: clamp(2.5rem, 10vw, 4rem);
    padding-bottom: clamp(2.5rem, 10vw, 4rem);
  }
  .hero__right {
    order: 2;
    max-height: var(--hero-photo-mobile-max);
  }
  .hero__photo {
    max-height: var(--hero-photo-mobile-max);
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* ===== Credentials ===== */
.credentials {
  background: var(--charcoal);
  color: var(--offwhite);
  padding: 1.5rem var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.credentials__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: rgba(242, 239, 234, 0.85);
}

.credentials__item {
  padding: 0.25rem 0.75em;
}

.credentials__item + .credentials__item {
  border-left: var(--divider-copper);
}

@media (max-width: 480px) {
  .credentials__inner {
    flex-direction: column;
    gap: 0.5rem;
  }
  .credentials__item + .credentials__item {
    border-left: none;
  }
}

/* ===== Services ===== */
.services {
  background: var(--offwhite);
  padding: var(--section) 0;
}

.services .section__title {
  text-align: center;
  margin-bottom: 3rem;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.card {
  background: var(--offwhite);
  border: var(--border-card);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--hover-duration) ease;
}

.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: -1.25rem -1.25rem 1.25rem -1.25rem;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin: 0 0 0.5rem 0;
  display: inline-block;
  align-self: flex-start;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--hover-duration) ease;
}

.card:hover .card__title {
  border-bottom-color: var(--copper);
}

.card__body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--mid);
  margin: 0;
}

/* ===== Welcoming ===== */
.welcoming {
  position: relative;
  background: var(--charcoal);
  color: var(--offwhite);
  padding: var(--section) var(--gutter);
  overflow: hidden;
  isolation: isolate;
}

.welcoming__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  z-index: -1;
}

.welcoming__inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.welcoming__title {
  color: var(--offwhite);
  font-weight: 700;
  font-size: clamp(1.875rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

.welcoming__body {
  color: rgba(242, 239, 234, 0.82);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0 auto 2rem auto;
  max-width: 36rem;
}

/* ===== Reviews ===== */
.reviews {
  background: var(--offwhite);
  padding: var(--section) 0;
}

.reviews .section__title {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

.pull {
  background: var(--offwhite);
  border-top: 2px solid var(--copper);
  padding: 1.75rem 1.5rem;
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pull p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin: 0 0 1rem 0;
}

.pull cite {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--mid);
  font-style: normal;
  letter-spacing: 0.02em;
}

.reviews__note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--mid);
  font-style: italic;
}

/* ===== Location ===== */
.location {
  background: var(--offwhite);
  padding: var(--section) var(--gutter);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

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

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

.location__address {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.35;
  color: var(--charcoal);
  font-style: normal;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.01em;
}

.location__hours {
  margin: 0 0 2rem 0;
  display: grid;
  gap: 0.35rem;
}

.location__hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.9375rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 0.5rem;
}

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

.location__hours dd {
  margin: 0;
  color: var(--mid);
}

.location__map {
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  aspect-ratio: 600 / 400;
  width: 100%;
}

.location__map svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ===== Contact ===== */
.contact {
  background: var(--copper);
  padding: var(--section) var(--gutter);
}

.contact__inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.contact__title {
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.contact__body {
  color: var(--charcoal);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0 auto 2rem auto;
  max-width: 34rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--charcoal);
  color: var(--offwhite);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2rem var(--gutter);
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
  .footer__cols {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .footer__cols {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

.footer__heading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 1rem 0;
}

.footer__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--offwhite);
  margin: 0 0 0.5rem 0;
}

.footer__col p {
  margin: 0 0 0.5rem 0;
  font-size: 0.875rem;
  color: rgba(242, 239, 234, 0.75);
  line-height: 1.6;
}

.footer__col a {
  color: rgba(242, 239, 234, 0.85);
  transition: color var(--hover-duration) ease;
}
.footer__col a:hover {
  color: var(--copper);
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

.footer__list li {
  margin-bottom: 0.4rem;
  color: rgba(242, 239, 234, 0.85);
}

.footer__socials {
  margin-top: 1rem;
}

.footer__legal {
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: rgba(242, 239, 234, 0.6);
  line-height: 1.65;
}

.footer__ffl {
  margin: 0 0 0.75rem 0;
}

.footer__ffl-num {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--offwhite);
  letter-spacing: 0.02em;
}

.footer__age {
  max-width: 60rem;
  margin: 0 0 1.25rem 0;
}

.footer__copy {
  margin: 0;
  color: rgba(242, 239, 234, 0.5);
}

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition: opacity var(--reveal-duration) ease,
              transform var(--reveal-duration) ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__photo {
    animation: none;
    transform: none;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
