/*
Theme Name: CTG Modelling
Theme URI: https://ctgmodelling.com
Author: CTG Modelling
Description: A minimal, editorial theme for CTG Modelling, built for Elementor. Includes a Models database (divisions, boards, measurements, portfolio, polaroids, video, comp cards), a client shortlist, a Become a Model application form, custom Elementor widgets and a one-click setup.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: ctg
Tags: elementor, portfolio, fashion, minimal, one-column, custom-logo, custom-menu
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--ctg-bg: #ffffff;
	--ctg-ink: #0b0b0b;
	--ctg-soft: #f4f3f1;
	--ctg-muted: #8b8b8b;
	--ctg-line: #e7e7e7;
	--ctg-accent: #b8976a;
	--ctg-display: "Bodoni Moda", "Didot", "Times New Roman", serif;
	--ctg-sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--ctg-gutter: clamp(16px, 3vw, 40px);
	--ctg-max: 1600px;
	--ctg-header-h: 76px;
	--ctg-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ctg-bg);
	color: var(--ctg-ink);
	font-family: var(--ctg-sans);
	font-size: 15px;
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body.ctg-lock { overflow: hidden; }
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .25s var(--ctg-ease), color .25s var(--ctg-ease); }
a:hover { opacity: .6; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 400; line-height: 1.1; }
h1, h2 { font-family: var(--ctg-display); letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 6vw, 96px); }
h2 { font-size: clamp(32px, 4vw, 64px); }
h3 { font-size: 22px; }
p { margin: 0 0 1.2em; }
hr { border: 0; border-top: 1px solid var(--ctg-line); margin: 48px 0; }
::selection { background: var(--ctg-ink); color: #fff; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: #fff; clip: auto !important; clip-path: none; color: var(--ctg-ink); display: block;
	height: auto; left: 8px; padding: 12px 20px; top: 8px; width: auto; z-index: 100000;
}
:focus-visible { outline: 1px solid var(--ctg-ink); outline-offset: 3px; }

.ctg-container { width: 100%; max-width: var(--ctg-max); margin: 0 auto; padding: 0 var(--ctg-gutter); }
.ctg-narrow { max-width: 820px; margin: 0 auto; }
.ctg-label {
	font-family: var(--ctg-sans); font-size: 11px; font-weight: 500;
	letter-spacing: .22em; text-transform: uppercase; color: var(--ctg-muted);
}
.ctg-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	padding: 16px 34px; border: 1px solid var(--ctg-ink); background: var(--ctg-ink); color: #fff;
	font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
	transition: background .3s var(--ctg-ease), color .3s var(--ctg-ease);
}
.ctg-btn:hover { background: transparent; color: var(--ctg-ink); opacity: 1; }
.ctg-btn--ghost { background: transparent; color: var(--ctg-ink); }
.ctg-btn--ghost:hover { background: var(--ctg-ink); color: #fff; }
.ctg-btn--light { border-color: #fff; background: #fff; color: var(--ctg-ink); }
.ctg-btn--light:hover { background: transparent; color: #fff; }
.ctg-link {
	font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
	border-bottom: 1px solid currentColor; padding-bottom: 3px;
}

/* Reveal on scroll */
.ctg-reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ctg-ease), transform 1s var(--ctg-ease); }
.ctg-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.ctg-reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}

/* ==========================================================================
   3. Header
   ========================================================================== */
.ctg-header {
	position: sticky; top: 0; z-index: 900;
	background: rgba(255,255,255,.96);
	-webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: background .4s var(--ctg-ease), border-color .4s var(--ctg-ease), color .4s var(--ctg-ease), transform .4s var(--ctg-ease);
}
.admin-bar .ctg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ctg-header { top: 46px; } }
.ctg-header.is-scrolled { border-bottom-color: var(--ctg-line); }
.ctg-header.is-hidden { transform: translateY(-100%); }

.ctg-header--transparent { position: fixed; left: 0; right: 0; background: transparent; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.ctg-header--transparent.is-scrolled { background: rgba(255,255,255,.96); color: var(--ctg-ink); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); }

