/* Public site extras on top of foundation.css */

.nav-right a.active { opacity: 1; color: #fff; box-shadow: inset 0 -2px 0 var(--green); padding-bottom: 2px; }

/* Full-bleed hero video loop */
.hero-video {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 56px 0 48px;
  min-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.05);
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 14, 22, 0.92) 0%, rgba(7, 18, 28, 0.78) 42%, rgba(7, 20, 30, 0.62) 100%),
    radial-gradient(circle at 78% 40%, rgba(22, 140, 255, 0.18), transparent 42%),
    radial-gradient(circle at 20% 80%, rgba(8, 201, 135, 0.12), transparent 36%);
}
.hero-video .home-hero-grid {
  position: relative;
  z-index: 1;
}
.hero-video .hero-copy { color: #d5e2eb; }
.hero-video .concept-browser {
  backdrop-filter: blur(10px);
  background:
    linear-gradient(180deg, rgba(9, 28, 41, 0.88), rgba(7, 20, 30, 0.9)) padding-box,
    linear-gradient(135deg, rgba(22, 140, 255, 0.95), rgba(8, 201, 135, 0.86)) border-box;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video-bg video { display: none; }
  .hero-video-overlay {
    background:
      radial-gradient(circle at 18% 11%, rgba(22, 140, 255, 0.16), transparent 25%),
      radial-gradient(circle at 76% 19%, rgba(8, 201, 135, 0.13), transparent 28%),
      linear-gradient(180deg, #07121a 0%, #08151f 56%, #07131c 100%);
  }
}

.page-hero {
  padding: 56px 0 28px;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  letter-spacing: -.045em;
  line-height: 1.02;
  margin: 10px 0 14px;
  max-width: 760px;
}
.page-hero .lede {
  font-size: 1.08rem;
  line-height: 1.6;
  color: #c2d0da;
  max-width: 620px;
  margin: 0;
}
.page-hero h1 .gradient {
  color: transparent;
  background: linear-gradient(90deg, var(--blue) 5%, #19a6ff 48%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.reveal {
  animation: rise .7s ease both;
}
.reveal-delay { animation-delay: .12s; }
.reveal-delay-2 { animation-delay: .24s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.plan-tier {
  position: relative;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17,39,53,.9), rgba(11,29,41,.9));
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.plan-tier:hover {
  transform: translateY(-4px);
  border-color: rgba(22,140,255,.45);
  box-shadow: var(--glow-blue);
}
.plan-tier.featured {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(17,39,53,.96), rgba(11,29,41,.96)) padding-box,
    linear-gradient(135deg, rgba(22,140,255,.95), rgba(8,201,135,.86)) border-box;
  box-shadow: var(--shadow), var(--glow-green);
}
.plan-tier .ribbon {
  position: absolute;
  top: 14px; right: 14px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #04170f;
  background: var(--green);
  padding: 5px 9px;
  border-radius: 999px;
}
.plan-tier h3 { margin: 0 0 6px; font-size: 1.35rem; letter-spacing: -.02em; }
.plan-tier .tagline { color: var(--muted); font-size: .88rem; margin: 0 0 18px; min-height: 2.6em; }
.plan-price {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
  margin-bottom: 4px;
}
.plan-price span { font-size: .95rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.plan-tier .features {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  display: grid;
  gap: 8px;
  flex: 1;
}
.plan-tier .features li {
  font-size: .86rem;
  color: #dce6ed;
  padding-left: 1.35em;
  position: relative;
}
.plan-tier .features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.project-band {
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 30%, rgba(22,140,255,.18), transparent 32%),
    linear-gradient(135deg, rgba(14,32,45,.95), rgba(7,22,32,.95));
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 24px;
  align-items: center;
}
.project-band h2 { margin: 0 0 8px; font-size: 1.7rem; letter-spacing: -.03em; }
.project-band p { margin: 0; color: var(--muted); max-width: 520px; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 28px;
  align-items: start;
}
.contact-card, .contact-aside {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17,39,53,.9), rgba(11,29,41,.9));
  padding: 24px;
}
.contact-card .field { margin-bottom: 14px; }
.contact-card label {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9bb0bf;
  margin-bottom: 6px;
}
.contact-card .form-control {
  width: 100%;
  background: rgba(5,15,23,.55);
  border: 1px solid rgba(124,188,224,.22);
  border-radius: 10px;
  padding: 12px 13px;
  color: var(--text);
}
.contact-card .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-card .full { grid-column: 1 / -1; }
.contact-aside h3 { margin-top: 0; }
.contact-aside .point {
  display: flex;
  gap: 12px;
  margin: 14px 0;
  font-size: .9rem;
  color: #d2dee7;
}
.contact-aside .point .mark {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(8,201,135,.1);
  border: 1px solid rgba(8,201,135,.28);
  color: var(--green);
  font-weight: 900;
}

