/*
Theme Name: Sculptors Lexicon Theme
Theme URI: https://forsterarts.studio
Author: Peter Forster
Author URI: https://peterforster.com
Description: A restrained, scholarly WordPress theme for museums, libraries, universities, and sculptural reference works.
Version: 1.1.4
Requires at least: 6.8
Requires PHP: 8.1
Text Domain: sculptors-lexicon-theme
*/

:root {
    --color-background: #faf9f7;
    --color-surface: #ffffff;
    --color-text: #222222;
    --color-muted: #666666;
    --color-header: #111111;
    --color-header-text: #f7f7f5;
    --color-link: #4c2275;

    --content-width: 1440px;
    --reading-width: 760px;
    --header-height: 72px;

    --font-serif: Georgia, "Times New Roman", serif;
    --font-sans: Arial, Helvetica, sans-serif;

    --shadow-card:
        0 1px 2px rgba(0, 0, 0, 0.035),
        0 8px 24px rgba(0, 0, 0, 0.03);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-serif);
    line-height: 1.75;
}

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

a {
    color: var(--color-link);
}

button,
input,
select,
textarea {
    font: inherit;
}

/* Site-wide breadcrumbs — mirrors the Lexicon breadcrumb language. */
.slx-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .48rem;
    margin: 0 0 26px;
    padding: 11px 0 14px;
    border-bottom: 1px solid #e3e7eb;
    font-family: var(--font-sans);
    font-size: .78rem;
    line-height: 1.45;
    letter-spacing: .045em;
    color: #697581;
}

.slx-breadcrumb a {
    color: #7d542f;
    text-decoration: none;
    border-bottom: 1px solid rgba(125, 84, 47, .3);
}

.slx-breadcrumb a:hover,
.slx-breadcrumb a:focus-visible {
    border-bottom-color: currentColor;
}

.slx-breadcrumb__separator {
    color: #a2abb4;
    font-size: .92em;
}

.slx-breadcrumb__current {
    font-weight: 650;
    color: #2f3944;
}

@media (max-width: 640px) {
    .slx-breadcrumb {
        gap: .38rem;
        margin-bottom: 20px;
        font-size: .74rem;
    }
}

/* Header */

.site-header {
    background: var(--color-header);
    color: var(--color-header-text);
}

