/* ==========================================================================
   SUNFINA SOLAR — components: buttons, chips, cards, forms, media, widgets
   ========================================================================== */

/* ---- buttons ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cloud);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 50px;
  padding: .8rem 1.45rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn::after {           /* light sweep on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico { width: 1.15rem; height: 1.15rem; }
.btn__arrow { transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn__meta {
  padding: .15rem .5rem;
  border-radius: 999px;
  background: rgba(36, 18, 6, .1);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
}

.btn--primary {
  --btn-bg: var(--solar);
  --btn-fg: var(--ink);
  background-image: var(--grad-sun);
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { box-shadow: 0 18px 44px -12px rgba(232, 112, 58, .8); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: var(--cloud); border-color: var(--ink); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--cloud); }
.btn--dark:hover { box-shadow: 0 16px 36px -14px rgba(36, 18, 6, .8); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--cloud); border-color: rgba(255, 249, 240, .3); }
.btn--ghost-light:hover { --btn-bg: var(--cloud); --btn-fg: var(--ink); }
.btn--whatsapp { --btn-bg: var(--wa); --btn-fg: var(--wa-ink); }
.btn--whatsapp:hover { box-shadow: 0 16px 36px -14px rgba(37, 211, 102, .8); }
.btn.is-current { box-shadow: 0 0 0 3px rgba(246, 162, 75, .35), var(--shadow-glow); }

.btn--sm { min-height: 42px; padding: .6rem 1.1rem; font-size: .93rem; }
.btn--lg { min-height: 58px; padding: 1rem 1.8rem; font-size: 1.06rem; }

/* loading state used by the AJAX forms */
.btn__spinner {
  display: none;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__spinner { display: block; }
.btn.is-loading .btn__arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  color: var(--ink);
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform .3s var(--ease);
}
.icon-btn:hover { background: var(--ink); color: var(--cloud); border-color: var(--ink); transform: translateY(-2px); }
.icon-btn--dark { border-color: rgba(255, 249, 240, .25); color: var(--cloud); }
.icon-btn--dark:hover { background: var(--solar); border-color: var(--solar); color: var(--ink); }
.icon-btn--dark:disabled { opacity: .35; pointer-events: none; }
.icon-btn--wa { border-color: var(--wa); color: #128C4A; }
.icon-btn--wa:hover { background: var(--wa); border-color: var(--wa); color: #fff; }

/* tooltips: <el data-tip="Text"> */
[data-tip]::before {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  z-index: 5;
  padding: .3rem .6rem;
  border-radius: 6px;
  background: var(--ink);
  color: var(--cloud);
  font-size: .75rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity .2s, transform .3s var(--ease);
  pointer-events: none;
}
[data-tip]:hover::before, [data-tip]:focus-visible::before { opacity: 1; transform: translate(-50%, 0); }
.site-header [data-tip]::before { bottom: auto; top: calc(100% + 8px); }

/* ---- chips & small text -------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin: 0;
  padding: .32rem .75rem;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.chip .ico { width: .95rem; height: .95rem; }
.chip--solar { background: rgba(246, 162, 75, .16); color: var(--accent-text); }
.chip--dark { background: rgba(255, 249, 240, .1); color: var(--solar-3); }
.chip--glass { background: rgba(255, 255, 255, .2); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--accent-text);
}
.link-arrow .ico { transition: transform .4s var(--ease); }
.link-arrow:hover .ico, a:hover > .link-arrow .ico, .tile:hover .link-arrow .ico { transform: translateX(5px); }

.muted { color: var(--ink-3); }

.ticks { display: grid; gap: .8rem; margin: 1.6rem 0 2rem; }
.ticks li { display: grid; grid-template-columns: 1.9rem 1fr; gap: .75rem; align-items: start; color: var(--ink); font-weight: 500; }
.ticks__ico {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--grad-sun);
  color: var(--ink);
}
.ticks__ico .ico { width: 1rem; height: 1rem; stroke-width: 2.6; }
.ticks--sm { gap: .6rem; margin: 1.4rem 0 0; font-size: var(--fs-sm); }
.ticks--sm li { grid-template-columns: 1.5rem 1fr; }
.ticks--sm .ticks__ico { width: 1.5rem; height: 1.5rem; }
.sec--dark .ticks li { color: var(--cloud); }

/* ---- section heads -------------------------------------------------------- */
.sec-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--center .lead { margin-inline: auto; }
.sec-head--row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem 4rem;
  align-items: end;
  max-width: none;
}
.sec-head--row .lead { margin-bottom: 1.2rem; }
.sec-title { font-size: var(--fs-h2); margin-bottom: .4em; }
@media (max-width: 860px) {
  .sec-head--row { grid-template-columns: minmax(0, 1fr); }
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.split-grid--top { align-items: start; }
@media (max-width: 900px) {
  .split-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---- spotlight hover (data-spot) — JS feeds --mx/--my ------------------- */
[data-spot] { position: relative; isolation: isolate; }
[data-spot]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(246, 162, 75, .2), transparent 65%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
[data-spot]:hover::after { opacity: 1; }

/* ---- stats ---------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.stat {
  position: relative;
  display: grid;
  gap: .25rem;
  padding: clamp(1.3rem, 2.5vw, 2rem) clamp(1.1rem, 2.5vw, 2rem);
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: .6rem;
  border-radius: 12px;
  background: rgba(246, 162, 75, .14);
  color: var(--accent-text);
}
.stat__value {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink);
}
.stat__label { font-size: var(--fs-sm); color: var(--ink-2); }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---- marquee -------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--cloud);
  padding-block: 1.1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex: none; }
.marquee__group li {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding-right: 2.5rem;
  font-family: var(--font-head);
  font-size: clamp(1.05rem, .9rem + .6vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.marquee__group .ico { color: var(--solar); width: 1.3em; height: 1.3em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- PV art (drawn module) ------------------------------------------------ */
.pv-art { width: 100%; height: 100%; }
.pv-art__sweep { animation: pvSweep 5.5s var(--ease-in-out) infinite; }
@keyframes pvSweep {
  0%, 55% { transform: translateX(0); }
  100%    { transform: translateX(380px); }
}

/* the logo sun */
.sun-mark { display: block; overflow: visible; }
.sun-mark--spin .sun-mark__rays { animation: sunSpin 60s linear infinite; transform-origin: 0 0; }
.sun-mark--spin .sun-mark__dots { animation: sunSpin 90s linear infinite reverse; transform-origin: 0 0; }
@keyframes sunSpin { to { transform: rotate(360deg); } }

/* ---- product series cards ------------------------------------------------- */
.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.series-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.series-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.series-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: 1.6rem;
  background:
    radial-gradient(circle at 75% 20%, rgba(246, 162, 75, .35), transparent 55%),
    linear-gradient(160deg, var(--paper-2), var(--paper));
  overflow: hidden;
}
.series-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.series-card:hover .series-card__media img { transform: scale(1.05); }
.series-card__media .pv-art { max-width: 380px; filter: drop-shadow(0 20px 22px rgba(36, 18, 6, .3)); transition: transform .8s var(--ease); }
.series-card:hover .series-card__media .pv-art { transform: translateY(-4px) rotate(-1.5deg); }
.series-card__num {
  position: absolute;
  left: 1.1rem;
  top: 1rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  color: var(--accent-text);
}
.series-card__body { display: flex; flex-direction: column; gap: .9rem; flex: 1; padding: clamp(1.3rem, 2.5vw, 1.9rem); }
.series-card__body .chip { align-self: flex-start; }
.series-card__title { margin: 0; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); font-weight: 800; }
.series-card__title a { color: var(--ink); }
.series-card__title a:hover { color: var(--accent-text); }
.series-card__desc { margin: 0; }
.series-card__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: .4rem; }
.series-card .link-arrow { font-size: var(--fs-sm); }

