/* ==========================================================================
   Sri Vinayaga Chimney Work — Sections
   Hero, capability flow, editorial splits, process timeline, CTA band,
   contact layout, service detail rows.
   ========================================================================== */

/* ==========================================================================
   Home hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: min(96svh, 940px);
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  padding-top: 165px;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img {
  width: 100%; height: 116%;
  object-fit: cover;
  object-position: center 42%;
  will-change: transform;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--ink) 1%, rgba(18,34,47,.76) 36%, rgba(18,34,47,.44) 66%, rgba(22,40,58,.82) 100%),
    linear-gradient(to right, rgba(18,34,47,.86) 0%, rgba(18,34,47,.26) 60%, rgba(35,57,76,.55) 100%);
}
.hero__inner { position: relative; z-index: 3; width: 100%; padding-bottom: clamp(52px, 6vw, 84px); }
.hero__grid { display: grid; gap: 36px; }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 60px; }
}
.hero__copy { max-width: 780px; }
.hero .eyebrow { margin-bottom: 24px; }
.hero__title { color: #fff; }
.hero__title .ln { display: block; overflow: hidden; }
.hero__title .ln > span {
  display: block;
  transform: translateY(105%);
  animation: heroUp 1.05s var(--ease-out) forwards;
  animation-delay: calc(180ms + var(--i, 0) * 110ms);
}
.hero__title .accent { color: var(--accent-lt); }
@keyframes heroUp { to { transform: none; } }

.hero__sub {
  margin-top: 26px;
  max-width: 590px;
  font-size: clamp(1rem, 1.25vw, 1.13rem);
  line-height: 1.66;
  color: rgba(233, 240, 244, .80);
  opacity: 0; animation: heroFade 1s var(--ease-out) .62s forwards;
}
.hero__actions { margin-top: 34px; opacity: 0; animation: heroFade 1s var(--ease-out) .78s forwards; }
@keyframes heroFade { to { opacity: 1; } }

/* Floating technical spec panel */
.hero__panel {
  border: 1px solid var(--line-dark-2);
  border-radius: var(--r-md);
  background: rgba(18, 34, 47, .55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 6px 22px;
  min-width: 240px;
  opacity: 0; animation: heroFade 1s var(--ease-out) .95s forwards;
}
@media (max-width: 699px) { .hero__panel { display: none; } }
.hero__panel li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: .85rem;
}
.hero__panel li:last-child { border-bottom: 0; }
.hero__panel .k { color: var(--on-dark-faint); letter-spacing: .06em; text-transform: uppercase; font-size: .68rem; font-family: var(--font-display); font-weight: 600; }
.hero__panel .v { color: #fff; font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }

.hero__scroll {
  position: absolute; left: var(--gut); bottom: 20px; z-index: 3;
  display: none; align-items: center; gap: 10px;
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--on-dark-faint); font-family: var(--font-display); font-weight: 600;
}
@media (min-width: 1200px) { .hero__scroll { display: flex; } }
.hero__scroll i {
  display: block; width: 1px; height: 40px; background: var(--line-dark-2); position: relative; overflow: hidden;
}
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  animation: scrollTick 2.2s var(--ease) infinite;
}
@keyframes scrollTick {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* Marquee strip of capabilities under the hero */
.strip {
  background: var(--ink-2);
  border-block: 1px solid var(--line-dark);
  color: var(--on-dark);
  overflow: hidden;
}
.strip__track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 42s linear infinite;
}
.strip:hover .strip__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.strip__item {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 30px;
  font-family: var(--font-display); font-weight: 500;
  font-size: .86rem; letter-spacing: .04em;
  color: var(--on-dark-dim);
  white-space: nowrap;
}
.strip__item::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-left: 16px; }

/* ==========================================================================
   Capability flow (Manufacturing → Sales → Fitting → Installation → Servicing)
   ========================================================================== */

