/*!
 * Huvoca — modern casting directory
 * Soft stone · deep ink · mint signal · photo-led
 */

:root {
  --ink: #14161c;
  --ink-2: #3a3f4b;
  --mute: #6e7482;
  --line: #e2e4ea;
  --paper: #f4f2ee;
  --paper-2: #fffcf8;
  --signal: #0f9d8a;
  --signal-deep: #0a6f62;
  --same: #0f9d8a;
  --overnight: #b7791f;
  --hours: #4a5568;
  --none: #c53030;
  --max: 1280px;
  --display: "Bricolage Grotesque", "Avenir Next", sans-serif;
  --body: "Sora", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  background: var(--paper);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.hidden {
  display: none !important;
}

/* —— Nav —— */
.nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  padding: 1.25rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: #fff;
}

.logo--hero {
  margin: 0;
  font-size: clamp(3.2rem, 12vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: #fff;
  animation: fade-up 900ms var(--ease) both;
}

.logo--foot {
  font-size: 1rem;
  color: var(--ink);
}

.nav__link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 160ms ease;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav__link:hover {
  color: #fff;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.nav__cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.nav__admin-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
  transition: background 160ms ease, transform 160ms ease;
}

.nav__admin-dot:hover,
.nav__admin-dot:focus-visible {
  background: rgba(255, 255, 255, 0.55);
  outline: none;
  transform: scale(1.15);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(72svh, 640px);
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: linear-gradient(145deg, #12151c 0%, #1c222c 52%, #163038 100%);
}

.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(720px 380px at 12% 88%, rgba(15, 157, 138, 0.32), transparent 58%),
    radial-gradient(560px 320px at 92% 18%, rgba(255, 255, 255, 0.07), transparent 55%);
}

.hero__stage {
  position: relative;
  z-index: 2;
  padding: 7.5rem 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: end;
  min-height: inherit;
}

.hero__stage--solo {
  grid-template-columns: 1fr;
}

.hero__intro {
  display: grid;
  gap: 1.15rem;
  justify-items: start;
  padding-bottom: 3.5rem;
  align-self: end;
}

.hero__lines {
  display: grid;
  gap: 0.2rem;
  animation: fade-up 900ms 120ms var(--ease) both;
}

.hero__line {
  margin: 0;
  max-width: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.92rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.35;
  white-space: nowrap;
}

.hero__featured {
  justify-self: end;
  align-self: end;
  width: min(100%, 26rem);
  margin-top: 1.5rem;
  padding-bottom: 2rem;
  animation: fade-up 900ms 200ms var(--ease) both;
}

.featured {
  display: grid;
  gap: 0.85rem;
  color: #fff;
}

.featured__media {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
}

.featured__frame {
  position: relative;
  width: 100%;
  max-height: min(52svh, 460px);
  margin-inline: auto;
  background: transparent;
  overflow: hidden;
  transition: opacity 220ms ease;
}

.featured__frame.is-fading {
  opacity: 0;
}

.featured__frame button {
  appearance: none;
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.featured__frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52svh, 460px);
  object-fit: contain;
  object-position: center center;
}

.featured__arrow {
  appearance: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 160ms ease, border-color 160ms ease;
}

.featured__arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
}

.featured__arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.featured__arrow svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.featured__text {
  display: grid;
  gap: 0.15rem;
  padding-inline: 2.95rem;
}

.featured__text strong {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.featured__text span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  font-weight: 300;
}

.featured__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-inline: 2.95rem;
}

