@import url("ws26.css");

/* =========================================================================
   Wolf Shark — portfolio showcase frontend
   Prefix wsf- throughout so nothing collides with Avada or legacy plugins.
   ========================================================================= */

.wsf {
	--wsf-navy: #0a1f44;
	--wsf-navy-deep: #061630;
	--wsf-navy-mid: #0d2a56;
	--wsf-ivory: #f7f4ec;
	--wsf-ivory-warm: #fdfbf5;
	--wsf-gold: #c9a227;
	--wsf-gold-hi: #e5bf51;
	--wsf-blue: #1f6fd0;
	--wsf-ink: #12203a;
	--wsf-body: #4a5a75;
	--wsf-body-light: #c3d0e4;

	--wsf-serif: "Jost", Arial, sans-serif;
	--wsf-sans: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	--wsf-pad: clamp(20px, 5vw, 72px);

	font-family: var(--wsf-sans);
	color: var(--wsf-ink);
	line-height: 1.65;
}

.wsf *, .wsf *::before, .wsf *::after { box-sizing: border-box; }
.wsf img { max-width: 100%; height: auto; display: block; }
.wsf h1, .wsf h2, .wsf h3 { margin: 0; line-height: 1.12; }
.wsf p { margin: 0 0 1em; }
.wsf a { text-decoration: none; }
.wsf :focus-visible { outline: 2px solid var(--wsf-gold); outline-offset: 3px; }

/* ---- Shared bits -------------------------------------------------------- */

.wsf-eyebrow {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wsf-body);
	margin: 0 0 12px;
}
.wsf-eyebrow--gold { color: var(--wsf-gold-hi); }

.wsf-lede { font-size: clamp(15px, 1.15vw, 17px); color: var(--wsf-body); max-width: 46ch; }
.wsf-text { font-size: 14.5px; color: inherit; opacity: 0.92; }

.wsf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.wsf-chips span {
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	padding: 6px 11px;
	border: 1px solid currentColor;
	border-radius: 3px;
	opacity: 0.72;
}

.wsf-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 24px;
	border: 1px solid var(--wsf-gold);
	border-radius: 3px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wsf-gold-hi);
	transition: background 0.2s ease, color 0.2s ease;
}
.wsf-btn:hover { background: var(--wsf-gold); color: #16110a; }
.wsf-btn--sm { padding: 10px 18px; font-size: 10.5px; }
.wsf-btn--gold { background: var(--wsf-gold); color: #16110a; }
.wsf-btn--gold:hover { background: var(--wsf-gold-hi); }

.wsf-section-title {
	font-family: var(--wsf-serif);
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 500;
	text-align: center;
	letter-spacing: 0.01em;
	margin-bottom: 40px;
}

/* ---- Hero --------------------------------------------------------------- */

.wsf-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
	align-items: center;
	gap: 40px;
	padding: clamp(40px, 6vw, 88px) var(--wsf-pad);
	background:
		radial-gradient(600px 400px at 88% 30%, rgba(31, 111, 208, 0.10), transparent 70%),
		linear-gradient(180deg, var(--wsf-ivory-warm), var(--wsf-ivory));
}

.wsf-hero__title {
	font-family: var(--wsf-serif);
	font-size: clamp(38px, 6vw, 68px);
	font-weight: 500;
	letter-spacing: 0.01em;
	margin-bottom: 20px;
	text-transform: uppercase;
}
.wsf-hero__title span { display: block; color: var(--wsf-gold); }

.wsf-hero__art { position: relative; }
.wsf-hero__art img { margin-left: auto; width: min(100%, 420px); }

.wsf-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.wsf-filter {
	font-family: inherit;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 11px 20px;
	border: 1px solid rgba(18, 32, 58, 0.18);
	border-radius: 3px;
	background: transparent;
	color: var(--wsf-ink);
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.wsf-filter:hover { border-color: var(--wsf-gold); }
.wsf-filter.is-active {
	background: var(--wsf-gold);
	border-color: var(--wsf-gold);
	color: #16110a;
}

/* ---- Featured ----------------------------------------------------------- */

.wsf-featured {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: clamp(24px, 4vw, 56px);
	padding: clamp(40px, 6vw, 80px) var(--wsf-pad);
	background:
		radial-gradient(700px 500px at 75% 40%, rgba(31, 111, 208, 0.18), transparent 70%),
		linear-gradient(160deg, var(--wsf-navy), var(--wsf-navy-deep));
	color: #fff;
}

.wsf-featured__title {
	font-family: var(--wsf-serif);
	font-size: clamp(30px, 4vw, 50px);
	font-weight: 500;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.wsf-kicker {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wsf-body-light);
	margin-bottom: 18px;
}

.wsf-featured .wsf-text { color: var(--wsf-body-light); max-width: 44ch; margin-bottom: 22px; }
.wsf-featured .wsf-chips span { color: #dbe6f7; }

.wsf-metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0 0 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.wsf-metric { padding: 18px 26px 18px 0; margin-right: 26px; border-right: 1px solid rgba(255, 255, 255, 0.12); }
.wsf-metric:last-child { border-right: 0; margin-right: 0; }
.wsf-metric strong {
	display: block;
	font-family: var(--wsf-serif);
	font-size: clamp(26px, 2.6vw, 34px);
	font-weight: 500;
	color: var(--wsf-gold-hi);
	line-height: 1;
}
.wsf-metric small {
	display: block;
	margin-top: 7px;
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--wsf-body-light);
}

/* ---- Project grid ------------------------------------------------------- */

.wsf-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	padding: clamp(30px, 4vw, 56px) var(--wsf-pad);
	background: var(--wsf-ivory);
}

.wsf-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	padding: clamp(20px, 2.4vw, 34px);
	border-radius: 4px;
	transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}