.flow { position: relative; margin-top: clamp(44px, 5vw, 68px); }
.flow__track {
  display: grid; gap: 2px;
  grid-template-columns: 1fr;
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--line-light);
}
@media (min-width: 700px) { .flow__track { grid-template-columns: repeat(5, 1fr); } }
.flow__step {
  position: relative;
  background: var(--paper);
  padding: 28px 22px 26px;
  transition: background-color .45s var(--ease);
}
.flow__step:hover { background: #fff; }
.flow__step::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease-out);
}
.flow__step:hover::before { transform: scaleX(1); }
.flow__n {
  font-family: var(--font-display); font-size: .68rem; font-weight: 600;
  letter-spacing: .18em; color: var(--brand); font-variant-numeric: tabular-nums;
}
.flow__icon { margin: 16px 0 14px; color: var(--brand); }
.flow__t { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -.015em; margin-bottom: 7px; }
.flow__d { font-size: .85rem; line-height: 1.55; color: var(--on-light-dim); }
.flow__arrow {
  display: none;
  position: absolute; top: 26px; right: 18px; z-index: 2;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  place-items: center;
  transition: transform .5s var(--ease-spring), background-color .4s var(--ease), color .4s var(--ease);
}
.flow__step:hover .flow__arrow { background: var(--accent); color: #fff; transform: translateX(4px); }
@media (min-width: 700px) { .flow__step:not(:last-child) .flow__arrow { display: grid; } }

/* ==========================================================================
   Editorial split (image + content)
   ========================================================================== */

.split { display: grid; gap: clamp(30px, 4.4vw, 72px); align-items: center; }
@media (min-width: 940px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--wide-media { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .split--wide-copy { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .split--flip .split__media { order: 2; }
}

.frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-3);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 11; }
.frame--square { aspect-ratio: 1 / 1; }

/* Layered composition: big frame + overlapping small frame */
.stack-media { position: relative; }
.stack-media__main { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--ink-3); }
.stack-media__main img { width: 100%; height: 100%; object-fit: cover; }
.stack-media__inset {
  position: absolute; right: -8px; bottom: -26px;
  width: 47%; max-width: 260px;
  border-radius: var(--r-md); overflow: hidden;
  border: 8px solid var(--paper);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--ink-3);
}
.section--dark .stack-media__inset, .stack-media__inset--dark { border-color: var(--ink); }
.stack-media__inset img { width: 100%; height: 100%; object-fit: cover; }
.stack-media__badge {
  position: absolute; left: -14px; top: 26px;
  background: var(--accent); color: #fff;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase;
  box-shadow: var(--shadow-md);
}
@media (max-width: 520px) {
  .stack-media__inset { width: 44%; right: 0; bottom: -18px; border-width: 6px; }
  .stack-media__badge { left: 0; font-size: .7rem; padding: 10px 14px; }
}

/* Checklist */
.checks { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 620px) { .checks--2 { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; gap: 12px; font-size: .93rem; line-height: 1.55; }
.checks svg { flex: none; margin-top: 3px; color: var(--accent); }

/* ==========================================================================
   Why choose us — split screen
   ========================================================================== */

.why { display: grid; gap: clamp(34px, 4vw, 70px); align-items: start; }
@media (min-width: 980px) { .why { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); } }
.why__list { border-bottom: 1px solid var(--line-dark); }

/* ==========================================================================
   Process timeline
   ========================================================================== */

.process { position: relative; margin-top: clamp(44px, 5vw, 70px); }
.process__line {
  position: absolute; left: 17px; top: 8px; bottom: 8px; width: 1px;
  background: var(--line-dark);
}
@media (min-width: 900px) { .process__line { left: 0; right: 0; top: 32px; bottom: auto; width: auto; height: 1px; } }
.process__line::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--accent), var(--brand-lt));
  transform-origin: top; transform: scaleY(0);
  transition: transform 1.4s var(--ease-out);
}
@media (min-width: 900px) {
  .process__line::after { background: linear-gradient(90deg, var(--accent), var(--brand-lt)); transform-origin: left; transform: scaleX(0); }
}
.process.is-in .process__line::after { transform: scaleY(1); }
@media (min-width: 900px) { .process.is-in .process__line::after { transform: scaleX(1); } }

