:root {
  color-scheme: light;
  --ink: #171512;
  --soft-ink: #3d3932;
  --paper: #f7f5f1;
  --warm-paper: #eeeae4;
  --sage: #7f8b7b;
  --sage-dark: #5c695b;
  --wine: #a94e4d;
  --brass: #c79049;
  --white: #fff;
  --shadow: 0 26px 70px rgba(17, 17, 17, 0.18);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: rgba(169, 78, 77, 0.22);
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

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

.site-header {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  left: 0;
  padding: clamp(1.1rem, 2.8vw, 2rem) clamp(1.2rem, 5vw, 5rem);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(23, 21, 18, 0.72);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  padding-block: 0.85rem;
  backdrop-filter: blur(14px);
}

.brand,
.site-header nav a {
  color: var(--white);
  text-decoration: none;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.5);
}

.brand {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 700;
}

.site-header nav {
  align-items: center;
  display: flex;
  gap: clamp(0.9rem, 2.4vw, 2rem);
}

.site-header nav a {
  font-size: 0.92rem;
  font-weight: 700;
  opacity: 0.88;
  transition: opacity 160ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  opacity: 1;
}

.hero {
  background-image: url('../images/double-bass-hero.jpg');
  background-position: center 42%;
  background-size: cover;
  color: var(--white);
  display: grid;
  min-height: 90svh;
  overflow: hidden;
  place-items: end start;
  position: relative;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0.1)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.08) 45%);
  inset: 0;
  position: absolute;
}

.hero__content {
  max-width: 860px;
  padding: 10rem clamp(1.25rem, 8vw, 9rem) clamp(4rem, 10vh, 8rem);
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.78);
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  margin-bottom: clamp(1.3rem, 3vw, 2rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  margin-bottom: clamp(1.2rem, 2vw, 1.7rem);
}

h3 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.2;
}

.hero__lede {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  margin-bottom: 2rem;
  max-width: 720px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 4px;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 800;
  gap: 0.55rem;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.35rem;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button svg {
  height: 1.05rem;
  width: 1.05rem;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary,
.button--accent {
  background: var(--wine);
  color: var(--white);
}

.button--primary:hover,
.button--primary:focus-visible,
.button--accent:hover,
.button--accent:focus-visible {
  background: #933f41;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
}

.button--light {
  background: var(--white);
  color: var(--ink);
}

.button--outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.button--outline:hover,
.button--outline:focus-visible {
  background: var(--white);
  color: var(--sage-dark);
}

.section {
  padding: clamp(5rem, 11vw, 10rem) clamp(1.25rem, 5vw, 5rem);
}

.section__inner,
.footer__inner {
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

.section__inner--narrow {
  max-width: 860px;
  text-align: center;
}

.section--intro {
  background: var(--paper);
}

.section--intro p {
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  margin-inline: auto;
  max-width: 820px;
}

.section--intro .button {
  margin-top: 3.5rem;
  min-width: 12rem;
}

.split {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.split--reverse {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
}

.image-frame {
  aspect-ratio: 1.08 / 1;
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.copy-block {
  max-width: 560px;
}

.copy-block p {
  color: var(--soft-ink);
  font-size: clamp(1.06rem, 1.45vw, 1.26rem);
}

.section--muted {
  background: var(--warm-paper);
}

.map-panel {
  aspect-ratio: 1.32 / 1;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.12)),
    var(--white);
  border: 1px solid rgba(23, 21, 18, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-panel iframe {
  border: 0;
  filter: grayscale(1) contrast(0.92) opacity(0.68);
  height: 100%;
  width: 100%;
}

.section--services {
  background: var(--sage);
  color: var(--white);
  text-align: center;
}

.service-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 3.5rem auto 3.2rem;
  max-width: 930px;
}

.service-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  min-height: 18rem;
  padding: 2.1rem 1.45rem;
  transition: background 200ms ease, transform 200ms ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.service-card svg {
  height: 5.5rem;
  margin-bottom: 1.7rem;
  stroke-width: 1.25;
  width: 5.5rem;
}

.service-card h3 {
  margin-bottom: 0.85rem;
}

.service-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  margin-bottom: 0;
}

.section--team {
  background: var(--paper);
  text-align: center;
}

.team-grid {
  display: flex;
  justify-content: center;
  margin-top: 3.3rem;
}

.team-member {
  display: grid;
  gap: 1.1rem;
  max-width: 440px;
}

.team-member img {
  aspect-ratio: 9 / 16;
  box-shadow: var(--shadow);
  height: auto;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.team-member h3 {
  margin-bottom: 0.25rem;
}

.team-member p {
  color: var(--soft-ink);
  font-size: 1.06rem;
  margin-bottom: 0;
}

.quote-section {
  background: var(--warm-paper);
  padding: clamp(6rem, 12vw, 10rem) clamp(1.25rem, 5vw, 5rem);
  text-align: center;
}

.quote-section__inner {
  margin: 0 auto;
  max-width: 1080px;
}

blockquote {
  font-family: var(--serif);
  font-size: clamp(2.05rem, 4vw, 4rem);
  line-height: 1.16;
  margin: 0 0 2rem;
}

.quote-section p {
  color: var(--soft-ink);
  font-size: 0.98rem;
  margin: 0;
}

.cta {
  background: var(--sage);
  color: var(--white);
  min-height: 56vh;
  padding: clamp(6rem, 12vw, 10rem) clamp(1.25rem, 5vw, 5rem);
  text-align: center;
}

.cta h2 {
  margin-inline: auto;
  max-width: 880px;
}

.cta .button {
  margin-top: 1.5rem;
}

.footer {
  background: var(--paper);
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 5vw, 5rem);
}

.footer__inner {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr 1fr;
}

.footer__panel h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 1.5rem;
}

.socials {
  align-items: center;
  display: flex;
  gap: 0.85rem;
}

.socials span {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  height: 2.35rem;
  justify-content: center;
  width: 2.35rem;
}

.socials svg {
  height: 1rem;
  width: 1rem;
}

.email-link {
  align-items: center;
  color: var(--wine);
  display: inline-flex;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 800;
  gap: 0.55rem;
  overflow-wrap: anywhere;
}

.email-link svg {
  flex: 0 0 auto;
  height: 1.15rem;
  width: 1.15rem;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 780ms ease, transform 780ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal--left {
  transform: translateX(-38px);
}

.reveal--right {
  transform: translateX(38px);
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal--left,
  .reveal--right {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    gap: 0.7rem;
    padding: 1rem 1.15rem;
  }

  .site-header nav {
    gap: 0.75rem;
    justify-content: flex-end;
  }

  .site-header nav a {
    font-size: 0.8rem;
  }

  .hero {
    background-position: 58% 42%;
    min-height: 88svh;
  }

  .hero__content {
    padding: 8.5rem 1.2rem 4rem;
  }

  h1 {
    max-width: 9ch;
  }

  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .split--reverse .copy-block {
    order: 1;
  }

  .split--reverse .map-panel {
    order: 2;
  }

  .copy-block {
    max-width: none;
  }

  .service-grid,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 1.18rem;
  }

  .site-header nav a:nth-child(1),
  .site-header nav a:nth-child(2) {
    display: none;
  }

  .button {
    width: 100%;
  }

  .hero__actions {
    width: 100%;
  }

  .section,
  .quote-section,
  .cta,
  .footer {
    padding-inline: 1rem;
  }

  .image-frame,
  .map-panel {
    aspect-ratio: 1 / 1;
  }
}
