/* ==========================================================
   AA Plastics | Design 06: Paper, Cobalt & Amber
   Bento layout, editorial type, cursor-aware tiles
   ========================================================== */

:root {
  --paper: #f3efe6;
  --paper-2: #e9e3d6;
  --ink: #101418;
  --ink-2: #3b4148;
  --mute: #7a8088;
  --cobalt: #1f3fff;
  --amber: #ffb020;
  --coral: #e0552b;
  --mint: #12a37a;
  --r: 22px;
  --tile-pad: 1.6rem;
  --pad: clamp(1rem, 4vw, 3.5rem);
  --max: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Manrope', system-ui, sans-serif; background: var(--paper); color: var(--ink-2); line-height: 1.55; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { color: var(--ink); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.15; }
.serif { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
section, .nav, .footer { padding-inline: max(var(--pad), calc((100% - var(--max)) / 2)); }
.layers { margin-inline: max(var(--pad), calc((100% - var(--max)) / 2)) !important; }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--cobalt); z-index: 100; transition: width 0.1s linear; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.9rem 1.5rem; border-radius: 12px; font-weight: 700; font-size: 0.95rem; border: 0; cursor: pointer; font-family: inherit; position: relative; overflow: hidden; transition: transform 0.25s cubic-bezier(.2,.8,.2,1), background 0.2s; will-change: transform; }
.btn::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.18); transform: translateY(101%); transition: transform 0.35s cubic-bezier(.2,.8,.2,1); }
.btn:hover::after { transform: translateY(0); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--cobalt { background: var(--cobalt); color: #fff; }
.btn--block { width: 100%; }
.link-arrow { font-weight: 700; color: var(--ink); position: relative; padding-right: 1.4rem; display: inline-block; padding-block: 0.6rem; }
.link-arrow::after { content: '→'; position: absolute; right: 0; transition: transform 0.25s; }
.link-arrow:hover::after { transform: translateX(5px); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 2rem; padding-block: 1rem; background: color-mix(in srgb, var(--paper) 85%, transparent); backdrop-filter: blur(10px); }
.brand { font-weight: 800; letter-spacing: -0.03em; font-size: 1.25rem; color: var(--ink); }
.nav__links { display: flex; gap: 1.75rem; margin-left: auto; font-weight: 600; font-size: 0.95rem; }
.nav__links a { position: relative; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--cobalt); transition: right 0.25s; }
.nav__links a:hover::after, .nav__links a.is-active::after { right: 0; }
.nav__links a.is-active { color: var(--cobalt); }
.nav__phone { font-weight: 700; font-size: 0.95rem; color: var(--ink); white-space: nowrap; }
.nav__phone:hover { color: var(--cobalt); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 6px; cursor: pointer; margin-left: auto; }
.nav__toggle span { display: block; height: 2px; background: var(--ink); }

/* Hero */
.hero { padding-top: clamp(3rem, 8vh, 6rem); padding-bottom: 3rem; display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: end; }
.hero__title { font-size: clamp(3rem, 9vw, 8.2rem); grid-column: 1 / -1; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hero__title .word { display: inline-block; transform: translateY(110%); animation: rise 0.9s cubic-bezier(.2,.8,.2,1) forwards; }
.hero__title .line:nth-child(2) .word { animation-delay: 0.1s; }
.hero__title .line:nth-child(3) .word { animation-delay: 0.2s; }
.hero__title .serif { color: var(--cobalt); font-size: 1.05em; }
@keyframes rise { to { transform: translateY(0); } }
.hero__aside { grid-column: 2; max-width: 460px; }
.hero__aside p { font-size: 1.12rem; margin-bottom: 1.5rem; }
.hero__cta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hero__promise { font-size: 0.85rem; color: var(--mute); margin-top: 0.9rem; }
.hero__ticker { grid-column: 1 / -1; overflow: hidden; border-block: 1px solid rgba(16,20,24,0.15); padding: 0.9rem 0; margin-top: 2rem; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker { display: flex; gap: 3rem; width: max-content; animation: scroll 28s linear infinite; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); }
.ticker span::before { content: '◆'; color: var(--amber); margin-right: 3rem; font-size: 0.6rem; vertical-align: middle; }
.hero__ticker:hover .ticker { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(190px, auto); gap: 1rem; padding-block: 2rem 4rem; }
.tile { background: #fff; border-radius: var(--r); padding: var(--tile-pad); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.5rem; transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(16,20,24,0.35); }
.tile p { font-size: 0.95rem; }
/* cursor spotlight */
.spot::before { content: ''; position: absolute; inset: 0; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), var(--spot, rgba(31,63,255,0.10)), transparent 60%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.spot:hover::before { opacity: 1; }

.tile--capacity { grid-column: span 4; grid-row: span 2; background: var(--ink); color: #c9ccd1; justify-content: space-between; --spot: rgba(255,176,32,0.18); }
.tile__big { font-size: clamp(4rem, 10vw, 9rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; color: #fff; }
.tile__big em { font-style: normal; font-size: 0.32em; color: var(--amber); letter-spacing: -0.02em; margin-left: 0.15em; }
.tile--capacity p { max-width: 380px; font-size: 1.05rem; }
.bars { position: absolute; right: 1.6rem; bottom: 1.6rem; display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.bars i { width: 10px; background: var(--amber); border-radius: 3px; height: 20%; animation: pulse 2.4s ease-in-out infinite; opacity: 0.85; }
.bars i:nth-child(2n) { animation-delay: 0.2s; } .bars i:nth-child(3n) { animation-delay: 0.5s; } .bars i:nth-child(4n) { animation-delay: 0.8s; } .bars i:nth-child(5n) { animation-delay: 1.1s; }
@keyframes pulse { 0%, 100% { height: 25%; } 50% { height: 100%; } }

.tile--years { grid-column: span 2; background: var(--cobalt); color: #dfe4ff; --spot: rgba(255,255,255,0.22); }
.tile__num { font-size: 4.2rem; font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; color: #fff; }
.tile__num.small { font-size: 2.8rem; color: var(--ink); }

.tile--solar { grid-column: span 2; background: var(--amber); color: #4a3200; --spot: rgba(255,255,255,0.35); }
.sun { position: absolute; top: -40px; right: -40px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, #fff3c4, #ffd166 60%, transparent 62%); animation: spin 18s linear infinite; }
.sun span { position: absolute; inset: 10px; border-radius: 50%; border: 2px dashed rgba(74,50,0,0.35); }
@keyframes spin { to { transform: rotate(360deg); } }

.tile--clients { grid-column: span 3; justify-content: flex-start; background: var(--paper-2); }
.tile__kicker { font-size: 0.8rem; font-weight: 700; color: var(--mute); text-transform: uppercase; letter-spacing: 0.1em; }
.logos { display: grid; margin-top: 0.75rem; }
.logos li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-top: 1px solid rgba(16,20,24,0.12); transition: padding-left 0.3s; }
.logos li:hover { padding-left: 0.6rem; }
.logos li:hover b { color: var(--cobalt); }
.logos b { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--ink); transition: color 0.2s; }
.logos span { font-size: 0.82rem; color: var(--mute); text-align: right; }
.logos__more { font-size: 0.85rem; color: var(--mute); margin-top: 0.5rem; }

.tile--units { grid-column: span 3; grid-row: span 2; justify-content: flex-end; }
.map { width: 100%; height: auto; color: var(--ink); margin-bottom: auto; }
.map text { font-family: 'Manrope', sans-serif; font-size: 11px; font-weight: 700; fill: var(--ink); }
.pin { fill: var(--cobalt); transform-origin: center; animation: ping 2.2s ease-out infinite; }
.pin--2 { fill: var(--coral); animation-delay: 1.1s; }
@keyframes ping { 0% { r: 7; opacity: 1; } 70% { r: 16; opacity: 0; } 100% { r: 7; opacity: 0; } }

.tile--stamps { grid-column: span 3; justify-content: flex-end; min-height: 240px; }
.stamps { display: flex; justify-content: space-between; margin-bottom: auto; padding: 0.25rem 0.25rem 1rem; }
.stamp { width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; text-align: center; font-size: 0.66rem; font-weight: 800; line-height: 1.1; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); background: var(--paper); flex: 0 0 auto; transition: transform 0.4s cubic-bezier(.2,.8,.2,1), background 0.2s; }
.stamp--1 { transform: rotate(-8deg); }
.stamp--2 { transform: rotate(6deg) translateY(10px); border-color: var(--cobalt); color: var(--cobalt); }
.stamp--3 { transform: rotate(-4deg); border-color: var(--coral); color: var(--coral); }
.stamp--4 { transform: rotate(9deg) translateY(10px); border-color: var(--mint); color: var(--mint); }
.stamp--5 { transform: rotate(-6deg); border-color: var(--amber); color: #7a5200; }
.tile--stamps:hover .stamp { transform: rotate(0) translateY(-4px); background: #fff; }
.tile--stamps:hover .stamp--1 { transition-delay: 0s } .tile--stamps:hover .stamp--2 { transition-delay: .05s } .tile--stamps:hover .stamp--3 { transition-delay: .1s } .tile--stamps:hover .stamp--4 { transition-delay: .15s } .tile--stamps:hover .stamp--5 { transition-delay: .2s }

/* Products accordion */
.products { padding-block: 4rem; }
.products__head { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.products__head p { font-size: 1.05rem; max-width: 460px; }
.acc__item { border-top: 1px solid rgba(16,20,24,0.18); }
.acc__item:last-child { border-bottom: 1px solid rgba(16,20,24,0.18); }
.acc__head { width: 100%; display: grid; grid-template-columns: 60px 1fr auto 40px; align-items: center; gap: 1rem; background: none; border: 0; padding: 1.5rem 1rem; margin-inline: -1rem; width: calc(100% + 2rem); border-radius: 14px; cursor: pointer; font-family: inherit; text-align: left; transition: background 0.25s; }
.acc__item:not(.is-open) .acc__head:hover { background: color-mix(in srgb, var(--c) 8%, transparent); }
.acc__n { font-weight: 700; color: var(--mute); font-size: 0.9rem; }
.acc__t { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); transition: color 0.2s, transform 0.3s; }
.acc__head:hover .acc__t, .is-open .acc__t { color: var(--c); }
.acc__head:hover .acc__t { transform: translateX(8px); }
.is-open .acc__head { cursor: default; }
.is-open .acc__head:hover .acc__t { transform: none; }
.acc__count { font-weight: 600; color: var(--mute); font-size: 0.9rem; }
.acc__plus { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); transition: transform 0.4s cubic-bezier(.2,.8,.2,1), background 0.2s, border-color 0.2s; }
.acc__item:not(.is-open) .acc__head:hover .acc__plus { background: var(--c); border-color: var(--c); transform: rotate(90deg) scale(1.08); }
.acc__item:not(.is-open) .acc__head:hover .acc__plus::before, .acc__item:not(.is-open) .acc__head:hover .acc__plus::after { background: #fff; }
.acc__plus::before, .acc__plus::after { content: ''; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.acc__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.is-open .acc__plus { transform: rotate(45deg); background: var(--c); border-color: var(--c); }
.is-open .acc__plus::before, .is-open .acc__plus::after { background: #fff; }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s cubic-bezier(.2,.8,.2,1); }
.is-open .acc__body { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; display: grid; grid-template-columns: 1fr 320px; gap: 2rem; }
.acc__inner ul { padding: 0 0 2rem 76px; display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem 2rem; align-content: start; min-height: 346px; }
.acc__inner li { display: flex; flex-direction: column; padding: 0.7rem 0; border-bottom: 1px solid rgba(16,20,24,0.08); }
.acc__inner b { color: var(--ink); font-weight: 700; }
.acc__inner span { font-size: 0.85rem; color: var(--mute); }
.acc__visual { position: relative; height: 200px; margin-bottom: 2rem; }
.illo { width: 100%; height: 100%; color: var(--c); fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; --tint: color-mix(in srgb, var(--c) 14%, #fff); }
.illo text { font: 700 11px 'Manrope', sans-serif; fill: var(--mute); stroke: none; letter-spacing: 0.02em; }
.illo__sheet, .illo__sheet2 { transform-origin: 124px 100px; }
.is-open .illo__sheet { animation: unroll 1.2s cubic-bezier(.2,.8,.2,1) both 0.15s; }
.is-open .illo__sheet2 { animation: unroll 1.2s cubic-bezier(.2,.8,.2,1) both 0.35s; }
@keyframes unroll { from { transform: scaleX(0.05); opacity: 0; } to { transform: none; opacity: 1; } }
.is-open .illo__roll { animation: settle 0.8s cubic-bezier(.2,.8,.2,1) both; }
.illo__bag, .illo__box, .illo__bottle { transform-origin: center; }
.is-open .illo__bag { animation: settle 0.8s cubic-bezier(.2,.8,.2,1) both 0.1s; }
.is-open .illo__box { animation: settle 0.8s cubic-bezier(.2,.8,.2,1) both 0.1s; }
.is-open .illo__bottle { animation: settle 0.8s cubic-bezier(.2,.8,.2,1) both 0.1s; }
.is-open .illo__coil { animation: settle 0.8s cubic-bezier(.2,.8,.2,1) both 0.25s; }
.is-open .illo__tarp { animation: settle 0.8s cubic-bezier(.2,.8,.2,1) both 0.4s; }
@keyframes settle { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Layers + micron slider */
.layers { overflow: hidden; padding-block: 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; background: var(--ink); color: #c9ccd1; border-radius: var(--r); margin-inline: var(--pad); padding-inline: clamp(1.5rem, 4vw, 4rem); }
.layers h2 { color: #fff; margin-bottom: 1rem; }
.layers h2 .serif { color: var(--amber); }
.layers p { font-size: 1.05rem; max-width: 480px; }
.slider { display: block; margin-top: 2rem; }
.slider > span { display: block; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.slider output { color: var(--amber); font-variant-numeric: tabular-nums; }
.slider input { width: 100%; max-width: 420px; accent-color: var(--amber); cursor: pointer; }
.slider__hint { margin-top: 0.75rem; font-size: 0.95rem; color: #9aa0a8; min-height: 1.5em; }
.stack { position: relative; height: 340px; perspective: 900px; transform-style: preserve-3d; }
.sheet { position: absolute; left: 10%; right: 10%; height: 110px; border-radius: 14px; background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04)); border: 1px solid rgba(255,255,255,0.28); backdrop-filter: blur(2px); transform: rotateX(62deg) rotateZ(-22deg) translateZ(calc(var(--i) * var(--gap, 22px))); transition: transform 0.5s cubic-bezier(.2,.8,.2,1), background 0.4s; top: 50%; margin-top: -55px; }
.sheet:nth-child(1) { --i: 0 } .sheet:nth-child(2) { --i: 1 } .sheet:nth-child(3) { --i: 2 } .sheet:nth-child(4) { --i: 3 } .sheet:nth-child(5) { --i: 4 } .sheet:nth-child(6) { --i: 5 }
.sheet:last-child { background: linear-gradient(135deg, var(--amber), #ffd166); border-color: transparent; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6); }
.sheet:first-child { background: rgba(255,255,255,0.06); }

/* Caps bento */
.bento--caps { grid-auto-rows: minmax(170px, auto); padding-top: 4rem; }
.tile--wide { grid-column: span 4; background: var(--cobalt); color: #dfe4ff; --spot: rgba(255,255,255,0.22); }
.tile--wide h3 { color: #fff; font-size: 1.7rem; }
.tile--wide p { max-width: 420px; }
.die { position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 28px solid rgba(255,255,255,0.15); border-top-color: var(--amber); animation: spin 6s linear infinite; }
.bento--caps .tile:not(.tile--wide):not(.tile--quote) { grid-column: span 2; }
.tile--resin { background: var(--coral); color: #ffe6dc; --spot: rgba(255,255,255,0.25); }
.tile--resin h3 { color: #fff; }
.resin { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.resin li { border: 1.5px solid rgba(255,255,255,0.6); color: #fff; font-weight: 800; font-size: 0.85rem; padding: 0.3rem 0.7rem; border-radius: 8px; letter-spacing: 0.04em; }
.tile--quote { grid-column: span 6; background: var(--paper-2); flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 2rem; min-height: 220px; }
.tile--quote p { font-size: clamp(1.4rem, 2.6vw, 2.1rem); color: var(--ink); line-height: 1.25; max-width: 820px; }
.tile--quote span { font-weight: 700; font-size: 0.9rem; color: var(--mute); white-space: nowrap; }

/* Contact */
.contact { padding-block: 5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact h2 { margin-bottom: 1rem; }
.contact h2 .serif { color: var(--cobalt); }
.contact__text p { font-size: 1.05rem; max-width: 460px; }
.contact__alt { margin-top: 1.25rem; font-size: 0.95rem; color: var(--mute); }
.contact__alt a { color: var(--cobalt); font-weight: 700; display: inline-block; padding-block: 0.7rem; margin-block: -0.7rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: #fff; border-radius: var(--r); padding: 2rem; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; padding: 1.3rem 1rem 0.6rem; border: 1.5px solid var(--paper-2); border-radius: 12px; font: inherit; font-size: 1rem; background: var(--paper); color: var(--ink); transition: border-color 0.2s, background 0.2s; }
.field textarea { resize: vertical; }
.field label { position: absolute; left: 1rem; top: 1rem; font-size: 0.95rem; color: var(--mute); pointer-events: none; transition: 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--cobalt); background: #fff; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field label.static { top: 0.45rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cobalt); }
.chips { border: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips legend { font-size: 0.8rem; font-weight: 700; color: var(--mute); margin-bottom: 0.6rem; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 0; height: 0; }
.chips span { display: inline-block; padding: 0.7rem 1rem; min-height: 44px; border-radius: 10px; border: 1.5px solid var(--paper-2); background: var(--paper); font-weight: 600; font-size: 0.9rem; color: var(--ink-2); transition: 0.2s; }
.chips input:checked + span { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.form .btn { grid-column: 1 / -1; margin-top: 0.5rem; }
.form__trust { grid-column: 1 / -1; font-size: 0.78rem; color: var(--mute); text-align: center; }
.fab { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 60; background: var(--cobalt); color: #fff; font-weight: 700; padding: 0.9rem 1.3rem; border-radius: 14px; box-shadow: 0 14px 30px -10px rgba(31,63,255,0.6); transform: translateY(120%); opacity: 0; transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.3s; }
.fab.is-visible { transform: none; opacity: 1; }
:is(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.hp { position: absolute; left: -9999px; opacity: 0; width: 0; height: 0; }
.btn__spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; margin-left: 0.6rem; animation: spin 0.8s linear infinite; }
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn.is-loading .btn__spinner { display: inline-block; }
.form__note { grid-column: 1 / -1; font-size: 0.9rem; text-align: center; min-height: 1.2em; }
.form__note.is-success { color: var(--mint); font-weight: 700; }
.form__note.is-error { color: var(--coral); font-weight: 700; }

.footer { padding-block: 3.5rem 2rem; border-top: 1px solid rgba(16,20,24,0.15); color: var(--mute); font-size: 0.9rem; }
.footer__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer__col { display: grid; gap: 0.45rem; align-content: start; }
.footer__col h4 { font-size: 0.95rem; color: var(--ink); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 0.2rem; }
.footer__col a { color: var(--ink); font-weight: 600; display: inline-block; padding-block: 0.65rem; margin-block: -0.45rem; width: fit-content; }
.footer__col a:hover { color: var(--cobalt); }
.footer__col address { font-style: normal; line-height: 1.5; }
.footer__col--brand p { max-width: 280px; }
.footer__social { margin-top: 0.4rem; }
.footer__social a { font-weight: 600; }
.footer__credit a { display: inline-block; padding-block: 0.6rem; margin-block: -0.6rem; }
.footer__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.25rem; border-top: 1px solid rgba(16,20,24,0.12); font-size: 0.8rem; }
.footer__credit a { color: var(--ink); font-weight: 700; border-bottom: 1.5px solid var(--amber); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .hero__title .word { transform: none; } }

@media (max-width: 1024px) {
  .nav__phone { display: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .tile { min-height: 200px; }
  .tile--capacity, .tile--clients, .tile--units, .tile--stamps, .tile--wide, .tile--quote { grid-column: span 2; }
  .tile--years, .tile--solar { grid-column: span 1; }
  .bento--caps .tile:not(.tile--wide):not(.tile--quote) { grid-column: span 1; }
  .hero, .products__head, .layers, .contact { grid-template-columns: 1fr; }
  .hero__aside { grid-column: 1; }
  .acc__inner { grid-template-columns: 1fr; }
  .acc__visual { display: none; }
}
@media (max-width: 720px) {
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); flex-direction: column; padding: 1rem var(--pad) 1.5rem; gap: 0.25rem; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 0.75rem 0; font-size: 1.2rem; }
  .nav .btn { display: none; }
  .nav__toggle { display: flex; }
  .bento { grid-template-columns: 1fr; }
  .tile--years, .tile--solar, .bento--caps .tile:not(.tile--wide):not(.tile--quote) { grid-column: span 1; }
  .tile--capacity, .tile--clients, .tile--units, .tile--stamps, .tile--wide, .tile--quote { grid-column: span 1; }
  .tile--quote { flex-direction: column; align-items: flex-start; }
  .bars { display: none; }
  .stamps { flex-wrap: wrap; justify-content: flex-start; gap: 0.5rem; }
  .stamp { width: 70px; height: 70px; font-size: 0.58rem; transform: none !important; }
  .acc__inner ul { min-height: 0; }
  .logos span { display: none; }
  .fab { right: 0.75rem; }
  .acc__head { grid-template-columns: 1fr auto 40px; }
  .acc__n { display: none; }
  .acc__inner ul { padding-left: 0; grid-template-columns: 1fr; }
  .layers { margin-inline: 1rem; padding-inline: 1.5rem; }
  .stack { height: 240px; }
  .form { grid-template-columns: 1fr; padding: 1.5rem; }
  .footer__cols { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer__legal { flex-direction: column; gap: 0.4rem; }
}