.ctg-header__inner {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	height: var(--ctg-header-h); max-width: var(--ctg-max); margin: 0 auto; padding: 0 var(--ctg-gutter);
}
.ctg-logo { justify-self: start; display: inline-flex; align-items: center; }
.ctg-logo img { max-height: 40px; width: auto; }
.ctg-header--transparent:not(.is-scrolled) .ctg-logo img { filter: invert(1) brightness(2); }
.ctg-logo__text {
	font-family: var(--ctg-display); font-size: 28px; letter-spacing: .04em; line-height: 1;
	display: inline-flex; align-items: baseline; gap: 10px;
}
.ctg-logo__text small {
	font-family: var(--ctg-sans); font-size: 10px; letter-spacing: .32em; text-transform: uppercase; font-weight: 500;
}

.ctg-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 2.4vw, 40px); }
.ctg-nav li { position: relative; }
.ctg-nav a {
	display: block; padding: 8px 0; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
	position: relative;
}
.ctg-nav a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
	transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ctg-ease);
}
.ctg-nav a:hover { opacity: 1; }
.ctg-nav a:hover::after, .ctg-nav .current-menu-item > a::after, .ctg-nav .current-menu-ancestor > a::after { transform: scaleX(1); transform-origin: left; }
.ctg-nav .sub-menu {
	position: absolute; top: 100%; left: -20px; min-width: 200px; display: block;
	background: #fff; color: var(--ctg-ink); padding: 14px 20px; border: 1px solid var(--ctg-line);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .3s var(--ctg-ease);
}
.ctg-nav .sub-menu li + li { margin-top: 2px; }
.ctg-nav li:hover > .sub-menu, .ctg-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.ctg-header__actions { justify-self: end; display: flex; align-items: center; gap: 22px; }
.ctg-icon-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.ctg-icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.ctg-count {
	min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ctg-ink); color: #fff;
	font-size: 10px; letter-spacing: 0; display: inline-flex; align-items: center; justify-content: center;
}
.ctg-header--transparent:not(.is-scrolled) .ctg-count { background: #fff; color: var(--ctg-ink); }
.ctg-count[data-count="0"] { display: none; }
.ctg-burger { display: none; width: 28px; height: 18px; position: relative; justify-self: start; }
.ctg-burger span { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .35s var(--ctg-ease), opacity .35s; }
.ctg-burger span:nth-child(1) { top: 2px; }
.ctg-burger span:nth-child(2) { top: 9px; }
.ctg-burger span:nth-child(3) { top: 16px; }

@media (max-width: 1024px) {
	.ctg-header__inner { grid-template-columns: auto 1fr auto; gap: 16px; }
	.ctg-burger { display: block; }
	.ctg-logo { justify-self: center; }
	.ctg-nav { display: none; }
	.ctg-icon-btn .ctg-icon-btn__label { display: none; }
}

/* Mobile drawer */
.ctg-drawer {
	position: fixed; inset: 0; z-index: 1000; background: var(--ctg-ink); color: #fff;
	display: flex; flex-direction: column; padding: 24px var(--ctg-gutter) 40px;
	opacity: 0; visibility: hidden; transition: opacity .4s var(--ctg-ease), visibility .4s;
}
.ctg-drawer.is-open { opacity: 1; visibility: visible; }
.ctg-drawer__top { display: flex; justify-content: space-between; align-items: center; height: 52px; }
.ctg-drawer ul { list-style: none; margin: 40px 0 0; padding: 0; }
.ctg-drawer li a { display: block; font-family: var(--ctg-display); font-size: clamp(32px, 9vw, 52px); line-height: 1.25; }
.ctg-drawer .sub-menu { margin: 0 0 12px; padding-left: 4px; }
.ctg-drawer .sub-menu a { font-family: var(--ctg-sans); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; line-height: 2.2; }
.ctg-drawer__foot { margin-top: auto; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); display: flex; gap: 20px; flex-wrap: wrap; }
.ctg-close { width: 28px; height: 28px; position: relative; }
.ctg-close::before, .ctg-close::after { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: currentColor; }
.ctg-close::before { transform: rotate(45deg); }
.ctg-close::after { transform: rotate(-45deg); }

