:root {
  color-scheme: light;
  --ink: #1d302a;
  --muted: #65736c;
  --forest: #254b3d;
  --leaf: #dce9c7;
  --coral: #d86f57;
  --paper: #f3f6f0;
  --white: #fff;
  --line: #d8e0d6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(135deg, rgba(220, 233, 199, 0.32), transparent 48%), repeating-linear-gradient(0deg, rgba(37, 75, 61, 0.025) 0, rgba(37, 75, 61, 0.025) 1px, transparent 1px, transparent 72px);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--forest);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  text-decoration: none;
}

.wordmark-mark {
  position: relative;
  width: 17px;
  height: 17px;
  border: 2px solid var(--coral);
  border-radius: 50%;
}

.wordmark-mark::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--forest);
  content: "";
}

.back-link,
.site-footer a {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.back-link span,
.text-link span {
  color: var(--coral);
  margin-left: 5px;
}

.page-shell {
  width: min(1080px, calc(100% - 64px));
  margin: 0 auto;
}

.preview-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 25px 0 18px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--coral);
}

.banner-divider {
  color: #a1aaa1;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(42px, 8vw, 104px);
  align-items: center;
  padding: 8px 0 96px;
}

.portrait-frame {
  position: relative;
  min-width: 0;
  aspect-ratio: 0.84;
  overflow: hidden;
  background: var(--leaf);
}

.portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.portrait-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(20, 40, 33, 0.8), transparent);
  font-size: 9px;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 700;
}

.profile-intro h1,
.section-heading h2,
.intention-copy h2,
.connect-copy h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
}

.profile-intro h1 {
  font-size: clamp(48px, 6vw, 76px);
}

.profile-intro h1 em,
.intention-copy h2 em,
.connect-copy h2 em {
  color: var(--forest);
  font-weight: 500;
}

.profile-facts {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.profile-facts span {
  padding: 0 7px;
  color: var(--coral);
}

.intro-rule {
  width: 44px;
  height: 2px;
  margin: 28px 0 20px;
  background: var(--coral);
}

.profile-lede {
  max-width: 440px;
  margin: 0 0 28px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 21px;
  line-height: 1.55;
}

.profile-details {
  margin: 0 0 25px;
  border-top: 1px solid var(--line);
}

.profile-details div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.profile-details dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.profile-details dd {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
}

.text-link {
  font-size: 12px;
  font-weight: 700;
  text-decoration-color: rgba(37, 75, 61, 0.35);
  text-underline-offset: 5px;
}

.interests-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  padding: 47px 0 76px;
  border-top: 1px solid var(--line);
}

.section-heading h2 {
  font-size: 37px;
}

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

.interest-card {
  display: flex;
  min-height: 128px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 16px;
  background: rgba(255, 255, 255, 0.66);
  transition: border-color 160ms ease, transform 160ms ease;
}

.interest-card:hover {
  transform: translateY(-2px);
  border-color: var(--coral);
}

.interest-symbol {
  font-size: 25px;
  line-height: 1;
}

.interest-card h3 {
  margin: auto 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.interest-card p {
  margin: -5px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.intention-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 26px 60px;
  align-items: start;
  padding: 45px 0 82px;
  border-top: 1px solid var(--line);
}

.intention-copy h2 {
  font-size: 37px;
}

.intention-copy p {
  max-width: 590px;
  margin: 19px 0 0;
  color: #48574f;
  font-size: 14px;
}

.sample-note {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.connect-section {
  color: var(--white);
  background: var(--forest);
}

.connect-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(42px, 8vw, 100px);
  width: min(1080px, calc(100% - 64px));
  margin: 0 auto;
  padding: 68px 0 76px;
}

.connect-copy .eyebrow {
  color: #e8ad8d;
}

.connect-copy h2 {
  max-width: 390px;
  font-size: 44px;
}

.connect-copy h2 em {
  color: var(--leaf);
}

.connect-copy > p:not(.eyebrow) {
  max-width: 380px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.form-disclaimer {
  margin-top: 32px;
  padding-left: 13px;
  border-left: 2px solid #e8ad8d;
  font-size: 11px !important;
}

.inquiry-form {
  display: grid;
  gap: 21px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
}

.form-field label span,
.message-meta {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 400;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 0;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  font: inherit;
  font-size: 13px;
}

.form-field textarea {
  min-height: 152px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid #e8ad8d;
  outline-offset: 2px;
}

.message-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.submit-button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  padding: 0 16px;
  color: var(--ink);
  background: var(--leaf);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.submit-button:hover {
  background: #e8ad8d;
}

.form-response {
  margin: 0;
  padding: 12px 14px;
  border-left: 2px solid #e8ad8d;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.form-response[hidden] {
  display: none;
}

.site-footer {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 10px;
}

.site-footer a {
  color: var(--ink);
}

.vera-preview-link {
  margin-top: 24px;
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .page-shell,
  .connect-inner {
    width: min(100% - 40px, 560px);
  }

  .site-header {
    min-height: 72px;
  }

  .back-link {
    max-width: 150px;
    font-size: 11px;
    text-align: right;
  }

  .profile-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 63px;
  }

  .portrait-frame {
    width: min(100%, 430px);
    aspect-ratio: 0.92;
  }

  .profile-intro h1 {
    font-size: 58px;
  }

  .profile-lede {
    font-size: 19px;
  }

  .interests-section,
  .intention-section {
    grid-template-columns: 1fr;
    gap: 23px;
    padding: 38px 0 55px;
  }

  .interest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .interest-card {
    min-height: 120px;
    padding: 14px;
  }

  .sample-note {
    grid-column: 1;
  }

  .connect-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 50px 0 58px;
  }

  .connect-copy h2 {
    font-size: 39px;
  }
}

@media (max-width: 380px) {
  .site-header,
  .site-footer,
  .page-shell,
  .connect-inner {
    width: calc(100% - 32px);
  }

  .preview-banner {
    gap: 7px;
    font-size: 8px;
  }

  .profile-intro h1 {
    font-size: 50px;
  }

  .profile-facts {
    font-size: 11px;
  }

  .profile-details div {
    grid-template-columns: 88px 1fr;
    gap: 10px;
  }
}

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