/*
Theme Name: Enlighten Studios
Theme URI: https://enlightenstudios.us
Author: Enlighten Studios
Description: Dark purple and orange custom theme matching the Enlighten site kit — home, services, hosting, portfolio, and contact.
Version: 1.6.8
Requires at least: 6.0
Text Domain: enlighten-studios
*/

:root {
  --bg: #0b0d14;
  --bg-elev: #12151f;
  --header: #0e1018;
  --purple: #6d28d9;
  --purple-deep: #3b0764;
  --purple-mid: #5b21b6;
  --orange: #f97316;
  --orange-gradient: linear-gradient(180deg, #ffb020 0%, #f97316 52%, #c2410c 100%);
  --text: #f4f6fb;
  --muted: #9aa3b5;
  --line: #2a3144;
  --card: #151826;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --font: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

img,
svg,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  isolation: isolate;
  background: var(--header);
  background-color: #0e1018;
  border-bottom: 1px solid var(--line);
}

body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media screen and (max-width: 600px) {
  body.admin-bar .site-header {
    top: 0;
  }
}

.site-header .header-inner {
  position: relative;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 96px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: auto;
  height: 87px;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.site-nav a.is-active {
  color: var(--orange);
}

.site-nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-nav a.header-phone:hover,
.site-nav a.btn-primary:hover {
  color: #1a0b00;
}

.btn-primary,
.site-nav .btn-primary,
.header-phone,
.site-nav .header-phone {
  background: var(--orange-gradient);
  color: #1a0b00;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.28);
}

.header-phone,
.site-nav .header-phone {
  padding: 8px 16px;
  white-space: nowrap;
}

.btn-primary:hover,
.site-nav .btn-primary:hover,
.header-phone:hover,
.site-nav .header-phone:hover {
  color: #1a0b00;
  filter: brightness(1.08);
}

.hero {
  --hero-image: url("assets/hero-v2-aisle-rays.png");
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #2e1064;
  background-image:
    radial-gradient(1200px 400px at 20% -10%, rgba(167, 139, 250, 0.28), transparent 50%),
    linear-gradient(180deg, rgba(76, 29, 149, 0.58) 0%, rgba(46, 16, 100, 0.66) 42%, rgba(11, 13, 20, 0.92) 100%),
    var(--hero-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 88px 0 64px;
}

.hero-services { --hero-image: url("assets/hero-services.png"); }
.hero-about { --hero-image: url("assets/hero-about.png"); }
.hero-hosting { --hero-image: url("assets/hero-v2-aisle-rays.png"); }
.hero-work { --hero-image: url("assets/hero-work-readable.svg?v=3"); }
.hero-contact { --hero-image: url("assets/hero-contact.png"); }

.hero .filters {
  justify-content: flex-start;
  margin-top: 20px;
}

.hero .chip {
  background: rgba(26, 16, 48, 0.72);
  backdrop-filter: blur(8px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: left;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero p a:hover {
  color: var(--orange);
}

.hero p,
.lede {
  margin: 16px 0 28px;
  color: #d6d3e8;
  font-size: 20px;
}

.page-hero {
  background: linear-gradient(180deg, #3b0764, var(--bg));
  padding: 48px 0 24px;
  text-align: center;
}

.page-hero .filters {
  justify-content: center;
}

.section {
  padding: 28px 0 64px;
}

.hero + .section {
  padding-top: 40px;
}

.work-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 56px;
  background-color: #2e1064;
}

.work-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/hero-work-readable.svg?v=3") center / cover no-repeat;
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

.work-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 280px at 18% -20%, rgba(167, 139, 250, 0.32), transparent 55%),
    linear-gradient(180deg, rgba(76, 29, 149, 0.55) 0%, rgba(46, 16, 100, 0.72) 48%, rgba(11, 13, 20, 0.94) 100%);
  pointer-events: none;
  z-index: 0;
}

.work-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.work-hero .section-title {
  margin-bottom: 12px;
}

.work-hero p {
  color: #d6d3e8;
  font-size: 18px;
  max-width: 40rem;
  margin-bottom: 22px;
}

.features-hero {
  padding: 56px 0 48px;
}

.features-hero::before {
  background-image: url("assets/card-bg-hosting.png");
  opacity: 0.34;
}

.features-hero p {
  margin-bottom: 0;
}

.services-band::before {
  background-image: url("assets/hero-about.png");
  opacity: 0.3;
}

.section-features {
  padding-top: 32px;
}

.section-work {
  padding-top: 36px;
}

.section-work .service-block {
  margin-top: 0;
  margin-bottom: 0;
}

.copy-rule {
  position: relative;
  height: 1px;
  margin: 36px 0 28px;
  border: 0;
  background: linear-gradient(90deg, transparent 0%, var(--line) 10%, var(--purple-mid) 50%, var(--line) 90%, transparent 100%);
}

.copy-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--orange);
  transform: translate(-50%, -50%) rotate(45deg);
}

.section-services .service-block {
  margin-top: 0;
  margin-bottom: 0;
}

.section-services .service-block[id] {
  scroll-margin-top: 96px;
}

.section-services .faq {
  margin-top: 8px;
}

.service-visual {
  margin: 36px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0c0e16;
  box-shadow: var(--shadow);
}

.service-visual img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  animation: service-drift 22s ease-in-out infinite alternate;
}

