/* ==========================================================================
   Black Star Builders — Main Stylesheet
   Brand: Black (#0d0d0f) · Gold (#c8a24a) · White
   Fonts: Barlow Condensed (display) · Inter (body)
   ========================================================================== */

:root {
	--black: #0d0d0f;
	--ink: #14151a;
	--ink-2: #1c1e26;
	--gold: #c8a24a;
	--gold-2: #e2c072;
	--gold-deep: #a9832f;
	--white: #ffffff;
	--paper: #f6f5f2;
	--paper-2: #eeece6;
	--line: #e4e2db;
	--muted: #6b7280;
	--text: #24262d;

	--container: 1200px;
	--radius: 4px;
	--radius-lg: 8px;
	--shadow-sm: 0 6px 18px rgba(13, 13, 15, 0.08);
	--shadow: 0 18px 44px rgba(13, 13, 15, 0.14);
	--shadow-gold: 0 14px 30px rgba(200, 162, 74, 0.28);

	--font-display: 'Barlow Condensed', 'Oswald', sans-serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--text);
	background: var(--white);
	line-height: 1.7;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
	font-family: var(--font-display);
	color: var(--black);
	line-height: 1.08;
	margin: 0 0 0.5em;
	font-weight: 700;
	letter-spacing: 0.4px;
}

a { color: var(--gold-deep); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--gold); }

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

p { margin: 0 0 1.1em; }

ul { margin: 0; padding: 0; }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.section { padding: 96px 0; }
@media (max-width: 782px) { .section { padding: 64px 0; } }

/* ---------- Typography helpers ---------- */
.eyebrow {
	display: inline-block;
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 3px;
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--gold-deep);
	margin-bottom: 14px;
	position: relative;
	padding-left: 40px;
}
.eyebrow::before {
	content: "";
	position: absolute;
	left: 0; top: 50%;
	width: 28px; height: 2px;
	background: var(--gold);
	transform: translateY(-50%);
}
.eyebrow--light { color: var(--gold-2); }
.eyebrow--light::before { background: var(--gold-2); }

.section-title {
	font-size: clamp(2rem, 4vw, 3.1rem);
	text-transform: uppercase;
	margin-bottom: 0.4em;
}
.section-sub { color: var(--muted); max-width: 640px; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { padding-left: 0; }
.section-head .eyebrow::before { display: none; }
.section-head .section-sub { margin-inline: auto; }

.lead { font-size: 1.12rem; color: #3f4249; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 600;
	font-size: 1rem;
	padding: 15px 30px;
	border-radius: var(--radius);
	border: 2px solid transparent;
	cursor: pointer;
	transition: all 0.3s var(--ease);
	line-height: 1;
}
.btn--gold { background: var(--gold); color: var(--black); box-shadow: var(--shadow-gold); }
.btn--gold:hover { background: var(--gold-2); color: var(--black); transform: translateY(-2px); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--ink-2); color: var(--gold-2); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(255,255,255,0.05); }
.btn--sm { padding: 11px 20px; font-size: 0.9rem; }
.btn--lg { padding: 18px 40px; font-size: 1.1rem; }
.btn--block { width: 100%; justify-content: center; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.topbar {
	background: var(--black);
	color: rgba(255,255,255,0.72);
	font-size: 0.86rem;
}
.topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 42px;
	gap: 20px;
}
.topbar__tag {
	margin: 0;
	font-family: var(--font-display);
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--gold-2);
	font-size: 0.82rem;
}
.topbar__contact { display: flex; gap: 26px; }
.topbar__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255,255,255,0.8);
}
.topbar__link:hover { color: var(--gold-2); }
.topbar__link svg { color: var(--gold); flex: none; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 900;
	background: var(--white);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	min-height: 104px;
	transition: min-height 0.3s var(--ease);
}
.site-header.is-stuck .site-header__inner { min-height: 82px; }

.site-branding img,
.custom-logo,
.brand-fallback img {
	height: 88px;
	width: auto;
	transition: height 0.3s var(--ease);
}
.site-header.is-stuck .custom-logo,
.site-header.is-stuck .brand-fallback img { height: 66px; }
.site-branding .custom-logo-link { display: inline-block; }

