/* =========================================================================
   Tin Locksmith — main stylesheet
   Aesthetic: trusted neighborhood tradesman. Navy + brass with a red whisper.
   ========================================================================= */

:root {
  /* Palette pulled from the business card */
  --navy-950: #070d1f;
  --navy-900: #0a1126;
  --navy-800: #0f1830;
  --navy-700: #16213f;
  --navy-600: #1f2c4d;
  --navy-500: #2a395f;
  --navy-400: #3e4f78;

  --brass-300: #e6c477;
  --brass-400: #d4a44a;
  --brass-500: #b88a2d;
  --brass-600: #8f6a1f;

  --red-500: #b8342a;
  --red-600: #8f261d;

  --cream-50:  #f6efe1;
  --cream-100: #ece3d0;
  --cream-200: #d4c8ab;
  --cream-300: #a99a7a;

  --ink-900: #1a1812;
  --ink-700: #2e2a23;

  /* Type */
  --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-sans: 'IBM Plex Sans', system-ui, sans-serif;
  --font-serif: 'IBM Plex Serif', Georgia, serif;

  /* Rhythm */
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-pad: clamp(72px, 9vw, 128px);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --hairline: 1px solid rgba(212, 164, 74, 0.22);
  --hairline-strong: 1px solid rgba(212, 164, 74, 0.45);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--cream-50);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

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

.skip-link {
  position: absolute; left: -9999px; top: auto;
  background: var(--brass-400); color: var(--navy-900);
  padding: 8px 14px; font-weight: 600; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 13, 31, 0.86);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border-bottom: var(--hairline);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--cream-50);
}
.brand-mark-wrap {
  position: relative;
  width: 44px; height: 44px;
  flex: none;
  display: block;
}
.brand-mark {
  width: 44px; height: 44px;
  color: var(--brass-400);
  flex: none;
}
.brand-mark-svg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.brand-mark-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
}
/* When the logo image loads, hide the SVG "TL" fallback so they don't overlap */
.brand-mark-wrap:has(.brand-mark-img) .brand-mark-svg { display: none; }
.brand-wordmark { display: grid; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-400);
  margin-top: 4px;
}

.site-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
  font-size: 13.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-nav a {
  text-decoration: none;
  color: var(--cream-100);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.site-nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--brass-400);
  transition: right .35s cubic-bezier(.4,.0,.2,1);
}
.site-nav a:hover { color: var(--brass-300); }
.site-nav a:hover::after { right: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.phone-cta {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--brass-500);
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  transition: background .2s ease, color .2s ease;
}
.phone-cta-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-300);
}
.phone-cta-number {
  font-weight: 700;
  font-size: 16px;
  color: var(--cream-50);
}
.phone-cta:hover {
  background: var(--brass-400);
}
.phone-cta:hover .phone-cta-label,
.phone-cta:hover .phone-cta-number {
  color: var(--navy-900);
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 8vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(212, 164, 74, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 60% at 0% 100%, rgba(184, 52, 42, 0.07), transparent 70%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
}
.hero::before {
  /* subtle grain */
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.83  0 0 0 0 0.64  0 0 0 0 0.29  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--brass-500) 50%, transparent 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: flex-end;
  pointer-events: none;
  overflow: hidden;
}
.hero-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(280px, 42vw, 620px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: rgba(212, 164, 74, 0.05);
  transform: translateX(8%);
  user-select: none;
}
.hero-mark-img {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(360px, 52vw, 760px);
  height: auto;
  opacity: 0.06;
  user-select: none;
  -webkit-user-drag: none;
}
/* If the JPG loaded, hide the giant text fallback */
.hero-bg:has(.hero-mark-img) .hero-mark { display: none; }

.hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass-300);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--brass-400);
  display: inline-block;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(54px, 9vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  max-width: 14ch;
}
.hero-title-row { display: block; }
.hero-title-accent {
  color: var(--brass-300);
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 0.78em;
  letter-spacing: -0.01em;
  margin-top: 4px;
}

