body[data-page="home"] {
  background: var(--color-bg);
}

body[data-page="home"] .site-header {
  background-color: var(--color-white);
}

.hero {
  padding-block: var(--section-gap);
  margin-bottom: 0;
  background-color: var(--color-white);
  --blend-from: var(--color-white);
  --blend-to: var(--color-bg);
}

.hero-shell {
  position: relative;
  --hero-star-top: 6rem;
  --hero-star-right: 1.25rem;
  --hero-bottom-gap: 3rem;
  --hero-copy-width: 43rem;
  --hero-copy-offset: 19rem;
  --hero-title-size-desktop: 13rem;
  --hero-title-gap-desktop: 0.8rem;
  --hero-title-line-width: 4.4rem;
  --hero-title-line-height: 3px;
  --hero-title-line-offset: 1.1rem;
  padding-block: 1rem 0.5rem;
}

.hero-stars {
  position: absolute;
  top: var(--hero-star-top);
  right: var(--hero-star-right);
  display: flex;
  gap: 1.6rem;
}

.hero-star {
  position: relative;
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
}

.hero-star::before,
.hero-star::after,
.hero-star span::before,
.hero-star span::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 0.5px);
  width: 1px;
  height: 100%;
  background: var(--color-text);
}

.hero-star::after {
  transform: rotate(90deg);
}

.hero-star span::before {
  transform: rotate(45deg);
}

.hero-star span::after {
  transform: rotate(-45deg);
}

.hero-star::before,
.hero-star::after {
  transform-origin: center;
}

.hero-star span::before,
.hero-star span::after {
  transform-origin: center;
}

.hero-star::before {
  transform: rotate(0deg);
}

