/* ==========================================================================
   SFS Home page — layout and design.
   Content (text, pictures, links) comes from WordPress / ACF
   (includes/home-fields.php, rendered by includes/home.php). This file is
   design only and has no dependency on any page builder.

   Design tokens (--ink, --accent, --font-primary ...) are defined site-wide in
   includes/brand.php.

   Sections:  1 base  2 hero  3 feature cards  4 Why SFS  5 Tools
              6 Projects  7 Technical resources  8 buttons / shared
   ========================================================================== */

/* ---- 1. Base ---- */
/* The Home page is edge to edge: undo any theme-imposed reading column on the page wrapper. */
body.sfs-home-page .site-main { max-width: none; margin: 0; padding-inline: 0; width: 100%; }
.sfs-home { display: block; }
.sfs-home *,
.sfs-home *::before,
.sfs-home *::after { box-sizing: border-box; }
.sfs-home a { text-decoration: none; box-shadow: none; }
.sfs-home img { border: 0; border-radius: 0; box-shadow: none; height: auto; max-width: 100%; }

/* Default text styles. Low specificity (:where) so every component rule below wins. */
:where(.sfs-home) :is(h1, h2, h3, h4, p) { margin: 0; font-family: var(--font-primary); }
:where(.sfs-home) h1 { font-weight: 700; font-size: 3.5rem; color: var(--ink); letter-spacing: -0.02em; line-height: 1.05; }
:where(.sfs-home) h2 { font-weight: 700; font-size: 2.5rem; color: var(--ink); letter-spacing: -0.015em; line-height: 1.15; }
:where(.sfs-home) h3 { font-weight: 600; font-size: 1.375rem; color: var(--ink); letter-spacing: -0.005em; line-height: 1.3; }
:where(.sfs-home) h4 { font-weight: 600; font-size: 1.1rem; color: var(--ink); line-height: 1.35; }
:where(.sfs-home) .sfs-p { font-weight: 400; font-size: 1.0625rem; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 1024px) {
	:where(.sfs-home) h1 { font-size: 2.75rem; }
	:where(.sfs-home) h2 { font-size: 2.15rem; }
}
@media (max-width: 767px) {
	:where(.sfs-home) h1 { font-size: 2.15rem; letter-spacing: -0.01em; }
	:where(.sfs-home) h2 { font-size: 1.75rem; }
	:where(.sfs-home) h3 { font-size: 1.2rem; }
	:where(.sfs-home) .sfs-p { font-size: 1rem; }
}

/* Section frame: vertical rhythm shared by the white / dark / alt sections. */
.sfs-section { position: relative; width: 100%; padding: 96px 10px; }
@media (max-width: 1024px) { .sfs-section { padding-block: 72px; } }
@media (max-width: 767px) { .sfs-section { padding-block: 56px; } }

