html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin-bottom: 60px;
}

body.is-full-bleed {
  margin-bottom: 0;
}

.site-nav {
  position: relative;
  z-index: 10;
  display: flex;
  width: 100%;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px max(7vw, calc((100vw - 1170px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #f5f3ed;
  background: #141414;
  font-family: Arial, Helvetica, sans-serif;
}

.hero > .site-nav.site-nav--overlay {
  position: absolute;
  top: 0;
  left: 0;
  border-bottom-color: transparent;
  background: transparent;
}

.site-nav__brand {
  display: block;
  width: 112px;
  flex: 0 0 auto;
}

.site-nav__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 3vw, 42px);
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 0;
  border: 0;
  color: #cbc9c2;
  background: transparent;
  font: inherit;
  font-size: .88rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease;
}

.site-nav__link::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: #c9a45e;
  box-shadow: 0 0 8px rgba(201, 164, 94, .45);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-active {
  color: #f5f3ed;
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.site-nav__cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 14px;
  color: #171715;
  background: #d8d1bf;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, box-shadow .2s ease;
}

.site-nav__cta:hover,
.site-nav__cta:focus-visible {
  color: #171715;
  background: #f0ece2;
}

.site-nav__cta.is-active {
  box-shadow: inset 0 -2px #c9a45e, 0 0 0 1px rgba(201, 164, 94, .55);
}

.site-nav__cta span {
  font-size: 1.1rem;
}

.site-nav__logout {
  display: contents;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.landing-page {
  --ink: #141414;
  --paper: #fff;
  --muted: #9b9b9b;
  color: var(--paper);
  background: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}

.landing-page,
.landing-page * {
  box-sizing: border-box;
}

.landing-page h1,
.landing-page h2,
.landing-page p,
.landing-page blockquote {
  margin-top: 0;
}

.hero {
  position: relative;
  display: flex;
  min-height: 680px;
  height: 100svh;
  max-height: 1000px;
  align-items: flex-end;
  padding: 0 max(7vw, calc((100vw - 1170px) / 2)) 12.5vh;
  background: var(--ink);
  isolation: isolate;
}

.hero__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
}

.hero__shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 20, 20, 0) 18%, rgba(20, 20, 20, .04) 36%, rgba(20, 20, 20, .1) 50%, rgba(20, 20, 20, .22) 64%, rgba(20, 20, 20, .42) 76%, rgba(20, 20, 20, .68) 86%, rgba(20, 20, 20, .9) 94%, var(--ink) 100%),
              linear-gradient(90deg, rgba(9, 10, 12, .8) 0%, rgba(9, 10, 12, .42) 48%, rgba(9, 10, 12, .12) 100%);
}

.hero__brand {
  position: absolute;
  top: clamp(32px, 5.5vh, 52px);
  left: max(7vw, calc((100vw - 1170px) / 2));
  display: block;
  width: clamp(94px, 10vw, 145px);
}

.hero__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.hero__topnav {
  position: absolute;
  top: clamp(38px, 5.5vh, 54px);
  right: max(7vw, calc((100vw - 1170px) / 2));
}

.hero__topnav a {
  display: inline-block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(245, 243, 237, .55);
  color: #f5f3ed;
  font-size: .9rem;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}

.hero__topnav a:hover,
.hero__topnav a:focus-visible {
  border-color: #d8d1bf;
  color: #d8d1bf;
}

.hero__copy {
  max-width: 710px;
}

.hero__copy h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.2vw, 5.4rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.hero__copy p {
  max-width: 640px;
  margin: 0 0 26px;
  color: #a5a5a5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(.95rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  letter-spacing: .02em;
}

.hero__cta {
  display: inline-flex;
  min-width: 210px;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 18px;
  color: #141414;
  background: #dedbd2;
  font-size: .96rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  color: #141414;
  background: #fff;
  transform: translateY(-2px);
}