.featured__dot {
  appearance: none;
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.featured__dot.is-active {
  background: #fff;
}

.featured__dot:hover {
  background: rgba(255, 255, 255, 0.55);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border: 0;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--light {
  background: #fff;
  color: var(--ink);
  animation: fade-up 900ms 220ms var(--ease) both;
}

.btn--light:hover {
  background: var(--signal);
  color: #fff;
}

.btn--ink {
  background: var(--ink);
  color: #fff;
}

.btn--ink:hover {
  background: var(--signal);
}

/* —— Cast section —— */
.cast {
  padding: 4rem 0 5rem;
  background:
    radial-gradient(900px 380px at 100% 0%, rgba(15, 157, 138, 0.08), transparent 55%),
    linear-gradient(180deg, #ebe8e2 0%, var(--paper) 18%, var(--paper) 100%);
}

.cast__head {
  margin-bottom: 1.75rem;
}

.cast__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.cast__sub {
  margin: 0.55rem 0 0;
  color: var(--mute);
  font-size: 0.9rem;
  font-weight: 400;
}

/* —— Filters —— */
.filters {
  margin-bottom: 2rem;
}

.filters__row {
  display: grid;
  grid-template-columns: 1.4fr repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
}

.filters__search,
.filters select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 0.8rem 0.9rem;
  border-radius: 0;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.filters__search:focus,
.filters select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(15, 157, 138, 0.18);
}

.filters__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
  color: var(--mute);
  font-size: 0.85rem;
}

.filters__meta strong {
  color: var(--ink);
  font-weight: 600;
}

.text-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--mute);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-btn:hover {
  color: var(--ink);
}

/* —— Voice grid —— */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 1rem;
}

.voice {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
  animation: fade-up 700ms var(--ease) both;
}

.voice__shot {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #d9d6cf;
  color: inherit;
  text-decoration: none;
}

.voice__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 500ms var(--ease);
}

.voice:hover .voice__shot img {
  transform: scale(1.04);
}

.voice__avail {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  background: rgba(255, 252, 248, 0.94);
  color: var(--ink);
  backdrop-filter: blur(6px);
}

.voice__badges {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  z-index: 1;
}

.voice__badges .voice__avail {
  position: static;
}

.voice__avail[data-status="same_day"] { color: var(--same); }
.voice__avail[data-status="overnight"] { color: var(--overnight); }
.voice__avail[data-status="hours_48"] { color: var(--hours); }
.voice__avail[data-status="not_available"] { color: var(--none); }

.voice__avail--studio {
  color: var(--ink);
  opacity: 0.92;
}

.voice__body {
  display: grid;
  gap: 0.4rem;
}

.voice__name {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.voice__meta {
  margin: 0;
  font-size: 0.7rem;
  color: var(--mute);
}

.voice__bio {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.voice__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.voice__tags li {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0.02em;
}

.voice__tags li.is-accent {
  color: var(--signal-deep);
}

.voice__tags li:not(:last-child)::after {
  content: "·";
  margin-left: 0.3rem;
  color: var(--line);
}

.voice__tools {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.1rem;
}

.voice__tools audio {
  width: 100%;
  height: 30px;
}

.voice__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
  align-items: stretch;
}

.voice .btn {
  padding: 0.65rem 0.75rem;
  font-size: 0.72rem;
}

.voice__share {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 2.6rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.voice__share svg {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
}

.voice__share:hover:not(:disabled) {
  border-color: var(--ink);
}

.voice__share:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.voice__share.is-copied {
  background: var(--signal);
  border-color: var(--signal);
  color: #fff;
}

.voice__share.is-failed {
  background: #8b3a3a;
  border-color: #8b3a3a;
  color: #fff;
}

@media (max-width: 420px) {
  .voice__share-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
}

/* —— Empty / pager / footer —— */
.empty {
  grid-column: 1 / -1;
  padding: 3.5rem 1rem;
  text-align: center;
  color: var(--mute);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.pager button {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 0.65rem 1rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
}

.pager button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pager span {
  color: var(--mute);
  font-size: 0.85rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: #ebe8e2;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
  color: var(--mute);
  font-size: 0.82rem;
  max-width: 28rem;
}

.footer a {
  color: inherit;
}

/* —— Contact / feedback —— */
.contact {
  padding: 3.5rem 0 3rem;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 60% at 10% 0%, rgba(45, 90, 70, 0.06), transparent 55%),
    #f4f2ed;
}

.contact__inner {
  max-width: 40rem;
}

.contact__head {
  margin-bottom: 1.5rem;
}

.contact__title {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  font-weight: 650;
}

.contact__sub {
  margin: 0;
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 32rem;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}

.contact-form .field {
  display: block;
  min-width: 0;
}

.contact-form .field--full {
  grid-column: 1 / -1;
}

.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: inherit;
}

.contact-form .field textarea {
  resize: vertical;
  min-height: 6rem;
}

.contact-form .field em {
  font-style: normal;
  font-weight: 400;
  opacity: 0.7;
}

.contact-form__hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--mute);
}