.hero-star > span {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-header {
  margin-bottom: 4.35rem;
}

.hero-kicker {
  margin-bottom: 0.35rem;
  font-size: clamp(1.95rem, 2.3vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero .hero-title {
  display: flex;
  align-items: center;
  gap: var(--hero-title-gap-desktop);
  margin: 0;
  font-family: var(--font-heading);
  max-width: none;
  font-size: var(--hero-title-size-desktop);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.068em;
  text-wrap: nowrap;
}

.hero .hero-title .hero-line {
  flex: 0 0 var(--hero-title-line-width);
  width: var(--hero-title-line-width);
  height: var(--hero-title-line-height);
  margin-top: var(--hero-title-line-offset);
  background: var(--color-text);
}

.hero .hero-title span:last-child {
  display: block;
  text-shadow: 0.028em 0.028em 0 var(--color-shadow-title);
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(14.5rem, 16.5rem) minmax(0, 1fr);
  justify-content: start;
  align-items: end;
  gap: var(--hero-bottom-gap);
}

.hero-meta {
  max-width: 16rem;
}

.hero-contact {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.hero-contact span {
  display: block;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 1.08rem;
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.625rem;
  height: 2.625rem;
  border: 1px solid var(--color-border-soft);
  border-radius: 50%;
  color: var(--color-text);
  background: transparent;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

.social-links img {
  width: 0.95rem;
  height: 0.95rem;
}

.hero-copy-block {
  width: min(100%, var(--hero-copy-width));
  max-width: none;
  margin-top: 0;
  margin-left: var(--hero-copy-offset);
}

.hero-copy {
  margin-top: 1.2rem;
  margin-bottom: 2rem;
  max-width: none;
  color: var(--color-muted);
  font-size: 1.08rem;
  line-height: 1.6;
  font-weight: 500;
}

.hero-cta {
  margin-top: 0;
  padding: 0.85rem 1.45rem;
}

@media (min-width: 90rem) {
  .hero-shell {
    padding-bottom: 0.5rem;
  }
}

@media (min-width: 80rem) and (max-width: 89.9375rem) {
  .hero-shell {
    --hero-star-top: 5.7rem;
    --hero-star-right: 0.75rem;
    --hero-bottom-gap: 2.75rem;
    --hero-copy-width: 38rem;
    --hero-copy-offset: 13.25rem;
    --hero-title-size-desktop: 10.8rem;
    --hero-title-gap-desktop: 0.7rem;
    --hero-title-line-width: 3.5rem;
    --hero-title-line-offset: 0.9rem;
  }

  .hero-header {
    margin-bottom: 3.8rem;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.55;
  }
}

@media (min-width: 120rem) {
  .hero-shell {
    --hero-copy-width: 45rem;
    --hero-copy-offset: 17.25rem;
    --hero-bottom-gap: 3rem;
    --hero-title-size-desktop: 13.2rem;
  }
}

@media (min-width: 64.0625rem) and (max-width: 80rem) {
  .hero-shell {
    --hero-copy-width: 34rem;
    --hero-copy-offset: 10.25rem;
    --hero-bottom-gap: 2.25rem;
    --hero-star-top: 5.2rem;
    --hero-star-right: 0.5rem;
    --hero-title-size-desktop: 9.35rem;
    --hero-title-gap-desktop: 0.65rem;
    --hero-title-line-width: 3.2rem;
    --hero-title-line-offset: 0.8rem;
  }

  .hero-header {
    margin-bottom: 3.4rem;
  }

  .hero-meta {
    max-width: 15rem;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.55;
  }
}

@media (max-width: 64rem) {
  .hero .hero-title {
    font-size: clamp(6.35rem, 15vw, 9.6rem);
  }

  .hero .hero-title .hero-line {
    flex-basis: 3.2rem;
    width: 3.2rem;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
  }

  .hero-copy-block,
  .hero-meta {
    max-width: 32rem;
  }

  .hero-copy-block {
    margin-top: 0;
    margin-left: 0;
  }
}

@media (max-width: 48rem) {
  .hero {
    padding-top: 1.5rem;
  }

  .hero-shell {
    padding-block: 0.5rem 0.5rem;
    --hero-star-top: 0.65rem;
  }

  .hero-stars {
    position: absolute;
    top: var(--hero-star-top);
    right: var(--hero-star-right);
    margin-bottom: 0;
    justify-content: flex-end;
  }

  .hero-header {
    margin-bottom: 2.5rem;
  }

  .hero-kicker {
    font-size: 1.85rem;
  }

  .hero .hero-title {
    gap: 0.75rem;
    font-size: clamp(4.75rem, 21.4vw, 7rem);
    line-height: 0.92;
  }

  .hero .hero-title .hero-line {
    flex-basis: 2.2rem;
    width: 2.2rem;
    height: 2px;
    margin-top: 0.55rem;
  }

  .hero-copy {
    margin-bottom: 1.35rem;
  }
}

@media (max-width: 30rem) {
  .hero-kicker {
    font-size: 1.6rem;
  }

  .hero .hero-title {
    gap: 0.55rem;
    font-size: clamp(3.7rem, 20.8vw, 5.55rem);
  }

  .hero-stars {
    gap: 1rem;
  }

  .hero-meta {
    max-width: none;
  }

  .social-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 22.5rem) {
  .hero .hero-title {
    font-size: 3.3rem;
  }

  .hero .hero-title .hero-line {
    flex-basis: 1.7rem;
    width: 1.7rem;
  }
}

.process-section {
  padding-block: var(--section-gap);
  background: var(--color-bg);
  --blend-from: var(--color-bg);
  --blend-to: #f2f2f2;
}

.process-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-label {
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.process-title {
  margin-bottom: 0;
  font-family: var(--font-heading);
  font-size: 2.65rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-block: 5rem;
  --process-step-size: 12rem;
  --process-step-overlap: 1.6rem;
}

.process-step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--process-step-size);
  height: var(--process-step-size);
  padding: 0.35rem;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  margin-left: calc(var(--process-step-overlap) * -1);
  transition: all 200ms ease;
  text-align: center;
}

.process-step:first-child {
  margin-left: 0;
}

.process-step.is-active {
  z-index: 10;
  background: var(--color-surface);
  border: 2px solid var(--color-text);
  box-shadow: 0 0 0 6px var(--color-surface), 0 0 0 7px var(--color-border);
  transform: scale(1.05);
}


.process-step:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 6px;
}

.process-step-label {
  display: block;
  max-width: 100%;
  font-size: clamp(0.4rem, calc(var(--process-step-size) * 0.16), 0.75rem);
  font-weight: 500;
  letter-spacing: clamp(0.04em, calc(var(--process-step-size) * 0.004), 0.08em);
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  hyphens: auto;
  color: var(--color-text);
}

.process-description {
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-muted);
}

/* Mission Hero */
.mission-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  --blend-from: var(--color-bg);
  --blend-to: var(--color-bg-alt);
}

.mission-hero-grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
  position: relative;
  z-index: 2;
  padding-block: var(--section-gap);
}

