/*
Theme Name: CelebrityHai
Theme URI: https://www.celebrityhai.com
Author: CelebrityHai
Description: Celebrity and talent management agency theme for CelebrityHai. Talent roster with category filters, services, industries, case studies, insights blog and built-in enquiry, contact and talent registration forms. On activation it imports the site's talent roster and pages (Appearance → CelebrityHai Setup to re-run).
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: celebrityhai
*/

/* ---------- Tokens ---------- */
:root {
  --ink: #000;
  --charcoal: #1a1a1a;
  --graphite: #2e2e2d;
  --mist: #6b6b67;
  --line: #dcdcd6;
  --paper: #f6f6f3;
  --brass: #b8955a;
  --brass-deep: #7d5f2c;
  --brass-soft: #e9dfcb;
  --font-display: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --site: 90rem;
  --gutter: 1.25rem;
}
@media (min-width: 640px) { :root { --gutter: 2rem; } }
@media (min-width: 1024px) { :root { --gutter: 3rem; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; font-feature-settings: "ss01", "kern";
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; font-optical-sizing: auto; }
h3, h4 { font-family: var(--font-sans); font-weight: 600; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.25rem; }
::selection { background: var(--brass); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 1rem; left: 1rem; z-index: 100; width: auto; height: auto; clip: auto; background: var(--brass); color: var(--ink); padding: .75rem 1rem; }

.container { max-width: var(--site); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: 42rem; }
.section { padding: 4rem 0; }
@media (min-width: 768px) { .section { padding: 6.5rem 0; } }
.section + .section.bordered, .bordered { border-top: 1px solid var(--line); }
.dark { background: var(--ink); color: var(--paper); }
.charcoal { background: var(--charcoal); color: var(--paper); }
.muted { color: var(--mist); }
.dark .muted, .charcoal .muted { color: rgba(246,246,243,.7); }
.eyebrow { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-deep); font-weight: 600; margin-bottom: 1rem; display: block; }
.dark .eyebrow, .charcoal .eyebrow { color: var(--brass); }

/* Type scale */
.display-2xl { font-size: clamp(3rem, 8vw, 7.5rem); line-height: .95; letter-spacing: -.02em; }
.display-xl { font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: 1; letter-spacing: -.015em; }
.display-lg { font-size: clamp(2rem, 4.2vw, 3.75rem); line-height: 1.05; letter-spacing: -.01em; }
.display-md { font-size: clamp(1.625rem, 2.8vw, 2.5rem); line-height: 1.1; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--graphite); max-width: 44rem; }
.dark .lead, .charcoal .lead, .page-hero .lead, .profile-hero .lead, .home-hero .lead, .cta-band .lead { color: rgba(246,246,243,.82); }
.page-hero .muted, .profile-hero .muted { color: rgba(246,246,243,.7); }
.page-hero .eyebrow, .profile-hero .eyebrow, .home-hero .eyebrow { color: var(--brass); }

