:root {
  --paper: #e7eef1;
  --ink: #152026;
  --teal: #0e6e78;
  --deep: #10262c;
  --line: #c5d4d8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "News Cycle", sans-serif;
  font-size: 1.2rem;
  line-height: 1.45;
}
img { max-width: 100%; display: block; }
figure { margin: 0; }
p, a, h1, li, figcaption { overflow-wrap: anywhere; }
.px-hero figure { display: flex; flex-direction: column; background: #fff; }
.px-hero img { width: 100%; height: 420px; object-fit: cover; flex: none; }
.px-hero figcaption, .px-split figcaption, .px-photo figcaption { padding: 10px 14px; font-size: 0.95rem; }
a { color: var(--teal); }
h1, h2, h3 { font-family: "Crete Round", serif; font-weight: 400; line-height: 1.12; margin: 0 0 0.4em; }
header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  background: var(--deep);
  color: #f3f7f8;
}
.logo { color: #f3f7f8; text-decoration: none; font-family: "Crete Round", serif; font-size: 1.25rem; }
.nav { display: flex; gap: 18px; }
.nav a { color: #f3f7f8; text-decoration: none; font-size: 1.05rem; }
.nav-toggle {
  display: none;
  background: transparent;
  color: #f3f7f8;
  border: 1px solid #8fb4b8;
  padding: 6px 10px;
  font: inherit;
}
.px-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; min-height: 520px; }
.px-hero div { padding: 56px max(20px, calc((100vw - 1040px) / 2)) 56px 40px; display: flex; flex-direction: column; justify-content: center; }
.px-hero h1 { font-size: clamp(2.1rem, 4vw, 3.6rem); }
.btn {
  display: inline-block;
  margin-top: 12px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  width: fit-content;
}
.px-bar { display: flex; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.px-bar div { flex: 1; padding: 22px 24px; min-width: 0; }
.px-bar div + div { border-left: 1px solid var(--line); }
.px-bar strong { display: block; font-family: "Crete Round", serif; font-size: 1.25rem; }
.px-rail { display: grid; grid-template-columns: 92px 1fr; max-width: 980px; margin: 0 auto; padding: 64px 20px; gap: 0 18px; }
.px-rail span { font-family: "Crete Round", serif; font-size: 1.8rem; color: var(--teal); }
.px-rail p { margin: 0 0 28px; }
.px-quote { padding: 72px 8vw; background: #f7fbfc; }
.px-quote p { font-family: "Crete Round", serif; font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0; max-width: 18em; }
.px-dark { background: var(--deep); color: #e7f2f3; padding: 64px 8vw; }
.px-dark em { color: #7fd0d6; font-style: normal; }
.px-stairs { padding: 56px 8vw 72px; }
.px-stairs article { background: #fff; padding: 22px 24px; margin-bottom: 12px; }
.px-stairs article:nth-child(2) { width: 74%; margin-left: auto; }
.px-stairs article:nth-child(3) { width: 52%; }
.px-qa { max-width: 860px; margin: 0 auto; padding: 20px 20px 70px; }
.px-qa div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.px-qa b { font-weight: 700; }
.px-form, .px-lead, .px-end, .px-close { max-width: 720px; margin: 0 auto; padding: 48px 20px 72px; }
form { display: flex; flex-direction: column; gap: 10px; }
label { font-size: 0.95rem; }
input, textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid #9eb0b6;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
button[type="submit"] { font: inherit; background: var(--teal); color: #fff; border: 0; padding: 12px 16px; width: fit-content; cursor: pointer; }
.px-split { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: stretch; }
.px-split div { padding: 48px 36px; }
.px-split figure { display: flex; flex-direction: column; }
.px-split img { width: 100%; height: 320px; object-fit: cover; }
.px-line { padding: 28px 8vw; border-bottom: 8px solid var(--teal); font-family: "Crete Round", serif; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.px-steps { max-width: 760px; margin: 0 auto; padding: 48px 20px; }
.px-steps li { margin: 0 0 18px 0; padding-left: 16px; border-left: 3px solid var(--teal); list-style: none; }
.px-steps ol { margin: 0; padding: 0; }
.px-wide { background: #d5e6e8; padding: 48px 10vw; font-size: 1.35rem; }
.px-pair { display: grid; grid-template-columns: 1.6fr 0.8fr; }
.px-pair article { padding: 40px 32px; min-width: 0; }
.px-pair article:last-child { background: var(--deep); color: #e7f2f3; }
.px-note { margin: 36px 8vw; padding: 24px 28px; border: 1px dashed var(--teal); }
.px-giant { padding: 48px 6vw 10px; }
.px-giant h1 { font-size: clamp(3rem, 10vw, 7rem); }
.px-addr { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; padding: 10px 6vw 40px; }
.px-links { display: flex; flex-direction: column; gap: 8px; padding: 20px 6vw 40px; background: #fff; }
.px-links a { font-size: clamp(1.2rem, 3vw, 2rem); text-decoration: none; color: var(--ink); }
.px-how { padding: 40px 6vw; }
.px-how ol { margin: 0; padding-left: 1.2em; }
.px-fields { padding: 10px 6vw 40px; }
.px-fields li { margin-bottom: 8px; }
.px-photo img { width: 100%; max-height: 460px; object-fit: cover; }
footer { background: var(--deep); color: #d5e4e6; padding: 28px 22px 36px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: #d5e4e6; }
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; background: rgba(16, 38, 44, 0.55); display: grid; place-items: center; z-index: 40; padding: 20px; }
.modal div { background: #fff; color: var(--ink); padding: 28px 24px; max-width: 420px; width: 100%; }
.modal button { font: inherit; margin-top: 16px; background: var(--deep); color: #fff; border: 0; padding: 8px 14px; }
@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--deep); flex-direction: column; padding: 12px 22px 18px; gap: 10px; }
  .nav.is-open { display: flex; }
  .px-hero, .px-split, .px-pair, .px-addr, .px-qa div { grid-template-columns: 1fr; }
  .px-bar { flex-direction: column; }
  .px-bar div + div { border-left: 0; border-top: 1px solid var(--line); }
  .px-rail { grid-template-columns: 1fr; }
  .px-stairs article, .px-stairs article:nth-child(2), .px-stairs article:nth-child(3) { width: 100%; margin-left: 0; }
  .logo { font-size: 1.05rem; }
}
