:root {
  --bg: #faf6f7;
  --surface: #ffffff;
  --ink: #2e1f2a;
  --muted: #6f5866;
  --primary: #6d2f52;
  --accent: #c98a92;
  --tint1: #eed9e0;
  --tint2: #e3c3ce;
  --onprimary: #faf6f7;
  --band: #2e1f2a;
  --radius: 22px;
  --wrap: 1140px;
  --head: Baskerville, 'Hoefler Text', Garamond, 'Times New Roman', serif;
  --body: 'Lucida Sans Unicode', 'Lucida Grande', Tahoma, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--head);
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--ink);
  font-weight: 700;
}

h1 { font-size: 2rem; letter-spacing: -0.01em; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
a { color: var(--primary); }
a:hover, a:focus { color: var(--ink); }
img, svg { max-width: 100%; height: auto; display: block; }
ul { padding-left: 1.2em; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--band);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------- header */
.site-header {
  background: var(--surface);
  border-bottom: 2px solid var(--tint1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 12px;
}

.brand { display: block; line-height: 0; }
.brand img { height: 44px; width: auto; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 44px;
  padding: 0 10px;
  background: var(--primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--onprimary);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

#primary-nav {
  flex-basis: 100%;
  display: none;
}
#primary-nav.is-open { display: block; }

#primary-nav ul {
  list-style: none;
  margin: 8px 0 4px;
  padding: 0;
  border-top: 1px solid var(--tint1);
}
#primary-nav li { border-bottom: 1px solid var(--tint1); }
#primary-nav a {
  display: block;
  padding: 13px 4px;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .02em;
}
#primary-nav a:hover, #primary-nav a:focus { color: var(--primary); }
#primary-nav a[aria-current="page"] { color: var(--primary); }

/* --------------------------------------------------------------- hero */
.hero { padding: 40px 0 44px; }
.hero-text h1 { margin-bottom: .5em; }
.hero-text p { font-size: 1.06rem; color: var(--muted); max-width: 56ch; }
.hero-media img { width: 100%; border-radius: var(--radius); }

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--onprimary);
  padding: 14px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--primary);
}
.btn:hover, .btn:focus { background: var(--band); border-color: var(--band); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--primary);
}
.btn-ghost:hover, .btn-ghost:focus { background: var(--primary); color: var(--onprimary); }

