/*!
Theme Name: Agamea
Theme URI: http://underscores.me/
Author: Agamea
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: agamea
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Agamea is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: var(--font-family-sans);
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 1em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--color-brand-deep);
}

a:focus {
	outline: 0;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

body.page:not(.home) main#primary.site-main:not(.service-page) {
	min-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10rem 0 6rem;
}

body.page:not(.home) main#primary.site-main:not(.service-page) > article.page {
	width: min(48rem, calc(100% - (var(--container-gutter) * 2)));
}

body.error404 main#primary.site-main {
	min-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

body.error404 .error-404.not-found {
	width: min(48rem, calc(100% - (var(--container-gutter) * 2)));
	text-align: center;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Agamea Design System
--------------------------------------------------------------*/

/* Melun — theme/fonts/ */
@font-face {
	font-family: "Melun";
	src: url("fonts/Melun-Thin.woff2") format("woff2"),
		url("fonts/Melun-Thin.woff") format("woff");
	font-weight: 100;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Melun";
	src: url("fonts/Melun-ThinItalic.woff2") format("woff2"),
		url("fonts/Melun-ThinItalic.woff") format("woff");
	font-weight: 100;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Melun";
	src: url("fonts/Melun-Light.woff2") format("woff2"),
		url("fonts/Melun-Light.woff") format("woff");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Melun";
	src: url("fonts/Melun-LightItalic.woff2") format("woff2"),
		url("fonts/Melun-LightItalic.woff") format("woff");
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Melun";
	src: url("fonts/Melun-Regular.woff2") format("woff2"),
		url("fonts/Melun-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Melun";
	src: url("fonts/Melun-Italic.woff2") format("woff2"),
		url("fonts/Melun-Italic.woff") format("woff");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Melun";
	src: url("fonts/Melun-Medium.woff2") format("woff2"),
		url("fonts/Melun-Medium.woff") format("woff");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Melun";
	src: url("fonts/Melun-MediumItalic.woff2") format("woff2"),
		url("fonts/Melun-MediumItalic.woff") format("woff");
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Melun";
	src: url("fonts/Melun-Bold.woff2") format("woff2"),
		url("fonts/Melun-Bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Melun";
	src: url("fonts/Melun-BoldItalic.woff2") format("woff2"),
		url("fonts/Melun-BoldItalic.woff") format("woff");
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

:root {
	--font-family-sans: "Melun", sans-serif;
	--color-ink: #1f4234;
	--color-ink-soft:#d67414;
	--color-surface: #f6f2e8;
	--color-brand-deep: #004d36;
	--color-brand-light: #a4bc49;
	--color-sun: #ffcd0d;
	--color-sun-soft: #a4bc49;
	--color-text-dark: #292927;
	--color-text-light: #f5f1ea;
	--color-border: rgba(13, 79, 79, 0.12);
	--color-white: #ffffff;
	--shadow-soft: 0 16px 36px rgba(13, 79, 79, 0.14);
	--radius-pill: 999px;
	--radius-card: 18px;
	--radius-soft: 12px;
	--container-max: 1440px;
	--container-gutter: clamp(1rem, 2vw, 2rem);
	--container-inline-start: max(var(--container-gutter), calc((100vw - min(var(--container-max), 100vw - (var(--container-gutter) * 2))) / 2));
	--carousel-slide-width: min(85vw, 430px);
}

html {
	font-size: 16px;
	overflow-x: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

html::-webkit-scrollbar {
	display: none;
}

body {
	background: var(--color-brand-light);
	color: var(--color-brand-deep);
	font-family: var(--font-family-sans);
	text-rendering: geometricPrecision;
	line-height: 1.5;
	overflow-x: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

body::-webkit-scrollbar {
	display: none;
}

/* Custom scrollbar (fixed overlay — no layout shift) */
.custom-scrollbar {
	--custom-scrollbar-width: 8px;
	--custom-scrollbar-inset: 5px;
	position: fixed;
	top: var(--custom-scrollbar-inset);
	right: var(--custom-scrollbar-inset);
	bottom: var(--custom-scrollbar-inset);
	width: var(--custom-scrollbar-width);
	z-index: 280;
	pointer-events: none;
	opacity: 1;
	transition: opacity 0.2s ease;
}

.custom-scrollbar.is-hidden {
	opacity: 0;
}

html.is-swup-changing .custom-scrollbar,
html.is-intro .custom-scrollbar,
html.is-intro-leaving .custom-scrollbar {
	opacity: 0;
}

.custom-scrollbar__track {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: var(--radius-pill);
	background: rgba(0, 77, 54, 0.12);
	pointer-events: auto;
}

.custom-scrollbar__thumb {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	min-height: 56px;
	border-radius: var(--radius-pill);
	background: var(--color-brand-deep);
	opacity: 0.85;
	transform: translate3d(0, 0, 0);
	will-change: transform, height;
	cursor: grab;
	touch-action: none;
}

.custom-scrollbar.is-dragging .custom-scrollbar__thumb {
	cursor: grabbing;
	opacity: 1;
}

@media (pointer: coarse) {
	.custom-scrollbar {
		display: none;
	}
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: var(--color-ink);
	line-height: 1.1;
}



a {
	color: inherit;
	text-decoration: none;
}

.container {
	width: min(var(--container-max), calc(100% - (var(--container-gutter) * 2)));
	margin-inline: auto;
}

.site {
	min-height: 100vh;
}

.site-content {
	display: block;
}

.section {
	padding-block: clamp(3rem, 6vw, 5.5rem);
}

.section--sun {
	background: var(--color-sun);
	padding-top: 0;
}

.homepage {
	--hero-intro-overlap: clamp(9rem, 20vh, 15.5rem);
	--hero-pills-gap: 1.5rem;
}

.homepage-intro {
	padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.homepage-intro__container {
	position: relative;
	z-index: 2;
}

.homepage-intro__box {
	margin-top: calc(-1 * var(--hero-intro-overlap));
	padding: 0;
	border-radius: var(--radius-card);
	background: var(--color-sun);
}

.homepage-intro__heading {
	--panel-padding: clamp(4rem, 7vw, 6.5rem);
	--panel-padding-top: clamp(3rem, 5.5vw, 5rem);
	padding: var(--panel-padding-top) var(--panel-padding) var(--panel-padding);
	margin-bottom: 0;
}

.homepage-intro__heading.section__heading {
	margin-bottom: 0;
}

.homepage-intro__title,
.service-intro__intro,
.portfolio-intro__intro {
	margin: 0;
	padding: 0;
}

.homepage-intro .category-panels {
	margin-top: 0;
	margin-left: 0;
	margin-right: 0;
	padding: 0 var(--panel-padding, clamp(4rem, 7vw, 6.5rem)) clamp(0.5rem, 1vw, .5rem);
}

.section--sage {
	background: var(--color-brand-light);
}

.section__heading {
	display: grid;
	gap: 1rem;
	margin-bottom: 2rem;
}

.heading_small {
	text-align: center;
}

.section__title {
    font-size: clamp(1.6rem, 4vw, 4.5rem);
	line-height: 1.2;
    font-weight: 700;
    max-width: 23ch;
}

.title_small {
	font-size: clamp(1.5rem, 2vw, 2.5rem);
	line-height: 1.14;
	font-weight: 700;
	text-align: center;
	margin:auto auto 3rem;
}

.section__text {
	font-size: clamp(1rem, 2vw, 1.2rem);
	max-width: 60ch;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 50;
	padding-top: 1rem;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	padding: 1.15rem 2.5rem;
	background: var(--color-brand-deep);
	border-radius: var(--radius-pill);
	color: var(--color-sun);
}

.custom-logo {
	max-height: 48px;
	width: auto;
}

.site-logo {
	display: inline-flex;
	align-items: center;
}

.site-logo img,
.site-logo__img {
	width: auto;
	height: auto;
	max-height: 44px;
	aspect-ratio: 224 / 68;
	padding: 3px;
}

.site-header .site-logo {
	--logo-comp-w: 1920;
	--logo-comp-h: 1080;
	--logo-crop-x: 16;
	--logo-crop-y: 185;
	--logo-crop-w: 1904;
	--logo-crop-h: 680;
	--logo-h: 48px;
	position: relative;
	display: block;
	flex: 0 0 auto;
	width: calc(var(--logo-h) * var(--logo-crop-w) / var(--logo-crop-h));
	height: var(--logo-h);
	transform: translateZ( 0 );
}

.site-header .site-logo .site-logo__img {
	position: absolute;
	inset: 8% 3%;
	width: auto;
	height: auto;
	max-height: none;
	aspect-ratio: 224 / 68;
	padding: 0;
	object-fit: contain;
}

.site-logo__lottie {
	position: relative;
	display: block;
	overflow: hidden;
	width: auto;
	height: var(--logo-h, 44px);
	aspect-ratio: var(--logo-crop-w, 1800) / var(--logo-crop-h, 680);
}

.site-header .site-logo__lottie {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
}

.site-header .site-logo.is-lottie .site-logo__img {
	display: none;
}

.site-logo__lottie-stage {
	position: absolute;
	width: calc(100% * var(--logo-comp-w) / var(--logo-crop-w));
	height: calc(100% * var(--logo-comp-h) / var(--logo-crop-h));
	left: calc(100% * -1 * var(--logo-crop-x) / var(--logo-crop-w));
	top: calc(100% * -1 * var(--logo-crop-y) / var(--logo-crop-h));
	pointer-events: none;
}

.site-logo__lottie-stage svg,
.site-logo__lottie-stage canvas {
	display: block;
	width: 100%;
	height: 100%;
}

.site-logo__img--sun {
	display: block;
}

.site-logo__img--deep {
	display: none;
}

.mobile-navigation {
	display: none;
}

.site-title {
	font-weight: 800;
	letter-spacing: 0.02em;
}

.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.85rem;
	border: 0;
	border-radius: var(--radius-pill);
	background: var(--color-sun);
	color: var(--color-brand-deep);
	font-weight: 700;
}

.main-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.header-actions {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	margin-left: auto;
}

.header-icon-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--color-sun-soft);
	background: rgba(248, 217, 128, 0.12);
	transition: background 0.2s ease, transform 0.2s ease;
}

.header-icon-link svg {
	width: 28px;
	height: 28px;
	fill: currentColor;
}

.header-icon-link:hover,
.header-icon-link:focus-visible {
	background: rgba(248, 217, 128, 0.28);
	transform: translateY(-1px);
	color: var(--color-sun);
}

.main-navigation .nav-menu {
	display: none;
	position: absolute;
	right: 0;
	top: calc(100% + 0.7rem);
	min-width: 220px;
	background: var(--color-brand-deep);
	border-radius: var(--radius-soft);
	padding: 0.5rem;
	box-shadow: var(--shadow-soft);
}

.main-navigation.toggled .nav-menu {
	display: grid;
}

.main-navigation a {
	display: block;
	padding: 0.5rem 1.4rem;
	border-radius: var(--radius-soft);
	color: var(--color-sun);
	font-weight: 500;
	letter-spacing: 0.02em;
	font-size: 1.1rem;
	transition: color 0.2s ease;
	text-transform: lowercase;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
	background: transparent;
	color: var(--color-sun-soft);
}

/* Top-level items without submenu: hover → soft */
.main-navigation .nav-menu > li:not(.menu-item-has-children):not(.page_item_has_children) > a:hover,
.main-navigation .nav-menu > li:not(.menu-item-has-children):not(.page_item_has_children) > a:focus-visible {
	color: var(--color-sun-soft);
	background: transparent;
}

/* Submenu open: active parent + its sub-items only — soft color, no background */
.main-navigation .menu-item-has-children:hover > a,
.main-navigation .menu-item-has-children.focus > a,
.main-navigation .menu-item-has-children:hover .sub-menu a,
.main-navigation .menu-item-has-children.focus .sub-menu a {
	color: var(--color-sun-soft);
	background: transparent;
}

.main-navigation .menu-item-has-children:hover > a:hover,
.main-navigation .menu-item-has-children.focus > a:hover,
.main-navigation .menu-item-has-children:hover > a:focus-visible,
.main-navigation .menu-item-has-children.focus > a:focus-visible,
.main-navigation .menu-item-has-children:hover .sub-menu a:hover,
.main-navigation .menu-item-has-children.focus .sub-menu a:hover,
.main-navigation .menu-item-has-children:hover .sub-menu a:focus-visible,
.main-navigation .menu-item-has-children.focus .sub-menu a:focus-visible {
	color: var(--color-sun);
	background: transparent;
}

.main-navigation ul ul {
	position: static;
	display: block;
	background: transparent;
	box-shadow: none;
	padding: 0;
	text-align: center;
}

.main-navigation ul ul a {
	text-align: center;
}

.hero {
	position: relative;
	min-height: 96vh;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.hero__media {
	position: absolute;
	inset: -12% 0;
	z-index: 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	transform: scale(1.12);
	transform-origin: center center;
	will-change: transform;
	overflow: hidden;
}

.hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity var(--hero-fade-ms, 1.1s) ease;
	will-change: opacity;
}

.hero__picture,
.hero__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.hero__img {
	object-fit: cover;
	object-position: center;
}

.hero__slide.is-active {
	opacity: 1;
	z-index: 1;
}

.hero__media:not(.hero__media--slider) .hero__slide {
	transition: none;
}

@media (prefers-reduced-motion: reduce) {
	.hero__slide {
		transition: none;
	}
}

.hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 25%, rgba(0, 0, 0, 0.5) 100%);
	will-change: transform;
}

.hero__content {
	position: relative;
	z-index: 3;
	will-change: transform;
	display: grid;
	align-items: end;
	justify-items: end;
	align-self: stretch;
	width: 100%;
	padding-block: clamp(2.2rem, 8vw, 6rem) calc(var(--hero-intro-clearance, var(--hero-intro-overlap)) + var(--hero-pills-gap));
	padding-inline: var(--container-gutter, 1.5rem);
	color: var(--color-white);
	min-height: 96vh;
	box-sizing: border-box;
}

.hero__content-slide {
	grid-area: 1 / 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity var(--hero-fade-ms, 1.1s) ease, visibility var(--hero-fade-ms, 1.1s) ease;
	text-align: center;
	max-width: min(28rem, 100%);
	margin-right: clamp(1.25rem, 7vw, 4.5rem);
	margin-bottom: clamp(2.75rem, 5vw, 7.5rem);
}

.hero__content-slide.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 3;
}

.hero__slide-title {
	margin: 0;
	padding: 0.34em 0.75em 0.26em;
	border-radius: var(--radius-pill);
	background: var(--color-ink-soft);
	color: var(--color-sun);
	font-size: clamp(1.05rem, 2.4vw, 1.55rem);
	font-weight: 700;
	line-height: 1.18;
	text-transform: lowercase;
	transform: rotate(-6deg);
}

.hero__slide-text {
	margin: 0;
	padding: 0.22em 0.7em;
	border-radius: var(--radius-pill);
	background: var(--color-brand-light);
	color: var(--color-brand-deep);
	font-size: clamp(0.8rem, 1.4vw, .9rem);
	font-weight: 600;
	line-height: 1.25;
	transform: rotate(-13deg);
}

.hero__eyebrow {
	justify-self: start;
	padding: 0.35rem 0.85rem;
	border-radius: var(--radius-pill);
	background: rgba(248, 217, 128, 0.16);
	color: #ffffff;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 0.8rem;
}

.hero__title {
	font-size: clamp(2.3rem, 6vw, 4.8rem);
	color: var(--color-white);
	font-weight: 900;
	max-width: 14ch;
}

.hero__description {
	font-size: clamp(1rem, 2.3vw, 1.3rem);
	max-width: 54ch;
}

.category-panels {
	position: relative;
	z-index: 2;
	display: grid;
	gap: clamp(1rem, 2vw, 1.5rem);
	grid-template-columns: 1fr;
}