.hero__cta span {
  font-size: 1.35rem;
  line-height: 1;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__cta--secondary {
  border: 1px solid rgba(245, 243, 237, .65);
  color: #f5f3ed;
  background: rgba(20, 20, 20, .38);
}

.hero__cta--secondary:hover,
.hero__cta--secondary:focus-visible {
  color: #171715;
  background: #f0ece2;
}

.content-section {
  padding: clamp(82px, 10vw, 142px) max(8vw, calc((100vw - 1170px) / 2));
}

.section-kicker {
  margin: 0 0 20px;
  color: #b7aa88;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1.5;
}

.overview-section,
.why-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .85fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
}

.overview-section {
  min-height: 700px;
  background: #151515;
}

.overview-copy h2,
.section-title-block h2,
.process-intro h2,
.fees-section h2,
.why-copy h2 {
  margin: 0 0 24px;
  color: #f6f4ee;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5.2vw, 4.7rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.overview-copy > p:last-child,
.service-overview__copy p,
.benefit-card p,
.service-step p,
.process-list p,
.fees-section > p,
.why-copy > p:last-child {
  color: #b9b8b3;
  font-size: clamp(.96rem, 1.2vw, 1.08rem);
  line-height: 1.75;
}

.contact-page {
  min-height: 100svh;
  padding: 0 0 64px;
  color: #f5f3ed;
  background: #141414;
  font-family: Arial, Helvetica, sans-serif;
}

.contact-topbar {
  display: flex;
  width: min(100%, 1240px);
  min-height: 116px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.contact-brand {
  display: block;
  width: 106px;
}

.contact-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-home-link {
  color: #d3d0c8;
  font-size: .9rem;
  text-decoration: none;
}

.contact-home-link:hover,
.contact-information a:hover {
  color: #fff;
}

.contact-card {
  display: grid;
  width: min(90%, 1240px);
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  margin: 0 auto;
  border-top: 4px solid #b7aa88;
  background: #1d1d1b;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .26);
}

.contact-information,
.contact-form-panel {
  padding: clamp(30px, 4.5vw, 58px);
}

.contact-information {
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.contact-information h1,
.contact-form-panel h2,
.contact-confirmation h1 {
  margin: 0 0 20px;
  color: #f4f1e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 400;
  line-height: 1.12;
}

.contact-intro {
  margin: 0 0 36px;
  color: #b9b8b3;
  font-size: .98rem;
  line-height: 1.65;
}

.contact-detail {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0 0 34px;
}

.contact-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #b7aa88;
  border-radius: 50%;
  color: #d8d1bf;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.contact-detail h2 {
  margin: 0 0 8px;
  color: #f2f0ea;
  font-size: 1rem;
  font-weight: 700;
}

.contact-detail a {
  color: #d0b779;
  font-size: .95rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-security {
  padding: 18px;
  border: 1px solid rgba(183, 170, 136, .48);
  color: #d2d0c9;
  background: rgba(183, 170, 136, .08);
  font-size: .84rem;
  line-height: 1.6;
}

.contact-security strong {
  color: #e3d2a8;
}

.contact-form-panel .section-kicker {
  margin-bottom: 12px;
}

.contact-form-panel h2 {
  margin-bottom: 28px;
  font-size: clamp(1.8rem, 2.8vw, 2.35rem);
}

.contact-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 20px;
}

.contact-field {
  display: grid;
  gap: 8px;
  margin-bottom: 19px;
}

.contact-field label {
  color: #e7e4dd;
  font-size: .83rem;
  font-weight: 600;
}

.contact-field label span {
  color: #d0b779;
}

.contact-field label .optional-label {
  color: #92918d;
  font-size: .75rem;
  font-weight: 400;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 49px;
  padding: 12px 13px;
  border: 1px solid #474642;
  border-radius: 0;
  color: #f5f3ed;
  background: #242422;
  font: inherit;
  font-size: .92rem;
}

.contact-field textarea {
  min-height: 148px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #92918d;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: #c8ae70;
  outline: none;
  box-shadow: 0 0 0 2px rgba(200, 174, 112, .18);
}

.contact-field span[data-valmsg-for],
.contact-validation {
  color: #ffb3a8;
  font-size: .8rem;
}

.contact-validation:empty {
  display: none;
}

.contact-submit {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  border: 0;
  color: #171715;
  background: #c9a45e;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: #dfc27e;
}

.contact-submit span {
  font-size: 1.25rem;
}

.contact-confirmation-page {
  display: flex;
  flex-direction: column;
}

.contact-confirmation {
  display: block;
  max-width: 760px;
  margin: auto;
  padding: clamp(36px, 7vw, 80px);
}

.contact-confirmation h1 {
  max-width: 600px;
}

.contact-confirmation > p:not(.section-kicker) {
  margin: 0 0 26px;
  color: #b9b8b3;
  line-height: 1.65;
}

.about-page {
  min-height: 100svh;
  color: #f5f3ed;
  background: #141414;
  font-family: Arial, Helvetica, sans-serif;
}

.about-topbar {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  padding: 20px max(7vw, calc((100vw - 1170px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.about-brand {
  display: block;
  width: 112px;
}

.about-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.about-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}

.about-nav a {
  color: #d2d0c9;
  font-size: .9rem;
  text-decoration: none;
  transition: color .2s ease;
}

.about-nav a:hover,
.about-nav a:focus-visible {
  color: #d0b779;
}

.about-nav a:last-child span {
  padding-left: 7px;
  color: #d0b779;
  font-size: 1.15rem;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .82fr);
  align-items: center;
  gap: clamp(48px, 8vw, 116px);
  max-width: 1440px;
  min-height: 720px;
  margin: 0 auto;
  padding: clamp(82px, 10vw, 142px) clamp(32px, 7vw, 110px);
}

.about-intro__copy h1 {
  max-width: 760px;
  margin: 0 0 28px;
  color: #f6f4ee;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.4vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.about-intro__copy > p:last-child,
.about-approach__copy > p {
  max-width: 720px;
  margin: 0;
  color: #b9b8b3;
  font-size: clamp(.96rem, 1.15vw, 1.05rem);
  line-height: 1.8;
}

.about-intro__photo {
  display: block;
  width: 100%;
  height: clamp(400px, 45vw, 590px);
  object-fit: cover;
  object-position: center;
}

.team-section {
  padding: clamp(78px, 9vw, 128px) max(7vw, calc((100vw - 1170px) / 2));
  background: #22211e;
}

.team-section__heading {
  margin: 0 0 48px;
}

.team-section__heading h2,
.about-approach h2 {
  margin: 0;
  color: #f6f4ee;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 52px) 20px;
}

.team-card {
  min-width: 0;
}

.team-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 28%;
  background: #2a2926;
}

.team-card h3 {
  margin: 16px 0 0;
  color: #f1efe8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 400;
}

.about-approach {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 6vw, 90px);
  padding: clamp(76px, 9vw, 124px) max(7vw, calc((100vw - 1170px) / 2));
  background: #2b2924;
}

.about-approach h2 {
  font-size: clamp(2.7rem, 4vw, 3.6rem);
}

.about-approach__copy {
  display: grid;
  justify-items: start;
  gap: 28px;
}

.overview-copy > p:last-child {
  max-width: 650px;
  margin: 0;
}

.overview-photo {
  display: block;
  width: 100%;
  height: clamp(400px, 45vw, 620px);
  object-fit: cover;
  object-position: center;
}

.service-overview {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 9vw, 140px);
  background: #25231f;
}

.section-title-block h2 {
  max-width: 600px;
}

.service-overview__copy {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.service-overview__copy p {
  margin: 0;
}

.benefits-section {
  background: #17191c;
}

.benefits-section .section-title-block {
  max-width: 720px;
  margin-bottom: 52px;
}

.benefit-grid,
.service-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card,
.service-step {
  min-height: 250px;
  padding: 30px clamp(22px, 2.6vw, 38px);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .025);
}

.card-index {
  display: block;
  margin-bottom: 34px;
  color: #b7aa88;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.benefit-card h3,
.service-step h3,
.process-list h3 {
  margin: 0 0 12px;
  color: #f3f1eb;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 400;
  line-height: 1.2;
}

.benefit-card p,
.service-step p,
.process-list p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.65;
}

.escrow-services .section-title-block {
  max-width: 740px;
  margin-bottom: 50px;
}

.escrow-services {
  background: #2b2924;
}

.service-step {
  min-height: 280px;
  border-width: 1px 0 0;
  padding: 28px 25px 22px 0;
  background: transparent;
}

.process-section {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 9vw, 140px);
  background: #1b2021;
}

.process-intro h2 {
  font-size: clamp(3rem, 5.5vw, 5rem);
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.process-list li:first-child {
  padding-top: 0;
}

.process-number {
  padding-top: 2px;
  color: #b7aa88;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.process-list h3 {
  font-size: 1.35rem;
}

.fees-section {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(48px, 9vw, 140px);
  color: #171715;
  background: #ded8c8;
}

.fees-section .section-kicker {
  color: #635d4c;
}

.fees-section h2 {
  margin: 0;
  color: #171715;
}

.fees-section > p {
  max-width: 700px;
  margin: 0;
  color: #39372f;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  line-height: 1.6;
}

.why-section {
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 8vw, 120px);
  background: #151515;
}

.why-photo {
  display: block;
  width: 100%;
  height: clamp(440px, 50vw, 680px);
  object-fit: cover;
  object-position: center;
}

.why-copy h2 {
  font-size: clamp(2.7rem, 4.6vw, 4.2rem);
}

.why-copy > p:last-child {
  margin: 0;
  font-size: clamp(.94rem, 1.1vw, 1.02rem);
  line-height: 1.8;
}

.auth-page {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 112px 24px 48px;
  color: #f5f3ed;
  background: linear-gradient(110deg, rgba(12, 12, 12, .94), rgba(12, 12, 12, .72)), url("../images/desk-canva.png") center / cover fixed;
  font-family: Arial, Helvetica, sans-serif;
}

.auth-page > .site-nav {
  position: absolute;
  top: 0;
  left: 0;
}

.auth-page--register {
  display: block;
  padding: 172px 24px 64px;
  background-attachment: scroll;
}

.auth-brand,
.account-brand {
  position: absolute;
  top: 28px;
  left: max(7vw, calc((100vw - 1170px) / 2));
  display: block;
  width: 112px;
}

.auth-brand img,
.account-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.auth-back {
  position: absolute;
  top: 48px;
  right: max(7vw, calc((100vw - 1170px) / 2));
  color: #d3d0c8;
  font-size: .9rem;
  text-decoration: none;
}

.auth-back:hover,
.auth-switch a:hover {
  color: #fff;
}

.auth-card {
  width: min(100%, 480px);
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(20, 20, 20, .9);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px);
}

