/* ==========================================================================
   Core Energy skin — layout and look modelled on amecuae.com:
   video hero with transparent menu, square buttons and labels, photo cards,
   charcoal overlays, right-edge contact rail. Loaded after main.css.
   ========================================================================== */

body { font-size: 15.5px; line-height: 1.75; color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--navy-800); letter-spacing: 0; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.15; }
h3 { font-size: 1.3rem; }
a { color: var(--brand); }
a:hover { color: var(--brand-hot); }
:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 3px; }
.lead { font-size: 1.08rem; }

/* ---------- Labels ---------- */
.tag {
	display: inline-block; margin: 0 0 18px;
	background: var(--brand); color: #fff;
	font-family: var(--font); font-weight: 500; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase;
	padding: 4px 14px; line-height: 1.6;
}
.kicker {
	font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase;
	color: var(--brand); margin: 0 0 10px; display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 34px; height: 3px; background: var(--amber); flex: none; }
.kicker--light { color: #fff; }
.eyebrow { font-family: var(--font-display); color: var(--brand); }
.eyebrow::before { background: var(--amber); height: 3px; }
.eyebrow--light { color: #fff; }

/* ---------- Buttons: square, solid ---------- */
.btn {
	border-radius: 0; font-family: var(--font); font-weight: 500; font-size: .98rem; letter-spacing: .01em;
	padding: 14px 28px; border-width: 2px; box-shadow: none !important;
}
.btn:hover { transform: none; }
.btn .icon { transition: transform .2s; }
.btn:hover .icon { transform: translateX(4px); }
.btn-lg { padding: 17px 36px; font-size: 1.02rem; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hot); border-color: var(--brand-hot); color: #fff; }
.btn-dark { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-line, .btn-outline { background: transparent; border-color: var(--navy-800); color: var(--navy-800); }
.btn-line:hover, .btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.icon-btn { border-radius: 0; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); backdrop-filter: none; }
.site-header__inner { min-height: var(--header-h); gap: 32px; }
.site-logo img, .site-logo--swap img { width: 236px; height: auto; }
.site-logo--swap { position: relative; }
.site-logo--swap .logo-on-dark { display: none; }
.main-nav .menu { gap: 2px; }
.main-nav .menu > li > a {
	font-family: var(--font-nav); font-weight: 500; font-size: 15px; color: var(--navy-800);
	padding: 10px 13px; border-radius: 0;
}
.main-nav .menu > li > a:hover,
.main-nav .menu > li.current-menu-item > a,
.main-nav .menu > li.current-menu-ancestor > a,
.main-nav .menu > li.current-page-ancestor > a { color: var(--brand); }
.main-nav .menu > li.current-menu-item > a::after,
.main-nav .menu > li.current-menu-ancestor > a::after,
.main-nav .menu > li.current-page-ancestor > a::after { left: 13px; right: 13px; bottom: 0; height: 2px; border-radius: 0; background: var(--amber); }
.main-nav .sub-menu { border-radius: 0; border: 0; border-top: 3px solid var(--brand); padding: 8px 0; min-width: 320px; }
.main-nav .sub-menu a { border-radius: 0; padding: 9px 20px; font-size: .93rem; }
.main-nav .sub-menu a:hover, .main-nav .sub-menu .current-menu-item > a { background: var(--bg-soft); color: var(--brand); }

.header-cta {
	display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
	font-family: var(--font-nav); font-weight: 600; font-size: 15px; color: var(--navy-800);
	padding: 10px 0 10px 18px; border-left: 1px solid var(--line);
}
.header-cta .icon { width: 22px; height: 22px; color: var(--brand); }
.header-cta:hover { color: var(--brand); }
.site-header .icon-btn { width: 44px; height: 44px; }

/* Transparent header over the home video; turns solid after scrolling */
.site-header.is-overlay {
	position: fixed; left: 0; right: 0; top: 0;
	background: transparent; border-bottom-color: transparent;
	transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.admin-bar .site-header.is-overlay { top: 32px; }
.site-header.is-overlay:not(.is-scrolled) .logo-on-dark { display: block; }
.site-header.is-overlay:not(.is-scrolled) .logo-on-light { display: none; }
.site-header.is-overlay:not(.is-scrolled) .main-nav .menu > li > a,
.site-header.is-overlay:not(.is-scrolled) .header-cta { color: #fff; }
.site-header.is-overlay:not(.is-scrolled) .main-nav .menu > li > a:hover { color: var(--amber); }
.site-header.is-overlay:not(.is-scrolled) .header-cta { border-left-color: rgba(255, 255, 255, .25); }
.site-header.is-overlay:not(.is-scrolled) .header-cta .icon { color: #fff; }
.site-header.is-overlay:not(.is-scrolled) .icon-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.site-header.is-overlay:not(.is-scrolled) .icon-btn:hover { background: #fff; color: var(--navy-800); }
.site-header.is-overlay.is-scrolled { background: #fff; border-bottom-color: var(--line); }

/* Slide-out panel */
.reach-panel { background: var(--navy-800); }
.reach-panel h5 { color: var(--amber); }
.reach-panel__head .icon-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.reach-panel__head .site-logo img { width: 210px; }
.reach-panel__nav .menu > li > a { font-family: var(--font-nav); font-weight: 500; font-size: 1.08rem; }
.reach-panel__nav .sub-menu { border-left-color: var(--brand); }
.reach-list .icon { color: var(--brand-light); }
.social-links a { border-radius: 0; }
.social-links a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Home: video hero ---------- */
.home-hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: max(620px, 100svh); display: flex; align-items: center;
	background: var(--navy-900) center / cover no-repeat;
	color: #fff; padding: calc(var(--header-h) + 40px) 0 110px;
}
.home-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.home-hero__tint { position: absolute; inset: 0; z-index: -2; background: var(--navy-800); mix-blend-mode: color; opacity: .3; }
.home-hero__shade {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(180deg, rgba(18, 25, 32, .75) 0%, rgba(18, 25, 32, 0) 24%),
		linear-gradient(100deg, rgba(18, 25, 32, .82) 0%, rgba(18, 25, 32, .5) 45%, rgba(18, 25, 32, .2) 75%, rgba(22, 115, 188, .25) 100%),
		linear-gradient(0deg, rgba(18, 25, 32, .65) 0%, rgba(18, 25, 32, 0) 30%);
}
.home-hero__inner { position: relative; }
.home-hero__title {
	color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.05; font-weight: 700;
	max-width: 15ch; margin: 0 0 34px; text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.home-hero__row { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.home-hero__text { margin: 0; max-width: 520px; font-size: 1.02rem; color: rgba(255, 255, 255, .9); line-height: 1.7; }
.home-hero__scroll {
	position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
	width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px;
}
.home-hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: cw-scroll 1.8s infinite; }
@keyframes cw-scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Home: shared ---------- */
.home-intro, .home-services, .home-about, .home-why, .home-sectors { padding: 96px 0; }
.home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 44px; }
.home-head > div { max-width: 720px; }
.home-head h2 { margin: 0; }
.home-head--center { justify-content: center; text-align: center; }
.home-head--center .kicker { justify-content: center; }

/* Intro */
.home-intro { background: var(--white); text-align: center; position: relative; }
.home-intro__inner { max-width: 900px; }
.home-intro .kicker { justify-content: center; }
.home-intro h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.home-intro .lead { color: var(--ink-soft); margin: 0 auto 32px; max-width: 70ch; }
.volt-strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0; border: 1px solid var(--line); }
.volt-strip li {
	flex: 1 1 100px; padding: 14px 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy-800);
	border-right: 1px solid var(--line); font-variant-numeric: tabular-nums;
}
.volt-strip li:last-child { border-right: 0; }

/* Services: photo cards */
.home-services { background: var(--bg-soft); }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.svc-card { display: flex; flex-direction: column; background: #fff; text-decoration: none; color: var(--ink); transition: box-shadow .25s; }
.svc-card:hover { box-shadow: var(--shadow-lg); color: var(--ink); }
.svc-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-card:hover .svc-card__img img { transform: scale(1.06); }
.svc-card__body { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 34px 24px 24px; flex: 1; border-bottom: 3px solid transparent; transition: border-color .25s; }
.svc-card:hover .svc-card__body { border-bottom-color: var(--brand); }
.svc-card__icon {
	position: absolute; top: -26px; left: 24px; width: 52px; height: 52px; display: grid; place-items: center;
	background: var(--brand); color: #fff;
}
.svc-card__icon .icon { width: 26px; height: 26px; }
.svc-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; line-height: 1.25; color: var(--navy-800); flex: 1; }
.svc-card__more { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 500; font-size: .92rem; }
.svc-card__more .icon { width: 1em; height: 1em; transition: transform .2s; }
.svc-card:hover .svc-card__more .icon { transform: translateX(4px); }

/* About */
.home-about__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.home-about__text p { color: var(--ink-soft); }
.home-about__text .btn-row { margin-top: 30px; }
.home-about__media { position: relative; padding: 0 0 40px 40px; }
.home-about__media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 60%; height: 70%; background: var(--brand); z-index: 0; }
.home-about__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stat-badge {
	position: absolute; z-index: 2; right: -18px; bottom: 0;
	background: var(--navy-800); color: #fff; padding: 22px 26px; max-width: 240px;
	border-left: 4px solid var(--amber); box-shadow: var(--shadow-lg);
}
.stat-badge strong { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.stat-badge small { font-size: .45em; color: var(--amber); margin-left: 4px; letter-spacing: .04em; }
.stat-badge span { display: block; margin-top: 8px; font-size: .88rem; line-height: 1.45; color: rgba(255, 255, 255, .8); }

/* Why us */
.home-why { background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: #fff; border: 1px solid var(--line); }
.why-card { padding: 38px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .25s; }
.why-card:nth-child(3n) { border-right: 0; }
.why-card:nth-last-child(-n+3) { border-bottom: 0; }
.why-card__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; color: var(--brand); border: 2px solid var(--brand); margin-bottom: 18px; transition: background-color .25s, color .25s; }
.why-card__icon .icon { width: 26px; height: 26px; }
.why-card h3 { margin-bottom: 8px; }
.why-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.why-card:hover { background: var(--navy-800); }
.why-card:hover h3 { color: #fff; }
.why-card:hover p { color: rgba(255, 255, 255, .75); }
.why-card:hover .why-card__icon { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Figures band */
.home-figures {
	position: relative; isolation: isolate; color: #fff; padding: 76px 0;
	background: linear-gradient(100deg, rgba(18, 25, 32, .93), rgba(18, 25, 32, .78)), var(--figures-img) center / cover no-repeat;
}
.figures-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.figure { border-left: 3px solid var(--amber); padding: 4px 0 4px 22px; }
.figure strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.figure small { font-size: .42em; margin-left: 5px; color: var(--brand-light); letter-spacing: .04em; }
.figure span { display: block; margin-top: 10px; font-size: .92rem; color: rgba(255, 255, 255, .78); }

/* Sectors */
.sector-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.sector-card {
	position: relative; isolation: isolate; min-height: 340px; padding: 28px 26px; display: flex; flex-direction: column; justify-content: flex-end;
	color: #fff; overflow: hidden;
}
.sector-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--sector-img) center / cover no-repeat; transition: transform .6s; }
.sector-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 25, 32, .15) 0%, rgba(18, 25, 32, .9) 75%); transition: background-color .3s; }
.sector-card:hover::before { transform: scale(1.06); }
.sector-card h3 { color: #fff; margin-bottom: 8px; padding-top: 14px; border-top: 3px solid var(--amber); align-self: flex-start; }
.sector-card p { margin: 0; font-size: .93rem; color: rgba(255, 255, 255, .82); line-height: 1.6; }

/* Contact */
.home-contact {
	padding: 96px 0; color: #fff;
	background: linear-gradient(120deg, var(--brand-hot) 0%, var(--brand) 55%, #1f8fd3 100%);
	position: relative; isolation: isolate; overflow: hidden;
}
.home-contact::after {
	content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 480px; height: 480px;
	border: 70px solid rgba(255, 255, 255, .06); transform: rotate(45deg);
}
.home-contact__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.home-contact h2 { color: #fff; margin-bottom: 30px; }
.home-contact .kicker::before { background: var(--amber); }
.office-card { background: rgba(18, 25, 32, .28); border-left: 4px solid var(--amber); padding: 28px 30px; }
.office-card h3 { color: #fff; display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.office-card h3 .icon { color: var(--amber); }
.office-card p { color: rgba(255, 255, 255, .85); }
.office-card ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .15); display: grid; gap: 10px; }
.office-card li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .9); }
.office-card li .icon { color: rgba(255, 255, 255, .7); }
.office-card a { color: #fff; text-decoration: none; }
.office-card a:hover { color: var(--amber); }
.home-contact__form { color: var(--ink); }

/* ---------- Forms & cards ---------- */
.form-card { border-radius: 0; border: 0; box-shadow: var(--shadow-lg); }
.cw-form input, .cw-form select, .cw-form textarea { border-radius: 0; border-width: 1px; background: var(--bg-soft); }
.cw-form input:focus, .cw-form select:focus, .cw-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22, 115, 188, .18); background: #fff; }
.cw-field > span { font-weight: 500; }
.cw-form .btn-primary, .cw-form button[type="submit"] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Inner page banner ---------- */
.page-banner { padding: 120px 0 90px; }
.page-banner::after { display: none; }
.page-banner.has-image::before {
	background:
		linear-gradient(100deg, rgba(18, 25, 32, .9) 25%, rgba(18, 25, 32, .55) 70%, rgba(22, 115, 188, .35)),
		var(--banner-img) center / cover no-repeat;
}
.page-banner .tag { margin-bottom: 14px; }
.page-banner__title { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
.breadcrumb span[aria-current] { color: var(--amber); }
.breadcrumb a:hover { color: var(--amber); }

/* ---------- Existing components, squared off and recoloured ---------- */
.section--dark, .hcard, .aside-card--dark { background: var(--navy-800); }
.cw-service, .hcard, .step, .sector, .equip-grid li, .cw-ccard, .aside-card, .aside-services a, .cw-downloads li, .cw-dl-icon, .cw-empty, .feature-panel, .cw-map iframe, .service-badge, .cw-service__icon, .facility-group h3 .icon, .cw-ccard > .icon, .cw-empty > .icon, .kv-list li, .post-card, .nav-links .page-numbers, .wp-block-gallery.client-logos img, .entry-content .wp-block-image img, .cw-alert { border-radius: 0; }
.cw-service::after { background: var(--brand); }
.cw-service__icon, .service-badge, .cw-dl-icon, .facility-group h3 .icon, .cw-ccard > .icon, .cw-empty > .icon { background: var(--brand); color: #fff; }
.cw-service__num { color: var(--line); }
.cw-service__more, .aside-services a .icon, .sector .icon, .equip-grid li .icon, .hcard--light .icon { color: var(--brand); }
.hcard .icon { color: var(--brand-light); }
.hcard--light { background: var(--white); }
.hcard--light .icon { color: var(--brand); }
.aside-services .is-current a { background: var(--brand); }
.aside-services .is-current a .icon { color: #fff; }
.aside-phone { color: var(--amber); }
.check-list li::before { border-radius: 0; background-color: var(--brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }
.kv-list li { border-color: var(--brand); color: var(--navy-800); }
.step::before { background: var(--brand); color: #fff; border-radius: 0; }
.entry-content ul li::marker { color: var(--brand); }
.post-card time, .post-meta { color: var(--brand); }
.nav-links .current { background: var(--brand); border-color: var(--brand); }

/* CTA band (inner pages) */
.cta-band { background: var(--navy-800); color: #fff; }
.cta-band::after { border-color: rgba(22, 115, 188, .25); border-radius: 0; transform: rotate(45deg); }
.cta-band h2 { color: #fff; }
.cta-band .eyebrow { color: var(--amber); }
.cta-band .eyebrow::before { background: var(--amber); }
.cta-band .btn-primary { background: var(--brand); color: #fff; }
.cta-band .btn-primary:hover { background: var(--brand-hot); }
.cta-band .btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); border-top: 4px solid var(--brand); }
.site-footer h5 { font-family: var(--font-display); letter-spacing: .12em; position: relative; padding-bottom: 12px; }
.site-footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--amber); }
.footer-col--about .site-logo--full img { width: 100%; max-width: 330px; height: auto; }
.footer-links a:hover, .reach-list a:hover { color: var(--amber); }

/* ---------- Right-edge contact rail ---------- */
.contact-rail {
	position: fixed; z-index: 85; right: env(safe-area-inset-right, 0px); top: 50%; transform: translateY(-50%);
	display: grid; gap: 3px;
}
.rail-btn {
	position: relative; display: grid; place-items: center; width: 48px; height: 48px;
	background: var(--brand); color: #fff; text-decoration: none; transition: background-color .2s;
}
.rail-btn .icon { width: 21px; height: 21px; }
.rail-btn--wa { background: #1f9d55; }
.rail-btn:hover { background: var(--navy-800); color: #fff; }
.rail-btn__label {
	position: absolute; right: 100%; top: 0; height: 100%; display: flex; align-items: center; white-space: nowrap;
	background: var(--navy-800); color: #fff; padding: 0 16px; font-size: .9rem;
	opacity: 0; visibility: hidden; transform: translateX(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.rail-btn:hover .rail-btn__label, .rail-btn:focus-visible .rail-btn__label { opacity: 1; visibility: visible; transform: none; }
.float-actions { display: none; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: reduce) {
	.home-hero__scroll span { animation: none; }
	.svc-card__img img, .sector-card::before { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.header-cta span { display: none; }
	.header-cta { border-left: 0; padding-left: 0; }
	.svc-grid, .sector-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.figures-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
}
@media (max-width: 980px) {
	.home-about__inner, .home-contact__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.why-card:nth-child(3n) { border-right: 1px solid var(--line); }
	.why-card:nth-child(2n) { border-right: 0; }
	.why-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
	.why-card:nth-last-child(-n+2) { border-bottom: 0; }
	.stat-badge { right: 0; }
}
@media (max-width: 680px) {
	:root { --header-h: 72px; }
	.site-logo img, .site-logo--swap img { width: 190px; }
	.home-intro, .home-services, .home-about, .home-why, .home-sectors, .home-contact { padding: 64px 0; }
	.home-hero { padding-bottom: 90px; }
	.home-hero__row { gap: 22px; }
	.home-hero__row .btn { order: 2; }
	.svc-grid, .sector-cards, .why-grid { grid-template-columns: minmax(0, 1fr); }
	.why-card { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
	.why-card:last-child { border-bottom: 0 !important; }
	.figures-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.home-about__media { padding: 0 0 24px 24px; }
	.stat-badge { position: relative; right: auto; bottom: auto; margin: -30px 0 0 auto; }
	.sector-card { min-height: 260px; }
	.page-banner { padding: 72px 0 56px; }
	.rail-btn { width: 42px; height: 42px; }
	.contact-rail { top: auto; bottom: 16px; transform: none; }
}

/* ==========================================================================
   3D service cards (AMEC "Discover Our Services" layout)
   ========================================================================== */
.home-services { padding: 110px 0; background: var(--bg-soft); }
.svc3d-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.svc3d-intro { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 10px 24px 10px 0; }
.svc3d-intro .tag { margin-bottom: 16px; }
.svc3d-intro h2 { font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1.12; margin-bottom: 14px; }
.svc3d-intro p:not(.tag) { color: var(--ink-soft); margin-bottom: 24px; }

.svc3d { display: block; text-decoration: none; color: #fff; perspective: 1100px; }
.svc3d:hover, .svc3d:focus-visible { color: #fff; }
.svc3d__inner {
	position: relative; display: flex; flex-direction: column; height: 100%;
	transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
	transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
	box-shadow: 0 18px 30px -22px rgba(18, 25, 32, .55);
	background: #fff;
}
.svc3d.is-tilting .svc3d__inner { transition: transform .08s linear, box-shadow .3s; }
.svc3d:hover .svc3d__inner, .svc3d:focus-visible .svc3d__inner { box-shadow: 0 38px 60px -28px rgba(18, 25, 32, .6); }
.svc3d__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy-800); }
.svc3d__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.svc3d:hover .svc3d__img img { transform: scale(1.09); }
.svc3d__panel {
	position: relative; flex: 1; display: flex; flex-direction: column; gap: 14px;
	padding: 28px 28px 26px; transform-style: preserve-3d;
	background: linear-gradient(135deg, var(--brand) 0%, var(--brand-hot) 100%);
}
.svc3d__panel::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 4px; background: var(--amber); transition: width .45s; }
.svc3d:hover .svc3d__panel::before { width: 100%; }
.svc3d__icon {
	position: absolute; right: 22px; top: -28px; width: 56px; height: 56px; display: grid; place-items: center;
	background: var(--navy-800); color: #fff; transform: translateZ(50px); box-shadow: 0 12px 22px -10px rgba(0, 0, 0, .5);
}
.svc3d__icon .icon { width: 26px; height: 26px; }
.svc3d__title {
	font-family: var(--font); font-weight: 500; font-size: 1.32rem; line-height: 1.3; color: #fff;
	transform: translateZ(40px); padding-right: 54px;
}
.svc3d__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .98rem; color: #fff; transform: translateZ(30px); margin-top: auto; }
.svc3d__more .icon { width: 1.05em; height: 1.05em; transition: transform .25s; }
.svc3d:hover .svc3d__more .icon { transform: translateX(5px); }
.svc3d__shine {
	position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .22), transparent 45%);
}
.svc3d:hover .svc3d__shine { opacity: 1; }

.svc3d-cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 34px 32px; background: var(--navy-800); color: rgba(255, 255, 255, .8); }
.svc3d-cta h3 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.svc3d-cta p { margin-bottom: 18px; }
.page-body--services { background: var(--bg-soft); padding: 88px 0 100px; }
.services-extra { margin-top: 56px; }

/* Service detail */
.service-photo { position: relative; margin: 0 0 34px; }
.service-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow-lg); }
.service-photo .service-badge { position: absolute; left: 24px; bottom: -28px; margin: 0; box-shadow: var(--shadow); }
.service-main > h2:first-of-type { margin-top: 18px; }
.service-photo2 { width: 100%; max-width: 420px; margin: 8px 0 28px; }

@media (max-width: 980px) {
	.svc3d-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.svc3d-intro { grid-column: 1 / -1; padding: 0 0 8px; }
}
@media (max-width: 600px) {
	.svc3d-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.home-services { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) {
	.svc3d__inner, .svc3d__img img { transition: none; transform: none !important; }
}

/* ==========================================================================
   Facility page (amecuae.com/supply layout) — hero, groups, 3D equipment cards
   ========================================================================== */
.fac-hero {
	position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 84px 0 96px;
	background: linear-gradient(100deg, rgba(18, 25, 32, .95) 0%, rgba(18, 25, 32, .86) 50%, rgba(18, 25, 32, .7) 100%), var(--fac-hero-img) center / cover no-repeat;
}
.fac-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--amber)); }
.fac-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.fac-hero .breadcrumb { margin-bottom: 18px; }
.fac-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.1; margin-bottom: 18px; }
.fac-hero__rule { display: block; width: 110px; height: 3px; background: var(--brand); margin-bottom: 22px; }
.fac-hero p { color: rgba(255, 255, 255, .82); max-width: 54ch; }
.fac-hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 26px 0 30px; }
.fac-hero__stats div { border-left: 3px solid var(--amber); padding-left: 14px; }
.fac-hero__stats strong { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.fac-hero__stats span { font-size: .82rem; color: rgba(255, 255, 255, .7); line-height: 1.35; display: block; margin-top: 6px; }
.fac-hero__media .cw-carousel { box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); transform: perspective(1200px) rotateY(-7deg) rotateX(2deg); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.fac-hero__media:hover .cw-carousel { transform: perspective(1200px) rotateY(0) rotateX(0); }

/* Jump links */
.fac-jump { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 20; }
.admin-bar .fac-jump { top: calc(var(--header-h) + 32px); }
.fac-jump__inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fac-jump a { display: flex; align-items: baseline; gap: 12px; padding: 18px 22px; text-decoration: none; color: var(--navy-800); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; border-right: 1px solid var(--line); border-bottom: 3px solid transparent; transition: border-color .2s, background-color .2s; }
.fac-jump a:first-child { border-left: 1px solid var(--line); }
.fac-jump a span { color: var(--brand); font-size: .9rem; }
.fac-jump a small { margin-left: auto; font-family: var(--font); font-weight: 400; font-size: .8rem; color: var(--ink-soft); }
.fac-jump a:hover, .fac-jump a.is-current { border-bottom-color: var(--brand); background: var(--bg-soft); color: var(--brand); }

/* Groups */
.fac-group { padding: 100px 0; scroll-margin-top: calc(var(--header-h) + 60px); }
.fac-group--alt { background: var(--bg-soft); }
.fac-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; margin-bottom: 64px; }
.fac-split--flip .fac-split__text { order: 2; }
.fac-split__text h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 16px; }
.fac-split__text > p:not(.tag) { color: var(--ink-soft); margin-bottom: 24px; }
.fac-split__text .check-list a { color: var(--ink); text-decoration: none; }
.fac-split__text .check-list a:hover { color: var(--brand); }
.fac-frame { position: relative; transform-style: preserve-3d; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.fac-frame.is-tilting { transition: transform .08s linear; }
.fac-frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; background: var(--brand); transform: translateZ(-40px); z-index: -1; }
.fac-split--flip .fac-frame::before { inset: 22px 22px -22px -22px; background: var(--navy-800); }
.fac-frame .cw-carousel { box-shadow: 0 30px 60px -30px rgba(18, 25, 32, .55); }