.category-panel {
	--panel-rest: none;
	--panel-hover: translate3d(0, -0.2rem, 0);
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
	padding: clamp(1.75rem, 3.5vw, 2.75rem);
	border-radius: var(--radius-card);
	transform: var(--panel-rest);
	transition: transform var(--agamea-motion-duration, 0.35s) var(--agamea-motion-ease, ease);
	will-change: transform;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.agamea-icon {
	display: block;
	line-height: 0;
}

.agamea-icon svg {
	display: block;
	width: 100%;
	height: auto;
}

.category-panel__icon {
	position: absolute;
	top: clamp(1.6rem, 2.9vw, 2.15rem);
	right: clamp(0.85rem, 2vw, 1.25rem);
	width: clamp(2.75rem, 5vw, 3.75rem);
	color: var(--color-sun);
	pointer-events: none;
	z-index: 1;
}

.category-panel--brand-deep {
	--panel-rest: rotate(-4deg) translate(-40px, 35px);
	--panel-hover: rotate(-5deg) translate(-40px, 28px);
	background: var(--color-brand-light);
	color: var(--color-text-dark);
}

.category-panel--sun {
	--panel-rest: none;
	--panel-hover: translate3d(0, -0.25rem, 0) rotate(-1deg);
	background: var(--color-brand-deep);
	color: var(--color-brand-light);
	z-index: 1;
}

.category-panel--brand-light {
	--panel-rest: rotate(4deg) translate(40px, 35px);
	--panel-hover: rotate(5deg) translate(40px, 28px);
	background: var(--color-ink-soft);
	color: var(--color-white);
}

.category-panel--ink-soft {
	--panel-rest: none;
	--panel-hover: translate3d(0, -0.2rem, 0) rotate(1deg);
	background: var(--color-ink-soft);
	color: var(--color-white);
}

.category-panel:hover,
.category-panel:focus-visible {
	transform: var(--panel-hover);
	z-index: 3;
}

.category-panel:focus-visible {
	outline: 2px solid var(--color-sun);
	outline-offset: 4px;
}

.category-panel__body {
	display: grid;
	gap: 1rem;
	text-align: center;
	color: var(--color-brand-deep);
}

.category-panel.category-panel--sun .category-panel__body {
	color: var(--color-brand-light);
}

.category-panel__title {
	margin: 0 auto 15px;
	font-size: clamp(1rem, 1.5vw, 1.8rem);
	font-weight: 800;
	line-height: 1.05;
	text-align: center;
	text-transform: uppercase;
}

.category-panel__title-pill {
	--pill-bg: var(--color-sun);
	--pill-fg: var(--color-brand-deep);
	--pill-rotate-hover: 0deg;
	--pill-nudge-y: 0;
	font-weight: 800;
	text-transform: uppercase;
	padding: 0.42em 24px 0.28em;
	font-size: inherit;
}

.category-panel.agamea-motion-host:hover .category-panel__title-pill,
.category-panel .category-panel__title-pill:hover,
.category-panel .category-panel__title-pill:focus-visible {
	transform: none;
}

.category-panel--sun .category-panel__title-pill {
	--pill-bg: var(--color-brand-light);
	--pill-fg: var(--color-brand-deep);
}

.category-panel--brand-light .category-panel__title-pill {
	--pill-bg: var(--color-sun);
	--pill-fg: var(--color-brand-deep);
}

.category-panel__description {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.45;
	max-width: 32ch;
	color: inherit;
	font-weight: 500;
	justify-self: center;
	transition: transform var(--agamea-motion-duration, 0.35s) var(--agamea-motion-ease, ease);
}

.category-panel:hover .category-panel__description,
.category-panel:focus-within .category-panel__description {
	transform: translate3d(0, -0.15rem, 0);
}

.category-panel__secondary-text {
	margin: 0;
	font-size: clamp(0.78rem, 1.2vw, 0.92rem);
	line-height: 1.4;
	letter-spacing: 0.03em;
	font-weight: 400;
	color: inherit;
	opacity: 0.88;
	justify-self: center;
	max-width: 34ch;
}

.category-panel__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	align-self: center;
	gap: 0.35rem;
	color: var(--color-brand-deep);
	font-size: 1rem;
	letter-spacing: 0.04em;
	font-weight: 700;
	flex-direction: column;
	text-decoration: none;
	transition: transform var(--agamea-motion-duration, 0.35s) var(--agamea-motion-ease, ease);
}

.category-panel__button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.65rem;
	height: 2.65rem;
	border-radius: 50%;
	background: var(--color-brand-deep);
	color: var(--color-brand-light);
	transform: rotate(0deg);
	transition: transform 0.4s var(--agamea-motion-ease, ease);
}

.category-panel__button-icon svg {
	width: 1.15rem;
	height: 1.15rem;
	fill: currentColor;
	display: block;
}

.category-panel__button-label {
	line-height: 1.2;
}

.category-panel--sun .category-panel__button {
	color: var(--color-brand-light);
}

.category-panel--sun .category-panel__button-icon {
	background: var(--color-brand-light);
	color: var(--color-brand-deep);
}

.category-panel--brand-light .category-panel__button {
	color: var(--color-sun);
}

.category-panel--brand-light .category-panel__button-icon {
	background: var(--color-sun);
	color: var(--color-ink-soft);
}

.category-panel:hover .category-panel__button,
.category-panel:focus-within .category-panel__button,
.category-panel__button:hover,
.category-panel__button:focus-visible {
	transform: translate3d(0, -0.15rem, 0);
}

.category-panel:hover .category-panel__button-icon,
.category-panel:focus-within .category-panel__button-icon,
.category-panel__button:hover .category-panel__button-icon,
.category-panel__button:focus-visible .category-panel__button-icon {
	transform: rotate(-40deg);
}

@media (prefers-reduced-motion: reduce) {
	.category-panel,
	.category-panel__description,
	.category-panel__button,
	.category-panel__button-icon {
		transition: none;
	}

	.category-panel:hover,
	.category-panel:focus-within {
		transform: var(--panel-rest);
	}

	.category-panel:hover .category-panel__description,
	.category-panel:focus-within .category-panel__description,
	.category-panel:hover .category-panel__button,
	.category-panel:focus-within .category-panel__button,
	.category-panel__button:hover,
	.category-panel__button:focus-visible {
		transform: none;
	}

	.category-panel:hover .category-panel__button-icon,
	.category-panel:focus-within .category-panel__button-icon,
	.category-panel__button:hover .category-panel__button-icon,
	.category-panel__button:focus-visible .category-panel__button-icon {
		transform: rotate(-15deg);
	}
}



.pill-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	justify-content: center;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.4rem 0.95rem 0.32rem;
	border-radius: var(--radius-pill);
	background: rgba(13, 79, 79, 0.16);
	color: var(--color-ink);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.25;
	text-transform: lowercase;
}

.pill--soft {
	background: rgba(248, 217, 128, 0.25);
	color: #e7f8b2;
}

