:root {
  --ink: #0b1a2d;
  --ruby: #c81e3a;
  --hot: #ff5a3c;
  --cream: #faf6f1;
  --cream-2: #f0e8df;
  --card: #ffffff;
  --muted: #5c6570;
  --line: rgba(11, 26, 45, 0.08);
  --wine: #5c1a2e;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --cond: "Barlow Condensed", system-ui, sans-serif;
  --photo: url("assets/hero-1600.jpg");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--cream);
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

.rr-ticker {
  position: relative;
  z-index: 5;
  background: var(--wine);
  color: var(--cream);
  overflow: hidden;
  border-bottom: 3px solid var(--ruby);
}

.rr-ticker-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  padding: 0.45rem 0;
  font-family: var(--cond);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: rr-marquee 28s linear infinite;
}

.rr-ticker-track span::before {
  content: "● ";
  color: var(--hot);
}

@keyframes rr-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .rr-ticker-track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    padding: 0.55rem 1rem;
  }
}

body.desk {
  color: var(--ink);
  background: var(--cream);
}

.desk-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 18px 64px;
}

.desk-wrap h1 {
  font-family: var(--cond);
  font-size: 2.4rem;
  letter-spacing: 0.02em;
  margin: 0 0 6px;
}

.desk-wrap h2 {
  font-family: var(--cond);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 28px 0 8px;
}

.desk-note {
  color: var(--muted);
  margin: 0 0 8px;
}

.desk-wrap form,
.desk-card,
.desk-wrap textarea,
.desk-wrap input {
  font: inherit;
}

.desk-wrap input,
.desk-wrap textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}

.desk-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.desk-wrap button {
  font-family: var(--cond);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--ruby);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}

.need-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.need-list li {
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 8px 0;
}

.answer {
  background: #fff;
  border-left: 4px solid var(--ruby);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 3rem;
}

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

/* ——— HERO ——— */
.hero {
  position: relative;
  min-height: min(88svh, 860px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
}

.building {
  position: absolute;
  inset: 0;
  background-image: var(--photo);
  background-size: cover;
  background-position: center 42%;
  filter: saturate(1.05) contrast(1.02);
}

.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 26, 45, 0.3) 0%, transparent 28%, transparent 40%, rgba(11, 26, 45, 0.78) 100%),
    linear-gradient(90deg, rgba(11, 26, 45, 0.28) 0%, transparent 50%);
}

.hero-stage,
.hero-copy,
.scroll-hook {
  position: relative;
  z-index: 2;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
  gap: 1.25rem 1.5rem;
  align-items: end;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 1.4rem 1.35rem 4.9rem;
}

.hero-copy {
  margin: 0;
  padding: 0;
  min-width: 0;
}

.hero-side {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.walk-graphic,
.mail-update {
  margin: 0;
  color: var(--ink);
  background: rgba(250, 246, 241, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 1.35rem;
  box-shadow: 0 18px 40px rgba(11, 26, 45, 0.28);
  backdrop-filter: blur(10px);
}

.walk-graphic {
  padding: 0.9rem 0.95rem 0.8rem;
}

.walk-graphic figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.walk-graphic figcaption strong {
  font-family: var(--cond);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  text-align: right;
}

.walk-graphic .eyebrow {
  color: var(--ruby);
}

.walk-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.walk-scores div {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  border-radius: 0.8rem;
  background: #fff;
  border: 1px solid var(--line);
}

.walk-scores b {
  font-family: var(--cond);
  font-size: 2rem;
  font-weight: 800;
  line-height: 0.9;
  color: var(--ruby);
}

.walk-scores span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.walk-routes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.walk-routes li {
  display: grid;
  grid-template-columns: 2.3rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.55rem;
  align-items: center;
  padding: 0.4rem 0.15rem;
  border-top: 1px solid var(--line);
}

.walk-routes .mins {
  grid-row: 1 / span 2;
  font-family: var(--cond);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 0.85;
  color: var(--ink);
}

.walk-routes .mins-l {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ruby);
}

.walk-routes em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.25;
  color: var(--ink);
}

.mail-update {
  padding: 0.85rem 0.95rem 0.9rem;
  background: var(--wine);
  color: var(--cream);
}

.mail-update .eyebrow {
  color: #ffb4a0;
}

.mail-update h2 {
  margin: 0 0 0.35rem;
  font-family: var(--cond);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
}

.mail-update p {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: rgba(250, 246, 241, 0.92);
}