.wsf-card--light {
	background: var(--wsf-ivory-warm);
	border: 1px solid rgba(18, 32, 58, 0.10);
	color: var(--wsf-ink);
}
.wsf-card--dark {
	background: linear-gradient(150deg, var(--wsf-navy), var(--wsf-navy-deep));
	color: #fff;
}
.wsf-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(10, 31, 68, 0.16); }
.wsf-card.is-hidden { display: none; }

.wsf-card--dark .wsf-eyebrow { color: var(--wsf-gold-hi); }
.wsf-card--dark .wsf-text { color: var(--wsf-body-light); }
.wsf-card--dark .wsf-chips span { color: #dbe6f7; }

.wsf-card__title {
	font-family: var(--wsf-serif);
	font-size: clamp(21px, 2.2vw, 29px);
	font-weight: 500;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.wsf-card .wsf-text { margin-bottom: 18px; }

/* ---- Principles and stats ---------------------------------------------- */

.wsf-principles {
	padding: clamp(40px, 6vw, 76px) var(--wsf-pad);
	background: var(--wsf-ivory-warm);
}

.wsf-principles__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	border: 1px solid rgba(18, 32, 58, 0.10);
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.wsf-principle {
	padding: 30px 20px 26px;
	text-align: center;
	border-right: 1px solid rgba(18, 32, 58, 0.08);
}
.wsf-principle:last-child { border-right: 0; }
.wsf-principle svg { width: 30px; height: 30px; margin: 0 auto 14px; color: var(--wsf-blue); }
.wsf-principle h3 {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 9px;
}
.wsf-principle p { font-size: 12.5px; color: var(--wsf-body); margin: 0; line-height: 1.55; }

.wsf-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 18px;
	border: 1px solid rgba(201, 162, 39, 0.35);
	border-radius: 4px;
	background: #fff;
}
.wsf-stat { padding: 26px 16px; text-align: center; border-right: 1px solid rgba(201, 162, 39, 0.25); }
.wsf-stat:last-child { border-right: 0; }
.wsf-stat strong {
	display: block;
	font-family: var(--wsf-serif);
	font-size: clamp(30px, 3.4vw, 44px);
	font-weight: 500;
	color: var(--wsf-gold);
	line-height: 1;
}
.wsf-stat strong em { font-style: normal; font-size: 0.45em; letter-spacing: 0.04em; }
.wsf-stat small {
	display: block;
	margin-top: 9px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--wsf-body);
}

/* ---- Testimonial -------------------------------------------------------- */

.wsf-testimonial {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(20px, 3vw, 44px);
	padding: clamp(36px, 5vw, 68px) var(--wsf-pad);
	background: linear-gradient(160deg, var(--wsf-navy-mid), var(--wsf-navy-deep));
	color: #fff;
	position: relative;
}

.wsf-quote {
	font-family: var(--wsf-serif);
	font-size: 64px;
	line-height: 0.6;
	color: var(--wsf-gold);
	display: block;
	margin-bottom: 10px;
}
.wsf-testimonial blockquote {
	margin: 0 0 20px;
	font-size: clamp(15px, 1.4vw, 18px);
	line-height: 1.7;
	color: #eaf1fb;
	max-width: 56ch;
}
.wsf-author {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wsf-gold-hi);
	margin: 0 0 4px;
}
.wsf-role { font-size: 12.5px; color: var(--wsf-body-light); margin: 0; }

.wsf-testimonial__art img { border-radius: 4px; }

/* ---- CTA ---------------------------------------------------------------- */

