/* ==========================================================================
   Sreelakshmi Innovations — main stylesheet
   ========================================================================== */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); }

:root {
	--steel-950: #0b1118;
	--steel-900: #0f1720;
	--steel-800: #18222e;
	--steel-700: #243140;
	--steel-500: #52606f;
	--steel-300: #a7b3c0;
	--steel-100: #e5e9ee;
	--concrete: #f3f4f6;
	--white: #fff;
	--brand: #3a44c6;
	--spark: #ff6a13;
	--spark-hover: #ff8440;
	--spark-ink: #c2410c; /* Orange that passes contrast on white. */

	--text: #1c2530;
	--muted: #52606f;

	--font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section-y: clamp(64px, 9vw, 120px);
	--radius: 6px;
	--shadow: 0 18px 40px -18px rgba(11, 17, 24, .35);
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--spark-ink); }
:focus-visible { outline: 3px solid var(--spark); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: .005em; margin: 0 0 .5em; color: var(--steel-900); text-wrap: balance; }
p { margin: 0 0 1.1em; }
address { font-style: normal; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--spark); color: var(--steel-950); padding: 10px 16px; font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(780px + 2 * var(--gutter)); }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Buttons ---------- */
.btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: .7em 1.5em; border: 2px solid transparent; border-radius: var(--radius);
	font: 700 1rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
	cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover, .wp-block-button__link:hover { transform: translateY(-1px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--lg { min-height: 56px; padding-inline: 1.9em; font-size: 1.05rem; }
.btn--spark, .wp-block-button__link { background: var(--spark); color: var(--steel-950); }
.btn--spark:hover, .wp-block-button__link:hover { background: var(--spark-hover); color: var(--steel-950); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); background: rgba(255, 255, 255, .04); backdrop-filter: blur(4px); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .12); color: var(--white); }
.btn--outline, .is-style-outline .wp-block-button__link { background: transparent; border-color: currentColor; color: var(--steel-900); }
.btn--outline:hover, .is-style-outline .wp-block-button__link:hover { background: var(--steel-900); border-color: var(--steel-900); color: var(--white); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }

.eyebrow, .sl-eyebrow {
	display: inline-flex; align-items: center; gap: .7em; margin: 0 0 .9em;
	font: 700 .95rem/1 var(--font-display); letter-spacing: .18em; text-transform: uppercase; color: var(--spark-ink);
}
.eyebrow::before, .sl-eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--spark); }
.eyebrow--light, .section--dark .eyebrow, .sl-section--dark .sl-eyebrow { color: var(--spark); }
.lead, .sl-lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Top bar ---------- */
.topbar { background: var(--steel-950); color: var(--white); font-size: .9rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; min-height: 40px; flex-wrap: wrap; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: .45em; color: inherit; text-decoration: none; }
a.topbar__item:hover { color: var(--spark); }
.topbar__login { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .2); font-weight: 600; }
.topbar .icon { color: var(--spark); width: 1em; height: 1em; }
@media (max-width: 760px) { .topbar__inner > .topbar__item, .topbar__links a[href^="mailto"] { display: none; } .topbar__inner { justify-content: center; } .topbar__login { padding-left: 0; border-left: 0; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--steel-100); transition: box-shadow .25s; }
.site-header.is-stuck { box-shadow: 0 8px 24px -12px rgba(11, 17, 24, .25); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand__logo { width: clamp(200px, 24vw, 290px); height: auto; }
.brand__text { font: 700 1.5rem/1 var(--font-display); color: var(--steel-900); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 4px 26px; margin: 0; padding: 0; list-style: none; }
.nav__list a { position: relative; display: block; padding: 8px 0; color: var(--steel-900); font: 600 1.05rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--spark); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
.nav__cta { min-height: 44px; }

.nav-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid var(--steel-100); border-radius: var(--radius); background: var(--white); color: var(--steel-900); cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 1060px) {
	.nav-toggle { display: inline-flex; }
	.nav {
		position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 16px;
		padding: 12px var(--gutter) 24px; background: var(--white); border-bottom: 1px solid var(--steel-100); box-shadow: 0 24px 30px -20px rgba(11, 17, 24, .3);
		visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
	}
	.nav.is-open { visibility: visible; opacity: 1; transform: none; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { padding: 14px 0; border-bottom: 1px solid var(--steel-100); font-size: 1.15rem; }
	.nav__list a::after { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--steel-950); padding: clamp(80px, 12vw, 150px) 0 0; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 17, 24, .95) 0%, rgba(11, 17, 24, .82) 42%, rgba(11, 17, 24, .35) 100%), linear-gradient(0deg, rgba(11, 17, 24, .9) 0%, transparent 38%); }
