/* PhoneBuckFuck — first edition */
:root {
  color-scheme: dark;
  --ink: #080508;
  --ink-2: #100a12;
  --surface: #17101a;
  --surface-raised: #201424;
  --surface-soft: #2b1930;
  --plum: #63177a;
  --magenta: #a5208a;
  --pink: #ff4f93;
  --pink-hover: #ff76a9;
  --cream: #fff8f3;
  --muted: #cbbdca;
  --faint: #9d8c9c;
  --line: rgba(255, 248, 243, 0.14);
  --line-strong: rgba(255, 248, 243, 0.25);
  --green: #80e5b1;
  --amber: #ffd38a;
  --red: #ff8e9c;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  --radius: 18px;
  --radius-lg: 26px;
  --max-width: 1220px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--cream);
  font: 400 16px/1.65 Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection,
body *::selection { background: var(--pink); color: var(--ink); }

img, video, svg { max-width: 100%; }
img { display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pink-hover); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }

h1, h2, h3, h4, p, figure { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.12; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -0.045em; }
p { margin-bottom: 1.25em; }
small { font-size: 0.8rem; }

.container,
.wrap,
.content-shell,
.site-header-inner,
.site-footer-inner {
  width: min(var(--max-width), calc(100% - 56px));
  margin-inline: auto;
}

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

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  background: rgba(8, 5, 8, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.site-header-inner,
.site-header > .container,
.site-header > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  color: var(--cream);
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.brand:hover { color: var(--cream); }
.brand em, .brand span, .brand b { color: var(--pink); font-style: normal; }
.brand-mark { color: var(--pink); margin-right: 0.36em; font-family: Georgia, serif; font-size: 1.3em; }

.nav,
.site-header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(14px, 2vw, 31px);
}

.nav a,
.site-header nav a {
  color: #eee2ec;
  font-size: 0.81rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav a:hover,
.site-header nav a:hover,
.nav a[aria-current="page"],
.site-header nav a[aria-current="page"] { color: var(--pink); }

.nav a.button,
.site-header nav a.button {
  color: var(--ink);
  padding: 11px 17px;
}

.nav a.button:hover,
.site-header nav a.button:hover { color: var(--ink); }

/* Buttons and small UI */
.button,
button.button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid var(--pink);
  border-radius: 999px;
  background: var(--pink);
  color: #180711;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.065em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 9px 29px rgba(255, 79, 147, 0.15);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
button.button:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
  background: var(--pink-hover);
  border-color: var(--pink-hover);
  color: #180711;
  box-shadow: 0 13px 35px rgba(255, 79, 147, 0.25);
}

.button--outline,
.button.button--outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 248, 243, 0.58);
  box-shadow: none;
}

.button--outline:hover,
.button.button--outline:hover {
  background: rgba(255, 248, 243, 0.09);
  border-color: var(--cream);
  color: var(--cream);
  box-shadow: none;
}

