@font-face {
  font-family: "Tex Gyre Termes";
  src: url("/templates/default/fonts/texgyretermes-regular-webfont.woff") format("woff");
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #171717;
  --paper: #f5f2ec;
  --white: #fff;
  --accent: #c59b57;
  --muted: #b7b1a7;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Tex Gyre Termes", Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 1rem;
  padding: 0.6rem 1rem;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 2;
  color: var(--white);
  background: var(--ink);
}

.header-inner,
.site-nav,
.section-inner {
  width: min(var(--content-width), calc(100% - 3rem));
  margin: 0 auto;
}

.header-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand img {
  display: block;
  width: min(250px, 52vw);
  height: auto;
}

.header-contact {
  display: grid;
  justify-items: end;
  gap: 0.15rem;
  color: #e7e2d9;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.header-contact a {
  color: var(--white);
  font-size: 1.2rem;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.25em;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: 0.65rem 0 0.9rem;
  border-top: 1px solid #353535;
  font-size: 1rem;
}

.site-nav a {
  color: #f5f2ec;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(690px, 78vh);
  min-height: min(690px, 78svh);
  overflow: hidden;
  color: var(--white);
  background: #222;
  isolation: isolate;
}

.hero-slides,
.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-shade {
  background: linear-gradient(90deg, rgb(0 0 0 / 78%), rgb(0 0 0 / 28%) 70%, rgb(0 0 0 / 18%));
}

.hero-content {
  align-self: center;
  width: min(var(--content-width), calc(100% - 3rem));
  margin: 0 auto;
  padding: 5rem 0 6rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-weight: 400;
  line-height: 1.1;
}

.hero h1 {
  max-width: 1000px;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 7vw, 6rem);
}

.hero-content > p:not(.eyebrow) {
  max-width: 590px;
  margin-bottom: 2rem;
  color: #e5e2dc;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--accent);
  color: var(--white);
  background: var(--accent);
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  color: var(--white);
  background: #9c7436;
}

.hero-scroll {
  position: absolute;
  right: max(1.5rem, calc((100vw - var(--content-width)) / 2));
  bottom: 1.5rem;
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-scroll span {
  margin-left: 0.4rem;
  color: var(--accent);
  font-size: 1.2rem;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.about {
  background: var(--paper);
}

.about-inner {
  max-width: 850px;
}

.section h2,
.visit-cta h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.about-copy {
  color: #4a4741;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.details {
  color: var(--white);
  background: var(--ink);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
}

.detail-card h2 {
  margin-bottom: 1.5rem;
}

.detail-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.detail-card tr {
  border-bottom: 1px solid #3b3b3b;
}

.detail-card th,
.detail-card td {
  padding: 0.65rem 0;
  text-align: left;
  vertical-align: top;
}

.detail-card th {
  padding-right: 1rem;
  font-weight: 400;
}

.detail-card td {
  color: #e2d4bd;
  text-align: right;
  white-space: nowrap;
}

.appointment-note {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.visit-cta {
  padding: clamp(3.5rem, 7vw, 6rem) 1.5rem;
  text-align: center;
  background: #e8e2d8;
}

.visit-cta h2 {
  margin-bottom: 0.6rem;
}

.visit-cta > p:not(.eyebrow) {
  margin-bottom: 1.5rem;
  color: #5a554c;
}

.button-light {
  color: var(--white);
}

.site-footer {
  padding: 1.5rem;
  color: #d7d2ca;
  background: var(--ink);
  text-align: center;
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  text-decoration-color: var(--accent);
  text-underline-offset: 0.2em;
}

@media (max-width: 720px) {
  .header-inner,
  .site-nav,
  .section-inner {
    width: min(100% - 2rem, var(--content-width));
  }

  .header-inner {
    min-height: 94px;
  }

  .hero {
    min-height: 610px;
    min-height: 78svh;
  }

  .hero-content {
    width: calc(100% - 2rem);
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

@media (max-width: 440px) {
  body {
    font-size: 16px;
  }

  .header-inner,
  .site-nav {
    width: calc(100% - 1.5rem);
  }

  .header-inner {
    gap: 0.6rem;
  }

  .brand img {
    width: min(185px, 48vw);
  }

  .header-contact {
    font-size: 0.85rem;
  }

  .header-contact a {
    font-size: 1rem;
  }

  .site-nav {
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.92rem;
  }

  .hero {
    min-height: 570px;
    min-height: 74svh;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .hero-scroll {
    right: 1rem;
    bottom: 1rem;
  }

  .detail-card th,
  .detail-card td {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