/* Search overlay */
.ctg-search {
	position: fixed; inset: 0; z-index: 1001; background: rgba(255,255,255,.98); color: var(--ctg-ink);
	display: flex; flex-direction: column; padding: 28px var(--ctg-gutter);
	opacity: 0; visibility: hidden; transition: opacity .35s var(--ctg-ease), visibility .35s;
}
.ctg-search.is-open { opacity: 1; visibility: visible; }
.ctg-search__top { display: flex; justify-content: flex-end; }
.ctg-search__field {
	width: 100%; max-width: 1100px; margin: 8vh auto 0; border: 0; border-bottom: 1px solid var(--ctg-ink);
	background: transparent; font-family: var(--ctg-display); font-size: clamp(32px, 6vw, 80px); padding: 10px 0; outline: none; color: inherit;
}
.ctg-search__hint { max-width: 1100px; margin: 14px auto 0; width: 100%; }
.ctg-search__results {
	max-width: 1100px; width: 100%; margin: 40px auto 0; overflow-y: auto;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 16px;
}
.ctg-search__item img { aspect-ratio: 3/4; object-fit: cover; width: 100%; background: var(--ctg-soft); }
.ctg-search__item span { display: block; margin-top: 8px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }

/* ==========================================================================
   4. Hero slider
   ========================================================================== */
.ctg-hero {
	position: relative; height: 100vh; min-height: 560px; overflow: hidden; background: var(--ctg-ink); color: #fff;
}
.ctg-hero--below-header { height: calc(100vh - var(--ctg-header-h)); }
.ctg-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ctg-ease); }
.ctg-hero__slide.is-active { opacity: 1; z-index: 1; }
.ctg-hero__media { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--hero-cols, 1), 1fr); }
.ctg-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.ctg-hero__slide.is-active .ctg-hero__media img { transform: scale(1); }
.ctg-hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%); }
.ctg-hero__caption {
	position: absolute; z-index: 2; left: var(--ctg-gutter); right: var(--ctg-gutter); bottom: clamp(32px, 7vh, 80px);
	display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.ctg-hero__name {
	font-family: var(--ctg-display); font-size: clamp(48px, 9vw, 150px); line-height: .9; margin: 0; color: #fff;
}
.ctg-hero__name em { font-style: italic; }
.ctg-hero__meta { text-align: right; }
.ctg-hero__meta .ctg-label { color: rgba(255,255,255,.75); display: block; margin-bottom: 14px; }
.ctg-hero__dots { position: absolute; z-index: 3; top: 50%; right: var(--ctg-gutter); transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; }
.ctg-hero__dot { width: 2px; height: 34px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.ctg-hero__dot i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: #fff; }
.ctg-hero__dot.is-active i { animation: ctgFill var(--hero-speed, 6s) linear forwards; }
@keyframes ctgFill { to { height: 100%; } }
.ctg-hero--empty { display: flex; align-items: flex-end; padding: 0 var(--ctg-gutter) 8vh; background: radial-gradient(120% 90% at 70% 10%, #2a2a2a 0%, #0b0b0b 60%); }
.ctg-hero--empty .ctg-hero__name { font-size: clamp(64px, 14vw, 240px); }
.ctg-hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); width: 1px; height: 48px; background: rgba(255,255,255,.3); overflow: hidden; }
.ctg-hero__scroll::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: #fff; animation: ctgScroll 2.2s var(--ctg-ease) infinite; }
@keyframes ctgScroll { to { top: 100%; } }
@media (max-width: 767px) {
	.ctg-hero__media { grid-template-columns: 1fr; }
	.ctg-hero__media img:not(:first-child) { display: none; }
	.ctg-hero__caption { flex-direction: column; align-items: flex-start; }
	.ctg-hero__meta { text-align: left; }
}

/* ==========================================================================
   5. Models grid
   ========================================================================== */
.ctg-models { --gap: 28px; --ratio: 3/4; }
.ctg-toolbar {
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	padding: 18px 0; margin-bottom: 32px; border-top: 1px solid var(--ctg-line); border-bottom: 1px solid var(--ctg-line);
}
.ctg-alpha { display: flex; flex-wrap: wrap; gap: 2px 4px; }
.ctg-alpha button {
	min-width: 22px; padding: 4px 3px; font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--ctg-ink);
	border-bottom: 1px solid transparent;
}
.ctg-alpha button[disabled] { color: #cfcfcf; cursor: default; }
.ctg-alpha button.is-active { border-bottom-color: var(--ctg-ink); }
.ctg-toolbar__right { display: flex; align-items: center; gap: 24px; }
.ctg-filter-input {
	border: 0; border-bottom: 1px solid var(--ctg-ink); background: transparent; padding: 6px 0; width: 200px;
	font-size: 12px; letter-spacing: .14em; text-transform: uppercase; outline: none; color: inherit;
}
.ctg-density { display: flex; gap: 10px; }
.ctg-density button { width: 18px; height: 18px; display: grid; gap: 2px; opacity: .3; }
.ctg-density button.is-active { opacity: 1; }
.ctg-density button i { background: currentColor; display: block; }
.ctg-density [data-density="large"] { grid-template-columns: repeat(2, 1fr); }
.ctg-density [data-density="small"] { grid-template-columns: repeat(3, 1fr); }

.ctg-grid {
	display: grid; gap: calc(var(--gap) * 1.6) var(--gap);
	grid-template-columns: repeat(var(--cols, var(--cols-d, 4)), minmax(0, 1fr));
}
.ctg-models.is-dense .ctg-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1024px) {
	.ctg-grid { --cols: 3; }
	.ctg-models.is-dense .ctg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.ctg-grid { --cols: 2; }
	.ctg-models { --gap: 12px; }
	.ctg-models.is-dense .ctg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ctg-filter-input { width: 140px; }
	.ctg-density { display: none; }
}

.ctg-card { position: relative; }
.ctg-card[hidden] { display: none; }
.ctg-card a:hover { opacity: 1; }
.ctg-card__media { position: relative; margin: 0; aspect-ratio: var(--ratio); overflow: hidden; background: var(--ctg-soft); }
.ctg-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ctg-ease), transform 1.2s var(--ctg-ease); }
.ctg-card__media .ctg-card__alt { opacity: 0; }
.ctg-card:hover .ctg-card__media .ctg-card__alt { opacity: 1; }
.ctg-card:hover .ctg-card__media img { transform: scale(1.03); }
.ctg-card__placeholder {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	font-family: var(--ctg-display); font-size: clamp(36px, 5vw, 72px); color: #c9c6c1;
	background: linear-gradient(160deg, #f4f3f1 0%, #e9e7e3 100%);
}
.ctg-card__body { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-top: 14px; }
.ctg-card__name { margin: 0; font-family: var(--ctg-sans); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1.5; }
.ctg-card__name span { display: block; color: var(--ctg-muted); }
.ctg-card__meta { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .08em; color: var(--ctg-muted); }
.ctg-card__stats {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px; color: #fff;
	font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
	display: flex; flex-wrap: wrap; gap: 4px 14px;
	background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0));
	opacity: 0; transform: translateY(8px); transition: all .5s var(--ctg-ease);
}
.ctg-card:hover .ctg-card__stats { opacity: 1; transform: none; }
.ctg-models.is-dense .ctg-card__stats { display: none; }
@media (hover: none) { .ctg-card__stats { display: none; } }