.spec-list { display: grid; margin: 0; border-top: 1px solid var(--line); }
.spec-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: var(--fs-sm); }
.spec-list dt { color: var(--ink-3); }
.spec-list dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }

/* datasheet card */
.series-card--sheet { background: var(--panel-dark); border-color: transparent; color: var(--silver); }
.series-card--sheet .series-card__title { color: var(--cloud); }
.sheet-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: radial-gradient(circle at 50% 120%, rgba(246, 162, 75, .45), transparent 60%);
}
.sheet-art__page {
  position: absolute;
  width: 34%;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  background: var(--cloud);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
  transition: transform .6s var(--ease);
}
.sheet-art__page--3 { transform: rotate(-12deg) translateX(-40%); opacity: .45; }
.sheet-art__page--2 { transform: rotate(8deg) translateX(35%); opacity: .7; }
.sheet-art__page--1 { display: grid; align-content: start; gap: 6%; padding: 12% 12%; }
.series-card--sheet:hover .sheet-art__page--3 { transform: rotate(-18deg) translateX(-62%); }
.series-card--sheet:hover .sheet-art__page--2 { transform: rotate(14deg) translateX(58%); }
.series-card--sheet:hover .sheet-art__page--1 { transform: translateY(-6px); }
.sheet-art__page--1 .ico { width: 34%; height: auto; color: var(--solar-2); }
.sheet-art__page--1 i { display: block; height: 4px; border-radius: 4px; background: var(--paper-3); }
.sheet-art__page--1 i:nth-of-type(2) { width: 80%; }
.sheet-art__page--1 i:nth-of-type(4) { width: 60%; }
.sheet-art__tag {
  position: absolute;
  right: -10px;
  top: 14%;
  padding: .2rem .5rem;
  border-radius: 6px;
  background: var(--solar-2);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
}