.link-underline { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 6px; transition: text-decoration-color .2s; }
.link-underline:hover { text-decoration-color: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: .8rem 1.6rem; border: 1px solid var(--ink); border-radius: 2px;
  font: 600 .95rem/1 var(--font-sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.btn-primary:hover { background: var(--paper); border-color: var(--paper); }
.bordered-light .btn-primary:hover, .section:not(.dark):not(.charcoal) .btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dark .btn-ghost:hover, .charcoal .btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 2rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--paper); border-bottom: 1px solid rgba(246,246,243,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.logo { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.logo span { color: var(--brass); font-style: italic; }
.logo img { max-height: 44px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.main-nav a { text-decoration: none; font-size: .95rem; color: rgba(246,246,243,.85); padding: .5rem 0; border-bottom: 1px solid transparent; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav a[aria-current="page"] { color: var(--paper); border-color: var(--brass); }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-cta .btn { min-height: 44px; padding: .6rem 1.1rem; }
.menu-toggle { display: none; background: none; border: 1px solid rgba(246,246,243,.3); color: var(--paper); min-height: 44px; padding: 0 .9rem; border-radius: 2px; font: inherit; cursor: pointer; }
@media (max-width: 1023px) {
  .main-nav, .header-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
}
.mobile-menu { display: none; background: var(--ink); color: var(--paper); border-top: 1px solid rgba(246,246,243,.1); }
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 1rem var(--gutter) 2rem; }
.mobile-menu li a { display: block; padding: .9rem 0; font-family: var(--font-display); font-size: 1.6rem; text-decoration: none; border-bottom: 1px solid rgba(246,246,243,.08); }
.mobile-menu .btn { margin: 0 var(--gutter) 2rem; width: calc(100% - 2 * var(--gutter)); }

/* ---------- Page hero ---------- */
.page-hero { background: var(--ink); color: var(--paper); padding: 4.5rem 0 4rem; position: relative; overflow: hidden; isolation: isolate; }
@media (min-width: 768px) { .page-hero { padding: 7rem 0 6rem; } }
.page-hero h1 { max-width: 60rem; }
.stage { position: relative; overflow: hidden; isolation: isolate; }
.stage::before {
  content: ""; position: absolute; left: -50%; right: -50%; bottom: -12%; height: 72%; z-index: -1;
  background-image: linear-gradient(rgba(184,149,90,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(184,149,90,.16) 1px, transparent 1px);
  background-size: 64px 64px; transform-origin: 50% 100%; transform: perspective(520px) rotateX(70deg);
  -webkit-mask-image: linear-gradient(to top, #000 5%, transparent 80%); mask-image: linear-gradient(to top, #000 5%, transparent 80%);
  pointer-events: none;
}
.stage::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 70% at 82% -5%, rgba(184,149,90,.22), transparent 70%), radial-gradient(35% 50% at 10% 0%, rgba(246,246,243,.06), transparent 70%);
}
@media (prefers-reduced-motion: no-preference) { .stage::before { animation: floor-move 7s linear infinite; } }
.stage h1 { text-shadow: 1px 1px 0 rgba(184,149,90,.5), 2px 2px 0 rgba(184,149,90,.32), 3px 3px 0 rgba(184,149,90,.18), 0 18px 40px rgba(0,0,0,.6); }
@keyframes floor-move { from { transform: perspective(520px) rotateX(70deg) translateY(0); } to { transform: perspective(520px) rotateX(70deg) translateY(64px); } }

.breadcrumbs { font-size: .85rem; color: rgba(246,246,243,.6); margin-bottom: 1.5rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--brass); }
.breadcrumbs span[aria-hidden] { margin: 0 .5rem; }

/* ---------- Home hero ---------- */
.home-hero { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; isolation: isolate; }
.home-hero .container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-top: 4rem; padding-bottom: 4rem; align-items: center; min-height: min(88vh, 860px); }
@media (min-width: 1024px) { .home-hero .container { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.home-hero .container > *, .split > *, .layout-sidebar > *, .profile-hero .container > * { min-width: 0; }
.home-hero .hero-bg { position: absolute; inset: 0; z-index: -2; object-fit: cover; width: 100%; height: 100%; opacity: .45; }
.hero-text-link { display: inline-block; margin-top: 1.5rem; color: rgba(246,246,243,.8); }
.trust-strip { background: var(--charcoal); color: var(--paper); }
.trust-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .trust-strip ul { grid-template-columns: repeat(4, 1fr); } }
.trust-strip a { display: block; padding: 1.25rem var(--gutter); text-decoration: none; border-right: 1px solid rgba(246,246,243,.08); font-size: .95rem; }
.trust-strip a::before { content: "◆"; color: var(--brass); margin-right: .6rem; font-size: .6rem; vertical-align: middle; }
.trust-strip a:hover { color: var(--brass); }

/* Talent ring */
.ring-stage { position: relative; height: 100%; min-height: 480px; perspective: 1400px; perspective-origin: 50% 35%; }
.ring { --card: clamp(150px, 15vw, 230px); --r: calc(var(--card) * 1.75); position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-8deg) rotateY(0deg); animation: ring-spin 48s linear infinite; }
.ring-stage:hover .ring { animation-play-state: paused; }
.ring-item { position: absolute; width: var(--card); left: calc(var(--card) / -2); top: calc(var(--card) * -.7); transform: rotateY(calc(360deg / var(--n) * var(--i))) translateZ(var(--r)); transform-style: preserve-3d; text-decoration: none; }
.ring-card { aspect-ratio: 4/5; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); backface-visibility: hidden; }
.ring-card img { width: 100%; height: 100%; object-fit: cover; }
.ring-name { margin-top: .5rem; font-family: var(--font-display); font-size: clamp(.8rem, 1.1vw, 1rem); color: rgba(246,246,243,.85); text-align: center; backface-visibility: hidden; }
.ring-spot { position: absolute; left: 50%; top: -10%; width: 70%; height: 120%; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 0%, rgba(184,149,90,.28), transparent 60%); filter: blur(8px); pointer-events: none; }
@keyframes ring-spin { to { transform: rotateX(-8deg) rotateY(-360deg); } }
@media (max-width: 1023px) {
  .home-hero .container { min-height: 0; padding-top: 3rem; padding-bottom: 3rem; gap: 2rem; }
  .ring-stage { min-height: 0; perspective: none; margin: 0 calc(var(--gutter) * -1); }
  .ring-spot { display: none; }
  .ring { position: static; width: auto; height: auto; transform: none !important; animation: none; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 0 var(--gutter) .5rem; scrollbar-width: none; }
  .ring::-webkit-scrollbar { display: none; }
  .ring-item { position: static; transform: none; flex: 0 0 62%; max-width: 280px; scroll-snap-align: start; }
  .ring-card { box-shadow: 0 20px 40px -20px rgba(0,0,0,.9); }
  .ring-name { font-size: 1.05rem; text-align: left; }
}
@media (min-width: 640px) and (max-width: 1023px) { .ring-item { flex-basis: 38%; } }

