
:root {
  --bg: #fffaf6;
  --paper: #ffffff;
  --ink: #241915;
  --muted: #6f5b51;
  --line: #d9c4b6;
  --red: #b1281c;
  --red-dark: #7f1c15;
  --wood: #8a4a24;
  --wood-soft: #ead5c3;
  --banner: #160f0d;
  --shadow: 0 18px 50px rgba(54, 23, 13, 0.14);
}

:root[data-theme="dark"] {
  --bg: #0d0908;
  --paper: #17100e;
  --ink: #fff8ef;
  --muted: #d5bba7;
  --line: #3c2923;
  --red: #d23b2d;
  --red-dark: #a82c22;
  --wood: #b87538;
  --wood-soft: #2a1814;
  --banner: #080504;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
img, iframe { display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1;
}
.brand strong { display: block; font-size: 1.05rem; letter-spacing: 0.08em; }
.brand span span { display: block; margin-top: 4px; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.16em; }
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 3vw, 36px);
  font-size: 0.95rem;
}
.nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--red); border-color: var(--red); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.theme-toggle {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--red);
  color: var(--red);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 6px;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(380px, 0.95fr) minmax(520px, 1.2fr);
  align-items: stretch;
  background:
    radial-gradient(circle at 12% 20%, color-mix(in srgb, var(--red) 16%, transparent), transparent 28%),
    linear-gradient(135deg, var(--paper), var(--bg));
  overflow: hidden;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 72px);
}
.hero-logo {
  width: min(220px, 56vw);
  height: auto;
  margin: 0 0 22px;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.28));
}
.hero h1,
.page-hero h1,
.section-heading h2,
.finder-copy h2,
.contact-info h2,
.blog-copy h2,
.contact-band h2,
.split-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
  letter-spacing: 0;
}
.hero h1 { max-width: 680px; font-size: clamp(3rem, 5.2vw, 5.8rem); }
.hero h1::after {
  content: "";
  display: block;
  width: 86px;
  height: 4px;
  margin: 28px 0 0;
  background: var(--red);
}
.hero-copy > p {
  max-width: 520px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 34px;
}
.frettrack-note {
  max-width: 520px;
  margin: 30px 0 0 !important;
  color: var(--muted);
  font-size: 0.96rem !important;
  line-height: 1.35;
}
.frettrack-note a {
  color: var(--ink);
  font-weight: 900;
  text-decoration-color: color-mix(in srgb, var(--red) 72%, transparent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.hero-image {
  min-height: 520px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--paper) 68%, transparent), rgba(255,255,255,0.06) 34%, transparent 62%),
    url("/images/logo_image4.png") center / cover;
  background-color: var(--banner);
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.96rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.primary { color: #fff; background: var(--red); }
.primary:hover { background: var(--red-dark); }
.ghost { color: var(--red); background: transparent; border-color: var(--red); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(21, 77, 56, 0.32);
}
.text-link svg { width: 16px; height: 16px; }

.section { padding: clamp(54px, 7vw, 92px) clamp(20px, 5vw, 64px); }
.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.section-heading p,
.page-hero p,
.blog-copy p,
.contact-band p,
.finder-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

.service-finder {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  max-width: 1220px;
  margin: -34px auto 0;
  background: linear-gradient(135deg, var(--wood-soft), var(--paper));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.finder-page { margin-top: 0; }
.finder-copy h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
.finder-copy textarea {
  width: 100%;
  min-height: 118px;
  resize: vertical;
  margin: 22px 0 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(32, 35, 38, 0.04);
}
.finder-copy textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 3px solid rgba(21, 77, 56, 0.16);
  border-color: var(--red);
}
.fine-print {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.finder-result {
  min-height: 310px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(32, 35, 38, 0.08);
}
.finder-result.loading { opacity: 0.82; }
.result-label {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.finder-result h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
}
.finder-result p { margin: 0 0 18px; color: #3d4642; }
.finder-result p { color: var(--muted); }

.services-preview { background: var(--paper); }
.service-strip,
.service-grid {
  display: grid;
  gap: 16px;
}
.service-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1180px; margin: 0 auto; }
.service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1220px; margin: 0 auto; }
.service-card {
  min-height: 238px;
  padding: 26px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(32, 35, 38, 0.04);
}
.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--wood), var(--red-dark));
  border-radius: 8px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.16;
}
.service-card p { margin: 0 0 20px; color: var(--muted); }
.service-card strong { color: var(--ink); font-size: 1.08rem; }
.center { display: flex; justify-content: center; margin-top: 28px; }

.blog-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: 0;
  max-width: 1220px;
  margin: 0 auto;
  padding-top: clamp(54px, 7vw, 86px);
}
.blog-image,
.bench-photo {
  min-height: 360px;
  background: url("/images/business_card_image.png") center / cover;
  border-radius: 8px 0 0 8px;
}
.blog-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 62px);
  background: var(--wood-soft);
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 8px 8px 0;
}
.blog-copy h2 { max-width: 540px; font-size: clamp(2rem, 3.8vw, 3rem); }
.blog-copy .btn { align-self: flex-start; margin-top: 14px; }

.referral-section {
  background:
    radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--red) 18%, transparent), transparent 32%),
    linear-gradient(180deg, var(--bg), var(--paper));
}
.referral-section code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: var(--paper);
}
.referral-shell {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(280px, 0.85fr);
  gap: 22px;
  max-width: 1220px;
  margin: 0 auto;
}
.referral-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.referral-card.feature img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}
.copy-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 52px);
}
.copy-card h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1.05;
}
.copy-card p { color: var(--muted); }
.copy-card .btn { align-self: flex-start; margin-top: 10px; }