/* ---- why ------------------------------------------------------------------ */
.why--paper2 { background: var(--paper-2); }
.why__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.why__head { position: sticky; top: calc(var(--hdr) + 2rem); }
.why__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; counter-reset: why; }
.why-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 92px;
  padding: 1.2rem 1.3rem;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease);
}
.why-item:hover { transform: translateY(-4px); border-color: rgba(246, 162, 75, .55); box-shadow: var(--shadow-md); }
.why-item__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--solar);
  transition: background-color .3s, color .3s, transform .5s var(--ease);
}
.why-item:hover .why-item__icon { background: var(--grad-sun); color: var(--ink); transform: rotate(-8deg) scale(1.06); }
.why-item__icon .ico { width: 1.45rem; height: 1.45rem; }
.why-item__text { font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; line-height: 1.3; color: var(--ink); }
.why-item__check {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  color: transparent;
  transition: all .35s var(--ease);
}
.why-item__check .ico { width: .9rem; height: .9rem; stroke-width: 2.8; }
.why-item.is-in .why-item__check { background: var(--solar); border-color: var(--solar); color: var(--ink); transition-delay: calc(var(--d, 0s) + .5s); }
@media (max-width: 980px) {
  .why__grid { grid-template-columns: minmax(0, 1fr); }
  .why__head { position: static; }
}
@media (max-width: 560px) {
  .why__list { grid-template-columns: minmax(0, 1fr); }
}

/* ---- horizontal step track (Home) ----------------------------------------- */
.track { position: relative; }
.track__list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(250px, 26vw, 320px);
  gap: 1.1rem;
  padding: .5rem max(var(--gut), calc((100vw - var(--wrap)) / 2)) 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2));
  scrollbar-width: none;
  cursor: grab;
}
.track__list::-webkit-scrollbar { display: none; }
.track__list.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.track__list.is-dragging * { pointer-events: none; user-select: none; }
.step-card {
  scroll-snap-align: start;
  padding: .7rem .7rem 1.4rem;
  border-radius: var(--r-lg);
  background: rgba(255, 249, 240, .05);
  border: 1px solid var(--line-d);
  transition: background-color .3s, border-color .3s, transform .45s var(--ease);
}
.step-card:hover { background: rgba(255, 249, 240, .09); border-color: rgba(246, 162, 75, .45); transform: translateY(-4px); }
.step-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin-bottom: 1.1rem;
  border-radius: calc(var(--r-lg) - 8px);
  background:
    radial-gradient(circle at 70% 25%, rgba(246, 162, 75, .5), transparent 55%),
    linear-gradient(150deg, var(--panel-3), var(--panel-dark));
  overflow: hidden;
}
.step-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 199, 126, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 199, 126, .1) 1px, transparent 1px);
  background-size: 28px 28px;
}
.step-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.step-card:hover .step-card__media img { transform: scale(1.06); }
.step-card__art {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 28px;
  background: var(--grad-sun);
  color: var(--ink);
  box-shadow: 0 20px 40px -14px rgba(232, 112, 58, .8);
  transition: transform .6s var(--ease);
}
.step-card:hover .step-card__art { transform: rotate(-8deg) scale(1.06); }
.step-card__art .ico { width: 44px; height: 44px; stroke-width: 1.6; }
.step-card__num {
  position: absolute;
  left: .9rem;
  top: .8rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: rgba(30, 8, 3, .65);
  color: var(--solar-3);
  font-family: var(--font-mono);
  font-size: .75rem;
}
.step-card h3 { margin: 0 .5rem .35rem; font-size: 1.25rem; color: var(--cloud); }
.step-card p { margin: 0 .5rem; font-size: var(--fs-sm); color: var(--silver); }
.track__ui { display: flex; align-items: center; gap: 1.5rem; }
.track__bar { flex: 1; height: 3px; border-radius: 3px; background: var(--line-d); overflow: hidden; }
.track__bar span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, .1)); background: var(--grad-flare); transition: transform .2s; }
.track__btns { display: flex; gap: .5rem; }

/* ---- media frame + floating badge cards ----------------------------------- */
.media-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  padding: 2.5rem;
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 75% 20%, rgba(246, 162, 75, .45), transparent 55%),
    linear-gradient(150deg, var(--paper-2), var(--paper-3));
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.media-frame.has-img { padding: 0; }
.media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-frame .pv-art { filter: drop-shadow(0 30px 30px rgba(36, 18, 6, .35)); transform: rotate(-4deg); }
.about-teaser__media { position: relative; }
.badge-card {
  position: absolute;
  display: grid;
  gap: .1rem;
  padding: 1rem 1.3rem;
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm);
  color: var(--ink-2);
  animation: floaty 6s ease-in-out infinite;
}
.badge-card__big {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink);
}
.badge-card--a { left: -1.2rem; bottom: 12%; }
.badge-card--b { right: -1rem; top: 10%; background: var(--ink); color: var(--silver); animation-delay: -3s; }
.badge-card--b .badge-card__big { color: var(--solar); }
@keyframes floaty { 50% { transform: translateY(-10px); } }
@media (max-width: 560px) {
  .badge-card--a { left: .6rem; }
  .badge-card--b { right: .6rem; }
}

