/* ══════════════════════════════════════════════════════════════════
   StylePhography — Main Stylesheet
   ══════════════════════════════════════════════════════════════════

   01 · Design Tokens
   02 · Reset & Base
   03 · Shared Components
   04 · Navigation
   05 · Hero (split)
   06 · Manifest
   07 · Service Cards
   08 · Testimonials
   09 · Brand Marquee
   10 · Contact
   11 · Footer
   12 · Video Modal
   13 · WP Compatibility & a11y
   14 · Reduced Motion
   ══════════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════════════════
   01 · DESIGN TOKENS
   ══════════════════════════════════════════════════════════════════ */
:root {
	--gold:        #d4af37;
	--gold-bright: #e8c559;
	--dark:        #0a0a0a;
	--bg-soft:     #0d0d0d;
	--bg-deep:     #050505;
	--surface:     #111111;
	--text:        #ffffff;
	--text-muted:  rgba(255, 255, 255, 0.7);
	--text-dim:    rgba(255, 255, 255, 0.5);
	--border:      rgba(255, 255, 255, 0.08);
	--border-gold: rgba(212, 175, 55, 0.3);

	--font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

	--ease:     cubic-bezier(0.65, 0, 0.05, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);

	--pad: clamp(20px, 5vw, 80px);
}

/* ══════════════════════════════════════════════════════════════════
   02 · RESET & BASE
   ══════════════════════════════════════════════════════════════════ */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	background: var(--dark);
	color: var(--text);
	font-family: var(--font-main);
	font-size: 16px;
	line-height: 1.3;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; }

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
}

::selection { background: var(--gold); color: var(--dark); }

/* ══════════════════════════════════════════════════════════════════
   03 · SHARED COMPONENTS
   ══════════════════════════════════════════════════════════════════ */
.gold-line {
	width: 60px;
	height: 4px;
	background: var(--gold);
	margin-bottom: 24px;
	border: none;
}

.tag {
	color: var(--gold);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 12px;
	display: inline-block;
}

.btn-gold {
	background: var(--gold);
	color: var(--dark);
	border: none;
	padding: 18px 32px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-size: 0.8rem;
	cursor: pointer;
	transition: background 0.4s var(--ease), transform 0.3s var(--ease);
}
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-gold:disabled { opacity: 0.5; cursor: wait; transform: none; }

.section-title {
	font-size: clamp(2.4rem, 6vw, 5.5rem);
	font-weight: 900;
	letter-spacing: -0.035em;
	text-transform: uppercase;
	line-height: 0.85;
	margin-bottom: 40px;
}

.section {
	padding: clamp(80px, 12vw, 120px) var(--pad);
	border-bottom: 1px solid #1a1a1a;
	position: relative;
}
.section--alt { background: var(--bg-deep); }
.section--soft { background: var(--bg-soft); }

.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════════════════
   04 · NAVIGATION
   ══════════════════════════════════════════════════════════════════ */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	padding: 16px var(--pad);
	z-index: 100;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
}
.site-header.scrolled {
	background: rgba(10, 10, 10, 0.9);
	border-bottom-color: var(--border);
	padding: 12px var(--pad);
}

.logo {
	font-weight: 900;
	font-size: 1.05rem;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	display: flex;
	align-items: center;
}
.logo-accent { color: var(--gold); }

/* Custom logo (when uploaded via Customizer) */
.logo .custom-logo-link img {
	max-height: 44px;
	width: auto;
}

.menu {
	display: flex;
	align-items: center;
	gap: 28px;
}
.menu a {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: var(--text);
	opacity: 0.85;
	position: relative;
	padding: 6px 0;
	transition: opacity 0.3s, color 0.3s;
}
.menu a:hover { color: var(--gold); opacity: 1; }
.menu a::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 0; height: 1px;
	background: var(--gold);
	transition: width 0.4s var(--ease);
}
.menu a:hover::after { width: 100%; }

.menu-toggle {
	display: none;
	width: 40px; height: 40px;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	color: var(--text);
}