.eyebrow {
  display: inline-block;
  font-family: var(--body);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

/* ------------------------------------------------------------ sections */
section { padding: 36px 0; }
.section-head { max-width: 62ch; margin-bottom: 26px; }
.lede { font-size: 1.05rem; color: var(--muted); }

.grid { display: grid; gap: 20px; }

.card {
  background: var(--surface);
  border: 1px solid var(--tint1);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin-bottom: .4em; }
.card p { margin-bottom: 0; color: var(--muted); }

.item-card {
  background: var(--surface);
  border: 1px solid var(--tint1);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.item-card img { width: 100%; border-bottom: 1px solid var(--tint1); }
.item-body { padding: 20px; }
.item-meta {
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}
.item-body p { color: var(--muted); margin-bottom: 0; }
.item-link { display: inline-block; margin-top: 14px; font-weight: 700; }

.band { background: var(--band); color: #fff; }
.band h2, .band h3 { color: #fff; }
.band p { color: rgba(255,255,255,.86); }
.band a { color: #fff; }
.band .btn { background: var(--accent); border-color: var(--accent); color: #17140f; }
.band .btn:hover, .band .btn:focus { background: #fff; border-color: #fff; color: var(--band); }

.tinted { background: var(--tint1); }

.quote {
  border-left: 6px solid var(--accent);
  padding: 6px 0 6px 22px;
  margin: 0;
}
.quote p {
  font-family: var(--head);
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: .5em;
}
.quote cite { font-style: normal; font-size: .92rem; color: var(--muted); font-weight: 700; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--tint1);
  border-radius: var(--radius);
  padding: 20px 20px 20px 68px;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--onprimary);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-family: var(--head);
}
.steps h3 { margin-bottom: .3em; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); }

.stats { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
.stats li { text-align: center; padding: 18px 10px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--tint1); }
.stats b { display: block; font-family: var(--head); font-size: 2rem; color: var(--primary); line-height: 1; margin-bottom: 6px; }
.stats span { font-size: .9rem; color: var(--muted); }

.media-block img { border-radius: var(--radius); width: 100%; }

.team li { list-style: none; }
.team { padding: 0; margin: 0; display: grid; gap: 18px; }
.team .role { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); font-weight: 700; }

/* ------------------------------------------------------------- article */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; }
.prose p { font-size: 1.03rem; }
.article-meta { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.dek { font-size: 1.15rem; color: var(--muted); font-family: var(--head); }

/* ---------------------------------------------------------------- form */
.form-wrap {
  background: var(--surface);
  border: 1px solid var(--tint1);
  border-radius: var(--radius);
  padding: 24px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--tint2);
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); }
.field [aria-invalid="true"] { border-color: #b3261e; background: #fff6f5; }
.error { color: #8c1d18; font-size: .87rem; font-weight: 700; margin-top: 6px; display: none; }
.error.show { display: block; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 2px solid var(--primary);
  background: var(--tint1);
  font-weight: 700;
}
.form-status.show { display: block; }
.form-status.is-error { border-color: #b3261e; background: #fff1f0; color: #8c1d18; }

.contact-details { list-style: none; padding: 0; margin: 0; }
.contact-details li { padding: 14px 0; border-bottom: 1px solid var(--tint1); }
.contact-details b { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: 4px; }

/* -------------------------------------------------------------- footer */
.site-footer {
  background: var(--band);
  color: rgba(255,255,255,.82);
  padding: 40px 0 22px;
  margin-top: 40px;
}
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: .7em; }
.site-footer a { color: #fff; }
.site-footer p { margin-bottom: .8em; }
.footer-grid { display: grid; gap: 28px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-brand img { height: 46px; width: auto; background: #fff; padding: 6px 10px; border-radius: 8px; }
.legal-bar {
  border-top: 1px solid rgba(255,255,255,.22);
  margin-top: 30px;
  padding-top: 18px;
  font-size: .87rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
address { font-style: normal; }

/* ==================================================== 768px and above */
@media (min-width: 768px) {
  body { font-size: 18px; }
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2rem; }
  section { padding: 56px 0; }

  .nav-toggle { display: none; }
  #primary-nav { display: block; flex-basis: auto; }
  #primary-nav ul { display: flex; gap: 6px; border-top: none; margin: 0; }
  #primary-nav li { border-bottom: none; }
  #primary-nav a { padding: 10px 14px; border-radius: 8px; }
  #primary-nav a[aria-current="page"] { background: var(--tint1); }

  .hero { padding: 60px 0 66px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .split-wide { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
  .contact-cols { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
}

@media (min-width: 1024px) {
  h1 { font-size: 3.05rem; }
  .grid-3 { gap: 26px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================ layout personality: overlay */
.hero { background: var(--band); color: #fff; padding-bottom: 0; }
.hero h1, .hero .eyebrow { color: #fff; }
.hero-text p { color: rgba(255,255,255,.85); }
.hero .btn { background: var(--accent); border-color: var(--accent); color: #1b1b1b; }
.hero-media { margin-top: 26px; transform: translateY(26px); }
.hero-media img { box-shadow: 0 14px 40px rgba(0,0,0,.22); }
section:first-of-type { padding-top: 60px; }
.card { background: var(--surface); box-shadow: 0 6px 18px rgba(0,0,0,.06); border: none; }
.item-card { border: none; box-shadow: 0 6px 18px rgba(0,0,0,.07); }
.eyebrow { letter-spacing: .22em; }