/* ---- application cards (Home) ----------------------------------------------- */
.app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.app-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: .7rem;
  padding: 1.6rem 1.4rem 1.5rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(246, 162, 75, .5); }
.app-card .chip { justify-self: start; }
.app-card h3 { margin: .2rem 0 0; font-size: 1.2rem; }
.app-card p { margin: 0; font-size: var(--fs-sm); }
.app-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: .4rem;
  border-radius: 16px;
  background: var(--paper-2);
  color: var(--accent-text);
  transition: background-color .3s, color .3s, transform .5s var(--ease);
}
.app-card:hover .app-card__icon { background: var(--grad-sun); color: var(--ink); transform: rotate(-6deg); }
.app-card__icon .ico { width: 1.6rem; height: 1.6rem; }
.app-card__go {
  position: absolute;
  right: 1.1rem;
  top: 1.1rem;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--ink);
  transition: all .4s var(--ease);
}
.app-card:hover .app-card__go { background: var(--ink); color: var(--cloud); transform: rotate(45deg); }
@media (max-width: 980px) { .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .app-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- partner picks ---------------------------------------------------------- */
.partner-picks { display: grid; gap: .7rem; margin-top: 1.8rem; }
.partner-picks--hero { grid-template-columns: repeat(3, auto); justify-content: start; }
.pick {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.2rem;
  border-radius: var(--r);
  border: 1.5px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  text-align: left;
  transition: transform .4s var(--ease), border-color .3s, background-color .3s, box-shadow .4s var(--ease);
}
.pick > .ico:first-child {
  width: 2.4rem;
  height: 2.4rem;
  padding: .5rem;
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--accent-text);
  transition: background-color .3s, color .3s;
}
.pick span { flex: 1; }
.pick__arrow { opacity: .4; transition: transform .4s var(--ease), opacity .3s; }
.pick:hover, .pick.is-picked { transform: translateX(4px); border-color: var(--solar); box-shadow: var(--shadow-md); }
.pick:hover > .ico:first-child, .pick.is-picked > .ico:first-child { background: var(--grad-sun); color: var(--ink); }
.pick:hover .pick__arrow, .pick.is-picked .pick__arrow { opacity: 1; transform: translateX(4px); }
@media (max-width: 860px) { .partner-picks--hero { grid-template-columns: minmax(0, 1fr); } }

/* ---- forms ------------------------------------------------------------------ */
.form-card {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  color: var(--ink-2);
}
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form__grid { grid-template-columns: minmax(0, 1fr); } }