.portfolio-archive .header-title-group--archive {
	display: flex;
	justify-content: center;
	padding-top: clamp(2.5rem, 6vw, 4.5rem);
	margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

@media (max-width: 859px) {
	.portfolio-archive .header-title-group--archive {
		padding-top: clamp(5.25rem, 16vw, 6.75rem);
	}
}

.portfolio-filter__icon {
	width: 1.05em;
	flex-shrink: 0;
	color: inherit;
}

.portfolio-filter {
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.portfolio-filter__pill {
	gap: 0.4rem;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.portfolio-filter__pill:hover,
.portfolio-filter__pill:focus-visible {
	background: var(--color-sun);
	color: var(--color-brand-deep);
}

.portfolio-filter__pill--all.is-active {
	background: var(--color-brand-deep);
	color: var(--color-sun);
}

.portfolio-filter__pill:not(.portfolio-filter__pill--all).is-active {
	background: var(--color-sun);
	color: var(--color-brand-deep);
}

.portfolio-filter__pill {
	border: none;
	cursor: pointer;
	font: inherit;
}

.portfolio-card.is-filtered-out {
	display: none;
}

.portfolio-filter__empty {
	margin: 0 0 1.5rem;
	text-align: center;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--color-brand-deep);
}

.section__heading_projects {
	padding-top: clamp(1.5rem, 3vw, 2.75rem);
	display: flex;
	justify-content: center;
}

.heading_projects--bottom {
	justify-content: center;
}

/* Reusable arrow CTA — colors via modifiers / CSS vars */
.agamea-cta {
	--cta-bg: var(--color-brand-deep);
	--cta-fg: var(--color-sun);
	--cta-nudge-x: 0.35rem;
	--cta-nudge-y: -0.2rem;
	--cta-icon-rest: -15deg;
	--cta-icon-hover: -40deg;
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	text-decoration: none;
	color: inherit;
	transform: translate3d(0, 0, 0);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.agamea-cta--deep {
	--cta-bg: var(--color-brand-deep);
	--cta-fg: var(--color-sun);
}

.agamea-cta--sun {
	--cta-bg: var(--color-sun);
	--cta-fg: var(--color-ink-soft);
}

.agamea-cta--light {
	--cta-bg: var(--color-brand-light);
	--cta-fg: var(--color-brand-deep);
}

.agamea-cta--ink {
	--cta-bg: var(--color-ink-soft);
	--cta-fg: var(--color-sun);
}

.agamea-cta__label {
	margin: 0;
	padding: 0.35em 0.9em;
	border-radius: var(--radius-pill);
	background: var(--cta-bg);
	color: var(--cta-fg);
	font-size: clamp(1.35rem, 2.5vw, 1.9rem);
	font-weight: 500;
	line-height: 1.15;
	text-transform: lowercase;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.agamea-cta__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 3rem;
	height: 3rem;
	padding: 0.25rem;
	border-radius: 50%;
	background: var(--cta-bg);
	color: var(--cta-fg);
	transform: rotate(var(--cta-icon-rest));
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.agamea-cta__icon svg {
	width: 1.7rem;
	height: 1.7rem;
	fill: currentColor;
	display: block;
}

.agamea-cta:hover,
.agamea-cta:focus-visible {
	transform: translate3d(var(--cta-nudge-x), var(--cta-nudge-y), 0);
}

.agamea-cta:hover .agamea-cta__icon,
.agamea-cta:focus-visible .agamea-cta__icon {
	transform: rotate(var(--cta-icon-hover));
}

.agamea-cta:focus-visible {
	outline: 2px solid var(--cta-fg);
	outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.agamea-cta,
	.agamea-cta__label,
	.agamea-cta__icon {
		transition: none;
	}

	.agamea-cta:hover,
	.agamea-cta:focus-visible {
		transform: none;
	}

	.agamea-cta:hover .agamea-cta__icon,
	.agamea-cta:focus-visible .agamea-cta__icon {
		transform: rotate(var(--cta-icon-rest));
	}
}

/* Shared micro-motion language (CTA, pills, cards…) */
:root {
	--agamea-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--agamea-motion-duration: 0.35s;
}

/* Reusable encapsulated pills */
.agamea-pill {
	--pill-bg: var(--color-sun);
	--pill-fg: var(--color-brand-deep);
	--pill-rotate-rest: 0deg;
	--pill-rotate-hover: -4deg;
	--pill-nudge-y: -0.2rem;
	display: inline;
	margin: 0;
	padding: 0.28em 0.85em 0.2em;
	border-radius: var(--radius-pill);
	background: var(--pill-bg);
	color: var(--pill-fg);
	line-height: 1.5;
	overflow: visible;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	transform: rotate(var(--pill-rotate-rest)) translate3d(0, 0, 0);
	transform-box: fill-box;
	transition:
		transform var(--agamea-motion-duration) var(--agamea-motion-ease),
		background-color var(--agamea-motion-duration) ease,
		color var(--agamea-motion-duration) ease;
}

a.agamea-pill {
	text-decoration: none;
	pointer-events: auto;
}

.agamea-pill--sun {
	--pill-bg: var(--color-sun);
	--pill-fg: var(--color-brand-deep);
	--pill-rotate-hover: -4deg;
}

.agamea-pill--light {
	--pill-bg: var(--color-brand-light);
	--pill-fg: var(--color-brand-deep);
	--pill-rotate-hover: 4deg;
}

.agamea-pill--deep {
	--pill-bg: var(--color-brand-deep);
	--pill-fg: var(--color-sun);
	--pill-rotate-hover: -3deg;
}

.agamea-pill--ink {
	--pill-bg: var(--color-ink-soft);
	--pill-fg: var(--color-sun);
	--pill-rotate-hover: 3deg;
}

.agamea-pill--block {
	display: inline-block;
}

/* Trigger: parent hover or own hover */
.agamea-motion-host:hover .agamea-pill,
.agamea-pill:hover,
.agamea-pill:focus-visible {
	transform: rotate(var(--pill-rotate-hover)) translate3d(0, var(--pill-nudge-y), 0);
}

.agamea-motion-host:hover .agamea-pill:nth-child(even),
.agamea-motion-host:hover .agamea-pill--alt {
	--pill-rotate-hover: 4deg;
}

@media (prefers-reduced-motion: reduce) {
	.agamea-pill {
		transition: none;
	}

	.agamea-motion-host:hover .agamea-pill,
	.agamea-pill:hover,
	.agamea-pill:focus-visible {
		transform: none;
	}

	.portfolio-card__title,
	.team-card__name,
	.portfolio-card__media img {
		transition: none;
	}

	.portfolio-card:hover .portfolio-card__title,
	.portfolio-card:focus-within .portfolio-card__title,
	.team-card:hover .team-card__name,
	.team-card:focus-within .team-card__name {
		transform: none;
	}
}

/* Legacy projects__* kept for other nav uses */
.section__heading_projects a.projects__link {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 1rem;
}

.projects__title {
	font-size: 1.9rem;
	font-weight: 500;
	background: var(--color-brand-deep);
	color: var(--color-sun);
	padding: 8px 24px;
	border-radius: 999em;
}

.projects__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px;
	width: 48px;
	height: 48px;
	background: var(--color-brand-deep);
	border-radius: 50%;
	transform: rotate(-15deg);
}

.projects__icon svg {
	width: 30px;
	height: 30px;
	fill: var(--color-sun);
}

.heading_projects--bottom .projects__title {
	background: var(--color-sun);
	color: var(--color-ink-soft);
}

.heading_projects--bottom .projects__icon {
	background: var(--color-sun);
}

.heading_projects--bottom .projects__icon svg {
	fill: var(--color-ink-soft);
}

.portfolio-slider-nav--icons {
	gap: 1rem;
}

.portfolio-slider-nav--icons .projects__icon {
	border: 0;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.portfolio-slider-nav--icons .projects__icon--prev {
	transform: rotate(165deg);
}

.portfolio-slider-nav--icons .projects__icon--next {
	transform: rotate(-15deg);
}

.portfolio-slider-nav--icons .projects__icon:hover:not(:disabled),
.portfolio-slider-nav--icons .projects__icon:focus-visible:not(:disabled) {
	opacity: 0.88;
	transform: scale(1.05) rotate(-15deg);
}

.portfolio-slider-nav--icons .projects__icon--prev:hover:not(:disabled),
.portfolio-slider-nav--icons .projects__icon--prev:focus-visible:not(:disabled) {
	transform: scale(1.05) rotate(165deg);
}

.portfolio-slider-nav--icons .projects__icon:disabled {
	opacity: 0.35;
	cursor: default;
}

.portfolio-grid {
	--portfolio-gap: clamp(1rem, 3.2vw, 2.3rem);
	display: grid;
	gap: var(--portfolio-gap);
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

.service-portfolio {
	background: var(--color-ink-soft);
}

.service-portfolio--related {
	background: var(--color-ink-soft);
	padding-top: clamp(1.25rem, 3vw, 2rem);
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.service-page .service-portfolio--related {
	background: var(--color-ink-soft);
	color: var(--color-brand-deep);
}

.service-portfolio__see-more-wrap {
	display: flex;
	justify-content: center;
	margin-top: calc(-1 * clamp(2.25rem, 5vw, 3.5rem));
	margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
	position: relative;
	z-index: 2;
}

.service-portfolio__see-more {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	line-height: 1;
	text-align: center;
	text-transform: lowercase;
	transform: rotate(-8deg);
}

.service-portfolio__see-more-line {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.28em 0.85em;
	border-radius: var(--radius-pill);
	font-weight: 700;
	line-height: 1.1;
	white-space: nowrap;
}

.service-portfolio__see-more-line--kicker {
	background: var(--color-sun);
	color: var(--color-ink-soft);
	font-size: clamp(1rem, 2.2vw, 1.4rem);
	transform: rotate(-2deg);
}

.service-portfolio__see-more-line--main {
	background: var(--color-ink-soft);
	color: var(--color-sun);
	font-size: clamp(1.85rem, 4.2vw, 2.85rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	transform: rotate(3deg);
}

.homepage-portfolio {
	padding-top: 0;
}

.homepage-portfolio__see-more-wrap {
	margin-top: calc(-1 * clamp(3.5rem, 6.5vw, 5rem));
	margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
}

.homepage-portfolio__see-more-wrap .service-portfolio__see-more {
	transform: rotate(-8deg) translate3d(0, -1.15rem, 0);
}

.homepage-portfolio__see-more-wrap .service-portfolio__see-more-line--kicker {
	background: var(--color-brand-light);
	color: var(--color-brand-deep);
}

.homepage-portfolio__see-more-wrap .service-portfolio__see-more-line--main {
	background: var(--color-ink-soft);
	color: var(--color-sun);
}

.service-portfolio__heading {
	display: flex;
	justify-content: center;
	margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.service-portfolio__title {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.55rem 0.75rem;
	margin: 0;
	font-size: clamp(1.55rem, 3.2vw, 2.35rem);
	line-height: 1.15;
	font-weight: 700;
	color: var(--color-brand-deep);
	text-align: center;
}

.service-portfolio__title-text {
	font-weight: 700;
}

.service-portfolio__title-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.28em 0.85em;
	border-radius: var(--radius-pill);
	background: var(--color-ink-soft);
	color: var(--color-sun);
	font-weight: 700;
	line-height: 1.1;
	transform: rotate(-7deg);
}

.portfolio-slider {
	--portfolio-slider-gap: clamp(1rem, 3.2vw, 2rem);
}

.portfolio-slider--bleed {
	width: 100%;
	box-sizing: border-box;
}

.portfolio-slider__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
	scroll-padding-inline-start: var(--portfolio-inline-start, var(--container-inline-start));
	scroll-padding-inline-end: var(--portfolio-scroll-padding-end, var(--container-inline-start));
	scrollbar-width: none;
	-ms-overflow-style: none;
	overscroll-behavior-x: contain;
}

.portfolio-slider__viewport::-webkit-scrollbar {
	display: none;
}

.portfolio-slider__track {
	display: flex;
	gap: var(--portfolio-slider-gap);
	padding-bottom: 0.5rem;
	padding-inline-start: var(--portfolio-inline-start, var(--container-inline-start));
	padding-inline-end: var(--portfolio-inline-end, var(--container-inline-start));
	box-sizing: border-box;
}

.portfolio-slider__item {
	flex: 0 0 auto;
	width: min(72vw, 340px);
	scroll-snap-align: start;
}

.portfolio-slider__item:last-child {
	scroll-snap-align: none;
}

.portfolio-slider-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(0.85rem, 2vw, 1.4rem);
	margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.portfolio-slider-nav__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: var(--color-brand-deep);
	color: var(--color-white);
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.portfolio-slider-nav__btn:hover:not(:disabled),
.portfolio-slider-nav__btn:focus-visible:not(:disabled) {
	opacity: 0.88;
	transform: scale(1.04);
}

.portfolio-slider-nav__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.portfolio-slider-nav__icon {
	display: block;
}

.portfolio-slider-nav__label {
	font-size: clamp(1.15rem, 2.2vw, 1.55rem);
	font-weight: 700;
	line-height: 1.1;
	color: var(--color-brand-deep);
	text-transform: lowercase;
}

.service-portfolio .portfolio-slider-dots {
	margin-top: clamp(1.25rem, 3vw, 2rem);
}

.service-page .service-portfolio .agamea-carousel__dot,
.service-portfolio .agamea-carousel__dot {
	width: 1.2rem;
	height: 1.2rem;
	border: 3px solid var(--color-brand-light);
	background: var(--color-brand-light);
	box-sizing: border-box;
}

.service-page .service-portfolio .agamea-carousel__dot:hover,
.service-portfolio .agamea-carousel__dot:hover {
	background: color-mix(in srgb, var(--color-brand-deep) 28%, var(--color-brand-light));
	border-color: var(--color-brand-light);
}

.service-page .service-portfolio .agamea-carousel__dot.is-active,
.service-portfolio .agamea-carousel__dot.is-active {
	background: var(--color-brand-deep);
	border-color: var(--color-brand-light);
}

.service-page.service-theme--design .service-portfolio .agamea-carousel__dot {
	background: var(--color-sun);
	border-color: var(--color-sun);
}

.service-page.service-theme--design .service-portfolio .agamea-carousel__dot:hover {
	background: color-mix(in srgb, var(--color-ink-soft) 35%, var(--color-sun));
	border-color: var(--color-sun);
}

.service-page.service-theme--design .service-portfolio .agamea-carousel__dot.is-active {
	background: var(--color-ink-soft);
	border-color: var(--color-sun);
}

.service-also {
	padding-block: clamp(2.6rem, 4.5vw, 3.4rem);
}

.service-also__text {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35em 0.25em;
	font-size: clamp(1.15rem, 2.4vw, 1.7rem);
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
	color: var(--color-brand-deep);
}

.service-also__kicker,
.service-also__rest {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: inherit;
}

@media (max-width: 859px) {
	.service-also__text {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 0.35em;
	}

	.service-also__rest {
		flex-wrap: nowrap;
		gap: 0.12em 0.18em;
	}

	.service-also__item {
		gap: 0.18em;
	}

	.service-also__item:has(+ .service-also__bang) {
		gap: 0.05rem;
	}

	.service-also__bang {
		margin-inline-start: 0.22em;
	}

	.service-also__pill {
		padding: 0.12em 0.58em;
	}
}

.service-also__item {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	white-space: nowrap;
}

.service-also__pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.18em 0.75em;
	border-radius: var(--radius-pill);
	background: var(--color-brand-light);
	color: var(--color-brand-deep);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transform: rotate(var(--also-pill-rotate, 0deg)) translate3d(var(--also-pill-x, 0), var(--also-pill-y, 0), 0);
	transition: transform var(--agamea-motion-duration, 0.35s) var(--agamea-motion-ease, ease);
	will-change: transform;
}

.service-also__pill--1 {
	--also-pill-rotate: -6deg;
	--also-pill-x: -0.15rem;
	--also-pill-y: 0.2rem;
}

.service-also__pill--2 {
	--also-pill-rotate: 5deg;
	--also-pill-x: 0.2rem;
	--also-pill-y: -0.15rem;
}

.service-also__pill:hover,
.service-also__pill:focus-visible {
	transform: rotate(var(--also-pill-hover-rotate, var(--also-pill-rotate, 0deg))) translate3d(var(--also-pill-x, 0), calc(var(--also-pill-y, 0px) - 0.12rem), 0);
}

.service-also__pill--1:hover,
.service-also__pill--1:focus-visible {
	--also-pill-hover-rotate: -12deg;
}

.service-also__pill--2:hover,
.service-also__pill--2:focus-visible {
	--also-pill-hover-rotate: 11deg;
}

@media (prefers-reduced-motion: reduce) {
	.service-also__pill {
		transition: none;
	}

	.service-also__pill:hover,
	.service-also__pill:focus-visible {
		transform: rotate(var(--also-pill-rotate, 0deg)) translate3d(var(--also-pill-x, 0), var(--also-pill-y, 0), 0);
	}
}

.portfolio-card {
	position: relative;
	display: block;
	aspect-ratio: 4 / 6;
	overflow: hidden;
	border-radius: var(--radius-card);
}

.portfolio-card__media {
	position: absolute;
	inset: 0;
	display: block;
	background: rgba(13, 79, 79, 0.12);
}

.portfolio-card__media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform var(--agamea-motion-duration, 0.35s) var(--agamea-motion-ease, ease);
}

.portfolio-card__media picture {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.portfolio-card:hover .portfolio-card__media img,
.portfolio-card:focus-within .portfolio-card__media img {
	transform: scale(1.04);
}

.portfolio-card__content {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	gap: 0.15rem;
	padding: 1.25rem 1rem 1.5rem;
	text-align: center;
	pointer-events: none;
}

.portfolio-card__content::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.35) 100%);
	pointer-events: none;
}

.portfolio-card__title {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: clamp(1.15rem, 1.8vw, 1.45rem);
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.15;
	display: inline-block;
	max-width: 100%;
	transform: translate3d(0, 0, 0) rotate(0deg);
	transition: transform var(--agamea-motion-duration, 0.35s) var(--agamea-motion-ease, ease);
}

.portfolio-card__title .agamea-pill {
	font-weight: 700;
	text-transform: uppercase;
	padding: 0.38em 20px 0.22em;
	line-height: 1.3;
	/* Keep inline for per-line pill cloning; motion lives on the title host. */
	transform: none !important;
}

.portfolio-card__location {
	position: relative;
	z-index: 1;
	font-size: 11px;
	font-style: italic;
	font-weight: 400;
	margin: 0;
}

.portfolio-card__location.agamea-pill {
	padding: 0.32em 12px 0.22em;
	font-size: 11px;
	line-height: 1.3;
	margin-top: 0;
}

.portfolio-card__subtitle {
	position: relative;
	z-index: 1;
	margin: 0.25rem 0 0 0;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.04em;
	color: #ffffff;
}

.portfolio-card:hover .portfolio-card__title,
.portfolio-card:focus-within .portfolio-card__title {
	transform: translate3d(0, -0.25rem, 0) rotate(-4deg);
}

.portfolio-card:hover .portfolio-card__location.agamea-pill,
.portfolio-card:focus-within .portfolio-card__location.agamea-pill {
	--pill-rotate-hover: 5deg;
	--pill-nudge-y: -0.18rem;
}

.portfolio-card__meta {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}

.portfolio-card__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	padding: 1rem;
	font-weight: 700;
	color: var(--color-ink-soft);
}

.portfolio-card--featured {
	grid-column: 1 / -1;
}

.site-footer {
	background: var(--color-brand-deep);
	color: var(--color-brand-light);
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.site-footer__grid {
	display: grid;
	gap: clamp(2rem, 4vw, 3rem);
}

.site-footer__col {
	display: grid;
	align-content: start;
	gap: 1rem;
}

.site-footer__widget {
	display: grid;
	gap: 1rem;
}

.site-footer__widget .site-logo--footer {
	display: inline-flex;
}

.site-footer__widget p {
	margin: 0;
}

.site-footer__widget a {
	color: inherit;
}

.site-logo--footer .site-logo__img--sun {
	display: block;
}

.site-logo--footer .site-logo__img--deep {
	display: none;
}

.site-footer__email {
	margin: 0;
	padding-bottom: 0.85rem;
	font-size: clamp(0.95rem, 1.6vw, 1rem);
	letter-spacing: 0.02em;
	font-weight: 400;
	line-height: 1.6;
}

.site-footer__email a {
	color: var(--color-brand-light);
	transition: color 0.2s ease;
}

.site-footer__email a:hover,
.site-footer__email a:focus-visible {
	color: var(--color-sun);
}

.site-footer__address {
	margin: 0;
	padding-bottom: 0.85rem;
	font-style: normal;
	font-size: clamp(0.95rem, 1.6vw, 1.05rem);
	line-height: 1.5;
	color: var(--color-brand-light);
}

.site-footer__social.header-actions {
	margin-left: 0;
	margin-top: 0.25rem;
	gap: 0.65rem;
}

.site-footer__social .header-icon-link {
	color: var(--color-brand-light);
	background: rgba(255, 205, 13, 0.12);
	transition: color 0.2s ease, background 0.2s ease;
}

.site-footer__social .header-icon-link:hover,
.site-footer__social .header-icon-link:focus-visible {
	color: var(--color-sun);
	background: rgba(255, 205, 13, 0.32);
}

.site-footer__menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.55rem;
}

.site-footer__menu a {
	font-size: clamp(0.95rem, 1.6vw, 1rem);
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--color-brand-light);
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer__menu a:hover,
.site-footer__menu a:focus-visible {
	color: var(--color-sun);
	text-underline-offset: 0.2em;
}

.site-footer__nav.site-footer__nav--legal a {
	font-weight: 400;
}


@media (min-width: 860px) {
	.site-footer__grid {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
	}
}

/* Mobile header */
@media (max-width: 859px) {
	.site-header {
		padding-top: 0;
	}

	.site-header__inner {
		width: 100%;
		max-width: none;
		margin: 0;
		padding: 1rem 1.25rem;
		border-radius: 0;
		background: var(--color-brand-light);
		color: var(--color-brand-deep);
		box-shadow: none;
		flex-wrap: nowrap;
	}

	.site-header .site-logo .site-logo__img--sun {
		display: none;
	}

	.site-header .site-logo .site-logo__img--deep {
		display: block;
	}

	.site-header .site-logo.is-lottie .site-logo__img,
	.site-header .site-logo.is-lottie .site-logo__img--sun,
	.site-header .site-logo.is-lottie .site-logo__img--deep {
		display: none;
	}

	.main-navigation,
	.header-actions--desktop {
		display: none;
	}

	html.mobile-menu-open .site-header {
		z-index: 100;
	}

	html.mobile-menu-open .site-branding {
		position: fixed;
		top: 1rem;
		left: 1.25rem;
		z-index: 115;
	}

	.mobile-navigation {
		display: block;
		position: relative;
		z-index: 110;
		margin-left: auto;
	}

	.mobile-navigation .menu-toggle--burger {
		position: relative;
		z-index: 110;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: var(--color-brand-deep);
		cursor: pointer;
	}

	.mobile-navigation.toggled .menu-toggle--burger {
		position: fixed;
		top: 1rem;
		right: 1.25rem;
	}

	.menu-toggle__bars {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		gap: 6px;
		width: 26px;
	}

	.menu-toggle__bar {
		display: block;
		width: 100%;
		height: 2px;
		border-radius: 1px;
		background: var(--color-brand-deep);
		transition: transform 0.2s ease, opacity 0.2s ease;
	}

	.mobile-navigation.toggled .menu-toggle__bar:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.mobile-navigation.toggled .menu-toggle__bar:nth-child(2) {
		opacity: 0;
	}

	.mobile-navigation.toggled .menu-toggle__bar:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	.mobile-navigation__panel {
		position: fixed;
		inset: 0;
		z-index: 90;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: space-between;
		padding: 5rem 1.5rem 2rem;
		background: var(--color-brand-light);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 0.2s ease, visibility 0.2s ease;
	}

	.mobile-navigation__content {
		display: flex;
		flex: 1;
		align-items: center;
		justify-content: center;
		width: 100%;
		overflow-y: auto;
	}

	.mobile-navigation .header-actions--mobile {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 0.8rem;
		width: 100%;
		margin: 0;
		padding-bottom: 0.5rem;
	}

	.mobile-navigation .header-actions--mobile .header-icon-link {
		color: var(--color-brand-deep);
		background: rgba(0, 77, 54, 0.1);
	}

	.mobile-navigation .header-actions--mobile .header-icon-link:hover,
	.mobile-navigation .header-actions--mobile .header-icon-link:focus-visible {
		color: var(--color-brand-deep);
		background: rgba(0, 77, 54, 0.18);
		transform: translateY(-1px);
	}

	.mobile-navigation.toggled .mobile-navigation__panel {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.mobile-navigation .mobile-menu {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.5rem;
		width: 100%;
		max-width: 22rem;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.mobile-navigation .mobile-menu > li {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.mobile-navigation .mobile-menu > li:nth-last-child(-n+2) {
		flex: 1 1 calc(50% - 0.25rem);
		max-width: calc(50% - 0.25rem);
	}

	.mobile-navigation .mobile-menu > li > a {
		display: block;
		padding: 0.85rem 1.25rem;
		border-radius: var(--radius-pill);
		font-size: clamp(1.2rem, 4.5vw, 1.6rem);
		font-weight: 500;
		letter-spacing: 0.02em;
		text-align: center;
		transition: color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
	}

	/* Middle items (between first 3 and last 2) */
	.mobile-navigation .mobile-menu > li:nth-child(n+4):nth-last-child(n+3) > a {
		background: var(--color-ink-soft);
		color: var(--color-brand-deep);
	}

	/* First 3 */
	.mobile-navigation .mobile-menu > li:nth-child(-n+3) > a {
		background: var(--color-brand-deep);
		color: var(--color-sun);
	}

	/* Last 2 (same row) */
	.mobile-navigation .mobile-menu > li:nth-last-child(-n+2) > a {
		background: var(--color-sun);
		color: var(--color-ink-soft);
	}

	.mobile-navigation .mobile-menu > li > a:hover,
	.mobile-navigation .mobile-menu > li > a:focus-visible {
		opacity: 0.88;
	}

	.mobile-navigation .mobile-menu .sub-menu {
		display: grid;
		gap: 0.35rem;
		margin: 0.35rem 0 0;
		padding: 0;
		list-style: none;
	}

	.mobile-navigation .mobile-menu .sub-menu a {
		padding: 0.65rem 1rem;
		border-radius: var(--radius-pill);
		background: var(--color-ink-soft);
		color: var(--color-brand-deep);
		font-size: clamp(1rem, 3.5vw, 1.15rem);
		font-weight: 500;
	}
}

html.mobile-menu-open,
html.mobile-menu-open body {
	overflow: hidden;
}

@media (min-width: 860px) {
	.site-header__inner {
		width: min(var(--container-max), calc(100% - (var(--container-gutter) * 2)));
		margin-inline: auto;
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
		gap: 1.5rem;
	}

	.mobile-navigation {
		display: none;
	}

	.site-branding {
		justify-self: start;
	}

	.main-navigation {
		justify-self: center;
	}

	.menu-toggle {
		display: none;
	}

	.main-navigation {
		position: relative;
	}

	.main-navigation .nav-menu {
		display: flex;
		position: static;
		gap: 2.2rem;
		min-width: auto;
		padding: 0;
		background: transparent;
		box-shadow: none;
	}

	.main-navigation li {
		position: relative;
	}

	.main-navigation ul ul {
		float: none;
		left: 50%;
		right: auto;
		position: absolute;
		top: 100%;
		min-width: 180px;
		background: var(--color-brand-deep);
		border-radius: var(--radius-soft);
		padding: 0.35rem;
		text-align: center;
		opacity: 0;
		visibility: hidden;
		transform: translateX(-50%) translateY(8px);
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	}

	/* Override Underscores `left: auto` on hover (higher specificity in base CSS). */
	.main-navigation ul li:hover > ul,
	.main-navigation ul li.focus > ul,
	.main-navigation li:hover > ul,
	.main-navigation li.focus > ul {
		left: 50%;
		right: auto;
		opacity: 1;
		visibility: visible;
		transform: translateX(-50%) translateY(0);
	}

	.main-navigation ul ul a {
		width: 100%;
		text-align: center;
	}

	.category-panels {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin-bottom: 140px;
	}

	.portfolio-grid {
		container-type: inline-size;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.portfolio-card--featured {
		aspect-ratio: unset;
		height: calc((100cqi - 2 * var(--portfolio-gap)) / 3 * 4 / 3);
	}

	.header-actions--desktop {
		justify-self: end;
		margin-left: 0;
	}
}

/* Animated scrolling lines */
.section--animated-lines {
	padding-block: 0;
	overflow: hidden;
}

.animated-lines {
	display: grid;
}

.animated-lines__row {
	overflow: hidden;
	padding-block: clamp(0.35rem, 1vw, 0.2rem);
}

.animated-lines__row--deep {
	background: var(--color-brand-deep);
	color: var(--color-sun);
}

.animated-lines__row--sun {
	background: var(--color-sun);
	color: var(--color-ink-soft);
}

.animated-lines__row--light {
	background: var(--color-ink-soft);
	color: var(--color-text-dark);
}

.animated-lines__viewport {
	overflow: hidden;
	/* Extra clip room for capital accents without thickening the bands. */
	padding-block: 0.22em;
	margin-block: -0.22em;
}

.animated-lines__track {
	display: flex;
	width: max-content;
	will-change: transform;
	backface-visibility: hidden;
}

.animated-lines__group {
	display: flex;
	flex: 0 0 auto;
	width: max-content;
}

.animated-lines__text {
	flex: 0 0 auto;
	/* Spacing between clones / items; avoid padding-inline (doubles at junctions). */
	padding-inline-start: 4px;
	padding-inline-end: 0;
	font-size: clamp(1rem, 2vw, 1.3rem);
	font-weight: 400;
	line-height: 1.2;
	font-style: italic;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.animated-lines__track--ltr {
	animation: animated-lines-ltr 42s linear infinite;
}

.animated-lines__track--rtl {
	animation: animated-lines-rtl 42s linear infinite;
}

@keyframes animated-lines-ltr {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(-50%, 0, 0);
	}
}

@keyframes animated-lines-rtl {
	from {
		transform: translate3d(-50%, 0, 0);
	}

	to {
		transform: translate3d(0, 0, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.animated-lines__track--ltr,
	.animated-lines__track--rtl {
		animation: none;
		transform: none;
	}

	.animated-lines__viewport {
		overflow-x: auto;
	}
}

/* Front page bottom image + overlapping panel */
.bottom-image-group {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	padding-bottom: 390px;
}

.bottom-image-group > .section--bottom-image,
.bottom-image-group > .section--bottom-overlap {
	grid-column: 1;
	grid-row: 1;
}

.section--bottom-image {
	padding: 0;
	overflow: hidden;
}

.bottom-image {
	position: relative;
	margin: 0;
	width: 100%;
	height: 75vh;
	height: 75dvh;
	overflow: hidden;
}

.bottom-image__media {
	position: absolute;
	inset: -12% 0;
	z-index: 0;
	transform: scale(1.12);
	transform-origin: center center;
	will-change: transform;
}

.bottom-image__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.section--bottom-overlap {
	position: relative;
	z-index: 1;
	align-self: end;
	width: 100%;
	padding: 0;
	pointer-events: none;
	transform: translateY(50%);
}

.home {
	background: var(--color-brand-deep);
}
.page-template-page-agence {
	background: var(--color-sun);
}



.section--bottom-overlap .container {
	pointer-events: auto;
}

.agamea-icon--montagne {
	color: var(--color-sun);
	pointer-events: none;
	line-height: 0;
}

.agamea-icon--montagne svg,
.agamea-icon--montagne path {
	fill: currentColor;
}

.agamea-icon--montagne-home {
	position: absolute;
	top: auto;
	bottom: calc(clamp(1.1rem, 2.4vw, 1.85rem) + 60px);
	right: calc(var(--container-inline-start) + clamp(1.15rem, 2.5vw, 2rem));
	z-index: 3;
	width: clamp(3.35rem, 9vw, 6.25rem);
	color: var(--color-brand-light);
}

.agamea-icon--montagne-intro {
	position: absolute;
	top: 50%;
	right: clamp(1rem, 3vw, 2.25rem);
	z-index: 1;
	width: clamp(2.9rem, 7.5vw, 5.4rem);
	transform: translateY(-50%);
}

.intro-box--ink .service-intro__intro {
	position: relative;
	z-index: 1;
}

.bottom-overlap__panel {
	--panel-padding: clamp(4rem, 7vw, 6.5rem);
	border-radius: var(--radius-card);
	background: var(--color-ink-soft);
	color: var(--color-brand-deep);
	padding: var(--panel-padding);
	will-change: transform;
}

.bottom-overlap__title {
	margin: 0 0 1rem;
	font-size: clamp(1.75rem, 3.5vw, 2.75rem);
	line-height: 1.1;
	font-weight: 700;
}

.bottom-overlap__content {
	font-size: clamp(1.2rem, 2.4vw, 1.7rem);
	font-weight: 600;
	line-height: 1.5;
	width: 70%;
}

.bottom-overlap__content > :first-child {
	margin-top: 0;
}

.bottom-overlap__content > :last-child {
	margin-bottom: 0;
}

/* Homepage / shared mobile tweaks */
@media (max-width: 859px) {
	.portfolio-card {
		aspect-ratio: 1 / 1;
	}

	.homepage-intro__heading,
	.bottom-overlap__panel {
		--panel-padding: clamp(1.15rem, 5vw, 1.5rem);
	}

	.homepage-intro__heading {
		--panel-padding-top: clamp(1.75rem, 6vw, 2.35rem);
	}

	.homepage {
		--hero-intro-overlap: clamp(11rem, 24vh, 15.5rem);
		--hero-pills-gap: 1.25rem;
	}

	.homepage-intro__box {
		margin-top: calc(-1 * var(--hero-intro-overlap));
	}

	.homepage-intro {
		padding-bottom: clamp(3.25rem, 10vw, 4.75rem);
	}

	.category-panels {
		margin-bottom: 2.5rem;
	}

	.homepage-intro .category-panels {
		padding-inline: var(--panel-padding, clamp(1.15rem, 5vw, 1.5rem));
		padding-bottom: clamp(1.75rem, 6vw, 2.35rem);
	}

	.homepage-portfolio__see-more-wrap {
		margin-top: calc(-1 * clamp(2.5rem, 6vw, 3.5rem));
	}

	.homepage-portfolio__see-more-wrap .service-portfolio__see-more {
		transform: rotate(-8deg) translate3d(0, -0.85rem, 0);
	}

	.bottom-overlap__content {
		width: 100%;
	}

	.agamea-icon--montagne-home {
		width: clamp(2.4rem, 18vw, 3.5rem);
		top: auto;
		bottom: calc(0.7rem + 60px);
	}

	.agamea-icon--montagne-intro {
		width: clamp(2.2rem, 16vw, 3.35rem);
		right: 0.95rem;
		top:26%;
	}

	.intro-box--ink .service-intro__intro {
		padding-right: clamp(3rem, 16vw, 4.25rem);
	}

	.bottom-image {
		height: 48vh;
		height: 48dvh;
	}

	.bottom-image-group {
		padding-bottom: 220px;
	}

	.category-panel,
	.category-panel--ink-soft {
		--panel-rest: none;
		--panel-hover: translate3d(0, -0.15rem, 0);
		transform-origin: center center;
	}

	.category-panel--brand-deep {
		--panel-rest: rotate(-2deg);
		--panel-hover: rotate(-2.5deg) translate3d(0, -0.15rem, 0);
	}

	.category-panel--sun {
		--panel-rest: rotate(1.25deg);
		--panel-hover: rotate(1.75deg) translate3d(0, -0.15rem, 0);
	}

	.category-panel--brand-light {
		--panel-rest: rotate(-2deg);
		--panel-hover: rotate(-2.5deg) translate3d(0, -0.15rem, 0);
	}

	.category-panel {
		padding: clamp(1.2rem, 4vw, 1.6rem);
		gap: 1.35rem;
	}

	.category-panel__body {
		gap: 1.25rem;
	}

	.category-panel__icon {
		top: clamp(1.1rem, 3vw, 1.4rem);
		right: clamp(0.75rem, 3vw, 1rem);
		width: clamp(2.35rem, 10vw, 3rem);
	}

	.homepage .hero {
		min-height: 100svh;
		height: auto;
	}

	.homepage .hero__media {
		inset: -4% 0;
		transform: scale(1.06);
	}

	.hero__content {
		justify-items: end;
		align-items: end;
		padding-block: clamp(5.5rem, 18vw, 7rem) calc(var(--hero-intro-clearance, var(--hero-intro-overlap)) + var(--hero-pills-gap));
		padding-inline: 1rem clamp(1rem, 5vw, 1.5rem);
		min-height: 100svh;
	}

	.hero__content-slide {
		align-items: center;
		justify-self: end;
		width: auto;
		max-width: min(82%, 22rem);
		margin-right: clamp(0.25rem, 3vw, 0.85rem);
		margin-bottom: 0;
		padding-inline: 0.25rem;
	}

	.hero__slide-title {
		font-size: clamp(0.95rem, 4.2vw, 1.15rem);
		transform: rotate(-4deg);
		max-width: 100%;
	}

	.hero__slide-text {
		font-size: clamp(0.72rem, 3.2vw, 0.85rem);
		transform: rotate(-7deg);
		max-width: 100%;
	}

	/* Services: same horizontal rhythm as home panels */
	.service-page {
		--service-box-width: 100%;
		--service-box-padding-x: clamp(1.15rem, 5vw, 1.5rem);
	}

	.service-intro__box,
	.portfolio-intro__box {
		width: var(--service-box-width);
		--panel-padding: clamp(1.45rem, 6vw, 1.85rem);
		--panel-padding-top: clamp(2.1rem, 7vw, 2.75rem);
		padding: var(--panel-padding-top) clamp(1.65rem, 7vw, 2.15rem) var(--panel-padding);
		min-height: auto;
		gap: clamp(1.25rem, 4vw, 1.75rem);
	}

	.service-intro__intro,
	.portfolio-intro__intro {
		padding: 0;
	}

	#project-intro-headline {
		margin-top: 0.75rem;
	}

	.service-content__container,
	.service-content__article {
		width: 100%;
	}

	.service-content__article {
		padding-inline: var(--service-box-padding-x);
	}

	.service-content .entry-content {
		padding-inline: 0;
	}

	.agence-page .service-content .entry-content {
		padding-left: 2.75rem;
	}

	.agence-page .agamea-arrow-circle {
		width: 1.85rem;
		height: 1.85rem;
	}

	.agence-page .agamea-arrow-circle__svg {
		width: 0.95rem;
		height: 0.95rem;
	}

	.service-monogram__inner {
		flex-direction: column;
		align-items: center;
		gap: clamp(1.25rem, 4vw, 1.75rem);
		text-align: center;
	}

	.service-monogram__img {
		width: clamp(5.5rem, 28vw, 7rem);
		margin-inline: auto;
	}

	.service-monogram__text {
		text-align: left;
	}
}

/* Service page template */
.service-page {
	--service-box-width: 80%;
	--service-box-padding-x: clamp(1.3rem, 2vw, 2rem);

	/* Default theme = Stratégie (jaune) */
	--service-intro-bg: var(--color-sun);
	--service-intro-text: var(--color-brand-deep);
	--service-badge-bg: var(--color-brand-light);
	--service-badge-text: var(--color-brand-deep);
	--service-text: var(--color-brand-deep);
	--service-carousel-title-bg: var(--color-sun);
	--service-carousel-title-text: var(--color-brand-deep);
	--service-carousel-badge-bg: var(--color-brand-deep);
	--service-carousel-badge-text: var(--color-sun);
	--service-slide-a-bg: var(--color-sun);
	--service-slide-a-text: var(--color-brand-deep);
	--service-slide-b-bg: var(--color-brand-deep);
	--service-slide-b-text: var(--color-sun);
	--service-step-bg: var(--color-ink-soft);
	--service-step-text: var(--color-white);
	--service-dot: var(--color-sun);
	--service-dot-active: var(--color-ink-soft);
	--service-portfolio-bg: var(--color-sun);
	--service-portfolio-text: var(--color-brand-deep);
	--service-portfolio-nav-bg: var(--color-brand-deep);
	--service-portfolio-nav-icon: var(--color-white);
	--service-also-bg: var(--color-ink-soft);
	--service-also-text: var(--color-brand-deep);
	--service-also-pill-bg: var(--color-brand-light);
	--service-also-pill-text: var(--color-brand-deep);
	--service-stack-bg: var(--color-brand-light);
	--service-stack-deep-bg: var(--color-brand-deep);
	--service-stack-deep-text: var(--color-sun);
	--service-stack-accent-bg: var(--color-ink-soft);
	--service-stack-accent-text: var(--color-sun);
	--service-stack-sun-bg: var(--color-sun);
	--service-stack-sun-text: var(--color-brand-deep);
	--service-stack-light-bg: var(--color-brand-light);
	--service-stack-light-text: var(--color-brand-deep);
}

.service-page.service-theme--design {
	background: var(--color-sun);
	--service-intro-bg: var(--color-brand-light);
	--service-intro-text: var(--color-brand-deep);
	--service-badge-bg: var(--color-sun);
	--service-badge-text: var(--color-brand-deep);
	--service-text: var(--color-brand-deep);
	--service-carousel-title-bg: var(--color-brand-deep);
	--service-carousel-title-text: var(--color-sun);
	--service-carousel-badge-bg: var(--color-ink-soft);
	--service-carousel-badge-text: var(--color-white);
	--service-slide-a-bg: var(--color-brand-light);
	--service-slide-a-text: var(--color-brand-deep);
	--service-slide-b-bg: var(--color-brand-deep);
	--service-slide-b-text: var(--color-brand-light);
	--service-step-bg: var(--color-sun);
	--service-step-text: var(--color-brand-deep);
	--service-dot: var(--color-brand-light);
	--service-dot-active: var(--color-ink-soft);
	--service-portfolio-bg: var(--color-brand-light);
	--service-portfolio-text: var(--color-brand-deep);
	--service-portfolio-nav-bg: var(--color-brand-deep);
	--service-portfolio-nav-icon: var(--color-white);
	--service-also-bg: var(--color-ink-soft);
	--service-also-text: var(--color-brand-deep);
	--service-also-pill-bg: var(--color-sun);
	--service-also-pill-text: var(--color-brand-deep);
	--service-stack-bg: var(--color-sun);
	--service-stack-deep-bg: var(--color-brand-deep);
	--service-stack-deep-text: var(--color-brand-light);
	--service-stack-accent-bg: var(--color-ink-soft);
	--service-stack-accent-text: var(--color-sun);
	--service-stack-sun-bg: var(--color-brand-light);
	--service-stack-sun-text: var(--color-brand-deep);
	--service-stack-light-bg: var(--color-brand-deep);
	--service-stack-light-text: var(--color-sun);
}

.service-page.service-theme--web {
	--service-intro-bg: var(--color-ink-soft);
	--service-intro-text: var(--color-sun);
	--service-badge-bg: var(--color-sun);
	--service-badge-text: var(--color-brand-deep);
	--service-text: var(--color-brand-deep);
	--service-carousel-title-bg: var(--color-ink-soft);
	--service-carousel-title-text: var(--color-white);
	--service-carousel-badge-bg: var(--color-sun);
	--service-carousel-badge-text: var(--color-brand-deep);
	--service-slide-a-bg: var(--color-sun);
	--service-slide-a-text: var(--color-brand-deep);
	--service-slide-b-bg: var(--color-ink-soft);
	--service-slide-b-text: var(--color-white);
	--service-step-bg: var(--color-brand-deep);
	--service-step-text: var(--color-sun);
	--service-dot: var(--color-ink-soft);
	--service-dot-active: var(--color-sun);
	--service-portfolio-bg: var(--color-sun);
	--service-portfolio-text: var(--color-brand-deep);
	--service-portfolio-nav-bg: var(--color-brand-deep);
	--service-portfolio-nav-icon: var(--color-white);
	--service-also-bg: var(--color-ink-soft);
	--service-also-text: var(--color-brand-deep);
	--service-also-pill-bg: var(--color-brand-light);
	--service-also-pill-text: var(--color-brand-deep);
	--service-stack-bg: var(--color-brand-light);
	--service-stack-deep-bg: var(--color-brand-deep);
	--service-stack-deep-text: var(--color-sun);
	--service-stack-accent-bg: var(--color-ink-soft);
	--service-stack-accent-text: var(--color-sun);
	--service-stack-sun-bg: var(--color-sun);
	--service-stack-sun-text: var(--color-brand-deep);
	--service-stack-light-bg: var(--color-brand-light);
	--service-stack-light-text: var(--color-brand-deep);
}

.service-page .service-intro__box {
	background: var(--service-intro-bg);
}

.service-page .service-intro__title {
	background: var(--service-badge-bg);
	color: var(--service-badge-text);
}

.service-page .service-intro__intro {
	color: var(--service-intro-text);
}

.service-page .service-content .entry-content,
.service-page .service-content .entry-content p,
.service-page .service-monogram__text {
	color: var(--service-text);
}

.service-page .process-carousel__title {
	background: var(--service-carousel-title-bg);
	color: var(--service-carousel-title-text);
}

.service-page .process-carousel__badge {
	background: var(--service-carousel-badge-bg);
	color: var(--service-carousel-badge-text);
}

.service-page .agamea-carousel__slide--sun {
	background: var(--service-slide-a-bg);
	color: var(--service-slide-a-text);
}

.service-page .agamea-carousel__slide--ink {
	background: var(--service-slide-b-bg);
	color: var(--service-slide-b-text);
}

.service-page .agamea-carousel__slide--ink .agamea-carousel__slide-title {
	color: var(--service-slide-b-text);
}

.service-page .agamea-carousel__step {
	background: var(--service-step-bg);
	color: var(--service-step-text);
}

.service-page .agamea-carousel__dot {
	border-color: var(--service-dot);
	background: var(--service-dot);
}

.service-page .agamea-carousel__dot:hover {
	background: var(--service-dot-active);
	border-color: var(--service-dot);
}

.service-page .agamea-carousel__dot.is-active {
	background: var(--service-dot-active);
	border-color: var(--service-dot);
}

.service-page .service-portfolio {
	background: var(--service-portfolio-bg);
	color: var(--service-portfolio-text);
}

.service-page .service-portfolio .section__title,
.service-page .service-portfolio .title_small {
	color: var(--service-portfolio-text);
}

.service-page .portfolio-slider-nav__btn {
	background: var(--service-portfolio-nav-bg);
	color: var(--service-portfolio-nav-icon);
}

.service-page .portfolio-slider-nav__label {
	color: var(--service-portfolio-text);
}

.service-page .service-also {
	background: var(--service-also-bg);
	color: var(--service-also-text);
}

.service-page .service-also__pill {
	background: var(--service-also-pill-bg);
	color: var(--service-also-pill-text);
}

.service-hero-group--overlap {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto auto;
	position: relative;
	isolation: isolate;
}

.service-hero-group--overlap .service-hero {
	grid-row: 1;
	grid-column: 1;
	position: relative;
	overflow: hidden;
}

.service-hero-group--overlap .service-intro {
	grid-row: 2;
	grid-column: 1;
	z-index: 2;
	align-self: start;
	width: 100%;
	margin-top: calc(-0.5 * clamp(8rem, 22vw, 22rem));
	padding: 0;
	transform: none;
	will-change: transform;
}

.service-page.service-theme--design .service-intro {
	padding-bottom: clamp(1.75rem, 4vw, 3rem);
}

.service-page .service-hero {
	margin: 0;
	width: 100%;
	height: clamp(280px, 60vh, 640px);
	overflow: hidden;
}

.service-hero-group--overlap .service-hero__img {
	position: absolute;
	inset: -12% 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.12);
	transform-origin: center center;
	will-change: transform;
}

.service-hero-group:not(.service-hero-group--overlap) .service-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.service-hero-group:not(.service-hero-group--overlap) .service-intro {
	padding-block: clamp(2rem, 4vw, 3rem) 0;
}

.service-intro__box,
.portfolio-intro__box {
	--panel-padding: clamp(4rem, 7vw, 6.5rem);
	--panel-padding-top: clamp(3rem, 5.5vw, 5rem);
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: clamp(1rem, 2vw, 1.5rem);
	min-height: clamp(8rem, 20vw, 12rem);
	padding: var(--panel-padding-top) clamp(4.25rem, 10vw, 7.25rem) var(--panel-padding);
	border-radius: var(--radius-card);
	background: var(--color-sun);
	width: var(--service-box-width);
	margin: 0 auto;
}


.portfolio-intro__box {
	align-items: center;
	background: var(--color-ink-soft);
	overflow: visible;
	box-sizing: border-box;
	text-align: center;
}

.project-page .service-hero-group,
.project-page .service-hero-group--overlap,
.project-page .service-intro,
.project-page .service-intro .container {
	overflow: visible;
}

.portfolio-intro__box > * {
	max-width: 100%;
	box-sizing: border-box;
}

.portfolio-intro__intro {
	width: 100%;
	max-width: 100%;
	text-align: center;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.portfolio-intro__intro a {
	text-decoration: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

.portfolio-intro__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	width: 100%;
	max-width: 100%;
	margin-top: 0.25rem;
	padding-inline: 0;
}

.portfolio-intro__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45em 1.15em;
	border-radius: var(--radius-pill);
	background: var(--color-sun);
	color: var(--color-ink-soft);
	font-size: clamp(0.95rem, 1.5vw, 1.15rem);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.portfolio-intro__btn:hover,
.portfolio-intro__btn:focus-visible {
	opacity: 0.9;
	transform: translateY(-1px);
}

.portfolio-intro__monogram {
	position: absolute;
	right: clamp(1rem, 3vw, 2rem);
	bottom: clamp(1rem, 2.5vw, 1.75rem);
	width: clamp(2.75rem, 6vw, 4.25rem);
	height: auto;
	display: block;
	pointer-events: none;
	opacity: 0.95;
	z-index: 2;
}

@media (max-width: 859px) {
	.portfolio-intro__monogram {
		display: none;
	}

	#project-intro-headline {
		margin-top: 0.75rem;
	}
}

/* Project single — work cards + explain */
.project-page {
	background: var(--color-surface);
}

.project-works {
	padding-block: clamp(1.5rem, 4vw, 2.75rem) clamp(2rem, 5vw, 3.5rem);
}

.project-works__container {
	width: min(100%, var(--container-max));
	container-type: inline-size;
	--project-work-gap: clamp(1rem, 2.5vw, 1.75rem);
}

.project-works__grid {
	display: grid;
	gap: var(--project-work-gap);
	--project-work-card-height: calc(((100cqi - (2 * var(--project-work-gap))) / 3) * 4 / 3);
}

.project-works__grid--count-1 {
	grid-template-columns: minmax(0, 1fr);
	width: 100%;
}

.project-works__grid--count-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: 100%;
}

.project-works__grid--count-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
}

@media (max-width: 900px) {
	.project-works__grid--count-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 859px) {
	.project-works__grid,
	.project-works__grid--count-2,
	.project-works__grid--count-3 {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
		overflow: visible;
		--project-work-card-height: calc(100cqi * 4 / 3);
	}
}

.project-work-card {
	position: relative;
	height: var(--project-work-card-height);
	aspect-ratio: unset;
	overflow: hidden;
	border-radius: var(--radius-card);
	background: rgba(13, 79, 79, 0.08);
}

.project-work-card__media,
.project-work-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.project-work-card__media .project-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.project-work-card__media .project-media__file {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-work-card__media .project-media__embed {
	width: 100%;
	height: 100%;
}

.project-work-card__media .project-media__embed iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.project-work-card__content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.45rem;
	padding: 1.25rem 0.85rem 1.1rem;
	background: linear-gradient(to top, rgba(20, 30, 20, 0.55) 0%, rgba(20, 30, 20, 0.15) 55%, transparent 100%);
}

.project-work-card__heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	max-width: 100%;
}

.project-work-card__title,
.project-work-card__type {
	position: relative;
	margin: 0;
	max-width: 100%;
	text-align: center;
	text-transform: uppercase;
	line-height: 1.35;
}

.project-work-card__type {
	z-index: 0;
	font-size: clamp(0.68rem, 1.1vw, 0.82rem);
	font-weight: 700;
	letter-spacing: 0.03em;
}

.project-work-card__title {
	z-index: 1;
	margin-top: 0.7em;
	font-size: clamp(0.72rem, 1.2vw, 0.9rem);
	font-weight: 800;
	letter-spacing: 0.02em;
}

.project-work-card__title .agamea-pill,
.project-work-card__type .agamea-pill {
	font-weight: inherit;
	text-transform: inherit;
	letter-spacing: inherit;
	line-height: 1.3;
	transform: none !important;
}

.project-work-card__title .agamea-pill {
	padding: 0.5em 1.2em;
}

.project-work-card__type .agamea-pill {
	--pill-fg: var(--color-white);
	padding: 0.5em 1.2em;
}

.project-work-card__caption {
	margin: 0.15rem 0 0;
	max-width: 22ch;
	color: var(--color-white);
	font-size: clamp(0.7rem, 1.1vw, 0.85rem);
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
}

.project-explain {
	padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem);
	background: var(--color-surface);
}

.project-explain__container {
	width: var(--service-box-width);
	max-width: 100%;
	margin-inline: auto;
	text-align: center;
}

@media (max-width: 859px) {
	.project-explain__container,
	.project-works__container {
		width: min(var(--container-max), calc(100% - (var(--container-gutter) * 2)));
		margin-inline: auto;
	}
}

.project-explain__badge {
	position: relative;
	display: inline-grid;
	justify-items: center;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.project-explain__badge-top,
.project-explain__badge-bottom {
	display: inline-block;
	padding: 0.28em 0.85em;
	border-radius: var(--radius-pill);
	background: var(--color-ink-soft);
	color: var(--color-white);
	font-weight: 700;
	line-height: 1.15;
	text-transform: lowercase;
}

.project-explain__badge-top {
	font-size: clamp(0.95rem, 1.8vw, 1.25rem);
	transform: rotate(-8deg) translate(0.35rem, 0.35rem);
	z-index: 1;
}

.project-explain__badge-bottom {
	font-size: clamp(1.15rem, 2.4vw, 1.65rem);
	transform: rotate(-4deg);
}

.project-explain__intro {
	margin: 0 auto clamp(1.25rem, 3vw, 1.85rem);
	max-width: 40ch;
	font-size: clamp(1.35rem, 2.6vw, 2rem);
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	color: var(--color-brand-deep);
}

.project-explain__intro p {
	margin: 0;
	font: inherit;
	color: inherit;
}

.project-explain__intro p + p {
	margin-top: 0.75em;
}

.project-explain__content,
.project-explain__content p {
	margin-inline: auto;
	max-width: 52ch;
	font-size: clamp(1.05rem, 1.8vw, 1.35rem);
	font-weight: 500;
	line-height: 1.6;
	text-align: center;
	color: var(--color-brand-light);
}

.project-explain__content > :first-child {
	margin-top: 0;
}

.project-explain__content > :last-child {
	margin-bottom: 0;
}

.project-explain__intro a,
.project-explain__content a,
.portfolio-intro__intro a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.15em;
}

.project-explain__content u,
.project-explain__intro u {
	text-decoration: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.15em;
}

.project-gallery {
	padding-block: 0 clamp(3rem, 7vw, 5rem);
	background: var(--color-surface);
}

.project-gallery__container {
	width: var(--service-box-width);
	max-width: 100%;
	margin-inline: auto;
	display: grid;
	gap: clamp(1rem, 2.5vw, 1.75rem);
}

.project-gallery__row {
	display: grid;
	gap: clamp(1rem, 2.5vw, 1.75rem);
}

.project-gallery__row--single {
	grid-template-columns: minmax(0, 1fr);
}

.project-gallery__row--double {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-gallery__row--triple {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 859px) {
	.project-gallery__container {
		width: min(var(--container-max), calc(100% - (var(--container-gutter) * 2)));
		margin-inline: auto;
	}

	.project-gallery__row--double,
	.project-gallery__row--triple {
		grid-template-columns: minmax(0, 1fr);
	}
}

.project-gallery__item {
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius-card);
	background: rgba(13, 79, 79, 0.08);
}

.project-gallery__row--single .project-gallery__item {
	aspect-ratio: auto;
}

.project-gallery__row--double .project-gallery__item,
.project-gallery__row--triple .project-gallery__item {
	aspect-ratio: 3 / 4;
}

.project-gallery__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-gallery__row--single .project-gallery__img,
.project-gallery__row--single .project-gallery__item .project-media--image,
.project-gallery__row--single .project-gallery__item .project-media__file {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.project-gallery__item .project-media {
	width: 100%;
	height: 100%;
}

.project-gallery__row--single .project-gallery__item .project-media--image {
	height: auto;
}

.project-gallery__row--single .project-gallery__item .project-media--video,
.project-gallery__row--single .project-gallery__item .project-media__embed {
	aspect-ratio: 16 / 9;
	height: auto;
}

.project-gallery__item .project-media__file {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 859px) {
	.project-gallery__row--double .project-gallery__item,
	.project-gallery__row--triple .project-gallery__item {
		aspect-ratio: auto;
	}

	.project-gallery__row--double .project-gallery__img,
	.project-gallery__row--triple .project-gallery__img,
	.project-gallery__row--double .project-gallery__item .project-media--image,
	.project-gallery__row--triple .project-gallery__item .project-media--image,
	.project-gallery__row--double .project-gallery__item .project-media__file,
	.project-gallery__row--triple .project-gallery__item .project-media__file {
		width: 100%;
		height: auto;
		object-fit: contain;
	}

	.project-gallery__row--double .project-gallery__item .project-media--video,
	.project-gallery__row--triple .project-gallery__item .project-media--video,
	.project-gallery__row--double .project-gallery__item .project-media__embed,
	.project-gallery__row--triple .project-gallery__item .project-media__embed {
		aspect-ratio: 16 / 9;
		height: auto;
	}
}

.project-gallery__item .project-media__embed {
	width: 100%;
	height: 100%;
}

.project-gallery__item .project-media__embed iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.project-media__embed {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.project-media__embed--has-cover .project-media__cover {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: auto;
	cursor: pointer;
	transition: opacity 0.35s ease;
}

.project-media__embed--has-cover.is-playing .project-media__cover {
	opacity: 0;
	pointer-events: none;
}

.project-media--autoplay,
.project-media--autoplay .project-media__file,
.project-media--autoplay .project-media__embed,
.project-media--autoplay iframe {
	pointer-events: none;
}

.project-work-card__media .project-media--autoplay iframe {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-intro__title,
.portfolio-intro__title {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1;
    margin: 0;
    width: fit-content;
    max-width: calc(100% - 2rem);
    padding: 8px 24px;
    border-radius: var(--radius-pill);
    background: var(--color-brand-light);
    color: var(--color-brand-deep);
    font-size: clamp(1rem, 1.3vw, 1.45rem);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
	letter-spacing: 0.02em;
    transform: translate(-50%, -50%);
}

.portfolio-intro__title {
	background: var(--color-brand-deep);
	color: var(--color-ink-soft);
}

.intro-box--ink .service-intro__title {
	background: var(--color-sun);
	color: var(--color-ink-soft);
}


.service-intro__intro,
.portfolio-intro__intro,
.section__title.service-intro__intro,
.section__title.portfolio-intro__intro {
	width: 100%;
	max-width: none;
	font-size: clamp(1.75rem, 3.8vw, 3.25rem);
	line-height: 1.2;
	font-weight: 700;
	color: var(--color-brand-deep);
}

.portfolio-intro__intro {
	text-align: center;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.portfolio-intro__title {
	box-sizing: border-box;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.service-content {
	padding: clamp(2.2rem, 4vw, 2rem) 0;
	padding-top: 0;
	padding-bottom: 0;
}



.service-content__container {
	width: var(--service-box-width);
	max-width: 100%;
	margin-inline: auto;
}
@media (max-width: 768px) {
	.service-content__container {
		width: 100%;
	}
}

.service-content__article {
	width: 90%;
	max-width: 100%;
	padding: clamp(2.2rem, 4vw, 2rem) var(--service-box-padding-x) clamp(2.2rem, 4vw, 2rem);
}

.service-content .entry-content {
	margin-inline: auto;
	font-size: clamp(1rem, 1.8vw, 1.1rem);
	line-height: 1.6;
	max-width: none;
	padding-left: clamp(4rem, 5vw, 4.5rem);
	padding-right: clamp(4rem, 5vw, 4.5rem);
}

@media (max-width: 859px) {
	.service-content__container,
	.service-content__article {
		width: 100%;
	}

	.service-content__article {
		padding-inline: var(--service-box-padding-x);
	}

	.service-content .entry-content {
		padding-inline: 0;
	}

	.agence-page .service-content__article {
		padding-inline: 0;
	}

	.agence-page .service-content .entry-content {
		padding-left: 2.5rem;
		padding-right: 0;
	}
}

.service-content .entry-content > :first-child {
	margin-top: 0;
}

.service-monogram {
	padding-block: clamp(2.75rem, 6vw, 4.5rem);
}

.service-monogram__container {
	max-width: clamp(30rem, 68vw, 52rem);
}

@media (max-width: 768px) {
	.service-monogram__container {
		max-width: min(34rem, calc(100% - (var(--container-gutter) * 2)));
	}
}

.service-monogram__inner {
	display: flex;
	align-items: flex-start;
	gap: clamp(1.7rem, 4vw, 2.5rem);
}

.service-monogram__img {
	flex: 0 0 auto;
	width: clamp(7rem, 16vw, 10rem);
	height: auto;
	display: block;
}

.service-monogram__text {
	flex: 1 1 auto;
	min-width: 0;
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	line-height: 1.45;
	color: var(--color-brand-deep);
	font-weight: 500;
}

.service-monogram__text p {
	margin: 0;
}

.service-monogram__text p + p {
	margin-top: 0.75rem;
}

/* Agency page — team grid */
.agence-team {
	padding-block:  clamp(2rem, 5vw, 3.5rem) clamp(4rem, 10vw, 7rem);
	padding-top:0;
}

.process-carousel {
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
	background: var(--color-brand-light);
}

.agence-process {
	background: var(--color-brand-light);
}

.process-carousel__header,
.header-title-group {
	display: inline-flex;
	align-items: center;
	gap: clamp(0.35rem, 1vw, 0.8rem);
	margin-bottom: clamp(4.5rem, 6vw, 6.2rem);
	position: relative;
}

.process-carousel__title {
	margin: 0;
    padding: 0.4em 0.8em 0.32em;
    border-radius: var(--radius-pill);
    background: var(--color-sun);
    color: var(--color-brand-deep);
    font-size: clamp(1.6rem, 3.8vw, 2.5rem);
    line-height: 1.15;
    text-transform: lowercase;
    transform: rotate(-6deg);
}

.process-carousel__badge {
    display: inline-block;
    padding: 0.18em 0.7em;
    border-radius: var(--radius-pill);
    background: var(--color-brand-deep);
    color: var(--color-sun);
    font-size: clamp(0.75rem, 2vw, 1.25rem);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transform: rotate(-14deg) translateY(10px);
    position: absolute;
    right: 0;
    top: 40px;
}

@media (max-width: 859px) {
	.process-carousel__badge {
		top: 27px;
	}
}

.header-title-group--light {
	margin-bottom: clamp(1.5rem, 3vw, 2.2rem);
}

.header-title-group--light .process-carousel__title {
	background: var(--color-brand-light);
	color: var(--color-brand-deep);
}

.header-title-group--light .process-carousel__badge {
	background: var(--color-ink-soft);
	color: var(--color-brand-deep);
}

.header-title-group--portfolio .process-carousel__title,
.service-page .header-title-group--portfolio .process-carousel__title {
	background: var(--color-brand-light);
	color: var(--color-brand-deep);
}

.header-title-group--portfolio .process-carousel__badge,
.service-page .header-title-group--portfolio .process-carousel__badge {
	background: var(--color-ink-soft);
	color: var(--color-sun);
}

.service-process {
	background: var(--service-stack-bg, var(--color-brand-light));
	padding-top: 3rem;
}

.process-carousel--stack {
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (max-width: 859px) {
	.service-page .service-process.process-carousel--stack {
		padding-top: 1.25rem;
		padding-bottom: 1.15rem;
	}

	.service-page .process-offers {
		padding-bottom: 0.25rem;
	}
}

.process-carousel--stack .process-carousel__header {
	display: flex;
	width: fit-content;
	margin-inline: auto;
	margin-bottom: clamp(2.2rem, 4.5vw, 3.2rem);
}

.process-offers {
	--offer-pale: color-mix(in srgb, var(--color-brand-light) 42%, white);
	padding-top: 0.35rem;
	padding-bottom: clamp(0.5rem, 2vw, 1.5rem);
}

.process-offers__list {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(2rem, 5.5vw, 2.6rem);
	width: 100%;
	padding-top: 0.85rem;
}

.process-offers__item {
	display: contents;
}

.process-offers__pill {
	position: relative;
	z-index: 1;
	display: inline-block;
	box-sizing: border-box;
	width: min-content;
	max-width: min(100%, 18rem);
	margin: 0;
	padding: 0.15rem 0.2rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--offer-pill-text, var(--color-brand-light));
	font: inherit;
	font-size: clamp(1.28rem, 5.6vw, 1.55rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.02em;
	text-align: center;
	text-transform: uppercase;
	text-wrap: wrap;
	white-space: normal;
	cursor: pointer;
	transform: rotate(var(--offer-tilt, -4deg));
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.process-offers__item:nth-child(5n + 1) {
	--offer-tilt: -6deg;
}

.process-offers__item:nth-child(5n + 2) {
	--offer-tilt: 5deg;
}

.process-offers__item:nth-child(5n + 3) {
	--offer-tilt: -5deg;
}

.process-offers__item:nth-child(5n + 4) {
	--offer-tilt: 6deg;
}

.process-offers__item:nth-child(5n + 5) {
	--offer-tilt: -3.5deg;
}

.process-offers__pill:hover,
.process-offers__pill:focus-visible {
	transform: rotate(var(--offer-tilt, -4deg)) translateY(-3px);
}

.process-offers__pill:focus-visible {
	outline: 2px solid var(--color-brand-deep);
	outline-offset: 3px;
}

.process-offers__label {
	display: inline;
	padding: 0.16em 0.62em 0.12em;
	border-radius: 999px;
	background: var(--offer-pill-bg);
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	line-height: 1.35;
	text-align: center;
	text-wrap: wrap;
	white-space: normal;
}

.process-offers__icon {
	position: absolute;
	top: 0.55em;
	right: 0;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.22rem;
	height: 1.22rem;
	border-radius: 50%;
	background: var(--offer-pill-text, var(--color-brand-light));
	color: var(--offer-pill-bg, var(--color-brand-deep));
	--offer-icon-x: -34%;
	--offer-icon-y: -50%;
	transform: translate(var(--offer-icon-x), var(--offer-icon-y));
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
}

.process-offers__icon svg,
.process-offers__card-mark svg {
	display: block;
	width: 0.82rem;
	height: 0.82rem;
	fill: currentColor;
}

.process-offers__icon svg {
	width: 0.48rem;
	height: 0.48rem;
}

.process-offers__pill.is-wide .process-offers__icon {
	right: auto;
	--offer-icon-x: -50%;
	--offer-icon-y: -72%;
}

.process-offers__item.is-active .process-offers__pill {
	z-index: 2;
}

.process-offers__item.is-active .process-offers__icon {
	transform: translate(var(--offer-icon-x), var(--offer-icon-y)) rotate(90deg);
}

.process-offers__panel {
	display: grid;
	grid-template-rows: 0fr;
	width: min(100%, 26rem);
	min-height: 0;
	margin-top: calc(-1 * clamp(2rem, 5.5vw, 2.6rem));
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	filter: drop-shadow(0 14px 16px rgba(0, 40, 24, 0.14));
	transition:
		grid-template-rows 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		margin-top 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.4s ease,
		visibility 0s linear 0.6s;
}

.process-offers__item.is-active .process-offers__panel {
	grid-template-rows: 1fr;
	margin-top: calc(-1 * clamp(2rem, 5.5vw, 2.6rem) - 1rem);
	opacity: 1;
	visibility: visible;
	transition:
		grid-template-rows 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		margin-top 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.5s ease 0.08s,
		visibility 0s linear 0s;
}

.process-offers__card {
	min-height: 0;
	overflow: hidden;
	padding: 0;
	border-radius: 22px;
	background: var(--color-brand-deep);
	color: var(--color-brand-light);
	text-align: center;
}

.process-offers__card-inner {
	padding: 2.35rem 1.2rem 1.35rem;
}

.process-offers__card-title {
	display: none;
}

.process-offers__intro,
.process-offers__content {
	font-size: clamp(0.98rem, 3.6vw, 1.08rem);
	font-weight: 500;
	line-height: 1.38;
	letter-spacing: 0.01em;
}

.process-offers__intro {
	margin: 0 0 0.75rem;
	font-weight: 700;
}

.process-offers__content p {
	margin: 0;
}

.process-offers__content p + p,
.process-offers__intro + .process-offers__content {
	margin-top: 0.75rem;
}

.process-offers__content b,
.process-offers__content strong,
.process-offers__intro {
	color: inherit;
}

.process-offers__content b,
.process-offers__content strong {
	font-weight: 700;
}

.process-carousel--accordion .process-carousel__header {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.process-accordion {
	display: flex;
	flex-direction: column;
	width: min(100%, 52rem);
	margin-inline: auto;
}

.process-accordion__item {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.process-accordion__trigger {
	display: flex;
	align-items: center;
	gap: clamp(0.85rem, 2vw, 1.25rem);
	width: 100%;
	min-height: clamp(3.4rem, 6vw, 4.25rem);
	padding: 0.55rem clamp(0.85rem, 2vw, 1.25rem);
	border: 0;
	border-radius: var(--radius-pill);
	background: var(--color-brand-deep);
	color: var(--color-brand-light);
	text-align: left;
	cursor: pointer;
	transition:
		background-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.25s ease;
}

.process-accordion__trigger:hover,
.process-accordion__trigger:focus-visible {
	transform: translateY(-1px);
}

.process-accordion__item.is-active .process-accordion__trigger {
	background: color-mix(in srgb, var(--color-brand-light) 42%, #fff);
	color: var(--color-brand-deep);
}

.process-accordion__step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: clamp(2.1rem, 4vw, 2.55rem);
	height: clamp(2.1rem, 4vw, 2.55rem);
	border-radius: 999px;
	background: var(--color-sun);
	color: var(--color-brand-deep);
	font-size: clamp(1rem, 1.8vw, 1.25rem);
	font-weight: 800;
	line-height: 1;
	transition:
		background-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.process-accordion__item.is-active .process-accordion__step {
	background: var(--color-brand-deep);
	color: color-mix(in srgb, var(--color-brand-light) 42%, #fff);
}

.process-accordion__title {
	font-size: clamp(1.15rem, 2.4vw, 1.65rem);
	font-weight: 700;
	line-height: 1.15;
}

.process-accordion__panel {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition:
		grid-template-rows 0.55s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.4s ease;
}

.process-accordion__item.is-active .process-accordion__panel {
	grid-template-rows: 1fr;
	opacity: 1;
	padding: 12px 0;
}

.process-accordion__panel-inner {
	overflow: hidden;
	min-height: 0;
	padding: 0 clamp(0.85rem, 2vw, 1.25rem) 0.35rem calc(clamp(0.85rem, 2vw, 1.25rem) + clamp(2.1rem, 4vw, 2.55rem) + clamp(0.85rem, 2vw, 1.25rem));
	color: var(--color-brand-deep);
}

.process-accordion__intro {
	margin: 0 0 0.55rem;
	font-size: clamp(1rem, 1.7vw, 1.15rem);
	font-weight: 700;
	line-height: 1.4;
}

.process-accordion__content {
	font-size: clamp(0.98rem, 1.6vw, 1.12rem);
	line-height: 1.5;
	font-weight: 500;
}

.process-accordion__content b,
.process-accordion__content strong {
	font-weight: 800;
}

.process-accordion__content p {
	margin: 0;
}

@media (max-width: 640px) {
	.process-accordion {
		width: 100%;
	}

	.process-accordion__panel-inner {
		padding-left: clamp(0.85rem, 2vw, 1.25rem);
	}
}

.process-offers__item--deep {
	--offer-pill-bg: var(--color-brand-deep);
	--offer-pill-text: var(--color-brand-light);
}

.process-offers__item--pale {
	--offer-pill-bg: var(--offer-pale);
	--offer-pill-text: var(--color-brand-deep);
}

.process-offers__item--sun {
	--offer-pill-bg: var(--color-sun);
	--offer-pill-text: var(--color-brand-deep);
}

.process-offers__item--gold {
	--offer-pill-bg: var(--color-brand-deep);
	--offer-pill-text: var(--color-sun);
}

.process-offers__item--mark {
	--offer-pill-bg: var(--color-sun);
	--offer-pill-text: var(--color-ink-soft);
}

/* Yellow page (Design): sun pills would disappear on the sun background. */
.service-page.service-theme--design .process-offers__item--sun {
	--offer-pill-bg: var(--color-brand-light);
	--offer-pill-text: var(--color-brand-deep);
}

.service-page.service-theme--design .process-offers__item--mark {
	--offer-pill-bg: var(--color-ink-soft);
	--offer-pill-text: var(--color-sun);
}

.service-page.service-theme--design .process-offers__item--pale {
	--offer-pill-bg: var(--color-surface);
	--offer-pill-text: var(--color-brand-deep);
}

@media (min-width: 860px) {
	.process-offers__list {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		gap: 0.72rem 0.8rem;
		max-width: 44rem;
		margin-inline: auto;
		padding-top: 0.2rem;
	}

	.process-offers__item {
		--offer-tilt: 0deg;
	}

	.process-offers__pill {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: auto;
		max-width: none;
		padding: 0.48rem 1.25rem 0.4rem;
		border-radius: var(--radius-pill);
		background: var(--offer-pill-bg);
		font-size: clamp(0.98rem, 1.45vw, 1.18rem);
		line-height: 1.15;
		white-space: nowrap;
		text-wrap: nowrap;
		transform: none;
	}

	.process-offers__pill:hover,
	.process-offers__pill:focus-visible {
		transform: translateY(-3px);
	}

	.process-offers__label {
		display: inline;
		width: auto;
		padding: 0;
		border-radius: 0;
		background: transparent;
		box-decoration-break: slice;
		-webkit-box-decoration-break: slice;
		line-height: inherit;
		white-space: nowrap;
	}

	.process-offers__icon {
		display: none;
	}

	.process-offers__panel {
		display: none;
		grid-template-rows: none;
		min-height: 0;
		margin-top: 0;
		overflow: visible;
		opacity: 1;
		visibility: visible;
		filter: none;
		transition: none;
	}

	.process-offers__item.is-active .process-offers__panel {
		display: block;
		order: 5;
		flex: 1 0 100%;
		align-self: stretch;
		width: 100%;
		max-width: none;
		margin-top: 1.15rem;
	}

	.process-offers__card {
		min-height: auto;
		overflow: visible;
		max-width: 36rem;
		margin-inline: auto;
		text-align: left;
		box-shadow: 0 16px 32px rgba(0, 40, 24, 0.16);
	}

	.process-offers__card-inner {
		padding: 1.7rem 1.85rem 1.85rem;
	}

	.process-offers__card-title {
		display: flex;
		align-items: center;
		gap: 0.45rem;
		margin: 0 0 0.85rem;
		color: var(--color-brand-light);
		font-size: clamp(1.15rem, 1.8vw, 1.4rem);
		font-weight: 700;
		line-height: 1.1;
		letter-spacing: 0.03em;
		text-transform: uppercase;
	}

	.process-offers__card-mark {
		display: inline-flex;
		flex: 0 0 auto;
		align-items: center;
		justify-content: center;
		width: 1.2rem;
		height: 1.2rem;
		border-radius: 50%;
		background: var(--offer-pill-text);
		color: var(--offer-pill-bg);
	}

	.process-offers__item--pale .process-offers__card-mark,
	.process-offers__item--sun .process-offers__card-mark {
		background: var(--offer-pill-bg);
		color: var(--offer-pill-text);
	}

	.process-offers__item.is-active .process-offers__card {
		animation: offer-card-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
	}

	.process-offers__item.is-active .process-offers__card-mark {
		animation: offer-mark-in 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
	}

	.process-offers__card-mark svg {
		width: 0.52rem;
		height: 0.52rem;
		transform: rotate(90deg);
	}

	.process-offers__intro,
	.process-offers__content {
		font-size: clamp(0.98rem, 1.2vw, 1.08rem);
		line-height: 1.42;
	}
}

@media (prefers-reduced-motion: reduce) {
	.process-offers__pill,
	.process-offers__icon,
	.process-offers__panel,
	.process-offers__card,
	.process-offers__card-mark {
		transition: none;
		animation: none;
	}
}

@keyframes offer-card-in {
	from {
		opacity: 0;
		transform: translateY(0.85rem);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes offer-mark-in {
	0% {
		opacity: 0;
		transform: rotate(-35deg) scale(0.35);
	}

	58% {
		opacity: 1;
		transform: rotate(14deg) scale(1.16);
	}

	100% {
		opacity: 1;
		transform: rotate(0deg) scale(1);
	}
}

.agamea-carousel--bleed {
	width: 100vw;
	margin-inline: calc(50% - 50vw);
}

.agamea-carousel__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
	scroll-padding-inline-start: var(--carousel-inline-start, var(--container-inline-start));
	scroll-padding-inline-end: var(--carousel-scroll-padding-end, var(--container-inline-start));
	scrollbar-width: none;
	-ms-overflow-style: none;
	overscroll-behavior-x: contain;
	overscroll-behavior-y: auto;
	touch-action: auto;
	cursor: grab;
}

.agamea-carousel__viewport::-webkit-scrollbar {
	display: none;
}

.agamea-carousel__viewport.is-dragging {
	cursor: grabbing;
	user-select: none;
	scroll-snap-type: none;
}

.agamea-carousel__track {
	display: flex;
	gap: clamp(1rem, 3vw, 1.5rem);
	padding-top: 20px;
	padding-bottom: 0.8rem;
	padding-inline-start: var(--carousel-inline-start, var(--container-inline-start));
	padding-inline-end: var(--carousel-inline-end, var(--container-inline-start));
}

.agamea-carousel__slide {
	position: relative;
	flex: 0 0 var(--carousel-slide-width);
	scroll-snap-align: start;
	border-radius: var(--radius-card);
	padding: clamp(1.6rem, 3.8vw, 2.25rem) clamp(1.15rem, 2.8vw, 2rem) clamp(1.4rem, 3vw, 2rem);
}

.agamea-carousel__slide--sun {
	background: var(--color-sun);
	color: var(--color-brand-deep);
}

.agamea-carousel__slide--ink {
	background: var(--color-brand-deep);
	color: var(--color-sun);
}

.agamea-carousel__step {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	background: #d57d2d;
	color: #fff;
	font-weight: 800;
	font-size: 1rem;
}

.agamea-carousel__slide-title {
	margin: 0 0 0.7rem;
	font-size: clamp(1.5rem, 3.4vw, 2.2rem);
	line-height: 1.1;
	text-align: center;
}

.agamea-carousel__slide--ink .agamea-carousel__slide-title {
	color: var(--color-sun);
}

.agamea-carousel__slide-intro {
	margin: 0 0 0.55rem;
	font-size: clamp(1.1rem, 2.4vw, 1.5rem);
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
}

.agamea-carousel__slide-subtitle {
	font-size: clamp(1.2rem, 1.6vw, 1.45rem);
	line-height: 1.35;
	text-align: center;
	font-weight: 500;
}

.agamea-carousel__slide-content {
    margin: 20px 0 0 0;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
	line-height: 1.35;
	text-align: center;
}

.agamea-carousel__dots {
	display: flex;
	gap: 0.9rem;
	justify-content: center;
	margin-top: 1rem;
}

.agamea-carousel__dot {
    width: 1.2rem;
    height: 1.2rem;
    padding: 0px;
	border-radius: 999px;
	border: none;
	border: 3px solid var(--color-sun);
	background: var(--color-sun);
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.agamea-carousel__dot:hover {
	background: var(--color-sun-soft);
	border: 3px solid var(--color-sun);
}

.agamea-carousel__dot.is-active {
	background: #d57d2d;
	border: 3px solid var(--color-sun);
}

@media (max-width: 859px) {
	.agamea-carousel__dots,
	.portfolio-slider-dots {
		display: none !important;
	}
}

.team-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(1.5rem, 3vw, 3.5rem);
	width: calc(var(--service-box-width) - (2 * var(--service-box-padding-x)));
	max-width: 100%;
	margin-inline: auto;
}

.team-grid__item {
	min-width: 0;
	transition: transform var(--agamea-motion-duration, 0.35s) var(--agamea-motion-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.team-grid__item:nth-child(1) {
	transform: rotate(-4deg) translate(-10px, 35px);
}

.team-grid__item:nth-child(1):hover,
.team-grid__item:nth-child(1):focus-within {
	transform: rotate(-7deg) translate(-10px, 32px);
}

.team-grid__item:nth-child(2) {
	transform: rotate(0deg) translate(0px, 50px);
}

.team-grid__item:nth-child(2):hover,
.team-grid__item:nth-child(2):focus-within {
	transform: rotate(-3deg) translate(0px, 46px);
}

.team-grid__item:nth-child(3) {
	transform: rotate(4deg) translate(10px, 35px);
}

.team-grid__item:nth-child(3):hover,
.team-grid__item:nth-child(3):focus-within {
	transform: rotate(7deg) translate(10px, 32px);
}

.team-grid__item:nth-child(4) {
	transform: rotate(-4deg) translate(-10px, 35px);
}

.team-grid__item:nth-child(4):hover,
.team-grid__item:nth-child(4):focus-within {
	transform: rotate(-7deg) translate(-10px, 32px);
}

.team-grid__item:nth-child(5) {
	transform: rotate(0deg) translate(0px, 50px);
}

.team-grid__item:nth-child(5):hover,
.team-grid__item:nth-child(5):focus-within {
	transform: rotate(3deg) translate(0px, 46px);
}

.team-grid__item:nth-child(6) {
	transform: rotate(4deg) translate(10px, 35px);
}

.team-grid__item:nth-child(6):hover,
.team-grid__item:nth-child(6):focus-within {
	transform: rotate(7deg) translate(10px, 32px);
}

.team-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.team-card__media {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-card);
	aspect-ratio: 24 / 34;
	background: var(--color-brand-light);
}

.team-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	border: 5px solid var(--color-brand-light);
	border-radius: inherit;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--agamea-motion-duration, 0.35s) var(--agamea-motion-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.team-grid__item:hover .team-card__media::after,
.team-grid__item:focus-within .team-card__media::after {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.team-grid__item {
		transition: none;
	}

	.team-grid__item:hover,
	.team-grid__item:focus-within {
		transform: none;
	}

	.team-grid__item:nth-child(1):hover,
	.team-grid__item:nth-child(1):focus-within {
		transform: rotate(-4deg) translate(-10px, 35px);
	}

	.team-grid__item:nth-child(2):hover,
	.team-grid__item:nth-child(2):focus-within {
		transform: rotate(0deg) translate(0px, 50px);
	}

	.team-grid__item:nth-child(3):hover,
	.team-grid__item:nth-child(3):focus-within {
		transform: rotate(4deg) translate(10px, 35px);
	}

	.team-grid__item:nth-child(4):hover,
	.team-grid__item:nth-child(4):focus-within {
		transform: rotate(-4deg) translate(-10px, 35px);
	}

	.team-grid__item:nth-child(5):hover,
	.team-grid__item:nth-child(5):focus-within {
		transform: rotate(0deg) translate(0px, 50px);
	}

	.team-grid__item:nth-child(6):hover,
	.team-grid__item:nth-child(6):focus-within {
		transform: rotate(4deg) translate(10px, 35px);
	}

	.team-card__media::after {
		transition: none;
	}
}

@media (max-width: 859px) {
	.team-grid {
		width: 100%;
	}

	.team-grid__item:nth-child(n),
	.team-grid__item:nth-child(n):hover,
	.team-grid__item:nth-child(n):focus-within {
		transform: none;
	}

	.team-card__media {
		flex: 0 0 auto;
		align-self: center;
		width: 70%;
		max-width: 70%;
		min-width: 0;
		margin-inline: auto;
	}

	.team-card__fonction.agamea-pill {
		margin-top: -5px;
	}
}

.team-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.team-card__overlay {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 0rem;
	padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 2vw, 1.25rem) clamp(1rem, 2vw, 1.25rem);
	text-align: center;
	background: linear-gradient(180deg, rgb(0 77 54 / 0) 0%, rgb(0 77 54 / 0.15) 45%, rgb(0 77 54 / 0.32) 100%);
}

@media (max-width: 859px) {
	.team-card__overlay {
		gap: 0.35rem;
	}
}

.team-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 1rem;
	color: var(--color-brand-deep);
	font-size: 0.95rem;
	font-weight: 600;
	text-align: center;
}

.team-card__content {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	padding-top: clamp(0.85rem, 1.5vw, 1.1rem);
	text-align:center;
}

.team-card__name {
	position: relative;
	z-index: 1;
	display: inline-block;
	max-width: 100%;
	margin: 0;
	font-size: clamp(1.15rem, 1.8vw, 1.35rem);
	line-height: 1.15;
	font-weight: 800;
	text-align: center;
	transform: translate3d(0, 0, 0) rotate(0deg);
	transition: transform var(--agamea-motion-duration, 0.35s) var(--agamea-motion-ease, ease);
}

.team-card__name .agamea-pill {
	font-weight: 800;
	padding: 0.28em 8px 0.16em;
	line-height: 1.35;
	transform: none !important;
}

.team-card__fonction {
	position: relative;
	z-index: 1;
	margin: 0;
}

.team-card__fonction.agamea-pill {
	--pill-rotate-hover: 5deg;
	--pill-nudge-y: -0.18rem;
	padding: 0.28em 8px 0.16em;
	font-size: 0.9rem;
	font-style: italic;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.team-card:hover .team-card__name,
.team-card:focus-within .team-card__name {
	transform: translate3d(0, -0.25rem, 0) rotate(-4deg);
}

.team-card:hover .team-card__fonction.agamea-pill,
.team-card:focus-within .team-card__fonction.agamea-pill {
	--pill-rotate-hover: 5deg;
	--pill-nudge-y: -0.18rem;
}

.team-card__mission-group {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.team-card__mission-title {
	margin: 0;
	font-size: clamp(0.95rem, 1.3vw, 1rem);
	line-height: 1.15;
	font-weight: 800;
	color: var(--color-ink-soft);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.team-card__mission,
.team-card__description {
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	line-height: 1.2;
	color: var(--color-brand-deep);
	font-weight: 700;
}

.team-card__mission {
	font-size: clamp(0.95rem, 1.3vw, 1rem);
}

.team-card__mission > :first-child,
.team-card__description > :first-child {
	margin-top: 0;
}

.team-card__mission > :last-child,
.team-card__description > :last-child {
	margin-bottom: 0;
}

.team-card__mission {
	font-weight: 500;
	color: var(--color-ink-soft);
}

.team-card__social {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.25rem;
	justify-content: center;
}

.team-card__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0.45rem;
	border-radius: 50%;
	background: var(--color-ink-soft);
	color: var(--color-sun);
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.team-card__social-link svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.team-card__social-link:hover,
.team-card__social-link:focus-visible {
	background: rgba(255, 255, 255, 0.55);
	color: var(--color-ink-soft);
	transform: translateY(-1px);
}

@media (min-width: 640px) {
	.team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 960px) {
	.team-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 859px) {
	.team-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Swup — persistent header + circle curtain transition */
.site-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto minmax(0, 1fr);
	grid-template-areas: "header" "main";
	min-height: 100vh;
	min-height: 100dvh;
}

.site-layout > .site-header {
	grid-area: header;
	position: fixed;
	z-index: 260;
}

.swup-main-stage {
	grid-area: main;
	position: relative;
	min-height: 0;
	overflow: clip;
}

#swup {
	min-height: 100%;
}

html.is-animating #swup.transition-fade {
	opacity: 1;
}

.swup-curtain.is-covered ~ .swup-main-stage #swup {
	visibility: hidden;
}

.swup-curtain {
	position: fixed;
	inset: 0;
	z-index: 250;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	visibility: hidden;
	opacity: 0;
	background: var(--curtain-bg, var(--color-ink-soft));
	clip-path: circle(0 at 50% 50%);
	transition:
		opacity 0.2s ease,
		visibility 0s linear 0.65s;
}

.swup-curtain.is-active {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	z-index: 270;
	transition:
		opacity 0.15s ease,
		visibility 0s;
}

#swup.transition-fade {
	transition: none;
}

.swup-curtain__loader {
	width: 2.75rem;
	height: 2.75rem;
	border: 3px solid color-mix(in srgb, var(--curtain-fg, var(--color-sun)) 25%, transparent);
	border-top-color: var(--curtain-fg, var(--color-sun));
	border-radius: 50%;
	opacity: 0;

	transition: opacity 0.25s ease 0.15s, transform 0.25s ease 0.15s;
}

.swup-curtain.is-covered.is-loading .swup-curtain__loader {
	opacity: 1;
	animation: swup-curtain-spin 0.75s linear infinite;
}

@keyframes swup-curtain-spin {
	to {
		transform: rotate(360deg);
	}
}

html.is-swup-covered,
html.is-intro {
	overflow: hidden;
}

.site-intro {
	position: fixed;
	inset: 0;
	z-index: 400;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-brand-light);
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

html.is-intro .site-intro,
html.is-intro-leaving .site-intro {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

html.is-intro-leaving .site-intro {
	opacity: 0;
	transition: opacity 0.45s ease;
}

.site-intro__stage {
	width: min(70vw, 54rem);
	aspect-ratio: 16 / 9;
}

.site-intro__stage svg {
	display: block;
	width: 100%;
	height: 100%;
}

@media (prefers-reduced-motion: reduce) {
	.swup-curtain {
		transition-duration: 0.01ms;
	}

	.swup-curtain__loader {
		animation: none;
	}

	.site-intro {
		display: none;
	}
}

/* Lenis smooth-scroll helpers */
html.lenis,
html.lenis body {
	height: auto;
}

.lenis.lenis-smooth iframe {
	pointer-events: none;
}

.lenis.lenis-stopped {
	overflow: hidden;
}


#bottom-overlap-title {
	margin-bottom: 2rem;
	white-space: pre-line;
}

.section__title-highlight {
	--title-highlight: var(--color-brand-light);
	position: relative;
	z-index: 1;
	display: inline;
	text-decoration: none;
	background-image: linear-gradient(var(--title-highlight), var(--title-highlight));
	background-repeat: no-repeat;
	background-position: 0 calc(100% - 0.06em);
	background-size: 0 0.16em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	transition: background-size 0.55s var(--agamea-motion-ease, cubic-bezier(0.22, 1, 0.36, 1));
	transition-delay: var(--highlight-delay, 0ms);
}

.section__title-highlight.is-drawn {
	background-size: 100% 0.16em;
}

.service-content__container .section__title-highlight,
.service-monogram__text .section__title-highlight,
.process-offers__content .section__title-highlight {
	background-size: 0 0.08em;
	background-position: 0 calc(100% - 0.03em);
}

.service-content__container .section__title-highlight,
.service-monogram__text .section__title-highlight {
	--title-highlight: var(--color-brand-deep);
}

.process-offers__content .section__title-highlight {
	--title-highlight: var(--color-sun);
}

.service-content__container .section__title-highlight.is-drawn,
.service-monogram__text .section__title-highlight.is-drawn,
.process-offers__content .section__title-highlight.is-drawn {
	background-size: 100% 0.08em;
}

.project-page .section__title-highlight {
	--title-highlight: var(--color-brand-light);
}

.project-page .portfolio-intro .section__title-highlight {
	background-size: 0 0.2em;
	background-position: 0 calc(100% - 0.05em);
}

.project-page .portfolio-intro .section__title-highlight.is-drawn {
	background-size: 100% 0.2em;
}

.project-explain__intro .section__title-highlight,
.project-explain__content .section__title-highlight {
	--title-highlight: var(--color-brand-light);
	background-size: 0 0.12em;
	background-position: 0 calc(100% - 0.04em);
}

.project-explain__intro .section__title-highlight.is-drawn,
.project-explain__content .section__title-highlight.is-drawn {
	background-size: 100% 0.12em;
}

.service-page.service-theme--design .service-intro .section__title-highlight {
	--title-highlight: var(--color-sun);
}

@media (prefers-reduced-motion: reduce) {
	.section__title-highlight,
	.section__title-highlight.is-drawn {
		background-size: 100% 0.16em;
		transition: none;
	}

	.service-content__container .section__title-highlight,
	.service-content__container .section__title-highlight.is-drawn,
	.service-monogram__text .section__title-highlight,
	.service-monogram__text .section__title-highlight.is-drawn,
	.process-offers__content .section__title-highlight,
	.process-offers__content .section__title-highlight.is-drawn {
		background-size: 100% 0.08em;
	}

	.project-page .portfolio-intro .section__title-highlight,
	.project-page .portfolio-intro .section__title-highlight.is-drawn {
		background-size: 100% 0.2em;
	}

	.project-explain__intro .section__title-highlight,
	.project-explain__intro .section__title-highlight.is-drawn,
	.project-explain__content .section__title-highlight,
	.project-explain__content .section__title-highlight.is-drawn {
		background-size: 100% 0.12em;
	}
}


.page-template-page-agence .service-intro__box {
	background: var(--color-ink-soft);
}

.agamea-arrow-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 2.1rem;
	height: 2.1rem;
	padding: 0.15rem;
	border-radius: 50%;
	background: var(--color-brand-light);
	color: var(--color-brand-deep);
	pointer-events: none;
}

.agamea-arrow-circle__svg {
	display: block;
	width: 1.05rem;
	height: 1.05rem;
	fill: currentColor;
}

.agence-page .service-content .entry-content {
	position: relative;
}

.agence-readmore__clip {
	position: relative;
}

.agence-readmore__fade,
.agence-readmore__toggle {
	display: none;
}

@media (max-width: 859px) {
	.agence-readmore {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.agence-readmore__clip {
		width: 100%;
		transition: max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1);
	}

	.agence-readmore.is-collapsed .agence-readmore__clip,
	.agence-readmore.is-expanding .agence-readmore__clip {
		overflow: hidden;
	}

	.agence-readmore.is-collapsed .agence-readmore__fade {
		display: block;
		position: relative;
		z-index: 1;
		width: 100%;
		height: 7.5rem;
		margin-top: -7.5rem;
		background: linear-gradient(
			to bottom,
			rgb(255 205 13 / 0) 0%,
			rgb(255 205 13 / 0.62) 40%,
			var(--color-sun) 72%,
			var(--color-sun) 100%
		);
		pointer-events: none;
	}

	.agence-readmore.is-collapsed .agence-readmore__toggle {
		display: inline-flex;
		appearance: none;
		align-items: center;
		justify-content: center;
		width: max-content;
		margin: 0.85rem auto 4rem;
		padding: 0.28em 0.95em 0.2em;
		border: none;
		border-radius: var(--radius-pill);
		background: var(--color-brand-deep);
		color: var(--color-sun);
		font-family: inherit;
		font-size: clamp(1.1rem, 4.4vw, 1.3rem);
		font-weight: 700;
		line-height: 1.5;
		text-transform: lowercase;
		cursor: pointer;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
		transform: rotate(-4deg);
	}

	@media (hover: hover) and (pointer: fine) {
		.agence-readmore.is-collapsed .agence-readmore__toggle:hover,
		.agence-readmore.is-collapsed .agence-readmore__toggle:focus-visible {
			transform: rotate(-7deg) translate3d(0, -0.12rem, 0);
		}
	}
}

@media (max-width: 859px) and (prefers-reduced-motion: reduce) {
	.agence-readmore__clip {
		transition: none;
	}

	.agence-readmore.is-collapsed .agence-readmore__toggle:hover,
	.agence-readmore.is-collapsed .agence-readmore__toggle:focus-visible {
		transform: rotate(-4deg);
	}
}

.agence-page .agamea-arrow-circle {
	position: absolute;
	top: 0.15em;
	left: 0;
}

.service-content .entry-content p {
	font-size: clamp(1.2rem, 2vw, 1.7rem);
    line-height: 1.3;
    color: var(--color-brand-deep);
    font-weight: 500;
}


h1.entry-title {
	margin-bottom: 2rem;
}




/* contact form */

.agamea-form-root,
.agamea-form {
	--agamea-form-ink: var(--color-brand-deep);
	--agamea-form-field: rgba(214, 230, 165, 0.72);
	--agamea-form-placeholder: var(--color-brand-light);
}

.agamea-form {
	padding: 32px 0;
	border-radius: 0;
	font-family: inherit;
	font-weight: 600;
	font-size: clamp(1.15rem, 2vw, 1.65rem);
	line-height: 1.55;
	color: var(--agamea-form-ink);
}

.agamea-form__section {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.agamea-form__section + .agamea-form__section {
	margin-top: 1.35rem;
	padding-top: 1.35rem;
	border-top: 2px dotted color-mix(in srgb, var(--agamea-form-ink) 55%, transparent);
}

.agamea-line {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.45rem 0.55rem;
	margin: 0;
	max-width: 100%;
}

.agamea-line p {
	margin: 0;
}

.agamea-line__text {
	flex: 0 0 auto;
}

.agamea-line__field {
	display: inline-flex;
	align-items: center;
	gap: 0.12rem;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
}

.agamea-line__punct {
	flex: 0 0 auto;
	margin-left: 0;
}

.agamea-form .wpcf7-form-control-wrap {
	display: inline-flex;
	width: auto;
	min-width: 0;
	max-width: 100%;
	vertical-align: middle;
}

.agamea-line__field .wpcf7-form-control-wrap {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 100%;
}

.agamea-input,
.agamea-form input[type="text"],
.agamea-form input[type="tel"],
.agamea-form input[type="email"],
.agamea-form select.agamea-input,
.agamea-form select {
	height: 3.15rem;
	width: clamp(11.5rem, 29vw, 21rem);
	max-width: 100%;
	box-sizing: border-box;
	border: 0;
	border-radius: var(--radius-pill);
	background: var(--agamea-form-field);
	color: var(--agamea-form-ink);
	font: inherit;
	font-weight: 600;
	padding: 0 1.35rem;
	outline: none;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
}

.agamea-line__field .agamea-input,
.agamea-line__field input[type="text"],
.agamea-line__field input[type="tel"],
.agamea-line__field input[type="email"],
.agamea-line__field select.agamea-input,
.agamea-line__field select {
	min-width: 0;
	max-width: 100%;
}

.agamea-form .agamea-input--name {
	width: clamp(14.5rem, 35vw, 23rem);
}

.agamea-form .agamea-input--short {
	width: clamp(8.5rem, 17vw, 12.5rem);
}

.agamea-form .agamea-input--mid {
	width: clamp(12.5rem, 27vw, 18.5rem);
}

.agamea-form .agamea-input--phone {
	width: clamp(10.5rem, 19vw, 14.5rem);
}

.agamea-form .agamea-input--mail {
	width: clamp(22rem, 52vw, 38rem);
}

.agamea-line--fill,
.agamea-line:has(.agamea-input--fill) {
	flex-wrap: nowrap;
	width: 100%;
}

.agamea-line--fill .agamea-line__text,
.agamea-line:has(.agamea-input--fill) .agamea-line__text {
	flex: 0 0 auto;
}

.agamea-line--fill .agamea-line__field,
.agamea-line--fill .wpcf7-form-control-wrap,
.agamea-line:has(.agamea-input--fill) .agamea-line__field,
.agamea-line:has(.agamea-input--fill) .wpcf7-form-control-wrap {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	max-width: none;
}

.agamea-line--fill .agamea-input,
.agamea-line--fill input[type="text"],
.agamea-line--fill input[type="tel"],
.agamea-line--fill input[type="email"],
.agamea-line--fill select.agamea-input,
.agamea-line--fill select,
.agamea-line:has(.agamea-input--fill) .agamea-input,
.agamea-line:has(.agamea-input--fill) input[type="text"],
.agamea-line:has(.agamea-input--fill) input[type="tel"],
.agamea-line:has(.agamea-input--fill) input[type="email"],
.agamea-line:has(.agamea-input--fill) select.agamea-input,
.agamea-line:has(.agamea-input--fill) select {
	width: 100%;
	max-width: none;
}

.agamea-form select.agamea-input,
.agamea-form select {
	padding-right: 2.75rem;
	color: var(--color-brand-light);
	font-weight: 400;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--color-brand-light) 50%),
		linear-gradient(135deg, var(--color-brand-light) 50%, transparent 50%),
		linear-gradient(to right, var(--agamea-form-field), var(--agamea-form-field));
	background-position:
		calc(100% - 1.35rem) calc(50% - 0.2rem),
		calc(100% - 1.05rem) calc(50% - 0.2rem),
		0 0;
	background-size: 0.35rem 0.35rem, 0.35rem 0.35rem, 100% 100%;
	background-repeat: no-repeat;
	cursor: pointer;
}

.agamea-input::placeholder,
.agamea-form input::placeholder,
.agamea-form textarea::placeholder {
	color: var(--color-brand-light);
	font-weight: 400;
	opacity: 1;
}

.agamea-form .wpcf7-form-control-wrap:has(select[multiple]) {
	position: relative;
	display: block;
	flex: 1 1 auto;
	width: 100%;
	min-width: min(100%, 18rem);
	max-width: none;
}

.agamea-form select[multiple],
.agamea-form select.agamea-drop-source {
	display: none !important;
	pointer-events: none !important;
}

.agamea-form:has(.agamea-drop.is-open) {
	overflow: visible;
}

.agamea-drop {
	position: relative;
	width: 100%;
	min-width: 0;
}

.agamea-drop__toggle {
	position: relative;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.4rem;
	width: 100%;
	min-height: 3.15rem;
	box-sizing: border-box;
	margin: 0;
	padding: 0.45rem 2.85rem 0.45rem 0.7rem;
	border: 0;
	border-radius: var(--radius-pill);
	background: var(--agamea-form-field);
	color: var(--agamea-form-ink);
	font: inherit;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

.agamea-drop__toggle::after {
	content: "";
	position: absolute;
	top: 1.35rem;
	right: 1.2rem;
	width: 0.55rem;
	height: 0.55rem;
	border-right: 2px solid var(--color-brand-light);
	border-bottom: 2px solid var(--color-brand-light);
	transform: rotate(45deg);
	pointer-events: none;
}

.agamea-drop.is-open .agamea-drop__toggle::after {
	top: 1.5rem;
	transform: rotate(225deg);
}

.agamea-drop.is-invalid .agamea-drop__toggle {
	box-shadow: inset 0 0 0 3px var(--color-brand-deep);
}

.agamea-drop__placeholder {
	padding-left: 0.55rem;
	color: var(--color-brand-light);
	font-weight: 400;
}

.agamea-drop__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	min-width: 0;
}

.agamea-drop__chip {
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.8rem;
	border-radius: var(--radius-pill);
	background: var(--color-sun);
	color: var(--color-ink-soft);
	font-size: 0.85em;
	font-weight: 700;
	line-height: 1.2;
}

.agamea-drop__panel {
	position: absolute;
	top: calc(100% + 0.45rem);
	left: 0;
	right: 0;
	z-index: 30;
	display: grid;
	gap: 0.2rem;
	padding: 0.5rem;
	border-radius: 1.5rem;
	background: #fff;
	box-shadow: 0 16px 36px rgba(0, 77, 54, 0.16);
}

.agamea-drop__panel[hidden] {
	display: none;
}

.agamea-drop__option {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	width: 100%;
	margin: 0;
	padding: 0.7rem 0.85rem;
	border: 0;
	border-radius: var(--radius-pill);
	background: transparent;
	color: var(--color-brand-deep);
	font: inherit;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
	.agamea-drop__option:hover,
	.agamea-drop__option:focus-visible {
		background: color-mix(in srgb, var(--agamea-form-field) 78%, #fff);
	}
}

.agamea-drop__option.is-selected {
	background: var(--color-sun);
	color: var(--color-ink-soft);
}

.agamea-drop__check {
	flex: 0 0 auto;
	width: 1.05rem;
	height: 1.05rem;
	border: 2px solid currentColor;
	border-radius: 999px;
	opacity: 0.45;
}

.agamea-drop__option.is-selected .agamea-drop__check {
	opacity: 1;
	background: currentColor;
	box-shadow: inset 0 0 0 3px var(--color-sun);
}

.agamea-message {
	margin-top: 0.75rem;
	width: 100%;
}

.agamea-message .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
	max-width: none;
	flex: 1 1 100%;
}

.agamea-message textarea,
.agamea-form textarea {
	display: block;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	min-height: clamp(14rem, 28vh, 22rem);
	border: 0;
	border-radius: 1.5rem;
	background: var(--agamea-form-field);
	color: var(--agamea-form-ink);
	font: inherit;
	font-weight: 500;
	padding: 1.35rem 1.5rem;
	outline: none;
	resize: vertical;
	box-shadow: none;
}

.submit-wrapper {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1.25rem;
	flex-wrap: wrap;
	margin-top: 1.75rem;
}

.agamea-submit {
	margin-top: 0;
}

.agamea-submit input[type="submit"] {
	border: 0;
	border-radius: var(--radius-pill);
	background: var(--agamea-form-ink);
	color: var(--color-brand-light);
	padding: 0.95rem 2rem;
	font-weight: 800;
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	cursor: pointer;
	display: inline-block;
	transform: rotate(0deg) translate3d(0, 0, 0);
	transition:
		transform var(--agamea-motion-duration, 0.35s) var(--agamea-motion-ease, cubic-bezier(0.22, 1, 0.36, 1)),
		background-color var(--agamea-motion-duration, 0.35s) ease,
		color var(--agamea-motion-duration, 0.35s) ease;
}

.agamea-submit input[type="submit"]:hover,
.agamea-submit input[type="submit"]:focus-visible {
	background: var(--color-sun);
	color: var(--color-brand-deep);
	transform: rotate(-4deg) translate3d(0, -0.2rem, 0);
}

.agamea-submit input[type="submit"]:focus-visible {
	outline: 2px solid var(--color-sun);
	outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.agamea-submit input[type="submit"] {
		transition: background-color 0.2s ease, color 0.2s ease;
	}

	.agamea-submit input[type="submit"]:hover,
	.agamea-submit input[type="submit"]:focus-visible {
		transform: none;
	}
}

.agamea-required {
	margin: 0;
	text-align: right;
	font-size: 1rem !important;
	font-weight: 400 !important;
}

.agamea-form .wpcf7-not-valid-tip {
	display: none;
}

.agamea-form .wpcf7-form-control.wpcf7-not-valid,
.agamea-form .wpcf7-not-valid {
	box-shadow: inset 0 0 0 3px var(--color-brand-deep);
}

.agamea-form-root .agamea-form-notice,
.entry-content .agamea-form-notice {
	display: none;
	margin: 1rem 0 1.25rem;
	padding: 0.75rem 1.15rem;
	border-radius: var(--radius-soft);
	background: var(--color-sun);
	color: var(--color-ink-soft);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

.agamea-form-root .agamea-form-notice.is-visible,
.entry-content .agamea-form-notice.is-visible {
	display: block;
}

.agamea-form.agamea-form--invalid,
.agamea-form-root.agamea-form--invalid {
	animation: agamea-form-shake 0.45s ease;
}

@keyframes agamea-form-shake {
	0%,
	100% {
		transform: translateX(0);
	}
	25% {
		transform: translateX(-4px);
	}
	75% {
		transform: translateX(4px);
	}
}

.agamea-form-root .wpcf7-form {
	transition: opacity 0.28s ease, transform 0.28s ease;
}

.agamea-form-root .wpcf7-form.agamea-form__form--hidden {
	opacity: 0;
	transform: translateY(0.5rem);
	pointer-events: none;
}

.agamea-form-root .wpcf7-form[hidden] {
	display: none;
}

.agamea-form-status {
	display: none;
	margin-top: 0.5rem;
}

.agamea-form-status.is-visible {
	display: block;
	animation: agamea-form-status-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes agamea-form-status-in {
	from {
		opacity: 0;
		transform: translateY(0.75rem);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.agamea-form-status__card {
	display: grid;
	gap: 0.65rem;
	justify-items: start;
	padding: clamp(1.5rem, 4vw, 2.25rem);
	border-radius: var(--radius-card);
	background: color-mix(in srgb, var(--agamea-form-field) 70%, #fff);
}

.agamea-form-status--success .agamea-form-status__card,
.agamea-form-status--error .agamea-form-status__card {
	background: var(--color-sun);
	color: var(--color-ink-soft);
}

.agamea-form-status--success .agamea-form-status__title,
.agamea-form-status--error .agamea-form-status__title,
.agamea-form-status--success .agamea-form-status__text,
.agamea-form-status--error .agamea-form-status__text,
.service-page .service-content .entry-content .agamea-form-status__title,
.service-page .service-content .entry-content .agamea-form-status__text {
	color: var(--color-ink-soft);
}

.agamea-form-status__title {
	margin: 0;
	font-size: clamp(1.35rem, 3vw, 1.85rem);
	font-weight: 800;
	line-height: 1.15;
}

.agamea-form-status__text {
	margin: 0;
	font-size: clamp(1rem, 2vw, 1.2rem);
	font-weight: 500;
	line-height: 1.45;
	max-width: 40ch;
}

.agamea-form-status__retry {
	margin-top: 0.35rem;
	border: 0;
	border-radius: var(--radius-pill);
	background: var(--color-ink-soft);
	color: var(--color-sun);
	padding: 0.7rem 1.35rem;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.agamea-form-root .wpcf7-response-output,
.agamea-form .wpcf7-response-output {
	display: none !important;
}

@media (max-width: 768px) {
	.agamea-form {
		padding: 24px 0;
		font-size: clamp(1.05rem, 4.5vw, 1.35rem);
		max-width: 100%;
		overflow-x: clip;
	}

	.agamea-form:has(.agamea-drop.is-open) {
		overflow: visible;
	}

	.agamea-form__section + .agamea-form__section {
		margin-top: 1.1rem;
		padding-top: 1.1rem;
	}

	.agamea-line {
		gap: 0.4rem 0.35rem;
	}

	.agamea-line--fill,
	.agamea-line:has(.agamea-input--fill) {
		flex-wrap: wrap;
	}

	.agamea-line--fill .agamea-line__field,
	.agamea-line--fill .wpcf7-form-control-wrap,
	.agamea-line:has(.agamea-input--fill) .agamea-line__field,
	.agamea-line:has(.agamea-input--fill) .wpcf7-form-control-wrap {
		flex: 1 1 100%;
		width: 100%;
	}

	.agamea-line__field {
		flex: 0 1 auto;
		width: auto;
		max-width: 100%;
	}

	.agamea-form .wpcf7-form-control-wrap {
		display: inline-flex;
		width: auto;
		margin: 0;
		min-width: 0;
		max-width: 100%;
	}

	.agamea-line__field .wpcf7-form-control-wrap {
		flex: 0 1 auto;
		width: auto;
	}

	.agamea-message .wpcf7-form-control-wrap,
	.agamea-message textarea,
	.agamea-form textarea {
		width: 100%;
		max-width: 100%;
	}

	.agamea-message textarea,
	.agamea-form textarea {
		min-height: 16rem;
		padding: 1.25rem;
	}

	.submit-wrapper {
		justify-content: flex-start;
		flex-direction: column-reverse;
		align-items: flex-start;
	}

	.agamea-required {
		text-align: left;
	}

	/* Contact page: container gutters only — avoid double horizontal inset. */
	.contact-page .service-content__container,
	.contact-page .service-content__article {
		width: 100%;
		max-width: 100%;
	}

	.contact-page .service-content__article {
		padding-inline: 0;
	}

	.contact-page .service-content .entry-content {
		padding-inline: 0;
		max-width: 100%;
	}
}

@media (max-width: 859px) {
	.agamea-form {
		overflow-x: clip;
	}

	.agamea-form:has(.agamea-drop.is-open) {
		overflow: visible;
	}

	.agamea-form .agamea-line {
		width: 100%;
		gap: 0.45rem 0.5rem;
	}

	.agamea-form .agamea-line--fill,
	.agamea-form .agamea-line:has(.agamea-input--fill) {
		flex-wrap: wrap;
	}

	.agamea-form .agamea-line__text {
		flex: 0 1 auto;
		max-width: 100%;
	}

	.agamea-form .agamea-line__field,
	.agamea-form .agamea-line > .wpcf7-form-control-wrap,
	.agamea-form .agamea-line--fill .agamea-line__field,
	.agamea-form .agamea-line--fill .wpcf7-form-control-wrap,
	.agamea-form .agamea-line:has(.agamea-input--fill) .agamea-line__field,
	.agamea-form .agamea-line:has(.agamea-input--fill) .wpcf7-form-control-wrap {
		flex: 1 1 7.5rem;
		width: auto;
		min-width: 0;
		max-width: 100%;
	}

	.agamea-form .agamea-line__field .wpcf7-form-control-wrap {
		flex: 1 1 auto;
		width: 100%;
		min-width: 0;
	}

	.agamea-form .agamea-input,
	.agamea-form input[type="text"],
	.agamea-form input[type="tel"],
	.agamea-form input[type="email"],
	.agamea-form select.agamea-input,
	.agamea-form select,
	.agamea-form .agamea-input--name,
	.agamea-form .agamea-input--short,
	.agamea-form .agamea-input--mid,
	.agamea-form .agamea-input--phone,
	.agamea-form .agamea-input--mail,
	.agamea-form .agamea-drop {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		height: 3.45rem;
	}

	.agamea-form .agamea-drop__toggle {
		width: 100%;
		min-height: 3.45rem;
	}
}

.contact-content {
	width: 100%;
}

.contact-page__content {
	padding-top: clamp(1.5rem, 4vw, 3rem);
}

.contact-map {
	margin: 0 0 clamp(2rem, 5vw, 3.5rem);
	width: 100%;
	line-height: 0;
}

@media (min-width: 860px) {
	.contact-map {
		margin-top: 1.25rem;
	}
}

.contact-map__img {
	display: block;
	width: 100%;
	height: auto;
}

.contact-details {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(1rem, 3vw, 2.5rem);
	width: min(100%, 63rem);
	margin: 0 auto clamp(2rem, 5vw, 3.5rem);
}

.contact-details__address {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	margin: 0;
	font-style: normal;
	justify-self: center;
	transform: rotate(-8deg);
}

.contact-details__pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	max-width: 100%;
	margin: 0;
	padding: 0.7rem 1.4rem;
	border-radius: var(--radius-pill);
	font-style: normal;
	font-size: clamp(1.25rem, 2.3vw, 1.6rem);
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: transform 0.2s ease;
}

.contact-details__pill--address {
	background: var(--color-brand-deep);
	color: var(--color-brand-light);
}

.contact-details__reach {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	justify-self: center;
	transform: rotate(8deg);
}

.contact-details__pill--phone {
	background: var(--color-ink-soft);
	color: var(--color-sun);
}

.contact-details__pill--email {
	background: var(--color-sun);
	color: var(--color-ink-soft);
}

.contact-details__pill--phone:hover,
.contact-details__pill--phone:focus-visible,
.contact-details__pill--email:hover,
.contact-details__pill--email:focus-visible {
	transform: scale(1.03);
}

@media (max-width: 768px) {
	.contact-details {
		grid-template-columns: 1fr;
		justify-items: center;
		width: 100%;
		gap: 1.25rem;
	}

	.contact-details__address,
	.contact-details__reach {
		justify-self: center;
		align-items: center;
	}
}

.submit-wrapper {
	text-align: right;
}

@media (max-width: 859px) {
	/* Keep service header spacing aligned with mobile home panels. */
	.service-hero-group--overlap .service-intro {
		margin-top: clamp(-7.25rem, -18vw, -5.75rem);
	}

	.service-page {
		--service-box-width: 100%;
		--service-box-padding-x: clamp(1.15rem, 5vw, 1.5rem);
	}

	.service-page .service-intro__box,
	.service-page .portfolio-intro__box {
		width: var(--service-box-width);
		--panel-padding: clamp(1.45rem, 6vw, 1.85rem);
		--panel-padding-top: clamp(2.1rem, 7vw, 2.75rem);
		padding: var(--panel-padding-top) clamp(1.65rem, 7vw, 2.15rem) var(--panel-padding);
		gap: clamp(1.25rem, 4vw, 1.75rem);
		min-height: auto;
	}

	.service-page .service-intro__intro,
	.service-page .portfolio-intro__intro {
		padding: 0;
	}
}