/* ---------- Section header ---------- */
.section-head { display: grid; gap: 1rem; margin-bottom: 2.75rem; }
@media (min-width: 1024px) { .section-head { grid-template-columns: 1fr auto; align-items: end; } }
.section-head h2 { margin: 0; }
.section-head p { margin: .9rem 0 0; color: var(--graphite); max-width: 40rem; }
.dark .section-head p, .charcoal .section-head p { color: rgba(246,246,243,.75); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3, .grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.talent-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1rem; }
@media (min-width: 768px) { .talent-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem 1.5rem; } }
@media (min-width: 1200px) { .talent-grid { grid-template-columns: repeat(4, 1fr); } }

.card { background: #fff; border: 1px solid var(--line); padding: 1.75rem; height: 100%; display: flex; flex-direction: column; text-decoration: none; transition: border-color .2s, transform .3s; }
a.card:hover { border-color: var(--ink); transform: translateY(-3px); }
.card h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.card p { color: var(--graphite); font-size: .975rem; margin: 0; }
.card .icon { width: 30px; height: 30px; color: var(--brass-deep); margin-bottom: 1.25rem; }
.card .more { margin-top: auto; padding-top: 1.25rem; font-weight: 600; font-size: .9rem; color: var(--brass-deep); }
.dark .card, .charcoal .card { background: transparent; border-color: rgba(246,246,243,.14); color: var(--paper); }
.dark .card p, .charcoal .card p { color: rgba(246,246,243,.75); }
.dark .card .icon, .charcoal .card .icon { color: var(--brass); }

/* Category tiles */
.cat-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; padding: 1.5rem; color: var(--paper); text-decoration: none; overflow: hidden; isolation: isolate; background: radial-gradient(120% 80% at 80% 0%, rgba(184,149,90,.2), transparent 60%), linear-gradient(180deg, #232322, #141414); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; filter: grayscale(.35); }
.cat-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.85)); }
.cat-tile:hover img { transform: scale(1.05); filter: none; }
.cat-tile h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.75rem; margin: 0; }
.cat-tile p { color: rgba(246,246,243,.75); font-size: .9rem; margin: .4rem 0 0; }
.cat-tile .count { position: absolute; top: 1.25rem; right: 1.25rem; font-size: .75rem; letter-spacing: .12em; color: var(--brass); }