.site-header__inner {
    width: min(calc(100% - 6rem), var(--content-width));
    min-height: var(--header-height);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-title{
    display:inline-block;
    color:#f5f5f3;
    text-decoration:none;
    font-family:Georgia,"Times New Roman",serif;
    line-height:.88;
}
/* SITE TITLE */

.site-title__line1{
    display:flex;
    align-items:flex-end;
}

.site-title__the{
    font-size:1.1rem;
    margin-right:.4em;
    margin-bottom:.15em;
}

.site-title__word{
    font-size:2.0rem;
}

.site-title__line2{
    display:block;
    font-size:2.0rem;
    margin-left:.2rem;   /* ONLY the width of "The" */
}

/* Navigation */

.site-nav {
    flex: 1 1 auto;
    margin-left: auto;
}

.site-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: clamp(1.25rem, 2.75vw, 3.25rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-menu li {
    margin: 0;
    padding: 0;
}

.site-menu a {
    color: inherit;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.9;
    transition: opacity 160ms ease;
}

.site-menu a:hover,
.site-menu a:focus-visible {
    opacity: 1;
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 0.65rem;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
}

.menu-toggle__icon {
    position: relative;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
    position: absolute;
    left: 0;
    content: "";
    transition: transform 160ms ease, top 160ms ease;
}

.menu-toggle__icon::before {
    top: -6px;
}

.menu-toggle__icon::after {
    top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Brand below navigation */

.site-branding {
    padding: 2.25rem 2rem 0;
    text-align: center;
}

.site-branding__name {
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: clamp(0.82rem, 1.15vw, 1rem);
    font-weight: 300;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

/* Home */

.hero {
    min-height: calc(100vh - var(--header-height) - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem 8rem;
    text-align: center;
}

.hero-inner {
    width: min(100%, 1100px);
}
.hero-title {
    margin: 0;
    font-size: clamp(4rem, 9vw, 8rem);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.hero-tagline {
    margin: 2rem auto 3rem;
    max-width: 42rem;
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    line-height: 1.6;
    color: rgba(255,255,255,.82);
}
.eyebrow {
    margin: 0 0 1.25rem;
    color: var(--color-muted);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 300;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 0 1.25rem;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.intro {
    margin: 0 auto 2rem;
    color: var(--color-muted);
    font-size: 1.3rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.2rem;
    border: 1px solid currentColor;
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* Content */

.site-main,
.entry-content {
    width: min(calc(100% - 4rem), var(--reading-width));
    margin-inline: auto;
}

.card,
.content-card,
figure,
.wp-block-image img {
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
}

.card,
.content-card {
    padding: 2rem;
}

/* Footer */

.site-footer {
    width: min(calc(100% - 4rem), var(--content-width));
    margin-inline: auto;
    padding: 3rem 0 4.5rem;
    color: var(--color-muted);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Hamburger begins at 990px */

@media (max-width: 990px) {
    .site-header__inner {
        width: calc(100% - 2rem);
        min-height: 64px;
        flex-wrap: wrap;
        padding-block: 1rem;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        flex-basis: 100%;
        width: 100%;
        margin-left: 0;
    }

    .site-nav.is-open {
        display: block;
    }

    .site-menu {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 1rem;
        padding: 1rem 0 0.5rem;
    }

    .site-menu a {
        font-size: 0.82rem;
    }

    .site-branding {
        padding-top: 1.75rem;
    }
}

@media (min-width: 991px) {
    .site-nav {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 1rem 6rem;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 10vw, 4.25rem);
    }

    .intro {
        font-size: 1.1rem;
    }

    .site-main,
    .entry-content {
        width: calc(100% - 2rem);
    }
}

@media (max-width: 480px) {
    .site-mark {
        width: 30px;
        height: 30px;
    }

    .site-branding {
        padding-inline: 1rem;
    }

    .site-branding__name {
        font-size: 0.78rem;
        letter-spacing: 0.16em;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 13vw, 3.5rem);
        letter-spacing: 0.05em;
    }
}

/* Developer ruler */

.developer-ruler {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999999;
    height: 36px;
    border-top: 1px solid #555;
    background-color: rgba(255, 255, 255, 0.97);
    background-image:
        repeating-linear-gradient(
            to right,
            #999 0,
            #999 1px,
            transparent 1px,
            transparent 10px
        ),
        repeating-linear-gradient(
            to right,
            #222 0,
            #222 2px,
            transparent 2px,
            transparent 100px
        );
    pointer-events: none;
    overflow: hidden;
}

.developer-ruler__scale {
    position: absolute;
    inset: 0;
}

.developer-ruler__label {
    position: absolute;
    top: 14px;
    padding-left: 4px;
    color: #222;
    background: rgba(255, 255, 255, 0.9);
    font: 600 11px/1 monospace;
}

.developer-ruler__viewport {
    position: absolute;
    top: 4px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 7px;
    border: 1px solid #777;
    border-radius: 4px;
    background: #fff;
    color: #111;
    font: 700 12px/1 monospace;
}

.developer-ruler__viewport span {
    color: #555;
    font-weight: 600;
}
/* ==========================================================
   WORDMARK
   ========================================================== */

.site-branding{
    display:flex;
    justify-content:center;
    margin:3rem 0 4rem;
}

.brand-mark{
    display:inline-block;
    position:relative;

    font-family: Georgia, "Times New Roman", serif;
    color:#222;
    text-decoration:none;

    line-height:.88;
}

.brand-top{
    display:block;
    font-size:3.4rem;
    font-weight:400;
}

.brand-the{

    position:absolute;

    left:58%;
    top:0.65em;

    font-size:1.2rem;
    letter-spacing:.08em;

    text-transform:uppercase;
}

.brand-bottom{
    display:block;

    margin-top:-0.05em;

    font-size:3.4rem;
    font-weight:400;
}

/* ==========================================================
   HOME HERO
   ========================================================== */

.home-page {
    width: 100%;
    margin: 0;
}

.home-hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #1a1a1a;
}

/* ==========================================================
   HERO CINEMATIC VIDEO
   ========================================================== */

.home-hero__media{
    position:absolute;
    inset:0;
    overflow:hidden;
    z-index:0;
}

.home-hero__video{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    opacity:.48;
    filter:brightness(1.10) contrast(.96) saturate(.88);
    transform:scale(1.03);
}

.home-hero__overlay{
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:linear-gradient(
        180deg,
        rgba(18,18,18,.18) 0%,
        rgba(18,18,18,.36) 55%,
        rgba(18,18,18,.72) 100%);
}

.home-hero__inner{
    position:relative;
    z-index:2;
}

.home-hero__content {
    position: relative;
    z-index: 1;

    width: min(calc(100% - 4rem), 1100px);
    margin-inline: auto;

    color: #ffffff;
    text-align: center;
}

.home-hero__eyebrow {
    margin: 0 0 1.5rem;

    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 300;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.home-hero__title {
    max-width: 1000px;
    margin: 0 auto 1.5rem;

    font-family: var(--font-serif);
    font-size: clamp(3.25rem, 7vw, 6.5rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.home-hero__tagline {
    margin: 0 0 2.25rem;

    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    line-height: 1.5;
}

.home-hero__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.85rem 1.4rem;

    border: 1px solid rgba(255, 255, 255, 0.8);

    color: #ffffff;
    text-decoration: none;

    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    transition:
        background-color 160ms ease,
        color 160ms ease;
}

.home-hero__link:hover,
.home-hero__link:focus-visible {
    background: #ffffff;
    color: #111111;
}

@media (max-width: 990px) {
    .home-hero {
        min-height: calc(100vh - 64px);
    }

    .home-hero__content {
        width: calc(100% - 2rem);
    }

    .home-hero__title {
        font-size: clamp(3rem, 10vw, 5rem);
    }
}

@media (max-width: 568px) {
    .home-hero {
        min-height: 78vh;
    }

    .home-hero__eyebrow {
        margin-bottom: 1rem;
    }

    .home-hero__title {
        font-size: clamp(2.6rem, 13vw, 4rem);
        line-height: 1.05;
    }

    .home-hero__tagline {
        font-size: 1rem;
    }
}
/* ==========================================================
   HOME PAGE
   ========================================================== */

.home {
    background: #121212;
    color: #f2f1ee;
}

.home-hero {
    min-height: calc(100vh - var(--header-height, 100px));
    display: flex;
    align-items: center;
    padding: 7rem 2rem 9rem;
    background:
        radial-gradient(
            circle at 50% 42%,
            rgba(255, 255, 255, 0.035),
            transparent 52%
        ),
        #121212;
}

.home-hero__inner {
    width: min(100%, 1180px);
    margin-inline: auto;
}

.home-hero__eyebrow,
.home-section__eyebrow {
    margin: 0 0 1.5rem;
    color: #aaa8a2;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.home-hero__title {
    max-width: 1050px;
    margin: 0 0 2rem;
    color: #f2f1ee;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4.25rem, 9vw, 9rem);
    font-weight: 400;
    line-height: 0.88;
    letter-spacing: -0.045em;
}

.home-hero__tagline {
    margin: 0 0 3rem;
    color: #c6c4be;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-style: italic;
    line-height: 1.5;
}

.home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f2f1ee;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-decoration: none;
    text-transform: uppercase;
}

.home-link--outlined {
    min-height: 48px;
    padding: 0.75rem 1.4rem;
    border: 1px solid #65635f;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease;
    border-radius: 6px;
}

.home-link--outlined:hover,
.home-link--outlined:focus-visible {
    border-color: #f2f1ee;
    background: #f2f1ee;
    color: #121212;
}

.home-section {
    padding: clamp(6rem, 11vw, 11rem) 2rem;
    border-top: 1px solid #292929;
}

.home-section__inner {
    width: min(100%, 1180px);
    margin-inline: auto;
}

.home-section__inner--narrow {
    width: min(100%, 820px);
    margin-inline: auto;
}

.home-section__title {
    margin: 0 0 2.5rem;
    color: #f2f1ee;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 6vw, 5.7rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.home-section p {
    max-width: 740px;
    margin: 0 0 1.5rem;
    color: #bdbbb5;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.8;
}

.home-section__lead {
    color: #ebe9e4 !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 2.5vw, 2.1rem) !important;
    line-height: 1.45 !important;
}

.home-section--statement {
    background: #181818;
}

.home-section--human {
    background: #121212;
}

.home-principle {
    margin: 0 0 3rem;
    padding: 0;
    border: 0;
    color: #f2f1ee;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4.5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.home-section--entrances {
    background: #181818;
}

.home-entrances {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 4rem;

    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.home-entrance {
    min-height: 340px;
    padding: clamp(1.75rem, 3vw, 3rem);
    background: linear-gradient(
        180deg,
        rgba(42, 42, 42, 0.96),
        rgba(27, 27, 27, 0.98)
    );
    border-radius: 6px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition:
        background 180ms ease,
        transform 180ms ease;
}

.home-entrance:hover,
.home-entrance:focus-visible {
    background: linear-gradient(
        180deg,
        rgba(55, 55, 55, 0.98),
        rgba(34, 34, 34, 0.98)
    );
}

.home-entrance__number {
    display: block;
    margin-bottom: 4rem;
    color: #777570;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
}

.home-entrance h3 {
    margin: 0 0 1.2rem;
    color: #f2f1ee;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.9rem, 2.7vw, 3rem);
    font-weight: 400;
    line-height: 1;
}

.home-entrance p {
    max-width: 420px;
    margin: 0 0 2rem;
    color: #aaa8a2;
    font-size: 1rem;
    line-height: 1.7;
}

.home-entrance__arrow {
    color: #d8d6d1;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
/* ==========================================================
   CONTRIBUTORS CARD TYPOGRAPHY TWEAK
   (Temporary adjustment for visual balance)
   ========================================================== */

.home-entrance h3 {
    font-size: clamp(1.75rem, 2.45vw, 2.7rem);
}

/* ==========================================================
   END CONTRIBUTORS CARD TYPOGRAPHY TWEAK
   ========================================================== */

.home-section--promise {
    background: #101010;
}

.home-promise {
    margin-top: 3rem !important;
    padding-top: 3rem;
    border-top: 1px solid #343434;
    color: #f2f1ee !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.4vw, 1.9rem) !important;
    line-height: 1.5 !important;
}

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

@media (max-width: 650px) {
    .home-entrances {
        grid-template-columns: 1fr;
    }

    .home-entrance {
        min-height: auto;
    }
}


/* ==========================================================
   STUDIOS INDEX — FILM HERO
   ========================================================== */

.studios-index__header--film {
    position: relative;
    min-height: clamp(560px, 72vh, 820px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: clamp(5.5rem, 10vw, 9rem);
    padding-bottom: clamp(5.5rem, 10vw, 9rem);
    border-bottom: 0;
    background: #151515;
    color: #ffffff;
}

.studios-index__header-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #151515;
}

.studios-index__header-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
}

.studios-index__header-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(12,12,12,.72) 0%, rgba(12,12,12,.48) 52%, rgba(12,12,12,.24) 100%),
        linear-gradient(180deg, rgba(12,12,12,.12) 0%, rgba(12,12,12,.42) 100%);
}

.studios-index__header--film .studios-index__header-inner {
    position: relative;
    z-index: 2;
    width: min(100%, 1240px);
    max-width: none;
    margin-inline: auto;
}

.studios-index__header--film .studios-index__eyebrow,
.studios-index__header--film h1,
.studios-index__header--film .studios-index__intro,
.studios-index__header--film .studios-index__note {
    color: #ffffff;
    text-shadow: 0 1px 18px rgba(0,0,0,.18);
}

.studios-index__header--film .studios-index__eyebrow {
    opacity: .8;
}

.studios-index__header--film .studios-index__intro {
    max-width: 820px;
}

.studios-index__header--film .studios-index__note {
    max-width: 700px;
    opacity: .82;
}

@media (max-width: 600px) {
    .studios-index__header--film {
        min-height: 70vh;
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .studios-index__header--film .studios-index__header-inner {
        width: 100%;
        padding-inline: 0;
    }

    .studios-index__header-overlay {
        background: linear-gradient(180deg, rgba(12,12,12,.28) 0%, rgba(12,12,12,.68) 100%);
    }
}

/* ==========================================================
   STUDIOS INDEX — CURATED MARBLE ATELIERS
   ========================================================== */

.studios-index {
    --studios-ink: #201f1c;
    --studios-muted: #777169;
    --studios-rule: #cfc8bc;
    --studios-paper: #f5f2ec;
    --studios-accent: #8a7456;
    background: var(--studios-paper);
    color: var(--studios-ink);
}

.studios-index__header {
    padding: clamp(5.5rem, 10vw, 10rem) 2rem clamp(4.5rem, 8vw, 7.5rem);
    border-bottom: 1px solid var(--studios-rule);
}

.studios-index__header-inner,
.studios-index__directory-inner {
    width: min(100%, 1240px);
    margin-inline: auto;
}

.studios-index__header-inner {
    max-width: 980px;
    margin-left: max(0px, calc((100% - min(100%, 1240px)) / 2));
    margin-right: auto;
}

.studios-index__eyebrow,
.studio-entry__kicker,
.studio-entry__specialties,
.studio-entry__links,
.studios-index__pagination {
    font-family: var(--font-sans);
}

.studios-index__eyebrow {
    margin: 0 0 1.5rem;
    color: var(--studios-accent);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.studios-index__header h1 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(4rem, 9vw, 8rem);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.045em;
}

.studios-index__intro {
    max-width: 780px;
    margin: 2rem 0 0;
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.6vw, 2.25rem);
    font-style: italic;
    line-height: 1.35;
}

.studios-index__note {
    max-width: 680px;
    margin: 1.5rem 0 0;
    color: var(--studios-muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.studios-index__directory {
    padding: 0 2rem clamp(6rem, 10vw, 10rem);
}

.studio-entry {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
    min-height: 560px;
    padding: clamp(4rem, 7vw, 7rem) 0;
    border-bottom: 1px solid var(--studios-rule);
}

.studio-entry:nth-of-type(even) .studio-entry__media {
    order: 2;
}

.studio-entry:nth-of-type(even) .studio-entry__content {
    order: 1;
}

.studio-entry__image-link {
    display: block;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    background: #e7e2d9;
}

.studio-entry__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(.2,.65,.3,1);
}

.studio-entry__image-link:hover .studio-entry__image,
.studio-entry__image-link:focus-visible .studio-entry__image {
    transform: scale(1.018);
}

.studio-entry__image-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    color: rgba(32, 31, 28, 0.28);
    background:
        linear-gradient(135deg, rgba(255,255,255,.36), transparent 42%),
        #ded8cf;
    font-family: var(--font-serif);
    font-size: clamp(4rem, 8vw, 7rem);
    font-style: italic;
}

.studio-entry__kicker {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    color: var(--studios-muted);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-transform: uppercase;
}

.studio-entry__number {
    color: var(--studios-accent);
}

.studio-entry__title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 4.8vw, 5rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.studio-entry__title a {
    color: inherit;
    text-decoration: none;
}

.studio-entry__title a:hover,
.studio-entry__title a:focus-visible {
    color: var(--studios-accent);
}

.studio-entry__specialties {
    margin: 1.5rem 0 0;
    color: var(--studios-accent);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    line-height: 1.7;
    text-transform: uppercase;
}

.studio-entry__excerpt {
    max-width: 570px;
    margin: 1.75rem 0 0;
    color: #5f5a53;
    font-size: 1.08rem;
    line-height: 1.8;
}

.studio-entry__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-top: 2.25rem;
}

.studio-entry__links a {
    color: var(--studios-ink);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
}

.studio-entry__primary-link {
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--studios-accent);
}

.studio-entry__website-link {
    color: var(--studios-muted) !important;
}

.studio-entry__links a:hover,
.studio-entry__links a:focus-visible {
    color: var(--studios-accent) !important;
}

.studios-index__pagination {
    padding-top: 3rem;
    color: var(--studios-muted);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.studios-index__pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.studios-index__pagination a,
.studios-index__pagination .current {
    color: inherit;
    text-decoration: none;
}

.studios-index__pagination .current {
    color: var(--studios-ink);
}

.studios-index__empty {
    max-width: 720px;
    padding: clamp(5rem, 10vw, 9rem) 0;
    color: var(--studios-muted);
}

@media (max-width: 900px) {
    .studio-entry {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        min-height: 0;
        padding: 4rem 0;
    }

    .studio-entry:nth-of-type(even) .studio-entry__media,
    .studio-entry:nth-of-type(even) .studio-entry__content {
        order: initial;
    }

    .studio-entry__content {
        max-width: 700px;
    }
}

@media (max-width: 600px) {
    .studios-index__header,
    .studios-index__directory {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .studios-index__header {
        padding-top: 4.5rem;
        padding-bottom: 4rem;
    }

    .studios-index__header h1 {
        font-size: clamp(3.5rem, 18vw, 5.5rem);
    }

    .studio-entry {
        gap: 2rem;
        padding: 3rem 0;
    }

    .studio-entry__kicker {
        display: block;
    }

    .studio-entry__location {
        display: block;
        margin-top: 0.5rem;
    }

    .studio-entry__title {
        font-size: clamp(2.4rem, 12vw, 3.6rem);
    }
}


/* Primary navigation dropdowns — quiet, site-wide section navigation. */
@media (min-width: 991px) {
    .site-menu > li {
        position: relative;
    }

    .site-menu > li.menu-item-has-children > a::after {
        content: "";
        display: inline-block;
        width: 5px;
        height: 5px;
        margin-left: .55rem;
        border-right: 1px solid currentColor;
        border-bottom: 1px solid currentColor;
        transform: translateY(-2px) rotate(45deg);
        opacity: .72;
    }

    .site-menu > li.menu-item-has-children::after {
        content: "";
        position: absolute;
        top: 100%;
        left: -14px;
        right: -14px;
        height: 18px;
    }

    .site-menu .sub-menu {
        position: absolute;
        z-index: 1000;
        top: calc(100% + 16px);
        left: 50%;
        min-width: 190px;
        margin: 0;
        padding: 10px 0;
        list-style: none;
        background: #111111;
        border: 1px solid rgba(255,255,255,.13);
        box-shadow: 0 14px 30px rgba(0,0,0,.22);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(-50%, 5px);
        transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
    }

    .site-menu li:hover > .sub-menu,
    .site-menu li:focus-within > .sub-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }

    .site-menu .sub-menu li {
        width: 100%;
    }

    .site-menu .sub-menu a {
        display: block;
        width: 100%;
        padding: 10px 18px;
        font-size: .70rem;
        line-height: 1.25;
        letter-spacing: .14em;
        opacity: .78;
    }

    .site-menu .sub-menu a:hover,
    .site-menu .sub-menu a:focus-visible {
        background: rgba(255,255,255,.055);
        opacity: 1;
    }
}

@media (max-width: 990px) {
    .site-menu .sub-menu {
        position: static;
        display: block;
        margin: .65rem 0 0 1rem;
        padding: 0 0 0 1rem;
        list-style: none;
        border-left: 1px solid rgba(255,255,255,.18);
    }

    .site-menu .sub-menu li + li {
        margin-top: .65rem;
    }

    .site-menu .sub-menu a {
        font-size: .74rem;
        opacity: .72;
    }
}

/* Studio Index — intentionally uses the Lexicon's native visual grammar. */
.slx-studio-index .slx-glossary-thumb img {
    object-position: center top;
}

.slx-studio-index__meta {
    margin: 0 0 20px;
    color: #4f5e6d;
    line-height: 1.55;
}

.slx-studio-index__location,
.slx-studio-index__types {
    display: block;
}

.slx-studio-index__types {
    margin-top: .35rem;
    color: #617080;
    font-family: var(--font-sans);
    font-size: .76rem;
    line-height: 1.45;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.slx-studio-index__intro {
    width: min(760px, 100%);
    margin: -30px auto 44px;
    color: #617080;
    text-align: center;
    font-size: 1rem;
    line-height: 1.65;
}

.studios-index__browse {
    margin: 1.15rem 0 0;
}

.studios-index__browse a {
    color: inherit;
    font-family: var(--font-sans);
    font-size: .74rem;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid currentColor;
}

.studios-index__header--film .studios-index__browse a {
    color: rgba(255,255,255,.92);
}

@media (max-width: 620px) {
    .slx-studio-index__intro {
        margin-top: -18px;
        margin-bottom: 34px;
    }
}
