:root {
  --ink: #17231f;
  --ink-soft: #53615c;
  --forest: #0f4f47;
  --forest-dark: #092e2a;
  --ivory: #f3f0e8;
  --paper: #fbfaf6;
  --red: #b5363d;
  --gold: #c39a4b;
  --line: rgba(23, 35, 31, 0.17);
  --white-line: rgba(255, 255, 255, 0.2);
  --serif: "Iowan Old Style", "Palatino Linotype", Baskerville, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --page: min(1240px, calc(100vw - 64px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ivory);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

body.has-dialog {
  overflow: hidden;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

h1,
h2,
h3,
p,
blockquote,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
blockquote {
  font-family: var(--serif);
  font-weight: 400;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  z-index: 500;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: white;
  background: var(--forest-dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.prototype-banner {
  position: relative;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 34px;
  padding: 7px 24px;
  color: #fdf8e9;
  background: #9b3036;
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}

.prototype-banner span {
  padding-right: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.38);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prototype-banner p {
  margin: 0;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
  padding: 0 max(32px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--white-line);
  color: white;
  background: #071f1c;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.brand img,
.footer-brand img {
  width: 156px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
}

.brand img {
  width: 142px;
}

.brand span,
.footer-brand span {
  padding-left: 12px;
  border-left: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 19px;
}

.desktop-nav {
  display: flex;
  gap: 32px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-action {
  justify-self: end;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: white;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease;
}

.header-action:hover {
  color: var(--forest-dark);
  background: white;
}

.mobile-primary-nav {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(500px, 1.06fr);
  min-height: 720px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 14% 18%, rgba(195, 154, 75, 0.16), transparent 31%),
    linear-gradient(132deg, #0c423c, var(--forest-dark) 66%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.04) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(255,255,255,.035) 50%, transparent 50.2%);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 670px;
  margin-left: max(32px, calc((100vw - 1240px) / 2));
  padding: 92px 40px 92px 0;
}

.eyebrow,
.section-number {
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow {
  color: #ead49c;
}

.hero h1 {
  max-width: 740px;
  margin-bottom: 34px;
  font-size: clamp(68px, 7.5vw, 116px);
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.hero-intro {
  max-width: 580px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 56px;
}

.primary-button,
.light-button,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 52px;
  padding: 13px 19px;
  border: 0;
  color: var(--forest-dark);
  background: #f5df9e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: transform 220ms var(--ease), background 220ms ease;
}

.primary-button:hover,
.light-button:hover,
.form-submit:hover {
  background: white;
  transform: translateY(-2px);
}

.text-button {
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.hero-trust span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-guide {
  position: relative;
  display: grid;
  min-height: 720px;
  padding: 74px max(40px, calc((100vw - 1240px) / 2)) 74px 58px;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 78% 18%, rgba(195, 154, 75, 0.17), transparent 28%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.012));
}

.guide-orbit {
  position: absolute;
  border: 1px solid rgba(234, 212, 156, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.guide-orbit::after {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 5px solid rgba(245, 223, 158, 0.2);
  border-radius: 50%;
  background: #f5df9e;
  box-shadow: 0 0 28px rgba(245, 223, 158, 0.7);
  content: "";
}

.guide-orbit-one {
  top: -150px;
  right: -140px;
  width: 410px;
  height: 410px;
}

.guide-orbit-one::after {
  bottom: 73px;
  left: 25px;
}

.guide-orbit-two {
  right: -75px;
  bottom: -250px;
  width: 520px;
  height: 520px;
}

.guide-orbit-two::after {
  top: 45px;
  left: 59px;
}

.guide-panel {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(100%, 610px);
  padding: 44px 46px 38px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(5, 37, 33, 0.55);
  box-shadow: 0 32px 90px rgba(2, 24, 21, 0.28);
  backdrop-filter: blur(12px);
}

.guide-kicker {
  margin-bottom: 15px;
  color: #ead49c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.guide-panel h2 {
  margin-bottom: 32px;
  font-size: clamp(36px, 3.5vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.connection-path {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.connection-path li {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 0 0 24px;
}

.connection-path li:not(:last-child)::after {
  position: absolute;
  top: 31px;
  bottom: 3px;
  left: 19px;
  width: 1px;
  background: rgba(234, 212, 156, 0.28);
  content: "";
}

.path-number {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(234, 212, 156, 0.46);
  border-radius: 50%;
  color: #f5df9e;
  background: rgba(7, 31, 28, 0.88);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.connection-path strong {
  display: block;
  margin: 2px 0 4px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.connection-path p {
  max-width: 410px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  line-height: 1.5;
}

.guide-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 17px 0 3px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.guide-next span {
  color: #f5df9e;
  font-size: 16px;
  transition: transform 220ms var(--ease);
}

.guide-next:hover span {
  transform: translateY(4px);
}

.guide-privacy {
  position: absolute;
  z-index: 3;
  right: max(40px, calc((100vw - 1240px) / 2));
  bottom: 27px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guide-privacy span {
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-right: 7px;
  place-items: center;
  border-radius: 50%;
  color: var(--forest-dark);
  background: #f5df9e;
}

.directory-section {
  width: var(--page);
  margin: 0 auto;
}

.section-number {
  color: var(--red);
}

.directory-section {
  padding: 96px 0 130px;
}

.directory-heading {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 60px;
}

.directory-heading h2,
.join-section h2 {
  margin-bottom: 0;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.directory-heading > p {
  max-width: 390px;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 17px;
}

.filters {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  margin-bottom: 34px;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.filter {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 11px;
  font-weight: 750;
}

.filter span {
  opacity: 0.65;
}

.filter:hover,
.filter.is-active {
  border-color: var(--forest);
  color: white;
  background: var(--forest);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.profile-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease);
}

.profile-card.is-map-highlight {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
  box-shadow: 0 18px 44px rgba(9, 46, 42, 0.16);
}

.profile-card:hover {
  box-shadow: 0 28px 70px rgba(24, 46, 39, 0.12);
  transform: translateY(-5px);
}

.profile-card-button {
  display: grid;
  grid-template-columns: 42% 58%;
  width: 100%;
  min-height: 490px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.card-image {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #d8d3c8;
}

.card-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.profile-card:hover .card-image img {
  transform: scale(1.025);
}

.card-field {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 7px 9px;
  color: white;
  background: rgba(8, 45, 40, 0.86);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.card-content {
  display: flex;
  flex-direction: column;
  padding: 28px 27px 24px;
}

.reviewed-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--forest);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.reviewed-mark {
  display: inline-grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--forest);
  font-size: 11px;
}

.card-content h3 {
  margin-bottom: 10px;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.025em;
}

.card-role {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.card-location {
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: 11px;
}

.card-summary {
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.35;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.card-actions span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9px;
}

.read-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.read-profile b {
  font-size: 18px;
  font-weight: 400;
}

.empty-state {
  padding: 60px 24px;
  border: 1px dashed var(--line);
  color: var(--ink-soft);
  text-align: center;
}

.join-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 84px;
  padding: 110px max(32px, calc((100vw - 1240px) / 2));
  color: white;
  background: var(--forest);
}

.join-copy {
  align-self: end;
  max-width: 470px;
}

.join-copy > p {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.light-button {
  min-width: 230px;
}

.join-note {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  min-height: 140px;
  padding: 30px max(32px, calc((100vw - 1240px) / 2));
  color: white;
  background: #071f1c;
}

.footer-brand img {
  width: 142px;
}

footer > p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  text-align: center;
}

footer > div {
  display: flex;
  justify-content: end;
  gap: 22px;
  font-size: 11px;
}

dialog {
  width: min(1000px, calc(100vw - 36px));
  max-height: calc(100svh - 36px);
  padding: 0;
  overflow: auto;
  border: 0;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
}

dialog::backdrop {
  background: rgba(5, 27, 24, 0.82);
  backdrop-filter: blur(6px);
}

.dialog-close {
  position: sticky;
  z-index: 10;
  top: 16px;
  float: right;
  width: 42px;
  height: 42px;
  margin: 16px 16px -58px 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(251, 250, 246, 0.92);
  font-size: 25px;
  line-height: 1;
}

.profile-dialog-shell {
  display: grid;
  grid-template-columns: minmax(310px, 0.83fr) minmax(0, 1.17fr);
}

.profile-dialog-visual {
  position: sticky;
  top: 0;
  height: min(820px, calc(100svh - 36px));
  min-height: 660px;
  background: var(--forest-dark);
}

.profile-dialog-visual img {
  height: 100%;
  object-fit: cover;
}

.profile-dialog-visual::after {
  position: absolute;
  inset: 58% 0 0;
  background: linear-gradient(transparent, rgba(7, 31, 28, 0.72));
  content: "";
}

.visual-caption {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 26px;
  left: 26px;
  margin: 0;
  color: white;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.profile-dialog-copy {
  padding: 62px 54px 55px;
}

.profile-dialog-copy .reviewed-line {
  margin-bottom: 30px;
}

.profile-dialog-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(44px, 6vw, 70px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.dialog-role {
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 750;
}

.dialog-location {
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: 12px;
}

.dialog-intro {
  margin-bottom: 38px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.38;
}

.profile-section {
  margin-bottom: 34px;
}

.profile-section-label {
  display: block;
  margin-bottom: 11px;
  color: var(--red);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.profile-section h3 {
  margin-bottom: 10px;
  font-size: 25px;
}

.profile-section p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.heritage-quote {
  padding: 25px;
  border-left: 3px solid var(--gold);
  background: var(--ivory);
  font-family: var(--serif);
  font-size: 19px !important;
  font-style: italic;
  line-height: 1.45;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-list span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
}

.dialog-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.request-button {
  min-height: 50px;
  padding: 12px 17px;
  border: 0;
  color: white;
  background: var(--forest);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.external-link {
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font-size: 11px;
  font-weight: 750;
}

.confirmed-date {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
  text-transform: uppercase;
}

.form-dialog {
  width: min(720px, calc(100vw - 36px));
  padding: 56px;
}

.form-dialog-heading {
  max-width: 580px;
  margin-bottom: 34px;
}

.form-dialog-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.form-dialog-heading > p:last-child {
  color: var(--ink-soft);
  font-size: 14px;
}

form {
  display: grid;
  gap: 18px;
}

form label {
  display: grid;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: white;
  font-size: 14px;
  font-weight: 400;
}

form textarea {
  resize: vertical;
}

form input:focus,
form select:focus,
form textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 2px rgba(15, 79, 71, 0.12);
}

.two-column-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.checkbox-label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.45;
}

.checkbox-label input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}

.form-submit {
  justify-self: start;
  min-width: 250px;
  color: white;
  background: var(--forest);
}

.form-privacy {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 10px;
}

.toast {
  position: fixed;
  z-index: 600;
  right: 22px;
  bottom: 22px;
  max-width: 360px;
  padding: 15px 18px;
  color: white;
  background: var(--forest-dark);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 220ms ease, transform 220ms var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .mobile-primary-nav {
    position: fixed;
    z-index: 200;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: white;
    background: rgba(9, 46, 42, 0.94);
    box-shadow: 0 16px 50px rgba(10, 41, 36, 0.3);
    backdrop-filter: blur(16px);
  }

  .mobile-primary-nav a {
    padding: 13px 10px;
    text-align: center;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-primary-nav a[aria-current="page"] {
    color: var(--forest-dark);
    background: var(--gold);
  }

  body {
    padding-bottom: 70px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
    min-height: 670px;
    padding-right: max(32px, calc((100vw - 1240px) / 2));
  }

  .hero-guide {
    min-height: 680px;
    padding-right: max(32px, calc((100vw - 1240px) / 2));
    padding-left: max(32px, calc((100vw - 1240px) / 2));
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }

  .profile-card-button {
    grid-template-columns: 1fr;
  }

  .card-image {
    min-height: 390px;
  }
}

@media (max-width: 760px) {
  :root {
    --page: calc(100vw - 32px);
  }

  .prototype-banner {
    align-items: flex-start;
    gap: 8px;
    padding: 8px 12px;
    text-align: left;
  }

  .prototype-banner span {
    flex: 0 0 auto;
  }

  .site-header {
    min-height: 64px;
    padding: 0 16px;
  }

  .brand img {
    width: 128px;
  }

  .brand span {
    font-size: 16px;
  }

  .header-action {
    padding: 9px 12px;
    font-size: 9px;
  }

  .hero-copy {
    min-height: 610px;
    margin-left: 16px;
    padding: 70px 16px 64px 0;
  }

  .hero h1 {
    font-size: clamp(61px, 19vw, 86px);
  }

  .hero-intro {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 38px;
  }

  .primary-button {
    align-self: flex-start;
  }

  .text-button {
    align-self: flex-start;
  }

  .hero-guide {
    min-height: auto;
    padding: 48px 16px 68px;
  }

  .guide-panel {
    padding: 34px 24px 28px;
  }

  .guide-panel h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .guide-privacy {
    right: 16px;
    bottom: 24px;
  }

  .directory-section {
    padding: 72px 0 82px;
  }

  .directory-heading {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 40px;
  }

  .directory-heading h2,
  .join-section h2 {
    font-size: clamp(47px, 13vw, 66px);
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-card-button {
    min-height: 0;
  }

  .card-image {
    min-height: 430px;
  }

  .card-content {
    padding: 26px 22px 23px;
  }

  .join-section {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 72px 16px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 42px 16px;
    text-align: left;
  }

  footer > p {
    text-align: left;
  }

  footer > div {
    justify-content: start;
  }

  .profile-dialog-shell {
    grid-template-columns: 1fr;
  }

  .profile-dialog-visual {
    position: relative;
    height: 65svh;
    min-height: 490px;
  }

  .profile-dialog-copy {
    padding: 40px 24px;
  }

  .dialog-actions {
    grid-template-columns: 1fr;
  }

  .external-link {
    justify-self: start;
  }

  .form-dialog {
    padding: 46px 22px 30px;
  }

  .two-column-fields {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
