/* ============================================================
   ModelsGT — "White & Gold" design system
   Modern light editorial theme: variable fonts, glassmorphism,
   gradient type, fluid spacing, scroll-driven reveals.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;

  /* palette */
  --bg: #fcfaf5;
  --bg-raise: #f5efe3;
  --card: #ffffff;
  --card-soft: #fffdf8;
  --line: rgba(138, 101, 38, 0.16);
  --line-strong: rgba(138, 101, 38, 0.3);
  --ink: #231c11;
  --ink-soft: #4c422f;
  --muted: #7d7260;
  --faint: #a89c86;
  --gold: #b08a3e;
  --gold-bright: #d8b36b;
  --gold-pale: #f1dca4;
  --gold-deep: #8a6526;
  --success: #1e7d56;
  --danger: #b03030;

  /* effects */
  --glass: saturate(160%) blur(20px);
  --shadow: 0 30px 80px rgba(138, 101, 38, 0.16);
  --soft-shadow: 0 14px 40px rgba(138, 101, 38, 0.1);
  --glow: 0 0 0 1px rgba(176, 138, 62, 0.28), 0 18px 60px rgba(176, 138, 62, 0.16);

  /* shape + rhythm */
  --radius: 22px;
  --radius-sm: 14px;
  --pill: 999px;
  --container: min(1240px, calc(100% - clamp(32px, 6vw, 72px)));
  --section-gap: clamp(72px, 10vw, 140px);

  /* type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", Inter, Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 540px at 85% -10%, rgba(216, 179, 107, 0.18), transparent 64%),
    radial-gradient(760px 520px at -12% 8%, rgba(241, 220, 164, 0.22), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.age-gate-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

::selection {
  background: rgba(216, 179, 107, 0.4);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(138, 101, 38, 0.28);
  border-radius: var(--pill);
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(138, 101, 38, 0.5);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- typography ---------- */

h1,
h2,
h3,
p {
  margin-top: 0;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 800px;
  font-size: clamp(52px, 9vw, 124px);
  line-height: 0.94;
  background: linear-gradient(120deg, var(--ink) 25%, var(--gold-deep) 62%, var(--gold) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--ink);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.02;
}

h3 {
  margin-bottom: 0;
  font-size: 23px;
  line-height: 1.15;
}

.eyebrow,
.section-kicker,
.category {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 60px);
  background: linear-gradient(180deg, rgba(252, 250, 245, 0.92), rgba(252, 250, 245, 0.72));
  border-bottom: 1px solid var(--line);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #ffffff;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 26px rgba(176, 138, 62, 0.35);
}

img.brand-mark {
  background: transparent;
  box-shadow: 0 8px 26px rgba(176, 138, 62, 0.3);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav a {
  position: relative;
  padding: 8px 0;
  transition: color 200ms var(--ease-out);
}

nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease-out);
}

nav a:hover {
  color: var(--ink);
}

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.hero-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--pill);
  padding: 14px 28px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out),
    background 220ms var(--ease-out), border-color 220ms var(--ease-out), color 220ms var(--ease-out);
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 600ms var(--ease-out);
  pointer-events: none;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::after {
  transform: translateX(120%);
}

.button:active {
  transform: translateY(0);
}

.button.primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #ffffff;
  box-shadow: 0 14px 38px rgba(176, 138, 62, 0.35);
}