.ctg-fav { flex: none; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; }
.ctg-fav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: fill .25s, stroke .25s, transform .25s var(--ctg-ease); }
.ctg-fav:hover svg { transform: scale(1.12); }
.ctg-fav.is-active svg { fill: var(--ctg-accent); stroke: var(--ctg-accent); }
.ctg-empty { padding: 60px 0; text-align: center; color: var(--ctg-muted); }

/* ==========================================================================
   6. Archive / page headers
   ========================================================================== */
.ctg-page-head { padding: clamp(48px, 9vw, 120px) 0 clamp(28px, 4vw, 48px); }
.ctg-page-head h1 { margin: 12px 0 0; }
.ctg-page-head__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.ctg-page-head__desc { max-width: 460px; color: #555; margin: 0; }
.ctg-subnav { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 28px; }
.ctg-subnav a { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ctg-muted); }
.ctg-subnav a.is-current { color: var(--ctg-ink); border-bottom: 1px solid var(--ctg-ink); }
.ctg-section { padding-top: clamp(64px, 9vw, 140px); padding-bottom: clamp(64px, 9vw, 140px); }
.site-main { min-height: 60vh; }
.ctg-entry { padding-bottom: 100px; }
.ctg-entry .entry-content > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.ctg-entry .entry-content > .alignwide { max-width: 1200px; }
.ctg-entry .entry-content > .alignfull { max-width: none; }