.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--cream-100);
  max-width: 56ch;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary {
  background: var(--brass-400);
  color: var(--navy-900);
  border: 1px solid var(--brass-400);
}
.btn-primary:hover {
  background: var(--brass-300);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--cream-50);
  border: 1px solid rgba(236, 227, 208, 0.4);
}
.btn-secondary:hover {
  border-color: var(--brass-400);
  color: var(--brass-300);
}
.btn-ghost {
  background: transparent;
  color: var(--cream-100);
  border: 1px solid rgba(212, 164, 74, 0.3);
}
.btn-ghost:hover {
  background: rgba(212, 164, 74, 0.08);
  color: var(--brass-300);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: var(--hairline);
  border-bottom: var(--hairline);
  padding: 22px 0;
  max-width: 760px;
}
.hero-meta > li {
  display: grid;
  gap: 6px;
  padding: 0 20px;
  border-left: var(--hairline);
}
.hero-meta > li:first-child { border-left: 0; padding-left: 0; }
.hero-meta-label {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-400);
}
.hero-meta-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--cream-50);
}

/* =========================================================================
   TRUST STRIP (Yelp + Google + Tenure)
   ========================================================================= */
.trust-strip {
  background: var(--navy-950);
  border-top: var(--hairline);
  border-bottom: var(--hairline);
  padding: 26px 0;
  position: relative;
}
.trust-strip::before,
.trust-strip::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass-600), transparent);
  opacity: 0.5;
}
.trust-strip::before { top: -1px; }
.trust-strip::after  { bottom: -1px; }

.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 0;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 28px;
  border-left: var(--hairline);
  text-decoration: none;
  color: inherit;
  transition: background .25s ease;
}
.trust-card:first-child { border-left: 0; padding-left: 0; }
.trust-card:hover:not(.trust-card--badge) {
  background: rgba(212, 164, 74, 0.05);
}

.trust-logo {
  flex: none;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
}
.trust-logo svg { width: 100%; height: 100%; }
.trust-logo--yelp svg { border-radius: 9px; box-shadow: 0 4px 14px -6px rgba(211, 35, 35, 0.55); }
.trust-logo--google svg { border-radius: 50%; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.4); }

.trust-logo--tenure {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--brass-300);
  background: linear-gradient(135deg, rgba(212, 164, 74, 0.12), rgba(212, 164, 74, 0.02));
  border: 1px solid var(--brass-600);
  border-radius: 9px;
  line-height: 1;
  letter-spacing: 0;
}
.trust-logo--tenure sup {
  font-size: 0.55em;
  margin-left: 1px;
  color: var(--brass-400);
  top: -0.45em;
}

.trust-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.trust-stars {
  position: relative;
  display: inline-block;
  font-family: 'Georgia', serif;
  font-size: 16px;
  letter-spacing: 4px;
  line-height: 1;
  color: rgba(212, 164, 74, 0.18);
}
.trust-stars::before {
  content: "★★★★★";
  position: absolute;
  inset: 0;
  width: var(--star-pct, 100%);
  overflow: hidden;
  white-space: nowrap;
  color: var(--brass-300);
}

.trust-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--cream-200);
}
.trust-rating {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--cream-50);
}
.trust-platform {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-300);
  font-weight: 600;
}
.trust-count {
  font-size: 12.5px;
  color: var(--cream-300);
  letter-spacing: 0.02em;
}

.trust-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--cream-50);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .trust-inner { grid-template-columns: 1fr; gap: 0; }
  .trust-card {
    border-left: 0;
    border-top: var(--hairline);
    padding: 16px 0;
  }
  .trust-card:first-child { border-top: 0; padding-top: 4px; }
  .trust-card:last-child { padding-bottom: 4px; }
}

/* =========================================================================
   SECTION SHARED
   ========================================================================= */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}
.section-head {
  max-width: 720px;
  margin-bottom: 64px;
}
.section-head--center {
  margin-left: auto; margin-right: auto;
  text-align: center;
}
.section-kicker {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-400);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  color: var(--cream-50);
}
.section-lede {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--cream-100);
  max-width: 60ch;
}
.section-head--center .section-lede { margin-left: auto; margin-right: auto; }

/* =========================================================================
   SERVICES
   ========================================================================= */
.section-services {
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  border-top: var(--hairline);
  border-bottom: var(--hairline);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  padding: 36px 28px 32px;
  background: linear-gradient(180deg, rgba(31, 44, 77, 0.55) 0%, rgba(15, 24, 48, 0.55) 100%);
  border: 1px solid rgba(212, 164, 74, 0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brass-500), transparent);
  opacity: 0.6;
}
.service-card:hover {
  border-color: rgba(212, 164, 74, 0.45);
  transform: translateY(-3px);
}
.service-card--featured {
  background: linear-gradient(180deg, rgba(42, 57, 95, 0.7) 0%, rgba(22, 33, 63, 0.7) 100%);
  border-color: rgba(212, 164, 74, 0.4);
}
.service-card--featured::before { opacity: 1; }