.auth-card--register {
  width: min(100%, 660px);
  margin: 0 auto;
}

.register-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
}

.auth-field--wide {
  grid-column: 1 / -1;
}

.required-mark {
  color: #d0b779;
}

.auth-eyebrow {
  margin: 0 0 14px;
  color: #b7aa88;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.auth-card h1,
.dashboard-welcome h1 {
  margin: 0 0 12px;
  color: #f7f5ef;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.03em;
}

.auth-intro {
  margin: 0 0 28px;
  color: #aaa9a5;
  font-size: .94rem;
  line-height: 1.55;
}

.auth-field {
  display: grid;
  gap: 8px;
  margin-bottom: 19px;
}

.auth-field label,
.auth-label-row label {
  color: #e6e3dc;
  font-size: .85rem;
  font-weight: 600;
}

.auth-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.auth-label-row a,
.auth-switch a {
  color: #d3c7a9;
  font-size: .82rem;
  text-decoration: none;
}

.auth-field input {
  width: 100%;
  min-height: 49px;
  padding: 11px 48px 11px 13px;
  border: 1px solid #474642;
  border-radius: 0;
  outline: none;
  color: #f5f3ed;
  background: #1b1b1a;
  font: inherit;
}

.password-input-wrap {
  position: relative;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 5px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 0;
  color: #aaa9a5;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: #f5f3ed;
}

.password-toggle:focus-visible {
  outline: 1px solid #b7aa88;
  outline-offset: -3px;
}

.password-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.password-toggle .eye-slash {
  display: none;
}

.password-toggle[aria-pressed="true"] .eye-slash {
  display: block;
}

.auth-field input:focus {
  border-color: #b7aa88;
  box-shadow: 0 0 0 2px rgba(183, 170, 136, .2);
}

.auth-field small {
  color: #92918d;
  font-size: .76rem;
  line-height: 1.4;
}

.auth-field span[data-valmsg-for],
.auth-validation {
  color: #ffb3a8;
  font-size: .8rem;
}

.auth-validation:empty {
  display: none;
}

.auth-check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 2px 0 22px;
  color: #b9b8b3;
  font-size: .85rem;
}