.hero__inner { max-width: calc(var(--container) + 2 * var(--gutter)); }
.hero__title { max-width: 14ch; margin-bottom: .35em; color: var(--white); font-size: clamp(2.8rem, 7.2vw, 5.6rem); line-height: .95; text-transform: uppercase; }
.hero__lead { max-width: 36ch; margin-bottom: 2em; font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--steel-100); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(64px, 9vw, 110px) 0 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.stats__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 26px 20px 30px 0; border-right: 1px solid rgba(255, 255, 255, .12); }
.stats__item + .stats__item { padding-left: 24px; }
.stats__item:last-child { border-right: 0; }
.stats__value { margin: 0; font: 700 clamp(1.9rem, 3.4vw, 2.8rem)/1 var(--font-display); color: var(--white); }
.stats__label { font-size: .95rem; color: var(--steel-300); }
@media (max-width: 800px) {
	.stats { grid-template-columns: 1fr 1fr; }
	.stats__item { padding: 20px 12px 22px 0; }
	.stats__item + .stats__item { padding-left: 0; }
	.stats__item:nth-child(2n) { border-right: 0; padding-left: 18px; }
	.stats__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
}

/* ---------- Sections (homepage blocks) ---------- */
.section, .sl-section { padding-block: var(--section-y); }
.sl-section { padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2)); }
.sl-section--alt { background: var(--concrete); }
.section--dark, .sl-section--dark { background: var(--steel-900); color: var(--steel-100); }
.section--dark h2, .section--dark h3, .sl-section--dark h2, .sl-section--dark h3, .sl-section--dark h4 { color: var(--white); }
.sl-section--dark .sl-lead, .section--dark .lead { color: var(--steel-300); }
.sl-section--dark a:not(.wp-block-button__link) { color: var(--spark); }

.home-content h2, .section-title { font-size: clamp(2.2rem, 4.8vw, 3.6rem); text-transform: uppercase; }
.home-content h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
/* Classic themes wrap group content in .wp-block-group__inner-container. */
.sl-intro { max-width: 62ch; }
.sl-section > .wp-block-group__inner-container > * { margin-top: 0; }
.sl-section > .wp-block-group__inner-container > * + .wp-block-columns,
.sl-section > .wp-block-group__inner-container > * + .wp-block-gallery,
.sl-section > .wp-block-group__inner-container > * + .sl-subhead { margin-top: clamp(40px, 5vw, 64px); }
.sl-section > .wp-block-group__inner-container > .sl-subhead + * { margin-top: 20px; }
.sl-subhead { font-size: 1.1rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--steel-100); padding-top: 24px; }
.sl-section--dark .sl-subhead { border-color: var(--steel-700); color: var(--steel-300); }

.wp-block-columns { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); margin-bottom: 0; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column > :last-child { margin-bottom: 0; }
@media (max-width: 781px) { .wp-block-columns { flex-direction: column; } .wp-block-column { flex-basis: 100% !important; } }
.are-vertically-aligned-center, .sl-center { align-items: center; }

/* Figures */
.home-content .wp-block-image { margin: 0; }
.home-content .wp-block-image img { border-radius: var(--radius); }
.sl-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.sl-photo--frame { position: relative; isolation: isolate; }
.sl-photo--natural img { width: 100%; box-shadow: var(--shadow); background: var(--white); }
.sl-photo--frame::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: -1; border: 3px solid var(--spark); border-radius: var(--radius); }
@media (max-width: 781px) { .sl-photo--frame::before { inset: 14px -10px -14px 14px; } }
.wp-element-caption, .home-content figcaption { margin-top: 10px; font-size: .95rem; color: var(--muted); }

