/* Aquarius site layout — builds on industry.css tokens */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
a { color: var(--color-accent-700); }
a:hover { color: var(--color-accent-800); }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--color-bg); padding: 8px 12px; }
.icon { display: block; flex: none; }
.btn { white-space: nowrap; flex: none; }
.btn-md { padding: 12px 20px; font-size: 17px; }
.btn-lg { padding: 14px 24px; font-size: 18px; }
.btn-ghost { font-size: 16px; }
.btn-paper { background: var(--color-bg); color: var(--color-accent-900); border-color: var(--color-bg); }
.btn-paper:hover { background: var(--color-accent-100); color: var(--color-accent-900); }
.btn-outline-paper { color: var(--color-bg); border-color: var(--color-accent-500); }
.btn-outline-paper:hover { color: var(--color-bg); background: color-mix(in srgb, var(--color-bg) 10%, transparent); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--color-accent-700); font-weight: 500; margin-bottom: 8px; }
.kicker-sm { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent-700); }
.mono { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--color-accent-700); }
.more { font-family: var(--font-heading); font-weight: 600; font-size: 15px; color: var(--color-accent-700); }
.h2 { font-size: 44px; line-height: 1.02; margin: 0; text-wrap: balance; }
.h3 { font-size: 34px; margin: 16px 0 0; }
.lead { font-size: 19px; line-height: 1.5; margin: 0; max-width: 38em; text-wrap: pretty; }
.page-lead { margin-bottom: 48px; }
.body-lg { font-size: 16px; line-height: 1.6; margin: 0; text-wrap: pretty; }
.stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--color-bg); border-bottom: 1px solid var(--color-divider); }
.site-bar { display: flex; align-items: center; gap: 12px 28px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.logo { display: block; line-height: 0; }
.logo img { height: 42px; width: auto; }
.main-nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.main-nav a { font-family: var(--font-heading); font-weight: 600; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--color-text); padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--color-accent-700); border-bottom-color: var(--color-accent); }
.header-call { padding: 10px 16px; font-size: 16px; letter-spacing: .03em; }
.header-call:hover { color: var(--color-bg); }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .header-call { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .main-nav { order: 5; display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--color-divider); }
}
@media (max-width: 480px) { .header-call span { display: none; } .logo img { height: 34px; } }

