:root {
  --bg: #111315;
  --bg-alt: #191c1f;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f5f0e6;
  --muted: #c7c0b2;
  --accent: #d1ab67;
  --accent-strong: #f0c985;
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  --container: 1180px;
  --radius: 24px;
  --spine-art: url("assets/spine-accent.svg");
  --office-logo: url("/assets/logo.png");
  --banner-height: 44px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  background:
    radial-gradient(circle at top, rgba(209, 171, 103, 0.18), transparent 30%),
    linear-gradient(180deg, #0c0d0f 0%, #121417 45%, #171a1d 100%);
  color: var(--text);
  line-height: 1.6;
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 120px;
  bottom: 40px;
  width: 140px;
  pointer-events: none;
  opacity: 0.1;
  background-image: var(--spine-art);
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 0;
}

body::before {
  left: -18px;
}

body::after {
  right: -18px;
  transform: scaleX(-1);
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-banner {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(15, 16, 18, 0.96);
  border-bottom: 1px solid rgba(240, 201, 133, 0.18);
  backdrop-filter: blur(14px);
}

.site-banner .container {
  min-height: var(--banner-height);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-banner p {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.45;
}

.site-banner strong {
  color: var(--accent-strong);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: var(--banner-height);
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(12, 13, 15, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand img {
  width: 98px;
  height: 98px;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.34));
}

.brand-name,
.brand-tag {
  display: block;
}

.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: transparent;
  padding: 0.75rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
}

.nav-toggle span + span {
  margin-top: 6px;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: auto auto -120px -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(209, 171, 103, 0.28), transparent 68%);
  filter: blur(10px);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  right: clamp(-4rem, 2vw, 0rem);
  top: clamp(0rem, 2vw, 1.5rem);
  width: min(40vw, 520px);
  height: min(40vw, 520px);
  background-image: var(--office-logo);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.12;
  z-index: -1;
  filter: grayscale(1) brightness(1.2) contrast(1.05);
}

.hero {
  padding: 5.75rem 0 4.5rem;
}

.page-hero {
  padding: 4rem 0 2rem;
}

.hero-grid,
.split-section,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 12px;
  border-top: 2px solid rgba(240, 201, 133, 0.85);
  border-bottom: 2px solid rgba(240, 201, 133, 0.45);
  border-radius: 999px;
  transform: skewX(-32deg);
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  max-width: 11ch;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.45rem;
}

.lead,
p {
  margin: 0 0 1rem;
}

.lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 62ch;
}

.lead.narrow {
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 0.5rem;
  bottom: 1.25rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(240, 201, 133, 0.82), rgba(240, 201, 133, 0.08));
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #17130e;
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
}

.hero-credentials span {
  color: var(--muted);
  font-size: 1rem;
  position: relative;
  padding-left: 1rem;
}

.hero-credentials span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
}

.panel-card,
.service-card,
.contact-card,
.hours-card,
.team-card,
.cta-banner {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel-card,
.service-card,
.contact-card,
.hours-card {
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
}

.panel-card::after,
.service-card::after,
.contact-card::after,
.hours-card::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -16px;
  width: 54px;
  height: 160px;
  opacity: 0.08;
  background-image: var(--spine-art);
  background-size: contain;
  background-repeat: no-repeat;
}

.panel-card h2,
.panel-card h3 {
  font-size: 1.7rem;
}

.panel-card h3 {
  margin-top: 1.6rem;
  font-size: 1.35rem;
}

.text-link,
.site-footer a,
.contact-card a {
  color: var(--accent-strong);
}

.hero-panel .panel-card {
  padding: 2.35rem;
  background:
    radial-gradient(circle at top right, rgba(240, 201, 133, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
}

.hero-panel .panel-card::before {
  content: none;
  position: absolute;
  inset: auto -2rem -2rem auto;
  width: 220px;
  height: 220px;
  background-image: var(--office-logo);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.1;
  filter: grayscale(1) brightness(1.25);
  pointer-events: none;
}

.hero-panel .panel-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(240, 201, 133, 0.12);
  border-radius: 18px;
  pointer-events: none;
}

.section {
  padding: 2rem 0 4rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.section-heading {
  margin-bottom: 2rem;
}

.service-cards,
.team-grid {
  display: grid;
  gap: 1.5rem;
}

.faq-card,
.info-panel {
  backdrop-filter: blur(10px);
}

.editorial-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.75rem;
  align-items: start;
}

.editorial-copy {
  padding-top: 0.4rem;
  max-width: 58ch;
}

.editorial-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.editorial-copy p + p {
  margin-top: 1rem;
}

.care-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.care-band::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 1rem;
  width: 72px;
  height: 220px;
  opacity: 0.09;
  background-image: var(--spine-art);
  background-size: contain;
  background-repeat: no-repeat;
}

