/* EscortCrush mail-domain mini-sites.
   One stylesheet for the whole site: the Content-Security-Policy in
   deploy/nginx/site.conf.tmpl allows no inline styles and no scripts. */

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/nunito-latin-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/nunito-latin-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-variable.woff2') format('woff2');
}

:root {
  --ink: #fff;
  --ink-muted: rgba(255, 255, 255, 0.78);
  --ink-faint: rgba(255, 255, 255, 0.58);
  --deep: #2a1654;
  --link: #ffb8a3;
  --accent: linear-gradient(90deg, #ff9654 0%, #ff6b47 100%);
  --focus: #ff9654;
  --surface: rgba(255, 255, 255, 0.08);
  --hairline: rgba(255, 255, 255, 0.12);
  --shell: 1080px;
  --prose: 760px;
  --gutter: 24px;
  --section: clamp(64px, 8vw, 96px);
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: Nunito, Inter, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  /* The placeholder was exactly one screen tall and could pin the gradient to
     the viewport. These pages are longer, so the gradient spans the document
     instead; a fixed attachment leaves everything past the first screen
     unpainted in full-page renderings. */
  background-color: #2a1654;
  background-image: linear-gradient(135deg, #3a1f75 0%, #2a1654 100%);
  -webkit-font-smoothing: antialiased;
}

/* The same two glows as the providers block on escortcrush.com/about. The
   wrapper clips them to the document box: both bleed past a corner and would
   otherwise widen the page. */
.glows {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
}
.glow--warm {
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: rgba(255, 107, 71, 0.32);
}
.glow--cool {
  bottom: -80px;
  left: 25%;
  width: 360px;
  height: 360px;
  background: rgba(139, 92, 255, 0.22);
}

/* ---------- shared blocks ---------- */

.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.shell--prose {
  max-width: var(--prose);
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 20;
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--deep);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 16px;
}

a {
  color: var(--link);
  text-underline-offset: 3px;
}
a:hover {
  color: #fff;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- header ---------- */

.site-header {
  position: relative;
  z-index: 2;
  padding: 26px 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand:focus-visible {
  outline-offset: 6px;
}

.wordmark {
  display: block;
  width: 176px;
  height: auto;
}

.tag {
  flex: 0 0 auto;
  margin-right: auto;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.1);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  color: var(--ink-muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover {
  color: #fff;
}
.site-nav a[aria-current='page'] {
  color: #fff;
  font-weight: 600;
  border-bottom-color: #ff8a58;
}

/* ---------- headings and prose ---------- */

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.05;
}

h2 {
  margin: 0 0 20px;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

h3 {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
}

.accent {
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p {
  margin: 0 0 18px;
  color: var(--ink-muted);
  text-wrap: pretty;
}
p:last-child {
  margin-bottom: 0;
}

strong {
  color: #fff;
  font-weight: 600;
}

.lead {
  max-width: 62ch;
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.6;
}

main {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  padding: clamp(48px, 6vw, 76px) 0 clamp(64px, 8vw, 104px);
}

.section {
  margin-top: var(--section);
}
/* The privacy policy is a stack of very short sections; the full rhythm
   would scatter it down the page. */
.section--tight {
  margin-top: clamp(40px, 4.5vw, 56px);
}
.section > p {
  max-width: 68ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px -4px rgba(0, 0, 0, 0.2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
}
.eyebrow::before {
  content: '';
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #fe706f;
}

.meta {
  margin: 14px 0 0;
  color: var(--ink-faint);
  font-size: 15px;
}

/* ---------- buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--deep);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 34px -14px rgba(255, 107, 71, 0.75);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  color: var(--deep);
  box-shadow: 0 18px 40px -14px rgba(255, 107, 71, 0.9);
}
.btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.btn-quiet {
  display: inline-flex;
  align-items: center;
  padding: 15px 4px;
  color: var(--link);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- cards ---------- */

.card {
  padding: 26px;
  border-radius: 20px;
  border: 1px solid var(--hairline);
  background: var(--surface);
}
.card p:last-child {
  margin-bottom: 0;
}

.cards {
  display: grid;
  gap: 20px;
}
.cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cards--lead {
  margin-top: 32px;
}

.card-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  text-decoration: underline;
}

.card-mail {
  display: inline-block;
  margin-top: 4px;
  /* Small enough that LegalEscortCrush@protonmail.com survives a third of the
     contact grid without breaking mid-word. */
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.card address {
  margin-top: 4px;
  color: var(--ink-muted);
  font-style: normal;
}
.card-mail + address {
  margin-top: 16px;
}

.note {
  margin: 0 0 14px;
  color: var(--ink-faint);
  font-size: 14px;
}

.quote {
  font-size: 18px;
  line-height: 1.6;
  color: #fff;
}

/* ---------- lists ---------- */

.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-muted);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff9654 0%, #ff6b47 100%);
}

/* ---------- brand asset block ---------- */

.asset-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 26px;
}
.asset-card img {
  width: min(320px, 100%);
  height: auto;
}

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding: 44px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 10, 42, 0.35);
  font-size: 15px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.4fr;
  gap: 32px 40px;
}

.footer-cols h2 {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.footer-name {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
  color: #fff;
}
.footer-brand p {
  margin: 0;
  max-width: 34ch;
  font-size: 15px;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}
.footer-list a {
  text-decoration: none;
}
.footer-list a:hover {
  text-decoration: underline;
}

.footer-cols address {
  margin: 0 0 12px;
  color: var(--ink-muted);
  font-style: normal;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ink-faint);
  font-size: 14px;
}

/* ---------- responsive ---------- */

/* Three across only while a column is still wide enough for the long email
   address; then two, then one. */
@media (max-width: 1079px) {
  .cards--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

@media (max-width: 680px) {
  :root {
    --gutter: 20px;
  }
  .cards--2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .wordmark {
    width: 150px;
  }
  .header-inner {
    gap: 10px 14px;
  }
  .site-nav {
    flex: 1 0 100%;
  }
  .site-nav ul {
    gap: 4px 18px;
  }
  .site-nav a {
    font-size: 14px;
  }
  .card {
    padding: 22px;
  }
  .btn,
  .btn-quiet {
    width: 100%;
  }
  .actions {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .skip-link {
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}