.mission-hero-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(6rem, 20vw, 18rem);
  letter-spacing: -0.02em;
  color: var(--color-text-faint);
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.mission-hero-left {
  display: grid;
  gap: var(--space-6);
}

.mission-hero-kicker {
  font-size: var(--font-size-sm);
  font-weight: var(--font-medium);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}

.mission-hero-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  max-width: 16ch;
}

.mission-hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-muted);
}

.mission-hero-copy {
  margin: 0;
  font-size: var(--font-size-lg);
  color: var(--color-muted);
  line-height: var(--leading-relaxed);
  max-width: 36rem;
}

.mission-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.mission-hero-right {
  display: grid;
  gap: var(--space-6);
  justify-items: center;
  position: relative;
}

.mission-hero-media {
  position: relative;
  width: min(100%, 30rem);
  aspect-ratio: 4 / 5;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--color-surface-strong);
  box-shadow: var(--shadow-lg);
}

.mission-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(18%) contrast(1.15) brightness(0.95);
  transition: transform 600ms ease, filter 600ms ease;
}

.mission-hero-media:hover img {
  transform: scale(1.04);
  filter: sepia(0%) contrast(1.1) brightness(1);
}

.mission-hero-badge {
  position: absolute;
  left: -1.5rem;
  bottom: -1.5rem;
  background: var(--color-button-dark);
  color: var(--color-white);
  padding: var(--space-5) var(--space-6);
  display: grid;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  box-shadow: var(--shadow-xl);
}

.mission-hero-badge strong {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}

.mission-hero-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 1px solid rgba(var(--color-text-rgb), 0.25);
  background: rgba(var(--color-white-rgb), 0.35);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  transition: transform var(--transition-base), background-color var(--transition-base), color var(--transition-base);
  cursor: pointer;
}

.mission-hero-play span {
  width: 0;
  height: 0;
  border-top: 0.45rem solid transparent;
  border-bottom: 0.45rem solid transparent;
  border-left: 0.75rem solid var(--color-text);
  margin-left: 0.15rem;
}

.mission-hero-play:hover,
.mission-hero-play:focus-visible {
  background: var(--color-button-dark);
  transform: scale(1.08);
}

.mission-hero-play:hover span,
.mission-hero-play:focus-visible span {
  border-left-color: var(--color-white);
}

.mission-hero-side-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--color-muted-soft);
  transform: rotate(90deg);
  transform-origin: center;
}