/* Talent card */
.talent-card { text-decoration: none; display: block; }
.portrait { position: relative; aspect-ratio: 4/5; overflow: hidden; background: radial-gradient(120% 80% at 80% 0%, rgba(184,149,90,.18), transparent 60%), linear-gradient(180deg, #232322, #141414); }
.portrait img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s; filter: grayscale(.15); }
.talent-card:hover .portrait img { transform: scale(1.04); filter: none; }
.portrait .initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); color: rgba(184,149,90,.55); }
.talent-card h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 1.6vw, 1.35rem); margin: .9rem 0 .2rem; }
.talent-card .meta { font-size: .85rem; color: var(--mist); }

/* Steps */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 0 2rem; } }
@media (min-width: 1200px) { .steps.six { grid-template-columns: repeat(6, 1fr); } }
.steps li { counter-increment: step; padding: 1.5rem 0; border-top: 1px solid rgba(184,149,90,.4); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: 2.25rem; color: var(--brass); margin-bottom: .75rem; }
.steps h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.steps p { font-size: .95rem; margin: 0; opacity: .8; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.tags a, .tags span { display: inline-block; padding: .45rem .9rem; border: 1px solid currentColor; border-radius: 99px; font-size: .85rem; text-decoration: none; opacity: .9; }
.tags a:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); opacity: 1; }