.button.primary:hover {
  box-shadow: 0 20px 50px rgba(176, 138, 62, 0.45);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  border-color: var(--line-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.button.secondary:hover {
  border-color: var(--gold);
  background: rgba(241, 220, 164, 0.25);
}

.button.danger {
  background: rgba(176, 48, 48, 0.08);
  border-color: rgba(176, 48, 48, 0.35);
  color: var(--danger);
}

.button.danger:hover {
  background: rgba(176, 48, 48, 0.16);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(860px, calc(100svh - 76px));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px) saturate(112%);
  transform: scale(1.1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(720px 420px at 78% 18%, rgba(241, 220, 164, 0.35), transparent 70%),
    linear-gradient(90deg, rgba(252, 250, 245, 0.96), rgba(252, 250, 245, 0.72) 55%, rgba(252, 250, 245, 0.38)),
    linear-gradient(0deg, var(--bg), rgba(252, 250, 245, 0.5) 36%, rgba(252, 250, 245, 0.2));
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 380px);
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  width: var(--container);
  margin: clamp(64px, 12vw, 130px) auto clamp(48px, 8vw, 100px);
  color: var(--ink);
}

.hero-copy {
  max-width: 760px;
}

.hero .eyebrow {
  color: var(--gold-deep);
}

.hero-copy p:not(.eyebrow) {
  max-width: 580px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: 500;
  line-height: 1.65;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  box-shadow: var(--soft-shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176, 138, 62, 0.65), transparent);
}

.hero-panel span {
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin: 14px 0 10px;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.08;
}

.hero-panel p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: var(--container);
  margin: 0 auto clamp(36px, 5vw, 56px);
  border-top: 1px solid rgba(138, 101, 38, 0.24);
  color: var(--muted);
}

.hero-stats span {
  display: flex;
  min-height: 84px;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-right: 1px solid rgba(138, 101, 38, 0.18);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.hero-stats span:last-child {
  border-right: 0;
}

.hero-stats strong {
  font-family: var(--font-display);
  color: var(--gold-deep);
  font-size: 32px;
  font-weight: 600;
}

/* ---------- intro band ---------- */

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 40px;
  align-items: end;
  width: var(--container);
  margin: 0 auto;
  padding: var(--section-gap) 0 clamp(36px, 5vw, 52px);
}

.intro-band p:last-child {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

/* ---------- service strip ---------- */

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: var(--container);
  margin: 0 auto var(--section-gap);
}

.service-strip article {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 30px;
  background: linear-gradient(180deg, var(--card), var(--card-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out),
    box-shadow 280ms var(--ease-out);
}

.service-strip article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176, 138, 62, 0.55), transparent);
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
}

.service-strip article:hover {
  transform: translateY(-6px);
  border-color: rgba(176, 138, 62, 0.45);
  box-shadow: var(--glow);
}

.service-strip article:hover::before {
  opacity: 1;
}

.service-strip span {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-strip h3 {
  margin-top: 42px;
}

.service-strip p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- details / bento ---------- */

.details-section {
  width: var(--container);
  margin: 0 auto var(--section-gap);
}

.details-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 30px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.details-grid article {
  padding: 28px;
  background: linear-gradient(180deg, var(--card), var(--card-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out);
}

.details-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 138, 62, 0.42);
}

.details-grid h3 {
  margin-bottom: 18px;
  font-size: 20px;
}

.details-grid ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.55;
}

.details-grid li {
  position: relative;
  padding-left: 20px;
}

.details-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* ---------- roster ---------- */

.roster-shell {
  position: relative;
  padding: var(--section-gap) 0;
  background:
    radial-gradient(820px 460px at 12% 0%, rgba(216, 179, 107, 0.16), transparent 65%),
    radial-gradient(720px 480px at 92% 100%, rgba(241, 220, 164, 0.2), transparent 60%),
    var(--bg-raise);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  width: var(--container);
  margin: 0 auto 38px;
}

.search-field {
  display: grid;
  gap: 8px;
  width: min(380px, 100%);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.search-field input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  padding: 0 20px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.search-field input::placeholder {
  color: var(--faint);
}

.search-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(176, 138, 62, 0.16);
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: var(--container);
  margin: 0 auto;
}

.model-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  box-shadow: var(--soft-shadow);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out),
    border-color 320ms var(--ease-out);
}