.field { position: relative; display: grid; align-content: start; }
.field__input {
  width: 100%;
  min-height: 60px;
  padding: 1.55rem 1rem .5rem;
  border: 1.5px solid var(--line-2);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
textarea.field__input { min-height: 120px; resize: vertical; line-height: 1.5; }
.field__input:hover { border-color: rgba(60, 30, 10, .35); }
.field__input:focus {
  outline: none;
  border-color: var(--solar);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(246, 162, 75, .22);
}
.field__label {
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  color: var(--ink-3);
  font-size: 1rem;
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform .25s var(--ease), color .2s;
}
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label,
.field--select .field__label {
  transform: translateY(-.65rem) scale(.78);
  color: var(--accent-text);
  font-weight: 600;
}
.field--select::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 1.65rem;
  width: .55rem;
  height: .55rem;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: rotate(45deg);
  pointer-events: none;
}
.field--select select { padding-right: 2.6rem; cursor: pointer; }
.req { color: var(--solar-2); }
.opt { font-weight: 400; color: var(--ink-3); font-size: .85em; }
.field__hint { margin-top: .35rem; font-size: .8rem; color: var(--ink-3); }
.field__err { display: none; margin-top: .35rem; font-size: .82rem; font-weight: 600; color: #B42318; }
.field.has-err .field__input, .choice.has-err .choice__opt span { border-color: #D92D20; }
.field.has-err .field__input { box-shadow: 0 0 0 4px rgba(217, 45, 32, .12); }
.field.has-err .field__err, .choice.has-err .field__err { display: block; }

.choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice__legend { margin-bottom: .6rem; padding: 0; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); }
.choice__opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice__opt { position: relative; cursor: pointer; }
.choice__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice__opt span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1rem;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  background: var(--paper);
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  transition: all .25s var(--ease);
}
.choice__opt:hover span { border-color: var(--solar); }
.choice__opt input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cloud);
  box-shadow: 0 8px 20px -10px rgba(36, 18, 6, .7);
}
.choice__opt input:checked + span::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--solar);
}
.choice__opt input:focus-visible + span { outline: 2.5px solid var(--solar-2); outline-offset: 2px; }
.choice--partner { margin-bottom: 1.2rem; }
.choice--partner .choice__opt span { padding: .7rem 1.1rem; font-family: var(--font-head); font-weight: 600; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.form__note { display: inline-flex; align-items: center; gap: .45rem; margin: 0; font-size: var(--fs-sm); color: var(--ink-3); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  margin-bottom: 1.4rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  font-size: var(--fs-sm);
}
.notice p { margin: 0; }
.notice .ico { flex: none; width: 1.4rem; height: 1.4rem; padding: .2rem; border-radius: 50%; }
.notice--ok { background: #ECFDF3; color: #05603A; }
.notice--ok .ico { background: #12B76A; color: #fff; }
.notice--err { background: #FEF3F2; color: #912018; }
.notice--err .ico { background: #F04438; color: #fff; }

.form-success { display: grid; justify-items: center; gap: .6rem; padding: 2rem 1rem; text-align: center; }
.form-success:focus { outline: none; }
.form-success__badge { position: relative; width: 120px; height: 120px; margin-bottom: .6rem; }
.form-success__badge .sun-mark { width: 100%; height: 100%; animation: popIn .8s var(--ease) both; }
.form-success__check {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
}
.form-success__check .ico { width: 42px; height: 42px; stroke-width: 3; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .45s var(--ease) forwards; }
.form-success h3 { margin: 0; font-size: 1.6rem; }
.form-success__msg { max-width: 38ch; margin: 0 0 .8rem; }
.form-success__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
@keyframes popIn { from { transform: scale(.4) rotate(-40deg); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---- feature + v/m + pillars + audience ------------------------------------ */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.feat {
  padding: 2rem 1.7rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feat h3 { margin: 1.2rem 0 .4rem; }
.feat p { margin: 0; }
.feat__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--grad-sun);
  color: var(--ink);
  box-shadow: var(--shadow-glow);
}
.feat__icon .ico { width: 1.7rem; height: 1.7rem; }
@media (max-width: 860px) { .feat-grid { grid-template-columns: minmax(0, 1fr); } }

.vm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.vm {
  padding: clamp(2rem, 4vw, 3.2rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.vm--mission { background: var(--ink); border-color: transparent; color: var(--silver); }
.vm--mission .eyebrow { color: var(--solar); }
.vm--mission .vm__text { color: var(--cloud); }
.vm__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.6rem;
  border-radius: 20px;
  background: var(--grad-sun);
  color: var(--ink);
}
.vm__icon .ico { width: 1.9rem; height: 1.9rem; }
.vm__text {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--ink);
}
@media (max-width: 860px) { .vm-grid { grid-template-columns: minmax(0, 1fr); } }

.pillars__bg, .factory-teaser__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(246, 162, 75, .22), transparent 70%),
    radial-gradient(600px 400px at 0% 100%, rgba(211, 58, 78, .14), transparent 70%);
  pointer-events: none;
}
.pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.pillar {
  display: grid;
  align-content: start;
  gap: .9rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--r-lg);
  background: rgba(255, 249, 240, .04);
  border: 1px solid var(--line-d);
  transition: border-color .3s, transform .45s var(--ease);
}
.pillar:hover { border-color: rgba(246, 162, 75, .5); transform: translateY(-5px); }
.pillar p { margin: 0; }
.pillar__label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--solar);
}
.pillar__big {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 2rem + 2.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--cloud);
}
.pillar__big--sm { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); }
.pillars__cta { margin-top: 2.5rem; text-align: center; }
@media (max-width: 900px) { .pillar-grid { grid-template-columns: minmax(0, 1fr); } }

.aud-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.aud {
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.aud:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.aud__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--paper-2);
  color: var(--accent-text);
  transition: background-color .3s, color .3s;
}
.aud:hover .aud__icon { background: var(--grad-sun); color: var(--ink); }
.aud__icon .ico { width: 1.6rem; height: 1.6rem; }
.aud__label { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--ink); }

/* ---- leadership ------------------------------------------------------------- */
.team-photo { margin: 0 0 2rem; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.team-photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.leader-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); justify-content: center; gap: 1.4rem; }
.leader { text-align: center; }
.leader__photo {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin-bottom: 1rem;
  border-radius: var(--r-lg);
  background: var(--grad-sun);
  overflow: hidden;
}
.leader__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.leader:hover .leader__photo img { transform: scale(1.05); }
.leader__photo span { font-family: var(--font-head); font-size: 4rem; font-weight: 800; color: var(--ink); }
.leader h3 { margin: 0 0 .2rem; }
.leader p { margin: 0; color: var(--accent-text); font-weight: 500; }
.leader-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px dashed var(--line-2);
}
.leader-note p { margin: 0; }
.leader-note__icon { color: var(--accent-text); }
.leader-note__icon .ico { width: 1.8rem; height: 1.8rem; }

