.sell-page #main-nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.sell-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(540px, 49vw, 715px);
  color: #fff;
  background: var(--ink);
}

.sell-hero-photo,
.sell-hero-photo img,
.sell-hero-photo::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sell-hero-photo { z-index: -1; }
.sell-hero-photo img { object-fit: cover; object-position: 66% 54%; }
.sell-hero-photo::after {
  content: '';
  background: linear-gradient(90deg, #151b23fa 3%, #151b23e0 28%, #151b238f 53%, #151b231a 77%, transparent 100%),
    linear-gradient(0deg, #151b237a, transparent 28%);
}
.sell-hero-photo figcaption {
  position: absolute;
  right: var(--gutter);
  bottom: 18px;
  z-index: 1;
  background: #18212bdc;
  font-size: .76rem;
}
.sell-hero-photo figcaption a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 9px;
  text-decoration: none;
}

.sell-hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding-block: 20px clamp(69px, 10vw, 137px);
  pointer-events: none;
}
.sell-breadcrumbs, .sell-hero-copy { pointer-events: auto; }
.sell-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px 10px; width: fit-content; font-size: .82rem; }
.sell-breadcrumbs a { text-underline-offset: 3px; }
.sell-hero-copy { max-width: 770px; }
.sell-hero h1 {
  font-size: clamp(3.5rem, 6.6vw, 7.15rem);
  font-weight: 600;
  line-height: .94;
  letter-spacing: -.075em;
  text-wrap: initial;
}
.sell-hero h1 span { display: block; color: #e2eaf4; }
.sell-hero-copy > p { max-width: 44ch; margin-top: 22px; color: #f0f3f5; font-size: clamp(1rem, 1.45vw, 1.18rem); }
.sell-actions { display: flex; gap: 13px 24px; flex-wrap: wrap; align-items: center; margin-top: 25px; }
.sell-actions .text-link { align-self: center; }
.sell-hero :focus-visible { outline-color: #e2eaf4; }
.sell-hero a:not(.button):hover { color: #e2eaf4; }

.sell-section { padding-block: clamp(56px, 7.5vw, 104px); }
.sell-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(28px, 6.5vw, 102px); }
.sell-section h2 { max-width: 20ch; font-size: clamp(2.35rem, 4.35vw, 4.85rem); }
.sell-section-lead { max-width: 37ch; margin-top: 18px; color: var(--muted); }
.sell-rows { border-top: 1px solid var(--rule); }
.sell-row { padding-block: clamp(17px, 2.4vw, 30px); border-bottom: 1px solid var(--rule); }
.sell-row h3, .sell-steps h3 { font-size: clamp(1.28rem, 2.2vw, 1.82rem); letter-spacing: -.031em; line-height: 1.12; }
.sell-row p, .sell-steps p { max-width: 59ch; margin-top: 9px; color: var(--muted); }

.sell-presentation { background: var(--surface); }

.sell-pricing { background: var(--surface); }
.sell-price-card { display: grid; gap: 12px; padding: clamp(22px, 3.3vw, 48px); background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--accent); }
.sell-price-card p { max-width: 58ch; }
.sell-price-rate { font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.22; }
.sell-price-rate strong { display: block; margin-bottom: 7px; font-size: clamp(2.8rem, 6.1vw, 5.3rem); letter-spacing: -.065em; }
.sell-price-tax { font-size: .84em; color: var(--muted); }
.sell-price-minimum { font-weight: 700; }
.sell-price-note { color: var(--muted); }

.sell-process { background: var(--ink); color: var(--paper); }
.sell-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(26px, 5vw, 54px) 0 0;
  padding: 0;
  border-top: 1px solid #ffffff47;
  list-style: none;
}
.sell-steps li { min-width: 0; padding: 24px clamp(14px, 2.1vw, 32px) 8px; border-left: 1px solid #ffffff47; }
.sell-steps li:first-child { border-left: 0; padding-left: 0; }
.sell-steps p { color: #dbe2e9; }

.sell-section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 18px; margin-bottom: clamp(22px, 4vw, 44px); }
.sell-section-heading .text-link { align-self: end; }
.sell-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sell-projects .project-card { max-width: none; }
.sell-projects .project-card-photo { aspect-ratio: 1.82; }
.sell-projects .project-card-body { grid-template-rows: auto auto 1fr auto; }

.sell-faq { border-top: 1px solid var(--rule); }
.sell-contact { background: var(--accent-dark); color: var(--paper); }
.sell-contact-copy > p { max-width: 42ch; margin-top: 19px; color: #e1e9f1; }
.sell-contact address { display: grid; justify-items: start; gap: 7px; margin-top: 24px; font-style: normal; }
.sell-contact address a { overflow-wrap: anywhere; text-decoration-color: #b9c7d7; text-underline-offset: 4px; }
.sell-contact address a:hover { color: var(--accent-light); }
.sell-contact-copy :focus-visible { outline-color: var(--accent-light); }
.sell-form { gap: 14px; color: var(--ink); }
.sell-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.sell-form label { min-width: 0; }
.sell-optional { display: inline; color: var(--muted); font-size: .72rem; font-weight: 400; }
.sell-form label:has(.sell-optional) { display: block; }
.sell-form label:has(.sell-optional) :is(input, textarea) { display: block; margin-top: 6px; }
.sell-form input::placeholder, .sell-form textarea::placeholder { color: #596673; }
.sell-form textarea { min-height: 76px; }

@media (max-width: 950px) {
  .sell-hero-photo::after { background: linear-gradient(90deg, #151b23f2, #151b23bd 26%, #151b2370 61%, #151b230f), linear-gradient(0deg, #151b237a, transparent 28%); }
  .sell-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sell-steps li { padding-bottom: 20px; }
  .sell-steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .sell-steps li:nth-child(n+3) { border-top: 1px solid #ffffff47; }
}

@media (max-width: 790px) {
  .sell-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 580px) {
  .sell-hero { min-height: 520px; }
  .sell-hero-inner { gap: 39px; padding-bottom: 77px; }
  .sell-hero-photo img { object-position: 66% 50%; }
  .sell-hero-photo::after { background: linear-gradient(0deg, #151b23f2 4%, #151b23c7 39%, #151b237a 72%, #151b236e); }
  .sell-hero h1 { font-size: clamp(2.57rem, 9.9vw, 4rem); }
  .sell-hero-copy > p { margin-top: 17px; }
  .sell-actions { gap: 10px 16px; margin-top: 20px; }
  .sell-projects { grid-template-columns: minmax(0, 1fr); }
  .sell-steps { grid-template-columns: minmax(0, 1fr); }
  .sell-steps li { border-left: 0; padding: 16px 0; }
  .sell-steps li:nth-child(n+2) { border-top: 1px solid #ffffff47; }
}

@media (max-width: 500px) {
  .sell-form-grid { grid-template-columns: minmax(0, 1fr); }
}