/* Carousel */
.cw-carousel { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--navy-800); }
.cw-carousel__track { position: absolute; inset: 0; perspective: 1400px; }
.cw-carousel__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateX(8%) rotateY(-14deg) scale(.96); transform-origin: left center; transition: opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.cw-carousel__slide.is-leaving { opacity: 0; transform: translateX(-8%) rotateY(14deg) scale(.96); transform-origin: right center; }
.cw-carousel__slide.is-active { opacity: 1; transform: none; z-index: 1; }
.cw-carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.cw-carousel__nav {
	position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px; display: grid; place-items: center;
	background: rgba(18, 25, 32, .55); color: #fff; border: 0; cursor: pointer; opacity: 0; transition: opacity .25s, background-color .2s;
}
.cw-carousel:hover .cw-carousel__nav, .cw-carousel__nav:focus-visible { opacity: 1; }
.cw-carousel__nav:hover { background: var(--brand); }
.cw-carousel__prev { left: 0; } .cw-carousel__next { right: 0; }
.cw-carousel__dots { position: absolute; z-index: 3; left: 16px; bottom: 14px; display: flex; gap: 6px; }
.cw-carousel__dots button { width: 22px; height: 4px; padding: 0; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: background-color .2s, width .2s; }
.cw-carousel__dots button.is-active { background: var(--amber); width: 34px; }