.service-icon {
  width: 56px; height: 56px;
  color: var(--brass-300);
  margin-bottom: 22px;
}
.service-num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--brass-500);
}
.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--cream-50);
}
.service-body {
  font-size: 15.5px;
  color: var(--cream-100);
  line-height: 1.6;
  margin-bottom: 22px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-tags li {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-300);
  padding: 5px 9px;
  border: 1px solid rgba(212, 164, 74, 0.3);
  border-radius: 2px;
}

/* =========================================================================
   ABOUT
   ========================================================================= */
.section-about {
  background: var(--navy-900);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.about-media {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
  position: relative;
}
.about-photo {
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(212, 164, 74, 0.22);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(212, 164, 74, 0.05), rgba(212, 164, 74, 0)),
    var(--navy-700);
  overflow: hidden;
  position: relative;
}
.about-photo--small {
  aspect-ratio: 5 / 4;
  width: 70%;
  margin-left: auto;
  margin-top: -60px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
}
.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.photo-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 20px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-300);
  background-image:
    repeating-linear-gradient(45deg, rgba(212, 164, 74, 0.05) 0 10px, transparent 10px 20px);
}
.photo-placeholder code {
  display: inline-block;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  background: rgba(0,0,0,0.3);
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  color: var(--brass-300);
}

.about-copy { padding-top: 12px; }
.about-lede {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.5;
  color: var(--cream-50);
  margin-bottom: 20px;
}
.about-copy p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--cream-100);
  margin-bottom: 18px;
  max-width: 56ch;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: var(--hairline);
}
.about-stats > div { display: grid; gap: 6px; }
.about-stats dt {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-400);
}
.about-stats dd {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  line-height: 1;
  color: var(--cream-50);
}
.about-stats dd span { color: var(--brass-400); }

/* =========================================================================
   BRANDS
   ========================================================================= */
.section-brands {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(184, 52, 42, 0.07), transparent 70%),
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  border-top: var(--hairline);
  border-bottom: var(--hairline);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(212, 164, 74, 0.18);
  border: 1px solid rgba(212, 164, 74, 0.18);
}
.brands-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 118px;
  padding: 22px 12px;
  background: var(--navy-900);
  text-align: center;
  transition: background .25s ease, color .25s ease;
}
.brand-logo {
  height: 32px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  opacity: 0.78;
  filter: brightness(0) saturate(100%) invert(92%) sepia(8%) saturate(440%) hue-rotate(355deg) brightness(101%) contrast(94%);
  transition: opacity .25s ease, filter .25s ease;
}
.brand-label {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cream-50);
  font-size: 14px;
  text-transform: uppercase;
  opacity: 0.85;
}
/* Bigger label when no logo image is present */
.brands-grid li:not(:has(.brand-logo)) .brand-label {
  font-size: 19px;
  opacity: 1;
}
.brands-grid li:hover {
  background: var(--brass-400);
}
.brands-grid li:hover .brand-label { color: var(--navy-900); opacity: 1; }
.brands-grid li:hover .brand-logo {
  opacity: 1;
  filter: brightness(0) saturate(100%);
}

.brands-more {
  margin-top: 56px;
  text-align: center;
  position: relative;
}
.brands-more-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: 0.02em;
  color: var(--brass-300);
  line-height: 1.05;
  margin-bottom: 10px;
}
.brands-more-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--cream-100);
  max-width: 46ch;
  margin: 0 auto;
  line-height: 1.55;
}
.brands-more-sub a {
  color: var(--cream-50);
  text-decoration: none;
  border-bottom: 1px solid var(--brass-500);
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 600;
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}
.brands-more-sub a:hover {
  color: var(--brass-300);
  border-bottom-color: var(--brass-300);
}

.brands-foot {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: var(--hairline);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-400);
}

/* =========================================================================
   INSIDE THE SHOP — bento photo grid
   ========================================================================= */
.section-shop {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-top: var(--hairline);
  border-bottom: var(--hairline);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, 1fr);
  gap: 14px;
  grid-template-areas:
    "keys keys exterior"
    "keys keys cabinet"
    "interior interior interior";
}

.shop-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 164, 74, 0.22);
  background: var(--navy-700);
  border-radius: 2px;
  transition: border-color .3s ease, transform .3s ease;
}
.shop-tile::after {
  /* subtle bottom gradient so caption is always legible */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 13, 31, 0.78) 100%);
  z-index: 2;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.shop-tile:hover {
  border-color: rgba(212, 164, 74, 0.5);
}
.shop-tile:hover::after { opacity: 1; }
.shop-tile:hover .shop-tile-caption { opacity: 1; transform: none; }