.model-card:hover {
  transform: translateY(-8px);
  border-color: rgba(176, 138, 62, 0.5);
  box-shadow: var(--shadow), 0 0 0 1px rgba(176, 138, 62, 0.22);
}

.model-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bg-raise);
  overflow: hidden;
}

.model-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 48%;
  background: linear-gradient(0deg, rgba(35, 28, 17, 0.66), transparent);
  pointer-events: none;
}

.model-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.model-carousel,
.model-carousel img {
  width: 100%;
  height: 100%;
}

.model-carousel img {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms var(--ease-out), transform 600ms var(--ease-out);
}

.model-carousel img.is-active {
  opacity: 1;
  pointer-events: auto;
}

.model-card:hover .model-photo img.is-active,
.model-card:hover .model-photo img:only-child {
  transform: scale(1.06);
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 220ms var(--ease-out), background 220ms var(--ease-out);
}

.model-card:hover .carousel-button,
.carousel-button:focus-visible {
  opacity: 1;
}

.carousel-button:hover {
  background: var(--gold);
  color: #ffffff;
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

.carousel-count {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--pill);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge,
.model-location {
  position: absolute;
  z-index: 2;
  border-radius: var(--pill);
  padding: 7px 13px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge {
  left: 14px;
  top: 14px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(176, 138, 62, 0.4);
}

.model-location {
  right: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.model-body {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 18px;
  padding: 24px;
}

.model-body .category {
  margin-bottom: 6px;
}

.model-body h3 {
  font-size: 26px;
}

dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 16px;
  margin: 0;
}

dt {
  color: var(--faint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  line-height: 1.35;
  color: var(--ink-soft);
  font-weight: 600;
}

.experience {
  min-height: 54px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.card-button {
  width: 100%;
  margin-top: auto;
  background: #ffffff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.card-button:hover {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 14px 38px rgba(176, 138, 62, 0.35);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 36px;
  background: var(--card);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

/* ---------- booking band ---------- */

.booking-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 0;
  width: var(--container);
  margin: var(--section-gap) auto;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}

.booking-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176, 138, 62, 0.55), transparent);
}

.booking-copy {
  display: flex;
  min-height: 460px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(34px, 5vw, 72px);
}

.booking-copy p:not(.section-kicker) {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.booking-copy .button {
  margin-top: 34px;
}

.booking-photo {
  position: relative;
  min-height: 460px;
}

.booking-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--card), transparent 45%);
  pointer-events: none;
}

