/*
Theme Name: AGES — Géosciences & Ingénierie
Theme URI: https://ages-bf.com
Author: AGES
Description: Thème WordPress éditorial sur mesure pour African Geosciences Engineering and Services.
Version: 2.2.6
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: ages
*/

:root {
	--ages-green: #176344;
	--ages-green-dark: #103f31;
	--ages-lime: #d4e6ac;
	--ages-ink: #18231f;
	--ages-muted: #65736c;
	--ages-paper: #f7f8f4;
	--ages-white: #fff;
	--ages-line: #e3e8e2;
	--ages-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
	--ages-sans: "Aptos", "Segoe UI", Arial, sans-serif;
	--ages-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--ages-ink);
	background: var(--ages-white);
	font: 16px/1.65 var(--ages-sans);
	-webkit-font-smoothing: antialiased;
}
body, button, input, select, textarea { font-family: var(--ages-sans); }
a { color: var(--ages-green); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--ages-green-dark); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font-size: inherit; }
:focus-visible { outline: 3px solid #b7d86f; outline-offset: 3px; }
.ages-container { width: min(var(--ages-width), calc(100% - 48px)); margin-inline: auto; }
.ages-skip-link { position: absolute; z-index: 1000; left: 1rem; top: -100px; padding: .8rem 1rem; background: white; }
.ages-skip-link:focus { top: 1rem; }
.ages-topbar { color: rgba(255,255,255,.78); background: var(--ages-green-dark); font-size: 12px; }
.ages-topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 8px 0; }
.ages-topbar a { color: inherit; text-decoration: none; }
.ages-topbar-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.ages-social-links { display: flex; align-items: center; gap: 12px; }
.ages-topbar .ages-social-links a { display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; transition: color .2s ease, transform .2s ease; }
.ages-topbar .ages-social-links a:hover { color: var(--ages-lime); transform: translateY(-2px); }
.ages-social-links svg { display: block; width: 17px; height: 17px; fill: currentColor; }
.ages-header { position: relative; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(227,232,226,.8); }
.ages-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 2rem; }
.ages-brand { display: flex; align-items: center; min-width: 165px; text-decoration: none; }
.ages-brand img { width: 150px; max-height: 67px; object-fit: contain; object-position: left center; }
.ages-header .custom-logo-link { display: flex; align-items: center; }
.ages-header .custom-logo { width: 150px; max-height: 67px; object-fit: contain; }
.ages-brand-word { color: var(--ages-green); font-size: 28px; font-weight: 800; letter-spacing: .12em; }
.ages-brand-word small { display: block; color: var(--ages-muted); font-size: 8px; font-weight: 600; letter-spacing: .1em; line-height: 1.2; }
.ages-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.ages-nav > ul { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.8rem); list-style: none; margin: 0; padding: 0; }
.ages-nav li { position: relative; list-style: none; }
.ages-nav ul.sub-menu { position: absolute; z-index: 30; top: 100%; left: -14px; display: none; min-width: 220px; align-items: stretch; gap: 0; padding: 8px 0; border: 1px solid var(--ages-line); background: white; box-shadow: 0 14px 32px rgba(15,40,27,.12); }
.ages-nav ul.sub-menu ul.sub-menu { top: -9px; left: 100%; }
.ages-nav li:hover > ul.sub-menu, .ages-nav li:focus-within > ul.sub-menu { display: grid; }
.ages-nav ul.sub-menu a { display: block; padding: 10px 16px; white-space: nowrap; }
.ages-nav a { color: var(--ages-ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.ages-nav a:hover, .ages-nav .current-menu-item > a { color: var(--ages-green); }
.ages-nav .ages-button { color: white; }
.ages-menu-toggle { display: none; border: 0; background: transparent; color: var(--ages-ink); font-size: 15px; font-weight: 700; cursor: pointer; }
.ages-button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 50px; padding: .8rem 1.25rem; border: 1px solid var(--ages-green); border-radius: 3px; background: var(--ages-green); color: white; font-size: 13px; font-weight: 700; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.ages-button:hover { transform: translateY(-2px); background: var(--ages-green-dark); color: white; }
.ages-button--light { border-color: white; background: white; color: var(--ages-green-dark); }
.ages-button--light:hover { border-color: var(--ages-lime); background: var(--ages-lime); color: var(--ages-green-dark); }
.ages-button--outline { background: transparent; color: var(--ages-green); }
.ages-button--outline:hover { color: white; }
.ages-hero { position: relative; display: block; min-height: min(730px, 78vh); overflow: hidden; isolation: isolate; background: var(--ages-green-dark); color: white; }
.ages-hero-slides { position: absolute; inset: 0; }
.ages-hero-slide { position: absolute; inset: 0; display: flex; align-items: center; overflow: hidden; background: var(--ages-green-dark); opacity: 0; pointer-events: none; transition: opacity .75s ease, visibility .75s ease; visibility: hidden; }
.ages-hero-slide[hidden] { display: none; }
.ages-hero-slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; visibility: visible; }
.ages-hero-image { position: absolute; z-index: 0; inset: 0; }
.ages-hero-image::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,35,27,.88) 0%, rgba(11,44,34,.73) 46%, rgba(13,41,32,.15) 100%), linear-gradient(0deg, rgba(9,31,25,.28), transparent 50%); content: ""; }
.ages-hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.ages-hero-image img.ages-image--technical { padding: clamp(14px, 3vw, 42px); background: #edf0e9; object-fit: contain; }
.ages-hero-slide.is-active .ages-hero-image img { animation: ages-image-settle 1.2s ease-out both; }
.ages-hero-content { position: relative; z-index: 1; padding-block: 100px 120px; }
.ages-hero-slide.is-active .ages-hero-content { animation: ages-hero-content-in .65s both; }
.ages-eyebrow { display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1.25rem; color: var(--ages-green); font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.ages-eyebrow::before { width: 28px; height: 1px; background: currentColor; content: ""; }
.ages-hero .ages-eyebrow { color: var(--ages-lime); }
.ages-hero h1 { max-width: 800px; margin: 0; font: 500 clamp(48px, 7.7vw, 94px)/.99 var(--ages-serif); letter-spacing: -.045em; }
.ages-hero h1 em { color: var(--ages-lime); font-weight: 400; }
.ages-hero-copy { max-width: 590px; margin: 1.6rem 0 2rem; color: rgba(255,255,255,.82); font-size: clamp(16px, 1.7vw, 19px); }
.ages-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.ages-hero-note { position: absolute; z-index: 3; left: max(24px, calc((100vw - var(--ages-width))/2)); bottom: 34px; display: flex; align-items: center; gap: .75rem; color: rgba(255,255,255,.75); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.ages-hero-note::before { width: 35px; height: 1px; background: var(--ages-lime); content: ""; }
.ages-slider-controls { position: absolute; z-index: 3; right: max(24px, calc((100vw - var(--ages-width))/2)); bottom: 21px; display: flex; align-items: center; gap: 10px; }
.ages-slider-controls[hidden] { display: none; }
.ages-slider-arrow, .ages-slider-pause { display: inline-flex; min-width: 38px; height: 38px; align-items: center; justify-content: center; gap: 8px; padding: 0 10px; border: 1px solid rgba(255,255,255,.45); border-radius: 2px; background: rgba(10,35,27,.2); color: white; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.ages-slider-arrow:hover, .ages-slider-pause:hover { border-color: white; background: rgba(10,35,27,.7); }
.ages-slider-pause { font-size: 11px; }
.ages-slider-dots { display: flex; align-items: center; gap: 7px; padding-inline: 3px; }
.ages-slider-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.55); cursor: pointer; transition: width .25s ease, background .25s ease; }
.ages-slider-dot.is-active { width: 25px; background: var(--ages-lime); }
.ages-slider-controls button:focus-visible { outline-color: var(--ages-lime); }
.ages-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.ages-stats { position: relative; z-index: 2; margin-top: -1px; background: var(--ages-green); color: white; }
.ages-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ages-stat { min-height: 112px; padding: 22px clamp(14px, 2vw, 30px); border-right: 1px solid rgba(255,255,255,.2); }
.ages-stat:first-child { border-left: 1px solid rgba(255,255,255,.2); }
.ages-stat strong { display: block; color: var(--ages-lime); font: 500 25px/1.2 var(--ages-serif); }
.ages-stat span { display: block; margin-top: .35rem; color: rgba(255,255,255,.77); font-size: 11px; line-height: 1.5; }
.ages-section { padding-block: clamp(76px, 9vw, 128px); }
.ages-section--soft { background: var(--ages-paper); }
.ages-section--dark { background: var(--ages-green-dark); color: white; }
.ages-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.8rem; }
.ages-section-heading h2, .ages-intro h2 { max-width: 740px; margin: 0; font: 500 clamp(34px, 4.8vw, 58px)/1.08 var(--ages-serif); letter-spacing: -.035em; }
.ages-section-heading > p { max-width: 385px; margin: 0; color: var(--ages-muted); font-size: 14px; }
.ages-intro { display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 8vw; }
.ages-intro p { max-width: 555px; margin: 1.5rem 0 0; color: var(--ages-muted); font-size: 16px; }
.ages-intro-aside { padding: 1.5rem 0 0 1.6rem; border-left: 1px solid var(--ages-line); color: var(--ages-muted); font-size: 14px; }
.ages-intro-aside strong { display: block; margin-bottom: .55rem; color: var(--ages-green); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.ages-card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.ages-card { display: flex; min-height: 300px; flex-direction: column; overflow: hidden; padding: 0 22px 22px; border: 1px solid var(--ages-line); background: white; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.ages-card:hover { transform: translateY(-5px); border-color: #a9c8b5; box-shadow: 0 16px 40px rgba(22,60,41,.08); }
.ages-card-visual { aspect-ratio: 1.9; margin: 0 -22px 18px; overflow: hidden; background: var(--ages-paper); }
.ages-card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ages-card:hover .ages-card-visual img { transform: scale(1.045); }
.ages-card-index { display: flex; width: 32px; height: 32px; align-items: center; justify-content: center; margin-bottom: 1rem; border-radius: 50%; background: #eef4ed; color: var(--ages-green); font: 500 14px var(--ages-serif); }
.ages-card h3 { margin: 0 0 .75rem; font: 500 23px/1.2 var(--ages-serif); }
.ages-card p { margin: 0 0 1.1rem; color: var(--ages-muted); font-size: 13px; line-height: 1.65; }
.ages-card-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; font-size: 12px; font-weight: 700; text-decoration: none; }
.ages-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.23); }
.ages-flow-item { position: relative; padding: 25px 22px 0 0; }
.ages-flow-item::before { position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ages-lime); content: ""; }
.ages-flow-item span { color: var(--ages-lime); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.ages-flow-item h3 { max-width: 210px; margin: .7rem 0 0; font: 500 20px/1.3 var(--ages-serif); }
.ages-gallery { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: repeat(2, minmax(0, 235px)); gap: 15px; }
.ages-gallery--1-items { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 360px); }
.ages-gallery--2-items { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 360px); }
.ages-gallery figure { position: relative; overflow: hidden; margin: 0; background: #d8ded7; }
.ages-gallery figure:first-child { grid-row: span 2; }
.ages-gallery--1-items figure:first-child, .ages-gallery--2-items figure:first-child { grid-row: auto; }
.ages-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ages-gallery figure:hover img { transform: scale(1.035); }
.ages-gallery picture { display: block; width: 100%; height: 100%; }
.ages-gallery picture img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ages-gallery figcaption { position: absolute; right: 12px; bottom: 12px; left: 12px; padding: 8px 11px; background: rgba(12,35,27,.73); color: white; font-size: 11px; }
.ages-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 46px clamp(26px, 5vw, 64px); background: var(--ages-lime); }
.ages-cta h2 { max-width: 660px; margin: 0; font: 500 clamp(28px, 4vw, 43px)/1.1 var(--ages-serif); }
.ages-cta p { margin: .75rem 0 0; color: #526456; font-size: 14px; }
.ages-cta .ages-button { flex-shrink: 0; }
.ages-partners { background: white; }
.ages-partners .ages-section-heading { margin-bottom: 2rem; }
.ages-partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ages-partner { display: flex; min-height: 112px; align-items: center; justify-content: center; padding: 20px; border: 1px solid var(--ages-line); background: var(--ages-paper); transition: border-color .2s ease, transform .2s ease; }
.ages-partner:hover { transform: translateY(-3px); border-color: #a9c8b5; }
.ages-partner img { width: 100%; max-width: 180px; max-height: 68px; object-fit: contain; }
.ages-partner-name { color: var(--ages-green-dark); font: 500 19px/1.25 var(--ages-serif); text-align: center; }
.ages-footer { padding: 62px 0 20px; background: #102f25; color: rgba(255,255,255,.72); }
.ages-footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 3rem; padding-bottom: 45px; }
.ages-footer .ages-brand-word { color: white; }
.ages-footer .ages-brand-word small { color: rgba(255,255,255,.64); }
.ages-footer p { max-width: 360px; font-size: 13px; }
.ages-footer h2 { margin: 0 0 1rem; color: var(--ages-lime); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.ages-footer ul { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.ages-footer a { color: rgba(255,255,255,.78); font-size: 13px; text-decoration: none; }
.ages-footer a:hover { color: var(--ages-lime); }
.ages-footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); font-size: 11px; }
.ages-whatsapp { position: fixed; z-index: 25; right: 22px; bottom: 22px; display: flex; width: 54px; height: 54px; align-items: center; justify-content: center; border-radius: 50%; background: #16824c; box-shadow: 0 6px 24px rgba(0,0,0,.2); color: white; text-decoration: none; }
.ages-whatsapp svg { width: 24px; height: 24px; fill: currentColor; }
.ages-page-hero { padding: 68px 0; overflow: hidden; background: var(--ages-paper); }
.ages-page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .72fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.ages-page-hero-copy { position: relative; z-index: 1; }
.ages-page-hero h1 { max-width: 850px; margin: 0; font: 500 clamp(42px, 6vw, 72px)/1.03 var(--ages-serif); letter-spacing: -.04em; }
.ages-page-hero p { max-width: 650px; margin: 1.2rem 0 0; color: var(--ages-muted); }
.ages-page-hero-visual { position: relative; aspect-ratio: 1.35; margin: 0; overflow: hidden; border-radius: 2px; background: #e8ece5; box-shadow: 0 22px 55px rgba(20,55,37,.12); }
.ages-page-hero-visual::after { position: absolute; inset: 0; border: 1px solid rgba(23,99,68,.12); content: ""; pointer-events: none; }
.ages-page-hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.ages-page-hero-visual img.ages-image--technical { padding: 14px; background: white; object-fit: contain; }
.ages-content { padding-block: 65px 110px; }
.ages-content-inner { max-width: 820px; margin-inline: auto; }
.ages-content-inner > * + * { margin-top: 1.3em; }
.ages-content-inner h2, .ages-content-inner h3 { font-family: var(--ages-serif); font-weight: 500; line-height: 1.2; }
.ages-content-inner h2 { font-size: 36px; }
.ages-content-inner h3 { font-size: 27px; }
.ages-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ages-entry-card { overflow: hidden; border: 1px solid var(--ages-line); background: white; }
.ages-entry-card > a { color: inherit; text-decoration: none; }
.ages-entry-card > a > img { width: 100%; aspect-ratio: 1.45; object-fit: cover; transition: transform .6s ease; }
.ages-entry-card:hover > a > img { transform: scale(1.035); }
.ages-entry-card-body { padding: 21px; }
.ages-entry-card h2 { margin: 0 0 .5rem; font: 500 24px/1.2 var(--ages-serif); }
.ages-entry-card p { margin: 0; color: var(--ages-muted); font-size: 13px; }
.ages-contact-grid { display: grid; grid-template-columns: .75fr 1fr; gap: 5vw; }
.ages-contact-details { padding: 26px; background: var(--ages-paper); }
.ages-contact-details h2 { margin-top: 0; font: 500 30px var(--ages-serif); }
.ages-contact-details p { color: var(--ages-muted); font-size: 14px; }
.ages-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ages-form label { display: grid; gap: 6px; color: #334139; font-size: 12px; font-weight: 700; }
.ages-form label.ages-full { grid-column: 1 / -1; }
.ages-form input, .ages-form select, .ages-form textarea { width: 100%; padding: 12px; border: 1px solid var(--ages-line); border-radius: 2px; background: white; color: var(--ages-ink); }
.ages-form textarea { min-height: 150px; resize: vertical; }
.ages-form .ages-button { grid-column: 1 / -1; justify-self: start; cursor: pointer; }
.ages-form-notice { grid-column: 1 / -1; padding: 12px 15px; background: #edf5ed; color: var(--ages-green-dark); font-size: 13px; }
.ages-form-notice--error { background: #fff0eb; color: #8b301b; }
.ages-project-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; padding: 20px; background: var(--ages-paper); }
.ages-project-filters label { display: grid; gap: 5px; color: var(--ages-muted); font-size: 11px; font-weight: 700; }
.ages-project-filters input, .ages-project-filters select { min-width: 170px; min-height: 45px; padding: 9px; border: 1px solid var(--ages-line); background: white; color: var(--ages-ink); }
.ages-project-filters .ages-button { min-height: 45px; }
.ages-pagination { display: flex; justify-content: center; gap: 12px; margin-top: 2.5rem; }
.ages-single-meta { margin: 1rem 0 0; color: var(--ages-muted); font-size: 13px; }
.ages-empty { padding: 28px; border: 1px dashed #bdc9be; color: var(--ages-muted); }
.ages-content-inner { color: #39463f; font-size: 16px; line-height: 1.8; }
.ages-content-inner .ages-lead { margin: 0 0 2.4rem; color: var(--ages-green-dark); font: 500 clamp(21px, 2.5vw, 28px)/1.5 var(--ages-serif); }
.ages-content-inner h2 { margin: 2.7rem 0 1rem; color: var(--ages-ink); }
.ages-content-inner h3 { margin: 1.8rem 0 .7rem; color: var(--ages-green-dark); }
.ages-content-inner ul { padding-left: 1.25rem; }
.ages-content-inner li { margin-block: .45rem; padding-left: .25rem; }
.ages-content-inner figure { margin: 0 0 2rem; }
.ages-content-inner figure img { width: 100%; }
.ages-content-callout { margin-block: 2rem; padding: 1.4rem 1.6rem; border-left: 3px solid var(--ages-green); background: var(--ages-paper); }
.ages-content-callout > strong { color: var(--ages-green); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.ages-content-callout p { margin: .55rem 0 0; }
.ages-history { display: grid; gap: 1rem; margin-top: 2rem; }
.ages-history article, .ages-content-grid article { padding: 1.5rem; border: 1px solid var(--ages-line); background: white; }
.ages-history article > span { color: var(--ages-green); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ages-history h2 { margin: .5rem 0; font-size: 27px; }
.ages-history p, .ages-content-grid p { margin: 0; color: var(--ages-muted); font-size: 14px; }
.ages-content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ages-content-grid h3 { margin-top: 0; }
.ages-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; padding: 0 !important; list-style: none; }
.ages-link-grid li { margin: 0; }
.ages-link-grid a, .ages-inline-link { color: var(--ages-green); font-weight: 700; text-decoration: none; }
.ages-link-grid a::after { padding-left: .4rem; content: "↗"; }
.ages-taxonomy-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 2rem 0; padding: 0; list-style: none; }
.ages-taxonomy-list a { padding: 5px 10px; border: 1px solid var(--ages-line); border-radius: 99px; color: var(--ages-muted); font-size: 11px; text-decoration: none; }
.ages-single-cta { margin-top: 3.5rem; padding: 1.5rem; background: var(--ages-paper); }
.ages-single-cta h2 { margin-top: 0; }
.ages-archive-intro { max-width: 750px; margin: 0 0 2rem; color: var(--ages-muted); }
.ages-entry-card { transition: transform .2s ease, box-shadow .2s ease; }
.ages-entry-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(15,40,27,.09); }
.ages-entry-card-body > span { display: block; margin-bottom: .5rem; color: var(--ages-green); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ages-projects-more { margin: 1.8rem 0 0; text-align: right; }
.ages-reveal { animation: ages-rise .7s both; }
.ages-motion .ages-reveal-item { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); transition-delay: var(--ages-reveal-delay, 0ms); }
.ages-motion .ages-reveal-item.is-visible { opacity: 1; transform: translateY(0); }
@keyframes ages-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ages-image-settle { from { transform: scale(1.045); } to { transform: scale(1); } }
@keyframes ages-hero-content-in { from { opacity: .15; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
	.ages-card-grid { grid-template-columns: repeat(2, 1fr); }
	.ages-intro { gap: 4vw; }
	.ages-gallery { grid-template-rows: 190px 190px; }
	.ages-gallery--1-items { grid-template-rows: minmax(0, 300px); }
	.ages-gallery--2-items { grid-template-rows: minmax(0, 260px); }
	.ages-nav > ul { gap: .9rem; }
	.ages-nav a { font-size: 12px; }
	.ages-nav .ages-button { padding-inline: .85rem; }
	.ages-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ages-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
	.ages-container { width: min(var(--ages-width), calc(100% - 36px)); }
	.ages-topbar-inner { justify-content: center; }
	.ages-topbar-links { justify-content: center; gap: .45rem 1rem; }
	.ages-topbar-location { display: none; }
	.ages-header-inner { min-height: 72px; }
	.ages-brand img { width: 125px; }
	.ages-header .custom-logo { width: 125px; }
	.ages-menu-toggle { align-items: center; gap: .6rem; padding: 10px 0 10px 10px; }
	html.ages-js .ages-menu-toggle { display: inline-flex; }
	.ages-nav { position: absolute; top: 100%; right: 0; left: 0; align-items: stretch; padding: 8px 18px 20px; border-bottom: 1px solid var(--ages-line); background: white; box-shadow: 0 12px 20px rgba(15,40,27,.06); }
	html.ages-js .ages-nav { display: none; }
	html.ages-js .ages-nav.is-open { display: grid; }
	.ages-nav > ul { display: grid; gap: 0; }
	.ages-nav li { border-bottom: 1px solid var(--ages-line); }
	.ages-nav a { display: block; padding: 12px 3px; font-size: 14px; }
	.ages-nav ul.sub-menu { position: static; display: grid; min-width: 0; padding: 0 0 6px 15px; border: 0; background: transparent; box-shadow: none; }
	.ages-nav ul.sub-menu ul.sub-menu { position: static; top: auto; left: auto; }
	.ages-nav ul.sub-menu a { padding: 8px 3px; color: var(--ages-muted); font-size: 13px; white-space: normal; }
	.ages-nav .ages-button { display: inline-flex; margin-top: 13px; }
	.ages-hero { min-height: 670px; min-height: min(740px, 85svh); }
	.ages-hero-image::after { background: linear-gradient(90deg, rgba(8,35,27,.87), rgba(11,44,34,.58)), linear-gradient(0deg, rgba(9,31,25,.3), transparent 50%); }
	.ages-hero-content { padding-block: 85px 115px; }
	.ages-hero h1 { max-width: 530px; font-size: clamp(49px, 12vw, 75px); }
	.ages-hero-note { bottom: 25px; left: 18px; max-width: 42%; font-size: 9px; }
	.ages-slider-controls { right: 18px; bottom: 16px; gap: 6px; }
	.ages-slider-arrow { min-width: 34px; height: 34px; }
	.ages-slider-pause { min-width: 34px; height: 34px; padding: 0 7px; }
	.ages-slider-pause [data-ages-pause-label] { display: none; }
	.ages-slider-dots { gap: 5px; }
	.ages-stats-grid { grid-template-columns: 1fr 1fr; }
	.ages-stat { min-height: 94px; padding: 17px; border-bottom: 1px solid rgba(255,255,255,.2); }
	.ages-stat:nth-child(odd) { border-left: 1px solid rgba(255,255,255,.2); }
	.ages-stat strong { font-size: 23px; }
	.ages-section-heading { display: block; margin-bottom: 2rem; }
	.ages-section-heading > p { margin-top: 1rem; }
	.ages-intro { grid-template-columns: 1fr; gap: 1.5rem; }
	.ages-intro-aside { max-width: 530px; }
	.ages-flow { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
	.ages-flow-item { min-height: 100px; }
	.ages-gallery { grid-template-rows: 230px 170px; }
	.ages-gallery--1-items { grid-template-rows: minmax(0, 260px); }
	.ages-gallery--2-items { grid-template-rows: minmax(0, 210px); }
	.ages-cta { align-items: flex-start; flex-direction: column; }
	.ages-footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
	.ages-footer-grid > :first-child { grid-column: 1 / -1; }
	.ages-archive-grid { grid-template-columns: 1fr 1fr; }
	.ages-contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
	.ages-content-grid, .ages-link-grid { grid-template-columns: 1fr; }
	.ages-page-hero { padding: 48px 0; }
	.ages-page-hero-inner { grid-template-columns: 1fr; gap: 1.5rem; }
	.ages-page-hero-visual { width: min(100%, 520px); aspect-ratio: 1.65; }
}
@media (max-width: 470px) {
	.ages-hero { min-height: 690px; }
	.ages-hero-actions { align-items: stretch; flex-direction: column; max-width: 290px; }
	.ages-hero-note { max-width: 38%; bottom: 22px; font-size: 8px; letter-spacing: .04em; }
	.ages-slider-controls { right: 12px; bottom: 14px; gap: 4px; }
	.ages-slider-dot { width: 6px; height: 6px; }
	.ages-slider-dot.is-active { width: 18px; }
	.ages-slider-arrow, .ages-slider-pause { min-width: 30px; height: 32px; padding: 0 5px; }
	.ages-card-grid, .ages-archive-grid { grid-template-columns: 1fr; }
	.ages-card:last-child:nth-child(odd) { grid-column: auto; }
	.ages-card { min-height: 220px; }
	.ages-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 130px; gap: 8px; }
	.ages-gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; }
	.ages-gallery--1-items { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 230px); }
	.ages-gallery--2-items { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 170px); }
	.ages-gallery--2-items figure:first-child { grid-column: auto; }
	.ages-gallery figcaption { right: 6px; bottom: 6px; left: 6px; padding: 6px; font-size: 10px; }
	.ages-form { grid-template-columns: 1fr; }
	.ages-form label.ages-full { grid-column: auto; }
	.ages-form .ages-button { grid-column: auto; }
	.ages-footer-grid { grid-template-columns: 1fr; }
	.ages-footer-grid > :first-child { grid-column: auto; }
	.ages-footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