.service-visual-wide img {
  height: 280px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.work-grid .work-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.work-grid.is-in .work-item {
  opacity: 1;
  transform: none;
}

.work-grid.is-in .work-item:nth-child(2) { transition-delay: 0.07s; }
.work-grid.is-in .work-item:nth-child(3) { transition-delay: 0.14s; }
.work-grid.is-in .work-item:nth-child(4) { transition-delay: 0.21s; }
.work-grid.is-in .work-item:nth-child(5) { transition-delay: 0.28s; }
.work-grid.is-in .work-item:nth-child(6) { transition-delay: 0.35s; }
.work-grid.is-in .work-item:nth-child(7) { transition-delay: 0.42s; }

@keyframes service-drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(0, -2.4%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .work-grid .work-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .chart-bar,
  .chart-line,
  .chart-dot,
  .feature-list li {
    transform: none;
    opacity: 1;
    stroke-dashoffset: 0;
    animation: none;
    transition: none;
  }

  .icon-card::before,
  .service-visual img {
    animation: none;
    transform: none;
  }
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.cards-3,
.cards-2,
.plans,
.work-grid {
  display: grid;
  gap: 18px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.icon-card,
.service-tile,
.plan,
.map-card,
.contact-form,
.feature-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.icon-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 2px solid var(--orange);
}

.icon-card::before {
  content: "";
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
  animation: service-drift 24s ease-in-out infinite alternate;
}

.icon-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 17, 26, 0.22) 0%, var(--card) 82%);
  pointer-events: none;
  z-index: 0;
}

.icon-card > * {
  position: relative;
  z-index: 1;
}

.icon-card-design::before {
  background-image: url("assets/card-bg-web-design.png");
}

.icon-card-hosting::before {
  background-image: url("assets/card-bg-hosting.png");
}

.icon-card-seo::before {
  background-image: url("assets/card-bg-seo.png");
}

.icon-card-shop::before {
  background-image: url("assets/card-bg-web-design.png");
}

.icon-card-repair::before {
  background-image: url("assets/card-bg-hosting.png");
}

.icon-card-builds::before {
  background-image: url("assets/card-bg-seo.png");
}

.cards-3 .reveal:nth-child(2) { transition-delay: 0.07s; }
.cards-3 .reveal:nth-child(3) { transition-delay: 0.14s; }
.cards-3 .reveal:nth-child(4) { transition-delay: 0.08s; }
.cards-3 .reveal:nth-child(5) { transition-delay: 0.15s; }
.cards-3 .reveal:nth-child(6) { transition-delay: 0.22s; }

.icon-card svg,
.service-tile svg {
  width: 42px;
  height: 42px;
  color: var(--orange);
  margin-bottom: 16px;
}

.icon-card h2,
.icon-card h3,
.service-tile h2,
.service-tile h3,
.plan h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.icon-card p,
.service-tile p,
.plan li,
.map-card p {
  color: var(--muted);
}

.more {
  color: var(--orange);
  font-weight: 600;
}

.icon-card .more,
.service-tile .more {
  display: inline-block;
  margin-top: 12px;
}

.service-intro {
  max-width: 40rem;
  margin: 0 0 28px;
  color: var(--muted);
}

.service-block {
  margin-bottom: 48px;
}

.service-block h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.service-block p {
  color: var(--muted);
  max-width: 46rem;
  text-align: justify;
  text-align-last: start;
  hyphens: auto;
}

.service-block p + p,
.service-block ul {
  margin-top: 12px;
}

.service-block ul {
  color: var(--muted);
  padding-left: 18px;
}