.service-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.service-detail .service-card { min-height: 180px; padding: 22px; }
.service-detail .service-card h3 { font-size: 1.15rem; }
.service-detail .service-card p { font-size: .88rem; }

.process-hero h1 { max-width: 920px; }
.process-hero .lede { max-width: 680px; }
.process-pledges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
}
.process-pledges span {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #d5e4ee;
  padding: 8px 12px 8px 28px;
  border-radius: 999px;
  border: 1px solid rgba(8,201,135,.28);
  background: rgba(8,201,135,.07);
  position: relative;
}
.process-pledges span:before {
  content: "✓";
  position: absolute;
  left: 10px;
  color: var(--green);
  font-weight: 900;
}

.process-orbit {
  position: relative;
  display: grid;
  gap: 14px;
}
.process-spine {
  position: absolute;
  left: 45px;
  top: 36px;
  bottom: 36px;
  width: 2px;
  background: linear-gradient(180deg, rgba(22,140,255,.85), rgba(8,201,135,.75));
  box-shadow: 0 0 18px rgba(22,140,255,.35);
  pointer-events: none;
  z-index: 0;
}
.process-act {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(17,39,53,.88), rgba(11,29,41,.9));
  overflow: hidden;
  transition:
    border-color .45s ease,
    box-shadow .45s ease,
    transform .45s ease;
}
.process-act:nth-of-type(odd) { --act: var(--blue); --act-glow: rgba(22,140,255,.28); --act-ink: #fff; }
.process-act:nth-of-type(even) { --act: var(--green); --act-glow: rgba(8,201,135,.26); --act-ink: #04170f; }
.process-act.is-open {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(17,39,53,.96), rgba(11,29,41,.96)) padding-box,
    linear-gradient(135deg, rgba(22,140,255,.95), rgba(8,201,135,.86)) border-box;
  box-shadow: var(--shadow), 0 0 48px var(--act-glow);
  transform: translateY(-2px);
}
.process-act-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 68px 1fr auto 42px;
  gap: 16px;
  align-items: center;
  padding: 22px 22px 22px 18px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.process-act-trigger:hover .process-act-tease { color: #d5e2eb; }
.process-act-trigger:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -4px;
}
.process-act-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -.03em;
  background: var(--act);
  color: var(--act-ink);
  box-shadow: 0 0 24px var(--act-glow);
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .45s ease;
}
.process-act.is-open .process-act-num {
  transform: scale(1.08);
  box-shadow: 0 0 36px var(--act-glow);
}
.process-act-kicker {
  display: block;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #3ab2ff;
  margin-bottom: 4px;
}
.process-act:nth-of-type(even) .process-act-kicker { color: #7eecc0; }
.process-act-meta h2 {
  margin: 0 0 4px;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  letter-spacing: -.03em;
  line-height: 1.15;
}
.process-act-tease {
  margin: 0;
  color: #b8c6d1;
  font-size: .9rem;
  line-height: 1.45;
  max-width: 620px;
}
.process-act-time {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9bb4c4;
  border: 1px solid rgba(124,188,224,.22);
  border-radius: 999px;
  padding: 7px 11px;
  white-space: nowrap;
}
.process-act-chevron {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(124,188,224,.22);
  position: relative;
  transition: transform .45s cubic-bezier(.22,1,.36,1), border-color .3s ease, background .3s ease;
}
.process-act-chevron:before {
  content: "";
  position: absolute;
  left: 11px;
  top: 13px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #d7e6f0;
  border-bottom: 2px solid #d7e6f0;
  transform: rotate(45deg);
}
.process-act.is-open .process-act-chevron {
  transform: rotate(180deg);
  background: rgba(22,140,255,.14);
  border-color: rgba(22,140,255,.45);
}
.process-act-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .62s cubic-bezier(.22,1,.36,1);
}
.process-act.is-open .process-act-panel { grid-template-rows: 1fr; }
.process-act-inner {
  overflow: hidden;
  min-height: 0;
}
.process-bloom {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  padding: 4px 22px 24px 86px;
}
.process-story {
  margin: 0 0 18px;
  color: #d7e3eb;
  font-size: 1.02rem;
  line-height: 1.62;
}
.process-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.process-split > div {
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid rgba(124,188,224,.16);
  background: rgba(5,15,23,.35);
}
.process-split h3 {
  margin: 0 0 6px;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7ec8ff;
}
.process-act:nth-of-type(even) .process-split h3 { color: #8ce8c4; }
.process-split p {
  margin: 0;
  color: #c5d3dd;
  font-size: .86rem;
  line-height: 1.45;
}
.process-vow {
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(8,201,135,.28);
  background:
    radial-gradient(circle at 88% 0%, rgba(8,201,135,.16), transparent 42%),
    linear-gradient(180deg, rgba(8,28,36,.9), rgba(7,20,30,.92));
}
.process-vow-label {
  margin: 0 0 10px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
}
.process-vow ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 8px;
}
.process-vow li {
  color: #e7f1f6;
  font-size: .88rem;
  line-height: 1.4;
  padding-left: 1.2em;
  position: relative;
}
.process-vow li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}
.process-vow-foot {
  margin: 0;
  color: #b7c9d4;
  font-size: .82rem;
  line-height: 1.45;
  font-weight: 600;
}

