:root {
  --maxw: 1700px;
  --gutter: clamp(1.25rem, 5vw, 10.9375rem); /* ~175px at full width */

  --font-body: "Minion Pro", Georgia, "Times New Roman", serif;
  --font-head: "Agdasima", "Arial Narrow", Arial, sans-serif;
  --font-ui: "Karla", "Helvetica Neue", Arial, sans-serif;
  --font-btn: "Abel", "Helvetica Neue", Arial, sans-serif;

  --color-text: #453b38;   /* nudged darker than the original for readable contrast */
  --color-heading: #3b3635;
  --color-bg: #ffffff;
  --color-bg-dark: #111111;
  --color-text-invert: #f4f2f1;
  --color-rule: rgba(59, 54, 53, 0.25);
  --color-nav: #333333;
  --color-nav-hover: #000000;

  --btn-bg: #f5f5f4;
  --btn-text: #303030;

  --header-h: 72px;
  --focus: 3px solid #1a5f7a;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.1875rem; /* 19px */
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
  color: var(--color-heading);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-transform: uppercase;
}

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

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

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: #fff;
  color: #111;
  font-family: var(--font-ui);
  transform: translateY(-120%);
  transition: transform 0.15s ease;
}
.skip-link:focus { transform: translateY(0); }

/* header + primary nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.5rem clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-branding { line-height: 0; flex: 0 0 auto; }
.site-branding img { width: clamp(150px, 22vw, 220px); }

.primary-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.primary-nav a {
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--color-nav);
  text-decoration: none;
  transition: color 0.15s ease;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { color: var(--color-nav-hover); }

/* "Learn" dropdown */
.has-subnav { position: relative; }
.subnav {
  position: absolute;
  left: 50%;
  min-width: 260px;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.subnav a { padding: 0.5rem 1.25rem; white-space: nowrap; }
.has-subnav:hover .subnav,
.has-subnav:focus-within .subnav {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-toggle {
  display: none;
  padding: 0.5rem;
  border: 0;
  background: none;
  color: var(--color-nav);
  cursor: pointer;
}
.nav-toggle svg { display: block; width: 26px; height: 26px; }

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

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transform: translateY(-110%);
    transition: transform 0.2s ease;
  }
  .primary-nav[data-open="true"] { transform: translateY(0); }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.5rem;
    font-size: 0.9375rem;
  }
  .primary-nav__list > li { border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
  .primary-nav a { padding: 0.9rem 0; }

  .subnav {
    position: static;
    min-width: 0;
    padding: 0 0 0.5rem 1rem;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .subnav a { padding: 0.5rem 0; }
}

/* homepage - full-height scrolling panels */
.section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.section--media { background: #1c1c1c; }
.section--media .section__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.section--summary { padding: clamp(3.5rem, 10vh, 6rem) var(--gutter); }
.section--summary.section--light { background: var(--color-bg); }
.section--summary.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-invert);
}
.section--summary.section--dark h2 { color: #fff; }

.summary {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.summary h2 {
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  letter-spacing: 0.02em;
}
.summary hr {
  width: 100%;
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid var(--color-rule);
}
.section--dark .summary hr { border-top-color: rgba(255, 255, 255, 0.3); }
.summary p { margin: 0 0 1.75rem; }

/* buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-btn);
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--btn-text);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bg);
  transition: opacity 0.12s linear;
}
.btn:hover { opacity: 0.8; }
.section--dark .btn {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
}

/* fixed section markers down the right edge of the homepage */
.section-nav {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.75rem);
  top: 50%;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transform: translateY(-50%);
}
.section-nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #999;
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.section-nav a::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: width 0.15s ease, background 0.15s ease;
}
.section-nav a .label {
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.section-nav a:hover,
.section-nav a:focus-visible,
.section-nav a[aria-current="true"] { color: #111; }
.section-nav a:hover .label,
.section-nav a:focus-visible .label,
.section-nav a[aria-current="true"] .label { opacity: 1; transform: translateX(0); }
.section-nav a[aria-current="true"]::before { width: 34px; }

@media (max-width: 900px) {
  .section-nav { display: none; }
}

/* footer */
.site-footer {
  padding: clamp(2.5rem, 8vh, 4rem) 1.25rem;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
  font-family: var(--font-ui);
}
.site-footer__inner { max-width: var(--maxw); margin: 0 auto; }
.footer-business { margin-bottom: 1.5rem; }
.footer-business__name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-heading);
}
.footer-business__loc { font-size: 0.9375rem; color: #6b6b6b; }

.footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-nav__list a { color: var(--color-nav); text-decoration: none; }
.footer-nav__list a:hover { color: #000; }

.footer-copyright { font-size: 0.875rem; color: #7a7a7a; }

/* interior pages */

/* banner image with the page title on top */
.page-intro {
  position: relative;
  min-height: 46vh;
  min-height: 46svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1c1c1c;
  text-align: center;
}
.page-intro__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.page-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* keeps the title legible over any photo */
}
.page-intro__title {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
  color: #fff;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing: 0.02em;
}

.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 5.5rem) clamp(1.25rem, 5vw, 2.5rem);
}
.content > * { margin-inline: auto; }