/* ---- location / map --------------------------------------------------------- */
.location { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.4rem; align-items: stretch; }
.location__map, .map-frame { position: relative; min-height: 380px; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); background: var(--paper-2); }
.location__map iframe, .map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }
.map-frame { height: clamp(300px, 38vw, 480px); min-height: 0; }
.location__card {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--r-xl);
  background: var(--ink);
  color: var(--silver);
}
.location__card address { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.4; color: var(--cloud); }
.location__card .eyebrow { color: var(--solar); margin: 0; }
.location__card .btn { justify-self: start; }
.location__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }
.contact-lines { display: grid; gap: .6rem; }
.contact-lines li { display: flex; align-items: center; gap: .7rem; }
.contact-lines .ico { color: var(--solar); }
.contact-lines a { color: var(--cloud); font-weight: 500; }
.contact-lines a:hover { color: var(--solar); }
@media (max-width: 900px) { .location { grid-template-columns: minmax(0, 1fr); } }

/* ---- compare table ----------------------------------------------------------- */
.compare { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.compare__table { width: 100%; min-width: 560px; border-collapse: collapse; }
.compare__table th, .compare__table td { padding: 1rem 1.3rem; text-align: left; border-bottom: 1px solid var(--line); }
.compare__table thead th { padding-block: 1.5rem; background: var(--paper); vertical-align: bottom; }
.compare__table thead a { display: block; font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.compare__kicker { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.compare__table tbody th { width: 28%; font-weight: 500; color: var(--ink-3); font-size: var(--fs-sm); }
.compare__table tbody td { font-weight: 600; color: var(--ink); }
.compare__table tbody tr { transition: background-color .2s; }
.compare__table tbody tr:hover { background: rgba(246, 162, 75, .08); }
.compare__actions td, .compare__actions th { border-bottom: 0; }

/* ---- spec strip (dark band) --------------------------------------------------- */
.spec-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.spec { display: grid; gap: .3rem; padding: .5rem 1.5rem; }
.spec + .spec { border-left: 1px solid var(--line-d); }
.spec__main { font-family: var(--font-head); font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); font-weight: 800; color: var(--cloud); letter-spacing: -.02em; }
.spec__sub { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--solar); }
@media (max-width: 860px) {
  .spec-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 0; }
  .spec:nth-child(3) { border-left: 0; }
}

/* ---- jump links (About hero) ------------------------------------------------- */
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.jump a {
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .6);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: all .25s;
}
.jump a:hover { background: var(--ink); color: var(--cloud); border-color: var(--ink); }

/* ---- hero facts (Manufacturing hero aside) ------------------------------------ */
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.hero-fact {
  display: grid;
  gap: .25rem;
  padding: 1.3rem;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-sm);
}
.hero-fact:first-child { background: var(--ink); color: var(--silver); border-color: transparent; }
.hero-fact:first-child .hero-fact__big { color: var(--solar); }
.hero-fact__big { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--ink); }

/* ---- film (factory video) ------------------------------------------------------ */
.film { position: relative; aspect-ratio: 16 / 8; border-radius: var(--r-xl); overflow: hidden; background: var(--panel-dark); box-shadow: var(--shadow-lg); }
.film__video, .film__img, .film iframe, .film__facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.film__facade { position: absolute; inset: 0; cursor: pointer; }
.film__facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 8, 3, .6), transparent 60%); }
.film__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--grad-sun);
  color: var(--ink);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 14px rgba(246, 162, 75, .25);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.film__facade:hover .film__play { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 22px rgba(246, 162, 75, .18); }
.film__play .ico { width: 34px; height: 34px; margin-left: 4px; fill: currentColor; }
.film__label {
  position: absolute;
  left: 1.5rem;
  bottom: 1.3rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--cloud);
  font-family: var(--font-head);
  font-weight: 600;
}

/* ---- timeline (Manufacturing) -------------------------------------------------- */
.flow-map {
  position: sticky;
  top: calc(var(--hdr) + .6rem);
  z-index: 20;
  margin: 0 auto 3rem;
  padding: .45rem;
  max-width: 100%;
  width: max-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
  scrollbar-width: none;
  transition: top .45s var(--ease);
}
.flow-map::-webkit-scrollbar { display: none; }
body.header-hidden .flow-map { top: .6rem; }
.flow-map ol { display: flex; gap: .15rem; }
.flow-map a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: .82rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .25s, color .25s;
}
.flow-map a span { font-family: var(--font-mono); font-size: .7rem; color: var(--ink-3); }
.flow-map a:hover { background: var(--paper-2); color: var(--ink); }
.flow-map a.is-active { background: var(--ink); color: var(--cloud); }
.flow-map a.is-active span { color: var(--solar); }
.flow-map a.is-done span { color: var(--accent-text); }