.contact-form__captcha {
  min-height: 65px;
}

.contact-form__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.15rem;
  flex-wrap: wrap;
}

.contact-form__status {
  margin: 0;
  font-size: 0.88rem;
  color: var(--mute);
}

.contact-form__status.is-ok {
  color: var(--same);
}

.contact-form__status.is-err {
  color: var(--none);
}

.inbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.inbox-bar p {
  margin: 0;
}

.inbox-list {
  display: grid;
  gap: 0.85rem;
}

.inbox-item {
  border: 1px solid var(--line);
  background: #fff;
  padding: 1rem 1.1rem;
}

.inbox-item.is-unread {
  border-left: 3px solid var(--signal);
}

.inbox-item__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.45rem;
}

.inbox-item__head strong {
  margin-right: 0.5rem;
}

.inbox-item__head span {
  color: var(--mute);
  font-size: 0.8rem;
}

.inbox-item__from,
.inbox-item__voice {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
}

.inbox-item__msg {
  margin: 0.55rem 0 0;
  white-space: pre-wrap;
  line-height: 1.45;
  font-size: 0.92rem;
}

.featured-order-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.featured-order-bar p {
  margin: 0;
  max-width: 40rem;
}

.featured-order-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.featured-order-empty {
  padding: 1.25rem;
  border: 1px dashed var(--line);
  color: var(--mute);
  font-size: 0.9rem;
}

.featured-order-item {
  display: grid;
  grid-template-columns: auto 44px minmax(0, 1fr) auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  background: #fff;
  cursor: grab;
}

.featured-order-item.is-dragging {
  opacity: 0.55;
}

.featured-order-item.is-drop-target {
  border-color: var(--signal);
  background: rgba(15, 157, 138, 0.06);
}

.featured-order-item__handle {
  color: var(--mute);
  font-size: 0.85rem;
  letter-spacing: -0.08em;
  user-select: none;
}

.featured-order-item img {
  width: 44px;
  height: 54px;
  object-fit: cover;
  object-position: center top;
  background: var(--line);
}

.featured-order-item__body strong {
  display: block;
  font-size: 0.92rem;
}

.featured-order-item__body small {
  display: block;
  margin-top: 0.15rem;
  color: var(--mute);
  font-size: 0.75rem;
}

.featured-order-item__pos {
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.1rem;
  color: var(--mute);
  min-width: 1.5rem;
  text-align: center;
}

.featured-order-item__moves {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.featured-order-item__moves .text-btn {
  padding: 0.1rem 0.35rem;
  min-width: 1.75rem;
}

/* —— Admin —— */
.admin-page .nav {
  position: relative;
  background: var(--ink);
}

.admin-page .nav__link {
  color: rgba(255, 255, 255, 0.8);
}

.admin-shell {
  max-width: 720px;
  margin: 2.5rem auto 3rem;
  padding: 0 1.25rem;
}

.admin-shell--wide {
  max-width: 1100px;
}

.admin-shell h1 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.admin-shell > p,
.admin-toolbar p {
  margin: 0 0 1.5rem;
  color: var(--mute);
}

.admin-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.admin-tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.7rem 0.95rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--mute);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.admin-tab:hover {
  color: var(--ink);
}

.admin-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--signal);
}

.admin-toolbar--sub {
  margin-bottom: 1rem;
}

.admin-toolbar--sub input[type='search'] {
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 0.65rem 0.8rem;
  min-width: 14rem;
  width: min(100%, 22rem);
}

.insights-bar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.insights-period {
  min-width: 10rem;
}

.insights-period select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.insights-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

.insights-panel h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.insights-table-wrap {
  border: 1px solid var(--line);
  background: var(--paper-2);
  overflow: auto;
}