.booking-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(106%);
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(18px, 4vw, 60px) 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer > span:first-child {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: flex-end;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.site-footer a {
  color: var(--muted);
  transition: color 200ms var(--ease-out);
}

.site-footer a:hover {
  color: var(--gold-deep);
}

/* ---------- legal / SEO pages ---------- */

.legal-page {
  min-height: calc(100svh - 76px);
  display: grid;
  align-content: center;
  padding: clamp(72px, 12vw, 130px) clamp(18px, 6vw, 90px);
}

.legal-page section {
  max-width: 860px;
}

.legal-page h1 {
  max-width: 800px;
  margin: 0 0 24px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.98;
}

.legal-page p {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.legal-page .button {
  margin-top: 24px;
}

/* ---------- editorial, location and profile pages ---------- */

.content-hero {
  display: grid;
  min-height: 520px;
  align-items: end;
  padding: clamp(110px, 15vw, 180px) max(5vw, calc((100vw - 1200px) / 2)) clamp(64px, 8vw, 100px);
  background:
    radial-gradient(700px 380px at 85% 10%, rgba(216, 179, 107, 0.2), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.content-hero > div {
  max-width: 960px;
}

.content-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.98;
}

.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.7;
}

.content-hero .lead {
  margin-top: 24px;
}

.editorial-section {
  padding: var(--section-gap) 0;
  background: var(--bg-raise);
}

.section-heading {
  width: var(--container);
  max-width: 850px;
  margin: 0 auto 38px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: var(--container);
  margin: var(--section-gap) auto;
}

.editorial-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editorial-grid article {
  padding: clamp(26px, 4vw, 44px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.editorial-grid h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.editorial-grid p {
  color: var(--muted);
  line-height: 1.75;
}

.editorial-grid a:not(.button),
.text-link {
  color: var(--gold-deep);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cta-band {
  display: flex;
  width: var(--container);
  margin: var(--section-gap) auto;
  padding: clamp(30px, 5vw, 64px);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--ink);
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
}

.cta-band > div {
  max-width: 720px;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.card-actions {
  display: grid;
  gap: 13px;
  margin-top: auto;
  text-align: center;
}

.breadcrumbs {
  display: flex;
  width: var(--container);
  margin: 105px auto 28px;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--gold-deep);
}

.profile-page {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  width: var(--container);
  margin: 0 auto var(--section-gap);
  align-items: start;
}

.profile-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.profile-gallery img:first-child {
  grid-column: 1 / -1;
}

.profile-copy {
  position: sticky;
  top: 110px;
}

.profile-copy h1 {
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.98;
}

.profile-facts {
  margin: 34px 0;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.policy-page {
  min-height: 100vh;
}

/* ---------- age gate ---------- */

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(35, 28, 17, 0.45);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
}

.age-gate[hidden] {
  display: none;
}

.age-gate-panel {
  position: relative;
  width: min(100%, 540px);
  overflow: hidden;
  padding: clamp(30px, 5vw, 48px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  animation: gate-in 480ms var(--ease-out) both;
}

.age-gate-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176, 138, 62, 0.65), transparent);
}

.age-gate-panel h2 {
  margin: 10px 0 16px;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 0.98;
  background: linear-gradient(120deg, var(--ink) 30%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.age-gate-panel p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.65;
}

.age-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.age-gate-actions .button {
  flex: 1;
  min-width: 190px;
}

@keyframes gate-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- admin ---------- */

.admin-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(360px, 1.22fr);
  gap: 22px;
  padding: 54px clamp(18px, 4vw, 56px);
}

.admin-card,
.admin-intro,
.editor-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--soft-shadow);
}

.admin-overview {
  align-self: start;
}

.admin-card p,
.admin-intro p {
  color: var(--muted);
  line-height: 1.6;
}

.admin-card h1 {
  font-size: clamp(34px, 4vw, 52px);
}

.admin-section-heading {
  margin-bottom: 24px;
}

.admin-section-heading h2,
.admin-card h1 {
  margin-bottom: 0;
}

.admin-note {
  margin: 18px 0 0;
  font-size: 14px;
}

code {
  padding: 2px 7px;
  background: rgba(216, 179, 107, 0.18);
  border-radius: 6px;
  color: var(--gold-deep);
  font-weight: 600;
}

.agency-form,
.model-form {
  display: grid;
  gap: 18px;
}

.content-fields-form {
  display: grid;
  gap: 28px;
}

.content-fields-form fieldset {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.content-fields-form legend {
  padding: 0 12px 0 0;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.content-fields-form label,
.agency-form label,
.model-form label,
.editor-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.content-fields-form input,
.content-fields-form textarea,
.agency-form input,
.model-form input,
.model-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 11px 15px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.content-fields-form textarea,
.model-form textarea {
  min-height: 116px;
  resize: vertical;
  line-height: 1.5;
}

.content-fields-form input:focus,
.content-fields-form textarea:focus,
.agency-form input:focus,
.model-form input:focus,
.model-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(176, 138, 62, 0.16);
}

.repeater-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mini-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card-soft);
}

.content-fields-form > .button {
  width: fit-content;
}

.content-editor-card {
  grid-column: 1 / -1;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.agency-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 16px;
  align-items: stretch;
}

.upload-field {
  min-height: 190px;
  align-content: center;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--card-soft);
}

.upload-field span {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.4;
}

