/* Velora Editorial: shared visual tokens and overrides for existing components. */
:root {
  --ink: #352d31;
  --text-primary: #352d31;
  --muted: #786d72;
  --text-secondary: #786d72;
  --cream: #f4eeea;
  --line: #e9deda;
  --accent: #c7798e;
  --accent-secondary: #a67c8d;
  --primary: #ad496b;
  --primary-hover: #913853;
  --white: #ffffff;
  --surface: #ffffff;
  --soft: #f5e9e7;
  --rose: #eedbd9;
  --success: #56836a;
  --warning: #b98543;
  --danger: #b94c57;
  --space-accent: #ad496b;
  --space-muted: #786d72;
  --space-border: #e9deda;
  --focus-ring: #c7798e;
  --radius-card: 14px;
  --radius-control: 10px;
}
html { background: var(--cream); }
body, #app { color: var(--text-primary); background: var(--cream); font: 15px/1.55 Inter, Arial, sans-serif; }
h1, h2, .serif, .story-strip h3 { font-family: "Cormorant Garamond", Georgia, serif; }
h1 { font-size: clamp(34px, 4.3vw, 44px); line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: clamp(27px, 3.3vw, 32px); line-height: 1.14; letter-spacing: -0.015em; }
h3 { font-family: Inter, Arial, sans-serif; font-size: 16px; font-weight: 600; }
small, .muted, .count, .visitor-note { color: var(--text-secondary); }

#app > header:not(.site-header) {
  color: var(--text-primary);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