.wsf-cta {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	align-items: center;
	gap: 30px;
	padding: clamp(40px, 6vw, 80px) var(--wsf-pad);
	background:
		radial-gradient(600px 400px at 78% 50%, rgba(31, 111, 208, 0.22), transparent 70%),
		linear-gradient(160deg, var(--wsf-navy), #04101f);
	color: #fff;
}
.wsf-cta h2 {
	font-family: var(--wsf-serif);
	font-size: clamp(30px, 4vw, 50px);
	font-weight: 500;
	text-transform: uppercase;
	margin-bottom: 16px;
}
.wsf-cta h2 span { display: block; color: var(--wsf-gold); }
.wsf-cta .wsf-text { color: var(--wsf-body-light); max-width: 44ch; margin-bottom: 26px; }
.wsf-cta__art img { width: min(100%, 300px); margin: 0 auto; }

/* ---- Responsive --------------------------------------------------------- */

@media (max-width: 1000px) {
	.wsf-hero,
	.wsf-featured,
	.wsf-testimonial,
	.wsf-cta { grid-template-columns: minmax(0, 1fr); }
	.wsf-hero__art img { margin: 0 auto; }
	.wsf-grid { grid-template-columns: minmax(0, 1fr); }
	.wsf-principles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wsf-principle { border-bottom: 1px solid rgba(18, 32, 58, 0.08); }
	.wsf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.wsf-card { grid-template-columns: minmax(0, 1fr); }
	.wsf-principles__grid { grid-template-columns: minmax(0, 1fr); }
	.wsf-metric { padding-right: 18px; margin-right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.wsf * { transition-duration: 0.01ms !important; }
}

/* =========================================================================
   Standalone elements — v6.3
   Each Fusion element carries .wsf itself, so tokens resolve when sections are
   dropped individually into Avada columns.
   ========================================================================= */

.wsf.wsf-card {
	height: 100%;
	background-clip: padding-box;
}

.wsf-stats-section {
	padding: 0 var(--wsf-pad) clamp(30px, 4vw, 56px);
	background: var(--wsf-ivory-warm);
}
.wsf-stats-section .wsf-stats { margin-top: 0; }

/* Inside an Avada column the section padding is usually already provided. */
.fusion-builder-column .wsf-hero,
.fusion-builder-column .wsf-featured,
.fusion-builder-column .wsf-principles,
.fusion-builder-column .wsf-stats-section,
.fusion-builder-column .wsf-testimonial,
.fusion-builder-column .wsf-cta { padding-left: 0; padding-right: 0; }

/* Live-builder affordance: never collapse to zero height while empty. */
.fusion-builder-live .wsf { min-height: 40px; }

/* =========================================================================
   Supplied SVG artwork — v6.5
   Icons and decorative line work from the isolation pack. Decor is inert.
   ========================================================================= */

.wsf-decor {
	position: absolute;
	pointer-events: none;
	user-select: none;
	display: block;
	z-index: 0;
}
.wsf-decor svg { width: 100%; height: 100%; display: block; }

.wsf-hero,
.wsf-cta { position: relative; overflow: hidden; }
.wsf-hero__copy,
.wsf-cta__copy { position: relative; z-index: 2; }
.wsf-hero__art,
.wsf-cta__art { position: relative; z-index: 1; }
.wsf-hero__art img,
.wsf-cta__art img { position: relative; z-index: 2; }

/* Architectural outline behind the fin. */
.wsf-decor--capitol {
	top: 50%;
	right: -4%;
	width: min(52%, 420px);
	aspect-ratio: 1 / 1;
	transform: translateY(-50%);
	color: rgba(18, 32, 58, 0.16);
	z-index: 0;
}

/* Gold ring behind the fin. */
.wsf-decor--halo {
	top: 50%;
	left: 50%;
	width: min(96%, 460px);
	aspect-ratio: 1 / 1;
	transform: translate(-50%, -50%);
	z-index: 1;
	opacity: 0.9;
}

/* Blueprint line pattern across the section. */
.wsf-decor--wave {
	left: 0;
	right: 0;
	bottom: 0;
	height: 62%;
	color: rgba(31, 111, 208, 0.18);
	z-index: 0;
}
.wsf-decor--wave svg { height: 100%; width: 100%; }
.wsf-decor--wave-cta { color: rgba(120, 180, 255, 0.16); height: 78%; }

/* Supplied capability icons. */
.wsf-principle svg {
	width: 34px;
	height: 34px;
	margin: 0 auto 14px;
	color: var(--wsf-blue);
}

/* Supplied quote mark. */
.wsf-quote {
	display: block;
	width: 42px;
	height: 34px;
	margin-bottom: 14px;
	color: var(--wsf-gold);
	font-size: 0;
}
.wsf-quote svg { width: 100%; height: 100%; }

@media (max-width: 1000px) {
	.wsf-decor--capitol { opacity: 0.5; }
}

/* =========================================================================
   Site chrome — header and footer, v6.7
   ========================================================================= */

.wsf-header {
	display: flex;
	align-items: center;
	gap: clamp(16px, 3vw, 40px);
	padding: 14px var(--wsf-pad);
	background: rgba(253, 251, 245, 0.94);
	border-bottom: 1px solid rgba(18, 32, 58, 0.10);
	backdrop-filter: blur(10px);
}
.wsf-header.is-sticky { position: sticky; top: 0; z-index: 500; }

.wsf-header__brand { display: flex; align-items: center; gap: 12px; flex: none; }
.wsf-header__brand img { width: auto; height: 40px; }
.wsf-header__name { font-family: var(--wsf-serif); font-size: 22px; letter-spacing: 0.08em; text-transform: uppercase; }
.wsf-header__tagline {
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wsf-body);
	border-left: 1px solid rgba(18, 32, 58, 0.18);
	padding-left: 12px;
}

.wsf-header__nav { margin-left: auto; }

.wsf-nav, ul.wsf-nav {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2vw, 30px);
	list-style: none;
	margin: 0;
	padding: 0;
}
.wsf-nav li { margin: 0; }
.wsf-nav a {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wsf-ink);
	padding: 6px 0;
	border-bottom: 2px solid transparent;
	transition: color 0.18s ease, border-color 0.18s ease;
}
.wsf-nav a:hover,
.wsf-nav .current-menu-item > a {
	color: var(--wsf-gold);
	border-bottom-color: var(--wsf-gold);
}
.wsf-nav .sub-menu {
	position: absolute;
	display: none;
	flex-direction: column;
	gap: 0;
	min-width: 190px;
	padding: 8px 0;
	margin-top: 8px;
	background: #fff;
	border: 1px solid rgba(18, 32, 58, 0.12);
	border-radius: 4px;
	box-shadow: 0 14px 34px rgba(10, 31, 68, 0.14);
	list-style: none;
}
.wsf-nav li:hover > .sub-menu,
.wsf-nav li:focus-within > .sub-menu { display: flex; }
.wsf-nav .sub-menu a { display: block; padding: 9px 16px; border-bottom: 0; }
.wsf-nav li { position: relative; }