.process__steps { display: grid; gap: 34px; position: relative; }
@media (min-width: 900px) { .process__steps { grid-template-columns: repeat(5, 1fr); gap: 26px; } }
.process__step { position: relative; padding-left: 52px; }
@media (min-width: 900px) { .process__step { padding-left: 0; padding-top: 74px; } }
.process__dot {
  position: absolute; left: 6px; top: 6px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); border: 1px solid var(--line-dark-2);
  display: grid; place-items: center;
}
@media (min-width: 900px) { .process__dot { left: 0; top: 21px; } }
.process__dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: block; }
.process__n {
  font-family: var(--font-display); font-size: .72rem; font-weight: 600;
  letter-spacing: .2em; color: var(--accent); font-variant-numeric: tabular-nums;
  margin-bottom: 10px; display: block;
}
.process__t { color: var(--on-dark); margin-bottom: 8px; }
.process__d { font-size: .9rem; line-height: 1.6; color: var(--on-dark-dim); }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--brand);
  color: #fff;
  padding-block: clamp(64px, 8vw, 118px);
}
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.cta-band__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(22,40,58,.94) 0%, rgba(35,57,76,.80) 40%, rgba(61,106,138,.55) 100%);
}
.cta-band__inner { position: relative; z-index: 2; display: grid; gap: 34px; align-items: center; }
@media (min-width: 940px) { .cta-band__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 60px; } }
.cta-band h2 { color: #fff; max-width: 15ch; }
.cta-band p { color: rgba(255,255,255,.76); margin-top: 20px; max-width: 52ch; font-size: 1.02rem; line-height: 1.65; }
.cta-band .btn-row { margin-top: 8px; }
@media (min-width: 940px) { .cta-band .btn-row { justify-content: flex-end; } }

.cta-band__marks {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 12.5% 100%;
}

/* ==========================================================================
   Service detail rows (Services page)
   ========================================================================== */

.svc-row { padding-block: clamp(46px, 5.4vw, 80px); border-top: 1px solid var(--line-light); }
.svc-row:first-of-type { border-top: 0; }
.svc-row__grid { display: grid; gap: clamp(26px, 3.6vw, 60px); align-items: center; }
@media (min-width: 940px) {
  .svc-row__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: stretch; }
  .svc-row:nth-child(even) .svc-row__media { order: 2; }
  /* The photograph matches the height of the copy beside it, so a row never
     ends with a tall column of dead space. */
  .svc-row__media { display: flex; }
  .svc-row__media .frame { flex: 1; aspect-ratio: auto; min-height: 400px; }
  .svc-row__media .frame img { position: absolute; inset: 0; }
}
@media (max-width: 939px) {
  .svc-row__media .frame { aspect-ratio: 16 / 11; }
}
.svc-row__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: .7rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 16px;
}
.svc-row__tag .n { color: var(--accent); }
.svc-row h2 { margin-bottom: 16px; }
.svc-row .t-body { max-width: 56ch; }
.svc-row__cols { display: grid; gap: 24px; margin-top: 28px; }
@media (min-width: 560px) { .svc-row__cols { grid-template-columns: 1fr 1fr; } }
.svc-row__cols h4 {
  font-family: var(--font-display); font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--on-light-dim);
  margin-bottom: 12px;
}
.svc-row__cols li { display: flex; gap: 10px; font-size: .9rem; line-height: 1.5; margin-bottom: 9px; }
.svc-row__cols li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-top: 8px; }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid { display: grid; gap: clamp(34px, 4vw, 64px); align-items: start; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }

.contact-card {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3.4vw, 42px);
  position: relative;
  overflow: hidden;
}
.contact-card__list { margin-top: 28px; }
.contact-card__item {
  display: flex; gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line-dark);
}
.contact-card__item:last-child { border-bottom: 1px solid var(--line-dark); }
.contact-card__ico {
  width: 40px; height: 40px; flex: none; border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: rgba(255,255,255,.07); color: var(--accent);
}
.contact-card__k {
  font-family: var(--font-display); font-size: .68rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-faint);
  margin-bottom: 6px;
}
.contact-card__v {
  font-size: .95rem; color: var(--on-dark); line-height: 1.5;
  overflow-wrap: anywhere;
}
@media (max-width: 420px) { .contact-card__v { font-size: .88rem; } }
.contact-card__v a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.form-card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 44px);
  box-shadow: var(--shadow-sm);
}

.map-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-3);
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-light);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }
@media (max-width: 640px) { .map-wrap { aspect-ratio: 4 / 3; } }

/* ==========================================================================
   Products strip
   ========================================================================== */

.prod-grid {
  display: grid;
  gap: clamp(14px, 1.8vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.prod {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s var(--ease);
}
.prod:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }

/* Fixed-height media box: the image is absolutely positioned so a tall or
   low-resolution source can never stretch the card. */
.prod__img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  overflow: hidden;
  flex: none;
}
.prod__img img {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .6s var(--ease-out);
}
/* A real workshop photograph fills the box edge to edge instead */
.prod__img--photo img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: normal;
}
.prod:hover .prod__img img { transform: scale(1.04); }

.prod__body {
  flex: 1;
  padding: 18px 20px 20px;
  border-top: 1px solid var(--line-light);
}
.prod__t { font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: -.01em; }
.prod__d { margin-top: 6px; font-size: .84rem; color: var(--on-light-dim); line-height: 1.5; }

/* ==========================================================================
   Misc
   ========================================================================== */

.pill-note {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 12px;
  border: 1px solid var(--line-dark-2);
  border-radius: var(--r-pill);
  font-size: .78rem; letter-spacing: .04em; color: var(--on-dark-dim);
}
.pill-note i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: block; }
.pill-note--light { border-color: var(--line-light-2); color: var(--on-light-dim); }

/* Service row with two photographs side by side (fresh air systems) */
.svc-row__media--duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.2vw, 16px); }
@media (max-width: 559px) { .svc-row__media--duo { grid-template-columns: 1fr; } }
@media (min-width: 940px) {
  .svc-row__media--duo { display: grid; }
  .svc-row__media--duo .frame { min-height: 400px; aspect-ratio: auto; }
}
@media (max-width: 939px) {
  .svc-row__media--duo .frame { aspect-ratio: 4 / 5; }
}

/* ==========================================================================
   Site work gallery (services page) — masonry columns, opens the lightbox
   ========================================================================== */

.gal { column-count: 2; column-gap: clamp(8px, 1.1vw, 16px); margin-top: clamp(28px, 3.4vw, 46px); }
@media (min-width: 700px)  { .gal { column-count: 3; } }
@media (min-width: 1100px) { .gal { column-count: 4; } }
.gal__item {
  display: block; width: 100%; padding: 0; margin: 0 0 clamp(10px, 1.1vw, 16px);
  border: 0; background: var(--paper-3); color: inherit; text-align: left;
  border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; position: relative;
  break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid;
  box-shadow: 0 1px 2px rgba(22, 36, 47, .07);
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out);
}
.gal__item img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease-out); }
.gal__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(14, 26, 36, 0) 45%, rgba(14, 26, 36, .74) 100%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.gal__item:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(22, 36, 47, .18); }
.gal__item:hover img { transform: scale(1.05); }
.gal__item:hover::after, .gal__item:focus-visible::after { opacity: 1; }
.gal__cap {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2;
  font-family: var(--font-display); font-size: .82rem; font-weight: 600; line-height: 1.35;
  color: #fff; opacity: 0; transform: translateY(6px);
  transition: opacity .4s var(--ease), transform .5s var(--ease-out);
}
.gal__item:hover .gal__cap, .gal__item:focus-visible .gal__cap { opacity: 1; transform: none; }
.gal__item--video .gal__cap { opacity: 1; transform: none; }
.gal__item--video::after { opacity: 1; }
.gal__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .5); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color .4s var(--ease), border-color .4s, transform .5s var(--ease-out);
}
.gal__item--video:hover .gal__play { background: var(--accent); border-color: var(--accent); transform: translate(-50%, -50%) scale(1.08); }
@media (prefers-reduced-motion: reduce) {
  .gal__item, .gal__item img, .gal__cap { transition: none; }
  .gal__item:hover { transform: none; }
  .gal__item:hover img { transform: none; }
}