.prose { text-align: center; }
.prose h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  margin-bottom: 0.6rem;
}
.prose h2 + p { margin-top: 0; }
.prose p { max-width: 68ch; margin-inline: auto; }

.rule {
  max-width: 100%;
  margin: clamp(2.5rem, 6vh, 4rem) auto;
  border: 0;
  border-top: 1px solid var(--color-rule);
}

/* 3-across step / feature blocks */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin: 2.5rem auto 0;
  padding: 0;
  list-style: none;
}
.step { text-align: center; }
.step__icon {
  width: 100%;
  max-width: 190px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 1rem;
  object-fit: contain;
}
.step h3 {
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}
.step p { font-size: 1.0625rem; line-height: 1.6; }

.steps--2 { grid-template-columns: repeat(2, 1fr); }

.step__photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  margin: 0 auto 1rem;
  object-fit: cover;
}
.step--left { text-align: left; }
.step--left .step__photo { aspect-ratio: 4 / 3; }

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; max-width: 22rem; }
  .steps--2 { max-width: 30rem; }
}

/* image on one side, copy on the other */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: start;
}
.split__media {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 64% 45%;
}
.split__body h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  margin-bottom: 0.75rem;
}
.split__body hr,
.split__body .rule {
  margin: 0 0 1.25rem;
  border: 0;
  border-top: 1px solid var(--color-rule);
}
.split__body p { margin: 0 0 1rem; }

@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
}

.figure {
  max-width: 640px;
  margin: 2.5rem auto 0;
}
.figure img { width: 100%; height: auto; }
.figure figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: #6b6b6b;
  text-align: center;
}

.figure--wide { max-width: 100%; margin-top: 0; }
.figure--wide img { aspect-ratio: 16 / 9; object-fit: cover; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 2vw, 1.25rem);
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.btn__meta { text-transform: none; letter-spacing: 0; opacity: 0.7; }

.cta { text-align: center; }
.cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  margin-bottom: 1.5rem;
}

/* pages without a banner image (blog, contact) */
.page-header {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vh, 4.5rem) clamp(1.25rem, 5vw, 2.5rem) 0;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  letter-spacing: 0.02em;
}

.empty-state {
  padding: clamp(2rem, 6vh, 3.5rem) 0;
  color: #6b6b6b;
  font-family: var(--font-ui);
  text-align: center;
}
.empty-state p { margin: 0 0 1rem; }

.toc {
  margin: 0 auto 1rem;
  text-align: center;
}
.toc ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.toc a {
  color: var(--color-nav);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.toc a:hover { color: #000; }

.breadcrumb {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem clamp(1.25rem, 5vw, 2.5rem) 0;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb li::after { content: "/"; margin-left: 0.4rem; color: #bbb; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: #777; text-decoration: none; }
.breadcrumb a:hover { color: #111; }
.breadcrumb [aria-current="page"] { color: #111; }

.list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
.list li { margin: 0 0 0.4rem; }

/* FAQ accordion */
.faq {
  max-width: 760px;
  margin: 2rem auto 0;
  text-align: left;
}
.faq h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  text-align: center;
}
.faq details { border-top: 1px solid var(--color-rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--color-rule); }
.faq summary {
  position: relative;
  padding: 1rem 2rem 1rem 0;
  list-style: none;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq summary:focus-visible { outline: var(--focus); outline-offset: 2px; }
.faq details > *:not(summary) { margin: 0 0 1rem; }
.faq details p:last-child { margin-bottom: 1rem; }

/* related links row */
.related {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  text-align: center;
}
.related h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.related ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.related a {
  color: var(--color-nav);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.related a:hover { color: #000; }

/* contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-grid h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); margin-bottom: 0.5rem; }
.contact-grid > div > p:first-of-type { margin-top: 0; }

.form {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.75rem;
}
.field { display: grid; gap: 0.35rem; }
.field label {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
}
.field .req { color: #a03; }
.field input,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-size: 1rem;
  background: #fff;
  border: 1px solid #cfcbc9;
  border-radius: 0;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible,
.field textarea:focus-visible {
  outline: var(--focus);
  outline-offset: 1px;
  border-color: #1a5f7a;
}
.form button[type="submit"] { justify-self: start; cursor: pointer; }
.form__note {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: #6b6b6b;
}

.contact-aside h3 {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}
.contact-aside address {
  margin-bottom: 1.5rem;
  font-style: normal;
  line-height: 1.6;
}

.map-embed {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
  border: 1px solid #d9d5d3;
}
.map-embed iframe,
.map-embed .map-embed__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-embed__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #ecebe9;
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  text-align: center;
  cursor: pointer;
}
.map-embed__placeholder:hover { background: #e4e2df; }
.map-embed__placeholder:focus-visible { outline: var(--focus); outline-offset: -3px; }