.mail-update a {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: #fff;
  border-bottom: 2px solid var(--hot);
}

.kicker {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hot);
}

.hero-copy h1 {
  margin: 0 0 0.85rem;
  font-family: var(--cond);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-copy h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.sub {
  margin: 0 0 1.25rem;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.93);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact {
  display: grid;
  gap: 0.1rem;
  min-width: min(100%, 220px);
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  background: rgba(11, 26, 45, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.contact:hover {
  transform: translateY(-1px);
  border-color: var(--hot);
}

.contact .label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
}

.contact .value {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.contact.email .value {
  color: #ffb4a0;
  font-size: 1.05rem;
}

.scroll-hook {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: bob 2.2s ease-in-out infinite;
}

.scroll-hook:hover {
  background: #fff;
}

.chev {
  font-size: 1rem;
  color: var(--ruby);
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}

/* ——— PAGE 2: scores → map → amenities ——— */
.loc {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  color: var(--ink);
  padding: 2.75rem 1.35rem 2.75rem;
}

.loc-shell {
  max-width: 1120px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ruby);
}

/* Walkability NAP */
.scores-block {
  text-align: center;
  margin-bottom: 1.75rem;
}

.scores-block h2 {
  margin: 0 0 1.25rem;
  font-family: var(--cond);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.scores {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.score {
  min-width: 9.5rem;
  padding: 1.1rem 1.25rem;
  border-radius: 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(11, 26, 45, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.score-n {
  font-family: var(--cond);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--ruby);
}

.score-l {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.score-t {
  font-size: 0.78rem;
  color: var(--muted);
}

.score-note {
  margin: 0 auto;
  max-width: 48rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.place-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.place-card {
  margin: 0;
  padding: 1rem 1.05rem 0.95rem;
  border-radius: 1.15rem;
  background: var(--card);
  border: 2px solid rgba(200, 30, 58, 0.12);
  box-shadow: 0 10px 28px rgba(11, 26, 45, 0.06);
}

.place-card-wide {
  grid-column: 1 / -1;
}

.place-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
  margin-bottom: 0.45rem;
}

.place-ico {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.55rem;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.place-ico svg {
  width: 1rem;
  height: 1rem;
  fill: #fff;
}

.place-top h3 {
  margin: 0;
  font-family: var(--cond);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}

.mode {
  margin-left: auto;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.place-top .mode + .mode {
  margin-left: 0;
}

.mode-walk {
  background: #e8f6ea;
  color: #146c2e;
}

.mode-drive {
  background: #fff1ea;
  color: #9a3412;
}

.mode-bart {
  background: #e7eef8;
  color: #1d4e89;
}

.place-card p {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink);
}

.place-card strong {
  font-weight: 700;
}

/* Map is a still. The card is the link, so the page scroll is never captured. */
.map-card {
  display: block;
  background: var(--card);
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(11, 26, 45, 0.1);
  overflow: hidden;
  margin-bottom: 1.75rem;
  color: inherit;
  text-decoration: none;
}

.map-card:focus-visible {
  outline: 3px solid var(--ruby);
  outline-offset: 3px;
}

.map-still {
  display: block;
  width: 100%;
  height: auto;
  background: #dfe6ef;
}

.map-open {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.7rem;
  opacity: 0.9;
}

.map-card:hover .map-open {
  color: var(--hot);
}

.map-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.15rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
}

.pin-live {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #7dffa8;
}

.map-card-foot a {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.7rem;
  opacity: 0.9;
}

.map-card-foot a:hover {
  color: var(--hot);
}

/* Amenities stand out */
.amenities-block {
  margin-bottom: 1.25rem;
}

.amenities-block h2 {
  margin: 0 0 1rem;
  font-family: var(--cond);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.perk-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.perk-strip li {
  padding: 1rem 1.05rem;
  border-radius: 1.15rem;
  background: var(--card);
  border: 2px solid rgba(200, 30, 58, 0.12);
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.35;
  box-shadow: 0 10px 28px rgba(11, 26, 45, 0.06);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.perk-strip li:hover {
  border-color: rgba(200, 30, 58, 0.45);
  transform: translateY(-2px);
}

.perk-strip strong {
  display: block;
  font-family: var(--cond);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  color: var(--ruby);
}

.tenant-soon {
  margin-top: 0.25rem;
  padding: 1rem 1.1rem;
  border-radius: 1.15rem;
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
  align-items: center;
}

.tenant-soon-badge {
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: var(--hot);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tenant-soon-body h3 {
  margin: 0 0 0.2rem;
  font-family: var(--cond);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tenant-soon-body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  opacity: 0.85;
}

.tenant-soon-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
}

.tenant-soon-note a {
  color: var(--hot);
  border-bottom: 1px solid rgba(255, 90, 60, 0.5);
}

.tenant-soon-note a:hover {
  border-bottom-color: var(--hot);
}

.map-foot {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  align-items: center;
  color: var(--ink);
}

.map-foot a {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ruby);
  border-bottom: 2px solid rgba(200, 30, 58, 0.3);
}

.map-foot a:hover {
  border-bottom-color: var(--ruby);
}

.map-foot span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-stage {
    grid-template-columns: 1fr;
    padding-top: 1.6rem;
  }

  .walk-graphic figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .walk-graphic figcaption strong {
    text-align: left;
  }

  .perk-strip {
    grid-template-columns: 1fr 1fr;
  }

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

  .place-card-wide {
    grid-column: auto;
  }

  .score {
    min-width: 7.5rem;
  }

  .score-n {
    font-size: 2.8rem;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 78svh;
  }

  .perk-strip {
    grid-template-columns: 1fr;
  }

  .tenant-soon {
    grid-template-columns: 1fr;
  }

  .contact .value {
    font-size: 1.1rem;
  }

  .scroll-hook {
    font-size: 0.62rem;
    max-width: calc(100% - 2rem);
    white-space: normal;
    text-align: center;
  }

  .score-note {
    font-size: 0.82rem;
    text-align: left;
  }

  .place-top h3 {
    font-size: 1.15rem;
  }
}

/* ——— LOGIN / resident sign in ——— */
.auth-body {
  color: var(--ink);
}

.auth {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 100svh;
}

/* Photo side */
.auth-aside {
  position: relative;
  overflow: hidden;
  color: #fff;
  display: flex;
}

.auth-aside .vignette {
  background:
    linear-gradient(180deg, rgba(11, 26, 45, 0.45) 0%, rgba(11, 26, 45, 0.25) 40%, rgba(11, 26, 45, 0.85) 100%),
    linear-gradient(90deg, rgba(11, 26, 45, 0.35) 0%, transparent 60%);
}

.auth-aside-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.6rem 2rem 2.25rem;
  width: 100%;
}

.auth-aside-title {
  margin: 0 0 1rem;
  font-family: var(--cond);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.auth-aside-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.auth-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  max-width: 22rem;
}

.auth-perks li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.95rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.auth-perks li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-size: 0.6rem;
  color: var(--hot);
}

/* Form side */
.auth-panel {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2.5rem 1.35rem;
}

.auth-card {
  width: 100%;
  max-width: 27rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 22px 60px rgba(11, 26, 45, 0.1);
  padding: 1.6rem 1.6rem 1.5rem;
}

.auth-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 1.1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.auth-back:hover {
  color: var(--ruby);
}

.auth-card h1 {
  margin: 0 0 0.4rem;
  font-family: var(--cond);
  font-weight: 800;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.auth-lede {
  margin: 0 0 1.1rem;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--muted);
}

.auth-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.8rem 0.9rem;
  margin-bottom: 1.25rem;
  border-radius: 1rem;
  background: var(--ink);
  color: #fff;
}

.auth-notice p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.88;
}

.auth-notice-badge {
  flex: none;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: var(--hot);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.field label,
.field-label-row label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.field-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ruby);
  border-bottom: 1px solid rgba(200, 30, 58, 0.3);
}

.field-link:hover {
  border-bottom-color: var(--ruby);
}

.field-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.8rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.field-input-wrap input {
  padding-right: 4.25rem !important;
}

.auth-form input::placeholder {
  color: rgba(92, 101, 112, 0.65);
}

.auth-form input:hover {
  border-color: rgba(11, 26, 45, 0.2);
}

.auth-form input:focus-visible,
.reveal:focus-visible,
.btn-primary:focus-visible,
.check input:focus-visible,
.auth-back:focus-visible,
.field-link:focus-visible {
  outline: 2px solid var(--ruby);
  outline-offset: 2px;
}

.auth-form input:focus {
  background: #fff;
  border-color: var(--ruby);
  box-shadow: 0 0 0 3px rgba(200, 30, 58, 0.12);
}

.field-help {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--muted);
}