/* 3D equipment cards */
.eq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.eq-card { perspective: 1000px; scroll-margin-top: calc(var(--header-h) + 80px); }
.eq-card__inner {
	position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
	transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .4s, border-color .3s;
}
.fac-group--alt .eq-card__inner { border-color: transparent; }
.eq-card.is-tilting .eq-card__inner { transition: transform .08s linear, box-shadow .3s; }
.eq-card:hover .eq-card__inner { box-shadow: 0 34px 54px -28px rgba(18, 25, 32, .5); border-color: transparent; }
.eq-card__media {
	position: relative; display: grid; place-items: center; height: 170px; overflow: hidden; transform-style: preserve-3d;
	background:
		radial-gradient(circle at 75% 20%, rgba(47, 166, 228, .45), transparent 55%),
		linear-gradient(140deg, var(--navy-700) 0%, var(--navy-900) 100%);
	color: #fff;
}
.eq-card__media::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 22px 22px; }
.eq-card__media.has-photo { background: var(--navy-800); }
.eq-card__media.has-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.eq-art { position: relative; width: 84px; height: 84px; color: #fff; transform: translateZ(60px); filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .45)); transition: transform .5s cubic-bezier(.2, .8, .2, 1), color .3s; }
.eq-card:hover .eq-art { transform: translateZ(80px) scale(1.08); color: var(--amber); }
.eq-card__num { position: absolute; right: 16px; top: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: rgba(255, 255, 255, .45); transform: translateZ(30px); }
.eq-card__body { position: relative; padding: 24px 24px 26px; flex: 1; transform: translateZ(24px); }
.eq-card__body::before { content: ""; position: absolute; left: 24px; top: 0; width: 40px; height: 3px; background: var(--brand); transition: width .4s; }
.eq-card:hover .eq-card__body::before { width: calc(100% - 48px); }
.eq-card h3 { font-size: 1.18rem; margin: 6px 0 6px; }
.eq-card__spec { display: inline-block; font-size: .8rem; font-weight: 500; color: var(--brand); background: rgba(22, 115, 188, .08); padding: 3px 10px; margin: 0 0 10px; }
.eq-card__body p:last-child { margin: 0; color: var(--ink-soft); font-size: .92rem; line-height: 1.6; }
.eq-card__shine { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 20%), rgba(255, 255, 255, .25), transparent 45%); }
.eq-card:hover .eq-card__shine { opacity: 1; }
.eq-card:target .eq-card__inner { box-shadow: 0 0 0 3px var(--amber), 0 30px 50px -26px rgba(18, 25, 32, .5); }