.timeline { position: relative; }
.timeline__rail {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--line-2);
}
.timeline__fill {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 50% 0;
  transform: scaleY(var(--p, 0));
  background: var(--grad-flare);
  border-radius: inherit;
}
.timeline__list { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.tl {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 6vw, 5.5rem);
  scroll-margin-top: calc(var(--hdr) + 6rem);
}
.tl__dot {
  position: absolute;
  left: 50%;
  top: 2rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-left: -26px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line-2);
  color: var(--ink-3);
  transition: all .5s var(--ease);
}
.tl__dot .ico { width: 1.4rem; height: 1.4rem; }
.tl.is-active .tl__dot, .tl.is-done .tl__dot { background: var(--grad-sun); border-color: transparent; color: var(--ink); box-shadow: 0 0 0 8px rgba(246, 162, 75, .2); }
.tl.is-active .tl__dot { transform: scale(1.12); }
.tl__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .5s var(--ease), border-color .4s;
}
.tl:nth-child(odd) .tl__card { grid-column: 1; }
.tl:nth-child(even) .tl__card { grid-column: 2; }
.tl.is-active .tl__card { box-shadow: var(--shadow-lg); border-color: rgba(246, 162, 75, .55); }
.tl__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 75% 25%, rgba(246, 162, 75, .5), transparent 55%),
    linear-gradient(150deg, var(--panel-3), var(--panel-dark));
  overflow: hidden;
}
.tl__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 199, 126, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 199, 126, .1) 1px, transparent 1px);
  background-size: 30px 30px;
}
.tl__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tl__card:hover .tl__media img { transform: scale(1.05); }
.tl__art {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 30px;
  background: var(--grad-sun);
  color: var(--ink);
  box-shadow: 0 24px 40px -14px rgba(232, 112, 58, .8);
}
.tl__art .ico { width: 46px; height: 46px; stroke-width: 1.6; }
.tl__body { padding: 1.4rem 1.6rem 1.6rem; }
.tl__num { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.tl__body h3 { margin: .35rem 0 .45rem; font-size: 1.45rem; }
.tl__body p { margin: 0; }
@media (max-width: 860px) {
  .timeline__rail { left: 25px; }
  .tl { grid-template-columns: minmax(0, 1fr); padding-left: 70px; }
  .tl__dot { left: 25px; top: 1.2rem; }
  .tl:nth-child(odd) .tl__card, .tl:nth-child(even) .tl__card { grid-column: 1; }
}

/* ---- quality gauges -------------------------------------------------------- */
.gauges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gauge {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .4rem;
  padding: 1.6rem 1rem 1.4rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}
.gauge svg { width: 100%; max-width: 140px; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 9; }
.gauge__track { stroke: var(--paper-2); }
.gauge__fill {
  stroke: var(--solar);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.gauge.is-in .gauge__fill { stroke-dashoffset: calc(100 - var(--pct)); }
.gauge__val {
  position: absolute;
  top: calc(1.6rem + min(70px, 50%) - 1.1rem);
  left: 0;
  right: 0;
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--ink);
}
.gauge__label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
@media (max-width: 560px) { .gauges { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.check-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .9rem; margin: 1.5rem 0 1.2rem; }
.check-big__num { font-family: var(--font-head); font-size: clamp(3.4rem, 2.5rem + 3vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: transparent; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }
.check-big__text { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.qc-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.qc-tags li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cloud);
  font-family: var(--font-head);
  font-weight: 600;
}
.qc-tags .ico { color: var(--solar); }

/* ---- photo strip --------------------------------------------------------------- */
.photo-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .8rem; }
.photo-strip__item { display: block; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; }
.photo-strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo-strip__item:hover img { transform: scale(1.08); }

/* ---- partner type cards ---------------------------------------------------------- */
.ptype-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.ptype {
  display: grid;
  align-content: start;
  gap: .9rem;
  padding: 1.8rem 1.5rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.ptype:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ptype h3 { margin: 0; font-size: 1.25rem; }
.ptype p { margin: 0; font-size: var(--fs-sm); }
.ptype .link-arrow { margin-top: .4rem; }
.ptype__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--solar);
  transition: background-color .3s, color .3s, transform .5s var(--ease);
}
.ptype:hover .ptype__icon { background: var(--grad-sun); color: var(--ink); transform: rotate(-8deg); }
.ptype__icon .ico { width: 1.7rem; height: 1.7rem; }
@media (max-width: 980px) { .ptype-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ptype-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- project tiles ----------------------------------------------------------------- */
.tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.tile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
  overflow: hidden;
  transition: box-shadow .5s var(--ease);
}
.tile:hover { box-shadow: var(--shadow-lg); }
.tile__visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 70% 25%, rgba(246, 162, 75, .45), transparent 55%),
    linear-gradient(150deg, var(--paper-2), var(--paper-3));
}
.tile__visual .pv-art { transform: rotate(-6deg); filter: drop-shadow(0 18px 18px rgba(36, 18, 6, .3)); transition: transform .7s var(--ease); }
.tile:hover .tile__visual .pv-art { transform: rotate(-2deg) scale(1.04); }
.tile__icon {
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--solar);
}
.tile__body { display: grid; align-content: center; gap: .7rem; padding: 1.8rem 1.6rem; }
.tile__body .chip { justify-self: start; }
.tile__body h3 { margin: 0; }
.tile__body p { margin: 0; }
@media (max-width: 1000px) { .tile-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .tile { grid-template-columns: minmax(0, 1fr); } .tile__visual { aspect-ratio: 16 / 9; } }

