/*
Theme Name: Flexible Circularity
Theme URI: https://flexiblecircularity.local/
Author: Flexible Circularity
Author URI: https://flexiblecircularity.local/
Description: Block theme for Flexible Circularity — blue institutional identity for circular economy advisory and project development.
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Version: 2.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flexible-circularity
Tags: block-theme, full-site-editing, sustainability, consulting, portfolio
*/

/* ----------------------------------------------------------------
   Tokens
---------------------------------------------------------------- */

:root {
	/* Surfaces */
	--fc-bg:           #f3f7fb;
	--fc-bg-light:     #f8fbfd;
	--fc-white:        #ffffff;
	--fc-section-blue: #eaf3f8;
	--fc-blue-light:   #e7f6fb;

	/* Navy / text */
	--fc-navy:         #0b2436;
	--fc-navy-deep:    #061722;
	--fc-text:         #0b2436;
	--fc-text-muted:   #496579;
	--fc-text-soft:    #5a7282;
	--fc-text-on-dark: #b7c8d2;

	/* Accents */
	--fc-blue:         #0b78b6;
	--fc-blue-deep:    #08507f;
	--fc-cyan:         #7bd3f0;
	--fc-cyan-soft:    #bfefff;

	/* Borders */
	--fc-blue-border:  #d7e8f1;
	--fc-blue-border-2:#cfe0ea;

	/* Type scale */
	--fc-hero-title:        clamp(3rem, 6vw, 5.4rem);
	--fc-section-title:     clamp(2.1rem, 4vw, 4rem);
	--fc-subsection-title:  clamp(1.45rem, 2.4vw, 2rem);
	--fc-card-title:        clamp(1.15rem, 1.4vw, 1.45rem);
	--fc-cta-title:         clamp(1.85rem, 3.6vw, 3.2rem);
	--fc-cta-text:          clamp(1.05rem, 1.4vw, 1.25rem);
	--fc-body-large:        clamp(1.12rem, 1.6vw, 1.35rem);
	--fc-body:              0.98rem;
	--fc-small:             0.86rem;
	--fc-label:             0.72rem;

	/* Radii */
	--fc-radius-card: 1.5rem;
	--fc-radius-pill: 999px;
	--fc-radius-cta:  2rem;
}

/* ----------------------------------------------------------------
   Reset / base
---------------------------------------------------------------- */

html {
	scroll-behavior: smooth;
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	background: var(--fc-bg);
	color: var(--fc-text);
}

.wp-site-blocks {
	min-height: 100vh;
}

p {
	max-width: 72ch;
}

a {
	text-underline-offset: 0.18em;
	text-decoration-thickness: 0.06em;
	text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
	transition: color 160ms ease, text-decoration-color 160ms ease;
}

a:hover {
	color: var(--fc-blue);
	text-decoration-color: currentColor;
}

:where(a, button, input, textarea, select, summary, .fc-button, .wp-block-button__link):focus-visible {
	outline: 3px solid color-mix(in srgb, var(--fc-blue) 70%, white);
	outline-offset: 3px;
}

/* ----------------------------------------------------------------
   Container
---------------------------------------------------------------- */

.fc-container {
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	max-width: 1280px;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	width: 100%;
}