/* Navigation */
.main-navigation { margin-left: auto; }
.nav-menu {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
}
.nav-menu li { position: relative; }
.nav-menu a {
	display: block;
	padding: 12px 16px;
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 600;
	font-size: 1.02rem;
	color: var(--black);
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a { color: var(--gold-deep); }
.nav-menu a::after {
	content: "";
	display: block;
	height: 2px;
	width: 0;
	background: var(--gold);
	transition: width 0.3s var(--ease);
	margin-top: 3px;
}
.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after { width: 100%; }

/* Sub-menus */
.nav-menu ul.sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--black);
	list-style: none;
	padding: 8px 0;
	border-top: 3px solid var(--gold);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.25s var(--ease);
	z-index: 20;
}
.nav-menu li:hover > ul.sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu ul.sub-menu a { color: rgba(255,255,255,0.85); padding: 10px 20px; }
.nav-menu ul.sub-menu a:hover { color: var(--gold-2); }
.nav-menu ul.sub-menu a::after { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 16px; }

/* Hamburger */
.menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	width: 46px; height: 46px;
	align-items: center;
	justify-content: center;
	background: var(--black);
	border: none;
	border-radius: var(--radius);
	cursor: pointer;
}
.menu-toggle__bar {
	width: 22px; height: 2px;
	background: var(--white);
	transition: all 0.3s var(--ease);
}
.nav-open .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
	position: relative;
	min-height: 88vh;
	display: flex;
	align-items: center;
	background: var(--hero-bg) center/cover no-repeat, var(--black);
	color: var(--white);
	isolation: isolate;
}
.hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(100deg, rgba(13,13,15,0.92) 0%, rgba(13,13,15,0.72) 45%, rgba(13,13,15,0.35) 100%),
		linear-gradient(0deg, rgba(13,13,15,0.6), rgba(13,13,15,0));
	z-index: -1;
}
.hero__inner { padding: 120px 0; }
.hero__content { max-width: 720px; }
.hero__title {
	color: var(--white);
	font-size: clamp(2.6rem, 6vw, 4.8rem);
	text-transform: uppercase;
	margin-bottom: 0.35em;
}
.hero__title { text-wrap: balance; }
.hero__text {
	font-size: 1.2rem;
	color: rgba(255,255,255,0.82);
	max-width: 600px;
	margin-bottom: 2em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__scroll {
	position: absolute;
	bottom: 26px;
	left: 50%;
	transform: translateX(-50%);
	width: 26px; height: 42px;
	border: 2px solid rgba(255,255,255,0.5);
	border-radius: 14px;
	display: flex;
	justify-content: center;
	padding-top: 8px;
}
.hero__scroll span {
	width: 4px; height: 8px;
	background: var(--gold);
	border-radius: 2px;
	animation: scrolldot 1.6s infinite;
}
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(-4px);} 50%{opacity:1;} 100%{opacity:0; transform: translateY(10px);} }

/* ==========================================================================
   FEATURE STRIP
   ========================================================================== */
.feature-strip {
	background: var(--black);
	color: var(--white);
	position: relative;
	z-index: 2;
}
.feature-strip__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}
.feature-strip__item {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 34px 30px;
	border-right: 1px solid rgba(255,255,255,0.08);
}
.feature-strip__item:last-child { border-right: none; }
.feature-strip__item svg {
	width: 44px; height: 44px;
	fill: var(--gold);
	flex: none;
}
.feature-strip__item h3 { color: var(--white); font-size: 1.4rem; margin: 0 0 3px; text-transform: uppercase; }
.feature-strip__item p { margin: 0; color: rgba(255,255,255,0.6); font-size: 0.95rem; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about__grid {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 64px;
	align-items: center;
}
.about__media { position: relative; }
.about__media img {
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	width: 100%;
	object-fit: cover;
}
.about__badge {
	position: absolute;
	right: -18px;
	bottom: -26px;
	background: var(--gold);
	color: var(--black);
	padding: 22px 28px;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	text-align: center;
}
.about__badge-num { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; }
.about__badge-label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; max-width: 130px; }