.shop-tile--keys     { grid-area: keys; }
.shop-tile--exterior { grid-area: exterior; }
.shop-tile--cabinet  { grid-area: cabinet; }
.shop-tile--interior { grid-area: interior; min-height: 260px; }

.shop-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.shop-tile:hover img { transform: scale(1.04); }

.shop-tile-caption {
  position: absolute;
  left: 18px; right: 18px; bottom: 16px;
  z-index: 3;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-50);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}

@media (max-width: 900px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(160px, 1fr);
    grid-template-areas:
      "keys keys"
      "exterior cabinet"
      "interior interior";
  }
  .shop-tile--keys { min-height: 280px; }
}
@media (max-width: 560px) {
  .shop-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "keys"
      "exterior"
      "cabinet"
      "interior";
  }
  .shop-tile { min-height: 220px; }
}

/* =========================================================================
   VISIT
   ========================================================================= */
.section-visit {
  background: var(--navy-900);
}
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
}
.visit-copy { display: grid; align-content: start; }

.visit-details {
  display: grid;
  gap: 28px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: var(--hairline);
}
.visit-details > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  align-items: baseline;
}
.visit-details dt {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-400);
  padding-top: 6px;
}
.visit-details dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--cream-50);
}
.visit-details dd a {
  display: block;
  width: fit-content;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.visit-details dd a:hover {
  color: var(--brass-300);
  border-bottom-color: var(--brass-400);
}
.visit-phone-secondary {
  margin-top: 6px;
  font-size: 15px;
  color: var(--cream-200);
}
.phone-kind {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-400);
  margin-left: 6px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 5px 0;
  max-width: 280px;
  border-bottom: 1px dotted rgba(212, 164, 74, 0.2);
}
.hours-row:last-child { border-bottom: 0; }
.hours-row--muted { color: var(--cream-300); }
.hours-row--muted span:last-child {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-500);
  align-self: center;
}

.visit-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.visit-map {
  position: relative;
  min-height: 460px;
  border: 1px solid rgba(212, 164, 74, 0.25);
  border-radius: 2px;
  overflow: hidden;
  background: var(--navy-800);
}
.visit-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.25) contrast(0.95) brightness(0.92);
  position: absolute;
  inset: 0;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--navy-950);
  padding: 48px 0 40px;
  border-top: var(--hairline);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-mark-wrap {
  position: relative;
  width: 56px; height: 56px;
  flex: none;
  display: block;
}
.footer-mark {
  width: 56px; height: 56px;
}
.footer-mark-text {
  position: absolute;
  inset: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--brass-400);
  border: 2px solid var(--brass-500);
  display: grid;
  place-items: center;
  border-radius: 4px;
  z-index: 1;
}
.footer-mark-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
}
/* When the logo image loads, hide the "TL" text fallback so they don't overlap */
.footer-mark-wrap:has(.footer-mark-img) .footer-mark-text { display: none; }
.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-50);
}
.footer-sub {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-400);
  margin-top: 4px;
}
.footer-meta {
  font-size: 13.5px;
  color: var(--cream-200);
  display: grid;
  gap: 6px;
  text-align: right;
}
.footer-meta a {
  text-decoration: none;
  color: var(--cream-100);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.footer-meta a:hover { color: var(--brass-300); border-bottom-color: var(--brass-400); }
.footer-copy { margin-top: 8px; color: var(--cream-300); font-size: 12px; letter-spacing: 0.06em; }

/* =========================================================================
   REVEAL ON SCROLL (small, restrained)
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .site-nav { display: none; }
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .visit-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo--small {
    width: 60%;
    margin-top: -40px;
  }
  .visit-map { min-height: 380px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-inner { gap: 12px; min-height: 64px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 18px; }
  .brand-tag { display: none; }
  .phone-cta { padding: 8px 12px; }
  .phone-cta-label { display: none; }
  .phone-cta-number { font-size: 14px; }

  .services-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .brands-grid li { padding: 18px 8px; font-size: 16px; }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hero-meta > li {
    border-left: 0;
    border-top: var(--hairline);
    padding: 10px 0 0;
  }
  .hero-meta > li:first-child { border-top: 0; padding-top: 0; }

  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-stats dd { font-size: 30px; }

  .visit-details > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