.insights-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.insights-table th,
.insights-table td {
  padding: 0.65rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.insights-table th {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.insights-table tbody tr:last-child td {
  border-bottom: 0;
}

.insights-table td:first-child,
.insights-table th:first-child {
  width: 2.5rem;
  color: var(--mute);
}

.insights-table td:last-child,
.insights-table th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.insights-empty {
  text-align: center !important;
  color: var(--mute);
  padding: 1.5rem 0.8rem !important;
}

@media (max-width: 960px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.admin-toolbar h1 {
  margin-bottom: 0.25rem;
}

.admin-toolbar p {
  margin: 0;
}

.admin-toolbar__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.admin-toolbar__actions input[type='search'] {
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 0.65rem 0.8rem;
  min-width: 14rem;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  min-height: 60vh;
}

.admin-picker {
  border: 1px solid var(--line);
  background: var(--paper-2);
  max-height: 70vh;
  overflow: auto;
}

.admin-list {
  display: flex;
  flex-direction: column;
}

.admin-pick {
  appearance: none;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.7rem;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.admin-pick:hover {
  background: rgba(15, 157, 138, 0.06);
}

.admin-pick.is-active {
  background: rgba(15, 157, 138, 0.12);
  box-shadow: inset 3px 0 0 var(--signal);
}

.admin-pick img {
  width: 44px;
  height: 54px;
  object-fit: cover;
  object-position: center top;
  background: var(--line);
}

.admin-pick strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.admin-pick small {
  display: block;
  margin-top: 0.15rem;
  color: var(--mute);
  font-size: 0.72rem;
}

.admin-editor {
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 1.25rem;
}

.voice-form__hero {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.voice-form__hero img {
  width: 96px;
  height: 120px;
  object-fit: cover;
  object-position: center top;
  background: var(--line);
}

.voice-form__hero h2 {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.admin-muted {
  color: var(--mute);
  font-size: 0.82rem;
}

.voice-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.voice-form__grid .field--full {
  grid-column: 1 / -1;
}

.voice-form .field input,
.voice-form .field select,
.voice-form .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: inherit;
}

.voice-form .field textarea {
  resize: vertical;
  min-height: 5rem;
}

.voice-form .field em {
  font-style: normal;
  font-weight: 400;
  opacity: 0.75;
}

.featured-fields {
  border: 1px solid var(--line);
  padding: 0.9rem 1rem 1rem;
  margin: 0;
}

.featured-fields legend {
  padding: 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--mute);
}

.featured-fields__dates {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.85rem 1rem;
  margin-top: 0.75rem;
}

.check-field {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.check-field span {
  display: inline;
  margin-bottom: 0;
  font-size: inherit;
  color: inherit;
  font-weight: inherit;
}

.check-field input {
  width: auto;
  accent-color: var(--signal);
}

.voice-form__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.login-form {
  display: grid;
  gap: 0.75rem;
  max-width: 320px;
}

.login-form input {
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 0.8rem 0.9rem;
}

.primary-btn {
  appearance: none;
  border: 0;
  background: var(--signal);
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1rem;
  cursor: pointer;
}

.primary-btn:hover {
  background: var(--signal-deep);
}

.notice {
  padding: 0.7rem 0.85rem;
  margin-bottom: 1rem;
  background: rgba(15, 157, 138, 0.1);
  border-left: 3px solid var(--signal);
  font-size: 0.9rem;
}

.notice--ok {
  background: rgba(15, 157, 138, 0.12);
}

.field span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--mute);
  margin-bottom: 0.35rem;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .filters__row {
    grid-template-columns: 1fr 1fr;
  }

  .filters__search {
    grid-column: 1 / -1;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 0.85rem;
  }

  .hero__stage {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 6.5rem;
  }

  .hero__intro {
    padding-bottom: 0;
  }

  .hero__featured {
    width: min(100%, 22rem);
    justify-self: start;
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
  }

  .featured__text,
  .featured__dots {
    padding-inline: 0;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 1.5rem, var(--max));
  }

  .filters__row {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero__stage {
    width: min(100% - 1.5rem, var(--max));
  }

  .hero__line {
    font-size: 0.84rem;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-picker {
    max-height: 40vh;
  }

  .voice-form__grid {
    grid-template-columns: 1fr;
  }

  .featured-fields__dates {
    grid-template-columns: 1fr;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .admin-toolbar__actions input[type='search'] {
    min-width: 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