.checklist { list-style: none; margin: 6px 0 30px; display: grid; gap: 12px; }
.checklist li {
	position: relative;
	padding-left: 36px;
	font-weight: 500;
	color: var(--text);
}
.checklist li::before {
	content: "";
	position: absolute;
	left: 0; top: 2px;
	width: 22px; height: 22px;
	background: var(--gold);
	border-radius: 50%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0d0f' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
	background-size: 14px;
	background-position: center;
	background-repeat: no-repeat;
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats {
	position: relative;
	background: var(--stats-bg) center/cover fixed no-repeat, var(--ink);
	color: var(--white);
	padding: 76px 0;
	isolation: isolate;
}
.stats__overlay { position: absolute; inset: 0; background: rgba(13,13,15,0.9); z-index: -1; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { padding: 10px; border-right: 1px solid rgba(255,255,255,0.1); }
.stat:last-child { border-right: none; }
.stat__num {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(2.6rem, 5vw, 3.8rem);
	font-weight: 800;
	color: var(--gold-2);
	line-height: 1;
}
.stat__label { display: block; margin-top: 10px; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.9rem; color: rgba(255,255,255,0.75); }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { background: var(--paper); }
.services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.service-card {
	background: var(--white);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
	display: flex;
	flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.08); }
.service-card__media::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(13,13,15,0.5), rgba(13,13,15,0) 55%);
}
.service-card__icon {
	position: absolute;
	left: 22px; bottom: -26px;
	width: 56px; height: 56px;
	background: var(--gold);
	color: var(--black);
	border-radius: var(--radius);
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-gold);
	z-index: 2;
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card__body { padding: 40px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.service-card__title { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 10px; }
.service-card__desc { color: var(--muted); font-size: 0.98rem; margin-bottom: 18px; flex: 1; }
.service-card__link {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 600;
	color: var(--black);
	font-size: 0.95rem;
}
.service-card__link svg { transition: transform 0.25s var(--ease); }
.service-card__link:hover { color: var(--gold-deep); }
.service-card__link:hover svg { transform: translateX(5px); }

/* ==========================================================================
   STEEL FEATURE
   ========================================================================== */
.steel { background: var(--ink); color: var(--white); overflow: hidden; }
.steel__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.steel .section-title { color: var(--white); }
.steel .lead { color: rgba(255,255,255,0.75); }
.steel__features { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 30px 0 34px; }
.steel__feature { display: flex; gap: 14px; }
.steel__feature-icon {
	flex: none;
	width: 46px; height: 46px;
	border: 1px solid rgba(200,162,74,0.5);
	border-radius: var(--radius);
	display: flex; align-items: center; justify-content: center;
	color: var(--gold);
}
.steel__feature-icon svg { width: 24px; height: 24px; }
.steel__feature h4 { color: var(--white); margin: 2px 0 4px; font-size: 1.25rem; text-transform: uppercase; }
.steel__feature p { margin: 0; color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.5; }
.steel__media img {
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	width: 100%;
	max-height: 560px;
	object-fit: cover;
	border: 1px solid rgba(255,255,255,0.06);
}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.process__step {
	position: relative;
	padding: 34px 26px;
	background: var(--paper);
	border-radius: var(--radius-lg);
	border-top: 3px solid var(--gold);
	transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.process__step:hover { transform: translateY(-6px); background: var(--white); box-shadow: var(--shadow-sm); }
.process__num {
	font-family: var(--font-display);
	font-size: 3rem;
	font-weight: 800;
	color: var(--gold);
	line-height: 1;
	display: block;
	margin-bottom: 12px;
	opacity: 0.85;
}
.process__title { font-size: 1.4rem; text-transform: uppercase; margin-bottom: 8px; }
.process__desc { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ==========================================================================
   PROJECTS
   ========================================================================== */
.projects { background: var(--paper); }
.projects__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 240px;
	gap: 20px;
}
.project-card {
	position: relative;
	margin: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.project-card:hover img { transform: scale(1.08); }
.project-card--big { grid-row: span 2; }
.project-card--wide { grid-column: span 2; }
.project-card::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(13,13,15,0.82) 0%, rgba(13,13,15,0.1) 55%, rgba(13,13,15,0) 100%);
	transition: opacity 0.35s var(--ease);
}
.project-card__caption {
	position: absolute;
	left: 0; bottom: 0;
	padding: 24px;
	z-index: 2;
	transform: translateY(8px);
	transition: transform 0.35s var(--ease);
}
.project-card:hover .project-card__caption { transform: translateY(0); }
.project-card__cat {
	display: inline-block;
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 0.78rem;
	color: var(--gold-2);
	margin-bottom: 6px;
}
.project-card__name { color: var(--white); font-size: 1.4rem; margin: 0; text-transform: uppercase; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
	position: relative;
	background: var(--cta-bg) center/cover no-repeat, var(--black);
	color: var(--white);
	padding: 96px 0;
	text-align: center;
	isolation: isolate;
}
.cta__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,13,15,0.9), rgba(13,13,15,0.7)); z-index: -1; }
.cta__inner { max-width: 720px; margin: 0 auto; }
.cta__title { color: var(--white); font-size: clamp(2rem, 4.5vw, 3.2rem); text-transform: uppercase; }
.cta__text { color: rgba(255,255,255,0.82); font-size: 1.15rem; margin-bottom: 2em; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact__list { list-style: none; margin: 30px 0 0; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__ico {
	flex: none;
	width: 48px; height: 48px;
	background: var(--paper-2);
	border-radius: var(--radius);
	display: flex; align-items: center; justify-content: center;
	color: var(--gold-deep);
}
.contact__ico svg { width: 22px; height: 22px; }
.contact__k { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.82rem; color: var(--muted); }
.contact__v { display: block; font-weight: 600; color: var(--black); font-size: 1.08rem; }

.contact__form-wrap {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 38px 34px;
	box-shadow: var(--shadow-sm);
}
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: block; margin-bottom: 18px; }
.field__label {
	display: block;
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 7px;
}
.field input, .field select, .field textarea {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--text);
	background: var(--paper);
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(200,162,74,0.18);
	background: var(--white);
}
.field textarea { resize: vertical; }
.contact-form__note { font-size: 0.82rem; color: var(--muted); margin: 14px 0 0; text-align: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--black); color: rgba(255,255,255,0.62); }
.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: 44px;
	padding: 72px 0 54px;
}
.footer-logo {
	height: 66px;
	width: auto;
	background: var(--white);
	padding: 10px 14px;
	border-radius: var(--radius);
	margin-bottom: 20px;
}
.footer-about { font-size: 0.95rem; line-height: 1.7; max-width: 340px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
	width: 40px; height: 40px;
	border: 1px solid rgba(255,255,255,0.16);
	border-radius: var(--radius);
	display: flex; align-items: center; justify-content: center;
	color: rgba(255,255,255,0.7);
	transition: all 0.25s var(--ease);
}
.footer-social a:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