.service-block li + li {
  margin-top: 6px;
}

.work-project {
  scroll-margin-top: 96px;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq details p {
  color: var(--muted);
  margin-top: 10px;
  max-width: 46rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0 48px;
}

.stats div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}

.stats strong {
  display: block;
  font-size: 22px;
  color: var(--orange);
  margin-bottom: 4px;
}

.stats span {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-tile {
  background: linear-gradient(180deg, #1a1030, var(--card));
}

.work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow-anchor: none;
}

.work-card {
  position: relative;
  display: block;
  color: inherit;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0c0e16;
}

button.work-card {
  appearance: none;
  width: 100%;
  margin: 0;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.work-card:hover,
.work-card:focus-visible {
  border-color: var(--orange);
}

.work-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.work-item[hidden] {
  display: none;
}

.work-card span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(11, 13, 20, 0.72);
  padding: 4px 8px;
  border-radius: 8px;
}

.work-toggle span::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.25s ease;
}

.work-item.is-open .work-toggle span::after {
  transform: rotate(225deg) translateY(-1px);
}

.work-item {
  min-width: 0;
  scroll-margin-top: 114px;
}

.work-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s ease;
}

.work-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.work-item.is-open {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--orange);
  border-radius: 14px;
  overflow: hidden;
}

.work-item.is-open .work-card {
  border: 0;
  border-radius: 0;
}

.work-item.is-open .work-card img {
  height: 280px;
}

.work-item.is-open .work-panel {
  grid-template-rows: 1fr;
}

.work-item.is-open .work-panel-inner {
  padding: 22px 24px 24px;
}

.work-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

.work-panel-inner h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.work-panel-inner p {
  margin: 0 0 12px;
  color: var(--muted);
}

.work-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 18px;
}

.work-shots figure {
  margin: 0;
}

.work-shots img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0c0e16;
}

.work-shots figcaption {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .work-item.is-open .work-card img {
    height: 200px;
  }

  .work-shots {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .work-panel,
  .work-toggle span::after {
    transition: none;
  }
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.contact-aside .lede {
  margin-bottom: 16px;
}

.contact-aside p {
  color: var(--muted);
  max-width: 36rem;
}

.contact-aside p + p,
.contact-aside ul {
  margin-top: 12px;
}

.contact-aside ul {
  color: var(--muted);
  padding-left: 18px;
}

.contact-aside li + li {
  margin-top: 6px;
}

.contact-aside p a {
  color: var(--orange);
  font-weight: 600;
}

.contact-aside .more {
  display: inline-block;
  margin-top: 16px;
  margin-right: 16px;
}

#quote,
.contact-form {
  scroll-margin-top: 96px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  background: #0c0e16;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}

.contact-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #9aa3b5 50%), linear-gradient(135deg, #9aa3b5 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.plan-aside ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.plan-aside li + li {
  margin-top: 8px;
}

.contact-form button {
  justify-self: start;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(134, 239, 172, 0.12);
  color: #86efac;
}

.form-note-error {
  background: rgba(248, 113, 113, 0.12);
  color: #fca5a5;
}

.form-note a {
  color: inherit;
}

.plans {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #1a1030;
}

.plan::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

.plan::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 16, 48, 0.2) 0%, #1a1030 84%);
  pointer-events: none;
  z-index: 0;
}

.plan > * {
  position: relative;
  z-index: 1;
}

.plan-basic::before,
.plans .plan:nth-child(1)::before {
  background-image: url("assets/card-bg-web-design.png");
}

.plan-pro::before,
.plans .plan:nth-child(2)::before {
  background-image: url("assets/card-bg-hosting.png");
  opacity: 0.22;
}

.plan-enterprise::before,
.plans .plan:nth-child(3)::before {
  background-image: url("assets/card-bg-hosting.png");
  opacity: 0.26;
}

.plan-enterprise::after {
  background: linear-gradient(180deg, rgba(26, 16, 48, 0.1) 0%, #1a1030 88%);
}

.plan-featured {
  background: var(--purple);
  transform: translateY(-8px);
}

.plan-featured::after {
  background: linear-gradient(180deg, rgba(109, 40, 217, 0.12) 0%, var(--purple) 86%);
}

.plan-featured li,
.plan-featured h2 {
  color: var(--text);
}

.plan ul {
  margin: 0 0 20px;
  padding-left: 18px;
}

.plan li + li {
  margin-top: 8px;
}

.feature-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 22px;
}