/* Checklist */
.sl-checklist { list-style: none; padding: 0; margin: 1.6em 0 0; display: grid; gap: 12px; }
.sl-checklist li { position: relative; padding-left: 36px; font-weight: 500; }
.sl-checklist li::before {
	content: ""; position: absolute; left: 0; top: .15em; width: 24px; height: 24px; border-radius: 50%;
	background: var(--spark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1118' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Service cards */
.sl-cards { gap: 24px; }
.sl-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--steel-100); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.sl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.sl-card .wp-block-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; }
.sl-card > :not(.wp-block-image) { padding-inline: 26px; }
.sl-card h3 { margin-top: 24px; text-transform: uppercase; }
.sl-card p { color: var(--muted); }
.sl-card .sl-card__link { margin-top: auto; padding-bottom: 26px; }
.sl-card__link a { font: 700 1rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--steel-900); }
.sl-card__link a::after { content: " →"; color: var(--spark); }
.sl-card__link a::before { content: ""; position: absolute; inset: 0; } /* Whole card clickable. */

/* ISO band */
.sl-iso { background: linear-gradient(120deg, var(--brand) 0%, #262d8f 100%); color: var(--white); padding-block: clamp(48px, 6vw, 72px); }
.sl-iso h2 { color: var(--white); margin-bottom: .1em; }
.sl-iso p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 1.15rem; }
.sl-iso .wp-block-buttons { margin-top: 0; justify-content: flex-end; }
.sl-iso .sl-eyebrow { color: var(--white); }
@media (max-width: 781px) { .sl-iso .wp-block-buttons { justify-content: flex-start; } }

/* Process steps */
.sl-steps { counter-reset: step; gap: 24px; }
.sl-step { counter-increment: step; position: relative; }
.sl-step .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sl-step h3 { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; text-transform: uppercase; }
.sl-step h3::before { content: counter(step, decimal-leading-zero); font-size: .85em; color: var(--spark-ink); }
.sl-section--dark .sl-step h3::before { color: var(--spark); }

/* Galleries */
.wp-block-gallery.sl-gallery { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; margin: 0; padding: 0; }
.wp-block-gallery.sl-gallery .wp-block-image { width: auto !important; margin: 0 !important; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--steel-800); }
.wp-block-gallery.sl-gallery .wp-block-image a { display: block; }
.wp-block-gallery.sl-gallery .wp-block-image img { width: 100%; height: 100% !important; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; transition: transform .5s, opacity .3s; }
.wp-block-gallery.sl-gallery .wp-block-image a:hover img { transform: scale(1.05); opacity: .9; }
.wp-block-gallery.sl-gallery .wp-block-image figcaption.wp-element-caption {
	position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 36px 16px 14px;
	background: linear-gradient(0deg, rgba(11, 17, 24, .92), transparent); color: var(--white);
	font: 600 1.1rem/1.2 var(--font-display); letter-spacing: .02em; text-align: left; pointer-events: none;
}
.wp-block-gallery.sl-gallery--featured { grid-template-columns: repeat(4, 1fr); }
.wp-block-gallery.sl-gallery--featured .wp-block-image:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) { .wp-block-gallery.sl-gallery--featured { grid-template-columns: 1fr 1fr; } .wp-block-gallery.sl-gallery--featured .wp-block-image:first-child { grid-row: auto; } }
@media (max-width: 520px) { .wp-block-gallery.sl-gallery--featured { grid-template-columns: 1fr; } .wp-block-gallery.sl-gallery--featured .wp-block-image:first-child { grid-column: auto; } }
.sl-gallery.is-collapsed .wp-block-image:nth-child(n+9) { display: none; }
.sl-more, .sl-section > .wp-block-group__inner-container > .sl-more { display: flex; justify-content: center; margin-top: 28px; }