.auth-check input {
  accent-color: #b7aa88;
}

.auth-submit {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 16px;
  border: 0;
  color: #171715;
  background: #d8d1bf;
  font-size: .91rem;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease;
}

.auth-submit:hover,
.auth-submit:focus-visible {
  color: #111;
  background: #f0ece2;
}

.auth-submit span {
  font-size: 1.35rem;
}

.auth-submit-link {
  margin-top: 24px;
}

.auth-switch {
  margin: 23px 0 0;
  color: #a8a7a2;
  font-size: .85rem;
  text-align: center;
}

.auth-message .auth-intro {
  margin-bottom: 0;
}

.account-dashboard {
  min-height: 100svh;
  color: #171715;
  background: #ded8c8;
  font-family: Arial, Helvetica, sans-serif;
}

.account-topbar {
  position: relative;
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: flex-end;
  padding: 20px max(7vw, calc((100vw - 1170px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.account-brand {
  top: 24px;
  left: max(7vw, calc((100vw - 1170px) / 2));
}

.account-logout {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0 10px 16px;
  border: 0;
  color: #ddd8ca;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.dashboard-content {
  width: min(1320px, 88vw);
  margin: 0 auto;
  padding: clamp(72px, 10vh, 116px) 0 100px;
}

.dashboard-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}

.dashboard-heading h1 {
  max-width: 900px;
  margin: 0 0 14px;
  color: #171715;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.dashboard-heading > div > p:last-child {
  margin: 0;
  color: #625f57;
  font-size: .95rem;
}

.dashboard-heading strong {
  color: #171715;
  font-weight: 500;
}

.transactions-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(40, 37, 30, .14);
  border-top: 2px solid #a98a4c;
  background: rgba(250, 248, 242, .8);
  box-shadow: 0 24px 60px rgba(40, 35, 25, .1);
}

.transactions-table-wrap:focus-visible {
  outline: 2px solid #c9a45e;
  outline-offset: 3px;
}

.transactions-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  color: #27251f;
  font-size: .88rem;
  text-align: left;
}

.transactions-table thead {
  color: #5b4a2e;
  background: linear-gradient(180deg, rgba(169, 138, 76, .1), rgba(169, 138, 76, .035));
}

.transactions-table th {
  height: 72px;
  padding: 0 25px;
  border-bottom: 1px solid rgba(40, 37, 30, .16);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .105em;
  text-transform: uppercase;
  white-space: nowrap;
}

.transactions-table th:first-child,
.transactions-table td:first-child {
  padding-left: 30px;
}

.transactions-table th:last-child,
.transactions-table td:last-child {
  padding-right: 30px;
  text-align: right;
}

.transactions-table tbody tr {
  border-bottom: 1px solid rgba(40, 37, 30, .1);
  transition: background-color .2s ease;
}

.transactions-table tbody tr:nth-child(even) {
  background: rgba(169, 138, 76, .035);
}

.transactions-table tbody tr:hover {
  background: rgba(169, 138, 76, .08);
}

.transactions-table td {
  height: 68px;
  padding: 0 25px;
  color: #38362f;
}

.table-sort-caret {
  margin-left: 9px;
  color: #a98a4c;
}

.table-sort-caret {
  display: inline-block;
  margin: 0 0 2px 7px;
  border-top: 5px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.account-dashboard, .admin-page { min-height: 100vh; background: #f7f6f2; color: #171715; }
.dashboard-heading { align-items: center; }
.dashboard-flash { margin: 0 0 22px; padding: 14px 18px; border: 1px solid; }
.dashboard-flash--success { color: #215a3b; background: #edf6ef; border-color: #a8ccb1; }
.dashboard-flash--error { color: #7c2e24; background: #fff0ed; border-color: #e7b7ad; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 21px; border: 1px solid transparent; border-radius: 2px; font: inherit; font-size: .88rem; text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.button--gold { color: #171715; background: #c9a45e; border-color: #c9a45e; }
.button--gold:hover { background: #d8b873; border-color: #d8b873; }
.button--outline { color: #292821; background: transparent; border-color: rgba(41, 40, 33, .35); }
.button--outline:hover { color: #fff; background: #25241f; border-color: #25241f; }
.dashboard-panel { padding: clamp(22px, 3vw, 38px); border: 1px solid rgba(40, 37, 30, .14); border-top: 2px solid #a98a4c; background: #fff; box-shadow: 0 20px 55px rgba(40, 35, 25, .07); }
.ticket-panel { margin: 0 0 28px; }
.ticket-panel h2, .dashboard-section-heading h2, .admin-section h2 { margin: 0 0 8px; font: 400 clamp(1.7rem, 3vw, 2.3rem)/1.15 Georgia, "Times New Roman", serif; }
.ticket-panel > p, .dashboard-section-heading > p:last-child { color: #625f57; }
.dashboard-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.dashboard-form label { display: grid; gap: 8px; color: #25241f; font-size: .85rem; font-weight: 600; }
.dashboard-form label > span { display: inline; color: #a67631; }
.dashboard-form input, .dashboard-form select, .dashboard-form textarea, .admin-search input { width: 100%; min-height: 48px; padding: 12px 14px; color: #292821; background: #fbfaf7; border: 1px solid #d4d0c7; border-radius: 2px; font: inherit; font-weight: 400; }
.dashboard-form textarea { min-height: 112px; resize: vertical; }
.dashboard-form input:focus, .dashboard-form select:focus, .dashboard-form textarea:focus, .admin-search input:focus { outline: 2px solid rgba(201, 164, 94, .5); border-color: #a98a4c; }
.dashboard-form input[type="file"] { min-height: 50px; padding: 7px; color: #5f5b52; background: #fbfaf7; border: 1px solid #d4d0c7; font-size: .82rem; cursor: pointer; }
.dashboard-form input[type="file"]::file-selector-button { min-height: 34px; margin-right: 12px; padding: 7px 13px; color: #292821; background: #eee8da; border: 1px solid #c9a45e; border-radius: 2px; font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; transition: color .18s ease, background .18s ease; }
.dashboard-form input[type="file"]::file-selector-button:hover { color: #fff; background: #806b43; }
.identity-sides { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.identity-sides .form-hint { grid-column: 1 / -1; margin: -6px 0 0; }
.identity-sides[hidden], [data-passport-file][hidden], [data-passport-hint][hidden] { display: none; }
.dashboard-form__wide { grid-column: 1 / -1; }
.ticket-panel .dashboard-form > button { justify-self: start; min-width: 155px; }
.ticket-notice-row { background: #f3efe4 !important; }
.ticket-notice-row td { color: #715a31; font-weight: 600; letter-spacing: .01em; text-align: center !important; }
.transactions-empty td { height: 110px; color: #77736a; text-align: center; }
.documents-section { margin-top: 78px; }
.dashboard-section-heading { max-width: 690px; margin-bottom: 26px; }
.dashboard-section-heading h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
.dashboard-section-heading .auth-eyebrow { margin-bottom: 12px; }
.document-upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.dashboard-upload-form { align-content: start; }
.dashboard-upload-form h3, .uploaded-documents h3 { grid-column: 1 / -1; margin: 0 0 4px; font: 400 1.5rem Georgia, "Times New Roman", serif; }
.form-hint { grid-column: 1 / -1; margin: -8px 0 0; color: #77736a; font-size: .8rem; }
.dashboard-upload-form button { justify-self: start; }
.dashboard-upload-form > button[type="submit"] { grid-column: 1 / -1; width: 100%; justify-self: stretch; color: #171715; background: #c9a45e; border-color: #c9a45e; box-shadow: 0 5px 14px rgba(122, 94, 44, .12); font-weight: 600; letter-spacing: .025em; }
.dashboard-upload-form > button[type="submit"]::after { content: "→"; margin-left: 10px; font-size: 1.1em; transition: transform .2s ease; }
.dashboard-upload-form > button[type="submit"]:hover { color: #fff; background: #806b43; border-color: #806b43; box-shadow: 0 8px 18px rgba(58, 45, 24, .18); transform: translateY(-1px); }
.dashboard-upload-form > button[type="submit"]:hover::after { transform: translateX(3px); }
.dashboard-upload-form > button[type="submit"]:focus-visible { outline: 2px solid #806b43; outline-offset: 3px; }
.uploaded-documents { margin-top: 30px; }
.uploaded-documents ul { padding: 0; list-style: none; border-top: 1px solid #d9d5cc; }
.uploaded-documents li { display: flex; justify-content: space-between; gap: 20px; padding: 15px 4px; border-bottom: 1px solid #d9d5cc; overflow-wrap: anywhere; }
.uploaded-documents li span { color: #77736a; white-space: nowrap; }
.admin-content { width: min(1380px, 90vw); margin: 0 auto; padding: 115px 0 90px; }
.admin-content--narrow { max-width: 850px; }
.admin-content > h1 { margin: 0 0 30px; font: 400 clamp(2.8rem, 6vw, 4.5rem)/1.05 Georgia, "Times New Roman", serif; }
.admin-subtitle { margin-top: -18px; margin-bottom: 32px; color: #625f57; }
.admin-toolbar, .admin-section-heading, .admin-toggle-form { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.admin-toolbar { margin: 0 0 25px; }
.admin-search { display: flex; align-items: end; gap: 12px; width: min(650px, 100%); }
.admin-search label { display: grid; flex: 1; gap: 7px; font-size: .82rem; font-weight: 600; }
.admin-table-wrap { overflow-x: auto; border: 1px solid rgba(40, 37, 30, .14); background: white; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .86rem; }
.admin-table th, .admin-table td { padding: 15px 17px; border-bottom: 1px solid #e8e5dd; vertical-align: top; }
.admin-table th { color: #5b4a2e; background: #f0ede6; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.admin-table tbody tr:hover { background: #faf8f2; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; white-space: nowrap; }
.admin-actions a, .admin-link { color: #755e34; font: inherit; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }
.admin-actions form { display: inline; margin: 0; }
.admin-link { padding: 0; border: 0; background: transparent; cursor: pointer; }
.admin-link--danger { color: #983e32; }
.admin-section { margin-bottom: 25px; }
.admin-section-heading { align-items: center; margin-bottom: 14px; }
.admin-section-heading p, .admin-empty { color: #77736a; }
.admin-toggle-form { justify-content: flex-start; align-items: center; flex-wrap: wrap; }
.admin-toggle { display: flex; align-items: center; gap: 11px; }
.admin-toggle input { width: 19px; height: 19px; accent-color: #a98a4c; }
.admin-save-state { color: #6c675e; font-size: .82rem; }
.admin-ticket-message { min-width: 230px; max-width: 420px; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-edit-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-form-actions { display: flex; gap: 12px; }
.validation-summary { grid-column: 1 / -1; color: #983e32; }

@media (max-width: 760px) {
  .dashboard-heading { align-items: flex-start; flex-direction: column; }
  .dashboard-heading h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .dashboard-form, .document-upload-grid, .admin-edit-form { grid-template-columns: 1fr; }
  .identity-sides { grid-template-columns: 1fr; }
  .dashboard-form__wide { grid-column: auto; }
  .admin-toolbar, .admin-search { align-items: stretch; flex-direction: column; }
  .admin-search { width: 100%; }
  .admin-content { width: 90vw; padding-top: 95px; }
  .admin-toggle-form { align-items: flex-start; flex-direction: column; }
  .uploaded-documents li { flex-direction: column; gap: 4px; }

  .transactions-table-wrap { overflow: visible; }
  .transactions-table { display: block; width: 100%; min-width: 0; }
  .transactions-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .transactions-table tbody { display: grid; gap: 12px; padding: 12px; }
  .transactions-table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid rgba(40, 37, 30, .12); background: #fff; }
  .transactions-table tbody td { display: flex; min-width: 0; height: auto; min-height: 64px; flex-direction: column; justify-content: center; gap: 5px; padding: 11px 13px !important; border-bottom: 1px solid rgba(40, 37, 30, .08); text-align: left !important; overflow-wrap: anywhere; }
  .transactions-table tbody td::before { content: attr(data-label); color: #746344; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .transactions-table tbody .ticket-notice-row { display: block; grid-column: 1 / -1; background: #f3efe4 !important; }
  .transactions-table tbody .ticket-notice-row td { display: block; width: 100%; min-height: 70px; padding: 20px 16px !important; border: 0; color: #715a31; text-align: center !important; }
  .transactions-table tbody .ticket-notice-row td::before { content: none; }
  .transactions-table tbody .transactions-empty { display: block; grid-column: 1 / -1; }
  .transactions-table tbody .transactions-empty td { display: block; height: auto; text-align: center !important; }
}

@media (max-width: 420px) {
  .transactions-table tbody tr:not(.ticket-notice-row):not(.transactions-empty) { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body {
    margin-bottom: 0;
  }

  .hero {
    min-height: min(760px, 100svh);
    height: 100svh;
    padding: 0 8vw 13svh;
    background-position: 58% center;
  }

  .hero__brand {
    left: 8vw;
    width: 112px;
  }

  .hero__topnav {
    top: 38px;
    right: 8vw;
  }

  .site-nav {
    min-height: 88px;
    gap: 8px;
    padding: 14px 6vw;
  }

  .site-nav__brand {
    width: 70px;
  }

  .site-nav__links {
    gap: 8px;
  }

  .site-nav__link {
    min-height: 36px;
    font-size: .7rem;
  }

  .site-nav__cta {
    min-height: 36px;
    gap: 9px;
    padding: 0 9px;
    font-size: .7rem;
  }

  .hero__copy h1 {
    font-size: clamp(2.6rem, 11vw, 3.5rem);
  }

  .hero__copy {
    max-width: 100%;
  }

  .hero__copy p {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .content-section {
    padding: 76px 8vw;
  }

  .overview-section,
  .service-overview,
  .process-section,
  .fees-section,
  .why-section {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .overview-section {
    min-height: 0;
  }

  .overview-photo,
  .why-photo {
    height: auto;
    aspect-ratio: 1.2 / 1;
  }

  .overview-copy h2,
  .section-title-block h2,
  .process-intro h2,
  .fees-section h2,
  .why-copy h2 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .benefits-section .section-title-block,
  .escrow-services .section-title-block {
    margin-bottom: 34px;
  }

  .benefit-grid,
  .service-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .benefit-card,
  .service-step {
    min-height: 0;
    padding: 24px;
  }

  .card-index {
    margin-bottom: 20px;
  }

  .service-step {
    padding-left: 0;
    padding-right: 0;
  }

  .process-list li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
  }

  .auth-page {
    padding: 120px 18px 36px;
    background-attachment: scroll;
  }

  .auth-page--register {
    padding: 148px 18px 44px;
  }

  .auth-brand,
  .account-brand {
    left: 8vw;
    width: 94px;
  }

  .auth-back {
    top: 42px;
    right: 8vw;
  }

  .auth-card {
    padding: 30px 24px;
  }

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

  .auth-field--wide {
    grid-column: auto;
  }

  .account-topbar {
    padding-right: 8vw;
  }

  .account-dashboard {
    background-attachment: scroll;
  }

  .contact-page {
    padding: 10px 5vw 36px;
  }

  .contact-topbar {
    min-height: 96px;
  }

  .contact-brand {
    width: 88px;
  }

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

  .contact-information {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .contact-information,
  .contact-form-panel {
    padding: 28px 22px;
  }

  .contact-fields-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-topbar {
    min-height: 92px;
    padding: 14px 6vw;
  }

  .about-brand {
    width: 82px;
    flex: 0 0 auto;
  }

  .about-nav {
    gap: 12px;
  }

  .about-nav a {
    font-size: .73rem;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: 0;
    padding: 72px 8vw;
  }

  .about-intro__copy h1 {
    font-size: clamp(2.8rem, 11vw, 4rem);
  }

  .about-intro__photo {
    height: auto;
    aspect-ratio: 1.25 / 1;
  }

  .team-section {
    padding: 72px 8vw;
  }

  .team-section__heading {
    margin-bottom: 34px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 14px;
  }

  .team-card h3 {
    margin-top: 11px;
    font-size: 1.05rem;
  }

  .about-approach {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 72px 8vw;
  }

}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