@media (max-width: 860px) {
	.menu-toggle { display: flex; }
	.menu {
		position: fixed;
		top: 64px; left: 0; right: 0;
		flex-direction: column;
		background: rgba(10, 10, 10, 0.98);
		backdrop-filter: blur(20px);
		padding: 24px var(--pad) 32px;
		gap: 20px;
		border-bottom: 1px solid var(--border);
		transform: translateY(-120%);
		transition: transform 0.5s var(--ease);
	}
	.menu.open { transform: translateY(0); }
	.menu a { font-size: 0.95rem; opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════════
   05 · HERO — SPLIT
   ══════════════════════════════════════════════════════════════════ */
.hero {
	display: flex;
	height: 100vh;
	min-height: 560px;
	width: 100%;
	background: #000;
	overflow: hidden;
}

.hero-split {
	flex: 1;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	transition: flex 0.8s cubic-bezier(0.2, 1, 0.3, 1);
	cursor: pointer;
}
.hero-split:hover { flex: 1.5; }

.hero-split-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 6s var(--ease-out), filter 0.8s var(--ease);
	will-change: transform;
	filter: saturate(0.85) contrast(1.05);
}
.hero-split:hover .hero-split-bg { transform: scale(1.06); }

.hero-split--right {
	border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-split::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	transition: background 0.6s var(--ease);
	z-index: 1;
}
.hero-split:hover::before { background: rgba(0, 0, 0, 0.35); }

.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 0 24px;
}

.hero-content h1 {
	font-size: clamp(2rem, 6vw, 3.6rem);
	font-weight: 900;
	letter-spacing: -3px;
	text-transform: uppercase;
	color: var(--text);
	line-height: 0.85;
	margin-bottom: 20px;
}

.hero-arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--text);
	opacity: 0.6;
	transition: opacity 0.4s, color 0.4s, transform 0.4s;
}
.hero-split:hover .hero-arrow {
	opacity: 1;
	color: var(--gold);
	transform: translateX(6px);
}

@media (max-width: 768px) {
	.hero { flex-direction: column; height: auto; }
	.hero-split { min-height: 50vh; flex: 1 !important; }
	.hero-split--right { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
}

/* ══════════════════════════════════════════════════════════════════
   06 · MANIFEST
   ══════════════════════════════════════════════════════════════════ */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(30px, 5vw, 60px);
	align-items: start;
	margin-top: 40px;
}

.about-title {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 0.9;
	text-transform: uppercase;
}

.about-text p {
	font-size: clamp(0.95rem, 1.15vw, 1.1rem);
	font-weight: 300;
	line-height: 1.55;
	margin-bottom: 20px;
	color: var(--text-muted);
	text-align: justify;
}
.about-text p strong { color: var(--gold); font-weight: 500; }

@media (max-width: 900px) {
	.about-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   07 · SERVICE CARDS
   ══════════════════════════════════════════════════════════════════ */
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 20px;
}

.service-card {
	height: 500px;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	padding: 30px;
	cursor: pointer;
	transition: transform 0.5s var(--ease);
}
.service-card:hover { transform: scale(1.015); }

.service-card-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 1.2s var(--ease);
	will-change: transform;
}
.service-card:hover .service-card-bg { transform: scale(1.08); }

.service-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.5) 100%);
	z-index: 1;
	transition: opacity 0.4s;
}

.service-card-info {
	position: relative;
	z-index: 2;
}
.service-card-info span {
	display: inline-block;
	font-size: 0.7rem;
	color: var(--text);
	text-transform: uppercase;
	letter-spacing: 1.5px;
	border-bottom: 1px solid var(--gold);
	padding-bottom: 4px;
	margin-bottom: 14px;
	transition: color 0.3s;
}
.service-card:hover .service-card-info span { color: var(--gold); }
.service-card-info h3 {
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	font-weight: 900;
	letter-spacing: -0.04em;
	color: var(--gold);
	line-height: 0.9;
	text-transform: uppercase;
}

.service-card-play {
	position: absolute;
	top: 22px; right: 22px;
	z-index: 2;
	width: 42px; height: 42px;
	border-radius: 100px;
	border: 1px solid rgba(255,255,255,0.35);
	background: rgba(0,0,0,0.35);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text);
	font-size: 0.7rem;
	transition: all 0.4s var(--ease);
}
.service-card:hover .service-card-play {
	background: var(--gold);
	color: var(--dark);
	border-color: var(--gold);
	transform: scale(1.08);
}

@media (max-width: 900px) {
	.services-grid { grid-template-columns: 1fr; }
	.service-card { height: 380px; }
}

