/* Home Provider — static site
   Palette drawn from the company logo (black + gold) */

:root {
  --gold: #c9a050;
  --gold-dark: #8f6d28;
  --gold-light: #e4c888;
  --ink: #161410;
  --muted: #5c564c;
  --cream: #f4efe6;
  --paper: #fbf8f2;
  --line: #e4dccb;
  --black: #0b0b0b;
  --white: #ffffff;
  --header-h: 5.25rem;
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", Helvetica, Arial, sans-serif;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--gold-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--black);
  color: var(--white);
  padding: 0.6rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
  margin-top: 0.15rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.3rem 0;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(46.5rem, calc(100vh - var(--header-h)));
  min-height: min(46.5rem, calc(100svh - var(--header-h)));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  background: var(--black);
}

.hero--page {
  min-height: 48vh;
  min-height: 48svh;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  z-index: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.38) 45%, rgba(0, 0, 0, 0.58) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding: 5rem 1.5rem;
}

.kicker {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
  margin: 0 0 1.1rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--white);
}

.hero--page h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
}

.hero .lede {
  margin: 1.35rem auto 0;
  max-width: 32em;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
}

.hero .actions {
  margin-top: 2.4rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.95rem 1.8rem;
  border: 1px solid var(--gold);
  color: var(--black);
  background: var(--gold);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: transparent;
}

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

/* ---------- Layout sections ---------- */

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
}

.section--cream {
  background: var(--cream);
}

.section--dark {
  background: var(--black);
  color: var(--white);
}

.section-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin: 0 0 0.9rem;
}

.section--dark .section-kicker {
  color: var(--gold-light);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.split--reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-copy h2,
.center-copy h2,
.section h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 1.2rem;
  color: var(--ink);
}

.section--dark h2 {
  color: var(--white);
}

.split-copy p,
.center-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.section--dark p {
  color: rgba(255, 255, 255, 0.78);
}

.photo {
  overflow: hidden;
  background: #111;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 5 / 3;
  display: block;
}

.photo--wide img {
  aspect-ratio: 16 / 6.2;
}

.statement {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.statement h2 {
  margin-bottom: 0;
}

.rule {
  width: 3rem;
  height: 1px;
  background: var(--gold);
  border: 0;
  margin: 1.4rem 0;
}

.rule--center {
  margin-left: auto;
  margin-right: auto;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.fact {
  border-top: 1px solid var(--line);
  padding-top: 1.3rem;
}

.fact-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin: 0 0 0.45rem;
}

.fact p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1.25;
  color: var(--ink);
  font-weight: 500;
}

.cta-band {
  text-align: center;
  padding: 6rem 1.5rem;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-bottom: 0.7rem;
}

.cta-band p {
  margin: 0 auto 2rem;
  max-width: 28em;
}

/* ---------- Contact ---------- */

.contact-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

.contact-card h2 {
  margin-bottom: 0.4rem;
}

.contact-kind {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2rem 0 0.6rem;
}

.email-link {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.15rem);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.1rem;
  line-height: 1.3;
  word-break: break-all;
}

.email-link:hover {
  color: var(--gold-dark);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 2.2rem;
  font-size: 0.95rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--white);
}

.footer-brand img {
  width: 48px;
  height: 48px;
}

.footer-brand span {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--white);
}

.footer-col h3 {
  margin: 0 0 0.85rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  display: inline-block;
  padding: 0.2rem 0;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.footer-base a {
  color: inherit;
  text-decoration: none;
}

.footer-base a:hover {
  color: var(--gold-light);
}

/* ---------- Mobile ---------- */

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s ease, visibility 0.3s;
  }

  .site-nav.is-open {
    max-height: 20rem;
    visibility: visible;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.5rem 1.25rem;
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0;
    font-size: 0.95rem;
  }

  .split,
  .split--reverse,
  .facts,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .header-inner {
    padding: 0.55rem 1.15rem;
  }

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

  .hero-inner {
    padding: 4rem 1.15rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .cta-band {
    padding: 4rem 1.15rem;
  }

  .photo img {
    aspect-ratio: 16 / 10;
  }

  .photo--wide img {
    aspect-ratio: 16 / 8;
  }
}

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

.about-copy {
  max-width: 760px;
  margin: 3rem auto 0;
  text-align: center;
}
.about-copy p {
  color: var(--muted);
  font-size: 1.15rem;
}
.about-copy .btn {
  margin-top: 1.2rem;
}