.image-preview {
  display: grid;
  gap: 8px;
  margin: 0;
}

.image-preview img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-raise);
}

.image-preview img:not([src]) {
  visibility: hidden;
}

.image-preview figcaption {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.checkbox-field {
  display: inline-flex;
  width: fit-content;
  grid-auto-flow: column;
  align-items: center;
}

.checkbox-field input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--gold);
}

.model-admin-list {
  display: grid;
  gap: 14px;
}

.model-admin-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: var(--card-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.model-admin-item img {
  width: 82px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  background: var(--bg-raise);
}

.model-admin-item strong,
.model-admin-item span,
.model-admin-item small {
  display: block;
}

.model-admin-item span {
  margin-top: 4px;
  color: var(--muted);
}

.model-admin-item small {
  margin-top: 6px;
  overflow-wrap: anywhere;
  color: var(--faint);
  font-size: 12px;
}

.model-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.model-admin-actions form {
  margin: 0;
}

.profile-gallery-admin {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 12px;
}

.profile-gallery-thumb {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: var(--card-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.profile-gallery-thumb img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
}

.profile-gallery-thumb span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.profile-gallery-thumb form,
.profile-gallery-thumb .button {
  width: 100%;
}

.empty-admin {
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--muted);
}

.editor-panel {
  display: grid;
  gap: 10px;
}

.editor-panel label {
  font-weight: 700;
}

textarea {
  min-height: 70vh;
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 18px;
  background: #fffdf8;
  color: var(--ink);
  font: 14px/1.5 Consolas, Monaco, monospace;
}

.admin-page .button.secondary {
  background: #ffffff;
  border-color: var(--line-strong);
}

.status[data-type="success"] {
  color: var(--success);
}

.status[data-type="error"] {
  color: var(--danger);
}

/* ---------- scroll-driven reveals (progressive enhancement) ---------- */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .service-strip article,
    .details-grid article,
    .model-card,
    .intro-band,
    .booking-band,
    .details-heading {
      animation: rise-in 1ms linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 36%;
    }
  }

  .hero-copy,
  .hero-panel,
  .hero-stats {
    animation: hero-in 900ms var(--ease-out) both;
  }

  .hero-panel {
    animation-delay: 140ms;
  }

  .hero-stats {
    animation-delay: 260ms;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

@media (max-width: 1120px) {
  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    max-width: 480px;
  }
}

@media (max-width: 860px) {
  .intro-band,
  .details-heading,
  .booking-band,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .agency-form,
  .field-grid,
  .upload-row,
  .repeater-grid {
    grid-template-columns: 1fr;
  }

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

  .editorial-grid,
  .editorial-grid.compact,
  .profile-page {
    grid-template-columns: 1fr;
  }

  .profile-copy {
    position: static;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-strip article {
    min-height: 0;
  }

  .service-strip h3 {
    margin-top: 22px;
  }

  .booking-photo {
    min-height: 320px;
    order: -1;
  }

  .booking-photo::after {
    background: linear-gradient(0deg, var(--card), transparent 55%);
  }
}

@media (max-width: 680px) {
  .site-header,
  .toolbar,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 740px;
  }

  .hero::after {
    background:
      radial-gradient(420px 300px at 80% 10%, rgba(241, 220, 164, 0.4), transparent 70%),
      linear-gradient(0deg, var(--bg), rgba(252, 250, 245, 0.72) 45%, rgba(252, 250, 245, 0.42)),
      linear-gradient(90deg, rgba(252, 250, 245, 0.6), transparent);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats span {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid rgba(138, 101, 38, 0.18);
  }

  .hero-stats span:last-child {
    border-bottom: 0;
  }

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

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

  dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carousel-button {
    opacity: 1;
  }

  .model-admin-item {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .model-admin-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .model-admin-actions .button {
    flex: 1;
  }

  .booking-copy .button,
  .hero-actions .button {
    width: 100%;
  }
}
