@import url(https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap);
:root {
  --hp-sand: #f3ede4;
  --hp-sand-deep: #e8dfd1;
  --hp-paper: #fffcf7;
  --hp-navy: #0c2340;
  --hp-navy-mid: #1a3a5c;
  --hp-sage: #5a7d5c;
  --hp-sage-light: #dce8dc;
  --hp-clay: #b85c38;
  --hp-clay-soft: #f4e4dc;
  --hp-ink: #1a1a1a;
  --hp-muted: #5c5c5c;
  --hp-rule: #d4c9b8;
  --hp-font-body: 'DM Sans', system-ui, sans-serif;
  --hp-font-title: 'Fraunces', Georgia, serif;
  --hp-max: 980px;
  --hp-toc-width: 200px;
}

*,
*::before,
*::after {
  -moz-box-sizing: border-box;
       box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body.hp-doc {
  font-family: var(--hp-font-body);
  color: var(--hp-ink);
  background: var(--hp-sand);
  background-image: -webkit-repeating-linear-gradient(
    102deg,
    transparent,
    transparent 28px,
    rgba(12, 35, 64, 0.03) 28px,
    rgba(12, 35, 64, 0.03) 29px
  );
  background-image: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 28px,
    rgba(12, 35, 64, 0.03) 28px,
    rgba(12, 35, 64, 0.03) 29px
  );
  line-height: 1.7;
  min-height: 100vh;
}

.hp-topbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--hp-navy);
  color: #fff;
  border-bottom: 3px solid var(--hp-clay);
}

.hp-topbar-inner {
  max-width: -webkit-calc(var(--hp-max) + var(--hp-toc-width) + 80px);
  max-width: calc(var(--hp-max) + var(--hp-toc-width) + 80px);
  margin: 0 auto;
  padding: 14px 24px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
          justify-content: space-between;
  gap: 12px;
}

.hp-logo-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 10px;
}

.hp-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--hp-sage);
  -webkit-clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
          clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.hp-logo-text {
  font-family: var(--hp-font-title);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hp-tab-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  gap: 4px;
}

.hp-tab {
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border: 1px solid transparent;
  -webkit-transition: color 0.2s, border-color 0.2s, background 0.2s;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.hp-tab:hover,
.hp-tab.hp-tab--on {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.hp-frame {
  max-width: -webkit-calc(var(--hp-max) + var(--hp-toc-width) + 80px);
  max-width: calc(var(--hp-max) + var(--hp-toc-width) + 80px);
  margin: 0 auto;
  padding: 36px 24px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--hp-toc-width);
  gap: 40px;
  -webkit-box-align: start;
  -webkit-align-items: start;
     -moz-box-align: start;
          align-items: start;
}

.hp-stream {
  min-width: 0;
}

.hp-intro-band {
  background: var(--hp-paper);
  border: 1px solid var(--hp-rule);
  border-top: 4px solid var(--hp-sage);
  padding: 32px 36px;
  margin-bottom: 28px;
}

.hp-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hp-sage);
  margin-bottom: 10px;
}

.hp-page-title {
  font-family: var(--hp-font-title);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  color: var(--hp-navy);
  line-height: 1.2;
  margin-bottom: 12px;
}

.hp-page-lead {
  color: var(--hp-muted);
  font-size: 0.98rem;
  max-width: 58ch;
}

.hp-meta-strip {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--hp-rule);
}

.hp-meta-item {
  font-size: 0.82rem;
}

.hp-meta-item span {
  display: block;
  font-weight: 700;
  color: var(--hp-navy);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.hp-segment {
  background: var(--hp-paper);
  border: 1px solid var(--hp-rule);
  margin-bottom: 20px;
  scroll-margin-top: 88px;
}

.hp-segment-bar {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
     -moz-box-align: stretch;
          align-items: stretch;
  border-bottom: 1px solid var(--hp-rule);
}

.hp-segment-label {
  -webkit-flex-shrink: 0;
          flex-shrink: 0;
  width: 56px;
  display: grid;
  place-items: center;
  background: var(--hp-navy);
  color: #fff;
  font-family: var(--hp-font-title);
  font-size: 0.95rem;
  font-weight: 700;
}

.hp-segment-heading {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
     -moz-box-flex: 1;
          flex: 1;
  padding: 16px 20px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
}

.hp-segment-heading h2 {
  font-family: var(--hp-font-title);
  font-size: 1.2rem;
  color: var(--hp-navy);
  margin-bottom: 2px;
}

.hp-segment-heading p {
  font-size: 0.88rem;
  color: var(--hp-muted);
}

.hp-segment-body {
  padding: 22px 24px 24px 80px;
}

.hp-checklist {
  list-style: none;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  gap: 0;
}

.hp-checklist li {
  position: relative;
  padding: 11px 0 11px 28px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--hp-sand-deep);
}

.hp-checklist li:last-child {
  border-bottom: none;
}

.hp-checklist li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--hp-clay);
  font-weight: 700;
}

.hp-pair-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.hp-callout {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--hp-clay-soft);
  border-left: 3px solid var(--hp-clay);
  font-size: 0.88rem;
  color: #4a3028;
}

.hp-callout strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  color: var(--hp-clay);
}