.contact-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(360px, 1.05fr) minmax(360px, 1.1fr);
  gap: 0;
  max-width: 1220px;
  margin: 0 auto;
}
.contact-info,
.contact-form,
.map-panel {
  min-height: 430px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.contact-info { padding: 34px; border-radius: 8px 0 0 8px; }
.contact-form { padding: 34px; border-left: 0; border-right: 0; }
.map-panel {
  position: relative;
  overflow: hidden;
  border-radius: 0 8px 8px 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--red) 14%, transparent), color-mix(in srgb, var(--wood) 16%, transparent)),
    repeating-linear-gradient(45deg, transparent 0 34px, color-mix(in srgb, var(--wood) 18%, transparent) 34px 35px),
    var(--wood-soft);
}
.map-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 5px;
  padding: 28px;
  text-align: center;
  color: var(--red);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--wood) 18%, transparent) 1px, transparent 1px),
    linear-gradient(0deg, color-mix(in srgb, var(--wood) 16%, transparent) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255,255,255,0.65), rgba(255,255,255,0.2));
  background-size: 56px 56px, 56px 56px, auto;
  pointer-events: none;
}
.map-fallback strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.1;
}
.map-fallback small { color: var(--muted); font-weight: 700; }
.map-pin {
  width: 22px;
  height: 22px;
  justify-self: center;
  background: var(--wood);
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 8px 18px rgba(32, 35, 38, 0.18);
}
.map-panel iframe {
  position: relative;
  z-index: 1;
  background: transparent;
}
.contact-info h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); margin-bottom: 24px; }
.info-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
}
.info-row svg { width: 20px; height: 20px; color: var(--red); }
.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}
.contact-form label span { color: var(--muted); font-weight: 600; }
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid #cfcac1;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}
.contact-form textarea { min-height: 128px; resize: vertical; margin-bottom: 16px; }
.sent-msg {
  margin: 0 0 18px;
  padding: 12px 14px;
  color: var(--ink);
  background: color-mix(in srgb, var(--red) 12%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--red) 32%, var(--line));
  border-radius: 6px;
  font-weight: 800;
}
.map-panel iframe { width: 100%; height: 100%; min-height: 430px; }

.page-hero {
  padding: clamp(58px, 8vw, 106px) clamp(20px, 5vw, 64px);
  text-align: center;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--paper) 94%, transparent), color-mix(in srgb, var(--paper) 74%, transparent)),
    url("/images/logo_image4.png") center / cover;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 920px; margin: 0 auto; font-size: clamp(2.8rem, 6vw, 5.6rem); }
.page-hero p { max-width: 680px; margin: 22px auto 0; }
.split-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.split-section h2 { font-size: clamp(2rem, 4vw, 3rem); }
.split-section p { color: var(--muted); font-size: 1.05rem; }
.split-section .btn { margin-top: 16px; }
.bench-photo { border-radius: 8px; background-image: url("/images/business_card_image.png"); }
.contact-band {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(46px, 7vw, 76px) 20px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.2), transparent),
    var(--red);
}
.contact-band h2 { font-size: clamp(2rem, 4vw, 3rem); }
.contact-band p { max-width: 560px; margin: 0 0 8px; color: rgba(255,255,255,0.82); }
.contact-band .btn { color: var(--red); background: #fff; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 64px);
  color: rgba(255,255,255,0.82);
  background: #120908;
}
.footer p { margin: 6px 0 0; }
.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.35); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

svg { display: inline-block; vertical-align: middle; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav { order: 3; grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
  .header-cta { justify-self: end; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { min-height: 360px; order: -1; }
  .service-finder,
  .blog-feature,
  .contact-section,
  .split-section { grid-template-columns: 1fr; }
  .service-strip,
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-image,
  .blog-copy,
  .contact-info,
  .contact-form,
  .map-panel { border-radius: 8px; border: 1px solid var(--line); }
  .blog-copy,
  .contact-form { border-top: 0; }
  .contact-info,
  .contact-form,
  .map-panel { min-height: auto; }
  .map-panel iframe { min-height: 360px; }
}

@media (max-width: 640px) {
  body,
  main,
  .hero,
  .page-hero,
  .section,
  .site-header,
  .footer {
    width: 100%;
  }
  .site-header { min-height: 72px; padding: 12px 16px; }
  .brand strong { font-size: 0.9rem; }
  .brand span span { font-size: 0.7rem; }
  .brand-mark { width: 38px; height: 38px; }
  .header-cta { display: none; }
  .nav { gap: 18px; font-size: 0.88rem; }
  .hero-copy { padding: 38px 20px 46px; }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 12.4vw, 3.45rem);
  }
  .hero-image { min-height: 270px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { align-self: flex-start; }
  .section { padding: 46px 16px; }
  .service-finder { margin-top: 0; border-radius: 0; border-left: 0; border-right: 0; }
  .service-strip,
  .service-grid,
  .field-pair { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .blog-feature { padding-left: 16px; padding-right: 16px; }
  .blog-image { min-height: 230px; }
  .blog-copy,
  .contact-info,
  .contact-form { padding: 24px; }
  .footer { flex-direction: column; }
  .footer-links { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}