/* ==========================================================================
   7. Single model
   ========================================================================== */
.ctg-model { padding-bottom: 80px; }
.ctg-model__head {
	display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px;
	padding-top: clamp(28px, 4vw, 56px); padding-bottom: 22px;
}
.ctg-model__back { display: inline-block; margin-bottom: 14px; }
.ctg-model__name { font-family: var(--ctg-display); font-size: clamp(44px, 7vw, 110px); line-height: .95; margin: 0; }
.ctg-model__name em { font-style: italic; }
.ctg-model__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.ctg-model__actions .ctg-btn { padding: 13px 22px; }
.ctg-model__actions .ctg-fav { width: auto; height: auto; gap: 10px; }

.ctg-model__bar {
	display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
	border-top: 1px solid var(--ctg-line); border-bottom: 1px solid var(--ctg-line); padding: 16px 0; margin-bottom: 28px;
}
.ctg-measure { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 34px; }
.ctg-measure li { display: flex; flex-direction: column; gap: 2px; }
.ctg-measure b { font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ctg-muted); }
.ctg-measure span { font-size: 14px; letter-spacing: .04em; }
.ctg-units { display: inline-flex; border: 1px solid var(--ctg-ink); }
.ctg-units button { padding: 6px 12px; font-size: 10px; letter-spacing: .2em; font-weight: 500; }
.ctg-units button.is-active { background: var(--ctg-ink); color: #fff; }

.ctg-tabs { display: flex; gap: 28px; flex-wrap: wrap; }
.ctg-tabs button, .ctg-tabs a { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ctg-muted); padding: 4px 0; border-bottom: 1px solid transparent; }
.ctg-tabs .is-active { color: var(--ctg-ink); border-bottom-color: var(--ctg-ink); }
.ctg-panel[hidden] { display: none; }