.footer-heading {
	color: var(--white);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 1.25rem;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid rgba(200,162,74,0.3);
}
.footer-list { list-style: none; display: grid; gap: 11px; }
.footer-list a { color: rgba(255,255,255,0.66); font-size: 0.96rem; }
.footer-list a:hover { color: var(--gold-2); padding-left: 5px; }

.footer-contact { list-style: none; display: grid; gap: 18px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.footer-contact svg { color: var(--gold); flex: none; margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,0.72); }
.footer-contact a:hover { color: var(--gold-2); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 22px 0;
	font-size: 0.88rem;
}
.footer-copy, .footer-credit { margin: 0; }
.footer-credit { color: var(--gold-2); font-family: var(--font-display); letter-spacing: 1px; text-transform: uppercase; font-size: 0.82rem; }

/* ==========================================================================
   PAGE BANNER / BLOG / SINGLE
   ========================================================================== */
.page-banner {
	position: relative;
	background: var(--banner-bg) center/cover no-repeat, var(--ink);
	color: var(--white);
	padding: 96px 0 76px;
	isolation: isolate;
	text-align: center;
}
.page-banner__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,13,15,0.92), rgba(13,13,15,0.7)); z-index: -1; }
.page-banner__title { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.4rem); text-transform: uppercase; margin: 0 0 10px; }
.page-banner__title span { color: var(--gold-2); }
.page-banner__crumbs { color: rgba(255,255,255,0.7); margin: 0; font-family: var(--font-display); letter-spacing: 1px; text-transform: uppercase; font-size: 0.9rem; }
.page-banner__crumbs a { color: rgba(255,255,255,0.7); }
.page-banner__crumbs a:hover { color: var(--gold-2); }
.page-banner__crumbs span { color: var(--gold); margin: 0 6px; }