/* Small "WhatsApp" tag beside the primary number on the contact card */
.contact-card__note {
  display: inline-block; margin-left: 8px; vertical-align: middle;
  padding: 2px 8px; border-radius: var(--r-pill);
  border: 1px solid var(--line-dark-2);
  font-family: var(--font-display); font-size: .64rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-dim);
}

/* ==========================================================================
   Hero credentials — visiting card and MSME certificate
   Two floating cards in the empty right-hand side of the home hero. Both open
   full size in the lightbox.
   ========================================================================== */

.hero__aside { display: grid; gap: 12px; width: min(400px, 100%); }
@media (min-width: 1000px) { .hero__aside { width: clamp(300px, 25vw, 356px); } }
.cred { display: grid; gap: 12px; }

.cred__card {
  display: block; width: 100%; padding: 0; text-align: left; cursor: zoom-in;
  border: 1px solid var(--line-dark-2);
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(18, 34, 47, .62);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(6, 12, 18, .42);
  opacity: 0; transform: translateY(28px) scale(.97);
  animation: credIn .95s var(--ease-out) forwards;
  transition: transform .55s var(--ease-spring), box-shadow .55s var(--ease),
              border-color .4s var(--ease);
}
.cred__card:nth-child(1) { animation-delay: 1.05s; }
.cred__card:nth-child(2) { animation-delay: 1.24s; }
@keyframes credIn { to { opacity: 1; transform: none; } }

.cred__card:hover, .cred__card:focus-visible {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(224, 146, 95, .55);
  box-shadow: 0 28px 62px rgba(6, 12, 18, .55), 0 0 0 1px rgba(224, 146, 95, .3);
}

.cred__frame { position: relative; display: block; overflow: hidden; }
.cred__frame img { display: block; width: 100%; height: auto; }

/* Slow light sweep so the cards catch the eye without being noisy */
.cred__sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.30) 50%, transparent 62%);
  transform: translateX(-130%);
  animation: credSheen 7s ease-in-out 2.6s infinite;
}
.cred__card:nth-child(2) .cred__sheen { animation-delay: 5.1s; }
@keyframes credSheen { 0% { transform: translateX(-130%); } 16%, 100% { transform: translateX(130%); } }

.cred__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 13px;
  border-top: 1px solid var(--line-dark);
}
.cred__t {
  font-family: var(--font-display); font-weight: 600;
  font-size: .8rem; line-height: 1.25; color: #fff;
}
.cred__t em {
  display: block; margin-top: 4px; font-style: normal;
  font-size: .6rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent-lt);
}
.cred__ico {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark-2); color: var(--on-dark-dim);
  transition: background-color .35s var(--ease), border-color .35s, color .35s, transform .45s var(--ease-out);
}
.cred__card:hover .cred__ico, .cred__card:focus-visible .cred__ico {
  background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .cred__card { opacity: 1; transform: none; animation: none; transition: none; }
  .cred__card:hover { transform: none; }
  .cred__sheen { display: none; }
}

/* On shorter desktop screens the spec panel steps aside so the credentials and
   the hero call-to-action both stay above the fold. */
@media (min-width: 1000px) and (max-height: 960px) {
  .hero__aside .hero__panel { display: none; }
}