/* Video feature */
.sl-feature { align-items: center; background: var(--steel-800); border-radius: var(--radius); overflow: hidden; gap: 0 !important; }
.sl-feature .wp-block-video { margin: 0; }
/* The source clip is landscape footage letterboxed in a portrait file: crop to the footage. */
.sl-feature video { width: 100%; height: auto; aspect-ratio: 5 / 4 !important; background: #000; object-fit: cover; } /* WP adds an inline aspect-ratio from file metadata. */
.sl-feature > .wp-block-column:last-child { padding: clamp(28px, 4vw, 52px); }

/* Spec list */
.sl-specs { list-style: none; margin: 1.5em 0 0; padding: 0; border-top: 1px solid var(--steel-100); }
.sl-specs li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--steel-100); font-weight: 500; }
.sl-specs li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .55em; background: var(--spark); transform: rotate(45deg); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
.enquiry__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.enquiry .field { margin: 0; }
.enquiry .field--subject, .enquiry .field--message { grid-column: 1 / -1; }
@media (max-width: 560px) { .enquiry__grid { grid-template-columns: 1fr; } }
.enquiry label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; color: var(--steel-100); }
.enquiry label span { color: var(--spark); }
.enquiry input, .enquiry textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--steel-700); border-radius: var(--radius);
	background: var(--steel-950); color: var(--white); font: inherit; transition: border-color .2s, box-shadow .2s;
}
.enquiry textarea { resize: vertical; min-height: 130px; }
.enquiry input:focus, .enquiry textarea:focus { outline: none; border-color: var(--spark); box-shadow: 0 0 0 3px rgba(255, 106, 19, .25); }
.enquiry .has-error input, .enquiry .has-error textarea { border-color: #f87171; }
.enquiry__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.enquiry__status { margin: 0; font-weight: 500; }
.enquiry__status.is-ok { color: #4ade80; }
.enquiry__status.is-error { color: #fca5a5; }
.enquiry button[disabled] { opacity: .6; cursor: progress; }

.info-card { padding: clamp(24px, 3vw, 36px); background: var(--steel-800); border-top: 4px solid var(--spark); border-radius: var(--radius); }
.info-card__title { font-size: 1.8rem; text-transform: uppercase; }
.info-card__company { font-weight: 600; color: var(--white); letter-spacing: .02em; }
.info-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .icon { margin-top: .2em; color: var(--spark); }
.info-list a { color: var(--steel-100); text-decoration: none; }
.info-list a:hover { color: var(--spark); }
.section--dark .btn--outline, .sl-section--dark .btn--outline { color: var(--white); }
.section--dark .btn--outline:hover, .sl-section--dark .btn--outline:hover { background: var(--white); color: var(--steel-900); border-color: var(--white); }
.map { margin-top: 20px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--steel-800); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { background: var(--steel-950); color: var(--steel-300); font-size: .98rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 64px 48px; }
@media (max-width: 800px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__name { font: 700 1.6rem/1.1 var(--font-display); color: var(--white); text-transform: uppercase; }
.site-footer__about p:not(.site-footer__name) { max-width: 44ch; }
.site-footer__heading { font: 700 1rem/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--white); }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--steel-300); text-decoration: none; }
.site-footer a:hover { color: var(--spark); }
.site-footer address { margin-bottom: 14px; }
.social { display: inline-flex; align-items: center; gap: 8px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; border-top: 1px solid var(--steel-800); font-size: .88rem; }
.site-footer__bottom p { margin: 0; }

/* ---------- Inner pages ---------- */
.page-head { background: var(--steel-900); padding: 72px 0 56px; }
.page-head__title { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.6rem); text-transform: uppercase; margin: 0; }
.entry { padding-block: 56px 88px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 64px 72px; background: rgba(6, 10, 14, .95); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 12px; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; border-radius: 4px; }
.lightbox__caption { color: var(--steel-100); text-align: center; font-size: 1rem; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--white); cursor: pointer; }
.lightbox__btn:hover { background: var(--spark); color: var(--steel-950); }
.lightbox__btn .icon { width: 26px; height: 26px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 28px; left: 24px; color: var(--steel-300); font: 600 1rem/1 var(--font-display); letter-spacing: .1em; }
@media (max-width: 700px) { .lightbox { padding: 64px 8px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; } .lightbox__prev { left: calc(50% - 64px); transform: scaleX(-1); } .lightbox__next { right: calc(50% - 64px); transform: none; } }
body.has-lightbox { overflow: hidden; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