.process-act.is-open .process-story,
.process-act.is-open .process-split,
.process-act.is-open .process-vow {
  animation: processBloom .7s cubic-bezier(.22,1,.36,1) both;
}
.process-act.is-open .process-split { animation-delay: .06s; }
.process-act.is-open .process-vow { animation-delay: .12s; }
@keyframes processBloom {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .process-act, .process-act-num, .process-act-chevron, .process-act-panel {
    transition: none;
  }
  .process-act.is-open .process-story,
  .process-act.is-open .process-split,
  .process-act.is-open .process-vow { animation: none; }
}

.portfolio-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}
.portfolio-hero-grid .concept-screen { aspect-ratio: 1.45; }
.concept-link-card {
  display: block;
  transition: transform .2s ease;
}
.concept-link-card:hover { transform: translateY(-4px); }

/* Real concept mockups — mini sites, not CSS shapes */
.concept-screen { color: inherit; }
.concept-screen .screen-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 8px 0;
  position: relative;
  z-index: 3;
}
.screen-logo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .42rem;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
}
.screen-logo i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: currentColor;
  flex-shrink: 0;
}
.screen-links {
  display: flex;
  gap: 5px;
  font-size: .36rem;
  font-weight: 700;
  letter-spacing: .01em;
  opacity: .62;
  white-space: nowrap;
}
.screen-links em { font-style: normal; }
.screen-art {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 58%;
  object-fit: cover;
  object-position: 50% 62%;
  z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%);
  mask-image: linear-gradient(90deg, transparent, #000 22%);
}
.screen-copy {
  position: relative;
  z-index: 2;
  padding: 12px 10px 12px 8px;
  max-width: 58%;
}
.concept-screen .micro-h {
  font-size: clamp(.58rem, 1.05vw, .92rem);
  max-width: none;
}
.concept-screen .micro-p {
  font-size: clamp(.38rem, .7vw, .52rem);
  max-width: none;
  opacity: .78;
}
.concept-screen .micro-btn {
  font-size: clamp(.36rem, .65vw, .48rem);
  padding: 5px 8px;
  border-radius: 5px;
}