/* imagery */
.photo { margin: 0; display: block; background: repeating-linear-gradient(135deg, var(--color-neutral-200) 0 8px, var(--color-bg) 8px 16px); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.r-5-4 { aspect-ratio: 5/4; } .r-4-3 { aspect-ratio: 4/3; } .r-3-2 { aspect-ratio: 3/2; } .r-16-9 { aspect-ratio: 16/9; }

/* home */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 40px; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-copy .kicker { margin: 0; }
.hero h1 { font-size: clamp(44px, 6.4vw, 76px); line-height: .98; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.hero .btn-row { padding-top: 8px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.fact { padding: 24px; border-right: 1px solid var(--color-divider); display: flex; flex-direction: column; gap: 4px; }
.fact-v { font-family: var(--font-heading); font-weight: 600; font-size: 44px; line-height: 1; color: var(--color-accent-700); }
.fact-k { font-size: 14px; line-height: 1.4; }
.band { border-top: 1px solid var(--color-divider); }
.band > .wrap { padding-top: 64px; padding-bottom: 64px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px; }
.prose { display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.prose p { margin: 0; }
.callout { margin-top: 8px !important; padding: 16px 18px; font-weight: 500; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.grid-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 24px; }
.svc-card { padding: 24px; gap: 12px; text-decoration: none; color: inherit; min-height: 220px; }
.svc-card:hover { background: var(--color-accent-100); color: inherit; }
.svc-card h3 { font-size: 28px; margin: 0; line-height: 1.05; }
.svc-card p { margin: 0; font-size: 15px; line-height: 1.5; flex: 1; }
.grid-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 40px 28px; }
.proj { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.proj[hidden] { display: none; }
.proj .photo { margin-bottom: 6px; }
.proj h2, .proj h3 { font-size: 25px; margin: 0; line-height: 1.08; }
.proj p { margin: 0; font-size: 15px; line-height: 1.5; }
.proj:hover { color: inherit; }
.proj:hover h2, .proj:hover h3 { color: var(--color-accent-700); }
.grid-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.review { margin: 0; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.stars { color: var(--color-accent-700); letter-spacing: 3px; }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.5; }
.review figcaption { margin: 0; font-size: 13px; }

/* inner pages */
.page { padding-top: 40px; padding-bottom: 72px; }
.page h1 { font-size: clamp(44px, 6vw, 68px); line-height: 1; margin: 0 0 16px; text-wrap: balance; }
.layout-aside .stack h1 { margin: 0; }
.project-h1 { max-width: 16em; margin-bottom: 32px !important; font-size: clamp(40px, 5.6vw, 64px) !important; }
.crumbs { font-size: 13px; margin-bottom: 24px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--color-neutral-600); }
.grid-svc-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 28px; }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); text-decoration: none; color: inherit; }
.svc-row:hover { background: var(--color-accent-100); color: inherit; }
.svc-row .photo { min-height: 240px; }
.svc-row-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.svc-row-body h2 { font-size: 30px; margin: 0; line-height: 1.05; }
.svc-row-body p { margin: 0; font-size: 15px; line-height: 1.5; flex: 1; }
@media (max-width: 560px) { .svc-row { grid-template-columns: 1fr; } .svc-row .photo { aspect-ratio: 16/9; min-height: 0; } }
.layout-aside { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .layout-aside { grid-template-columns: minmax(0, 1fr); } }
.aside { padding: 28px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.aside h2 { font-size: 28px; margin: 0; }
.aside p { margin: 0; font-size: 15px; line-height: 1.5; }
.aside-phone { font-family: var(--font-heading); font-weight: 600; font-size: 32px; text-decoration: none; }
.aside-links { border-top: 1px solid var(--color-divider); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer-h { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-neutral-700); margin-bottom: 8px; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-divider); }
.steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--color-divider); font-size: 16px; line-height: 1.5; }
.step-n { font-family: var(--font-heading); font-weight: 600; font-size: 24px; color: var(--color-accent-700); line-height: 1.1; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--color-divider); }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--color-divider); font-size: 16px; }
.checks .icon { color: var(--color-accent-700); margin-top: 3px; }
.related { border-top: 1px solid var(--color-divider); margin-top: 64px; padding-top: 48px; }
.filters { display: flex; flex-wrap: wrap; margin-bottom: 40px; }
.filters button { font-family: var(--font-heading); font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; padding: 10px 18px; border: 1px solid var(--color-divider); margin: 0 -1px -1px 0; cursor: pointer; background: transparent; color: var(--color-text); }
.filters button:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.filters button[aria-pressed="true"] { background: var(--color-accent); color: var(--color-bg); }
.filters span { font-family: ui-monospace, Menlo, monospace; font-size: 11px; opacity: .7; }
.facts-table { font-size: 15px; }
.facts-table th { width: 40%; padding: 12px 8px 12px 0; }
.facts-table td { padding: 12px 0; }
.grid-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.prevnext { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); border-top: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); }
.prevnext a { padding: 24px 0; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 4px; }
.prevnext .pn-next { text-align: right; }
.pn-title { font-family: var(--font-heading); font-weight: 600; font-size: 22px; }
.prevnext a:hover .pn-title { color: var(--color-accent-700); }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: start; }
.form-card { padding: 32px; }
.form-card h2 { font-size: 28px; margin: 0; }
.form-card .input { min-height: 44px; font-size: 16px; }
.form-card textarea.input { min-height: 150px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 20px; }
.has-error .input { border-color: var(--color-text); border-width: 2px; }
.field-error, .form-alert { font-size: 13px; font-weight: 500; margin-top: 6px; color: var(--color-text); }
.form-alert { border: 1px solid var(--color-text); padding: 12px; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-list { font-style: normal; display: flex; flex-direction: column; border-top: 1px solid var(--color-divider); }
.contact-list > * { display: flex; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--color-divider); text-decoration: none; color: inherit; font-size: 17px; overflow-wrap: anywhere; }
.contact-list .icon { color: var(--color-accent-700); }
.contact-phone { font-family: var(--font-heading); font-weight: 600; font-size: 26px; }
.map { aspect-ratio: 4/3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1); }

/* CTA + footer */
.cta-band { background: var(--color-accent-900); color: var(--color-bg); }
.cta-inner { padding-top: 64px; padding-bottom: 64px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(34px, 4.4vw, 52px); margin: 0 0 8px; line-height: 1; }
.cta-band p { margin: 0; font-size: 17px; color: var(--color-accent-200); }
.site-footer { border-top: 1px solid var(--color-divider); font-size: 14px; line-height: 1.7; }
.footer-grid { padding-top: 48px; padding-bottom: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.footer-grid a { color: inherit; }
.footer-grid address { font-style: normal; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand img { height: 38px; width: auto; align-self: flex-start; }
.footer-legal { padding-top: 16px; padding-bottom: 32px; font-size: 12px; color: var(--color-neutral-700); }

/* project carousel (scroll-snap; works without JS, main.js adds buttons + dots) */
.carousel { position: relative; min-width: 0; }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--color-neutral-200); }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; aspect-ratio: 3/2; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; z-index: 2; }
.carousel-btn:hover { background: rgba(0,0,0,.8); }
.carousel-btn[hidden] { display: none; }
.carousel-btn.prev { left: 0; } .carousel-btn.next { right: 0; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.carousel-dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 1px solid #fff; background: rgba(0,0,0,.35); cursor: pointer; }
.carousel-dots button[aria-current="true"] { background: #fff; }