.hp-tag-strip {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hp-tag {
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--hp-sage-light);
  color: var(--hp-sage);
  border: 1px solid rgba(90, 125, 92, 0.25);
}

.hp-toc {
  position: -webkit-sticky;
  position: sticky;
  top: 88px;
}

.hp-toc-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hp-muted);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--hp-navy);
}

.hp-toc-list {
  list-style: none;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  gap: 2px;
}

.hp-toc-list a {
  display: block;
  padding: 8px 0;
  font-size: 0.82rem;
  color: var(--hp-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  -webkit-transition: color 0.2s, border-color 0.2s;
  transition: color 0.2s, border-color 0.2s;
}

.hp-toc-list a:hover {
  color: var(--hp-navy);
  border-bottom-color: var(--hp-clay);
}

.hp-endcap {
  background: var(--hp-navy);
  color: #fff;
  text-align: center;
  padding: 40px 24px;
  margin-top: 8px;
}

.hp-endcap h3 {
  font-family: var(--hp-font-title);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.hp-endcap p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 42ch;
  margin: 0 auto 20px;
}

.hp-mail-action {
  display: inline-block;
  padding: 12px 32px;
  background: var(--hp-clay);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid var(--hp-clay);
  -webkit-transition: background 0.2s, color 0.2s;
  transition: background 0.2s, color 0.2s;
}

.hp-mail-action:hover {
  background: transparent;
  color: #fff;
}

.hp-endcap-note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

/* contact layout */

.hp-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin-bottom: 24px;
}

.hp-lane-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  gap: 14px;
}

.hp-lane {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  background: var(--hp-paper);
  border: 1px solid var(--hp-rule);
  border-left: 4px solid var(--hp-sage);
}

.hp-lane-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--hp-sage-light);
  font-size: 1.2rem;
}

.hp-lane-name {
  font-weight: 700;
  color: var(--hp-navy);
  margin-bottom: 4px;
}

.hp-lane-desc {
  font-size: 0.85rem;
  color: var(--hp-muted);
  margin-bottom: 6px;
}

.hp-lane-link {
  color: var(--hp-clay);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.88rem;
  word-break: break-all;
}

.hp-lane-link:hover {
  text-decoration: underline;
}

.hp-lane-note {
  margin-top: 6px;
  font-size: 0.74rem;
  color: var(--hp-muted);
}

.hp-form-panel {
  background: var(--hp-paper);
  border: 1px solid var(--hp-rule);
  border-top: 4px solid var(--hp-clay);
  padding: 26px;
}

.hp-form-panel h2 {
  font-family: var(--hp-font-title);
  font-size: 1.15rem;
  color: var(--hp-navy);
  margin-bottom: 18px;
}

.hp-form-stack {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  gap: 14px;
}

.hp-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--hp-navy-mid);
  margin-bottom: 5px;
}

.hp-ctrl {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--hp-rule);
  background: var(--hp-sand);
  font: inherit;
  color: var(--hp-ink);
  outline: none;
}

.hp-ctrl:focus {
  border-color: var(--hp-navy);
  background: #fff;
}

.hp-textarea {
  min-height: 120px;
  resize: vertical;
}

.hp-select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235c5c5c' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 34px;
}

.hp-form-submit {
  margin-top: 4px;
  width: 100%;
  padding: 13px;
  border: none;
  background: var(--hp-navy);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}

.hp-form-submit:hover {
  background: var(--hp-navy-mid);
}

.hp-site-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hp-site-card {
  padding: 18px;
  background: var(--hp-sand);
  border: 1px solid var(--hp-rule);
}

.hp-site-card h4 {
  font-family: var(--hp-font-title);
  font-size: 0.95rem;
  color: var(--hp-navy);
  margin-bottom: 8px;
}

.hp-site-card p {
  font-size: 0.84rem;
  color: var(--hp-muted);
  line-height: 1.65;
}

.hp-social-band {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  gap: 10px;
  padding: 8px 0;
}

.hp-social-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--hp-rule);
  background: var(--hp-sand);
  display: grid;
  place-items: center;
  font-size: 1rem;
  cursor: pointer;
  -webkit-transition: border-color 0.2s, background 0.2s;
  transition: border-color 0.2s, background 0.2s;
}

.hp-social-btn:hover {
  border-color: var(--hp-navy);
  background: var(--hp-paper);
}

@media (max-width: 860px) {
  .hp-frame {
    grid-template-columns: 1fr;
    padding: 24px 16px 56px;
  }

  .hp-toc {
    position: static;
    -webkit-box-ordinal-group: 0;
    -webkit-order: -1;
       -moz-box-ordinal-group: 0;
            order: -1;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--hp-rule);
  }

  .hp-toc-list {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
       -moz-box-orient: horizontal;
       -moz-box-direction: normal;
            flex-direction: row;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    gap: 8px;
  }

  .hp-toc-list a {
    padding: 6px 12px;
    background: var(--hp-paper);
    border: 1px solid var(--hp-rule);
  }

  .hp-pair-row,
  .hp-contact-grid,
  .hp-site-row {
    grid-template-columns: 1fr;
  }

  .hp-segment-body {
    padding: 20px 18px;
  }
}

@media (max-width: 480px) {
  .hp-intro-band {
    padding: 24px 18px;
  }

  .hp-segment-label {
    width: 44px;
    font-size: 0.85rem;
  }
}