@media (min-width: 1024px) {
	.fc-container {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

/* ----------------------------------------------------------------
   Sections / spacing
---------------------------------------------------------------- */

.fc-section {
	padding-top: clamp(4rem, 7vw, 5rem);
	padding-bottom: clamp(4rem, 7vw, 5rem);
}

.fc-section--services {
	background: var(--fc-white);
}

.fc-section--work {
	background: var(--fc-section-blue);
}

.fc-section--method {
	background: var(--fc-white);
}

.fc-section-intro {
	max-width: 56rem;
	margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.fc-section-intro > * + * {
	margin-top: 1rem;
}

.fc-section-title {
	font-size: var(--fc-section-title);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 0.98;
	color: var(--fc-navy);
	margin: 0;
}

.fc-section-lead {
	font-size: var(--fc-body-large);
	line-height: 1.58;
	color: var(--fc-text-muted);
	max-width: 56rem;
	margin: 0;
}

/* ----------------------------------------------------------------
   Eyebrow / labels
---------------------------------------------------------------- */

.fc-eyebrow,
.fc-label {
	font-size: var(--fc-label);
	font-weight: 900;
	letter-spacing: 0.2em;
	line-height: 1.2;
	margin: 0;
	text-transform: uppercase;
	color: var(--fc-blue);
}

.fc-label--on-dark {
	color: var(--fc-cyan);
}

/* ----------------------------------------------------------------
   Buttons
---------------------------------------------------------------- */

.fc-button,
.wp-block-button__link {
	align-items: center;
	border-radius: var(--fc-radius-pill);
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 800;
	gap: 0.45rem;
	letter-spacing: -0.005em;
	line-height: 1.1;
	padding: 0.85rem 1.45rem;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.fc-button--primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--fc-blue);
	color: var(--fc-white);
	box-shadow: 0 12px 24px rgba(11, 120, 182, 0.18);
}

.fc-button--primary:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background: var(--fc-blue-deep);
	color: var(--fc-white);
	transform: translateY(-1px);
}

.fc-button--ghost,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--fc-blue);
	color: var(--fc-blue);
	box-shadow: none;
}

.fc-button--ghost:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--fc-blue-light);
	color: var(--fc-blue-deep);
	border-color: var(--fc-blue-deep);
}

.fc-button--on-dark {
	background: var(--fc-white);
	color: var(--fc-navy);
}

.fc-button--on-dark:hover {
	background: var(--fc-blue-light);
	color: var(--fc-blue-deep);
	transform: translateY(-1px);
}

.fc-button-label {
	display: inline-block;
}

.fc-button:hover .fc-button-icon,
.wp-block-button__link:hover .fc-button-icon {
	transform: translateX(2px);
}

/* ----------------------------------------------------------------
   Icons
---------------------------------------------------------------- */

.fc-icon {
	color: currentColor;
	flex-shrink: 0;
	height: 1.25rem;
	width: 1.25rem;
}

.fc-service-icon {
	color: var(--fc-blue);
	flex-shrink: 0;
	height: 1.5rem;
	width: 1.5rem;
}

.fc-button-icon {
	flex-shrink: 0;
	height: 0.95rem;
	margin-left: 0.1rem;
	transition: transform 160ms ease;
	width: 0.95rem;
}

.fc-footer-icon {
	color: var(--fc-cyan);
	flex-shrink: 0;
	height: 1rem;
	width: 1rem;
}

/* ----------------------------------------------------------------
   Header
---------------------------------------------------------------- */

.fc-site-header,
.fc-header {
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	background: rgba(248, 251, 253, 0.9);
	border-bottom: 1px solid var(--fc-blue-border-2);
	position: sticky;
	top: 0;
	z-index: 40;
}

.fc-header-row {
	align-items: center;
	display: flex;
	gap: 1.5rem;
	justify-content: space-between;
	min-height: 4rem;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}

.fc-header-row .wp-block-site-title {
	font-size: 1.125rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0;
}

.fc-header-row .wp-block-site-title a {
	color: var(--fc-navy);
	text-decoration: none;
}

/* ----------------------------------------------------------------
   Language nav (header)
---------------------------------------------------------------- */

.fc-language-nav {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	gap: 1.25rem;
	justify-content: flex-end;
}

.fc-language-nav__menu {
	align-items: center;
	color: #436174;
	display: flex;
	flex-wrap: nowrap;
	font-size: 0.78rem;
	font-weight: 700;
	gap: clamp(1rem, 1.6vw, 1.75rem);
	letter-spacing: 0.08em;
	list-style: none;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	white-space: nowrap;
}

