:root {
  --charcoal: #373739;
  --charcoal-deep: #2a2a2c;
  --white: #ffffff;
  --silver: #b7b7b7;
  --silver-soft: #e8e8e8;
  --text: #373739;
  --text-on-dark: #ffffff;
  --muted: #5c5c5e;
  --muted-on-dark: #d6d6d6;
  --focus: #373739;
  --max: 70rem;
  --gutter: 1.25rem;
  --font-heading: Inter, Montserrat, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: Roboto, Arial, Helvetica, sans-serif;
  --header-offset: 7.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

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

a {
  color: var(--charcoal);
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -100%;
  z-index: 1000;
  background: var(--charcoal);
  color: var(--white);
  padding: 0.5rem 0.85rem;
}

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

.draft-banner {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  padding: 0.45rem var(--gutter);
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--silver-soft);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 38rem;
}

.logo-link img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 4.25rem;
  object-fit: contain;
  object-position: left center;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--charcoal);
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  flex: 0 0 auto;
}

.menu-toggle-bars {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
}

.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }

.site-nav[hidden] {
  display: none;
}

.site-nav {
  background: var(--white);
  border-top: 1px solid var(--silver-soft);
  flex: 1 1 100%;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem var(--gutter) 0.75rem;
}

.site-nav a {
  display: block;
  padding: 0.65rem 0;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  border-bottom: 1px solid var(--silver-soft);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
}

@media (min-width: 1040px) {
  .menu-toggle { display: none; }

  .header-inner {
    padding: 0.85rem var(--gutter);
  }

  .logo-link {
    max-width: 24rem;
    flex: 0 1 24rem;
  }

  .logo-link img {
    max-height: 5rem;
  }

  .site-nav {
    display: block !important;
    border-top: 0;
    background: transparent;
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.15rem 1.15rem;
    padding: 0;
  }

  .site-nav a {
    padding: 0.35rem 0;
    border-bottom: 0;
  }
}

main {
  min-height: 60vh;
}

.hero {
  background: var(--charcoal);
  color: var(--text-on-dark);
  padding: 3rem var(--gutter) 3.25rem;
}

.hero-inner,
.section-inner,
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.hero p {
  margin: 0 0 1rem;
  max-width: 40rem;
  font-size: 1.125rem;
  color: var(--text-on-dark);
}

.hero p:last-child { margin-bottom: 0; }

.silver-rule {
  width: 4rem;
  height: 2px;
  background: var(--silver);
  border: 0;
  margin: 0 0 1.25rem;
}

.section {
  padding: 2.75rem var(--gutter);
}

.section--alt {
  background: var(--charcoal);
  color: var(--text-on-dark);
}

.section h1,
.section h2,
.card h2,
.card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.85rem;
}

.section h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
}

.section h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.lede {
  font-size: 1.125rem;
  max-width: 42rem;
}

.muted { color: var(--muted); }
.section--alt .muted { color: var(--muted-on-dark); }

.grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.card {
  border: 1px solid var(--silver-soft);
  padding: 1.35rem 1.25rem 1.4rem;
  background: var(--white);
  height: 100%;
}

.section--alt .card {
  background: var(--charcoal-deep);
  border-color: #4a4a4c;
  color: var(--text-on-dark);
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.75rem 1.2rem;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}

.btn--primary {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.btn--primary:hover {
  background: var(--silver-soft);
}

.btn--on-light {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.btn--on-light:hover {
  background: var(--charcoal-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--silver);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.communities {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.35rem;
}

.communities li {
  border: 1px solid var(--silver);
  padding: 0.25rem 0.65rem;
  font-size: 0.92rem;
}

.photo-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--charcoal);
  margin-bottom: 0.85rem;
}

.faq details {
  border-bottom: 1px solid var(--silver-soft);
  padding: 0.85rem 0;
}

.faq summary {
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  padding: 0.35rem 0;
}

.faq details p {
  margin: 0.75rem 0 0.25rem;
}

.contact-pairs {
  margin: 0 0 1.5rem;
}

.contact-pairs dt {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-top: 0.85rem;
}

.contact-pairs dd {
  margin: 0.15rem 0 0;
}

.form {
  max-width: 36rem;
}

.form .field {
  margin-bottom: 1rem;
}

.form label,
.form .label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid #8a8a8a;
  font: inherit;
  color: var(--text);
  background: var(--white);
  border-radius: 0;
}

.form textarea { min-height: 8rem; resize: vertical; }

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--charcoal);
  outline-offset: 1px;
  border-color: var(--charcoal);
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.consent input {
  margin-top: 0.35rem;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.form-note {
  font-size: 0.92rem;
  color: var(--muted);
}

.form-error {
  margin: 0 0 1rem;
  color: var(--charcoal);
  font-size: 1rem;
}

.form-error[hidden] {
  display: none;
}

.form button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.site-footer {
  background: var(--charcoal-deep);
  color: var(--text-on-dark);
  padding: 2.5rem var(--gutter) 2rem;
  margin-top: 0;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-bottom: 1.5rem;
}

.footer-sunlite {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 38rem;
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 0.35rem 0.55rem;
  color-scheme: only light;
}

.footer-sunlite img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 4.25rem;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  padding: 0;
}

.footer-name {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
  font-size: 1.05rem;
}

.footer-links,
.footer-contact {
  margin: 0 0 1rem;
}

.footer-links a,
.footer-contact a {
  color: var(--text-on-dark);
}

.disclaimer {
  margin: 1.25rem 0 0.85rem;
  font-size: 0.95rem;
}

.licence {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-on-dark);
}

.list-plain {
  padding-left: 1.15rem;
}

.list-plain li { margin-bottom: 0.4rem; }

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

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

.stack-lg { margin-top: 1.75rem; }

.hero-brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: #d6d6d6;
  margin: 0 0 0.85rem;
  max-width: 46rem;
}

.placeholder-flag {
  display: inline;
  background: #fff3a3;
  color: #1a1a1a;
  font-weight: 700;
  padding: 0.05em 0.35em;
  border: 1px solid #c9a800;
}

.about-photo {
  display: block;
  width: 100%;
  max-width: 22rem;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--charcoal);
  margin: 0 0 1.5rem;
}

.form .hint {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0.2rem 0 0;
}

.footer-hours,
.footer-location {
  margin: 0 0 0.35rem;
  color: var(--text-on-dark);
}

.nobr { white-space: nowrap; }

@media (min-width: 1040px) {
  .footer-sunlite {
    max-width: 24rem;
    flex: 0 1 24rem;
  }

  .footer-sunlite img {
    max-height: 5rem;
  }
}

@media (prefers-color-scheme: dark) {
  .logo-link {
    background: #ffffff;
    border-radius: 0.5rem;
    padding: 0.35rem 0.55rem;
    color-scheme: only light;
  }
}
