:root {
  --bg: #747740; /* olive / yellow metal background */
  --accent: #ffffff; /* cream #e5e8d4;*/
  --text: #ffffff; /* light text */
  --muted: #ffffff; /* softer body text */
  --heading-dark: #3a332b;
  --max-width: 800px;
  --alttext: #747740;
  --altbg: #ffffff;
}

/* Global */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

.white-bg {
  background-color: var(--altbg);
  color: var(--alttext);
  padding: 20px;
  border-radius: 0%;
}

.white-bg-email {
  background-color: var(--altbg);
  color: var(--alttext);
  padding: 20px;
  border-radius: 0%; /* 10% */
}

h1,
h2 {
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 400;
}

/* Simple alignment helper */

.text-align-center {
  text-align: center;
}

/* Header and navigation */

.site-header {
  background: transparent;
  padding-top: 24px;
}

.nav {
  text-align: center;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 1rem;
}

.nav a {
  margin: 0 18px;
  color: var(--accent);
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
}

.nav-secondary {
  margin-top: 24px;
}

/* Hamburger styles (mobile only) */
.hamburger {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
}

.hamb-line {
  background: var(--muted);
  display: block;
  height: 3px;
  position: relative;
  width: 30px;
  transition: all 0.3s ease;
}

.hamb-line::before,
.hamb-line::after {
  background: var(--muted);
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.3s ease;
  width: 100%;
}

.hamb-line::before {
  top: 8px;
}
.hamb-line::after {
  top: -8px;
}

/* Mobile nav container */
.nav-mobile {
  display: none; /* Hidden by default */
}

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mobile li {
  border-bottom: 1px solid var(--muted);
}

.nav-mobile a {
  display: block;
  padding: 16px 20px;
  color: var(--accent);
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-mobile a:hover {
  background: rgba(229, 232, 212, 0.1);
}

/* Toggle animations */
#mobile-menu-toggle:checked ~ .hamburger .hamb-line {
  transform: rotate(45deg);
}

#mobile-menu-toggle:checked ~ .hamburger .hamb-line::before {
  transform: rotate(90deg);
}

#mobile-menu-toggle:checked ~ .hamburger .hamb-line::after {
  transform: rotate(90deg);
}

#mobile-menu-toggle:checked ~ .nav-mobile {
  display: block;
}

/* Prevent body scroll when menu open */
body:has(#mobile-menu-toggle:checked) {
  overflow: hidden;
}

/* Desktop: hide mobile elements */
@media (min-width: 701px) {
  .hamburger,
  .nav-mobile {
    display: none !important;
  }

  .nav-desktop {
    display: block !important;
  }
}

/* Mobile: stack nav vertically, show hamburger */
@media (max-width: 700px) {
  .nav-primary {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .site-header {
    position: relative;
  }
}

/* Hero */

.hero {
  padding: 35px 0 20px;
  text-align: center;
}

.hero-logo-circle {
  width: 140px;
  height: 140px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background-image: url("mclogo.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
  vertical-align: middle;
}

.hero-text-group {
  display: inline-block;
  vertical-align: middle;
  margin-left: 30px;
  text-align: left;
}

.hero-name {
  font-family: "Libre Bodoni", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 2.2rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.hero-subtitle {
  font-family: "Manrope", sans-serif;
  margin-top: 6px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--accent);
}

.hero-intro {
  margin: 60px auto 0;
  max-width: 640px;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted);
}

/* Info */
.info {
  padding: 70px 0 40px;
  text-align: center;
}

.info-heading {
  font-family: "Libre Bodoni", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 2.2rem;
  letter-spacing: 0.08em;
}

.info-subheading {
  font-family: "Libre Bodoni", serif;
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
}

.info-bodytext {
  margin: 20px auto 0;
  max-width: 640px;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 20px;
}

.info-gaptext {
  margin: 2px auto 0;
  max-width: 640px;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1rem;
  line-height: 0.8;
  margin-bottom: 2px;
}

/* Parallax circle section */

.circle-parallax-section {
  position: relative;
  min-height: 220vh; /* gives room to scroll through the circle */
  padding: 80px 0 140px;
  overflow: hidden;
}

.circle-parallax-inner {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  z-index: 2; /* above the circle */
  font-family: "Georgia", "Times New Roman", serif;
  color: #555555;
}

.service-block {
  padding: 20px 0;
}
.parallax-padding {
  padding: 250px 0;
}

.service-block h2 {
  font-family: "Futura", "Montserrat", system-ui, sans-serif;
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  color: var(--heading-dark);
  position: relative;
}

.service-block h2 a {
  color: var(--alttext); /* inherit */
  text-decoration: none;
}

.service-block h2 a:hover {
  text-decoration: underline;
}

.service-block h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  margin: 10px auto 0;
  background: var(--heading-dark);
}

.service-block p {
  color: var(--alttext); /* inherit */
  margin: 18px 0 0;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

/* Rough equivalent of Squarespace spacer blocks */

.spacer-row {
  height: 40px;
}

/* The large parallax circle */

.parallax-circle {
  position: absolute; /* relative to the services section */
  top: 50%;
  left: 50%;
  width: 90vw; /* adjust width as needed */
  height: 80vh; /* adjust height as needed */
  max-width: 1200px; /* optional: cap the maximum width */
  transform: translate(-50%, -50%);
  border-radius: 0; /* removes rounded corners - or use a small value like 8px for slightly rounded */
  background: var(--accent);
  z-index: 1;
  will-change: transform;
  pointer-events: none;
  opacity: 0; /* hidden until section in view */
  transition: opacity 0.25s ease-out;
}

/* Lower content sections */

.content-section {
  padding: 80px 0 40px;
}

.content-section h2 {
  color: var(--accent);
}

.content-section p {
  color: var(--muted);
}

.form-group select {
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: "Manrope", sans-serif;
  transition: border-color 0.3s;
  cursor: pointer;
  height: auto; /* ADD THIS */
  overflow: hidden; /* ADD THIS - hides scrollbar */
}

.form-group select option {
  padding: 0.5rem;
  line-height: 1.8; /* ADD THIS - gives options more breathing room */
}

/* Footer */

.site-footer {
  padding: 40px 0 60px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Responsive tweaks */

@media (max-width: 700px) {
  .hero-intro {
    margin-top: 40px;
  }
  .hero-name {
    font-style: italic;
    font-weight: 500;
    font-size: 2rem;
    letter-spacing: 0.06em;
  }
  .hero-subtitle {
    margin-top: 6px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
  }

  .parallax-circle {
    width: 140vmin;
    height: 140vmin;
  }

  .service-block {
    padding: 60px 0;
  }
}