.wsf-header__cta { flex: none; margin-left: 4px; }

.wsf-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; background: none; border: 0; cursor: pointer; }
.wsf-burger span { display: block; width: 22px; height: 2px; background: var(--wsf-ink); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.wsf-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wsf-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.wsf-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Footer ------------------------------------------------------------ */

.wsf-footer {
	background: linear-gradient(160deg, var(--wsf-navy), #04101f);
	color: #fff;
	padding: clamp(30px, 4vw, 52px) var(--wsf-pad) 0;
}

.wsf-footer__inner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: clamp(20px, 4vw, 48px);
	padding-bottom: 26px;
}

.wsf-footer__brand { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.wsf-footer__brand img { width: auto; height: 42px; }
.wsf-footer__tagline {
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wsf-body-light);
	border-left: 1px solid rgba(255, 255, 255, 0.2);
	padding-left: 12px;
}
.wsf-footer__strapline { width: 100%; margin: 0; font-size: 12.5px; color: var(--wsf-body-light); }

.wsf-footer__links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: clamp(14px, 2.5vw, 34px);
	margin: 0 0 0 auto;
	padding: 0;
	list-style: none;
}
.wsf-footer__links li { margin: 0; }
.wsf-footer__links a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 12.5px;
	color: var(--wsf-body-light);
	transition: color 0.18s ease;
}
.wsf-footer__links a:hover { color: var(--wsf-gold-hi); }
.wsf-footer__icon { display: inline-flex; width: 17px; height: 17px; color: var(--wsf-gold); }
.wsf-footer__icon svg { width: 100%; height: 100%; }

.wsf-footer__base {
	padding: 16px 0 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 11.5px;
	color: rgba(195, 208, 228, 0.75);
	text-align: center;
}

@media (max-width: 900px) {
	.wsf-burger { display: flex; }
	.wsf-header__nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fdfbf5;
		border-bottom: 1px solid rgba(18, 32, 58, 0.12);
		padding: 14px var(--wsf-pad) 20px;
		margin: 0;
	}
	.wsf-header { position: relative; flex-wrap: wrap; }
	.wsf-header.is-open .wsf-header__nav { display: block; }
	.wsf-header .wsf-nav { flex-direction: column; align-items: flex-start; gap: 4px; }
	.wsf-header .wsf-nav a { display: block; padding: 10px 0; }
	.wsf-header .wsf-nav .sub-menu { position: static; display: flex; box-shadow: none; border: 0; background: transparent; margin: 0 0 0 14px; padding: 0; }
	.wsf-header__cta { display: none; }
	.wsf-footer__links { margin-left: 0; }
}