.content-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

.post-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16/10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { padding: 24px; }
.post-card__meta { display: flex; gap: 14px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 10px; font-family: var(--font-display); }
.post-card__cat a { color: var(--gold-deep); }
.post-card__title { font-size: 1.4rem; margin-bottom: 10px; line-height: 1.2; }
.post-card__title a { color: var(--black); }
.post-card__title a:hover { color: var(--gold-deep); }
.post-card__excerpt { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.post-card__link { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; color: var(--black); }
.post-card__link:hover { color: var(--gold-deep); }

/* Single entry */
.entry-single { max-width: 820px; }
.entry-content { font-size: 1.08rem; }
.entry-content h2 { font-size: 2rem; margin: 1.4em 0 0.5em; }
.entry-content h3 { font-size: 1.5rem; margin: 1.3em 0 0.5em; }
.entry-content img { border-radius: var(--radius-lg); margin: 1.2em 0; }
.entry-content blockquote {
	border-left: 4px solid var(--gold);
	background: var(--paper);
	margin: 1.5em 0;
	padding: 18px 26px;
	font-style: italic;
	border-radius: 0 var(--radius) var(--radius) 0;
}
.entry-content a { text-decoration: underline; }
.entry-tags { margin-top: 30px; }
.entry-tags a {
	display: inline-block;
	background: var(--paper-2);
	padding: 5px 14px;
	border-radius: 40px;
	font-size: 0.84rem;
	margin: 0 6px 6px 0;
	color: var(--text);
}
.entry-tags a:hover { background: var(--gold); color: var(--black); }

.post-nav { display: flex; justify-content: space-between; gap: 20px; margin: 40px 0; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; }
.post-nav a { color: var(--black); font-weight: 600; }
.post-nav a:hover { color: var(--gold-deep); }

/* Sidebar / widgets */
.widget-area { display: grid; gap: 28px; }
.widget {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 26px 24px;
}
.widget-title { font-size: 1.3rem; text-transform: uppercase; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid rgba(200,162,74,0.3); }
.widget ul { list-style: none; display: grid; gap: 10px; }
.widget ul a { color: var(--text); }
.widget ul a:hover { color: var(--gold-deep); }
.widget--cta { background: var(--black); color: rgba(255,255,255,0.75); border-color: var(--black); }
.widget--cta .widget-title { color: var(--white); }

/* Search form */
.search-form { display: flex; }
.search-field {
	flex: 1;
	padding: 12px 15px;
	border: 1px solid var(--line);
	border-right: none;
	border-radius: var(--radius) 0 0 var(--radius);
	font-family: var(--font-body);
	font-size: 0.95rem;
}
.search-field:focus { outline: none; border-color: var(--gold); }
.search-submit {
	background: var(--gold);
	border: none;
	color: var(--black);
	padding: 0 16px;
	border-radius: 0 var(--radius) var(--radius) 0;
	cursor: pointer;
	display: flex; align-items: center;
}
.search-submit:hover { background: var(--gold-2); }

/* Pagination */
.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 46px; height: 46px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--black);
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }

/* 404 */
.error-404 { text-align: center; max-width: 620px; margin: 0 auto; }
.error-404 h2 { font-size: 2.2rem; text-transform: uppercase; }
.error-404__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 28px 0; }
.error-404__search { max-width: 420px; margin: 0 auto; }

.no-results { text-align: center; padding: 40px 0; }

/* Comments */
.comments-area { margin-top: 50px; }
.comments-title { font-size: 1.7rem; text-transform: uppercase; }
.comment-list { list-style: none; display: grid; gap: 22px; margin: 20px 0; }
.comment-list .comment-body { background: var(--paper); border-radius: var(--radius-lg); padding: 22px; }
.comment-respond { margin-top: 30px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-family: var(--font-body);
	margin-bottom: 14px;
}

/* ==========================================================================
   REVEAL / BACK TO TOP
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	.hero__scroll span { animation: none; }
}

.back-to-top {
	position: fixed;
	right: 26px; bottom: 26px;
	width: 50px; height: 50px;
	background: var(--gold);
	color: var(--black);
	border: none;
	border-radius: var(--radius);
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: all 0.3s var(--ease);
	z-index: 800;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--gold-2); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
	.about__grid, .steel__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
	.about__media { max-width: 560px; }
	.services__grid { grid-template-columns: repeat(2, 1fr); }
	.process__grid { grid-template-columns: repeat(2, 1fr); }
	.content-layout { grid-template-columns: 1fr; }
	.steel__media { order: -1; }
}

@media (max-width: 900px) {
	.topbar__tag { display: none; }
	.topbar__inner { justify-content: center; }

	.menu-toggle { display: flex; }
	.header-cta { display: none; }
	.main-navigation {
		position: fixed;
		top: 0; right: 0;
		height: 100vh;
		width: min(320px, 84vw);
		background: var(--black);
		padding: 100px 30px 40px;
		transform: translateX(100%);
		transition: transform 0.35s var(--ease);
		z-index: 950;
		overflow-y: auto;
	}
	.nav-open .main-navigation { transform: translateX(0); box-shadow: -20px 0 50px rgba(0,0,0,0.4); }
	.nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-menu a { color: var(--white); padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 1.15rem; }
	.nav-menu a::after { display: none; }
	.nav-menu ul.sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; background: transparent; border-top: none; padding: 0 0 0 14px;
	}
	.menu-toggle { position: relative; z-index: 960; }
	.nav-open::after {
		content: ""; position: fixed; inset: 0; background: rgba(13,13,15,0.55); z-index: 940;
	}
}

@media (max-width: 782px) {
	body { font-size: 16px; }
	.site-header__inner { min-height: 84px; }
	.site-branding img, .custom-logo, .brand-fallback img,
	.site-header.is-stuck .custom-logo, .site-header.is-stuck .brand-fallback img { height: 64px; }
	.feature-strip__grid { grid-template-columns: 1fr; }
	.feature-strip__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
	.feature-strip__item:last-child { border-bottom: none; }
	.stats__grid { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
	.stat:nth-child(2) { border-right: none; }
	.stat { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 22px; }
	.stat:nth-last-child(-n+2) { border-bottom: none; }
	.steel__features { grid-template-columns: 1fr; }
	.stats { background-attachment: scroll; }
	.footer-bottom__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 620px) {
	.services__grid, .process__grid, .post-grid { grid-template-columns: 1fr; }
	.projects__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
	.project-card--big { grid-row: span 1; }
	.project-card--wide { grid-column: span 2; }
	.contact-form__row { grid-template-columns: 1fr; }
	.about__badge { right: 12px; bottom: -18px; padding: 16px 20px; }
	.about__badge-num { font-size: 2rem; }
	.hero__inner { padding: 90px 0; }
	.hero { min-height: 80vh; }
	.btn { width: 100%; justify-content: center; }
	.hero__actions .btn, .error-404__actions .btn { width: auto; }
}

@media (max-width: 420px) {
	.hero__actions { flex-direction: column; }
	.hero__actions .btn { width: 100%; }
}