/* ---- statement band ----------------------------------------------------------------- */
.statement { text-align: center; }
.statement__text {
  max-width: 26ch;
  margin: 0 auto 2rem;
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--cloud);
}

/* ---- gallery: filters, masonry, lightbox -------------------------------------------- */
.filters {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 2.5rem;
  padding: .4rem;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.filters button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink-2);
  transition: color .3s;
}
.filters button span { font-family: var(--font-mono); font-size: .72rem; opacity: .7; }
.filters button[aria-pressed="true"] { color: var(--cloud); }
.filters__pill {
  position: absolute;
  left: 0;
  top: 0;
  height: var(--h, 0);
  width: var(--w, 0);
  transform: translate(var(--x, 0), var(--y, 0));
  border-radius: 999px;
  background: var(--ink);
  transition: transform .5s var(--ease), width .5s var(--ease), height .5s var(--ease);
}

.masonry { columns: 3 280px; column-gap: 1rem; }
.gtile {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  break-inside: avoid;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper-3);
  cursor: zoom-in;
}
.gtile.is-hiding { display: none; }
.gtile img { width: 100%; height: auto; transition: transform .9s var(--ease); }
.gtile:hover img { transform: scale(1.06); }
.gtile__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 8, 3, .75), transparent 55%); opacity: 0; transition: opacity .4s; }
.gtile:hover .gtile__shade, .gtile:focus-visible .gtile__shade { opacity: 1; }
.gtile__zoom {
  position: absolute;
  right: .9rem;
  top: .9rem;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  opacity: 0;
  transform: scale(.7);
  transition: opacity .3s, transform .4s var(--ease);
}
.gtile:hover .gtile__zoom { opacity: 1; transform: none; }
.gtile__cap {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .9rem;
  display: grid;
  justify-items: start;
  gap: .4rem;
  color: #fff;
  font-weight: 500;
  text-align: left;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s, transform .45s var(--ease);
}
.gtile:hover .gtile__cap, .gtile:focus-visible .gtile__cap { opacity: 1; transform: none; }
@media (hover: none) { .gtile__shade, .gtile__cap { opacity: 1; transform: none; } }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 4.5rem clamp(.5rem, 3vw, 2rem) 2rem;
  background: rgba(20, 6, 2, .94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: fadeIn .3s ease;
}
@keyframes fadeIn { from { opacity: 0; } }
.lightbox__top { position: absolute; top: 1rem; left: 1.2rem; right: 1.2rem; display: flex; justify-content: space-between; align-items: center; color: var(--silver); font-family: var(--font-mono); font-size: var(--fs-sm); }
.lightbox__btn {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: var(--cloud);
  transition: background-color .2s, color .2s;
}
.lightbox__btn:hover { background: var(--solar); color: var(--ink); }
.lightbox__fig { display: grid; justify-items: center; gap: 1rem; margin: 0; min-width: 0; }
.lightbox__fig img { max-height: calc(100vh - 11rem); width: auto; max-width: 100%; border-radius: var(--r); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: lbIn .5s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
.lightbox__fig figcaption { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem; color: var(--cloud); text-align: center; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: minmax(0, 1fr); }
  .lightbox__nav { position: absolute; bottom: 1.2rem; }
  .lightbox__nav--prev { left: 1.2rem; }
  .lightbox__nav--next { right: 1.2rem; }
}

.empty {
  display: grid;
  justify-items: center;
  gap: .6rem;
  max-width: 34rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px dashed var(--line-2);
  text-align: center;
}
.empty h3 { margin: 0; }
.empty__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--grad-sun); color: var(--ink); margin-bottom: .5rem; }
.empty__icon .ico { width: 2rem; height: 2rem; }

/* ---- prose --------------------------------------------------------------------------- */
.prose { font-size: 1.08rem; }
.prose p { margin-bottom: 1.1em; }
