:root {
  --cream: #faf6f1;
  --ink: #1c1420;
  --violet: #3c2156;
  --lilac: #f3eaf6;
  --muted: #6a5c72;
  --line: #e4dbe8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.06rem;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--violet); }
h1, h2, h3 {
  font-family: "Literata", serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 0.85rem; }
.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--violet);
  color: var(--cream);
}
.bar-in {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo {
  color: var(--cream);
  text-decoration: none;
  font-family: "Literata", serif;
  font-size: 1.25rem;
  font-weight: 600;
}
#nav { display: none; gap: 1.15rem; margin-left: auto; }
#nav a { color: var(--cream); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
#nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 #e7c6f2; }
.nav-btn {
  display: inline-block;
  margin-left: auto;
  background: var(--cream);
  color: var(--violet);
  border: 0;
  font: inherit;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  flex: 0 0 auto;
}
@media (min-width: 861px) {
  .nav-btn { display: none; }
  #nav { display: flex; position: static; flex-direction: row; background: transparent; padding: 0; border: 0; }
}
.wrap { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { max-width: 40rem; }
.kicker {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #8d5ea8;
  margin-bottom: 0.5rem;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 520px;
}
.hero-copy {
  background: var(--lilac);
  padding: 3.2rem 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero figure { margin: 0; display: flex; flex-direction: column; background: var(--violet); }
.hero img { width: 100%; height: 100%; object-fit: cover; flex: 1; min-height: 320px; }
.hero figcaption { color: #f3eaf6; padding: 0.55rem 0.9rem 0.7rem; font-size: 0.86rem; }
.lead { font-size: 1.12rem; }
.btn {
  display: inline-block;
  background: var(--violet);
  color: var(--cream);
  text-decoration: none;
  border: 0;
  padding: 0.75rem 1.05rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.btn.line { background: transparent; color: var(--violet); box-shadow: inset 0 0 0 2px var(--violet); }
.actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.1rem; }
figure { margin: 0; }
figcaption { font-size: 0.86rem; color: var(--muted); margin-top: 0.45rem; }
section { padding: 3rem 0; }
.lilac { background: var(--lilac); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.flow { list-style: none; margin: 1rem 0 0; padding: 0; }
.flow li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.8rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.flow i {
  font-style: normal;
  font-family: "Literata", serif;
  color: var(--violet);
  font-weight: 600;
}
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pair article { background: white; padding: 1.1rem 1.15rem; }
address { font-style: normal; font-size: 1.2rem; line-height: 1.5; }
.foot { background: var(--violet); color: var(--cream); padding: 1.5rem 0; }
.foot-in { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot a { color: #e7c6f2; }
.form { display: grid; gap: 0.8rem; max-width: 36rem; }
label { font-weight: 700; display: grid; gap: 0.35rem; }
input, textarea {
  font: inherit;
  padding: 0.72rem;
  border: 1px solid #d7c6e0;
  background: white;
  border-radius: 0;
}
.prose { max-width: 42rem; padding-bottom: 2.2rem; }
.prose h2 { margin-top: 1.6rem; }
.modal {
  position: fixed;
  inset: 0;
  background: rgba(28, 20, 32, 0.55);
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 40;
}
.modal[hidden] { display: none; }
.modal__card {
  background: white;
  padding: 1.4rem;
  width: min(420px, 100%);
  border-radius: 0;
}
@media (max-width: 860px) {
  h1 { font-size: 2rem; }
  #nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    background: var(--violet);
    flex-direction: column;
    padding: 0.4rem 1.1rem 1rem;
  }
  #nav.is-open { display: flex; }
  .hero, .split, .pair { grid-template-columns: 1fr; }
  .hero-copy { padding: 2rem 1.1rem 1.5rem; }
}
