:root {
  --bg: #f6f0e7;
  --panel: rgba(255,255,255,0.78);
  --ink: #1f1a17;
  --muted: #5e534b;
  --green: #21462a;
  --green-soft: #2f633a;
  --gold: #c9963a;
  --line: rgba(33,70,42,0.14);
  --shadow: 0 24px 60px rgba(33, 70, 42, 0.16);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(201,150,58,0.18), transparent 26%),
    radial-gradient(circle at bottom right, rgba(33,70,42,0.14), transparent 30%),
    var(--bg);
}

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

.selector-page {
  min-height: 100vh;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 64px;
}

.selector-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

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

.selector-eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(33,70,42,0.08);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.selector-copy h1 {
  margin: 18px 0 14px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.selector-copy p {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.admin-link {
  flex-shrink: 0;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-weight: 600;
  box-shadow: 0 14px 32px rgba(33,70,42,0.18);
}

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

.asset-showcase {
  margin-top: 44px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.asset-showcase-copy h2 {
  margin: 16px 0 10px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.asset-showcase-copy p {
  margin: 0 0 24px;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

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

.asset-card {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(33, 70, 42, 0.1);
  box-shadow: 0 16px 34px rgba(33, 70, 42, 0.1);
}

.asset-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #efe8dc;
}

.asset-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px 16px;
}

.asset-meta strong {
  font-size: 1rem;
}

.asset-meta span {
  color: var(--muted);
  font-size: 0.85rem;
}

.segment-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.segment-card::after {
  content: '';
  position: absolute;
  inset: auto -10% -35% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,150,58,0.16), transparent 68%);
}

.segment-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,150,58,0.55);
  box-shadow: 0 28px 70px rgba(33,70,42,0.2);
}

.segment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(33,70,42,0.08);
  font-size: 1.8rem;
}

.segment-card strong {
  display: block;
  margin: 18px 0 10px;
  font-size: 1.5rem;
  font-weight: 700;
}

.segment-card p {
  margin: 0;
  max-width: 420px;
  color: var(--muted);
  line-height: 1.65;
}

.segment-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  color: var(--green-soft);
  font-weight: 700;
}

.segment-cta::after {
  content: '→';
  margin-left: 10px;
}

@media (max-width: 900px) {
  .selector-hero {
    flex-direction: column;
  }

  .admin-link {
    align-self: flex-start;
  }

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

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

@media (max-width: 640px) {
  .selector-page {
    width: min(100% - 28px, 1180px);
    padding: 28px 0 40px;
  }

  .segment-card {
    min-height: auto;
    padding: 24px;
  }

  .asset-showcase {
    margin-top: 28px;
    padding: 22px;
  }

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