/* Double Down Mechanical - Las Vegas, NV */
:root {
	/* Brand */
	--teal: #2d929e;
	--teal-deep: #1d6a74;
	--teal-mid: #12404a;
	--teal-ink: #0e2a30;
	--teal-night: #0a1d21;
	--teal-glow: #6fd0db;
	--on-teal: #ffffff;
	--gray: #8b8b8c;
	--red: #d5181e;
	--red-deep: #b01318;
	/* Neutrals and text */
	--ink: #14262a;
	--gray-text: #5b6568;
	--line: #dde5e7;
	--input-border: #7d8e92;
	--mist: #f2f6f7;
	--white: #fff;
	--text-on-dark: #d6e8eb;
	--text-on-dark-muted: #b4cdd1;
	/* Feedback */
	--alert-bg: #fff4f4;
	--alert-border: #f3c4c6;
	--status: #3ddc84;
	/* Shape, layout, type */
	--radius: 14px;
	--shadow: 0 14px 40px rgba(14, 42, 48, .14);
	--max: 1200px;
	--font-head: "Sora", "Inter", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 {
	font-family: var(--font-head);
	line-height: 1.15;
	letter-spacing: -.02em;
	margin: 0 0 .6em;
	color: var(--teal-ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.skip {
	position: absolute; left: -999px; top: 0;
	background: var(--red); color: #fff; padding: .7rem 1rem; z-index: 200;
}
.skip:focus { left: 0; color: #fff; }
.eyebrow {
	display: inline-flex; align-items: center; gap: .6rem;
	font-family: var(--font-head); font-weight: 600; font-size: .8rem;
	letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep);
	margin-bottom: 1rem;
}
.eyebrow.on-dark { color: var(--teal-glow); }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--teal); border-radius: 2px; }
.lead { font-size: 1.2rem; color: var(--gray-text); max-width: 62ch; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
	min-height: 48px; padding: .75rem 1.6rem;
	font-family: var(--font-head); font-weight: 600; font-size: .98rem;
	text-decoration: none; border-radius: 999px; border: 2px solid transparent;
	cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(213, 24, 30, .3); }
.btn-red:hover { background: var(--red-deep); color: #fff; }
.btn-teal { background: var(--teal); color: var(--on-teal); }
.btn-teal:hover { background: var(--teal-deep); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--teal-ink); }
.btn-outline { border-color: var(--teal-deep); color: var(--teal-deep); }
.btn-outline:hover { background: var(--teal-deep); color: #fff; }

/* Top bar + header */
.topbar { background: var(--teal-ink); color: var(--text-on-dark); font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 42px; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: var(--teal-glow); }
.topbar svg { width: 16px; height: 16px; }
.topbar .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--status); display: inline-block; margin-right: .5rem; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 82px; }
.brand img { width: 210px; height: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { display: flex; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.nav ul a {
	font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--teal-ink);
	text-decoration: none; padding: .4rem 0; position: relative;
}
.nav ul a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav ul a:hover { color: var(--teal-ink); }
.nav-home { display: none; }
.nav-phone { display: none; white-space: nowrap; }
.menu-btn { display: none; background: none; border: 0; width: 48px; height: 48px; padding: 0; cursor: pointer; border-radius: 10px; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 26px; height: 3px; background: var(--teal-ink); border-radius: 2px; position: relative; margin: auto; transition: transform .25s, background .25s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -8px; } .menu-btn span::after { top: 8px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; background: var(--teal-ink); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.03); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 33, 38, .95) 0%, rgba(10, 33, 38, .8) 42%, rgba(10, 33, 38, .2) 100%); }
.hero .wrap { padding: clamp(4.5rem, 10vw, 8.5rem) 0 clamp(5rem, 9vw, 7.5rem); }
.hero h1 { color: #fff; max-width: 23ch; margin-bottom: .45em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--teal-glow); }
.hero .lead { color: var(--text-on-dark); font-size: 1.25rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 2.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.chips li { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .95rem; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; font-size: .88rem; font-weight: 500; background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.chips svg { width: 16px; height: 16px; color: var(--teal-glow); }

.page-hero { padding: 0; position: relative; color: #fff; isolation: isolate; overflow: hidden; background: linear-gradient(110deg, var(--teal-ink) 0%, var(--teal-mid) 60%, var(--teal-deep) 100%); }
.page-hero::after { content: ""; position: absolute; z-index: -1; right: max(2%, calc(50% - 640px)); top: 50%; width: 260px; height: 179px; transform: translateY(-50%); opacity: .3; background: url("../img/mark-chevrons.svg") center/contain no-repeat; }
.page-hero .wrap { padding: clamp(2rem, 4.5vw, 3.25rem) 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 24ch; margin-bottom: .4em; }
.page-hero .lead { color: var(--text-on-dark); font-size: 1.1rem; margin: 0; max-width: 60ch; }
.crumbs { font-size: .85rem; color: var(--text-on-dark-muted); margin-bottom: .8rem; }
.crumbs a { color: #fff; }

/* Sections */
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.bg-mist { background: var(--mist); }
.bg-dark { background: var(--teal-ink); color: var(--text-on-dark); }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* Stats strip */
.stats { background: var(--teal); color: var(--on-teal); padding: 0; }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { padding: 2rem 1.2rem; text-align: center; border-right: 1px solid rgba(255, 255, 255, .3); }
.stats li:last-child { border: 0; }
.stats strong { display: block; font-family: var(--font-head); font-size: 2.1rem; line-height: 1.1; }
.stats span { font-size: 1.05rem; font-weight: 600; color: var(--on-teal); }

/* Cards */
.grid { display: grid; gap: 1.6rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-4 .card { padding: 1.7rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; position: relative; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--teal); }
.card .icon { width: 58px; height: 58px; border-radius: 14px; background: var(--teal); color: #fff; display: grid; place-items: center; margin-bottom: 1.3rem; }
.card .icon svg { width: 30px; height: 30px; }
.card p { color: var(--gray-text); margin-bottom: 1rem; }
.card ul { color: var(--gray-text); font-size: .98rem; }
.card ul li { margin-bottom: .35rem; }
.more { font-family: var(--font-head); font-weight: 600; font-size: .95rem; text-decoration: none; display: inline-flex; gap: .4rem; }
.more::after { content: "\2192"; transition: transform .2s; }
.more:hover::after { transform: translateX(4px); }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.flip > :first-child { order: 2; }
.split.start { align-items: start; }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.photo.tall img { aspect-ratio: 4/5; }
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 2.1rem; margin-bottom: .8rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/70% no-repeat; }
.badge-float { position: absolute; left: 1.2rem; bottom: 1.2rem; background: #fff; border-radius: 12px; padding: .9rem 1.2rem; box-shadow: var(--shadow); font-family: var(--font-head); font-weight: 700; color: var(--teal-ink); line-height: 1.2; }
.badge-float small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--gray-text); font-size: .8rem; }

/* Specialty list */
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem 2rem; }
.spec { display: grid; grid-template-columns: 54px 1fr; gap: 1.1rem; padding: 1.4rem; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .25s, transform .25s; }
.spec:hover { background: rgba(255, 255, 255, .11); transform: translateX(4px); }
.spec .icon { width: 54px; height: 54px; border-radius: 12px; background: var(--teal); color: #fff; display: grid; place-items: center; }
.spec .icon svg { width: 28px; height: 28px; }
.spec h3 { font-size: 1.12rem; margin-bottom: .3em; }
.spec p { margin: 0; font-size: .97rem; color: var(--text-on-dark-muted); }

.specs .spec:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Gallery */
.gallery { columns: 3; column-gap: 1.2rem; }
.gallery figure { margin: 0 0 1.2rem; break-inside: avoid; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.gallery img { width: 100%; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 2.2rem 1rem .9rem; color: #fff; font-size: .9rem; font-weight: 500; background: linear-gradient(transparent, rgba(10, 33, 38, .88)); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; text-align: left; pointer-events: none; }
.gallery figure:hover figcaption, .gallery button:focus-visible + figcaption { opacity: 1; transform: none; }
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.preview-grid a { display: block; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3; }
.preview-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.preview-grid a:hover img { transform: scale(1.06); }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1200px); max-height: 94vh; width: auto; overflow: visible; }
dialog.lightbox::backdrop { background: rgba(6, 20, 24, .88); backdrop-filter: blur(4px); }
dialog.lightbox img { max-width: 96vw; max-height: 82vh; border-radius: 10px; margin-inline: auto; }
dialog.lightbox p { color: #fff; text-align: center; margin: .8rem 0 0; }
.lb-close { position: absolute; top: -52px; right: 0; background: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--teal-ink); }

/* Process + service detail */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; padding: 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--teal); margin-bottom: .4rem; }
.steps h3 { font-size: 1.1rem; }
.steps p { margin: 0; color: var(--gray-text); font-size: .97rem; }
.service-block { scroll-margin-top: 110px; }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tag { padding: .3rem .8rem; border-radius: 999px; background: var(--mist); color: var(--teal-deep); font-weight: 600; font-size: .85rem; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.4rem; margin-bottom: .9rem; background: #fff; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--teal-ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: .9rem 0 0; color: var(--gray-text); }

/* CTA */
.cta { background: linear-gradient(120deg, var(--teal-deep), var(--teal-ink)); color: #fff; position: relative; overflow: hidden; }
.cta .wrap { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: var(--text-on-dark); max-width: 56ch; }
.cta .chip { width: 230px; margin: 0; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); }

.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0; }
.contact-list li { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; margin-bottom: 1.4rem; align-items: center; }
.contact-list .icon { width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; }
.contact-list .icon svg { width: 24px; height: 24px; }
.contact-list small { display: block; color: var(--gray-text); font-size: .85rem; }
.contact-list a, .contact-list strong { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--teal-ink); text-decoration: none; }
.contact-list a:hover { color: var(--red); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--teal-ink); }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: .8rem 1rem; border: 1.5px solid var(--input-border); border-radius: 10px; background: #fff; color: var(--ink); min-height: 48px; margin-bottom: 1.1rem; transition: border-color .2s, box-shadow .2s; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(45, 146, 158, .2); outline: none; }
.form .note { font-size: .88rem; color: var(--gray-text); margin: 1rem 0 0; }
.hp { position: absolute; left: -9999px; }
.emergency { background: var(--alert-bg); border: 1px solid var(--alert-border); border-left: 6px solid var(--red); border-radius: 12px; padding: 1.2rem 1.4rem; }
.emergency strong { color: var(--red-deep); font-family: var(--font-head); }