.fc-language-nav__menu a {
	color: var(--fc-text-muted);
	text-decoration: none;
}

.fc-language-nav__menu a:hover {
	color: var(--fc-blue);
}

.fc-language-switcher {
	align-items: center;
	background: var(--fc-white);
	border: 1px solid color-mix(in srgb, var(--fc-blue) 30%, transparent);
	border-radius: var(--fc-radius-pill);
	color: var(--fc-blue);
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 0.78rem;
	font-weight: 800;
	gap: 0.45rem;
	letter-spacing: 0.06em;
	padding: 0.3rem 0.75rem;
}

.fc-language-switcher a,
.fc-footer__language a {
	color: var(--fc-blue);
	text-decoration: none;
}

.fc-language-switcher a[aria-current="true"],
.fc-footer__language a[aria-current="true"] {
	color: var(--fc-navy);
}

.fc-language-switcher a:hover,
.fc-footer__language a:hover {
	color: var(--fc-blue-deep);
}

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

.fc-hero {
	background:
		radial-gradient(circle at 72% 18%, rgba(55, 173, 210, 0.26), transparent 34%),
		radial-gradient(circle at 10% 55%, rgba(8, 83, 135, 0.12), transparent 38%),
		var(--fc-bg);
	border-bottom: 1px solid rgba(207, 224, 234, 0.5);
	padding-top: clamp(5rem, 9vw, 7rem);
	padding-bottom: clamp(5rem, 9vw, 7rem);
	position: relative;
	overflow: hidden;
}

/* The pre-existing hero-bg div is no longer needed; gradients live on .fc-hero */
.fc-hero-bg {
	display: none;
}

.fc-hero > .fc-container,
.fc-hero-grid {
	position: relative;
	z-index: 1;
}

.fc-hero-grid {
	align-items: center;
	display: grid;
	gap: clamp(2.5rem, 5vw, 4.5rem);
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.fc-hero-copy {
	max-width: 38rem;
}

.fc-hero-copy > * + * {
	margin-top: 1.25rem;
}

.fc-hero-title {
	color: var(--fc-navy);
	font-size: var(--fc-hero-title);
	font-weight: 900;
	hyphens: none;
	letter-spacing: -0.035em;
	line-height: 0.98;
	margin: 0;
	max-width: 760px;
	text-wrap: pretty;
	word-break: normal;
}

.fc-hero-text {
	color: var(--fc-text-muted);
	font-size: clamp(1.05rem, 1.35vw, 1.25rem);
	font-weight: 500;
	line-height: 1.6;
	margin: 0;
	max-width: 680px;
}

.fc-hero-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 2rem;
}

/* Hero right card */

.fc-hero-aside {
	width: 100%;
}

.fc-hero-panel {
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid var(--fc-blue-border);
	border-radius: 1.75rem;
	box-shadow: 0 30px 60px rgba(11, 36, 54, 0.08);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	margin-left: auto;
	max-width: 520px;
	padding: clamp(1.5rem, 2.4vw, 1.75rem);
}

.fc-hero-panel > * + * {
	margin-top: 0.85rem;
}