/* Split */
.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .split { grid-template-columns: 5fr 7fr; gap: 5rem; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1.1rem; font-size: 1.5rem; font-weight: 300; color: var(--brass-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.5rem; color: var(--graphite); max-width: 46rem; }
.dark .faq, .dark .faq details, .charcoal .faq, .charcoal .faq details { border-color: rgba(246,246,243,.14); }
.dark .faq .answer, .charcoal .faq .answer { color: rgba(246,246,243,.75); }

/* CTA band */
.cta-band { background: var(--charcoal); color: var(--paper); padding: 5rem 0; position: relative; overflow: hidden; isolation: isolate; text-align: left; }
@media (min-width: 768px) { .cta-band { padding: 7rem 0; } }
.cta-band h2 { max-width: 48rem; }
.cta-band p { color: rgba(246,246,243,.78); max-width: 38rem; font-size: 1.1rem; }

/* ---------- Content (pages, posts, imported HTML) ---------- */
.entry-content { font-size: 1.0625rem; }
.entry-content > * { max-width: 46rem; }
.entry-content > .wide, .entry-content > .alignwide, .entry-content > .grid, .entry-content > .ch-block { max-width: none; }
.entry-content h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); margin: 3rem 0 1rem; }
.entry-content h3 { font-size: 1.15rem; margin: 2rem 0 .5rem; }
.entry-content a { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.entry-content a.btn, .entry-content .card, .entry-content .talent-card { text-decoration: none; }
.entry-content blockquote { margin: 2rem 0; padding-left: 1.5rem; border-left: 2px solid var(--brass); font-family: var(--font-display); font-size: 1.4rem; }
.entry-content img { margin: 2rem 0; }
.entry-content table { border-collapse: collapse; width: 100%; margin: 2rem 0; font-size: .95rem; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: .75rem .5rem; text-align: left; }
.ch-block { margin: 3rem 0; }
.ch-block .grid { margin-top: 1.5rem; }
.ch-block .card h3 { margin-top: 0; }
.ch-note { background: var(--brass-soft); padding: 1rem 1.25rem; font-size: .95rem; border-left: 3px solid var(--brass); }
.ch-list { list-style: none; padding: 0; }
.ch-list li { padding: .7rem 0 .7rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; }
.ch-list li::before { content: "◆"; position: absolute; left: 0; color: var(--brass); font-size: .65rem; top: 1.05rem; }
.takeaways { background: #fff; border: 1px solid var(--line); padding: 1.75rem 2rem; margin: 2rem 0; }
.takeaways h2 { margin-top: 0 !important; font-size: 1.4rem !important; }

.layout-sidebar { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .layout-sidebar { grid-template-columns: minmax(0, 1fr) 22rem; gap: 5rem; } }
.sidebar-box { background: #fff; border: 1px solid var(--line); padding: 1.75rem; position: sticky; top: 96px; }
.sidebar-box h2, .sidebar-box h3 { font-size: 1.35rem; }

/* Talent profile */
.profile-hero { background: var(--ink); color: var(--paper); padding: 3rem 0 4rem; position: relative; overflow: hidden; isolation: isolate; }
.profile-hero .container { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 900px) { .profile-hero .container { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.profile-hero .portrait { max-width: 460px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 2rem 0 0; border-top: 1px solid rgba(246,246,243,.15); }
.facts div { padding: 1rem 0; border-bottom: 1px solid rgba(246,246,243,.15); }
.facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--brass); }
.facts dd { margin: .25rem 0 0; }
.photo-credit { font-size: .75rem; color: rgba(246,246,243,.5); margin-top: .5rem; }

/* Filters */
.filters { background: #fff; border: 1px solid var(--line); padding: 1.25rem; margin-bottom: 2.5rem; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .filters { grid-template-columns: 2fr repeat(4, 1fr) auto; align-items: end; } }
.filters label { font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; display: block; margin-bottom: .35rem; }
.filters .btn { min-height: 52px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: -1.25rem 0 2rem; }
.chips a { font-size: .85rem; padding: .35rem .8rem; background: var(--ink); color: var(--paper); text-decoration: none; border-radius: 99px; }
.chips a::after { content: " ×"; color: var(--brass); }
.result-count { color: var(--mist); margin-bottom: 1.5rem; font-size: .95rem; }
.subnav { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 2rem; }
.subnav a { padding: .45rem .9rem; border: 1px solid rgba(246,246,243,.35); border-radius: 99px; text-decoration: none; font-size: .85rem; }
.subnav a:hover, .subnav a.active { background: var(--brass); color: var(--ink); border-color: var(--brass); }

/* Forms */
.ch-form { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .ch-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.ch-form label, .label { display: block; margin-bottom: .45rem; font-size: .95rem; font-weight: 500; }
.ch-form .opt { font-weight: 400; color: var(--mist); }
.input, .ch-form input[type=text], .ch-form input[type=email], .ch-form input[type=tel], .ch-form input[type=url], .ch-form input[type=date], .ch-form select, .ch-form textarea, .filters input, .filters select {
  display: block; width: 100%; min-height: 52px; border: 1px solid rgba(0,0,0,.25); border-radius: 2px; background: #fff;
  padding: .75rem 1rem; font: inherit; font-size: 1rem; color: var(--ink);
}
.ch-form textarea { min-height: 140px; resize: vertical; }
.ch-form :is(input, select, textarea):focus, .filters :is(input, select):focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(184,149,90,.45); }
.ch-form .hp { position: absolute; left: -9999px; }
.ch-form .consent { font-size: .9rem; color: var(--graphite); display: flex; gap: .6rem; align-items: flex-start; }
.ch-form .consent input { margin-top: .3rem; accent-color: var(--brass); }
.form-msg { padding: 1rem 1.25rem; border-left: 3px solid var(--brass); background: var(--brass-soft); margin-bottom: 1.5rem; }
.form-msg.error { border-color: #9b2c2c; background: #f7e3e3; }
.form-card { background: #fff; border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.75rem); }

/* Posts */
.post-card { display: flex; flex-direction: column; text-decoration: none; height: 100%; border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.post-card .cat { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep); font-weight: 600; }
.post-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; margin: .6rem 0; line-height: 1.2; }
.post-card p { color: var(--graphite); font-size: .975rem; }
.post-card .date { margin-top: auto; font-size: .85rem; color: var(--mist); }
.post-card:hover h3 { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 5px; }
.pagination { margin-top: 3rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--line); text-decoration: none; padding: 0 .75rem; background: #fff; }
.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pagination a.page-numbers:hover { border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(246,246,243,.8); padding: 5rem 0 2rem; font-size: .95rem; }
.footer-top { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.site-footer h2 { font-family: var(--font-sans); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--brass); }
.footer-cats { columns: 2; }
.footer-bottom { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(246,246,243,.1); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; font-size: .85rem; color: rgba(246,246,243,.55); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* WhatsApp + mobile sticky */
.wa-btn { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.5); }
.wa-btn svg { width: 28px; height: 28px; }
.mobile-sticky { display: none; }
@media (max-width: 767px) {
  .mobile-sticky { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 39; background: var(--ink); border-top: 1px solid rgba(246,246,243,.1); }
  .mobile-sticky a { min-height: 56px; display: grid; place-items: center; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--paper); }
  .mobile-sticky a:first-child { background: var(--brass); color: var(--ink); }
  .wa-btn { bottom: 72px; }
  body { padding-bottom: 56px; }
}

/* 404 */
.extrude { font-family: var(--font-display); font-size: clamp(7rem, 22vw, 16rem); line-height: .9; color: #1f1f1e; text-shadow: 1px 1px 0 #2a2a28, 2px 2px 0 #2a2a28, 3px 3px 0 #252523, 4px 4px 0 #222220, 5px 5px 0 #1f1f1d, 6px 6px 0 #1c1c1b, 8px 8px 0 #161615, 14px 18px 30px rgba(0,0,0,.8); }

/* Scroll rise */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rise > * { animation: depth-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; transform-origin: 50% 100%; }
  }
}
@keyframes depth-rise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: none; } }

/* ---------- Small screens ---------- */
@media (max-width: 639px) {
  body { font-size: 1rem; }
  .display-2xl { font-size: clamp(2.4rem, 11vw, 3.25rem); }
  .display-xl { font-size: clamp(2.1rem, 9.5vw, 2.75rem); }
  .display-lg { font-size: clamp(1.75rem, 7.5vw, 2.25rem); }
  .page-hero { padding: 3rem 0 2.75rem; }
  .section { padding: 3rem 0; }
  .btn-row .btn { flex: 1 1 100%; }
  .card { padding: 1.35rem; }
  .cat-tile { min-height: 180px; }
  .talent-card h3 { font-size: 1rem; }
  .talent-card .meta { font-size: .8rem; }
  .facts { grid-template-columns: 1fr; }
  .profile-hero { padding: 2rem 0 3rem; }
  .profile-hero .portrait { max-width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .entry-content table { display: block; overflow-x: auto; white-space: nowrap; }
  .sidebar-box { position: static; }
  .subnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .subnav a { white-space: nowrap; }
  .steps li::before { font-size: 1.75rem; }
  .filters { padding: 1rem; }
}
.entry-content, .card, .faq summary, h1, h2 { overflow-wrap: anywhere; }
.entry-content img, .entry-content iframe, .entry-content video { max-width: 100%; height: auto; }

/* WP core */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--mist); }
.sticky, .bypostauthor, .gallery-caption { outline: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .ring { transform: rotateX(-8deg) rotateY(-20deg); }
}