.button--small { min-height: 38px; padding: 9px 16px; font-size: 0.72rem; }
.button[disabled], button[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

.eyebrow,
.kicker,
.hero-kicker,
.section-kicker {
  display: block;
  color: var(--pink);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow::before,
.hero-kicker::before,
.section-kicker::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 1px;
  margin: 0 11px 4px 0;
  background: currentColor;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.text-link:hover { color: var(--pink-hover); }

/* Hero uses the photo's generous left-side negative space. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(620px, 66vw, 760px);
  overflow: hidden;
  background-color: #140811;
  background-image:
    linear-gradient(90deg, rgba(8, 5, 8, 0.42) 0%, rgba(8, 5, 8, 0.13) 51%, rgba(8, 5, 8, 0.03) 100%),
    linear-gradient(0deg, rgba(8, 5, 8, 0.65) 0%, transparent 28%, transparent 73%, rgba(8, 5, 8, 0.13) 100%),
    url("/assets/hero-phone.png");
  background-size: cover;
  background-position: center center;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 4, 9, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.hero > .container,
.hero > .wrap,
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max-width), calc(100% - 56px));
  margin-inline: auto;
}

.hero-copy { max-width: 610px; padding: 112px 0 114px; }
.hero-kicker { margin-bottom: 22px; }

.hero-title,
.hero h1 {
  max-width: 640px;
  margin-bottom: 25px;
  color: var(--cream);
  font-size: clamp(4.25rem, 7.8vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
  text-wrap: balance;
  text-shadow: 0 3px 34px rgba(0, 0, 0, 0.35);
}

.hero-title em,
.hero h1 em { color: #ff93b7; font-style: italic; font-weight: 400; }

.hero-text,
.hero-copy > p:not(.hero-kicker) {
  max-width: 480px;
  margin-bottom: 28px;
  color: #f3e5ed;
  font-size: clamp(1.05rem, 1.65vw, 1.22rem);
  line-height: 1.62;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.hero-note { display: block; margin-top: 23px; color: #ddc5d5; font-size: 0.76rem; letter-spacing: 0.045em; }
.hero-note strong { color: var(--cream); }

/* Site sections */
.section { position: relative; padding: 94px 0; }
.section--tight { padding-block: 64px; }
.section--alt { background: var(--ink-2); }
.section--plum { background: radial-gradient(ellipse at 80% 5%, #3c1742 0, transparent 52%), #180d1b; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head > div:first-child { max-width: 760px; }
.section-head .eyebrow,
.section-head .section-kicker { margin-bottom: 14px; }

.section-head h2,
.section-title {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.section-head p,
.section-intro { max-width: 610px; margin: 12px 0 0; color: var(--muted); }
.section-head > a:last-child { flex: none; margin-bottom: 6px; }

.divider { height: 1px; background: var(--line); }

/* Operator cards */
.operator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.operator-card,
.story-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.operator-card:hover,
.story-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 79, 147, 0.49);
  box-shadow: var(--shadow);
}

.operator-card:focus-within,
.story-card:focus-within { border-color: var(--pink); }

.card-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #42204e, #120c15 72%);
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(transparent, rgba(8, 5, 8, 0.55));
  pointer-events: none;
}

.card-media img {
  display: block;
  width: 100%;
  height: auto;
}
.card-media .status { position: absolute; z-index: 2; left: 18px; bottom: 18px; }

.card-body { padding: 22px 22px 24px; }
.card-body h3 { margin-bottom: 8px; font-family: Georgia, serif; font-size: 1.75rem; font-weight: 400; letter-spacing: -0.035em; }
.card-body p { margin-bottom: 19px; color: var(--muted); font-size: 0.91rem; line-height: 1.6; }
.card-body .eyebrow { margin-bottom: 9px; font-size: 0.68rem; }
.card-body .button { width: 100%; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 17px; color: var(--faint); font-size: 0.76rem; }
.card-meta strong { color: var(--cream); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(255, 248, 243, 0.23);
  border-radius: 999px;
  background: rgba(8, 5, 8, 0.86);
  color: var(--cream);
  font-size: 0.67rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.status::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: currentColor; }
.status--available { color: var(--green); border-color: rgba(128, 229, 177, 0.35); }
.status--busy { color: var(--amber); border-color: rgba(255, 211, 138, 0.35); }
.status--offline { color: #c9bac6; border-color: rgba(201, 186, 198, 0.3); }

/* Magazine-style article cards */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.story-card { display: flex; flex-direction: column; }
.story-card .story-media { width: 100%; aspect-ratio: 16 / 10; background: #321b32; }
.story-card .card-body,
.story-card .story-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.story-card h3 { margin: 0 0 12px; font-family: Georgia, serif; font-size: clamp(1.55rem, 2.3vw, 2.1rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.04em; }
.story-card p { margin-bottom: 18px; color: var(--muted); font-size: 0.9rem; }
.story-card .text-link { margin-top: auto; }
.story-meta { margin-bottom: 12px; color: var(--pink); font-size: 0.71rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }

/* Flexible feature, trust, and CTA modules */
.feature-grid,
.steps-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card,
.step-card,
.benefit-card {
  padding: clamp(24px, 3vw, 35px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #201326, #140d17);
}

.feature-card .number,
.step-card .number,
.benefit-card .number { display: block; margin-bottom: 26px; color: var(--pink); font-family: Georgia, serif; font-size: 2.2rem; line-height: 1; }
.feature-card h3,
.step-card h3,
.benefit-card h3 { margin-bottom: 11px; font-size: 1.1rem; font-weight: 800; }
.feature-card p,
.step-card p,
.benefit-card p { margin-bottom: 0; color: var(--muted); font-size: 0.91rem; }

.quote-block,
.testimonial {
  padding: clamp(30px, 5vw, 64px);
  border-left: 3px solid var(--pink);
  background: #1b1020;
}
.quote-block blockquote,
.testimonial blockquote { margin: 0; font-family: Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.3; letter-spacing: -0.03em; }
.quote-block cite,
.testimonial cite { display: block; margin-top: 21px; color: var(--pink); font-size: 0.75rem; font-style: normal; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 7vw, 84px);
  border: 1px solid rgba(255, 79, 147, 0.28);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 83% 8%, rgba(255, 79, 147, 0.26), transparent 37%), linear-gradient(125deg, #38103c, #170d1b 73%);
}
.cta-panel h2 { max-width: 680px; margin: 13px 0 18px; font-size: clamp(2.7rem, 5vw, 5rem); }
.cta-panel p { max-width: 560px; color: #e4d0e0; }
.cta-panel .button { margin-top: 12px; }

.faq-list { max-width: 830px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 34px 22px 0; cursor: pointer; font-weight: 750; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 3px; top: 16px; color: var(--pink); font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 700px; padding-bottom: 19px; color: var(--muted); }

/* Inner pages and long-form text */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 145px) 0 clamp(72px, 8vw, 115px);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 78% 0%, rgba(99, 23, 122, 0.45), transparent 49%), linear-gradient(120deg, #150a18, #090609 75%);
}

.page-hero > .container,
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow,
.page-hero .kicker { margin-bottom: 21px; }
.page-hero h1 { max-width: 850px; margin-bottom: 21px; font-size: clamp(3.3rem, 7vw, 6.6rem); line-height: 0.98; }
.page-hero p { max-width: 650px; margin: 0; color: #decfdd; font-size: 1.11rem; }

.content-shell { max-width: 1040px; padding-block: 76px 110px; }
.content-shell--narrow { max-width: 780px; }
.prose { max-width: 770px; color: #e2d6e0; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 48px 0 16px; color: var(--cream); font-size: clamp(2rem, 3.3vw, 3rem); }
.prose h3 { margin: 34px 0 12px; color: var(--cream); font-size: 1.25rem; }
.prose p, .prose li { line-height: 1.8; }
.prose a { color: var(--pink-hover); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.45em; margin-bottom: 1.5em; }
.prose li + li { margin-top: 7px; }
.prose strong { color: var(--cream); }
.prose blockquote { margin: 30px 0; padding: 14px 0 14px 25px; border-left: 3px solid var(--pink); color: var(--cream); font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.4; }
.prose img { max-width: 100%; height: auto; margin-block: 28px; border-radius: var(--radius); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 25px; color: var(--faint); font-size: 0.75rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--pink); }

/* Profiles and detail layouts */
.profile-layout,
.detail-layout { display: grid; grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr); gap: clamp(30px, 6vw, 85px); align-items: start; }
.profile-photo,
.detail-image { overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); }
.profile-photo img,
.detail-image img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.profile-copy h1,
.detail-copy h1 { margin: 15px 0 18px; font-size: clamp(3.2rem, 6vw, 6rem); }
.profile-copy > p,
.detail-copy > p { color: var(--muted); }
.profile-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 26px 0; border-top: 1px solid var(--line); }
.profile-facts > div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.profile-facts dt { color: var(--faint); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.profile-facts dd { margin: 2px 0 0; color: var(--cream); }

/* Checkout and forms */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.checkout-card,
.order-summary,
.form-panel {
  padding: clamp(25px, 3.5vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.checkout-card h2,
.order-summary h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
.order-summary { position: sticky; top: 26px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.summary-row strong { color: var(--cream); text-align: right; }
.summary-total { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0 6px; font-size: 1.2rem; font-weight: 800; }
.summary-total strong { color: var(--pink); }

.payment-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 27px;
}

.payment-choice label {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: #211526;
  color: var(--cream);
  font-size: 0.89rem;
  font-weight: 750;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}
.payment-choice label:hover,
.payment-choice label:has(input:checked) { border-color: var(--pink); background: #321a35; }
.payment-choice input { accent-color: var(--pink); width: 17px; height: 17px; flex: none; }
.payment-choice small { display: block; color: var(--muted); font-weight: 400; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label,
.form-field > span:first-child,
.admin-form label { color: var(--cream); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.03em; }
.form-field input,
.form-field select,
.form-field textarea,
.admin-form input,
.admin-form select,
.admin-form textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="url"],
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  background: #100b13;
  color: var(--cream);
  line-height: 1.4;
  transition: border-color 170ms ease, box-shadow 170ms ease;
}

textarea,
.form-field textarea,
.admin-form textarea { min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #a997a8; }
input:focus, select:focus, textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 79, 147, 0.18); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--pink); }
.form-field small,
.field-hint,
.form-note { color: var(--faint); font-size: 0.76rem; line-height: 1.5; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 24px; }
.form-actions .button { min-width: 170px; }

.notice {
  padding: 15px 18px;
  border: 1px solid rgba(255, 211, 138, 0.42);
  border-radius: 11px;
  background: rgba(255, 211, 138, 0.09);
  color: #ffe1ad;
  font-size: 0.9rem;
  line-height: 1.5;
}
.notice--success { border-color: rgba(128, 229, 177, 0.48); background: rgba(128, 229, 177, 0.09); color: #b4f1d0; }
.notice--error { border-color: rgba(255, 142, 156, 0.52); background: rgba(255, 142, 156, 0.09); color: #ffc1c8; }
.notice p:last-child { margin-bottom: 0; }

/* Admin */
.admin-shell { display: grid; grid-template-columns: 245px minmax(0, 1fr); min-height: calc(100vh - 86px); }
.admin-nav { padding: 28px 18px; border-right: 1px solid var(--line); background: #110b13; }
.admin-nav h2,
.admin-nav .admin-heading { margin: 0 12px 22px; color: var(--faint); font: 800 0.71rem/1.4 Inter, "Segoe UI", Arial, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; }
.admin-nav a { display: block; margin: 3px 0; padding: 11px 13px; border-radius: 9px; color: var(--muted); font-size: 0.86rem; font-weight: 750; }
.admin-nav a:hover,
.admin-nav a[aria-current="page"],
.admin-nav a.active { background: #321a35; color: var(--cream); }
.admin-main { min-width: 0; width: 100%; max-width: 1370px; padding: clamp(26px, 4vw, 58px); }
.admin-main > h1 { margin-bottom: 10px; font-size: clamp(2.7rem, 4vw, 4.2rem); }
.admin-main > p { color: var(--muted); }
.admin-header { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; margin-bottom: 27px; }
.admin-header h1 { margin: 0; font-size: clamp(2.7rem, 4vw, 4.2rem); }
.admin-header p { margin: 6px 0 0; color: var(--muted); }
.admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin-bottom: 23px; }
.admin-stat { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.admin-stat span { display: block; color: var(--faint); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.admin-stat strong { display: block; margin-top: 10px; font-family: Georgia, serif; font-size: 2.7rem; font-weight: 400; line-height: 1; }

.panel { min-width: 0; margin: 0 0 24px; padding: clamp(20px, 2.5vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.panel h2 { margin-bottom: 17px; font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 1.12rem; font-weight: 800; letter-spacing: -0.02em; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.panel-head h2 { margin: 0; }
.table-scroll { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; color: var(--cream); font-size: 0.85rem; text-align: left; }
.data-table th { padding: 12px 14px; border-bottom: 1px solid var(--line-strong); color: var(--faint); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.09em; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: 15px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(255, 248, 243, 0.035); }
.data-table a { color: var(--pink-hover); font-weight: 750; }
.data-table .status { font-size: 0.63rem; }
.admin-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.admin-form .form-field { margin-bottom: 0; }
.admin-form .full,
.admin-form .form-field--full,
.admin-form .form-actions { grid-column: 1 / -1; }
.admin-form .form-actions { margin-top: 4px; }

/* Footer */
.site-footer {
  padding: 60px 0 28px;
  border-top: 1px solid var(--line);
  background: #0b070d;
}
.site-footer-inner { display: grid; grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(130px, 0.6fr)); gap: 40px; }
.footer-brand .brand { margin-bottom: 19px; }
.footer-brand p { max-width: 340px; color: var(--muted); font-size: 0.86rem; }
.footer-column h3 { margin: 0 0 17px; color: var(--cream); font-size: 0.71rem; font-weight: 850; letter-spacing: 0.13em; text-transform: uppercase; }
.footer-column a { display: block; width: fit-content; margin-bottom: 8px; color: var(--muted); font-size: 0.84rem; }
.footer-column a:hover { color: var(--pink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; width: min(var(--max-width), calc(100% - 56px)); margin: 43px auto 0; padding-top: 21px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.73rem; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--pink); }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 15px; }

@media (max-width: 1100px) {
  .operator-grid,
  .story-grid { gap: 17px; }
  .site-footer-inner { gap: 24px; }
  .card-body { padding: 19px; }
}

@media (max-width: 850px) {
  .site-header-inner,
  .site-header > .container,
  .site-header > .wrap { min-height: 76px; gap: 17px; }
  .nav,
  .site-header nav { gap: 12px 18px; }
  .nav a,
  .site-header nav a { font-size: 0.71rem; }
  .hero { min-height: 630px; background-position: 57% center; }
  .hero-copy { max-width: 510px; }
  .hero-title,
  .hero h1 { font-size: clamp(3.75rem, 8.5vw, 5.7rem); }
  .operator-grid,
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid,
  .steps-grid,
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-layout { grid-template-columns: minmax(0, 1fr); }
  .order-summary { position: static; }
  .site-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; }
  .admin-shell { grid-template-columns: 180px minmax(0, 1fr); }
  .admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container,
  .wrap,
  .content-shell,
  .site-header-inner,
  .site-footer-inner,
  .hero > .container,
  .hero > .wrap,
  .hero-inner,
  .footer-bottom { width: min(100% - 36px, var(--max-width)); }

  .site-header-inner,
  .site-header > .container,
  .site-header > .wrap { width: calc(100% - 36px); flex-direction: column; justify-content: center; align-items: flex-start; min-height: 0; padding: 18px 0 14px; gap: 15px; }
  .brand { font-size: 1.35rem; }
  .nav,
  .site-header nav { justify-content: flex-start; gap: 10px 18px; width: 100%; }
  .nav a,
  .site-header nav a { font-size: 0.69rem; }
  .nav a.button,
  .site-header nav a.button { padding: 8px 12px; min-height: 0; }

  .hero { min-height: 690px; align-items: end; background-position: 69% top; background-image: linear-gradient(0deg, #080508 0%, rgba(8, 5, 8, 0.94) 24%, rgba(8, 5, 8, 0.36) 56%, rgba(8, 5, 8, 0.03) 100%), url("/assets/hero-phone.png"); }
  .hero::after { display: none; }
  .hero-copy { max-width: 570px; padding: 260px 0 58px; }
  .hero-kicker { margin-bottom: 15px; }
  .hero-title,
  .hero h1 { margin-bottom: 16px; font-size: clamp(3.4rem, 13vw, 5.15rem); }
  .hero-text,
  .hero-copy > p:not(.hero-kicker) { margin-bottom: 19px; font-size: 1rem; }
  .hero-actions { margin-top: 20px; }

  .section { padding-block: 68px; }
  .section--tight { padding-block: 48px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 25px; }
  .section-head h2,
  .section-title { font-size: clamp(2.45rem, 9vw, 3.7rem); }
  .section-head > a:last-child { margin: 0; }
  .operator-grid,
  .story-grid,
  .feature-grid,
  .steps-grid,
  .benefit-grid { grid-template-columns: minmax(0, 1fr); }
  .card-body { padding: 23px; }

  .page-hero { padding-block: 66px 68px; }
  .page-hero h1 { font-size: clamp(3rem, 12vw, 4.8rem); }
  .page-hero p { font-size: 1rem; }
  .content-shell { padding-block: 55px 75px; }
  .profile-layout,
  .detail-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .profile-photo img,
  .detail-image img { aspect-ratio: 4 / 3.4; }
  .payment-choice,
  .form-grid,
  .admin-form { grid-template-columns: minmax(0, 1fr); }
  .admin-form .full,
  .admin-form .form-field--full,
  .admin-form .form-actions { grid-column: auto; }
  .admin-shell { display: block; }
  .admin-nav { display: flex; gap: 6px; overflow-x: auto; padding: 12px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-nav h2,
  .admin-nav .admin-heading { display: none; }
  .admin-nav a { flex: none; margin: 0; white-space: nowrap; }
  .admin-main { padding: 28px 18px 58px; }
  .admin-grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer { padding-top: 47px; }
  .site-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { margin-top: 34px; }
}

@media (max-width: 400px) {
  .nav,
  .site-header nav { gap: 9px 13px; }
  .nav a,
  .site-header nav a { font-size: 0.64rem; }
  .hero { min-height: 650px; }
  .hero-copy { padding-top: 250px; }
  .hero-actions .button { width: 100%; }
  .profile-facts { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* View integration: the public and Studio templates use these exact hooks. */
.shell {
  width: min(var(--max-width), calc(100% - 56px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  white-space: nowrap;
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 800;
}
.skip-link:focus {
  width: auto;
  height: auto;
  padding: 11px 16px;
  clip-path: none;
  opacity: 1;
}

.site-header .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 84px; }
.site-header .brand { gap: 12px; letter-spacing: 0; }
.site-header .brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  margin: 0;
  border: 1px solid rgba(255, 79, 147, 0.7);
  border-radius: 50%;
  color: var(--cream);
  font: 800 0.71rem/1 Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: -0.1em;
  box-shadow: inset 0 0 0 3px #080508, 0 0 24px rgba(255, 79, 147, 0.2);
}
.site-header .brand-mark span { color: var(--pink); }
.site-header .brand-name { color: var(--cream); font-size: 1.25rem; font-weight: 850; letter-spacing: -0.055em; }
.site-header .nav { display: flex; align-items: center; gap: clamp(16px, 2.3vw, 35px); }
.site-header .nav .nav-cta {
  padding: 11px 17px;
  border: 1px solid var(--pink);
  border-radius: 999px;
  background: var(--pink);
  color: var(--ink);
}
.site-header .nav .nav-cta:hover { border-color: var(--pink-hover); background: var(--pink-hover); color: var(--ink); }

.hero { min-height: 690px; background: #120813; }
.hero::after {
  z-index: 1;
  background: linear-gradient(90deg, rgba(8, 5, 8, 0.76) 0%, rgba(8, 5, 8, 0.47) 43%, rgba(8, 5, 8, 0.04) 86%),
    linear-gradient(0deg, rgba(8, 5, 8, 0.72), transparent 26%);
}
.hero .hero-inner { position: static; z-index: auto; }
.hero-visual { position: absolute; z-index: 0; inset: 0; overflow: hidden; }
.hero-visual img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: right center; }
.hero .hero-copy { position: relative; z-index: 2; max-width: 565px; padding: 125px 0 120px; }
.hero .hero-title { max-width: 580px; margin-bottom: 22px; font-size: clamp(3.6rem, 5.8vw, 5.8rem); line-height: 0.99; letter-spacing: -0.065em; }
.hero .hero-text { max-width: 470px; font-size: clamp(1rem, 1.45vw, 1.14rem); }
.hero-topline { display: flex; flex-wrap: wrap; align-items: center; gap: 11px 18px; margin-bottom: 23px; }
.hero .hero-kicker { margin: 0; }
.hero-fineprint { margin: 22px 0 0; color: #e0cbd9; font-size: 0.74rem; letter-spacing: 0.015em; }
.hero-index { position: absolute; z-index: 2; right: max(28px, calc((100vw - var(--max-width)) / 2)); bottom: 24px; left: max(28px, calc((100vw - var(--max-width)) / 2)); display: flex; justify-content: space-between; gap: 15px; color: #dbc2d3; font-size: 0.65rem; font-weight: 850; letter-spacing: 0.15em; }
.trust-strip { border-top: 1px solid rgba(255, 79, 147, 0.22); border-bottom: 1px solid var(--line); background: #160d18; }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.trust-item { display: flex; align-items: flex-start; gap: 15px; min-width: 0; padding: 25px 20px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item > span { color: var(--pink); font: 400 1.65rem/1 Georgia, serif; }
.trust-item strong { display: block; margin-bottom: 5px; color: var(--cream); font-size: 0.86rem; }
.trust-item p { margin: 0; color: var(--muted); font-size: 0.76rem; line-height: 1.45; }
.trust-item p a,
.article-cta p a { color: var(--pink-hover); text-decoration: underline; text-underline-offset: 2px; }
.article-related { margin: 0 0 28px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.15); }
.article-related strong { display: block; margin-bottom: 12px; color: var(--cream); }
.article-related div { display: flex; flex-wrap: wrap; gap: 10px; }
.article-related a { display: inline-flex; gap: 8px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: var(--cream); text-decoration: none; }
.article-related a:hover, .article-related a:focus-visible { border-color: var(--pink); color: var(--pink); }

.preview-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid rgba(255, 211, 138, 0.5);
  border-radius: 999px;
  background: rgba(23, 14, 19, 0.83);
  color: #ffe0a2;
  font-size: 0.63rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.status::before { display: none; }
.status-dot { display: inline-block; width: 7px; height: 7px; flex: none; border-radius: 50%; background: currentColor; }
.empty-state { padding: 35px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }

.section--intro { background: #100b12; }
.section--operators { background: #0b070c; }
.section--journal { background: #130c15; }
.section > .shell > .section-head:not(.section-head--split) { display: block; }
.section > .shell > .section-head:not(.section-head--split) .eyebrow { margin-bottom: 14px; }
.section > .shell > .section-head--split { display: flex; align-items: end; justify-content: space-between; }
.section-head--split > div:first-child { max-width: 700px; }
.section-head--split .text-link { flex: none; }
.steps-grid .step { padding: 28px 27px 31px; border-top: 2px solid rgba(255, 79, 147, 0.75); background: linear-gradient(180deg, #211226, #160e19); }
.steps-grid .step-number { display: block; margin-bottom: 28px; color: var(--pink); font-family: Georgia, serif; font-size: 2.1rem; line-height: 1; }
.steps-grid .step h3 { margin: 0 0 12px; font-size: 1.13rem; font-weight: 850; letter-spacing: -0.02em; }
.steps-grid .step p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.card-media-link { display: block; }
.card-media-link:hover { color: inherit; }
.operator-card .card-media--placeholder { aspect-ratio: 4 / 4.15; }
.card-media--placeholder,
.profile-portrait.card-media--placeholder,
.summary-portrait.card-media--placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 70% 20%, rgba(255, 79, 147, 0.28), transparent 37%), linear-gradient(145deg, #522057 0%, #2b1830 47%, #120d17 100%);
}
.card-media--placeholder::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255, 248, 243, 0.19); border-radius: 8px; pointer-events: none; }
.media-initial { color: rgba(255, 248, 243, 0.81); font-family: Georgia, serif; font-size: clamp(7rem, 16vw, 12rem); line-height: 1; }
.media-caption { position: absolute; z-index: 1; bottom: 28px; color: #ebd8e7; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.operator-card .card-meta { align-items: center; margin-bottom: 13px; }
.operator-card .card-body h3 { margin-bottom: 8px; }
.operator-card .card-tagline { min-height: 2.9em; margin-bottom: 19px; }
.operator-card .card-bottom { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.card-rate { color: var(--cream); font-family: Georgia, serif; font-size: 1.55rem; line-height: 1; white-space: nowrap; }
.rate-unit { color: var(--faint); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 0.72rem; }
.operator-card .text-link { flex: none; font-size: 0.68rem; }
.availability-estimate { margin: 10px 0; color: var(--amber); font-size: 0.82rem; }

.story-card-media { display: block; }
.story-art { overflow: hidden; background: #3a1b3e; }
.story-art img { display: block; width: 100%; height: auto; }
.story-art--type { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; background: radial-gradient(circle at 77% 20%, #78365f, transparent 42%), linear-gradient(135deg, #351838, #160e1b); }
.story-art--type span { padding: 9px 15px; border-top: 1px solid rgba(255, 248, 243, 0.55); border-bottom: 1px solid rgba(255, 248, 243, 0.55); color: var(--cream); font-family: Georgia, serif; font-size: clamp(1.2rem, 2.5vw, 2rem); letter-spacing: 0.14em; }
.story-card .story-card-body { display: flex; flex: 1; flex-direction: column; padding: 23px; }
.story-card .story-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.story-card .story-card-body h3 { font-size: clamp(1.5rem, 2.1vw, 2rem); }
.story-card .story-card-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 11px; margin-top: auto; }
.story-card .story-card-links .text-link { font-size: 0.67rem; }

.back-link { display: inline-flex; margin-bottom: 23px; color: var(--muted); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.09em; text-transform: uppercase; }
.back-link:hover { color: var(--pink); }
.page-hero--profile { padding: 80px 0; }
.profile-hero { display: grid; grid-template-columns: minmax(280px, 0.87fr) minmax(0, 1.13fr); align-items: center; gap: clamp(35px, 6vw, 90px); }
.profile-media { overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.profile-portrait img { display: block; width: 100%; height: auto; }
.profile-portrait.card-media--placeholder { min-height: 520px; aspect-ratio: 4 / 4.9; }
.profile-status { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0 0 23px; }
.profile-intro .eyebrow { margin-bottom: 14px; }
.profile-intro h1 { margin: 0 0 16px; font-size: clamp(4rem, 7vw, 7rem); }
.profile-tagline { max-width: 520px; color: #f0e2ed; font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.profile-price { display: flex; flex-direction: column; gap: 2px; margin: 28px 0 20px; padding-top: 19px; border-top: 1px solid var(--line-strong); }
.profile-price > span { color: var(--faint); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.profile-price strong { font-family: Georgia, serif; font-size: 2.2rem; font-weight: 400; }
.profile-intro .hero-actions { margin-top: 0; }
.profile-intro .availability-note { margin: 16px 0 0; color: var(--muted); font-size: 0.85rem; }
.button--disabled,
.button--disabled:hover { background: #362737; border-color: var(--line-strong); color: var(--muted); box-shadow: none; cursor: default; transform: none; }
.dispatch-number { margin: 9px 0 0; color: var(--muted); font-size: 0.84rem; }
.dispatch-number a { color: var(--pink-hover); text-decoration: underline; text-underline-offset: 3px; }
.dispatch-preview-note { margin: 13px 0 0; color: var(--amber); font-size: 0.79rem; }
.section--profile-story .content-shell { padding-block: 0; }
.section--profile-story .section-head { margin-bottom: 28px; }
.section--profile-story .prose { font-family: Georgia, serif; font-size: 1.2rem; }
.page-hero--article .content-shell,
.page-hero--request .content-shell,
.page-hero--static .content-shell,
.page-hero--not-found .content-shell { padding-block: 0; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 15px; }
.article-meta .eyebrow { margin: 0; }
.article-character { display: inline-flex; margin-top: 24px; color: var(--pink-hover); font-weight: 750; }
.article-cover { margin-top: 45px; }
.article-cover img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.article-body { margin-bottom: 50px; }
.article-cta { padding: 35px; border: 1px solid rgba(255, 79, 147, 0.32); border-radius: var(--radius); background: #29142d; }
.article-cta h2 { margin: 14px 0; font-size: clamp(2.2rem, 4vw, 3.5rem); }
.article-cta p { color: var(--muted); }
.article-cta .button { margin-top: 8px; }

.page-hero--checkout { padding-block: 39px 44px; }
.page-hero--checkout .back-link { margin-bottom: 14px; }
.page-hero--checkout .eyebrow { margin-bottom: 8px; }
.page-hero--checkout h1 { max-width: 100%; margin-bottom: 8px; font-size: clamp(2.8rem, 4.7vw, 4.5rem); line-height: 1.02; }
.page-hero--checkout p { font-size: 0.98rem; }
.page-hero--checkout .preview-badge { margin-top: 12px; }
.page-hero--checkout + .section { padding-top: 45px; }
.checkout-main { min-width: 0; }
.checkout-form { display: block; }
.form-section { padding: 0 0 36px; margin-bottom: 38px; border-bottom: 1px solid var(--line); }
.form-section h2 { margin: 8px 0 23px; font-size: clamp(2rem, 3vw, 2.75rem); }
.form-step { color: var(--pink); font-size: 0.7rem; font-weight: 850; letter-spacing: 0.16em; }
.checkout-form .form-field { max-width: 100%; }
.checkout-form .form-field label span { color: var(--faint); font-weight: 500; }
.checkout-form .field-hint { margin: -4px 0 0; }
.payment-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-bottom: 15px; }
.payment-choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  min-height: 88px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: #1b111f;
  cursor: pointer;
}
.payment-choice:hover,
.payment-choice:has(input:checked) { border-color: var(--pink); background: #2c1830; }
.payment-choice input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--pink); }
.payment-choice-copy { display: block; min-width: 0; }
.payment-choice-copy strong { display: block; color: var(--cream); }
.payment-choice-copy small { display: block; overflow-wrap: anywhere; color: var(--muted); font-size: 0.77rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.checkout-submit { padding: 24px; border: 1px solid rgba(255, 79, 147, 0.25); border-radius: var(--radius); background: #211227; }
.checkout-submit p { color: var(--muted); font-size: 0.84rem; }
.checkout-submit a { color: var(--pink-hover); text-decoration: underline; text-underline-offset: 3px; }
.checkout-submit .button { max-width: 100%; white-space: normal; }
.checkout-summary { position: sticky; top: 25px; min-width: 0; padding: 29px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.checkout-summary .eyebrow { margin-bottom: 19px; }
.summary-portrait { overflow: hidden; width: 100%; border-radius: 12px; }
.summary-portrait img { display: block; width: 100%; height: auto; }
.summary-portrait.card-media--placeholder { aspect-ratio: 16 / 10; }
.summary-portrait .media-initial { font-size: 6rem; }
.summary-portrait .media-caption { bottom: 15px; font-size: 0.55rem; }
.checkout-summary h2 { margin: 21px 0 5px; font-size: 2rem; }
.checkout-summary > p { margin-bottom: 21px; color: var(--muted); font-size: 0.86rem; }
.checkout-summary > small { display: block; margin-top: 19px; color: var(--faint); }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
.summary-line strong { color: var(--cream); text-align: right; }
.form-error { margin-bottom: 23px; padding: 14px 17px; border: 1px solid rgba(255, 142, 156, 0.55); border-radius: 9px; background: rgba(255, 142, 156, 0.1); color: #ffc6ce; }
.notice--preview { margin-bottom: 25px; }
.notice--preview strong { display: block; margin-bottom: 5px; }
.request-card { max-width: 720px; padding: 33px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.request-card-head { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--line); color: var(--faint); }
.request-card-head strong { color: var(--cream); }
.request-detail { margin: 22px 0 0; color: var(--muted); }
.request-demo-note { color: var(--amber); }
.request-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 25px; }

.site-footer .footer-inner { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(180px, 1fr) minmax(200px, 0.8fr); gap: 38px; }
.site-footer .footer-inner nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 20px; align-content: start; }
.site-footer .footer-inner nav a { color: var(--muted); font-size: 0.84rem; }
.site-footer .footer-inner nav a:hover { color: var(--pink); }
.site-footer .footer-brand .brand { font-size: 1.45rem; }
.footer-meta { display: flex; flex-direction: column; gap: 8px; color: var(--faint); font-size: 0.8rem; }
.footer-meta a { color: var(--cream); overflow-wrap: anywhere; }
.footer-meta a:hover { color: var(--pink); }
.footer-meta small { margin-top: 15px; color: var(--faint); }

/* Studio components */
.admin-body { min-height: 100vh; background: #0b070d; }
.admin-shell { grid-template-columns: 238px minmax(0, 1fr); min-height: 100vh; }
.admin-nav { display: flex; flex-direction: column; min-height: 100vh; padding: 30px 17px; }
.admin-nav .brand { margin: 3px 12px 35px; color: var(--cream); font-size: 1.3rem; }
.admin-nav nav { display: flex; flex-direction: column; gap: 4px; }
.admin-nav nav a { margin: 0; }
.admin-nav-bottom { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.admin-nav-bottom a,
.admin-nav-bottom button { display: block; width: 100%; padding: 10px 13px; border: 0; border-radius: 9px; background: none; color: var(--muted); font-size: 0.82rem; text-align: left; }
.admin-nav-bottom a:hover,
.admin-nav-bottom button:hover { background: #321a35; color: var(--cream); }
.admin-mobile-menu { display: none; }
.admin-main { max-width: 1450px; padding: clamp(28px, 4vw, 58px); }
.admin-main .admin-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 31px; }
.admin-main .admin-heading h1 { margin: 7px 0 7px; font-size: clamp(2.7rem, 4vw, 4.3rem); }
.admin-main .admin-heading p:last-child { margin: 0; color: var(--muted); }
.admin-main .admin-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
.admin-stat-grid .panel { display: flex; flex-direction: column; min-height: 150px; margin: 0; }
.admin-stat-grid .admin-stat strong { margin-bottom: 11px; color: var(--cream); font-family: Georgia, serif; font-size: 2.55rem; font-weight: 400; }
.admin-stat-grid .admin-stat span { color: var(--muted); font-size: 0.83rem; }
.admin-main .panel .section-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 13px; }
.admin-main .panel .section-head h2 { margin: 0; font: 800 1.08rem/1.3 Inter, "Segoe UI", Arial, sans-serif; letter-spacing: -0.02em; }
.admin-main .panel .section-head a { color: var(--pink); font-size: 0.78rem; font-weight: 800; }
.admin-main .panel p:last-child { margin-bottom: 0; color: var(--muted); }
.admin-main .table-wrap { overflow-x: auto; }
.customer-search-form { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.customer-search-form .form-field { flex: 1 1 260px; min-width: 0; }
.customer-search-form .button { flex: none; width: auto; }
.customer-search-form > a { align-self: center; color: var(--pink-hover); font-size: 0.8rem; font-weight: 800; }
.customer-note-cell { max-width: 280px; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.mobile-record-list { display: none; }
.inline-status { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-width: 270px; }
.inline-status select { width: auto; min-width: 105px; }
.inline-status input[type="datetime-local"] { width: 180px; }
.inline-status .button { min-height: 43px; }
.dispatch-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 190px; }
.dispatch-actions form { margin: 0; }
.dispatch-remove { position: relative; }
.dispatch-remove summary { color: var(--pink-hover); font-size: 0.78rem; font-weight: 800; cursor: pointer; }
.dispatch-remove[open] { width: min(250px, 70vw); }
.dispatch-remove p { margin: 8px 0; color: var(--muted); font-size: 0.75rem; line-height: 1.4; }
.terminal-frame-shell { overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.terminal-frame { display: block; width: 100%; height: max(760px, calc(100dvh - 170px)); border: 0; background: #fff; }
.terminal-swipe-hint { display: none; }
.terminal-note { margin: 15px 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }
.construction-popup { position: fixed; right: 24px; bottom: 24px; z-index: 100; width: min(400px, calc(100vw - 48px)); padding: 22px 52px 22px 22px; border: 1px solid rgba(255, 79, 147, 0.65); border-radius: 14px; background: #281426; color: var(--cream); box-shadow: 0 20px 65px rgba(0, 0, 0, 0.55); }
.construction-popup[hidden] { display: none; }
.construction-popup p { margin: 0; font-size: 0.9rem; line-height: 1.5; }
.construction-popup button { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.1); color: var(--cream); font-size: 1.35rem; cursor: pointer; }
.construction-popup button:hover, .construction-popup button:focus-visible { background: var(--pink); color: #170716; }
/* Let uploaded photos fill their available width at their natural aspect ratio. */
.profile-photo img,
.detail-image img { display: block; width: 100%; height: auto; }
.admin-form.panel { display: block; }
.admin-form.panel > .form-field { margin-bottom: 20px; }
.admin-form.panel > .form-grid { margin-bottom: 20px; }
.admin-form.panel > .button { margin-top: 20px; }
.admin-form details { margin: 26px 0 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.admin-form details summary { width: fit-content; color: var(--pink); cursor: pointer; font-weight: 800; }
.admin-form details .form-grid { margin-top: 19px; }
.check-line { display: flex; align-items: flex-start; gap: 9px; margin: 18px 0; color: var(--cream); font-size: 0.85rem; cursor: pointer; }
.check-line input { width: 17px; height: 17px; flex: none; margin-top: 3px; }
.upload-control { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: center; margin: 22px 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #120c15; }
.upload-preview { display: block; width: 100%; height: auto; border-radius: 9px; }
.upload-preview--empty { display: grid; place-items: center; min-height: 140px; padding: 16px; border: 1px dashed var(--line-strong); color: var(--faint); text-align: center; font-size: 0.8rem; }
.upload-control .form-field { margin: 0; }
.upload-control input[type="file"] { padding: 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: #1c1220; color: var(--muted); }
.upload-remove { min-height: 36px; margin-top: 11px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: transparent; color: var(--pink-hover); font-size: 0.78rem; font-weight: 800; }
.upload-remove:hover:not(:disabled) { border-color: var(--pink); background: rgba(255, 79, 147, 0.09); }
.form-hint { color: var(--faint); font-size: 0.76rem; }
.accept-form { min-width: 260px; margin-top: 9px; }
.accept-form .check-line { margin: 9px 0; }
.accept-form .button { white-space: normal; }

.admin-shell:not(:has(.admin-nav)) { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; min-height: 100vh; }
.admin-shell:not(:has(.admin-nav)) .admin-main { display: grid; place-items: center; width: 100%; min-height: 100vh; padding: 28px; }
.auth-card { width: min(510px, 100%); padding: clamp(29px, 5vw, 47px); border: 1px solid rgba(255, 79, 147, 0.24); border-radius: var(--radius-lg); background: radial-gradient(circle at 100% 0%, rgba(99, 23, 122, 0.25), transparent 50%), var(--surface); box-shadow: var(--shadow); }
.auth-card .brand { margin-bottom: 33px; font-size: 1.4rem; }
.auth-card .eyebrow { margin-bottom: 13px; }
.auth-card h1 { margin-bottom: 27px; font-size: clamp(2.7rem, 5vw, 4.1rem); }
.auth-card .admin-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 17px; width: 100%; }
.auth-card .form-field { width: 100%; margin: 0; }
.auth-card .admin-form .button { width: 100%; margin-top: 7px; }
.auth-card .form-hint { margin: 20px 0 0; }

@media (max-width: 900px) {
  .site-header .brand-name { font-size: 1.05rem; }
  .site-header .nav { gap: 14px; }
  .hero .hero-title { font-size: clamp(3.3rem, 7vw, 5rem); }
  .profile-hero { grid-template-columns: minmax(230px, 0.85fr) minmax(0, 1.15fr); gap: 35px; }
  .profile-portrait.card-media--placeholder { min-height: 410px; }
  .admin-main .admin-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .construction-popup { right: 12px; bottom: 12px; left: 12px; width: auto; padding: 18px 48px 18px 18px; }
  .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .trust-item { padding: 18px 0; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); border-left: 0; }
  .shell { width: calc(100% - 36px); }
  .site-header .header-inner { flex-wrap: wrap; gap: 12px; min-height: 0; padding: 16px 0; }
  .site-header .brand-mark { width: 36px; height: 36px; font-size: 0.65rem; }
  .site-header .nav { width: 100%; justify-content: flex-start; gap: 10px 18px; }
  .site-header .nav .nav-cta { padding: 7px 11px; }

  .hero { display: block; min-height: 0; background: #120813; }
  .hero::after { display: none; }
  .hero .hero-inner { display: flex; flex-direction: column-reverse; width: 100%; }
  .hero-visual { position: relative; width: 100%; }
  .hero-visual img { display: block; width: 100%; height: auto; object-fit: contain; }
  .hero .hero-copy { width: calc(100% - 36px); max-width: 100%; margin-inline: auto; padding: 24px 0 46px; }
  .hero .hero-title { max-width: 610px; font-size: clamp(3.15rem, 10.4vw, 4.7rem); }
  .hero .hero-text { max-width: 520px; font-size: 1rem; }
  .hero-index { display: none; }
  .page-hero--static + .section { padding-top: 0; }
  .page-hero--static + .section .content-shell { padding-top: 48px; }
  .section > .shell > .section-head--split { display: block; }
  .section-head--split .text-link { margin-top: 18px; }
  .steps-grid .step { padding: 25px; }
  .steps-grid .step-number { margin-bottom: 19px; }

  .profile-hero { grid-template-columns: minmax(0, 1fr); }
  .profile-media { max-width: 530px; }
  .profile-portrait.card-media--placeholder { min-height: 0; aspect-ratio: 4 / 3.7; }
  .profile-intro h1 { font-size: clamp(3.6rem, 11vw, 5.7rem); }
  .page-hero--profile { padding: 55px 0 70px; }
  .checkout-summary { position: static; }
  .site-footer .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
  .site-footer .footer-meta { grid-column: 1 / -1; }

  .admin-shell { display: block; }
  .admin-nav { min-height: 0; padding: 12px 18px; }
  .admin-nav .brand { display: none; }
  .admin-nav > nav { display: none; }
  .admin-nav-bottom { display: none; }
  .admin-mobile-menu { display: block; width: 100%; }
  .admin-mobile-menu summary { width: 100%; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 9px; color: var(--cream); font-size: 0.86rem; font-weight: 800; cursor: pointer; list-style: none; }
  .admin-mobile-menu summary::-webkit-details-marker { display: none; }
  .admin-mobile-menu summary::after { content: '▾'; float: right; color: var(--pink); }
  .admin-mobile-menu[open] summary::after { content: '▴'; }
  .admin-mobile-menu nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin: 12px 0; }
  .admin-mobile-menu nav a { min-width: 0; margin: 0; padding: 11px; font-size: 0.78rem; white-space: normal; }
  .admin-mobile-actions { display: flex; align-items: center; justify-content: space-between; padding: 10px 6px 3px; border-top: 1px solid var(--line); }
  .admin-mobile-actions a,
  .admin-mobile-actions button { padding: 7px; border: 0; background: none; color: var(--muted); font-size: 0.8rem; }
  .admin-main { padding: 29px 18px 55px; }
  .admin-main .admin-stat-grid { grid-template-columns: minmax(0, 1fr); }
  .desktop-record-table { display: none; }
  .mobile-record-list { display: grid; gap: 13px; margin-block: 15px 26px; }
  .mobile-record-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
  .mobile-record-card h2,
  .mobile-record-card h3 { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 9px; margin: 0 0 16px; font: 400 1.7rem/1.2 Georgia, serif; }
  .mobile-record-card h2 small { color: var(--faint); font: 800 0.66rem/1.2 Inter, "Segoe UI", Arial, sans-serif; letter-spacing: 0.09em; text-transform: uppercase; }
  .mobile-record-card h3 span { color: var(--pink-hover); font-size: 1.2rem; }
  .mobile-record-card p { display: flex; justify-content: space-between; gap: 15px; margin: 9px 0; color: var(--muted); font-size: 0.82rem; overflow-wrap: anywhere; }
  .mobile-record-card p strong { flex: none; color: var(--cream); }
  .mobile-record-card .text-link { margin-top: 12px; }
  .mobile-record-card .mobile-record-balance { align-items: baseline; margin: 16px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .mobile-record-balance span { color: var(--pink-hover); font-family: Georgia, serif; font-size: 1.55rem; }
  .terminal-swipe-hint { display: block; margin: 0 0 12px; color: var(--muted); font-size: 0.78rem; line-height: 1.45; }
  .terminal-frame-shell { margin-inline: -18px; border-right: 0; border-left: 0; border-radius: 0; }
  .terminal-frame { height: max(720px, calc(100dvh - 165px)); }
}

@media (max-width: 480px) {
  .site-header .brand-name { font-size: 1.1rem; }
  .site-header .nav { gap: 8px 13px; }
  .site-header .nav a { font-size: 0.66rem; }
  .hero .hero-copy { padding-top: 22px; }
  .hero .hero-title { font-size: clamp(3rem, 12vw, 4.1rem); }
  .operator-card .card-bottom { align-items: flex-start; flex-direction: column; }
  .payment-choices,
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .checkout-summary { padding: 23px; }
  .site-footer .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .site-footer .footer-brand,
  .site-footer .footer-meta { grid-column: auto; }
  .upload-control { grid-template-columns: minmax(0, 1fr); }
  .upload-preview { max-width: 220px; }
  .auth-card { padding: 27px 23px; }
}

@media (max-width: 800px) {
  .operator-card .card-media--placeholder { aspect-ratio: 4 / 3.85; }
}