#app > header:not(.site-header) nav a[aria-current="page"],
#app > header:not(.site-header) nav a.active { color: var(--primary); }
#app > header:not(.site-header) nav a.active::after { background: var(--primary); }
#app > header:not(.site-header) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}
#app > header:not(.site-header) nav { justify-self: center; }
#app > header:not(.site-header) .header-actions { justify-self: end; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.site-login { white-space: nowrap; }
.header-space { min-width: 112px; text-align: center; }
#app.registration-app > header:not(.site-header){position:relative;z-index:5;display:grid;grid-template-columns:210px minmax(0,1fr) auto;align-items:center;height:82px;min-height:82px;padding:0 4.6%;box-sizing:border-box;background:rgba(250,246,243,.9);border-bottom:1px solid rgba(255,255,255,.8);backdrop-filter:blur(12px)}
#app.registration-app > header:not(.site-header) .wordmark{display:flex;flex-direction:column;align-items:flex-start;justify-self:start;color:#171313;font:500 38px/.8 Georgia,"Cormorant Garamond",serif;letter-spacing:-.065em;text-decoration:none;text-transform:uppercase}
#app.registration-app > header:not(.site-header) .wordmark span{display:none}
#app.registration-app > header:not(.site-header) .wordmark::after{content:"E S C O R T";display:block;margin:9px 0 0 20px;color:#74666a;font:500 10px/1 Inter,Arial,sans-serif;letter-spacing:.43em}
#app.registration-app > header:not(.site-header) nav{justify-self:start;margin-left:30px;display:flex;gap:clamp(22px,3.2vw,52px);align-items:center}
#app.registration-app > header:not(.site-header) nav a{color:#211c1e;font:400 15px/1.2 Inter,Arial,sans-serif;text-decoration:none}
#app.registration-app > header:not(.site-header) nav a:hover,#app.registration-app > header:not(.site-header) nav a[aria-current=page]{color:#ad496b}
#app.registration-app > header:not(.site-header) .header-actions{justify-self:end;display:flex;align-items:center;gap:22px}
.registration-login{color:#352d31;text-decoration:none;font:500 14px/1 Inter,Arial,sans-serif}
.registration-login:hover{color:#ad496b}
.registration-signup{display:inline-flex;align-items:center;justify-content:center;min-width:110px;height:46px;padding:0 24px;border:0;border-radius:999px;background:linear-gradient(110deg,#c85f78,#a63d5d);color:#fff;text-decoration:none;font:600 14px/1 Inter,Arial,sans-serif;box-shadow:0 7px 18px #9e41511f}
.registration-signup:hover{background:#913853;color:#fff}
#main > .content.registration-page{width:100%;max-width:none;margin:0;padding:0 44px 38px;box-sizing:border-box}
.registration-page .registration-landing{overflow:visible}
.registration-page .registration-hero{position:relative;isolation:isolate;display:flex;align-items:flex-start;min-height:232px;height:232px;margin:0 -44px;padding:40px 5.4% 18px;overflow:hidden;box-sizing:border-box;background:#f6eee8}
.registration-page .registration-hero-image{position:absolute;z-index:-1;top:-4%;right:0;width:58%;height:108%;background:url("/assets/registration-hero.png") right 42%/auto 134% no-repeat;mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.2) 12%,#000 32%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.2) 12%,#000 32%)}
.registration-page .registration-hero-copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;max-width:66%;padding:0}
.registration-page .registration-eyebrow{order:0;margin:2px 0 8px;color:#80686a;font:600 13px/1.2 Inter,Arial,sans-serif;letter-spacing:.32em}
.registration-page .registration-hero-copy .location-directory-heading{order:1;position:relative;z-index:2;max-width:100%;margin:0 0 14px;color:#141112;font:500 clamp(52px,5.4vw,82px)/.92 "Cormorant Garamond",Georgia,serif;letter-spacing:-.03em}
.registration-page .registration-intro{order:2;max-width:760px;margin:0;color:#51484a;font:400 clamp(16px,1.3vw,20px)/1.42 Inter,Arial,sans-serif}
.registration-page .registration-hero::after{content:"More than\A companionship  ♡";position:absolute;z-index:2;top:30px;right:2.7%;width:140px;color:#793f4a;font:italic 27px/1.12 "Cormorant Garamond",Georgia,serif;text-align:center;white-space:pre-line;transform:rotate(-7deg)}
.registration-page .registration-card-grid{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0}
.registration-page .registration-card{position:relative;isolation:isolate;display:block;min-width:0;height:580px;min-height:580px;overflow:hidden;border:2px solid rgba(255,255,255,.96);border-radius:20px;background:#f8f0e9;box-shadow:0 12px 28px #49383117}
.registration-page .registration-card-photo{position:absolute;z-index:0;top:0;right:0;width:auto;height:100%;max-width:none;object-fit:cover;clip-path:inset(0 0 0 var(--registration-photo-crop,0px))}
.registration-page .registration-card::before{content:"";position:absolute;z-index:1;inset:0 auto 0 0;width:60%;pointer-events:none;background:linear-gradient(90deg,#fbf3ec 0%,#fbf3ecf5 88%,#fbf3ec00 100%)}
.registration-card-independent{--registration-photo-crop:0px}
.registration-card-agency,.registration-card-member{--registration-photo-crop:22px}
.registration-page .registration-card-content{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;width:100%;height:100%;min-height:0;padding:38px 36px 18px;box-sizing:border-box}
.registration-page .registration-icon{display:grid;width:80px;height:80px;place-items:center;border-radius:50%;background:#f4dedd;color:#92535b}
.registration-page .registration-icon svg{width:42px;height:42px}
.registration-page .registration-card h3{margin:8px 0 1px;color:#151113;font:500 clamp(36px,3.15vw,48px)/1 "Cormorant Garamond",Georgia,serif;letter-spacing:-.035em}
.registration-page .registration-card-kicker{max-width:100%;margin:8px 0 22px;color:#75686a;font:500 11px/1.2 Inter,Arial,sans-serif;letter-spacing:clamp(.13em,.23vw,.28em)}
.registration-page .registration-card ul{display:grid;width:min(66%,300px);gap:13px;list-style:none;margin:0 0 18px;padding:0}
.registration-page .registration-card li{display:flex;align-items:flex-start;gap:10px;color:#171416;font:400 15px/1.32 Inter,Arial,sans-serif}
.registration-page .registration-card li span{display:grid;flex:0 0 24px;width:24px;height:24px;place-items:center;margin-top:-1px;border-radius:50%;background:#d77f8d;color:#fff;font:700 15px/1 Inter,Arial,sans-serif}
.registration-page .registration-cta{display:flex;justify-content:center;align-items:center;gap:22px;width:100%;max-width:100%;min-height:60px;margin-top:auto;border:1px solid #fff;border-radius:999px!important;background:linear-gradient(105deg,#c65f78,#a63c5b)!important;color:#fff!important;font:600 17px/1.2 Inter,Arial,sans-serif;text-align:center;box-shadow:0 5px 14px #69344420}
.registration-page .registration-cta:hover{background:#913853!important}
.registration-page .registration-cta span{font-size:27px;line-height:1}
.registration-page .registration-join-note{width:100%;margin:8px 0 0;color:#8c8180;font:400 13px/1.3 Inter,Arial,sans-serif;text-align:center}
.registration-page .registration-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:28px 5.5% 0;padding:8px 0 0}
.registration-page .registration-trust>div{display:flex;justify-content:center;align-items:center;gap:18px;min-width:0}
.registration-page .registration-trust>div+div{border-left:1px solid #cbbcb5}
.registration-page .registration-trust>div>span{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;color:#92535b}
.registration-page .registration-trust svg{width:42px;height:42px}
.registration-page .registration-trust p{display:grid;gap:1px;margin:0}
.registration-page .registration-trust strong{color:#40383a;font:500 21px/1.15 "Cormorant Garamond",Georgia,serif}
.registration-page .registration-trust small{color:#958b89;font:400 13px/1.3 Inter,Arial,sans-serif}
@media(min-width:701px) and (max-width:1100px){#main>.content.registration-page{padding-right:28px;padding-left:28px}.registration-page .registration-hero{margin-right:-28px;margin-left:-28px}.registration-page .registration-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.registration-page .registration-card:last-child{grid-column:1/-1}.registration-page .registration-trust{margin-right:1%;margin-left:1%}.registration-page .registration-trust>div{gap:10px}}
@media(max-width:900px){#app.registration-app>header:not(.site-header){grid-template-columns:auto minmax(0,1fr);grid-template-areas:"brand actions" "nav nav";height:auto;min-height:94px;padding:10px 22px 12px}#app.registration-app>header:not(.site-header) .wordmark{grid-area:brand}#app.registration-app>header:not(.site-header) nav{grid-area:nav;justify-self:center;gap:clamp(16px,4vw,30px)}#app.registration-app>header:not(.site-header) .header-actions{grid-area:actions;gap:clamp(10px,2vw,18px)}#app.registration-app>header:not(.site-header) .header-actions .registration-signup{min-width:88px;padding:0 15px}}
@media(max-width:700px){#app.registration-app>header:not(.site-header){grid-template-columns:auto minmax(0,1fr);grid-template-areas:"brand actions" "nav nav";min-height:90px;padding:9px 14px 12px}#app.registration-app>header:not(.site-header) .wordmark{font-size:29px}#app.registration-app>header:not(.site-header) .wordmark::after{margin:7px 0 0 13px;font-size:8px}#app.registration-app>header:not(.site-header) nav{gap:clamp(5px,2vw,14px)}#app.registration-app>header:not(.site-header) nav a{font-size:12px}#app.registration-app>header:not(.site-header) .header-actions{gap:12px}.registration-login{font-size:13px}.registration-signup{min-width:78px;height:40px;padding:0 14px;font-size:13px}#main>.content.registration-page{width:100%;padding:0 14px 32px}.registration-page .registration-hero{height:auto;min-height:280px;margin:0 -14px;padding:26px 18px 24px}.registration-page .registration-hero-image{width:60%;height:100%;background-size:auto 108%;background-position:right center;opacity:.42;mask-image:linear-gradient(90deg,transparent 0%,#000 44%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 44%)}.registration-page .registration-hero-copy{max-width:88%}.registration-page .registration-eyebrow{font-size:11px}.registration-page .registration-hero-copy .location-directory-heading{font-size:clamp(44px,12vw,58px);line-height:.96}.registration-page .registration-intro{max-width:390px;font-size:15px}.registration-page .registration-hero::after{display:none}.registration-page .registration-card-grid{grid-template-columns:minmax(0,1fr);gap:14px}.registration-page .registration-card{height:510px;min-height:510px;background-size:cover,auto 100%}.registration-page .registration-card-content{padding:26px 24px 16px}.registration-page .registration-icon{width:66px;height:66px}.registration-page .registration-icon svg{width:34px;height:34px}.registration-page .registration-card h3{font-size:40px}.registration-page .registration-card-kicker{font-size:10px}.registration-page .registration-card ul{width:min(70%,270px);gap:10px}.registration-page .registration-card li{font-size:14px}.registration-page .registration-cta{min-height:52px;font-size:15px}.registration-page .registration-trust{grid-template-columns:1fr;gap:12px;margin:22px 4% 0}.registration-page .registration-trust>div{justify-content:flex-start}.registration-page .registration-trust>div+div{border-top:1px solid #cbbcb5;border-left:0;padding-top:12px}}
@media(prefers-reduced-motion:reduce){.registration-page .registration-cta{transition:none}}
#main > .content {
  width: min(calc(100% - 32px), 1380px);
  max-width: 1380px;
  margin-inline: auto;
  padding: 34px 0 60px;
}
.directory-content {
  width: min(calc(100% - 32px), 1380px);
  max-width: 1380px;
  margin-inline: auto;
  padding: 34px 0 60px;
}
footer { color: var(--text-primary); border-color: var(--line); }

.primary, a.primary, button.primary {
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--primary);
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font: 600 14px/1.25 Inter, Arial, sans-serif;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.primary:hover:not(:disabled), a.primary:hover, button.primary:hover:not(:disabled) {
  border-color: var(--primary-hover);
  background: var(--primary-hover);
}
.outline, a.outline, button.outline {
  min-height: 46px;
  padding: 0 21px;
  border: 1px solid #dcc4cb;
  border-radius: 12px;
  background: transparent;
  color: var(--primary);
  font: 600 14px/1.25 Inter, Arial, sans-serif;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.outline:hover:not(:disabled), a.outline:hover, button.outline:hover:not(:disabled), .subtle:hover {
  border-color: #d5b4bf;
  background: var(--soft);
  color: var(--primary-hover);
}
.text-button, .tertiary { color: var(--primary); transition: color 180ms ease; }
.text-button:hover, .tertiary:hover { color: var(--primary-hover); }
.primary:disabled, .outline:disabled { cursor: not-allowed; opacity: .55; }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

#main input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
#main select, #main textarea, #modal-body input:not([type="checkbox"]):not([type="radio"]),
#modal-body select, #modal-body textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--text-primary);
  font-family: Inter, Arial, sans-serif;
}
#main input::placeholder, #main textarea::placeholder, #modal-body input::placeholder, #modal-body textarea::placeholder { color: var(--text-secondary); opacity: 1; }
#main input:focus, #main select:focus, #main textarea:focus, #modal-body input:focus, #modal-body select:focus, #modal-body textarea:focus { border-color: var(--accent); }
#main input[type="checkbox"], #main input[type="radio"], #modal-body input[type="checkbox"], #modal-body input[type="radio"] { accent-color: var(--primary); }

.filters { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.grid > article[class*="profile-card-"] {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: 0 1px 3px #352d3108;
  transition: box-shadow 180ms ease, transform 180ms ease;
}
.grid > article[class*="profile-card-"]:hover { transform: translateY(-2px); box-shadow: 0 8px 22px #352d3112; }
.profile-card-name, .card-top a.profile-card-identity, .profile-directory-card h2 { font-family: Inter, Arial, sans-serif; font-size: 14px; font-weight: 600; }
.profile-card-age, .city-link, .agency-tag { font-family: Inter, Arial, sans-serif; font-size: 12px; }
.portrait { border-radius: 0; }
.portrait img, .profile-photo, .profile-directory-card img, .editorial-frame img,
.profile-readiness-photo img, .profile-gallery-view img { filter: none; }
.profile-directory-card, .agency-box, .my-profile-card, .profile-readiness-card,
.panel, .form-panel, .agency-page-card, .message-item, .inbox {
  border-color: var(--line);
  border-radius: var(--radius-card);
  background-color: var(--surface);
}
.profile-readiness-card, .my-profile-card, .agency-box, .profile-directory-card {
  box-shadow: 0 1px 3px #352d3108;
}
.profile-readiness-card:hover, .my-profile-card:hover, .agency-box:hover, .profile-directory-card:hover {
  box-shadow: 0 8px 22px #352d3112;
}
.rates-panel, .notice, .log-note, .form .conversion { border-color: var(--line); border-radius: 12px; background: var(--soft); }
.empty, .visitor-empty { border-color: var(--line); border-radius: var(--radius-card); background: var(--soft); }

.verified, .label.confirmed, .status.confirmed, .profile-badge-verified {
  border-color: #d4e4d8;
  background: #e8f1eb;
  color: #416b53;
}
.label.premium, .status.premium, .premium-badge, .profile-badge-premium {
  border-color: #ead3dc;
  background: #f3e3e9;
  color: #913853;
}
.status.pending { border-color: var(--warning); background: #fbf1e2; color: #352d31; }
.status.suspended, .form-error, .error { border-color: #edcdd0; background: #f9e9ea; color: #923a44; }
.status, .status.approved, .status.published { border-color: #d4e4d8; background: #e8f1eb; color: #416b53; }

.crm, .crm-content, .sidebar, .account-panel, .my-space-main, .my-space-sidebar { color: var(--text-primary); }
.crm-content, .account-panel, .my-space-main { background: var(--cream); }
.sidebar, .my-space-sidebar { background: var(--surface); border-color: var(--line); }
table { color: var(--text-primary); }
th { background: var(--soft); color: var(--text-secondary); }
td { border-color: var(--line); }
td .action { border-color: var(--line); border-radius: 8px; color: var(--primary); }
.bar-track, .profile-readiness-track { background: #eee5e4; }
.bar-fill, .profile-readiness-track > span { background: var(--primary); }
.crm-content progress { accent-color: var(--primary); }
.admin-plan-search { display: grid; gap: 6px; max-width: 460px; margin: 16px 0; color: var(--text-secondary); font-size: 13px; }
.admin-plan-assignment { display: flex; align-items: center; gap: 8px; min-width: 300px; }
.admin-plan-assignment select { min-width: 160px; }
.admin-plan-assignment .outline { min-height: 42px; padding-inline: 14px; white-space: nowrap; }

dialog, #modal { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--text-primary); box-shadow: 0 22px 70px #352d3126; }
dialog::backdrop { background: #352d315c; }
.age-screen { background: radial-gradient(ellipse at 18% 12%, #eedbd980, transparent 52%), var(--cream); }
.age-card { color: var(--text-primary); }
.wordmark span, .hero h1 em, .spark { color: var(--accent-secondary); }
.hero { border-color: var(--line); }

@media (max-width: 700px) {
  #app > header:not(.site-header) { display: flex; background: var(--surface); }
  #app > header:not(.site-header) .header-actions { order: 2; margin-left: auto; }
  #app > header:not(.site-header) nav { order: 3; justify-self: auto; }
  .header-space { min-width: 0; min-height: 44px; padding: 0 14px; }
  .directory-content { padding: 26px 16px 40px; }
  .directory-content { width: calc(100% - 32px); padding: 26px 0 40px; }
  #main > .content { width: calc(100% - 32px); padding: 26px 0 40px; }
  .filters { padding: 12px; }
  .grid > article[class*="profile-card-"]:hover { transform: none; }
  .primary, a.primary, button.primary, .outline, a.outline, button.outline { min-height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .primary, .outline, .text-button, .tertiary, .grid > article[class*="profile-card-"] { transition: none; }
}

/* Shared compact profile cards and responsive controls for Explorer and directories. */
.profile-directory-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 2px 8px #352d310d;}
.profile-directory-card .card-top{display:flex;align-items:center;gap:8px;min-height:42px;padding:5px 9px 4px;}
.profile-directory-card .profile-card-identity{display:block;flex:1;min-width:0;max-width:none;line-height:1.2;overflow-wrap:anywhere;}
.profile-directory-card .profile-card-name{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--text-primary);font:600 14px/1.2 Inter,Arial,sans-serif;letter-spacing:-.01em;overflow-wrap:anywhere;}
.profile-directory-card .heart{display:grid;flex:0 0 44px;place-items:center;width:44px;min-height:44px;padding:0;border-radius:50%;color:var(--primary);font-size:22px;}
.profile-directory-card .heart:hover{background:var(--soft);}
.profile-directory-card .portrait{display:block;position:relative;overflow:hidden;aspect-ratio:3/4;border-radius:0;background:#f5e9e7;}
.profile-directory-card .portrait img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 220ms ease;}
.profile-directory-card:hover .portrait img{transform:scale(1.015);}
.profile-directory-card .profile-labels{z-index:1;top:8px;left:8px;right:8px;gap:5px;}
.profile-directory-card .label{border:1px solid #ffffffbf;border-radius:999px;padding:4px 8px;font-size:10px;line-height:1.1;backdrop-filter:blur(8px);}
.profile-directory-card .label.plan-vip,.profile-directory-card .label.plan-premium{background:#f3e3e9;color:#913853;}
.profile-directory-card .label.plan-standard,.profile-directory-card .label.plan-free{background:#ffffffeb;color:#5b5055;}
.profile-directory-card .demo-label{border-radius:999px;padding:4px 8px;background:#ffffffeb;color:#5b5055;font-size:10px;line-height:1.1;}
.profile-directory-card .agency-tag{position:absolute;right:8px;bottom:8px;max-width:calc(100% - 16px);padding:5px 8px;border-radius:999px;background:#352d31b8;color:#fff;font:500 10px/1.2 Inter,Arial,sans-serif;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;}
.profile-directory-card .profile-card-location{display:flex;align-items:center;gap:4px;width:100%;min-height:42px;margin:0;padding:7px 10px;color:var(--text-secondary);background:var(--surface);font:500 12px/1.3 Inter,Arial,sans-serif;text-align:left;}
.profile-directory-card .profile-card-location span{color:var(--text-primary);font-weight:600;overflow-wrap:anywhere;}
.filters .filter-more{min-width:0;position:relative;}
.filters .filter-more summary{display:flex;align-items:center;min-height:44px;cursor:pointer;white-space:nowrap;}
.filters .filter-options{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;}
@media(min-width:1051px){.filters{gap:8px}.filters #search{flex:1 1 180px}.filters #city{flex:0 1 135px}.filters #sort{flex:0 1 145px}.filters .toggle{white-space:nowrap}.filters #clear{flex:0 0 auto}}
@media(min-width:701px) and (max-width:1050px){.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 14px}.filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-areas:'search search country country city clear' 'premium verified available sort sort sort';gap:8px}.filters #search{grid-area:search;width:100%;min-width:0}.filters #country{grid-area:country;width:100%;min-width:0}.filters #city{grid-area:city;width:100%;min-width:0}.filters .toggle:nth-child(4){grid-area:premium;min-width:0;white-space:nowrap}.filters .toggle:nth-child(5){grid-area:verified;min-width:0;white-space:nowrap}.filters .toggle:nth-child(6){grid-area:available;min-width:0;white-space:nowrap}.filters #sort{grid-area:sort;width:100%;min-width:0;flex:initial}.filters #clear{grid-area:clear;width:100%;min-width:0;padding-right:8px;padding-left:8px}.filters:has(.filter-more){grid-template-areas:'search search country country city city' 'more more sort sort clear clear'}.filters:has(.filter-more) .filter-more{grid-area:more}.filters:has(.filter-more) #sort{grid-area:sort}.filters:has(.filter-more) #clear{grid-area:clear}.content{padding-right:4%;padding-left:4%}header:not(.site-header) nav{gap:clamp(10px,2vw,18px)}}
@media(max-width:700px){#app>header:not(.site-header) nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;text-align:center}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 11px}.profile-directory-card{border-radius:12px}.profile-directory-card .card-top{min-height:46px;padding:4px 7px 3px}.profile-directory-card .profile-card-name{font-size:13px}.profile-directory-card .profile-card-location{min-height:42px;padding:6px 8px;font-size:11px}}
@media(max-width:380px){.grid{gap:14px 8px}.profile-directory-card .card-top{padding-right:5px;padding-left:6px}.profile-directory-card .profile-card-name{font-size:12px}}
@media(prefers-reduced-motion:reduce){.profile-directory-card .portrait img{transition:none}}

/* Keep the same editorial canvas and a predictable bottom navigation on touch layouts. */
@media (max-width: 1050px) {
  html, body, #app, #main, main, .content, .directory-content, footer {
    background-color: var(--cream);
  }
  #app { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  body > main { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  #app > header:not(.site-header) nav,
  body > header:not(.site-header) nav {
    position: fixed;
    z-index: 1000;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    width: 100%;
    min-height: 64px;
    margin: 0;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 -5px 18px #352d3112;
    text-align: center;
  }
  #app > header:not(.site-header) nav a,
  body > header:not(.site-header) nav a {
    display: flex;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    border-radius: 10px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: anywhere;
  }
  #app > header:not(.site-header) nav a[aria-current="page"],
  #app > header:not(.site-header) nav a.active,
  body > header:not(.site-header) nav a[aria-current="page"],
  body > header:not(.site-header) nav a.active {
    background: var(--soft);
    color: var(--primary-hover);
  }
  #app > header:not(.site-header) nav a::after,
  body > header:not(.site-header) nav a::after { display: none; }
  #app > header:not(.site-header) nav a:focus-visible,
  body > header:not(.site-header) nav a:focus-visible { outline-offset: -2px; }
}

/* The registration landing keeps its reference header:not(.site-header) navigation at the top on touch layouts. */
@media (max-width: 1050px) {
  #app.registration-app { padding-bottom: 0; }
  #app.registration-app > header:not(.site-header) nav {
    position: static;
    inset: auto;
    z-index: auto;
    display: flex;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    text-align: left;
  }
  #app.registration-app > header:not(.site-header) nav a {
    display: inline-flex;
    min-height: 44px;
    padding: 6px 4px;
    border-radius: 0;
    background: transparent;
    color: #211c1e;
  }
}

/* Free-registration hero: full portrait, independent side and bottom fades, scoped translucent navigation. */
#app.registration-app { position: relative; }
#app.registration-app > header:not(.site-header) {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  width: 100%;
  background: linear-gradient(90deg, rgba(244,238,234,.94) 0%, rgba(244,238,234,.87) 35%, rgba(244,238,234,.48) 60%, rgba(244,238,234,.26) 100%);
  border-bottom-color: rgba(255, 255, 255, .48);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
#app.registration-app > header:not(.site-header) {
  background: linear-gradient(90deg,
    rgba(244,238,234,.96) 0%,
    rgba(244,238,234,.84) 38%,
    rgba(244,238,234,.30) 68%,
    rgba(244,238,234,.12) 100%);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
#main > .content.registration-page { padding-top: 0; }
.registration-page .registration-hero {
  height: clamp(430px, 30vw, 520px);
  min-height: clamp(430px, 30vw, 520px);
  margin: 0 -44px;
  padding: 0 5.4%;
  overflow: visible;
  background: var(--cream, #f4eeea);
}
.registration-page .registration-hero-image {
  z-index: 0;
  top: 0;
  right: 0;
  width: auto;
  height: 100%;
  aspect-ratio: 1672 / 941;
  background-image: none;
  background-size: auto 96%;
  background-position: right 0 top 2%;
  background-repeat: no-repeat;
  mask-image: none;
  -webkit-mask-image: none;
  pointer-events: none;
}
.registration-page .registration-hero-image > img {
  position: absolute;
  z-index: 0;
  top: 12px;
  right: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 12px);
  max-width: none;
  object-fit: contain;
  object-position: right top;
}
.registration-page .registration-hero-image::before,
.registration-page .registration-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.registration-page .registration-hero-image::before {
  background: linear-gradient(90deg,
    var(--cream, #f4eeea) 0%,
    rgba(244, 238, 234, .97) 10%,
    rgba(244, 238, 234, .78) 32%,
    rgba(244, 238, 234, .34) 52%,
    rgba(244, 238, 234, .08) 68%,
    transparent 78%);
}
.registration-page .registration-hero-image::after {
  background: linear-gradient(180deg,
    transparent 45%,
    rgba(244, 238, 234, .28) 64%,
    rgba(244, 238, 234, .78) 88%,
    var(--cream, #f4eeea) 100%);
}
.registration-page .registration-hero-copy {
  z-index: 2;
  max-width: 66%;
  padding-top: 122px;
}
.registration-page .registration-hero-script {
  position: absolute;
  z-index: 2;
  top: 128px;
  right: 2.7%;
  width: 140px;
  color: #793f4a;
  font: italic 27px/1.12 "Cormorant Garamond", Georgia, serif;
  text-align: center;
  transform: rotate(-7deg);
  pointer-events: none;
}
.registration-page .registration-hero-script span { display: inline-block; margin-top: 3px; font: 32px/1 Georgia, serif; }
.registration-page .registration-hero::after { content: none; }
.registration-page .registration-card-grid {
  margin-top: calc(314px - clamp(430px, 30vw, 520px));
}
@media (min-width: 701px) and (max-width: 1100px) {
  .registration-page .registration-hero { margin-right: -28px; margin-left: -28px; }
  .registration-page .registration-hero-copy { max-width: 72%; }
  .registration-page .registration-hero-image { right: -10px; }
}
@media (max-width: 700px) {
  #app.registration-app > header:not(.site-header) {
    background: linear-gradient(90deg,
      rgba(244,238,234,.96) 0%,
      rgba(244,238,234,.78) 45%,
      rgba(244,238,234,.22) 100%);
  }
  #app.registration-app > header:not(.site-header) {
    position: absolute;
    inset: 0 0 auto;
    min-height: 90px;
    background: linear-gradient(90deg, rgba(244,238,234,.96) 0%, rgba(244,238,234,.68) 45%, rgba(244,238,234,.08) 100%);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
  #main > .content.registration-page { padding-top: 0; }
  .registration-page .registration-hero {
    height: 390px;
    min-height: 390px;
    margin: 0 -14px;
    padding: 0 18px;
    overflow: visible;
    background: var(--cream, #f4eeea);
  }
  .registration-page .registration-hero-image {
    top: 0;
    right: 0;
    width: 100%;
    height: 300px;
    aspect-ratio: auto;
    background-size: auto 300px;
    background-position: right top;
  }
  .registration-page .registration-hero-image::before {
    background: linear-gradient(90deg,
      var(--cream, #f4eeea) 0%,
      rgba(244, 238, 234, .96) 16%,
      rgba(244, 238, 234, .76) 36%,
      rgba(244, 238, 234, .30) 55%,
      transparent 72%);
  }
  .registration-page .registration-hero-image::after {
    background: linear-gradient(180deg,
      transparent 38%,
      rgba(244, 238, 234, .30) 63%,
      rgba(244, 238, 234, .82) 88%,
      var(--cream, #f4eeea) 100%);
  }
  .registration-page .registration-hero-copy {
    max-width: 100%;
    padding-top: 112px;
  }
  .registration-page .registration-hero-copy .location-directory-heading {
    max-width: 100%;
    font-size: clamp(42px, 11.5vw, 52px);
  }
  .registration-page .registration-intro {
    max-width: 94%;
    font-size: 14px;
  }
  .registration-page .registration-hero-script { display: none; }
  .registration-page .registration-card-grid { margin-top: -70px; }
}#app.registration-app > header:not(.site-header) nav a,
#app.registration-app > header:not(.site-header) .registration-login,
#app.registration-app > header:not(.site-header) .wordmark { text-shadow: 0 1px 10px rgba(250,246,243,.85); }@media (min-width: 701px) {
  .registration-page .registration-hero-image {
    height: calc(clamp(430px, 30vw, 520px) + 250px);
  }
  .registration-page .registration-hero-image::after {
    background: linear-gradient(180deg,
      transparent 0%,
      transparent calc(100% - 380px),
      rgba(244, 238, 234, .28) calc(100% - 325px),
      rgba(244, 238, 234, .78) calc(100% - 270px),
      var(--cream, #f4eeea) calc(100% - 250px),
      var(--cream, #f4eeea) 100%);
  }
}
@media (max-width: 700px) {
  .registration-page .registration-hero { height: 410px; min-height: 410px; }
  .registration-page .registration-hero-copy { padding-top: 136px; }
  .registration-page .registration-hero-image { opacity: .92; }
  .registration-page .registration-hero-image > img {
    object-fit: cover;
    object-position: left top;
  }
  .registration-page .registration-hero-image::before {
    background: linear-gradient(90deg,
      var(--cream, #f4eeea) 0%,
      rgba(244, 238, 234, .94) 16%,
      rgba(244, 238, 234, .68) 36%,
      rgba(244, 238, 234, .20) 55%,
      transparent 72%);
  }
}

/* Compact registration composition and a true handwritten accent. */
.registration-page .registration-hero-script {
  right: 2%;
  width: 180px;
  color: #793f4a;
  font: 400 21px/1.16 "Segoe Script", "Brush Script MT", cursive;
  font-style: normal;
  letter-spacing: -.035em;
}
.registration-page .registration-hero-script span {
  margin-top: 2px;
  font: 400 29px/1 "Segoe Script", "Brush Script MT", cursive;
}
.registration-page .registration-card {
  height: 500px;
  min-height: 500px;
  border-radius: 18px;
}
.registration-page .registration-card-content { padding: 28px 28px 14px; }
.registration-page .registration-icon { width: 66px; height: 66px; }
.registration-page .registration-icon svg { width: 35px; height: 35px; }
.registration-page .registration-card h3 { font-size: clamp(34px, 2.8vw, 42px); }
.registration-page .registration-card-kicker { margin: 6px 0 16px; font-size: 10px; }
.registration-page .registration-card ul { gap: 9px; margin-bottom: 14px; }
.registration-page .registration-card li { gap: 8px; font-size: 14px; line-height: 1.28; }
.registration-page .registration-card li span { flex-basis: 21px; width: 21px; height: 21px; font-size: 13px; }
.registration-page .registration-cta { min-height: 52px; gap: 16px; font-size: 16px; }
.registration-page .registration-join-note { margin-top: 6px; font-size: 12px; }
.registration-page .registration-trust { margin-top: 20px; }

@media (min-width: 701px) {
  .registration-page .registration-hero-image { height: clamp(430px, 25vw, 480px); }
  .registration-page .registration-hero-image::after {
    background: linear-gradient(180deg,
      transparent 0%,
      transparent calc(100% - 180px),
      rgba(244, 238, 234, .28) calc(100% - 130px),
      rgba(244, 238, 234, .78) calc(100% - 80px),
      var(--cream, #f4eeea) calc(100% - 50px),
      var(--cream, #f4eeea) 100%);
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .registration-page .registration-card { height: 480px; min-height: 480px; }
  .registration-page .registration-card-content { padding: 24px 22px 14px; }
}

@media (max-width: 700px) {
  .registration-page .registration-hero-script { display: none; }
  .registration-page .registration-card { height: 450px; min-height: 450px; }
  .registration-page .registration-card-content { padding: 22px 20px 14px; }
  .registration-page .registration-icon { width: 56px; height: 56px; }
  .registration-page .registration-icon svg { width: 30px; height: 30px; }
  .registration-page .registration-card h3 { font-size: 36px; }
  .registration-page .registration-card-kicker { margin-bottom: 12px; }
  .registration-page .registration-card ul { width: min(74%, 270px); gap: 8px; }
  .registration-page .registration-card li { font-size: 13px; }
  .registration-page .registration-cta { min-height: 48px; font-size: 14px; }
}

/* Registration-only header:not(.site-header) overlay; keep the shared mobile bottom navigation intact. */
#app:has(main .registration-page) { position: relative; }
#app > header:not(.site-header):has(+ main .registration-page) {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  width: 100%;
  background: linear-gradient(90deg,
    rgba(244, 238, 234, .94) 0%,
    rgba(244, 238, 234, .82) 38%,
    rgba(244, 238, 234, .30) 68%,
    rgba(244, 238, 234, .16) 100%);
  border-bottom-color: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

/* Shared public site system. Page styles belong in their own bundles; these
   tokens and component contracts define the common shell, profile cards and footer. */
:root {
  --site-ivory: #f4eeea;
  --site-surface: #ffffff;
  --site-powder: #f5e9e7;
  --site-rose: #c7798e;
  --site-berry: #ad496b;
  --site-berry-hover: #913853;
  --site-ink: #352d31;
  --site-muted: #786d72;
  --site-line: #e9deda;
  --site-content-max: 1380px;
  --site-page-gutter: 24px;
  --site-card-radius: 14px;
  --site-card-gap: 14px;
  --ink: var(--site-ink);
  --text-primary: var(--site-ink);
  --muted: var(--site-muted);
  --text-secondary: var(--site-muted);
  --cream: var(--site-ivory);
  --line: var(--site-line);
  --accent: var(--site-rose);
  --primary: var(--site-berry);
  --primary-hover: var(--site-berry-hover);
  --white: var(--site-surface);
  --surface: var(--site-surface);
  --soft: var(--site-powder);
}

html, body, #app { background: var(--site-ivory); color: var(--site-ink); }
#main > .content:not(.catalogue-page-shell):not(.registration-page):not(.catalogue-page) {
  box-sizing: border-box;
  width: min(calc(100% - var(--site-page-gutter) * 2), var(--site-content-max));
  max-width: var(--site-content-max);
  margin-inline: auto;
  padding: 34px 0 60px;
}
#main > .content.catalogue-page-shell { width: 100%; max-width: none; margin: 0; padding: 0; }

/* One profile-card contract across Girls, VIP, Trans and agency rosters.
   Existing template classes remain as behavior hooks for the SPA and favorites. */
.site-profile-grid,
.catalogue-profile-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: var(--site-card-gap);
}
.profile-directory-card {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .88);
  border-radius: var(--site-card-radius);
  background: #e8d8d0;
  box-shadow: 0 3px 10px rgb(65 36 29 / .08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.profile-directory-card:hover { transform: translateY(-2px); box-shadow: 0 7px 16px rgb(65 36 29 / .14); }
.profile-directory-card::after {
  position: absolute;
  inset: 42% 0 0;
  z-index: 1;
  background: linear-gradient(0deg, rgb(16 12 11 / .82), rgb(16 12 11 / .30) 38%, transparent);
  content: "";
  pointer-events: none;
}
.profile-directory-card .catalogue-profile-link,
.profile-directory-card .portrait {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: #e8d8d0;
}
.profile-directory-card .catalogue-profile-link img,
.profile-directory-card .portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform 180ms ease;
}
.profile-directory-card:hover .catalogue-profile-link img,
.profile-directory-card:hover .portrait img { transform: scale(1.025); }
.profile-directory-card .photo-empty { display: grid; width: 100%; height: 100%; place-items: center; color: #fff; }
.profile-directory-card .catalogue-profile-top,
.profile-directory-card .card-top {
  position: absolute;
  z-index: 3;
  inset: 8px 8px auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 5px;
  padding: 0;
  pointer-events: none;
}
.profile-directory-card .card-top { inset: 0; display: block; pointer-events: none; }
.profile-directory-card .profile-card-identity { max-width: calc(100% - 32px); color: #fff; pointer-events: auto; }
.profile-directory-card .card-top .profile-card-identity { position: absolute; right: 42px; bottom: 34px; left: 10px; max-width: none; }
.profile-directory-card .card-top .heart { position: absolute; top: 8px; right: 8px; margin: 0; }
.profile-directory-card .profile-card-name,
.profile-directory-card .catalogue-profile-name {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font: 600 clamp(17px, 1.35vw, 22px)/1.02 "Cormorant Garamond", Georgia, serif;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px #211;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.profile-directory-card .catalogue-profile-copy {
  position: absolute;
  z-index: 3;
  inset: auto 10px 10px;
  display: grid;
  gap: 3px;
  color: #fff;
  pointer-events: none;
}
.profile-directory-card .profile-card-location,
.profile-directory-card .catalogue-profile-location {
  position: absolute;
  z-index: 3;
  inset: auto 10px 9px;
  display: block;
  overflow: hidden;
  padding: 0;
  color: #fff3ee;
  font: 500 11px/1.2 Inter, Arial, sans-serif;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px #211;
  white-space: nowrap;
  pointer-events: none;
}
.profile-directory-card .profile-card-location {
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}
.profile-directory-card .profile-card-location span { color: inherit; font-weight: 600; }
.profile-directory-card .catalogue-profile-copy .catalogue-profile-location { position: static; }
.profile-directory-card .catalogue-profile-copy button.catalogue-profile-location { width: max-content; max-width: 100%; border: 0; background: transparent; text-align: left; pointer-events: auto; cursor: pointer; }
.profile-directory-card .profile-labels { position: absolute; z-index: 3; inset: 8px auto auto 8px; display: flex; gap: 4px; }
.profile-directory-card .card-top .profile-labels,
.profile-directory-card .catalogue-profile-top .profile-labels { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
.profile-directory-card .label,
.profile-directory-card .catalogue-plan,
.profile-directory-card .catalogue-verified,
.profile-directory-card .demo-label {
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid rgb(255 255 255 / .65);
  border-radius: 999px;
  color: #59423c;
  background: rgb(255 247 235 / .94);
  font: 600 10px/1 Inter, Arial, sans-serif;
}
.profile-directory-card .label.plan-vip,
.profile-directory-card .catalogue-plan-vip { color: #7b3d36; background: #f7dfad; }
.profile-directory-card .label.plan-premium,
.profile-directory-card .catalogue-plan-premium { color: #823f54; background: #f5dce3; }
.profile-directory-card .label.plan-standard { color: #59423c; }
.profile-directory-card .catalogue-verified { color: #37684d; background: #e6f1e8; }
.profile-directory-card .catalogue-heart,
.profile-directory-card .heart {
  position: relative;
  z-index: 4;
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  margin: 0 0 0 auto;
  padding: 0;
  border: 1px solid rgb(255 255 255 / .75);
  border-radius: 50%;
  color: #fff;
  background: rgb(42 29 26 / .35);
  font: 18px/1 Arial, sans-serif;
  pointer-events: auto;
  cursor: pointer;
}
.profile-directory-card .agency-tag { display: none; }
.profile-directory-card .catalogue-profile-link { z-index: 0; }
.catalogue-profile-grid.is-list { grid-template-columns: 1fr; }
.catalogue-profile-grid.is-list .profile-directory-card { aspect-ratio: auto; min-height: 100px; }
.catalogue-profile-grid.is-list .catalogue-profile-link img { width: 72px; }
.catalogue-profile-grid.is-list .profile-directory-card::after { inset: 0 0 0 72px; background: linear-gradient(90deg, transparent, rgb(16 12 11 / .78)); }
.catalogue-profile-grid.is-list .catalogue-profile-copy { inset: 20px auto 20px 86px; }

/* The same dark footer markup is used by rendered PHP pages and the SPA shell. */
#app > footer.site-footer,
.site-footer {
  display: grid;
  grid-template-columns: minmax(210px, 1.5fr) repeat(3, minmax(130px, 1fr));
  gap: 26px 36px;
  align-items: start;
  margin: 0;
  padding: 38px max(24px, calc((100% - var(--site-content-max)) / 2)) 20px;
  border: 0;
  color: #f8eeea;
  background: radial-gradient(ellipse at 75% 15%, rgb(113 68 55 / .22), transparent 48%), #211311;
}
.site-footer .site-footer-brand .wordmark { color: #fff8f4; font: 500 34px/1 Georgia, serif; }
.site-footer p { margin: 10px 0 0; color: #d8c8c2; font: 13px/1.55 Inter, Arial, sans-serif; }
.site-footer h2 { margin: 3px 0 10px; color: #fff8f4; font: 600 14px/1.3 Inter, Arial, sans-serif; }
.site-footer nav { display: grid; justify-items: start; gap: 7px; }
.site-footer nav a { padding: 0; color: #eadbd6; font: 13px/1.45 Inter, Arial, sans-serif; }
.site-footer a:hover { color: #f0a9b9; }
.site-footer .catalogue-disclaimer { grid-column: 1 / -1; max-width: 1050px; margin: 2px 0 0; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .17); color: #cbbab4; font-size: 11px; }
.site-footer .site-footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; padding-top: 13px; border-top: 1px solid rgb(255 255 255 / .12); color: #cbbab4; font: 11px/1.4 Inter, Arial, sans-serif; }
#app:has(.catalogue-page) > footer.site-footer { display: grid; }

.agency-directory-card,
.agency-hero,
.agency-empty { border-color: var(--site-line); border-radius: var(--site-card-radius); background: var(--site-surface); box-shadow: 0 3px 12px rgb(65 36 29 / .045); }
.agency-directory-grid { gap: var(--site-card-gap); }

@media (max-width: 1100px) {
  .site-profile-grid, .catalogue-profile-grid:not(.is-list) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  :root { --site-page-gutter: 18px; --site-card-gap: 10px; }
  .site-profile-grid, .catalogue-profile-grid:not(.is-list) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #app > footer.site-footer, .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding: 30px 20px 18px; }
}
@media (max-width: 560px) {
  :root { --site-page-gutter: 14px; --site-card-gap: 8px; }
  .site-profile-grid, .catalogue-profile-grid:not(.is-list) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-directory-card { border-radius: 10px; }
  .profile-directory-card .catalogue-profile-top, .profile-directory-card .card-top { inset: 6px 6px auto; }
  .profile-directory-card .card-top { top: auto; bottom: 33px; }
  .profile-directory-card .catalogue-profile-copy { inset: auto 7px 7px; }
  .profile-directory-card .profile-card-location, .profile-directory-card .catalogue-profile-location { inset: auto 7px 7px; font-size: 10px; }
  .profile-directory-card .profile-card-name, .profile-directory-card .catalogue-profile-name { font-size: clamp(16px, 5vw, 21px); }
  #app > footer.site-footer, .site-footer { grid-template-columns: 1fr 1fr; gap: 20px 14px; padding: 26px 16px 16px; }
  .site-footer .catalogue-disclaimer, .site-footer .site-footer-bottom { grid-column: 1 / -1; }
  .site-footer .site-footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-directory-card, .profile-directory-card img { transition: none !important; }
}

/* One public header:not(.site-header) and one profile-card caption contract for every route. */
#app > header:not(.site-header),
#app.registration-app > header:not(.site-header),
#app:has(.catalogue-page) > header:not(.site-header) {
  z-index: 20;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  height: 68px;
  min-height: 68px;
  margin: 0;
  padding: 10px clamp(20px, 4.2vw, 64px);
  color: #211b1b;
  background: linear-gradient(90deg,
    rgba(244,238,234,.94) 0%,
    rgba(244,238,234,.82) 38%,
    rgba(244,238,234,.30) 68%,
    rgba(244,238,234,.16) 100%);
  border-bottom: 1px solid rgba(255,255,255,.5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
#app > header:not(.site-header) { position: relative; }
#app:has(.catalogue-page) > header:not(.site-header) { position: absolute; inset: 0 0 auto; }
#app > header:not(.site-header) .wordmark,
#app.registration-app > header:not(.site-header) .wordmark { justify-self: start; color: #211b1b; }
#app.registration-app > header:not(.site-header) .wordmark {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  font: 500 36px/1 Georgia, "Cormorant Garamond", serif;
  letter-spacing: -2px;
  text-transform: none;
  text-decoration: none;
}
#app.registration-app > header:not(.site-header) .wordmark span { display: inline; }
#app.registration-app > header:not(.site-header) .wordmark::after { content: none; }
#app > header:not(.site-header) nav,
#app.registration-app > header:not(.site-header) nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: clamp(14px, 2vw, 28px);
  margin: 0;
}
#app > header:not(.site-header) nav a,
#app.registration-app > header:not(.site-header) nav a { color: #392c2b; }
#app > header:not(.site-header) nav a:hover,
#app > header:not(.site-header) nav a[aria-current="page"],
#app.registration-app > header:not(.site-header) nav a:hover,
#app.registration-app > header:not(.site-header) nav a[aria-current="page"] { color: var(--primary, #ad496b); }
#app > header:not(.site-header) .header-actions,
#app.registration-app > header:not(.site-header) .header-actions { justify-self: end; gap: 16px; margin: 0; }
#app > header:not(.site-header) .header-actions a,
#app.registration-app > header:not(.site-header) .header-actions a { border-radius: 999px; }

@media (max-width: 1050px) {
  #app.registration-app { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  #app.registration-app > header:not(.site-header) {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: none;
    height: 68px;
    min-height: 68px;
    padding: 8px 18px;
  }
  #app.registration-app > header:not(.site-header) nav {
    position: fixed;
    z-index: 1000;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    width: 100%;
    min-height: 64px;
    margin: 0;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
    box-shadow: 0 -5px 18px #352d3112;
    text-align: center;
  }
  #app.registration-app > header:not(.site-header) nav a {
    display: flex;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    border-radius: 10px;
    color: var(--primary, #ad496b);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: anywhere;
  }
  #app.registration-app > header:not(.site-header) nav a:hover,
  #app.registration-app > header:not(.site-header) nav a[aria-current="page"] { color: var(--primary, #ad496b); }
}
@media (max-width: 560px) {
  .profile-directory-card .profile-card-location { inset: auto 7px 7px; font-size: 10px; }
}

/* Shared official Velora logo sizing for SPA and server-rendered page chrome. */
.wordmark:has(> .brand-logo) { display: inline-flex; align-items: center; justify-self: start; width: clamp(132px, 12vw, 178px); height: 58px; overflow: visible; color: inherit; font-size: 0 !important; line-height: 0; letter-spacing: 0; text-decoration: none; text-transform: none; }
.wordmark:has(> .brand-logo)::after { content: none !important; }
.wordmark > .brand-logo { display: block; width: 100%; height: 100%; max-height: 58px; object-fit: contain; object-position: left center; }
#app > footer.site-footer .site-footer-brand > .wordmark:has(> .brand-logo) { width: 168px; height: 56px; }
#app > footer.site-footer .site-footer-brand > .wordmark > .brand-logo { max-height: 56px; filter: brightness(0) invert(1); }
.age-card > .wordmark:has(> .brand-logo) { width: min(178px, 58vw); height: 60px; margin-bottom: 28px; }
@media (max-width: 700px) {
  #app > header:not(.site-header) .wordmark:has(> .brand-logo) { width: 126px; height: 44px; }
  #app > header:not(.site-header) .wordmark > .brand-logo { max-height: 44px; }
  #app > footer.site-footer .site-footer-brand > .wordmark:has(> .brand-logo) { width: 150px; height: 50px; }
  #app > footer.site-footer .site-footer-brand > .wordmark > .brand-logo { max-height: 50px; }
}
/* Whole registration cards are accessible links, including their images. */
.registration-page a.registration-card{color:inherit;text-decoration:none}
.registration-page a.registration-card:focus-visible{outline:3px solid #173334;outline-offset:4px}
.registration-page a.registration-card:hover .registration-cta{background:#913853!important}