.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-image {
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  transition: clip-path 900ms cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal-image.is-visible {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

@media (max-width: 64rem) {
  .process-title {
    font-size: 2rem;
    margin-bottom: 0;
  }

  .mission-hero-grid {
    padding-block: var(--section-gap);
  }

  .mission-hero-left {
    text-align: center;
    justify-items: center;
  }

  .mission-hero-actions {
    justify-content: center;
  }

  .mission-hero-copy {
    margin-inline: auto;
  }

  .mission-hero-side-label {
    transform: none;
  }
}

@media (max-width: 48rem) {
  .process-section {
    padding-block: var(--section-gap);
  }

  .process-title {
    font-size: 1.65rem;
    margin-bottom: 0;
  }

  .process-title br {
    display: none;
  }

  .process-description {
    font-size: 0.95rem;
  }

  .process-description br {
    display: none;
  }

  .mission-hero-grid {
    padding-block: var(--section-gap);
  }

  .mission-hero-badge {
    left: 1rem;
    bottom: 1rem;
    padding: var(--space-4) var(--space-5);
  }

  .mission-hero-media {
    width: min(100%, 26rem);
  }
}

@media (max-width: 64rem) {
  .process-steps {
    overflow-x: auto;
    overflow-y: visible;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-inline: var(--space-4);
    padding-block: 0.75rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .process-step {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}

@media (min-width: 48rem) and (max-width: 64rem) {
  .process-steps {
    overflow-x: visible;
    overflow-y: visible;
    flex-wrap: nowrap;
    justify-content: center;
    padding-inline: 0;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
  }

  .advantage-header {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.4fr);
    gap: var(--space-6);
  }

  .process-steps {
    --process-step-size: 9rem;
    --process-step-overlap: 1.2rem;
  }

  .advantage-title {
    max-width: 26ch;
    font-size: 1.95rem;
    line-height: 1.05;
    text-wrap: balance;
  }

  .mission-hero-grid {
    padding-block: var(--section-gap);
  }
}

@media (min-width: 64rem) {
  .mission-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }

  .mission-hero-right {
    justify-items: end;
  }

  .mission-hero-side-label {
    position: absolute;
    right: -2.5rem;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
  }
}

@media (max-width: 30rem) {
  .mission-hero-actions .button {
    width: 100%;
  }
}

/* ============================================
   Modern Layout Sections
   ============================================ */

/* Projects Section */
.projects-section {
  padding-block: var(--section-padding);
  background-color: #f2f2f2;
  --blend-from: #f2f2f2;
  --blend-to: var(--color-bg);
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-10);
}

.projects-label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-medium);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}

.projects-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-medium);
  line-height: var(--leading-tight);
  color: var(--color-text);
}

.projects-link {
  font-size: var(--font-size-sm);
  font-weight: var(--font-medium);
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  transition: color var(--transition-fast);
}

.projects-link:hover {
  color: var(--color-accent);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.project-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-image-wrapper {
  aspect-ratio: 4 / 3;
  background-color: var(--color-white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-1);
}

.project-image-wrapper.project-image-yellow {
  background-color: var(--color-white);
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.project-content {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}

.project-name {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: var(--font-semibold);
  color: var(--color-text);
}

.project-price {
  font-size: var(--font-size-base);
  font-weight: var(--font-semibold);
  color: var(--color-muted);
}

.project-description {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: 0;
  flex: 1;
}

.project-button {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background-color: var(--color-text);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--color-button-dark-border);
  border-radius: var(--radius-xl);
  margin-top: auto;
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.project-button:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Advantage Section */
.advantage-section {
  padding-block: var(--section-padding);
  background-color: var(--color-bg);
  --blend-from: var(--color-bg);
  --blend-to: var(--color-white);
}

.advantage-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-10);
  align-items: start;
  --advantage-label-offset: calc(var(--space-4) + var(--font-size-xs));
  width: 100%;
}

.advantage-label {
  font-size: var(--font-size-xs);
  font-weight: var(--font-medium);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-4);
}

.advantage-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.advantage-intro {
  font-size: var(--font-size-base);
  color: var(--color-muted);
  line-height: 1.7;
  max-width: none;
  width: 100%;
  margin-top: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.advantage-header-right {
  padding-top: var(--advantage-label-offset);
}

.advantage-card {
  background:
    linear-gradient(135deg, rgba(245, 245, 245, 0.12) 0%, rgba(205, 205, 205, 0.12) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  width: 100%;
  --advantage-right-width: max(30rem, 44%);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--color-text-rgb), 0.06);
  isolation: isolate;
}