/* ══════════════════════════════════════════════════════════════════
   08 · TESTIMONIALS
   ══════════════════════════════════════════════════════════════════ */
.testimonials {
	margin-top: 80px;
	margin-bottom: 60px;
}
.testimonials h2 {
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	margin-bottom: 40px;
}

.testi-viewport {
	overflow: hidden;
	position: relative;
}
.testi-track {
	display: flex;
	transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}
.testi-slide {
	min-width: 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.testi-box {
	background: var(--surface);
	padding: 36px;
	border-left: 3px solid var(--gold);
	min-height: 280px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: background 0.4s var(--ease);
}
.testi-box:hover { background: #161616; }
.testi-box .quote {
	font-size: 0.98rem;
	font-weight: 300;
	font-style: italic;
	color: #d0d0d0;
	line-height: 1.5;
	margin-bottom: 22px;
}
.testi-box .author-name {
	font-weight: 900;
	font-size: 1rem;
	letter-spacing: -0.5px;
	text-transform: uppercase;
	color: var(--text);
}
.testi-box .author-role {
	font-size: 0.68rem;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--gold);
	margin-top: 4px;
	font-weight: 500;
}

.testi-ctrls {
	display: flex;
	gap: 10px;
	margin-top: 30px;
	justify-content: flex-end;
}
.ctrl-btn {
	width: 46px; height: 46px;
	background: transparent;
	border: 1px solid var(--border-gold);
	color: var(--gold);
	cursor: pointer;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s var(--ease);
}
.ctrl-btn:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.ctrl-btn:disabled { opacity: 0.3; cursor: not-allowed; }

@media (max-width: 900px) {
	.testi-slide { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   09 · BRAND MARQUEE
   ══════════════════════════════════════════════════════════════════ */
.brand-section {
	padding: 50px 0 20px;
	background: var(--bg-deep);
	overflow: hidden;
	margin-top: 20px;
	margin-left: calc(-1 * var(--pad));
	margin-right: calc(-1 * var(--pad));
	border-top: 1px solid var(--border);
}
.brand-section-label {
	padding: 0 var(--pad);
	margin-bottom: 30px;
}

.marquee {
	display: flex;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
	        mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.marquee-track {
	display: flex;
	gap: 50px;
	flex-shrink: 0;
	animation: stylepho-scroll 40s linear infinite;
	padding-right: 50px;
}
.marquee.reverse .marquee-track {
	animation: stylepho-scroll-reverse 45s linear infinite;
}
.marquee:hover .marquee-track {
	animation-play-state: paused;
}

@keyframes stylepho-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(calc(-100% - 50px)); }
}
@keyframes stylepho-scroll-reverse {
	from { transform: translateX(calc(-100% - 50px)); }
	to   { transform: translateX(0); }
}

.brand-logo {
	flex-shrink: 0;
	min-width: 160px;
	height: 70px;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 20px;
}
.brand-logo img {
	max-width: 140px;
	max-height: 44px;
	object-fit: contain;
	filter: brightness(0) invert(1);
	opacity: 0.6;
	transition: opacity 0.4s, filter 0.4s;
}
.brand-logo:hover img {
	filter: none;
	opacity: 1;
}
.brand-logo-text {
	font-weight: 900;
	font-size: 1.3rem;
	letter-spacing: -1px;
	color: var(--text);
	opacity: 0.6;
	text-transform: uppercase;
	white-space: nowrap;
	transition: opacity 0.4s, color 0.4s;
}
.brand-logo:hover .brand-logo-text {
	opacity: 1;
	color: var(--gold);
}

/* ══════════════════════════════════════════════════════════════════
   10 · CONTACT
   ══════════════════════════════════════════════════════════════════ */
.contact-layout {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 30px;
	margin-top: 50px;
}

.info-card {
	border: 1px solid var(--border);
	padding: clamp(30px, 4vw, 50px);
	background: rgba(255, 255, 255, 0.015);
}
.info-group { margin-bottom: 32px; }
.info-group:last-child { margin-bottom: 0; }
.info-group h4 {
	color: var(--gold);
	font-size: 0.7rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 16px;
	font-weight: 900;
}
.info-group p,
.info-group a {
	font-size: 1.05rem;
	font-weight: 200;
	color: var(--text);
	line-height: 1.6;
	display: block;
	transition: color 0.3s;
}
.info-group a:hover { color: var(--gold); }

.social-row {
	display: flex;
	gap: 14px;
	margin-top: 8px;
}
.social-row a {
	width: 44px; height: 44px;
	border: 1px solid var(--border);
	border-radius: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	color: var(--text);
	transition: all 0.3s var(--ease);
}
.social-row a:hover {
	background: var(--gold);
	color: var(--dark);
	border-color: var(--gold);
	transform: translateY(-3px);
}

.form-card {
	border: 1px solid var(--gold);
	padding: clamp(30px, 4vw, 50px);
	background: var(--dark);
	position: relative;
}
.form-card::before {
	content: "Contact";
	position: absolute;
	top: -8px; left: 30px;
	background: var(--dark);
	padding: 0 10px;
	color: var(--gold);
	font-size: 0.65rem;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	font-weight: 700;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.field {
	display: flex;
	flex-direction: column;
}
.field label {
	font-size: 0.62rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--text-dim);
	margin-bottom: 10px;
}
.field input,
.field select,
.field textarea {
	background: transparent;
	border: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	padding: 10px 0;
	color: var(--text);
	font-family: var(--font-main);
	font-size: 0.95rem;
	outline: none;
	transition: border-color 0.3s;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-bottom-color: var(--gold); }
.field select { cursor: pointer; }
.field select option { background: var(--dark); color: var(--text); }
.field textarea {
	height: 140px;
	resize: vertical;
	min-height: 90px;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); }

.form-status {
	padding: 14px 18px;
	border: 1px solid var(--border-gold);
	background: rgba(212, 175, 55, 0.1);
	color: var(--gold);
	font-size: 0.85rem;
	font-weight: 500;
	text-align: center;
	display: none;
}
.form-status.show { display: block; }
.form-status.error {
	background: rgba(220, 60, 60, 0.1);
	border-color: rgba(220, 60, 60, 0.4);
	color: #ff8888;
}

@media (max-width: 900px) {
	.contact-layout { grid-template-columns: 1fr; }
	.form-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   11 · FOOTER
   ══════════════════════════════════════════════════════════════════ */
.site-footer {
	padding: 40px var(--pad);
	border-top: 1px solid var(--border);
	background: var(--bg-deep);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 0.78rem;
	color: var(--text-dim);
	letter-spacing: 0.5px;
}
.site-footer a { color: var(--text-muted); transition: color 0.3s; }
.site-footer a:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════════════════
   12 · VIDEO MODAL
   ══════════════════════════════════════════════════════════════════ */
.video-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.95);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.video-modal.open { display: flex; animation: stylepho-fadeIn 0.4s var(--ease-out); }
@keyframes stylepho-fadeIn { from { opacity: 0; } to { opacity: 1; } }

.video-modal-inner {
	position: relative;
	width: 100%;
	max-width: 420px;
	aspect-ratio: 9/16;
	max-height: 88vh;
}
.video-modal iframe {
	width: 100%;
	height: 100%;
	border: none;
	border-radius: 2px;
}
.video-close {
	position: absolute;
	top: -52px; right: 0;
	width: 44px; height: 44px;
	border: 1px solid var(--border);
	color: var(--text);
	border-radius: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	cursor: pointer;
	transition: all 0.3s var(--ease);
}
.video-close:hover {
	background: var(--gold);
	color: var(--dark);
	border-color: var(--gold);
	transform: rotate(90deg);
}

body.modal-open { overflow: hidden; }

/* ══════════════════════════════════════════════════════════════════
   13 · WP COMPATIBILITY & A11Y
   ══════════════════════════════════════════════════════════════════ */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	        clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: var(--gold);
	color: var(--dark);
	clip: auto !important;
	-webkit-clip-path: none;
	        clip-path: none;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.skip-link {
	position: absolute;
	top: -40px; left: 0;
	background: var(--gold);
	color: var(--dark);
	padding: 10px 20px;
	font-weight: 700;
	font-size: 0.8rem;
	z-index: 10000;
	transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* WP admin bar compensation */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

/* Alignments for potential inserted content */
.alignleft  { float: left;  margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* ══════════════════════════════════════════════════════════════════
   14 · REDUCED MOTION
   ══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