@media (max-width: 1100px) {
	.eq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
	.fac-hero__inner, .fac-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.fac-split--flip .fac-split__text { order: 0; }
	.fac-hero__media .cw-carousel { transform: none; }
	.fac-jump { position: static; }
	.fac-jump__inner { grid-template-columns: minmax(0, 1fr); }
	.fac-jump a { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
	.fac-hero { padding: 56px 0 64px; }
	.fac-hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.fac-hero__stats strong { font-size: 1.5rem; }
	.fac-group { padding: 64px 0; }
	.fac-split { margin-bottom: 40px; }
	.fac-frame::before { inset: 14px -10px -14px 14px; }
	.fac-split--flip .fac-frame::before { inset: 14px 14px -14px -10px; }
	.eq-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.check-list--2 { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.cw-carousel__slide, .eq-card__inner, .fac-frame, .eq-art, .fac-hero__media .cw-carousel { transition: none; transform: none !important; }
}

/* Equipment cards with photos */
.eq-card__media.has-photo { height: 200px; }
.eq-card__media.has-photo::before { z-index: 1; background: linear-gradient(180deg, rgba(18, 25, 32, 0) 45%, rgba(18, 25, 32, .55) 100%); background-size: auto; }
.eq-card__media.has-photo img { transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.eq-card:hover .eq-card__media.has-photo img { transform: scale(1.08); }
.eq-card__media.has-photo .eq-card__num { z-index: 2; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.eq-card__badge {
	position: absolute; z-index: 2; left: 18px; bottom: -1px; width: 58px; height: 58px; display: grid; place-items: center;
	background: var(--brand); transform: translateZ(50px); box-shadow: 0 14px 24px -10px rgba(0, 0, 0, .55);
}
.eq-card__badge .eq-art { width: 34px; height: 34px; transform: none; filter: none; }
.eq-card:hover .eq-card__badge .eq-art { transform: none; color: #fff; }
.eq-card__media.has-photo + .eq-card__body { padding-top: 26px; }

/* Product photos on white: show whole product, no dark wash */
.eq-card__media.is-product { background: #fff; border-bottom: 1px solid var(--line); }
.eq-card__media.is-product::before { background: none; }
.eq-card__media.is-product img { object-fit: contain; }
.eq-card__media.is-product .eq-card__num { color: var(--ink-soft); text-shadow: none; }

/* ==========================================================================
   Facility v2.3 — crisp text, framed photos, deeper 3D
   ========================================================================== */

/* Crisp text: cards stay flat (no 3D layer) at rest; tilt only while hovered */
.eq-card__inner { transform: none; -webkit-font-smoothing: antialiased; }
.eq-card:hover .eq-card__inner,
.eq-card.is-tilting .eq-card__inner { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.eq-card__body { transform: none; }

/* Same typeface as the page headings */
.eq-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; line-height: 1.25; color: var(--navy-800); letter-spacing: 0; }
.eq-card__spec { font-family: var(--font-display); font-weight: 700; font-size: .86rem; letter-spacing: .02em; color: var(--brand-hot); background: rgba(22, 115, 188, .1); padding: 4px 12px; }
.eq-card__body p:last-child { font-family: var(--font-display); font-weight: 400; font-size: 1.04rem; line-height: 1.55; color: #3c4450; }
.fac-split__text > p:not(.tag), .fac-split__text .check-list li, .fac-hero p { font-family: var(--font-display); font-size: 1.06rem; }
.fac-split__text .check-list a { color: #2b323b; font-weight: 700; }

/* Photo frame: white mat, thin brand outline, orange corner brackets */
.eq-card__media.has-photo { margin: 12px 12px 0; height: 196px; outline: 1px solid rgba(22, 115, 188, .35); outline-offset: 5px; box-shadow: inset 0 0 0 1px rgba(18, 25, 32, .08); }
.eq-card__media.has-photo::after {
	content: ""; position: absolute; inset: 8px; z-index: 2; pointer-events: none;
	background:
		linear-gradient(var(--amber), var(--amber)) top left / 26px 3px no-repeat,
		linear-gradient(var(--amber), var(--amber)) top left / 3px 26px no-repeat,
		linear-gradient(var(--amber), var(--amber)) top right / 26px 3px no-repeat,
		linear-gradient(var(--amber), var(--amber)) top right / 3px 26px no-repeat,
		linear-gradient(var(--amber), var(--amber)) bottom right / 26px 3px no-repeat,
		linear-gradient(var(--amber), var(--amber)) bottom right / 3px 26px no-repeat;
	transition: inset .45s cubic-bezier(.2, .8, .2, 1);
}
.eq-card:hover .eq-card__media.has-photo::after { inset: 14px; }
.eq-card__media.has-photo .eq-card__num { top: 16px; right: 20px; }
.eq-card__badge { left: 16px; bottom: -14px; box-shadow: 0 16px 26px -10px rgba(15, 92, 156, .7); }
.eq-card__media.has-photo + .eq-card__body { padding-top: 34px; }
.eq-card__media.is-product { background: linear-gradient(180deg, #fff 0%, #f1f5f9 100%); }

/* Deeper 3D on hover: layered shadow, photo and badge lift toward the viewer */
.eq-card__inner { box-shadow: 0 1px 0 rgba(18, 25, 32, .04), 0 12px 24px -18px rgba(18, 25, 32, .35); }
.eq-card:hover .eq-card__inner {
	box-shadow: 0 2px 0 var(--brand), 0 28px 40px -22px rgba(18, 25, 32, .55), 0 60px 80px -50px rgba(15, 92, 156, .45);
}
.eq-card:hover .eq-card__media.has-photo { transform: translateZ(36px); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.eq-card:hover .eq-card__badge { transform: translateZ(70px); }
.eq-card__media { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }

/* 3D entrance: cards swing up into place as they scroll in */
.js .eq-card.reveal { opacity: 0; transform: perspective(900px) rotateX(28deg) translateY(40px); transform-origin: 50% 100%; transition: opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.js .eq-card.reveal.is-in { opacity: 1; transform: none; }
.eq-grid .eq-card:nth-child(3n+2).reveal { transition-delay: .08s; }
.eq-grid .eq-card:nth-child(3n).reveal { transition-delay: .16s; }

/* Hero: stats as raised 3D tiles */
.fac-hero__stats div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-left: 3px solid var(--amber); padding: 14px 14px 12px; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .7); transform: perspective(600px) rotateX(8deg); transition: transform .4s; }
.fac-hero__stats div:hover { transform: perspective(600px) rotateX(0) translateY(-4px); }

/* Section heading accent */
.fac-split__text h2 { position: relative; padding-bottom: 14px; }
.fac-split__text h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 70px; height: 3px; background: linear-gradient(90deg, var(--brand), var(--amber)); }

@media (prefers-reduced-motion: reduce) {
	.js .eq-card.reveal { transform: none; }
	.fac-hero__stats div { transform: none; }
}

/* v2.3.1 — clean frames: very light thin blue borders, no corner brackets or numbers */
.eq-card__num { display: none; }
.eq-card__media.has-photo::after { display: none; }
.eq-card__inner { border: 1px solid #d6e7f5; }
.fac-group--alt .eq-card__inner { border-color: #d6e7f5; }
.eq-card__media.has-photo { outline: 0; border: 1px solid #e3eef8; box-shadow: none; margin: 12px 12px 0; }
.eq-card:hover .eq-card__inner { border-color: #b9d6ef; }

/* ==========================================================================
   Get in Touch band (every page, above the footer) — amecuae.com style
   ========================================================================== */
.touch-band {
	position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 96px 0 104px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1'%3E%3Cpath d='M0 40c40-20 80 20 120 0s40-20 40-20M0 80c40-20 80 20 120 0s40-20 40-20M0 120c40-20 80 20 120 0s40-20 40-20M0 160c40-20 80 20 120 0s40-20 40-20'/%3E%3C/g%3E%3C/svg%3E"),
		radial-gradient(900px 420px at 85% 0%, rgba(47, 166, 228, .45), transparent 60%),
		linear-gradient(125deg, #0d4f8c 0%, var(--brand) 55%, #1a86cf 100%);
}
.touch-band::before { content: ""; position: absolute; z-index: -1; left: -140px; bottom: -160px; width: 420px; height: 420px; border: 70px solid rgba(255, 255, 255, .05); transform: rotate(45deg); }
.touch-band__head { text-align: center; max-width: 860px; margin: 0 auto 56px; }
.touch-band__head h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 16px; }
.touch-band__head p { color: rgba(255, 255, 255, .88); font-size: 1.04rem; margin: 0; }
.touch-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr); gap: 40px; align-items: start; }

/* Office columns */
.office { perspective: 900px; }
.office__inner { padding: 6px 6px 6px 0; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.office.is-tilting .office__inner { transition: transform .08s linear; }
.office__art { display: block; width: 100%; max-width: 230px; height: auto; color: #fff; margin-bottom: 18px; overflow: visible; filter: drop-shadow(0 10px 12px rgba(4, 30, 60, .35)); transform: translateZ(40px); }
.office__art .sk-sun { color: var(--amber); stroke: var(--amber); }
.office__art .sk-water { stroke: #9fd6f5; }
.office__art path, .office__art circle { stroke-dasharray: 600; stroke-dashoffset: 0; }
.js .office.reveal .office__art path, .js .office.reveal .office__art circle { stroke-dashoffset: 600; transition: stroke-dashoffset 2.4s cubic-bezier(.4, .1, .2, 1); }
.js .office.reveal.is-in .office__art path, .js .office.reveal.is-in .office__art circle { stroke-dashoffset: 0; }
.office__city { color: #fff; font-family: var(--font); font-weight: 600; font-size: 2.1rem; line-height: 1.1; margin: 0 0 20px; transform: translateZ(26px); }
.office__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; font-family: var(--font-display); font-size: 1.06rem; }
.office__list li { display: flex; gap: 14px; align-items: flex-start; color: #fff; }
.office__list .icon { width: 22px; height: 22px; color: #fff; margin-top: 2px; }
.office__list a { color: #fff; text-decoration: none; }
.office__list a:hover { color: var(--amber); }

/* Entrance: offices slide up / form slides in from the right */
.js .touch-band .office.reveal { opacity: 0; transform: translateY(50px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.js .touch-band .office.reveal.is-in { opacity: 1; transform: none; }
.js .touch-band__form.reveal { opacity: 0; transform: translateX(60px); transition: opacity .8s ease .2s, transform .9s cubic-bezier(.2, .8, .2, 1) .2s; }
.js .touch-band__form.reveal.is-in { opacity: 1; transform: none; }

/* Band form: white fields, dark submit (like amecuae.com) */
.cw-form--band { gap: 10px; }
.cw-form--band input, .cw-form--band textarea {
	background: #fff; border: 0; border-radius: 0; padding: 12px 16px; font-size: 1rem; color: var(--ink);
	box-shadow: 0 10px 22px -16px rgba(0, 0, 0, .55); transition: box-shadow .2s, transform .2s;
}
.cw-form--band input:focus, .cw-form--band textarea:focus { background: #fff; box-shadow: 0 0 0 3px rgba(232, 144, 26, .7); transform: translateY(-1px); }
.cw-form--band ::placeholder { color: #6b7480; }
.cw-form--band .cw-submit { justify-self: start; background: var(--navy-800); border-color: var(--navy-800); color: #fff; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; padding: 12px 26px; }
.cw-form--band .cw-submit:hover { background: var(--amber); border-color: var(--amber); color: var(--navy-900); }
.touch-band .cw-alert { margin-bottom: 12px; }

@media (max-width: 980px) {
	.touch-band__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.touch-band__form { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.touch-band { padding: 64px 0 72px; }
	.touch-band__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.office__city { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
	.js .office.reveal .office__art path, .js .office.reveal .office__art circle { stroke-dashoffset: 0; transition: none; }
	.js .touch-band .office.reveal, .js .touch-band__form.reveal { opacity: 1; transform: none; }
}

/* Footer: copyright line only (contact details live in the Get in Touch band) */
.site-footer { border-top: 0; }
.site-footer__bottom { border-top: 0; }

/* Carousel dots readable on light photos */
.cw-carousel__dots { background: rgba(18, 25, 32, .5); padding: 7px 9px; }

/* ==========================================================================
   About Us page (amecuae.com/about-us layout)
   ========================================================================== */
.ab-kicker { font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin: 0 0 10px; }
.ab-hero .fac-hero__text p { margin-bottom: 28px; }

.ab-journey { background: var(--bg-soft); padding: 100px 0 90px; scroll-margin-top: var(--header-h); }
.ab-journey__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.ab-journey__text h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 18px; }
.ab-journey__text p:not(.ab-kicker) { font-family: var(--font-display); font-size: 1.06rem; color: #3c4450; }
.ab-journey__text .btn { margin-top: 10px; }
.ab-journey__media { position: relative; }
.fac-frame > img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(18, 25, 32, .55); }
.ab-funfact {
	position: absolute; left: -26px; bottom: -30px; z-index: 2; background: var(--brand); color: #fff; padding: 20px 26px; min-width: 190px;
	box-shadow: 0 24px 40px -18px rgba(15, 92, 156, .7); transform: perspective(600px) rotateY(10deg); transition: transform .4s;
}
.ab-funfact:hover { transform: perspective(600px) rotateY(0); }
.ab-funfact strong { display: block; font-family: var(--font-display); font-size: 3rem; line-height: 1; }
.ab-funfact span { font-size: .9rem; opacity: .9; }
.ab-counters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 90px; }
.ab-counter { background: #fff; border: 1px solid #d6e7f5; border-bottom: 3px solid var(--brand); padding: 26px 24px; transition: transform .4s, box-shadow .4s; }
.ab-counter:hover { transform: translateY(-6px); box-shadow: 0 26px 40px -24px rgba(18, 25, 32, .45); }
.ab-counter strong { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--navy-800); font-variant-numeric: tabular-nums; }
.ab-counter small { font-size: .42em; color: var(--brand); margin-left: 4px; }
.ab-counter > span { display: block; margin-top: 10px; font-family: var(--font-display); color: #3c4450; }

.ab-what { padding: 70px 0; background: #fff; border-bottom: 1px solid var(--line); }
.ab-what__inner { display: flex; gap: 40px; align-items: center; justify-content: space-between; }
.ab-what h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 10px; }
.ab-what p { font-family: var(--font-display); font-size: 1.06rem; color: #3c4450; max-width: 76ch; margin: 0; }
.ab-what .btn { flex: none; }

.ab-direction { background: var(--bg-soft); padding: 100px 0; }
.ab-direction__head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.ab-direction__head h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 0; }
.ab-dir-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.ab-dir { perspective: 900px; }
.ab-dir__inner { height: 100%; background: #fff; border: 1px solid #d6e7f5; padding: 34px 30px; transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; }
.ab-dir:hover .ab-dir__inner { box-shadow: 0 30px 50px -28px rgba(18, 25, 32, .5); }
.ab-dir__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; background: var(--brand); color: #fff; margin-bottom: 18px; box-shadow: 0 14px 24px -12px rgba(15, 92, 156, .7); }
.ab-dir__icon .icon { width: 28px; height: 28px; }
.ab-dir h3 { font-size: 1.4rem; margin-bottom: 8px; }
.ab-dir p { margin: 0; font-family: var(--font-display); font-size: 1.04rem; color: #3c4450; }

.ab-values { padding: 100px 0 40px; }
.ab-values .fac-split { margin-bottom: 80px; }

.ab-banner {
	position: relative; color: #fff; padding: 110px 0; text-align: center;
	background: linear-gradient(100deg, rgba(18, 25, 32, .88), rgba(15, 92, 156, .7)), var(--ab-banner-img) center / cover fixed no-repeat;
}
.ab-banner__inner { max-width: 860px; }
.ab-banner h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 16px; }
.ab-banner p { color: rgba(255, 255, 255, .88); font-family: var(--font-display); font-size: 1.12rem; margin-bottom: 28px; }

.ab-quality { padding: 100px 0; }
.ab-stack { position: relative; min-height: 420px; }
.ab-stack img { position: absolute; object-fit: cover; box-shadow: 0 30px 60px -28px rgba(18, 25, 32, .6); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.ab-stack__a { top: 0; right: 0; width: 78%; aspect-ratio: 3 / 2; transform: perspective(1000px) rotateY(-8deg); }
.ab-stack__b { left: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 6px solid #fff; transform: perspective(1000px) rotateY(8deg) translateZ(30px); }
.ab-stack:hover .ab-stack__a, .ab-stack:hover .ab-stack__b { transform: none; }

.ab-delivery { background: #eef3f8; padding: 100px 0; }
.ab-steps { list-style: none; counter-reset: s; margin: 0 0 30px; padding: 0; display: grid; gap: 16px; }
.ab-steps li { counter-increment: s; position: relative; padding: 0 0 0 64px; font-family: var(--font-display); font-size: 1.04rem; color: #3c4450; }
.ab-steps li::before { content: "0" counter(s); position: absolute; left: 0; top: 2px; width: 46px; height: 46px; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; box-shadow: 0 12px 20px -10px rgba(15, 92, 156, .7); }
.ab-steps strong { display: block; color: var(--navy-800); font-size: 1.15rem; }

@media (max-width: 980px) {
	.ab-journey__inner { grid-template-columns: minmax(0, 1fr); gap: 60px; }
	.ab-counters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ab-dir-grid { grid-template-columns: minmax(0, 1fr); }
	.ab-what__inner { flex-direction: column; align-items: flex-start; }
	.ab-banner { background-attachment: scroll; }
}
@media (max-width: 600px) {
	.ab-journey, .ab-direction, .ab-quality, .ab-delivery { padding: 64px 0; }
	.ab-counters { margin-top: 70px; gap: 14px; }
	.ab-funfact { left: 0; }
	.ab-stack { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
	.ab-funfact, .ab-stack img { transform: none; }
}