.reveal {
  position: absolute;
  right: 0.4rem;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.4rem;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.reveal:hover {
  color: var(--ruby);
  background: rgba(200, 30, 58, 0.08);
}

.check {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--ruby);
  cursor: pointer;
}

.btn-primary {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 0;
  border-radius: 0.9rem;
  background: var(--ruby);
  color: #fff;
  font-family: var(--cond);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(200, 30, 58, 0.28);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  background: #b31933;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  background: var(--wine);
  box-shadow: 0 6px 16px rgba(92, 26, 46, 0.3);
}

.auth-status {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

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

.auth-status.is-error {
  padding: 0.7rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(200, 30, 58, 0.08);
  border: 1px solid rgba(200, 30, 58, 0.25);
  color: var(--wine);
}

.auth-fallback {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.auth-fallback-title {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.auth-fallback-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.auth-fallback .contact {
  min-width: 0;
  padding: 0.6rem 0.75rem;
  border-radius: 0.85rem;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: none;
}

.auth-fallback .contact:hover {
  border-color: var(--ruby);
}

.auth-fallback .contact .label {
  opacity: 0.7;
  color: var(--muted);
}

.auth-fallback .contact .value {
  font-size: 1.1rem;
  overflow-wrap: anywhere;
}

.auth-fallback .contact.email .value {
  color: var(--ruby);
  font-size: 0.98rem;
}

.auth-fallback-note {
  margin: 0.7rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.auth-foot {
  max-width: 27rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .auth {
    grid-template-columns: 1fr;
  }

  .auth-aside {
    min-height: 38svh;
  }

  .auth-aside-inner {
    padding: 1.1rem 1.35rem 1.6rem;
  }

  .auth-panel {
    padding: 1.75rem 1.35rem 2.25rem;
  }
}

@media (max-width: 560px) {
  .auth-aside {
    min-height: 30svh;
  }

  .auth-perks {
    display: none;
  }

  .auth-card {
    padding: 1.25rem 1.15rem 1.25rem;
  }

  .auth-fallback-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .scroll-hook {
    animation: none;
  }
  .contact,
  .perk-strip li,
  .auth-form input,
  .btn-primary {
    transition: none;
  }
  .btn-primary:hover {
    transform: none;
  }
}

/* ——— 404 ——— */
.auth-404 {
  grid-template-columns: 1fr;
}

.auth-404 .auth-card {
  text-align: center;
}

.auth-404 .brand {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.brand-ink strong,
.brand-ink span {
  color: var(--ink);
  text-shadow: none;
}

.brand-ink span {
  color: var(--muted);
}

.auth-404 .auth-fallback-row {
  text-align: left;
}

.btn-link {
  display: block;
  text-align: center;
  margin-top: 0.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.desk-launch {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 20;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  background: var(--ruby);
  color: #fff;
  font-family: var(--cond);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(200, 30, 58, 0.4);
  cursor: pointer;
}

.desk {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 21;
  width: min(24rem, calc(100vw - 1.5rem));
  max-height: min(36rem, calc(100svh - 1.5rem));
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  border-radius: 1.4rem;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(11, 26, 45, 0.35);
  overflow: hidden;
}

.desk[hidden] {
  display: none;
}

.desk-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 0.95rem 0.7rem;
  background: var(--ink);
  color: #fff;
}

.desk-head .eyebrow {
  color: #ffb4a0;
}

.desk-head h2 {
  margin: 0;
  font-family: var(--cond);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 0.95;
}

.desk-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 2.4rem;
}

.desk-log {
  flex: 1;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 0.8rem 0.85rem;
}

.desk-msg {
  max-width: 92%;
  padding: 0.6rem 0.75rem;
  border-radius: 0.9rem;
  font-size: 0.92rem;
  line-height: 1.4;
}

.desk-msg p {
  margin: 0;
}

.desk-msg a {
  color: var(--ruby);
  border-bottom: 1px solid rgba(200, 30, 58, 0.4);
}

.desk-msg.desk-in {
  background: #fff;
  border: 1px solid var(--line);
}

.desk-msg.desk-out {
  justify-self: end;
  background: var(--wine);
  color: var(--cream);
}

.desk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 0.85rem 0.55rem;
}

.desk-chips button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.desk-chips button:hover {
  border-color: var(--ruby);
}

.desk-form {
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.desk-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 0.85rem;
  font: inherit;
  color: var(--ink);
}

.desk-form button {
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  background: var(--ruby);
  color: #fff;
  font-family: var(--cond);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