.advantage-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 45% 50%, rgba(255, 255, 255, 0.82) 0%, rgba(240, 240, 240, 0.65) 38%, rgba(220, 220, 220, 0.55) 65%, rgba(205, 205, 205, 0.6) 100%),
    linear-gradient(135deg, rgba(245, 245, 245, 0.6) 0%, rgba(205, 205, 205, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

.advantage-card-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

.advantage-card::after {
  content: "";
  position: absolute;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)),
    linear-gradient(135deg, rgba(0, 0, 0, 0.08) 0 50%, transparent 50%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.18) 0 50%, transparent 50%),
    linear-gradient(45deg, rgba(0, 0, 0, 0.06) 0 50%, transparent 50%);
  background-repeat: no-repeat;
  background-size:
    100% 100%,
    100% 100%,
    220px 220px,
    260px 260px,
    180px 180px;
  background-position:
    center,
    center,
    72% 12%,
    86% 70%,
    58% 52%;
  opacity: 0.55;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.advantage-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-5);
  gap: var(--space-4);
  width: var(--advantage-right-width);
  margin-left: auto;
  position: relative;
  z-index: 3;
}

.advantage-card-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: var(--font-medium);
  color: var(--color-text);
  text-align: left;
  margin-left: 0;
}

.advantage-card .button.advantage-detail-button {
  margin-top: 0;
  padding: 0.5rem 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  border-radius: 0.65rem;
  line-height: 1;
  min-width: 0;
  white-space: nowrap;
}


.advantage-card-image {
  width: var(--advantage-right-width);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-6);
  background-color: rgba(255, 255, 255, 0.85);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  position: relative;
  z-index: 3;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
}

.advantage-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.advantage-card-description {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  line-height: 1.7;
  width: var(--advantage-right-width);
  text-align: left;
  margin-top: var(--space-3);
  margin-left: auto;
  position: relative;
  z-index: 3;
}

/* FAQ Section */
.faq-section {
  padding-block: var(--section-padding);
  background-color: var(--color-bg);
  --blend-from: var(--color-bg);
  --blend-to: var(--color-bg-alt);
}

.faq-header {
  margin-bottom: var(--space-8);
}

.faq-label {
  font-size: var(--font-size-xs);
  font-weight: var(--font-medium);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-2);
}

.faq-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-medium);
  line-height: 1.05;
  color: var(--color-text);
}

.faq-list {
  display: grid;
  gap: var(--space-3);
  width: 100%;
  max-width: 68rem;
  margin-inline: auto;
}

.faq-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-6);
  padding: var(--space-4) var(--space-5);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 20px rgba(var(--color-text-rgb), 0.04);
}

.faq-question {
  font-size: var(--font-size-base);
  font-weight: var(--font-semibold);
  color: var(--color-text);
  margin: 0;
}

.faq-action {
  font-size: var(--font-size-xs);
  white-space: nowrap;
  margin-top: 0;
}

.faq-answer {
  width: 100%;
  padding-top: var(--space-3);
  color: var(--color-muted);
  font-size: var(--font-size-sm);
  line-height: var(--leading-relaxed);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.video-section {
  padding-block: var(--section-padding);
  background-color: var(--color-white);
  --blend-from: var(--color-white);
  --blend-to: var(--color-bg);
}

.video-header {
  margin-bottom: var(--space-8);
}

.video-label {
  font-size: var(--font-size-xs);
  font-weight: var(--font-medium);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-2);
}

.video-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-medium);
  line-height: 1.05;
  color: var(--color-text);
}

.video-shell {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-surface-muted);
  box-shadow: var(--shadow-lg);
}

.home-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Contact Section */
.contact-section {
  padding-block: var(--section-padding);
  background-color: var(--color-bg-alt);
  --blend-from: var(--color-bg-alt);
  --blend-to: var(--color-bg);
}

.contact-header {
  margin-bottom: 0;
  display: grid;
  gap: var(--space-4);
  align-content: start;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 7vw, 5.75rem);
  font-weight: 400;
  color: var(--color-text);
  margin: 0;
  line-height: 0.9;
  letter-spacing: -0.01em;
  max-width: 12ch;
}

.contact-shell {
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: start;
  max-width: 64rem;
  margin-inline: auto;
}

.contact-info {
  display: grid;
  gap: 1.5rem;
}

.contact-list {
  margin: 0;
  display: grid;
  gap: 1.05rem;
}

.contact-item dt {
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact-item dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.45;
}