/* Footer */
.site-footer { background: var(--teal-night); color: var(--text-on-dark-muted); padding: 4.5rem 0 0; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.2rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--teal-glow); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.footer-logo { background: #fff; display: inline-block; padding: .8rem 1rem; border-radius: 10px; margin-bottom: 1.2rem; }
.footer-logo img { width: 200px; }
.license li { display: flex; gap: .6rem; align-items: baseline; }
.license strong { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.4rem 0; font-size: .88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }

/* Mobile call bar */
.callbar { display: none; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 1020px) {
	.grid-3, .grid-4, .preview-grid { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.gallery { columns: 2; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.stats ul { grid-template-columns: repeat(2, 1fr); }
	.stats li:nth-child(2) { border-right: 0; }
	.stats li:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .3); }
}
@media (max-width: 900px) {
	.menu-btn { display: block; }
	.nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 0 1.25rem; max-height: 0; overflow: hidden; border-bottom: 1px solid var(--line); transition: max-height .35s ease, padding .35s ease; }
	.nav.open { max-height: 480px; padding: 1rem 1.25rem 1.5rem; box-shadow: var(--shadow); }
	.nav ul { flex-direction: column; gap: 0; }
	.nav ul a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
	.nav ul a::after { display: none; }
	.nav-home, .nav-phone { display: block; }
	.nav-phone { display: inline-flex; margin-top: 1.1rem; }
}
@media (max-width: 900px) {
	.brand img { width: 175px; }
	.split, .contact-grid, .cta .wrap { grid-template-columns: 1fr; }
	.split.flip > :first-child { order: 0; }
	.cta .chip { width: 150px; }
	.specs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	body { font-size: 1rem; padding-bottom: 64px; }
	.topbar .hide-sm { display: none; }
	.topbar .wrap { flex-direction: column; justify-content: center; gap: .1rem; font-size: .85rem; padding-block: .4rem; }
	.grid-3, .grid-4, .grid-2, .preview-grid, .steps, .form .row { grid-template-columns: 1fr; }
	.gallery { columns: 1; }
	.footer-grid { grid-template-columns: 1fr; }
	.hero h1 { max-width: none; }
	.callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; z-index: 150; left: 0; right: 0; bottom: 0; box-shadow: 0 -6px 20px rgba(0, 0, 0, .18); }
	.callbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 56px; font-family: var(--font-head); font-weight: 700; text-decoration: none; color: #fff; }
	.callbar svg { width: 20px; height: 20px; }
	.callbar a:first-child { background: var(--red); }
	.callbar a:last-child { background: var(--teal); color: var(--on-teal); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
}
@media print { .topbar, .site-header, .callbar, .cta { display: none; } }

