/*
Theme Name: Trellis
Theme URI: https://www.trellissoftwaresolutions.com
Author: Trellis Software Solutions
Author URI: https://www.trellissoftwaresolutions.com
Description: Company theme for Trellis Software Solutions. One-page home with services, process, about and contact sections; contact details and home text are editable under Appearance → Customize → Trellis settings.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trellis
*/

:root {
	--green: #1F5C4A;
	--green-dark: #163F33;
	--green-tint: #EEF4F1;
	--orange: #DE885F;
	--orange-text: #A6522A;
	--ink: #1B2420;
	--muted: #535A56;
	--line: #DCE3DF;
	--white: #FFFFFF;
	--radius: 10px;
	--wrap: 1160px;
	--font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	background: var(--green); color: var(--white); padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 48px; padding: 12px 24px;
	background: var(--green); color: var(--white);
	border: 2px solid var(--green); border-radius: 999px;
	font: 600 16px/1 var(--font); text-decoration: none;
	transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green-tint); color: var(--green-dark); border-color: var(--green-dark); }
.btn-small { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn .icon { width: 18px; height: 18px; }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(1.4) blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-word { height: 34px; width: auto; }
.custom-logo { max-height: 56px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 10px 0; white-space: nowrap; }
.site-nav .menu a:hover, .site-nav .menu .current-menu-item > a { color: var(--green); }

.nav-toggle {
	display: none; width: 48px; height: 48px; padding: 0;
	background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
	display: block; width: 22px; height: 2px; background: var(--ink); margin: 0 auto;
	position: relative; transition: transform .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Common section bits */
.kicker {
	font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: var(--orange-text); margin-bottom: 14px;
}
.kicker-light { color: #F6CDB8; }
.section { padding: 96px 0; }
.section-tint { background: var(--green-tint); }
.section-green { background: var(--green); color: var(--white); }
.section-green .section-title, .section-green h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-title { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.01em; }

/* Hero */
.hero { padding: 88px 0 96px; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-title { font-size: clamp(40px, 6.2vw, 72px); font-weight: 800; letter-spacing: -.02em; color: var(--green); }
.hero-text { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { display: flex; justify-content: center; position: relative; isolation: isolate; }
.hero-art::before {
	content: ""; position: absolute; inset: -10% -20%;
	background-image:
		linear-gradient(45deg, transparent 47%, var(--green-tint) 47%, var(--green-tint) 53%, transparent 53%),
		linear-gradient(-45deg, transparent 47%, var(--green-tint) 47%, var(--green-tint) 53%, transparent 53%);
	background-size: 64px 64px;
	z-index: -1;
	mask-image: radial-gradient(closest-side, #000 40%, transparent 100%);
	-webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent 100%);
}

/* Hero terminal */
.terminal {
	position: relative; width: 100%; max-width: 460px;
	background: #0F1F1A; border-radius: 12px; text-align: left;
	box-shadow: 0 30px 60px rgba(22, 63, 51, .35);
}
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #1A2E27; border-radius: 12px 12px 0 0; }
.terminal-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3A5249; }
.terminal-bar span:first-child { background: var(--orange); }
.terminal-title { margin-left: 10px; font: normal 12px/1 var(--mono); color: #8FA79D; }
.terminal-body { padding: 18px 20px 22px; font: 14px/1.8 var(--mono); color: #D5E0DA; }
.t-line { white-space: pre-wrap; }
.t-cmd { color: var(--white); }
.t-cmd::before { content: "$ "; color: #7FD1AE; }
.t-ok::before { content: "\2713  "; color: var(--orange); }
.t-run { color: #8FA79D; }
.t-run::before { content: "\2192  "; color: #F6CDB8; }
.t-cursor {
	display: inline-block; width: 8px; height: 1.1em; margin-left: 2px; vertical-align: text-bottom;
	background: #7FD1AE; animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Living logo mark: draws in, then the centre node pulses */
.hero-art .trellis-mark {
	position: absolute; top: -56px; right: -28px; z-index: 2; width: 132px; height: auto;
	filter: drop-shadow(0 10px 18px rgba(22, 63, 51, .25));
}
.hero-art .trellis-mark rect, .hero-art .trellis-mark circle { transform-box: fill-box; transform-origin: center; }
.hero-art .trellis-mark g > rect:first-child { animation: mark-in .7s cubic-bezier(.2, .8, .2, 1.2) both; }
.hero-art .trellis-mark g > rect + rect { animation: mark-pop .4s ease-out both; }
.hero-art .trellis-mark g > rect:nth-child(2) { animation-delay: .35s; }
.hero-art .trellis-mark g > rect:nth-child(3) { animation-delay: .45s; }
.hero-art .trellis-mark g > rect:nth-child(4) { animation-delay: .55s; }
.hero-art .trellis-mark g > rect:nth-child(5) { animation-delay: .65s; }
.hero-art .trellis-mark .mark-dot { animation: mark-pop .4s .85s ease-out both, mark-pulse 2.4s 1.4s ease-in-out infinite; }
.hero-art .trellis-mark .mark-ping { opacity: 0; animation: mark-ping 2.4s 1.4s ease-out infinite; }
@keyframes mark-in { from { transform: scale(0) rotate(-90deg); opacity: 0; } }
@keyframes mark-pop { from { transform: scale(0); opacity: 0; } }
@keyframes mark-pulse { 50% { transform: scale(1.15); } }
@keyframes mark-ping { from { transform: scale(1); opacity: .6; } to { transform: scale(2.6); opacity: 0; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service {
	padding: 28px; border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--white); transition: border-color .15s, transform .15s;
}
.service:hover { border-color: var(--green); transform: translateY(-2px); }
.service p { color: var(--muted); margin: 0; }
.service-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px;
	background: var(--green-tint); color: var(--green);
}
.service-icon .icon { width: 26px; height: 26px; }
.service-title { font-size: 21px; font-weight: 700; }
.service-cta { background: var(--green); border-color: var(--green); color: var(--white); text-decoration: none; display: flex; flex-direction: column; justify-content: center; }
.service-cta:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.service-cta .service-title { color: var(--white); }
.service-cta p { color: #D5E0DA; margin-bottom: 18px; }
.service-cta-link { font-weight: 700; color: #F6CDB8; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { counter-increment: step; position: relative; padding-top: 64px; }
.step::before {
	content: counter(step, decimal-leading-zero);
	position: absolute; top: 0; left: 0;
	font-size: 40px; font-weight: 800; color: var(--orange); line-height: 1;
}
.step h3 { font-size: 21px; }
.step p { color: var(--muted); margin: 0; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.about-text { font-size: 19px; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; font-size: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon { flex: none; color: #F6CDB8; margin-top: 3px; }
.contact-list a { color: var(--white); }
.contact-list a:hover { color: #F6CDB8; }
.contact-card {
	background: var(--white); color: var(--ink); border-radius: 14px; padding: 36px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}
.contact-card h3 { color: var(--ink); font-size: 24px; }
.contact-card p { color: var(--muted); }
.contact-card .btn { margin: 6px 10px 0 0; }

/* Basic form styling (Contact Form 7, WPForms, comments) */
.contact-card input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.contact-card textarea, .contact-card select,
.comment-form input:not([type="submit"]), .comment-form textarea {
	width: 100%; padding: 12px 14px; font: 16px var(--font); color: var(--ink);
	border: 1px solid #B9C4BE; border-radius: 8px; background: var(--white);
}
.contact-card textarea, .comment-form textarea { min-height: 140px; }
.contact-card input[type="submit"], .comment-form input[type="submit"] {
	min-height: 48px; padding: 12px 28px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--green); color: var(--white); font: 600 16px var(--font);
}
.contact-card label { font-weight: 600; font-size: 15px; }

/* Footer */
.site-footer { position: relative; background: var(--green-dark); color: #D5E0DA; padding-top: 72px; font-size: 15px; overflow: hidden; isolation: isolate; }
.site-footer::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07;
	background-image:
		linear-gradient(45deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%),
		linear-gradient(-45deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%);
	background-size: 56px 56px;
	-webkit-mask-image: linear-gradient(180deg, #000, transparent 60%);
	mask-image: linear-gradient(180deg, #000, transparent 60%);
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #F6CDB8; }

.footer-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
	padding: 36px 40px; margin-bottom: 64px; border-radius: 16px;
	background: linear-gradient(120deg, var(--green) 0%, #2A7560 100%);
	box-shadow: 0 24px 50px rgba(0, 0, 0, .25);
}
.footer-cta-title { color: var(--white); font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 6px; }
.footer-cta p { margin: 0; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer .btn-light { background: var(--white); border-color: var(--white); color: var(--green-dark); }
.site-footer .btn-light:hover { background: #F6CDB8; border-color: #F6CDB8; color: var(--green-dark); }
.site-footer .btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .6); color: var(--white); }
.site-footer .btn-outline-light:hover { background: #25D366; border-color: #25D366; color: var(--white); }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-name { font-weight: 700; font-size: 18px; color: var(--white); margin: 16px 0 8px; }
.footer-about { margin: 0 0 20px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
	border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%;
	transition: background .2s, border-color .2s, transform .2s;
}
.footer-social a:hover { background: var(--orange); border-color: var(--orange); color: var(--white); transform: translateY(-2px); }
.footer-social .icon { width: 18px; height: 18px; }
.footer-heading { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #F6CDB8; margin-bottom: 18px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list a { text-decoration: none; transition: color .15s, padding-left .2s; }
.footer-list a:hover { padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { flex: none; width: 18px; height: 18px; margin-top: 3px; color: #F6CDB8; }
.footer-contact a:hover { padding-left: 0; }
.footer-bottom {
	display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
	border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; padding-bottom: 22px;
}
.footer-bottom p { margin: 0; font-size: 14px; }
.footer-top { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; text-decoration: none; }
.footer-top .icon { width: 16px; height: 16px; transition: transform .2s; }
.footer-top:hover .icon { transform: translateY(-3px); }

/* Floating WhatsApp chat */
body:has(.wa-float) .footer-bottom { padding-bottom: 96px; } /* keep the floating button off the last line */
.wa-float {
	position: fixed; right: 24px; bottom: 24px; z-index: 60;
	display: flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px;
	background: var(--white); color: var(--ink); text-decoration: none;
	border: 1px solid var(--line); border-radius: 999px;
	box-shadow: 0 12px 30px rgba(22, 63, 51, .22);
	animation: wa-in .5s 1.2s cubic-bezier(.2, .8, .2, 1.2) both;
	transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(22, 63, 51, .3); }
.wa-icon {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%; background: #25D366; color: var(--white);
}
.wa-icon .icon { width: 24px; height: 24px; }
.wa-icon::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366;
	animation: wa-ping 2.4s 2s ease-out infinite;
}
.wa-text { display: flex; flex-direction: column; line-height: 1.2; }
.wa-text strong { font-size: 15px; }
.wa-text small { font-size: 12px; color: var(--muted); }
@keyframes wa-in { from { transform: translateY(24px) scale(.8); opacity: 0; } }
@keyframes wa-ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }

/* Inner pages and posts */
.page-wrap { padding-top: 64px; padding-bottom: 96px; }
.narrow { max-width: 808px; }
.page-head { margin-bottom: 32px; }
.page-title { font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; color: var(--green); }
.post-meta { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card img { border-radius: var(--radius); margin-bottom: 14px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card-title { font-size: 21px; }
.post-card-title a { color: var(--ink); text-decoration: none; }
.post-card-title a:hover { color: var(--green); }
.post-hero { margin: 0 0 32px; }
.post-hero img { border-radius: var(--radius); }
.entry-content { font-size: 18px; }
.entry-content h2 { font-size: 30px; margin-top: 1.6em; }
.entry-content h3 { font-size: 23px; margin-top: 1.4em; }
.entry-content img { border-radius: 8px; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--orange); color: var(--muted); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, figcaption { font-size: 14px; color: var(--muted); }
.nav-links { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; flex-wrap: wrap; }
.notfound { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }

/* Interaction polish */
::selection { background: #F6CDB8; color: var(--ink); }

.btn, .contact-card input[type="submit"], .comment-form input[type="submit"] {
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .2s;
}
.btn:hover, .contact-card input[type="submit"]:hover, .comment-form input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(31, 92, 74, .25);
}
/* Click: press down + orange highlight ring */
.btn:active, .contact-card input[type="submit"]:active, .comment-form input[type="submit"]:active {
	transform: translateY(0) scale(.97);
	box-shadow: 0 0 0 5px rgba(222, 136, 95, .45);
	background: var(--orange-text); border-color: var(--orange-text); color: var(--white);
}
.btn-ghost:active { background: #F6CDB8; border-color: var(--orange-text); color: var(--ink); }

/* Nav: sliding orange underline */
.site-nav .menu a { position: relative; transition: color .15s; }
.site-nav .menu a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
	background: var(--orange); border-radius: 2px;
	transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.site-nav .menu a:hover::after, .site-nav .menu .current-menu-item > a::after, .site-nav .menu a.is-active::after { transform: scaleX(1); }
.site-nav .menu a.is-active { color: var(--green); }

/* Section titles: short orange accent bar */
.section-head .section-title::after {
	content: ""; display: block; width: 56px; height: 4px; margin-top: 18px;
	background: var(--orange); border-radius: 2px;
}

/* Service cards: lift, shadow, icon fills on hover, press on click */
.service { transition: border-color .15s, transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(31, 92, 74, .12); }
.service:active { transform: translateY(-1px) scale(.99); }
.service-icon { transition: background .2s, color .2s; }
.service:hover .service-icon { background: var(--green); color: var(--white); }
.service-cta:active { box-shadow: 0 0 0 5px rgba(222, 136, 95, .45); }
.service-cta-link { transition: letter-spacing .2s; }
.service-cta:hover .service-cta-link { letter-spacing: .02em; }

/* Steps: number gets a tinted badge */
.step::before {
	background: var(--green-tint); padding: 6px 10px; border-radius: 8px;
}

/* Form fields: highlight on focus */
.contact-card input:focus, .contact-card textarea:focus, .contact-card select:focus,
.comment-form input:focus, .comment-form textarea:focus {
	outline: none; border-color: var(--green);
	box-shadow: 0 0 0 4px rgba(31, 92, 74, .15);
}

/* Technology strip */
.tech { padding: 40px 0 44px; border-bottom: 1px solid var(--line); }
.tech-title { text-align: center; margin-bottom: 22px; }
.tech-track {
	display: flex; overflow-x: auto; scrollbar-width: none; cursor: grab; user-select: none;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tech-track::-webkit-scrollbar { display: none; }
.tech-track.dragging { cursor: grabbing; }
.tech-list { display: flex; flex: none; gap: 16px; margin: 0; padding: 8px 16px 8px 0; list-style: none; }
.tech-item {
	display: flex; align-items: center; gap: 12px; padding: 14px 26px 14px 18px;
	border: 1px solid var(--line); border-radius: 999px; background: var(--white);
	font-size: 17px; font-weight: 600; white-space: nowrap;
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
.tech-item img { flex: none; width: 40px; height: 40px; object-fit: contain; transition: transform .2s; }
.tech-item:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(27, 36, 32, .08); }
.tech-item:hover img { transform: scale(1.12); }

/* Services slider */
.slider { position: relative; margin-bottom: 48px; }
.slides {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
	border-radius: 14px; scrollbar-width: none;
	box-shadow: 0 24px 50px rgba(22, 63, 51, .18);
}
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; overflow: hidden; flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 16 / 7; background: var(--green-dark); }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s ease-out; }
.slide:hover img { transform: scale(1); }
.slide::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(15, 31, 26, .88) 0%, rgba(15, 31, 26, .55) 45%, rgba(15, 31, 26, 0) 75%);
}
.slide figcaption {
	position: absolute; left: 0; bottom: 0; top: 0; z-index: 1; max-width: 520px;
	display: flex; flex-direction: column; justify-content: center; padding: 40px 48px; color: #D5E0DA;
}
.slide-count { font: 600 13px/1 var(--mono); letter-spacing: .12em; color: var(--orange); margin-bottom: 14px; }
.slide-title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; color: var(--white); }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 20px; }
.slider-controls[hidden] { display: none; }
.slider-btn {
	width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
	border: 2px solid var(--green); background: var(--white); color: var(--green); font-size: 18px;
	transition: background .15s, color .15s, transform .15s, box-shadow .2s;
}
.slider-btn:hover { background: var(--green); color: var(--white); }
.slider-btn:active { transform: scale(.92); box-shadow: 0 0 0 5px rgba(222, 136, 95, .45); }
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
	width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--line); transition: width .3s, background .3s;
}
.slider-dot[aria-current="true"] { width: 28px; background: var(--orange); }

/* Fade-up on scroll (classes added by assets/js/animations.js) */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity .6s ease-out, transform .6s ease-out; }
.section-head.reveal .section-title::after { width: 0; }
.section-head .section-title::after { transition: width .6s .3s ease-out; }

/* Responsive */
@media (min-width: 861px) and (max-width: 1100px) {
	.site-nav, .site-nav .menu { gap: 22px; }
	.nav-call { width: 44px; padding: 0; justify-content: center; }
	.nav-call span { display: none; }
}

@media (max-width: 960px) {
	.services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
	.about, .contact { grid-template-columns: 1fr; gap: 32px; }
	.post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-cta { padding: 28px; }
}

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--white); border-bottom: 1px solid var(--line);
		padding: 8px 24px 24px;
	}
	.nav-open .site-nav { display: flex; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.site-nav .btn { margin-top: 16px; justify-content: center; }
	.hero { padding: 56px 0 64px; }
	.hero-inner { grid-template-columns: 1fr; }
	.hero-art { justify-content: flex-start; }
	.hero-art .trellis-mark { width: 84px; top: -36px; right: -6px; }
	.terminal-body { font-size: 13px; padding: 16px; }
	.hero-art::before { display: none; }
	.section { padding: 64px 0; }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.wrap { padding-left: 16px; padding-right: 16px; }
	.services, .steps, .post-list, .footer-grid { grid-template-columns: 1fr; }
	.footer-cta-actions, .footer-cta-actions .btn { width: 100%; justify-content: center; }
	.wa-float { right: 16px; bottom: 16px; padding: 6px; }
	.wa-text { display: none; }
	.contact-card { padding: 24px; }
	.hero-actions .btn { flex: 1 1 auto; justify-content: center; }
	.slide { aspect-ratio: 4 / 5; }
	.slide::after { background: linear-gradient(0deg, rgba(15, 31, 26, .92) 0%, rgba(15, 31, 26, .6) 45%, rgba(15, 31, 26, 0) 75%); }
	.slide figcaption { top: auto; right: 0; justify-content: flex-end; padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
	.hero-art .trellis-mark *, .t-cursor, .wa-float, .wa-icon::after { animation: none !important; }
	.slides { scroll-behavior: auto; }
}
