:root {
  color-scheme: light;
  --navy: #172b40;
  --gold: #8b6b36;
  --gold-light: #ccaf7b;
  --text: #566271;
  --line: #e4e4df;
  --paper: #f5f5f2;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; border-radius: 1px; }
main:focus { outline: none; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 10; padding: 10px 18px; transform: translateY(-150%); background: var(--navy); color: white; }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 17px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 74px; height: 74px; object-fit: contain; }
.website-link { display: inline-flex; align-items: center; gap: 14px; padding: 7px 0; border-bottom: 1px solid #b9c0c5; font-size: 13px; text-decoration: none; transition: color .2s, border-color .2s; }
.website-link svg { width: 17px; height: 17px; }
.website-link:hover { color: var(--gold); border-bottom-color: var(--gold); }

main { max-width: 1200px; margin: 46px auto 28px; padding: 0 36px; }
.thank-you-card { display: grid; grid-template-columns: 1.16fr 1fr; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 48px rgb(23 43 64 / 5%); }
.message { min-width: 0; padding: 44px 50px 42px; }
.eyebrow { margin: 0 0 23px; color: var(--gold); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; line-height: 1.6; }
.appreciation-mark { display: flex; width: 45px; height: 45px; margin-bottom: 23px; justify-content: center; align-items: center; border: 1px solid #c9b58e; border-radius: 50%; color: var(--gold); }
.appreciation-mark svg { width: 24px; height: 24px; }
h1 { margin: 0 0 21px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(44px, 4.2vw, 57px); font-weight: 400; line-height: 1.09; letter-spacing: -.035em; }
h1 em { color: var(--gold); font-weight: 400; font-style: normal; }
.lead { max-width: 410px; margin: 0 0 13px; color: #35485c; font-size: 17px; line-height: 1.6; }
.body-copy { max-width: 420px; margin: 0 0 23px; font-size: 14px; line-height: 1.8; color: var(--text); }
.next-steps { padding-top: 22px; border-top: 1px solid var(--line); }
.next-steps h2 { margin: 0 0 9px; font-size: 11px; font-weight: 700; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; }
.next-steps p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--text); }
.next-steps .contact-line { margin-top: 9px; }
.contact-line a { color: #465565; text-underline-offset: 3px; text-decoration-color: #bdc3c8; overflow-wrap: anywhere; }
.contact-line a:hover { color: var(--gold); text-decoration-color: var(--gold); }
.signature { margin-top: 25px; }
.signature-rule { display: block; width: 28px; height: 1px; margin-bottom: 12px; background: #c9b58e; }
.signature p { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 15px; line-height: 1.65; }

.visual { position: relative; isolation: isolate; min-width: 0; min-height: 630px; overflow: hidden; background: var(--navy); }
.editorial-image { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 36% center; }
.visual-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgb(14 28 42 / 1%) 15%, rgb(14 28 42 / 28%) 44%, rgb(14 28 42 / 96%) 100%); }
.visual-message { position: absolute; right: 0; bottom: 0; left: 0; padding: 40px 39px 41px; color: #fff; }
.gold-rule { display: block; width: 43px; height: 2px; margin-bottom: 22px; background: var(--gold-light); }
.visual-caption { margin: 0 0 13px; color: #e5c897; font-size: 10px; font-weight: 400; line-height: 1.6; text-transform: uppercase; letter-spacing: .17em; }
.visual-title { margin: 0 0 20px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(30px, 2.8vw, 38px); font-weight: 400; line-height: 1.25; letter-spacing: -.02em; }
.visual-firm { margin: 0; color: #d8dfe5; font-size: 9px; line-height: 1.7; letter-spacing: .13em; }

.site-footer { max-width: 1200px; margin: 0 auto; padding: 0 36px 28px; color: #626e79; }
.footer-top { display: flex; justify-content: space-between; gap: 20px; font-size: 11px; line-height: 1.7; }

@media (min-width: 1500px) {
  main { margin-top: 60px; }
  .message { padding-top: 50px; padding-bottom: 47px; }
}
@media (max-width: 1000px) {
  .message { padding-right: 35px; padding-left: 35px; }
  .visual-message { padding-right: 28px; padding-left: 28px; }
}
@media (max-width: 760px) {
  .header-inner { padding: 13px 23px; }
  .brand img { width: 61px; height: 61px; }
  .website-link { gap: 10px; font-size: 12px; }
  main { margin: 25px auto 24px; padding: 0 20px; }
  .thank-you-card { grid-template-columns: minmax(0, 1fr); }
  .message { padding: 35px 30px 36px; }
  .eyebrow { margin-bottom: 23px; font-size: 10px; letter-spacing: .13em; }
  h1 { font-size: 46px; }
  .lead { font-size: 17px; }
  .body-copy { font-size: 14px; }
  .next-steps p { font-size: 13px; }
  .visual { min-height: 360px; }
  .editorial-image { object-position: center 46%; }
  .visual-message { padding: 28px 30px; }
  .gold-rule { margin-bottom: 15px; }
  .visual-title { font-size: 32px; margin-bottom: 14px; }
  .site-footer { padding: 0 22px 24px; }
  .footer-top { flex-direction: column; gap: 5px; }
}
@media (max-width: 360px) {
  main { padding: 0 14px; }
  .message { padding: 30px 23px; }
  h1 { font-size: 41px; }
  .signature p { font-size: 13px; }
}
@media (prefers-reduced-motion: no-preference) {
  .thank-you-card { animation: arrive .65s ease-out both; }
  @keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  body { background: #fff; }
  .skip-link, .website-link, .visual { display: none; }
  .site-header { border: 0; }
  .header-inner { padding: 0 36px; }
  main { margin-top: 15px; }
  .thank-you-card { display: block; border: 0; box-shadow: none; }
  .message { padding: 20px 0; }
}