.ctg-reel { position: relative; }
.ctg-reel__track {
	display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding: 0 var(--ctg-gutter); cursor: grab; -webkit-overflow-scrolling: touch;
}
.ctg-reel__track::-webkit-scrollbar { display: none; }
.ctg-reel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.ctg-reel__item { flex: none; height: min(78vh, 900px); min-width: calc(min(78vh, 900px) * .5); scroll-snap-align: start; margin: 0; background: var(--ctg-soft); }
.ctg-reel__item img { height: 100%; width: auto; max-width: none; object-fit: cover; user-select: none; -webkit-user-drag: none; cursor: zoom-in; }
.ctg-reel__nav { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--ctg-gutter) 0; }
.ctg-reel__count { font-size: 11px; letter-spacing: .2em; font-weight: 500; }
.ctg-reel__arrows { display: flex; gap: 8px; }
.ctg-arrow { width: 44px; height: 44px; border: 1px solid var(--ctg-line); display: inline-flex; align-items: center; justify-content: center; transition: border-color .3s; }
.ctg-arrow:hover { border-color: var(--ctg-ink); }
.ctg-arrow svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.ctg-reel__progress { height: 1px; background: var(--ctg-line); margin: 14px var(--ctg-gutter) 0; position: relative; }
.ctg-reel__progress i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ctg-ink); width: 0; transition: width .2s linear; }
@media (max-width: 767px) {
	.ctg-model__head { grid-template-columns: 1fr; }
	.ctg-model__actions { justify-content: flex-start; }
	.ctg-reel__item { height: 68vh; }
}
.ctg-polaroids { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ctg-polaroids img { width: 100%; aspect-ratio: 3/4; object-fit: cover; cursor: zoom-in; background: var(--ctg-soft); }
.ctg-video { aspect-ratio: 16/9; background: #000; }
.ctg-video iframe, .ctg-video video { width: 100%; height: 100%; }
.ctg-model__bio { padding: 60px 0 0; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
@media (max-width: 767px) { .ctg-model__bio { grid-template-columns: 1fr; } }
.ctg-model__pager { display: flex; justify-content: space-between; padding: 40px 0 0; margin-top: 60px; border-top: 1px solid var(--ctg-line); gap: 20px; }
.ctg-model__pager a { display: flex; flex-direction: column; gap: 4px; }
.ctg-model__pager a:last-child { text-align: right; }
.ctg-model__pager strong { font-family: var(--ctg-display); font-size: clamp(22px, 3vw, 36px); font-weight: 400; }

/* Lightbox */
.ctg-lightbox { position: fixed; inset: 0; z-index: 1100; background: rgba(255,255,255,.98); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.ctg-lightbox.is-open { opacity: 1; visibility: visible; }
.ctg-lightbox img { max-height: 90vh; max-width: 90vw; width: auto; object-fit: contain; }
.ctg-lightbox .ctg-close { position: absolute; top: 24px; right: 24px; }
.ctg-lightbox__prev, .ctg-lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.ctg-lightbox__prev { left: 20px; }
.ctg-lightbox__next { right: 20px; }
.ctg-lightbox__count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .2em; }

/* ==========================================================================
   8. Divisions block
   ========================================================================== */
.ctg-divisions { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ctg-line); position: relative; }
.ctg-divisions li { border-bottom: 1px solid var(--ctg-line); }
.ctg-divisions a {
	display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 24px; padding: clamp(18px, 2.4vw, 32px) 0;
	position: relative;
}
.ctg-divisions a:hover { opacity: 1; }
.ctg-divisions__num { font-size: 11px; letter-spacing: .2em; color: var(--ctg-muted); }
.ctg-divisions__name { font-family: var(--ctg-display); font-size: clamp(36px, 6vw, 96px); line-height: 1; transition: transform .6s var(--ctg-ease), font-style .3s; }
.ctg-divisions a:hover .ctg-divisions__name { transform: translateX(24px); font-style: italic; }
.ctg-divisions__count { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.ctg-divisions__peek {
	position: fixed; z-index: 50; width: 220px; aspect-ratio: 3/4; pointer-events: none; overflow: hidden;
	opacity: 0; transform: translate(-50%, -50%) scale(.9); transition: opacity .35s var(--ctg-ease), transform .35s var(--ctg-ease);
}
.ctg-divisions__peek.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ctg-divisions__peek img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .ctg-divisions a { grid-template-columns: 40px 1fr auto; } .ctg-divisions__peek { display: none; } }

/* ==========================================================================
   9. News
   ========================================================================== */
.ctg-news { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 48px 28px; }
@media (max-width: 900px) { .ctg-news { grid-template-columns: 1fr; } }
.ctg-news__media { aspect-ratio: 4/5; overflow: hidden; background: var(--ctg-soft); margin: 0 0 18px; }
.ctg-news__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ctg-ease); }
.ctg-news article:hover img { transform: scale(1.04); }
.ctg-news h3 { font-family: var(--ctg-display); font-size: clamp(22px, 2vw, 30px); margin: 10px 0 0; }
.ctg-pagination { margin-top: 60px; display: flex; justify-content: center; gap: 12px; }
.ctg-pagination .page-numbers { padding: 6px 12px; font-size: 12px; letter-spacing: .1em; }
.ctg-pagination .current { border-bottom: 1px solid var(--ctg-ink); }

/* ==========================================================================
   10. Forms (apply, contact, shortlist)
   ========================================================================== */