.contact-grid > *, .split > *, .cta .wrap > * { min-width: 0; }
.contact-list a, .contact-list strong { overflow-wrap: anywhere; font-size: clamp(1rem, 4.4vw, 1.2rem); }
.topbar a { overflow-wrap: anywhere; }

@media (hover: none) {
	.gallery figcaption { opacity: 1; transform: none; }
}

/* Chip the mascot: light, optional motion (body bob + swinging toolbox arm) */
.chip { position: relative; width: min(380px, 80%); aspect-ratio: 900 / 861; margin: auto; filter: drop-shadow(0 20px 28px rgba(14, 42, 48, .25)); transform-origin: 50% 100%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.chip:focus-visible { outline: 3px solid var(--teal-glow); outline-offset: 6px; border-radius: 50%; }
.chip img { position: absolute; inset: 0; width: 100%; height: 100%; }
.chip-arm { transform-origin: 76.4% 52.1%; }
@media (prefers-reduced-motion: no-preference) {
	.chip { animation: chip-bob 4.5s ease-in-out infinite; }
	.chip-arm { animation: chip-swing 3s ease-in-out infinite; }
	.chip.in-view { animation: chip-hop .9s cubic-bezier(.3, .7, .4, 1) 1, chip-bob 4.5s ease-in-out .9s infinite; }
	/* Poke (click/tap) uses translate/rotate/scale so it layers on top of the idle bob instead of being overridden by it */
	.chip.wiggle { animation: chip-hop .9s cubic-bezier(.3, .7, .4, 1) 1, chip-bob 4.5s ease-in-out .9s infinite, chip-wiggle 1s ease-in-out 1; }
	.chip.wiggle .chip-arm { animation: chip-swing 3s ease-in-out infinite, chip-swing-big 1.3s ease-in-out 1; }
}
@keyframes chip-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.4%); } }
@keyframes chip-swing { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes chip-swing-big { 0%, 100% { rotate: 0deg; } 20% { rotate: 28deg; } 45% { rotate: -22deg; } 70% { rotate: 14deg; } 85% { rotate: -6deg; } }
@keyframes chip-hop { 0% { transform: translateY(0) scale(1, 1); } 25% { transform: translateY(0) scale(1.04, .95); } 55% { transform: translateY(-5%) scale(.98, 1.03); } 80% { transform: translateY(0) scale(1.03, .97); } 100% { transform: translateY(0) scale(1, 1); } }
@keyframes chip-wiggle { 0%, 100% { translate: 0 0; rotate: 0deg; scale: 1; } 15% { translate: 0 -7%; rotate: -10deg; scale: 1.06; } 35% { translate: 0 0; rotate: 9deg; scale: .97; } 55% { translate: 0 -4%; rotate: -6deg; scale: 1.03; } 75% { translate: 0 0; rotate: 3deg; scale: 1; } }

/* Text under Chip (added by main.js): invites a poke, then answers with a quip */
.chip-wrap { text-align: center; }
.chip-hint { margin: 1rem auto 0; min-height: 3em; max-width: 24ch; font-size: .95rem; line-height: 1.5; font-style: italic; color: var(--gray-text); }
.chip-hint.quip { font-style: normal; font-weight: 600; color: var(--ink); }
.cta .chip-wrap { width: 230px; }
.cta .chip-hint { color: var(--text-on-dark-muted); }
.cta .chip-hint.quip { color: #fff; }
@media (max-width: 900px) {
	.cta .chip-wrap { width: auto; text-align: left; }
	.cta .chip-hint { margin-left: 0; }
}