.contact-follow {
  display: grid;
  gap: 0.6rem;
}

.contact-follow span {
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.contact-field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 600;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 0.6rem;
  padding: 0.65rem 0.85rem;
  background-color: var(--color-white);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

.contact-submit {
  margin-top: 0;
}

@media (max-width: 48rem) {
  .faq-title {
    font-size: var(--font-size-3xl);
  }

  .faq-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-shell {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

/* CTA Section */
.cta-section {
  padding-block: var(--section-padding-lg);
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-cta-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(var(--color-accent-rgb), 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-bold);
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.cta-text {
  font-size: var(--font-size-lg);
  color: rgba(var(--color-white-rgb), 0.8);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-8);
  background-color: var(--color-white);
  color: var(--color-text);
  font-weight: var(--font-semibold);
  border: 1px solid var(--color-button-dark-border);
  border-radius: var(--radius-xl);
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.cta-button:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Modern Footer */
.footer-modern {
  padding-block: var(--space-16) var(--space-8);
  background-color: var(--color-text);
  color: var(--color-muted-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-brand .site-logo {
  color: var(--color-white);
  margin-bottom: var(--space-4);
  display: inline-block;
  font-size: var(--font-size-xl);
  font-weight: var(--font-bold);
}

.footer-tagline {
  max-width: 280px;
  line-height: var(--leading-relaxed);
  color: var(--color-muted-soft);
}

.footer-modern .footer-title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-semibold);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
}

.footer-list li {
  margin-bottom: var(--space-3);
}

.footer-list a {
  color: var(--color-muted-soft);
  transition: color var(--transition-fast);
}

.footer-list a:hover {
  color: var(--color-accent);
}

.footer-contact address {
  font-style: normal;
}

.footer-contact p {
  margin-bottom: var(--space-2);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(var(--color-white-rgb), 0.1);
  text-align: center;
}

.copyright {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

/* ============================================
   Responsive Adjustments for Modern Sections
   ============================================ */

@media (min-width: 48.0625rem) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-12);
  }

  .cta-title {
    font-size: var(--font-size-5xl);
  }
}

@media (max-width: 64rem) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-title {
    font-size: var(--font-size-3xl);
  }
}

@media (max-width: 48rem) {
  .projects-section {
    padding-block: var(--section-padding-sm);
  }

  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    max-width: 400px;
    margin-inline: auto;
  }

  .advantage-section {
    padding-block: var(--section-padding-sm);
  }

  .advantage-header {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .advantage-title {
    font-size: var(--font-size-3xl);
  }

  .advantage-intro {
    margin-top: 0;
    max-width: none;
  }

  .advantage-header-right {
    padding-top: 0;
  }

  .advantage-card {
    padding: var(--space-5);
  }

  .advantage-card-bg,
  .advantage-card::before,
  .advantage-card::after {
    display: none;
  }

  .advantage-card-header {
    margin-bottom: var(--space-4);
    width: 100%;
    margin-left: 0;
    flex-direction: row;
    align-items: center;
    gap: var(--space-3);
  }

  .advantage-card-title {
    font-size: 1.05rem;
    flex: 1;
    min-width: 0;
  }

  .advantage-card .button.advantage-detail-button {
    padding: 0.42rem 0.4rem;
    font-size: 0.68rem;
    border-radius: 0.55rem;
    flex-shrink: 0;
  }

  .advantage-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-left: 0;
  }

  .advantage-card-description {
    width: 100%;
    margin-top: var(--space-4);
    margin-left: 0;
  }

  .cta-title {
    font-size: var(--font-size-3xl);
  }

  .footer-grid {
    gap: var(--space-8);
  }
}

@media (max-width: 30rem) {
  .project-card {
    max-width: 100%;
  }

  .advantage-card-title {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .advantage-card .button.advantage-detail-button {
    padding: 0.36rem 0.36rem;
    font-size: 0.64rem;
    width: auto;
  }

  .cta-title {
    font-size: var(--font-size-2xl);
  }

  .cta-text {
    font-size: var(--font-size-base);
  }
}