.ctg-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; }
.ctg-form .ctg-field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .ctg-form { grid-template-columns: 1fr; } }
.ctg-field label { display: block; font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ctg-muted); margin-bottom: 8px; }
.ctg-field input[type="text"], .ctg-field input[type="email"], .ctg-field input[type="tel"], .ctg-field input[type="date"],
.ctg-field input[type="number"], .ctg-field input[type="url"], .ctg-field select, .ctg-field textarea {
	width: 100%; border: 0; border-bottom: 1px solid #cfcfcf; background: transparent; padding: 10px 0; font: inherit; color: inherit; border-radius: 0; outline: none;
	transition: border-color .3s;
}
.ctg-field textarea { min-height: 120px; resize: vertical; }
.ctg-field input:focus, .ctg-field select:focus, .ctg-field textarea:focus { border-bottom-color: var(--ctg-ink); }
.ctg-uploads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 767px) { .ctg-uploads { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ctg-upload { position: relative; aspect-ratio: 3/4; border: 1px dashed #bdbdbd; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px; background: var(--ctg-soft); overflow: hidden; cursor: pointer; }
.ctg-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ctg-upload strong { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.ctg-upload small { color: var(--ctg-muted); font-size: 11px; margin-top: 6px; }
.ctg-upload img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ctg-check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: #444; }
.ctg-check input { margin-top: 4px; accent-color: var(--ctg-ink); }
.ctg-hp { position: absolute !important; left: -9999px !important; }
.ctg-notice { padding: 18px 22px; border: 1px solid var(--ctg-ink); margin-bottom: 28px; font-size: 14px; }
.ctg-notice--error { border-color: #b3261e; color: #b3261e; }

/* Shortlist */
.ctg-shortlist__layout { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 960px) { .ctg-shortlist__layout { grid-template-columns: 1fr; } }
.ctg-shortlist__side { position: sticky; top: calc(var(--ctg-header-h) + 24px); background: var(--ctg-soft); padding: 32px; }
.ctg-shortlist__side .ctg-form { grid-template-columns: 1fr; gap: 20px; }

/* ==========================================================================
   11. Footer
   ========================================================================== */
.ctg-footer { background: var(--ctg-ink); color: #fff; padding: clamp(64px, 8vw, 120px) 0 28px; margin-top: 0; }
.ctg-footer a:hover { opacity: .55; }
.ctg-footer__cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.15); }
.ctg-footer__cta h2 { margin: 0; max-width: 900px; font-size: clamp(36px, 5vw, 76px); color: #fff; }
.ctg-footer__cta h2 em { font-style: italic; }
.ctg-footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0; }
@media (max-width: 900px) { .ctg-footer__cols { grid-template-columns: 1fr 1fr; } }
.ctg-footer h4 { font-family: var(--ctg-sans); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 500; margin-bottom: 18px; }
.ctg-footer ul { list-style: none; margin: 0; padding: 0; }
.ctg-footer li { margin-bottom: 8px; font-size: 14px; }
.ctg-footer__about { color: rgba(255,255,255,.7); max-width: 360px; font-size: 14px; }
.ctg-footer__mark { font-family: var(--ctg-display); font-size: clamp(80px, 22vw, 360px); line-height: .8; letter-spacing: -.02em; margin: 0 0 28px; color: #fff; white-space: nowrap; overflow: hidden; }
.ctg-footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.ctg-social { display: flex; gap: 20px; flex-wrap: wrap; }

/* ==========================================================================
   12. Elementor helpers
   ========================================================================== */
.elementor-page .site-main > .ctg-container,
.elementor-page .ctg-entry { padding: 0; }
.elementor-widget-shortcode .ctg-hero { margin: 0; }
.ctg-home-transparent .site-main { margin-top: 0; }
.elementor-widget-heading .elementor-heading-title em { font-style: italic; }
.ctg-el-btn .elementor-button {
	display: inline-flex; align-items: center; justify-content: center; border-radius: 0;
	padding: 16px 34px; border: 1px solid var(--ctg-ink); background: var(--ctg-ink); color: #fff;
	font-family: var(--ctg-sans); font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; line-height: 1.4;
	transition: background .3s var(--ctg-ease), color .3s var(--ctg-ease);
}
.ctg-el-btn .elementor-button:hover { background: transparent; color: var(--ctg-ink); opacity: 1; }
.ctg-el-btn--ghost .elementor-button { background: transparent; color: var(--ctg-ink); }
.ctg-el-btn--ghost .elementor-button:hover { background: var(--ctg-ink); color: #fff; }
.ctg-el-btn--light .elementor-button { border-color: #fff; background: #fff; color: var(--ctg-ink); }
.ctg-el-btn--light .elementor-button:hover { background: transparent; color: #fff; }
.ctg-el-counter .elementor-counter-number-wrapper { font-family: var(--ctg-display); font-size: clamp(48px, 6vw, 88px); font-weight: 400; line-height: 1; justify-content: flex-start; }
.ctg-el-counter .elementor-counter-title { font-family: var(--ctg-sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ctg-muted); text-align: left; justify-content: flex-start; margin-top: 12px; }
.ctg-el-list .elementor-icon-list-item { padding: 12px 0 !important; border-bottom: 1px solid var(--ctg-line); }
.ctg-el-list .elementor-icon-list-icon { display: none; }
.ctg-el-list .elementor-icon-list-text { font-size: 15px; color: #333; padding-left: 0 !important; }
.ctg-el-portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.elementor-widget-text-editor a { border-bottom: 1px solid currentColor; }