.screen-pro {
  background: linear-gradient(135deg, #f8fbff 0%, #e4f0fa 58%, #d5e8f7 100%);
  color: #14314b;
}
.screen-pro .screen-logo i { background: #178cff; }
.screen-pro .screen-art { object-position: 48% 58%; }

.screen-bold {
  background:
    radial-gradient(circle at 78% 42%, rgba(8,201,135,.28), transparent 36%),
    linear-gradient(145deg, #03110d, #071c14 70%, #04140f);
  color: #edfdf6;
  box-shadow: 0 8px 25px rgba(0,0,0,.35), 0 0 28px rgba(8,201,135,.18);
}
.screen-bold .screen-logo i { background: #09c987; }
.screen-bold .screen-art {
  object-position: 48% 58%;
  filter: brightness(.55) contrast(1.15) saturate(.85);
}
.screen-bold .screen-art + .screen-copy { /* keep copy above the dark photo */ }
.screen-bold::after {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 58%;
  background: linear-gradient(180deg, rgba(8,201,135,.18), rgba(2,24,16,.35));
  z-index: 1;
  pointer-events: none;
}

.screen-elegant {
  background: linear-gradient(145deg, #f6f2ea, #e8e0d2);
  color: #302d29;
}
.screen-elegant .screen-logo,
.screen-elegant .screen-links,
.screen-elegant .micro-btn { font-family: Inter, ui-sans-serif, sans-serif; }
.screen-elegant .micro-h {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 700;
  letter-spacing: -.03em;
}
.screen-elegant .micro-p {
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
}
.screen-elegant .screen-logo i { background: #6d6454; }
.screen-elegant .screen-art { object-position: 55% 40%; }

.showcase .concept-screen .screen-bar { padding: 11px 12px 0; }
.showcase .screen-logo { font-size: .55rem; }
.showcase .screen-logo i { width: 10px; height: 10px; }
.showcase .screen-links { font-size: .48rem; gap: 8px; }
.showcase .screen-copy { padding: 18px 14px 16px 12px; }
.showcase .concept-screen .micro-h { font-size: clamp(.85rem, 1.4vw, 1.15rem); }
.showcase .concept-screen .micro-p { font-size: .62rem; }
.showcase .concept-screen .micro-btn { font-size: .55rem; padding: 7px 11px; }

/* Real client work — two larger cards per row */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.work-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(17,39,53,.9), rgba(11,29,41,.92));
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.work-shot {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0a1620;
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
}
.work-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .45s ease;
}
.work-card:hover .work-shot img { transform: scale(1.035); }
.work-open {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  background: rgba(5,15,23,.82);
  border: 1px solid rgba(22,140,255,.45);
  color: #fff;
  backdrop-filter: blur(8px);
}
.work-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.work-kicker {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #3ab2ff;
  margin-bottom: 6px;
}
.work-card.accent-warm .work-kicker { color: #ffb070; }
.work-card.accent-gold .work-kicker { color: #e6c36a; }
.work-card.accent-tech .work-kicker { color: #5cd6ff; }
.work-body h3 {
  margin: 0 0 6px;
  font-size: 1.28rem;
  letter-spacing: -.02em;
}
.work-tagline {
  margin: 0 0 10px;
  color: #d5e2eb;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.4;
}
.work-desc {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.5;
  flex: 1;
}
.work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.btn-sm { padding: 9px 13px; font-size: .8rem; }

@media (max-width: 720px) {
  .work-grid { grid-template-columns: 1fr; }
}

.messages-public {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.messages-public li {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(8,201,135,.35);
  background: rgba(8,201,135,.08);
}

.thanks-wrap {
  min-height: 58vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 20px;
}
.thanks-wrap h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; margin: 10px 0 12px; }
.thanks-wrap p { color: var(--muted); max-width: 460px; margin: 0 auto 22px; }

.home-hero-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.home-hero-grid h1 {
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  line-height: .98;
  letter-spacing: -.054em;
  margin: 12px 0 18px;
  max-width: 640px;
}
.home-hero-grid h1 .gradient {
  color: transparent;
  background: linear-gradient(90deg, var(--blue) 5%, #19a6ff 48%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.quote-carousel {
  max-width: 920px;
  margin: 0 auto;
}
.quote-carousel .quote-slide {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  min-height: 22.75rem;
  padding: 40px 44px 34px;
}
.quote-carousel .quote-slide.is-active {
  display: flex;
  animation: quote-in .4s ease;
}
@keyframes quote-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.quote-carousel .quote-card {
  position: relative;
  overflow: hidden;
}
.quote-carousel .quote-card:before {
  content: "“";
  position: absolute;
  top: 8px;
  left: 18px;
  font-size: 7rem;
  line-height: 1;
  color: rgba(22, 140, 255, .12);
  font-family: Georgia, "Times New Roman", serif;
  pointer-events: none;
}
.quote-carousel .quote {
  position: relative;
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.65;
  color: #eef5f9;
}
.quote-carousel .quote-slide[data-quote-size="mid"] .quote {
  font-size: 1.28rem;
  line-height: 1.58;
}
.quote-carousel .quote-slide[data-quote-size="short"] .quote {
  font-size: 1.52rem;
  line-height: 1.5;
}
.quote-carousel .quote p {
  margin: 0 0 .9em;
}
.quote-carousel .quote p:first-child:before { content: "“"; }
.quote-carousel .quote p:last-child { margin-bottom: 0; }
.quote-carousel .quote p:last-child:after { content: "”"; }
.quote-foot {
  display: flex;
  align-items: center;
  gap: 16px;
}
.quote-carousel .avatar {
  width: 64px;
  height: 64px;
  font-size: 1.28rem;
  flex-shrink: 0;
}
.quote-carousel .who {
  font-size: .92rem;
}
.quote-carousel .role {
  font-size: .78rem;
  margin-top: 3px;
}
.quote-carousel .stars {
  font-size: 1rem;
  margin-top: 8px;
}
.quote-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}
.quote-arrow {
  appearance: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(124, 188, 224, .28);
  background: rgba(14, 32, 45, .72);
  color: #e8f3fa;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.quote-arrow svg { width: 18px; height: 18px; }
.quote-arrow:hover,
.quote-arrow:focus-visible {
  border-color: rgba(22, 140, 255, .7);
  background: rgba(22, 140, 255, .12);
  color: #fff;
  outline: none;
}
.quote-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.quote-dot {
  appearance: none;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(168, 196, 214, .38);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.quote-dot.is-active {
  width: 22px;
  background: var(--blue);
}
.quote-dot:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .quote-carousel .quote-slide.is-active { animation: none; }
}

@media (max-width: 980px) {
  .process-bloom, .process-split { grid-template-columns: 1fr; }
  .process-bloom { padding: 0 18px 20px 18px; }
  .process-act-trigger {
    grid-template-columns: 52px 1fr 34px;
    gap: 12px;
    padding: 16px;
  }
  .process-act-num { width: 46px; height: 46px; font-size: .92rem; }
  .process-act-time { display: none; }
  .process-spine { left: 38px; top: 28px; bottom: 28px; }
  .plan-grid, .home-hero-grid, .contact-layout, .service-detail, .portfolio-hero-grid, .project-band {
    grid-template-columns: 1fr;
  }
  .steps, .services { grid-template-columns: 1fr !important; }
  .step-card .arrow { display: none; }
  .quotes { grid-template-columns: 1fr; }
  .quote-carousel .quote-slide { padding: 28px 22px 24px; gap: 22px; min-height: 20.5rem; }
  .quote-carousel .quote { font-size: 1.08rem; }
  .quote-carousel .quote-slide[data-quote-size="mid"] .quote { font-size: 1.16rem; }
  .quote-carousel .quote-slide[data-quote-size="short"] .quote { font-size: 1.28rem; }
  .nav-right { gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
  .nav-right a:not(.btn):not(.show-mobile) { display: none; }
  .nav-right a.show-mobile, .nav-right .btn { display: inline-flex; }
  .assurance .checklist { grid-template-columns: 1fr 1fr !important; }
}