.fc-hero-panel__title {
	color: var(--fc-navy);
	font-size: clamp(1.45rem, 2.2vw, 2.25rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.05;
	margin: 0;
}

.fc-hero-panel__text {
	color: var(--fc-text-muted);
	font-size: 0.98rem;
	line-height: 1.55;
	margin: 0;
}

.fc-hero-mini-grid {
	display: grid;
	gap: 0.65rem;
	margin-top: 1.1rem;
}

.fc-hero-mini-card {
	align-items: flex-start;
	background: var(--fc-bg-light);
	border: 1px solid var(--fc-blue-border);
	border-radius: 0.95rem;
	display: grid;
	gap: 0.85rem;
	grid-template-columns: 2.1rem minmax(0, 1fr);
	padding: 1rem 1.1rem;
}

.fc-mini-icon {
	align-items: center;
	background: var(--fc-navy);
	border-radius: var(--fc-radius-pill);
	color: var(--fc-cyan);
	display: inline-flex;
	height: 2.1rem;
	justify-content: center;
	width: 2.1rem;
}

.fc-mini-icon .fc-icon {
	height: 1rem;
	width: 1rem;
}

.fc-mini-title {
	color: var(--fc-navy);
	font-size: 0.95rem;
	font-weight: 900;
	letter-spacing: -0.005em;
	line-height: 1.18;
	margin: 0 0 0.2rem;
}

.fc-mini-text {
	color: var(--fc-text-muted);
	font-size: 0.85rem;
	line-height: 1.5;
	margin: 0;
}

/* ----------------------------------------------------------------
   Service areas (white)
---------------------------------------------------------------- */

.fc-services-grid {
	align-items: stretch;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fc-service-card {
	background: var(--fc-bg-light);
	border: 1px solid var(--fc-blue-border);
	border-radius: 1.75rem;
	box-shadow: 0 0 0 rgba(11, 36, 54, 0);
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	min-height: 260px;
	padding: 1.5rem;
	transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.fc-service-card:hover {
	background: var(--fc-white);
	box-shadow: 0 20px 40px rgba(11, 36, 54, 0.08);
	transform: translateY(-4px);
}

.fc-service-card__icon {
	align-items: center;
	background: var(--fc-blue-light);
	border-radius: var(--fc-radius-pill);
	color: var(--fc-blue);
	display: inline-flex;
	height: 2.5rem;
	justify-content: center;
	width: 2.5rem;
}

.fc-card-title {
	color: var(--fc-navy);
	font-size: var(--fc-card-title);
	font-weight: 900;
	letter-spacing: -0.005em;
	line-height: 1.18;
	margin: 0;
}

.fc-card-text {
	color: var(--fc-text-muted);
	font-size: var(--fc-body);
	line-height: 1.58;
	margin: 0;
}

/* ----------------------------------------------------------------
   Current work (mist)
---------------------------------------------------------------- */

.fc-work-grid {
	align-items: stretch;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fc-work-card {
	background: var(--fc-white);
	border: 1px solid var(--fc-blue-border);
	border-radius: 1.75rem;
	box-shadow: 0 14px 28px rgba(11, 36, 54, 0.05);
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	min-height: 230px;
	padding: 1.5rem;
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.fc-work-card:hover {
	box-shadow: 0 22px 44px rgba(11, 36, 54, 0.10);
	transform: translateY(-3px);
}

.fc-work-card__top {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.fc-work-number {
	align-items: center;
	background: var(--fc-navy);
	border-radius: var(--fc-radius-pill);
	color: var(--fc-cyan);
	display: inline-flex;
	font-size: 0.72rem;
	font-weight: 900;
	height: 2rem;
	justify-content: center;
	letter-spacing: 0.04em;
	line-height: 1;
	width: 2rem;
}

.fc-work-card__icon {
	align-items: center;
	color: var(--fc-blue);
	display: inline-flex;
	justify-content: center;
}

.fc-work-actions {
	display: flex;
	justify-content: center;
	margin-top: clamp(2.25rem, 4vw, 3rem);
	width: 100%;
}

/* ----------------------------------------------------------------
   Method (white)
---------------------------------------------------------------- */

.fc-method-list {
	counter-reset: fc-step;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.fc-method-item {
	align-items: flex-start;
	background: var(--fc-bg-light);
	border: 1px solid var(--fc-blue-border);
	border-radius: 1.25rem;
	display: grid;
	gap: 1rem;
	grid-template-columns: 2.6rem minmax(0, 1fr);
	padding: 1.25rem 1.4rem;
}

.fc-method-step {
	align-items: center;
	background: var(--fc-blue);
	border-radius: var(--fc-radius-pill);
	color: var(--fc-white);
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 900;
	height: 2.2rem;
	justify-content: center;
	letter-spacing: 0.04em;
	line-height: 1;
	width: 2.2rem;
}

.fc-method-text {
	color: var(--fc-text);
	font-size: 1.02rem;
	line-height: 1.55;
	margin: 0;
}

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

.fc-cta {
	background: var(--fc-navy);
	color: var(--fc-white);
}

.fc-cta-card {
	align-items: center;
	background: linear-gradient(135deg, #0b78b6 0%, #0b2436 72%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--fc-radius-cta);
	box-shadow: 0 30px 70px rgba(11, 36, 54, 0.3);
	color: var(--fc-white);
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	grid-template-columns: minmax(0, 1fr) auto;
	padding: clamp(1.75rem, 3.5vw, 3.25rem);
}

.fc-cta-copy > * + * {
	margin-top: 1rem;
}

.fc-cta-title {
	color: var(--fc-white);
	font-size: var(--fc-cta-title);
	font-weight: 900;
	letter-spacing: -0.025em;
	line-height: 1.04;
	margin: 0;
	max-width: 28ch;
}

.fc-cta-text {
	color: rgba(255, 255, 255, 0.86);
	font-size: var(--fc-cta-text);
	line-height: 1.5;
	margin: 0;
	max-width: 52ch;
}

.fc-cta-actions {
	display: flex;
	justify-content: flex-end;
}

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

.fc-footer {
	background: var(--fc-navy-deep);
	color: var(--fc-text-on-dark);
	padding: clamp(3rem, 5vw, 4.25rem) 0 1.75rem;
}

.fc-footer__grid {
	display: grid;
	gap: 2.5rem;
	grid-template-columns: minmax(0, 1.4fr) minmax(11rem, 0.65fr) minmax(11rem, 0.65fr);
}

.fc-footer__brand {
	max-width: 34rem;
}

.fc-footer__brand .wp-block-site-title {
	color: var(--fc-white);
	font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.45rem);
	font-weight: 900;
	letter-spacing: -0.015em;
	line-height: 1.2;
	margin: 0 0 0.85rem;
}

.fc-footer p,
.fc-footer__list {
	color: var(--fc-text-on-dark);
	font-size: 0.92rem;
	line-height: 1.55;
	margin: 0;
}

.fc-footer__lead {
	margin-bottom: 1rem !important;
}

.fc-footer__location {
	align-items: center;
	display: inline-flex;
	gap: 0.5rem;
}

.fc-footer__col .fc-eyebrow {
	color: var(--fc-cyan);
	margin-bottom: 0.85rem;
}

.fc-footer__list {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 0.4rem;
}

.fc-footer__contact a {
	color: var(--fc-white);
}

.fc-footer__contact a:hover {
	color: var(--fc-cyan);
}

.fc-footer a {
	color: var(--fc-text-on-dark);
}

.fc-footer__language {
	align-items: center;
	display: inline-flex;
	gap: 0.45rem;
	margin-top: 1rem;
}

.fc-footer__language a {
	color: var(--fc-text-on-dark);
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-decoration: none;
}

.fc-footer__language a[aria-current="true"] {
	color: var(--fc-cyan);
}

.fc-footer__language span[aria-hidden="true"] {
	color: rgba(183, 200, 210, 0.4);
}

.fc-footer__credit {
	color: rgba(183, 200, 210, 0.7);
	font-size: 0.82rem;
	margin: 2.25rem auto 0;
	max-width: 1280px;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

@media (min-width: 1024px) {
	.fc-footer__credit {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

/* ----------------------------------------------------------------
   Interior pages
---------------------------------------------------------------- */

.fc-page {
	padding-bottom: clamp(3.75rem, 6vw, 5.75rem);
	padding-top: clamp(3.25rem, 5.5vw, 5rem);
}

.fc-page .fc-page-title {
	color: var(--fc-navy);
	font-size: clamp(2.1rem, 4vw, 3.5rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1;
	margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
	max-width: 720px;
}

.fc-page .fc-page-content {
	max-width: 720px;
}

.fc-page .fc-page-content > * {
	margin-block-start: 1.05rem;
}

.fc-page .fc-page-content > :first-child {
	margin-block-start: 0;
}

.fc-page .fc-page-content p {
	color: var(--fc-text-muted);
	font-size: clamp(1rem, 1.05vw, 1.12rem);
	line-height: 1.68;
	max-width: 70ch;
}

.fc-page .fc-page-content .has-large-font-size {
	color: var(--fc-text);
	font-size: clamp(1.05rem, 1.25vw, 1.22rem) !important;
	line-height: 1.62;
}

.fc-page .fc-page-content h2 {
	color: var(--fc-navy);
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin-bottom: 0.75rem;
	margin-top: clamp(1.8rem, 3.5vw, 2.55rem);
}

.fc-page .fc-page-content h3 {
	color: var(--fc-navy);
	font-size: clamp(1.15rem, 1.4vw, 1.3rem);
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.22;
	margin-bottom: 0.6rem;
	margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.fc-page .fc-page-content h4 {
	color: var(--fc-navy);
	font-size: clamp(1rem, 1.15vw, 1.15rem);
	font-weight: 800;
	line-height: 1.25;
	margin-bottom: 0.5rem;
	margin-top: 1.25rem;
}

.fc-page .fc-page-content ul,
.fc-page .fc-page-content ol {
	margin-top: 0.85rem;
	padding-left: 1.25rem;
}

.fc-page .fc-page-content li {
	color: var(--fc-text-muted);
	font-size: clamp(0.98rem, 1vw, 1.08rem);
	line-height: 1.65;
	margin-bottom: 0.35rem;
}

.fc-page .fc-page-content .wp-block-group,
.fc-page .fc-page-content .wp-block-columns {
	margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
}

/* ----------------------------------------------------------------
   Override WordPress preset font-size !important rules in scope
---------------------------------------------------------------- */

.fc-hero-copy {
	--wp--preset--font-size--xx-large: var(--fc-hero-title);
	--wp--preset--font-size--large: var(--fc-body-large);
}

.fc-section-intro {
	--wp--preset--font-size--large: var(--fc-body-large);
}

.fc-cta-copy {
	--wp--preset--font-size--large: var(--fc-cta-text);
}

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

@media (max-width: 1100px) {
	.fc-services-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.fc-hero-grid {
		grid-template-columns: 1fr;
	}

	.fc-work-grid {
		grid-template-columns: 1fr;
	}

	.fc-work-card {
		min-height: auto;
	}

	.fc-cta-card {
		grid-template-columns: 1fr;
	}

	.fc-cta-actions {
		justify-content: flex-start;
	}

	.fc-footer__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.fc-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	.fc-method-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {
	.fc-hero-title {
		font-size: clamp(2.5rem, 12vw, 3.8rem);
		letter-spacing: -0.025em;
		line-height: 1;
	}

	.fc-hero-panel {
		margin-left: 0;
		max-width: none;
	}

	.fc-services-grid {
		grid-template-columns: 1fr;
	}

	.fc-service-card {
		min-height: auto;
	}

	.fc-header-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.75rem;
	}

	.fc-language-nav {
		flex-wrap: wrap;
		gap: 0.85rem;
		justify-content: flex-start;
		width: 100%;
	}

	.fc-language-nav__menu {
		gap: 0.85rem 1.25rem;
		flex-wrap: wrap;
		white-space: normal;
	}

	.fc-cta-card {
		padding: clamp(1.5rem, 6vw, 2rem);
	}

	.fc-footer__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.fc-hero-actions .fc-button {
		flex: 1 1 auto;
		justify-content: center;
	}

	.fc-cta-actions .fc-button {
		width: 100%;
		justify-content: center;
	}
}
