/* COMPONENTS – buttons, eyebrow, forms, cards, tabs, modal. */
.btn { display: inline-block; padding: .85rem 1.75rem; border: 1px solid var(--color-accent); background: transparent; color: var(--color-text); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--color-accent); color: #000; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.eyebrow { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--color-accent); margin-bottom: .75rem; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-head__title { margin: 0; }
.section-head__tools { display: flex; align-items: center; gap: .75rem; }
.section-head__link { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }

/* Forms */
.field { margin: 0 0 1.25rem; }
.field label { display: block; margin-bottom: .4rem; font-size: .85rem; color: var(--color-muted); }
input[type="text"], input[type="email"], input[type="tel"], textarea { width: 100%; padding: .85rem 1rem; background: transparent; border: 1px solid var(--color-border); border-radius: var(--radius); }
input::placeholder, textarea::placeholder { color: var(--color-muted); }
.form-message { margin: .75rem 0 0; font-size: .9rem; min-height: 1.4em; }
.form-message.is-success { color: #7bd88f; }
.form-message.is-error { color: #ff7b7b; }

/* Tabs */
.tabs__list { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--color-border); }
.tabs__tab { background: none; border: 0; padding: .75rem 0; color: var(--color-muted); cursor: pointer; border-bottom: 2px solid transparent; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.tabs__tab.is-active { color: var(--color-text); border-bottom-color: var(--color-accent); }
.tabs__panel[hidden] { display: none; }
.tabs__panel > * + * { margin-top: 3rem; }

/* Film feature + cards */
.film-feature { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.film-feature__image, .film-card__image { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius); }
.film-feature__status, .film-card__status { display: inline-block; margin-top: .75rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-accent); }
.film-feature__poster-title { margin: .25rem 0; }
.film-feature__line, .film-card__line { color: var(--color-muted); }
.film-feature__details { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin: 1.5rem 0; }
.film-feature__detail dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted); }
.film-feature__detail dd { margin: .25rem 0 0; }
.film-feature__trailer { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.film-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2rem; }

/* Video cards / carousel */
.carousel__track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; }
.carousel__track::-webkit-scrollbar { display: none; }
.video-card { flex: 0 0 clamp(240px, 26vw, 340px); scroll-snap-align: start; }
.video-card__thumb { position: relative; display: block; }
.video-card__image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.video-card__duration { position: absolute; right: .5rem; bottom: .5rem; padding: .1rem .5rem; background: rgba(0, 0, 0, .75); font-size: .75rem; border-radius: 2px; }
.video-card__title { margin-top: .75rem; font-family: var(--font-body); font-size: 1rem; font-weight: 500; }
.carousel__arrow { width: 40px; height: 40px; border: 1px solid var(--color-border); background: none; border-radius: 50%; cursor: pointer; position: relative; }
.carousel__arrow::after { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.carousel__arrow--prev::after { transform: rotate(-135deg); }
.carousel__arrow[disabled] { opacity: .3; cursor: default; }

/* News */
.news-list { border-top: 1px solid var(--color-border); }
.news-item { border-bottom: 1px solid var(--color-border); }
.news-item__link { display: grid; grid-template-columns: 200px 1fr; gap: 1rem; padding-block: 1.5rem; align-items: baseline; }
.news-item__date { font-size: .85rem; letter-spacing: .08em; color: var(--color-muted); text-transform: uppercase; }
.news-item__title { margin: 0; font-size: 1.35rem; }
.news-archive__note { margin-top: 2rem; color: var(--color-muted); }
.pagination, .navigation.pagination { margin-top: 2rem; }

/* Departments */
.departments__item { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.departments__name { font-weight: 600; }
.departments__desc { font-size: .85rem; color: var(--color-muted); }

/* Video modal */
.video-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; }
.video-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .85); }
.video-modal__box { position: relative; width: min(1000px, 100%); }
.video-modal__frame { aspect-ratio: 16 / 9; background: #000; }
.video-modal__frame iframe, .video-modal__frame video { width: 100%; height: 100%; border: 0; }
.video-modal__close { position: absolute; top: -2.5rem; right: 0; background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: #fff; }