/* Small upper-case label above a section heading. */
.sfs-eyebrow { font-family: var(--font-mono); font-weight: 500; font-size: 0.8125rem; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---- 8. Buttons / shared links (defined early so sections can reuse) ---- */
.sfs-btn {
	display: inline-flex; gap: 8px; justify-content: center; align-items: center;
	font-family: var(--font-primary); font-weight: 600; font-size: 0.9375rem; line-height: 1.5;
	text-decoration: none; cursor: pointer; white-space: nowrap; text-align: center;
	padding: 15px 30px; border-radius: 6px; border: 1.5px solid transparent;
	transition: all 0.15s;
}
.sfs-btn--primary { color: var(--on-dark); background-color: var(--accent); }
.sfs-btn--primary:hover,
.sfs-btn--primary:focus-visible { color: var(--on-dark); background-color: var(--accent-dark); }
@media (max-width: 767px) { .sfs-btn { width: 100%; padding: 15px 24px; } }

/* "Large underlined text link →" used by Why SFS / Projects / Resources CTAs. */
.sfs-cta {
	position: relative; display: inline-flex; align-items: center;
	font-family: var(--font-primary); font-weight: 700; font-size: clamp(1.5rem, 2.2vw, 2.1rem);
	padding-block: 14px; padding-inline: 0; margin: 0; border-radius: 2px; text-align: center;
	text-decoration: none; cursor: pointer; transition: color 0.35s ease;
}
/* The arrow after a link label stands in for the space the old text carried (inline-flex links drop it). */
.sfs-arrow { margin-inline-start: 0.26em; }
.sfs-cta::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: #36B0C9;
	transform: scaleX(0.35); transform-origin: right; transition: transform 0.5s cubic-bezier(.4, 0, .2, 1);
}
.sfs-cta:hover::after,
.sfs-cta:focus-visible::after { transform: scaleX(1); }
.sfs-cta:focus-visible { outline: 2px solid #36B0C9; outline-offset: 4px; border-radius: 2px; }
@media (max-width: 767px) { .sfs-cta { font-size: 1.5rem; } }

/* ---- 2. Hero slider ---- */
.sfs-hero { position: relative; width: 100%; height: 82vh; min-height: 560px; overflow: hidden; background-color: var(--surface-dark); }
.sfs-hero__slide {
	position: absolute; inset: 0; z-index: 1; opacity: 0;
	display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
	padding: 10px;
	background-image: linear-gradient(0deg, rgba(8, 11, 14, 0.78) 0%, rgba(8, 11, 14, 0.15) 45%, rgba(8, 11, 14, 0.35) 100%), var(--sfs-slide-img);
	background-size: cover; background-position: 0% 0%; background-repeat: no-repeat; background-attachment: scroll;
}
.sfs-hero__slide.is-active { opacity: 1; z-index: 2; }
.sfs-hero__content {
	position: relative; width: 100%; max-width: 660px; padding: 10px 10px 108px;
	display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
}
.sfs-hero__title { font-family: var(--font-primary); font-weight: 700; font-size: 3.4rem; color: #fff; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
.sfs-hero__sub { max-width: 540px; font-size: 1.0625rem; color: rgba(255, 255, 255, 0.88); margin: 0; }
.sfs-hero__dots {
	position: absolute; inset-inline: 0; bottom: 116px; z-index: 30;
	display: flex; flex-direction: row; gap: 8px; justify-content: center; padding: 10px;
}
.sfs-hero .sfs-hero__dot {
	display: block; width: 30px; height: 3px; padding: 0; margin: 0; border: 0; border-radius: 0; cursor: pointer;
	background-color: rgba(255, 255, 255, 0.35); transition: background 0.25s ease;
}
.sfs-hero .sfs-hero__dot:hover,
.sfs-hero .sfs-hero__dot:focus { background-color: rgba(255, 255, 255, 0.35); border: 0; }
.sfs-hero .sfs-hero__dot.is-active,
.sfs-hero .sfs-hero__dot.is-active:hover,
.sfs-hero .sfs-hero__dot.is-active:focus { background-color: #fff; }
.sfs-hero .sfs-hero__dot:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 1024px) {
	.sfs-hero { height: 74vh; min-height: 520px; }
	.sfs-hero__title { font-size: 2.5rem; }
	.sfs-hero__content { padding-bottom: 80px; }
	.sfs-hero__dots { bottom: 84px; }
}
@media (max-width: 767px) {
	.sfs-hero { height: 640px; min-height: 480px; }
	.sfs-hero__title { font-size: 1.85rem; }
	.sfs-hero__sub { font-size: 0.95rem; }
	.sfs-hero__content { padding-bottom: 50px; gap: 14px; }
	.sfs-hero__dots { bottom: 40px; padding-block: 4px; }
}

/* ---- 3. Feature cards (overlap the bottom of the hero) ---- */
.sfs-cards {
	position: relative; z-index: 20; display: flex; justify-content: center;
	padding: 10px 10px 96px; margin-top: -96px;
}
.sfs-cards::before {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-image: url("art-cards.svg"); background-repeat: no-repeat;
	background-position: right -150px bottom 0; background-size: 1300px auto;
}
.sfs-cards__inner { position: relative; z-index: 1; width: 100%; max-width: 1280px; padding: 10px; }
.sfs-cards__grid { position: relative; display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); padding: 10px; width: 100%; min-width: 0; }

.sfs-card {
	position: relative; display: block; width: 100%; min-width: 30px; height: 380px; padding: 10px; overflow: hidden;
	border-radius: 10px; box-shadow: 0 18px 40px 0 rgba(15, 23, 32, 0.22);
}
.sfs-card--feature { box-shadow: 0 0 0 2px #36B0C9, 0 22px 48px rgba(15, 23, 32, 0.34); }
.sfs-card__bg {
	position: absolute; inset: 0; transform: scale3d(1.001, 1.001, 1);
	background-size: cover; background-position: center center; background-repeat: no-repeat;
	background-image: var(--sfs-card-img, none);
}
.sfs-card__bg--brand-a { background-image: linear-gradient(140deg, #12181D 0%, #005C7F 55%, #005C7F 115%); }
.sfs-card__bg--brand-b { background-image: linear-gradient(140deg, #12181D 0%, #1B2126 45%, #1F4A50 115%); }
.sfs-card:hover .sfs-card__bg,
.sfs-card:focus-within .sfs-card__bg { transform: scale3d(1.07, 1.07, 1); }
.sfs-card__overlay {
	position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(0deg, rgba(10, 14, 18, 0.85) 0%, rgba(10, 14, 18, 0.15) 55%, rgba(10, 14, 18, 0) 75%);
}
.sfs-card__content {
	position: absolute; inset: 0; padding: 24px; pointer-events: none;
	display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
}
/* Small icon badge, top-left of each card (icon chosen by card position). */
.sfs-card__content::before {
	content: ""; position: absolute; top: 24px; left: 24px; width: 44px; height: 44px; border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.28); background-color: rgba(255, 255, 255, 0.14);
	background-image: var(--sfs-card-icon); background-repeat: no-repeat; background-position: center; background-size: 22px 22px;
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.sfs-card--feature .sfs-card__content::before { background-color: #005C7F; border-color: #36B0C9; }
.sfs-card--1 .sfs-card__content { --sfs-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.5 3.5 7v10L12 21.5 20.5 17V7L12 2.5z'/%3E%3Cpath d='M3.5 7 12 11.5 20.5 7'/%3E%3Cpath d='M12 11.5v10'/%3E%3C/svg%3E"); }
.sfs-card--2 .sfs-card__content { --sfs-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5v11'/%3E%3Cpath d='M7.5 10.5 12 15l4.5-4.5'/%3E%3Cpath d='M4.5 15.5v4h15v-4'/%3E%3C/svg%3E"); }
.sfs-card--3 .sfs-card__content { --sfs-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.5 4a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13z'/%3E%3Cpath d='M15.5 15.5 20.5 20.5'/%3E%3C/svg%3E"); }
.sfs-card--4 .sfs-card__content { --sfs-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-5.7-6.5-11a6.5 6.5 0 1 1 13 0c0 5.3-6.5 11-6.5 11z'/%3E%3Cpath d='M12 12.2a2.3 2.3 0 1 0 0-4.6 2.3 2.3 0 0 0 0 4.6z'/%3E%3C/svg%3E"); }
.sfs-card__title { font-family: var(--font-primary); font-weight: 600; font-size: 1.25rem; line-height: 1.35; letter-spacing: normal; color: #fff; margin: 0; }
.sfs-card__title a { color: inherit; text-decoration: none; cursor: pointer; pointer-events: auto; }
.sfs-card__title a::after { content: ""; position: absolute; inset: 0; }
.sfs-card__title a:focus-visible::after { outline: 2px solid #36B0C9; outline-offset: -4px; border-radius: 10px; }
.sfs-card__text { margin: 0; max-width: 34ch; font-family: var(--font-primary); font-size: 0.9rem; font-weight: 400; line-height: 1.5; color: rgba(255, 255, 255, 0.86); }
@media (max-width: 1024px) {
	.sfs-cards { padding-bottom: 72px; margin-top: -64px; }
	.sfs-cards::before { background-size: 950px auto; background-position: right -100px bottom 0; }
	.sfs-cards__grid { grid-template-columns: repeat(2, 1fr); }
	.sfs-card { height: 320px; }
}
@media (max-width: 767px) {
	.sfs-cards { padding-top: 0; padding-bottom: 48px; margin-top: -32px; }
	.sfs-cards::before { background-size: 560px auto; background-position: right -60px bottom 0; }
	.sfs-cards__grid { grid-template-columns: 1fr; gap: 16px; }
	.sfs-card { height: 300px; }
}

/* Hero → cards scroll transition (enhancement added by home.js; without JS or
   with "reduce motion" the cards simply overlap the hero as above). */
@media (prefers-reduced-motion: no-preference) {
	html.sfs-hero-scroll-transition .sfs-hero.is-pinned { position: sticky; top: 0; }
	html.sfs-hero-scroll-transition .sfs-hero::after {
		content: ""; position: absolute; inset: 0; z-index: 40; pointer-events: none;
		background: #05080b; opacity: calc(var(--sfs-hero-progress, 0) * 0.28); transition: opacity 0.08s linear;
	}
	html.sfs-hero-scroll-transition .sfs-hero__slide::before {
		content: ""; position: absolute; inset: 0; pointer-events: none; background: inherit;
		filter: blur(calc(var(--sfs-hero-progress, 0) * 2px)); transition: filter 0.08s linear;
	}
	html.sfs-hero-scroll-transition .sfs-cards {
		position: relative; margin-top: 0;
		background: var(--sfs-cards-bg-color, #F4F1EC);
		transform: translateY(var(--sfs-section-hold, 0px)); transition: none;
	}
	html.sfs-hero-scroll-transition .sfs-cards__grid {
		--sfs-cards-travel: clamp(50px, 10vw, 135px);
		transform: translateY(calc(var(--sfs-cards-lift-progress, 0) * -1 * var(--sfs-cards-travel)));
		box-shadow: 0 calc(var(--sfs-cards-lift-progress, 0) * -14px) calc(var(--sfs-cards-lift-progress, 0) * 30px) rgba(4, 7, 10, calc(var(--sfs-cards-lift-progress, 0) * 0.22));
		transition: none;
	}
}
@media (prefers-reduced-motion: no-preference) and (max-width: 767px) {
	html.sfs-hero-scroll-transition .sfs-cards { padding-top: 0; }
}

/* ---- 4. Why SFS ---- */
.sfs-why {
	position: relative; overflow: hidden; background: #005C7F; border-bottom: 2px solid #36B0C9;
	padding-block: 140px 120px; padding-inline: 10px;
}
.sfs-why__inner {
	position: relative; width: 100%; max-width: 1440px; margin-inline: auto; padding-block: 0; padding-inline: 48px;
	display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; row-gap: 0;
}
.sfs-why__heading {
	grid-column: 1 / 6; grid-row: 1; position: relative; z-index: 2; margin: 0;
	font-family: var(--font-primary); font-weight: 800; font-size: clamp(76px, 6vw, 96px); line-height: 0.96; letter-spacing: -0.015em;
	color: #F5F7F8; text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}
.sfs-why__heading em { color: #36B0C9; font-style: normal; }
.sfs-why__photo {
	position: absolute; top: 6px; right: 48px; width: 53%; height: clamp(280px, 24vw, 320px); z-index: 1;
	overflow: hidden; border-radius: 2px; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.55); padding: 10px;
}
.sfs-why__photo::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(100deg, rgba(14, 19, 23, 0.6) 0%, rgba(14, 19, 23, 0) 32%); pointer-events: none; }
.sfs-why__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transition: transform 0.9s cubic-bezier(.25, .7, .4, 1); }
.sfs-why__photo:hover img { transform: scale(1.03); }
.sfs-why__sub {
	grid-column: 1 / 6; grid-row: 2; align-self: start; display: block; margin-top: 18px; margin-bottom: 0;
	font-family: var(--font-primary); font-weight: 700; font-size: clamp(38px, 3vw, 48px); line-height: 1.12; letter-spacing: -0.005em; color: #F5F7F8;
}
.sfs-why__intro {
	grid-column: 1 / 6; grid-row: 3; align-self: start; display: block; margin-top: 18px; max-width: 46ch;
	font-family: var(--font-primary); font-weight: 400; font-size: clamp(18px, 1.2vw, 20px); line-height: 1.6; color: rgba(245, 247, 248, 0.88);
}
.sfs-why__reasons {
	grid-column: 1 / 13; grid-row: 4; margin-top: 72px; padding: 0;
	display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; row-gap: 0; border-top: 1px solid #36B0C9;
}
.sfs-why__reason {
	position: relative; display: flex; flex-direction: row; align-items: flex-start; gap: 24px; padding: 32px 0;
	transition: translate 0.3s ease;
}
.sfs-why__reason:nth-child(1) { grid-column: 1; grid-row: 1; }
.sfs-why__reason:nth-child(2) { grid-column: 2; grid-row: 1; }
.sfs-why__reason:nth-child(3) { grid-column: 1; grid-row: 2; }
.sfs-why__reason:nth-child(4) { grid-column: 2; grid-row: 2; }
.sfs-why__reason::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(54, 176, 201, 0.55); transform: scaleX(1); transform-origin: left; }
.sfs-why__num {
	flex: 0 0 auto; display: block; min-width: 3.4rem; margin: 0;
	font-family: var(--font-mono); font-weight: 300; font-size: clamp(2rem, 1.8vw, 2.4rem); line-height: 1; color: #F5F7F8;
	transition: opacity 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.sfs-why__reason-title { margin: 0 0 10px; font-family: var(--font-primary); font-weight: 700; font-size: clamp(24px, 1.5vw, 28px); line-height: 1.25; color: #F5F7F8; transition: color 0.3s ease; }
.sfs-why__reason-text { margin: 0; max-width: 42ch; font-family: var(--font-primary); font-weight: 400; font-size: clamp(17px, 1vw, 18px); line-height: 1.7; color: rgba(245, 247, 248, 0.88); transition: color 0.3s ease; }
.sfs-why__reason:hover { translate: 5px 0; }
.sfs-why__reason:hover .sfs-why__num { opacity: 1; color: #FFFFFF; transform: scale(1.1); }
.sfs-why__reason:hover .sfs-why__reason-title,
.sfs-why__reason:hover .sfs-why__reason-text { color: #FFFFFF; }
.sfs-why__support { grid-column: 1 / 13; grid-row: 5; padding: 44px 0 0; margin-top: 56px; border-top: 1px solid rgba(54, 176, 201, 0.55); }
.sfs-why__support-title { display: block; margin: 0 0 20px; font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.3rem, 1.7vw, 1.65rem); letter-spacing: 0.03em; text-transform: uppercase; color: #F5F7F8; line-height: 1.3; }
.sfs-why__support-text { display: block; max-width: 62ch; margin: 0 0 40px; font-family: var(--font-primary); font-weight: 400; font-size: 1.12rem; line-height: 1.8; color: rgba(245, 247, 248, 0.88); }
.sfs-why__support-row { padding: 0; display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; }
.sfs-why__audiences { width: 100%; padding: 0; display: flex; flex-direction: row; flex-wrap: wrap; flex: 0 1 auto; row-gap: 14px; max-width: 100%; }
.sfs-why__audience {
	position: relative; display: inline-flex; align-items: center; padding-block: 10px; padding-inline: 28px; margin: 0;
	font-family: var(--font-primary); font-weight: 600; font-size: 1.02rem; color: #C8D0D4; text-decoration: none;
	background: none; border: none; cursor: pointer; border-radius: 2px; text-align: center;
}
.sfs-why__audience:first-child { padding-inline-start: 0; }
.sfs-why__audience::after {
	content: ""; position: absolute; left: 28px; right: 28px; bottom: 5px; height: 1px; background: #36B0C9;
	transform: scaleX(0); transform-origin: left; transition: transform 0.45s cubic-bezier(.4, 0, .2, 1);
}
.sfs-why__audience:first-child::after { left: 0; }
.sfs-why__audience:hover,
.sfs-why__audience:focus-visible { color: #F5F7F8; }
.sfs-why__audience:hover::after,
.sfs-why__audience:focus-visible::after { transform: scaleX(1); }
.sfs-why__audience:focus-visible { outline: 2px solid #36B0C9; outline-offset: 2px; }
.sfs-why__about { width: 100%; padding: 0; flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.sfs-why__about-eyebrow { display: block; margin: 0 0 10px; font-family: var(--font-mono); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(245, 247, 248, 0.8); }
.sfs-why__about-link { color: #F5F7F8; }
.sfs-why__about-link:hover,
.sfs-why__about-link:focus-visible { color: #FFFFFF; }

/* Scroll-reveal: the hidden start state only applies once home.js has confirmed
   motion is allowed and added .sfs-why--ready; without JS (or with reduced
   motion) everything simply shows. */
.sfs-why--ready .sfs-why__heading { opacity: 0; transform: translateY(42px); transition: opacity 0.7s cubic-bezier(.16, 1, .3, 1), transform 0.7s cubic-bezier(.16, 1, .3, 1); }
.sfs-why--ready .sfs-why__photo { clip-path: inset(0 100% 0 0); transition: clip-path 0.85s cubic-bezier(.16, 1, .3, 1) 0.1s; }
.sfs-why--ready .sfs-why__sub { opacity: 0; transform: translateY(22px); transition: opacity 0.6s cubic-bezier(.16, 1, .3, 1) 0.16s, transform 0.6s cubic-bezier(.16, 1, .3, 1) 0.16s; }
.sfs-why--ready .sfs-why__intro { opacity: 0; transform: translateY(16px); transition: opacity 0.55s cubic-bezier(.16, 1, .3, 1) 0.24s, transform 0.55s cubic-bezier(.16, 1, .3, 1) 0.24s; }
.sfs-why--ready .sfs-why__reasons { border-top-color: transparent; transition: border-top-color 0.5s ease 0.3s; }
.sfs-why--ready .sfs-why__reason { opacity: 0; transform: translateY(18px); transition: opacity 0.6s cubic-bezier(.16, 1, .3, 1), transform 0.6s cubic-bezier(.16, 1, .3, 1), translate 0.3s ease; }
.sfs-why--ready .sfs-why__reason::after { transform: scaleX(0); transition: transform 0.6s cubic-bezier(.16, 1, .3, 1); }
.sfs-why--ready .sfs-why__reason:nth-child(1) { transition-delay: 0.34s; }
.sfs-why--ready .sfs-why__reason:nth-child(1)::after { transition-delay: 0.5s; }
.sfs-why--ready .sfs-why__reason:nth-child(2) { transition-delay: 0.4s; }
.sfs-why--ready .sfs-why__reason:nth-child(2)::after { transition-delay: 0.56s; }
.sfs-why--ready .sfs-why__reason:nth-child(3) { transition-delay: 0.46s; }
.sfs-why--ready .sfs-why__reason:nth-child(3)::after { transition-delay: 0.62s; }
.sfs-why--ready .sfs-why__reason:nth-child(4) { transition-delay: 0.52s; }
.sfs-why--ready .sfs-why__reason:nth-child(4)::after { transition-delay: 0.68s; }
.sfs-why--ready .sfs-why__support { border-top-color: transparent; transition: border-top-color 0.5s ease 0.6s; }
.sfs-why--ready .sfs-why__support-title,
.sfs-why--ready .sfs-why__support-text { opacity: 0; transform: translateY(16px); transition: opacity 0.55s cubic-bezier(.16, 1, .3, 1) 0.66s, transform 0.55s cubic-bezier(.16, 1, .3, 1) 0.66s; }
.sfs-why--ready .sfs-why__support-text { transition-delay: 0.72s; }
.sfs-why--ready .sfs-why__audience { opacity: 0; transform: translateY(12px); transition: opacity 0.5s cubic-bezier(.16, 1, .3, 1), transform 0.5s cubic-bezier(.16, 1, .3, 1); }
.sfs-why--ready .sfs-why__audience:nth-child(1) { transition-delay: 0.8s; }
.sfs-why--ready .sfs-why__audience:nth-child(2) { transition-delay: 0.86s; }
.sfs-why--ready .sfs-why__audience:nth-child(3) { transition-delay: 0.92s; }
.sfs-why--ready .sfs-why__audience:nth-child(4) { transition-delay: 0.98s; }
.sfs-why--ready .sfs-why__about-eyebrow,
.sfs-why--ready .sfs-why__about-link { opacity: 0; transform: translateY(14px); transition: opacity 0.6s cubic-bezier(.16, 1, .3, 1) 1.04s, transform 0.6s cubic-bezier(.16, 1, .3, 1) 1.04s; }

.sfs-why--ready.sfs-why--inview :is(.sfs-why__heading, .sfs-why__sub, .sfs-why__intro, .sfs-why__support-title, .sfs-why__support-text, .sfs-why__audience, .sfs-why__about-eyebrow, .sfs-why__about-link, .sfs-why__reason) { opacity: 1; transform: translateY(0); }
.sfs-why--ready.sfs-why--inview .sfs-why__photo { clip-path: inset(0 0% 0 0); }
.sfs-why--ready.sfs-why--inview .sfs-why__reasons { border-top-color: #36B0C9; }
.sfs-why--ready.sfs-why--inview .sfs-why__support { border-top-color: rgba(54, 176, 201, 0.55); }
.sfs-why--ready.sfs-why--inview .sfs-why__reason::after { transform: scaleX(1); }

@media (max-width: 1099px) {
	.sfs-why { padding-block: 96px 88px; }
	.sfs-why__inner { display: flex; flex-direction: column; padding-inline: 32px; }
	.sfs-why__heading { font-size: clamp(56px, 11vw, 80px); margin-top: 0; }
	.sfs-why__photo { position: relative; top: auto; right: auto; width: 100%; margin-top: 32px; height: clamp(300px, 60vw, 440px); }
	.sfs-why__sub { margin-top: 32px; max-width: 560px; font-size: clamp(30px, 4.2vw, 38px); }
	.sfs-why__intro { margin-top: 16px; max-width: 560px; }
	.sfs-why__reasons { margin-top: 56px; grid-template-columns: 1fr; }
	.sfs-why__reason:nth-child(n) { grid-column: 1; }
	.sfs-why__reason:nth-child(1) { grid-row: 1; }
	.sfs-why__reason:nth-child(2) { grid-row: 2; }
	.sfs-why__reason:nth-child(3) { grid-row: 3; }
	.sfs-why__reason:nth-child(4) { grid-row: 4; }
	.sfs-why__support { margin-top: 48px; padding-top: 40px; }
	.sfs-why__support-row { flex-direction: column; align-items: flex-start; gap: 32px; }
	.sfs-why__about { align-items: flex-start; text-align: left; }
	.sfs-why__about-link::after { transform-origin: left; }
}
@media (max-width: 600px) {
	.sfs-why { padding-block: 84px 76px; }
	.sfs-why__inner { padding-inline: 22px; }
	.sfs-why__heading { font-size: clamp(46px, 15vw, 60px); }
	.sfs-why__sub { font-size: 1.6rem; }
	.sfs-why__intro { font-size: 1rem; }
	.sfs-why__support-title { font-size: 1.15rem; }
	.sfs-why__support-text { font-size: 1.02rem; }
	.sfs-why__reason { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 18px; align-items: start; padding-block: 22px; }
	.sfs-why__num { grid-column: 1; grid-row: 1; min-width: 2.6rem; font-size: 1.8rem; }
	.sfs-why__reason-title { grid-column: 2; grid-row: 1; min-width: 0; font-size: 1.32rem; }
	.sfs-why__reason-text { grid-column: 2; grid-row: 2; min-width: 0; max-width: none; font-size: 1rem; }
	.sfs-why__audiences { flex-direction: column; row-gap: 0; }
	.sfs-why__audience { display: flex; width: 100%; padding-inline: 0; padding-block: 18px; }
	.sfs-why__audience::after,
	.sfs-why__audience:first-child::after { left: 0; right: 0; bottom: 8px; }
	.sfs-why__about-link { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
	.sfs-why * { transition: none !important; }
}

/* ---- 5. Tools ---- */
.sfs-tools-section { position: relative; width: 100%; overflow: hidden; background: #171F27; padding: 0 10px 96px; }
@media (max-width: 1024px) { .sfs-tools-section { padding-bottom: 72px; } }
@media (max-width: 767px) { .sfs-tools-section { padding-bottom: 56px; } }

.sfs-tools { max-width: 1320px; margin-inline: auto; padding-inline: 32px; }
.sfs-tool__eyebrow { display: block; font-family: var(--font-mono), Arial, sans-serif; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.sfs-tool__desc { font-size: 0.98rem; line-height: 1.65; margin: 0 0 26px; max-width: 40ch; }
.sfs-tool__cta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-primary), Arial, sans-serif; text-decoration: none; width: max-content; transition: gap 0.2s ease, color 0.2s ease; }
.sfs-tool__cta-arrow { transition: transform 0.2s ease; display: inline-flex; }
.sfs-tool__cta:hover .sfs-tool__cta-arrow { transform: translateX(3px); }
.sfs-tool__cta:focus-visible { outline: 2px solid #36B0C9; outline-offset: 4px; border-radius: 2px; }
.sfs-tool__cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.sfs-tools__nbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 26px 0 0; font-size: 0.85rem; color: #4B5560; }
.sfs-tools__nbs .sfsnbs__brand { display: inline-block; line-height: 0; }
.sfs-tools__nbs .sfsnbs__brand img { display: block; height: 36px; width: auto; }
.sfs-tools__nbs .sfsnbs__brand:focus-visible { outline: 2px solid #005C7F; outline-offset: 3px; }

.sfs-tools__feature { display: grid; grid-template-columns: minmax(320px, 520px) 1fr; column-gap: 72px; row-gap: 44px; align-items: center; width: 100vw; margin-left: calc(50% - 50vw); background: #F4F1EC; padding-top: 80px; padding-bottom: 72px; padding-right: 0; padding-left: max(32px, calc((100vw - 1320px) / 2 + 32px)); }
.sfs-tools__kicker { display: block; font-family: var(--font-mono), Arial, sans-serif; font-weight: 600; font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase; color: #36B0C9; margin-bottom: 16px; }
.sfs-tools__lede { font-family: var(--font-primary), Arial, sans-serif; font-weight: 400; font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.5; color: #4B5560; margin: 0 0 28px; max-width: 52ch; }
.sfs-tools__feature-title { font-family: var(--font-primary), Arial, sans-serif; font-weight: 800; text-transform: uppercase; color: #005C7F; font-size: clamp(2.6rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -0.01em; margin: 0 0 26px; }
.sfs-tools__feature-title em { color: #005C7F; font-style: normal; }
.sfs-tools__feature .sfs-tools__feature-title { font-size: clamp(2.1rem, 3.3vw, 2.9rem); overflow-wrap: anywhere; } /* "SPECIFICATIONS" is a long word: keep it inside its column */
.sfs-tools__feature-text .sfs-tool__desc { color: #4B5560; }
.sfs-tools__feature-text .sfs-tool__cta { position: relative; font-weight: 700; font-size: clamp(1.5rem, 2.2vw, 2.1rem); color: #171F27; padding-block: 14px; transition: color 0.35s ease; }
.sfs-tools__feature-text .sfs-tool__cta::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: #36B0C9; transform: scaleX(0.35); transform-origin: right; transition: transform 0.5s cubic-bezier(.4, 0, .2, 1); }
.sfs-tools__feature-text .sfs-tool__cta:hover,
.sfs-tools__feature-text .sfs-tool__cta:focus-visible { color: #005C7F; }
.sfs-tools__feature-text .sfs-tool__cta:hover::after,
.sfs-tools__feature-text .sfs-tool__cta:focus-visible::after { transform: scaleX(1); }
.sfs-tools__feature-text .sfs-tool__cta:hover .sfs-tool__cta-arrow,
.sfs-tools__feature-text .sfs-tool__cta:focus-visible .sfs-tool__cta-arrow { transform: none; }
.sfs-tools__feature-text .sfs-tool__cta-arrow { color: #36B0C9; }
.sfs-tools__feature-media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: #E7E2D8; }
.sfs-tools__feature-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.sfs-tools__feature-media:hover img { transform: scale(1.03); }

.sfs-tools__secondary { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; row-gap: 56px; padding-top: 56px; padding-bottom: 72px; border-top: 2px solid #36B0C9; }
.sfs-tools__secondary-item { display: flex; flex-direction: column; }
.sfs-tools__secondary-item .sfs-tool__eyebrow { color: #36B0C9; margin-bottom: 14px; }
.sfs-tools__secondary-title { font-family: var(--font-primary), Arial, sans-serif; font-weight: 800; text-transform: uppercase; color: #FFFFFF; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.06; letter-spacing: -0.005em; margin: 0 0 24px; }
.sfs-tools__secondary-title em { color: #36B0C9; font-style: normal; }
.sfs-tools__secondary-media { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #22303A; margin-bottom: 24px; }
.sfs-tools__secondary-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.sfs-tools__secondary-media:hover img { transform: scale(1.04); }
.sfs-tools__secondary-item .sfs-tool__desc { color: #A9B2BA; margin-bottom: 24px; }
.sfs-tools__secondary-item .sfs-tool__cta { position: relative; font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 700; color: #F5F7F8; padding-bottom: 6px; }
.sfs-tools__secondary-item .sfs-tool__cta::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #36B0C9; transform: scaleX(0.35); transform-origin: left; transition: transform 0.45s cubic-bezier(.4, 0, .2, 1); }
.sfs-tools__secondary-item .sfs-tool__cta:hover,
.sfs-tools__secondary-item .sfs-tool__cta:focus-visible { color: #36B0C9; gap: 14px; }
.sfs-tools__secondary-item .sfs-tool__cta:hover::after,
.sfs-tools__secondary-item .sfs-tool__cta:focus-visible::after { transform: scaleX(1); }
.sfs-tools__secondary-item .sfs-tool__cta-arrow { color: #36B0C9; font-size: 1.15rem; }
@media (max-width: 1280px) { .sfs-tools__feature-title { font-size: clamp(2.5rem, 5.4vw, 4rem); } }
@media (max-width: 1180px) {
	.sfs-tools__feature { column-gap: 48px; }
	.sfs-tools__feature-title { font-size: clamp(2.2rem, 5.2vw, 3.4rem); }
}
@media (max-width: 1023px) {
	.sfs-tools__feature { grid-template-columns: 1fr; width: auto; margin-left: 0; padding: 56px 0; row-gap: 32px; }
	.sfs-tools__feature-media { order: -1; aspect-ratio: 16 / 10; }
	.sfs-tools__secondary { grid-template-columns: 1fr; row-gap: 48px; padding-top: 44px; padding-bottom: 56px; }
}
@media (max-width: 700px) {
	.sfs-tools { padding-inline: 20px; }
	.sfs-tools__feature { padding: 40px 0; }
	.sfs-tools__kicker { font-size: 0.9rem; }
	.sfs-tools__lede { font-size: 1.2rem; margin-bottom: 22px; }
	.sfs-tools__feature-title { font-size: clamp(2.1rem, 9vw, 2.8rem); }
	.sfs-tools__feature-media { aspect-ratio: 4 / 3; }
	.sfs-tools__secondary { row-gap: 44px; padding-top: 36px; padding-bottom: 48px; }
	.sfs-tools__secondary-title { font-size: clamp(1.6rem, 7vw, 2rem); }
	.sfs-tools__secondary-media { aspect-ratio: 3 / 2; }
}

/* ---- 6. Projects ---- */
.sfs-projects {
	position: relative; width: 100%; padding: 96px 10px; background-color: var(--surface);
	background-image: url("art-projects.svg"); background-repeat: no-repeat; background-position: right -380px top -20px; background-size: 2200px auto;
}
.sfs-projects::before {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-image: url("art-projects-accent.svg"); background-repeat: no-repeat; background-position: right -100px bottom -30px; background-size: 560px 280px;
}
.sfs-projects__inner { position: relative; width: 100%; max-width: 1280px; margin-inline: auto; padding: 10px; display: flex; flex-direction: column; gap: 48px; }
.sfs-projects__head { width: 100%; max-width: 640px; padding: 10px; display: flex; flex-direction: column; gap: 14px; }
.sfs-projects__heading { font-size: 2.9rem; }
.sfs-projects__heading em { color: var(--accent); font-style: normal; }
.sfs-projects__grid { position: relative; display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); padding: 10px; }
.sfs-pcard {
	position: relative; display: flex; flex-direction: column; width: 100%; min-width: 30px; height: 320px; padding: 0; overflow: hidden;
	border-radius: 10px; background-color: transparent; box-shadow: 0 18px 40px 0 rgba(15, 23, 32, 0.22);
}
.sfs-pcard:hover { transform: translate3d(0, -3px, 0); }
.sfs-pcard__photo {
	position: absolute; inset: 0; background-size: cover; background-position: center center; background-repeat: no-repeat;
	background-image: var(--sfs-pcard-img, none); transition: transform 0.5s ease;
}
.sfs-pcard__photo::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(0deg, rgba(10, 14, 18, 0.88) 0%, rgba(10, 14, 18, 0.32) 50%, rgba(10, 14, 18, 0.02) 78%); }
.sfs-pcard:hover .sfs-pcard__photo { transform: scale(1.06); }
.sfs-pcard__caption { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 0 22px 20px; color: #FFFFFF; }
.sfs-pcard__label { display: block; font-weight: 600; font-size: 1.0625rem; color: #FFFFFF; }
.sfs-pcard__ref { display: block; margin-block-start: 4px; font-family: var(--font-primary); font-weight: 400; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.72); }
.sfs-projects__cta { align-self: flex-start; color: #171F27; background: none; border: none; border-radius: 0; text-align: start; }
.sfs-projects__cta:hover,
.sfs-projects__cta:focus-visible { color: var(--accent); }
@media (max-width: 1024px) {
	.sfs-projects { padding-block: 72px; background-size: 1580px auto; background-position: right -250px top -10px; }
	.sfs-projects::before { background-size: 420px 210px; background-position: right -70px bottom -20px; }
	.sfs-projects__heading { font-size: 2.35rem; }
	.sfs-projects__grid { grid-template-columns: repeat(2, 1fr); }
	.sfs-pcard { height: 300px; }
}
@media (max-width: 767px) {
	.sfs-projects { padding-block: 56px; background-size: 1075px auto; background-position: right -150px top -10px; }
	.sfs-projects::before { background-size: 300px 150px; background-position: right -50px bottom -15px; }
	.sfs-projects__heading { font-size: 2rem; }
	.sfs-projects__grid { grid-template-columns: 1fr; }
	.sfs-pcard { height: 260px; }
}
@media (prefers-reduced-motion: reduce) { .sfs-pcard__photo { transition: none; } }

/* ---- 7. Technical resources ---- */
.sfs-resources { position: relative; width: 100%; padding: 120px 10px; background-color: var(--surface-dark); }
.sfs-resources__inner { width: 100%; max-width: 1280px; margin-inline: auto; padding: 10px; display: flex; flex-direction: column; gap: 44px; }
.sfs-resources__head { width: 100%; max-width: 640px; margin-inline: auto; padding: 10px; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.sfs-resources__eyebrow { color: #36B0C9; }
.sfs-resources__heading { color: var(--on-dark); }
.sfs-resources__heading em { color: #36B0C9; font-style: normal; }
.sfs-resources__intro { color: var(--on-dark-muted); }
.sfs-resources__grid { display: grid; gap: 16px; grid-template-columns: repeat(5, 1fr); padding: 10px; }
.sfs-rcard {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; min-width: 30px;
	padding: 32px 24px; border: 1px solid var(--border-on-dark); border-radius: 14px; background-color: #1A222A;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35); transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.sfs-rcard:hover,
.sfs-rcard:has(.sfs-rcard__link:focus-visible) { transform: translateY(-6px); border-color: #36B0C9; box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(54, 176, 201, 0.25); }
.sfs-rcard__icon { display: inline-block; width: 26px; height: 26px; }
.sfs-rcard__icon svg { display: inline; width: 32px; height: 32px; overflow: unset; transition: transform 0.3s ease; }
.sfs-rcard__icon svg path,
.sfs-rcard__icon svg circle { stroke: #36B0C9; }
.sfs-rcard__icon svg circle[fill]:not([fill="none"]) { fill: #005C7F; }
.sfs-rcard:hover .sfs-rcard__icon svg { transform: translateY(-2px); }
.sfs-rcard__title { display: inline-flex; align-items: center; color: var(--on-dark); font-weight: 600; font-size: 1.0625rem; }
.sfs-rcard__title::after { content: "\2192"; display: inline-block; margin-inline-start: 8px; color: #36B0C9; transition: transform 0.25s ease; }
.sfs-rcard:hover .sfs-rcard__title::after,
.sfs-rcard:has(.sfs-rcard__link:focus-visible) .sfs-rcard__title::after { transform: translateX(4px); }
.sfs-rcard__link { position: absolute; inset: 0; z-index: 2; }
.sfs-rcard__link:focus-visible { outline: 2px solid #36B0C9; outline-offset: 3px; border-radius: 14px; }
.sfs-resources__foot { padding: 10px; padding-block-start: 12px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; text-align: center; }
.sfs-resources__note { font-size: 0.9375rem; color: var(--on-dark-muted); }
.sfs-resources__cta { color: var(--on-dark); gap: 8px; justify-content: center; border-radius: 6px; white-space: nowrap; }
.sfs-resources__cta:hover,
.sfs-resources__cta:focus-visible { color: #36B0C9; }
.sfs-resources__cta:focus-visible { outline-offset: 6px; }
@media (max-width: 1024px) {
	/* Tablet keeps the 5 columns; the layout also declares a second (empty) row, which adds one row gap below the cards. */
	.sfs-resources__grid { grid-template-rows: repeat(2, auto); }
}
@media (max-width: 767px) {
	.sfs-resources { padding-block: 72px; }
	.sfs-resources__grid { grid-template-columns: 1fr; gap: 16px; }
	.sfs-resources__cta { width: 100%; max-width: 100%; white-space: normal; }
	.sfs-resources__note { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
	.sfs-rcard, .sfs-rcard__icon svg { transition: none; }
}