.care-band-intro h2 {
  max-width: 14ch;
}

.care-band-points {
  display: grid;
  gap: 1rem;
}

.care-band-points div {
  padding: 0 0 1rem 1.1rem;
  border-left: 2px solid rgba(240, 201, 133, 0.6);
}

.care-band-points div:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.care-band-points strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  color: var(--text);
}

.care-band-points p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-list div {
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 16px 16px 0;
  position: relative;
  transition: transform 180ms ease, background-color 180ms ease;
}

.service-list div::after {
  content: "";
  position: absolute;
  inset: 10px 10px 10px auto;
  width: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(240, 201, 133, 0.45), rgba(240, 201, 133, 0.02));
}

.service-list div:hover {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.06);
}

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

.info-panel,
.faq-card,
.map-shell,
.review-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.info-panel,
.faq-card,
.review-panel {
  padding: 1.8rem;
}

.detail-list {
  margin: 1.25rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.detail-list li + li {
  margin-top: 0.65rem;
}

.review-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.1rem;
  background:
    radial-gradient(circle at top right, rgba(240, 201, 133, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

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

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.faq-card h3 {
  font-size: 1.55rem;
}

.faq-card p,
.info-panel p,
.care-band-points p {
  color: var(--muted);
}

.map-section .section-heading {
  margin-bottom: 1.5rem;
}

.map-shell {
  padding: 0;
  min-height: 420px;
}

.map-shell iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.cta-banner {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-banner > div {
  text-align: center;
}

.cta-banner-centered {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.cta-banner-centered > div {
  text-align: center;
}

.team-grid {
  grid-template-columns: 1fr;
}

.team-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
}

.team-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background:
    radial-gradient(circle at top, rgba(209, 171, 103, 0.14), transparent 45%),
    #15181c;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.team-image-wrap::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 1rem;
  width: 52px;
  height: calc(100% - 2rem);
  opacity: 0.12;
  background-image: var(--spine-art);
  background-size: contain;
  background-repeat: no-repeat;
}

.team-card img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  background: #1f2327;
  border-radius: 18px;
}

.team-copy {
  padding: 1.8rem;
}

.role,
.quote {
  color: var(--accent-strong);
}

.quote {
  font-style: italic;
}

.service-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hours-card {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
  align-items: start;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hours-grid div {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.hours-grid strong,
.hours-grid span {
  display: block;
}

.hours-grid span {
  color: var(--muted);
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 10, 12, 0.7);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  right: 4%;
  bottom: -34px;
  width: 90px;
  height: 220px;
  opacity: 0.08;
  background-image: var(--spine-art);
  background-size: contain;
  background-repeat: no-repeat;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 3%;
  bottom: -70px;
  width: 220px;
  height: 220px;
  opacity: 0.08;
  background-image: var(--office-logo);
  background-size: contain;
  background-repeat: no-repeat;
  filter: grayscale(1) brightness(1.2);
}

.footer-grid {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.footer-grid-expanded {
  grid-template-columns: 1.4fr 0.8fr 1fr 0.9fr;
  align-items: start;
}

.footer-grid h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.footer-note {
  max-width: 34ch;
  color: var(--muted);
}

.mobile-call {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: none;
  min-height: 52px;
  padding: 0 1.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #17130e;
  font-weight: 800;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

@media (max-width: 980px) {
  .hero-grid,
  .split-section,
  .contact-grid,
  .hours-card,
  .footer-grid,
  .footer-grid-expanded,
  .team-card,
  .service-cards,
  .hours-grid,
  .care-band,
  .faq-grid,
  .split-section-reverse,
  .editorial-intro {
    grid-template-columns: 1fr;
  }

  .hero-copy::before {
    display: none;
  }

  .hero {
    padding-top: 3rem;
  }

  .team-card img {
    max-height: 420px;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-banner > div {
    text-align: left;
  }

  .cta-banner-centered {
    align-items: center;
  }

  .cta-banner-centered > div {
    text-align: center;
  }

  .review-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  :root {
    --banner-height: 58px;
  }

  .site-banner p {
    font-size: 0.88rem;
  }

  body::before,
  body::after,
  .hero::after,
  .page-hero::after,
  .site-footer::before {
    display: none;
  }

  .nav-shell {
    flex-wrap: wrap;
    padding: 1rem 0;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.5rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .brand {
    width: calc(100% - 64px);
  }

  .brand-name {
    font-size: 1.45rem;
  }

  .brand img {
    width: 82px;
    height: 82px;
  }

  h1 {
    max-width: 100%;
  }

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

  .mobile-call {
    display: inline-flex;
  }
}