.chart-wrap {
  margin: 0;
}

.chart {
  width: 100%;
  display: block;
  background:
    radial-gradient(520px 180px at 12% 0%, rgba(109, 40, 217, 0.22), transparent 58%),
    #0c0e16;
  border: 1px solid rgba(167, 139, 250, 0.16);
  border-radius: 12px;
}

.chart-caption {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 13px;
}

.chart-bar {
  transform-box: fill-box;
  transform-origin: bottom;
  transform: scaleY(0);
}

.feature-panel.is-in .chart-bar {
  transform: scaleY(1);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-panel.is-in .chart-bar:nth-child(2) { transition-delay: 0.08s; }
.feature-panel.is-in .chart-bar:nth-child(3) { transition-delay: 0.16s; }
.feature-panel.is-in .chart-bar:nth-child(4) { transition-delay: 0.24s; }
.feature-panel.is-in .chart-bar:nth-child(5) { transition-delay: 0.32s; }
.feature-panel.is-in .chart-bar:nth-child(6) { transition-delay: 0.4s; }

.chart-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.feature-panel.is-in .chart-line {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.35s ease 0.28s;
}

.chart-dot {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.4);
}

.feature-panel.is-in .chart-dot {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.feature-panel.is-in .chart-dot:nth-child(1) { transition-delay: 0.55s; }
.feature-panel.is-in .chart-dot:nth-child(2) { transition-delay: 0.7s; }
.feature-panel.is-in .chart-dot:nth-child(3) { transition-delay: 0.85s; }
.feature-panel.is-in .chart-dot:nth-child(4) { transition-delay: 1s; }
.feature-panel.is-in .chart-dot:nth-child(5) { transition-delay: 1.12s; }
.feature-panel.is-in .chart-dot:nth-child(6) { transition-delay: 1.24s; }

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.feature-list li {
  position: relative;
  padding: 11px 0 11px 22px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  opacity: 0;
  transform: translateX(10px);
}

.feature-list li:first-child {
  padding-top: 0;
}

.feature-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--orange);
  transform: translateY(-50%) rotate(45deg);
}

.feature-panel.is-in .feature-list li {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.feature-panel.is-in .feature-list li:nth-child(1) { transition-delay: 0.18s; }
.feature-panel.is-in .feature-list li:nth-child(2) { transition-delay: 0.26s; }
.feature-panel.is-in .feature-list li:nth-child(3) { transition-delay: 0.34s; }
.feature-panel.is-in .feature-list li:nth-child(4) { transition-delay: 0.42s; }
.feature-panel.is-in .feature-list li:nth-child(5) { transition-delay: 0.5s; }
.feature-panel.is-in .feature-list li:nth-child(6) { transition-delay: 0.58s; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip {
  background: #1a1030;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  cursor: pointer;
}

.chip.is-active {
  background: var(--orange-gradient);
  color: #1a0b00;
  border-color: #c2410c;
}

.map-card iframe {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 12px;
  margin-top: 12px;
  filter: grayscale(0.4) contrast(1.1);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  color: var(--muted);
  font-size: 14px;
  background: #0c0e16;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr 1fr;
  gap: 36px 28px;
  align-items: start;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 14px;
}

.footer-logo img {
  height: 52px;
  width: auto;
}

.footer-brand p {
  max-width: 28rem;
  margin: 0 0 16px;
  line-height: 1.55;
}

.footer-nap {
  display: grid;
  gap: 6px;
}

.footer-nap a,
.footer-col a,
.map-card a {
  color: var(--orange);
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 14px;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 8px;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-area-note {
  margin: 14px 0 0;
  font-size: 13px;
  max-width: 18rem;
}

.footer-bar {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-bar p {
  margin: 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.prose {
  max-width: 40rem;
}

@media (max-width: 1400px) {
  .logo img {
    height: 68px;
  }

  .header-inner {
    min-height: 84px;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav .header-phone {
    align-self: flex-start;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--header);
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
    font-size: 14px;
  }

  .site-nav.is-open {
    display: flex;
  }
}

@media (max-width: 900px) {

  .cards-3,
  .cards-2,
  .plans,
  .work-grid,
  .split,
  .feature-panel {
    grid-template-columns: 1fr;
  }

  .plan-featured {
    transform: none;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .service-block p {
    text-align: left;
    text-align-last: auto;
    hyphens: none;
  }

  .service-visual img,
  .service-visual-wide img {
    height: 180px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .work-item {
    scroll-margin-top: 96px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
