#home {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  padding: 0 32px 56px;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-slide:nth-child(1) img {
  object-position: center 58%;
}

.hero-slide:nth-child(2) img {
  object-position: center 56%;
}

.hero-slide:nth-child(3) img {
  object-position: center 54%;
}

.hero-slide.active img {
  animation: heroImageDrift 7.8s ease-in-out both;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(33, 28, 22, 0.78), rgba(33, 28, 22, 0.2) 62%, rgba(33, 28, 22, 0.08)),
    linear-gradient(0deg, rgba(33, 28, 22, 0.78), rgba(33, 28, 22, 0.04) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--container));
  margin: 0 auto;
  padding-top: 120px;
  color: var(--beige-50);
}

.hero-tag {
  color: var(--beige-200);
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-service-line {
  width: fit-content;
  margin-top: 14px;
  padding: 9px 14px;
  border: 1px solid rgba(251, 248, 241, 0.24);
  border-radius: var(--radius);
  background: rgba(251, 248, 241, 0.09);
  color: rgba(251, 248, 241, 0.9);
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-content h1 {
  max-width: 760px;
  margin-top: 16px;
  color: var(--beige-50);
  font-size: 5rem;
}

.hero-content h1 em {
  color: var(--beige-300);
}

.hero-content h3 {
  color: var(--beige-50);
  font-size: 2rem;
}

.hero-content h3 em {
  color: var(--beige-300);
}

.hero-content p {
  max-width: 570px;
  margin-top: 22px;
  color: rgba(251, 248, 241, 0.84);
  font-size: 1.08rem;
}

.hero-content > * {
  animation: heroCopyRise 0.78s ease both;
}

.hero-service-line {
  animation-delay: 0.06s;
}

.hero-content h1 {
  animation-delay: 0.12s;
}

.hero-content p {
  animation-delay: 0.18s;
}

.hero-actions {
  animation-delay: 0.24s;
}

.hero-proof {
  position: relative;
  z-index: 2;
  width: min(100%, var(--container));
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(251, 248, 241, 0.22);
  background: rgba(251, 248, 241, 0.08);
  backdrop-filter: blur(16px);
}

.proof-item {
  padding: 22px 24px;
  border-right: 1px solid rgba(251, 248, 241, 0.16);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  color: var(--beige-50);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.1rem;
  line-height: 1;
}

.proof-item span {
  color: rgba(251, 248, 241, 0.72);
  font-size: 0.88rem;
}

.hero-dots {
  position: absolute;
  z-index: 3;
  right: 32px;
  bottom: 58px;
  display: grid;
  gap: 10px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(251, 248, 241, 0.5);
  border-radius: 50%;
  background: transparent;
}

.hero-dot.active {
  background: var(--beige-100);
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 22px;
  display: grid;
  place-items: center;
  gap: 8px;
  color: rgba(251, 248, 241, 0.7);
  font-size: 0.8rem;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 34px;
  background: rgba(251, 248, 241, 0.5);
}

.marquee-strip {
  overflow: hidden;
  background: var(--beige-100);
  border-block: 1px solid var(--line);
  padding: 15px 0;
}

.marquee-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.m-item {
  color: var(--beige-600);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes heroImageDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, 0.8%, 0); }
}

@keyframes heroCopyRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#about {
  background: var(--beige-50);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 78px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-main-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.about-accent {
  position: absolute;
  inset: 22px auto auto -18px;
  width: 45%;
  height: 32%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  z-index: -1;
}

.about-badge {
  position: absolute;
  right: -20px;
  bottom: 28px;
  width: 170px;
  padding: 22px;
  background: var(--beige-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-badge-num {
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.7rem;
  line-height: 1;
}

.about-badge-lbl {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.about-text .s-sub + .s-sub {
  margin-top: 14px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.astat {
  padding: 22px 18px;
  border-right: 1px solid var(--line);
}

.astat:last-child {
  border-right: 0;
}

.astat-n {
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.25rem;
  line-height: 1;
}

.astat-l {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

.about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

#services {
  background: var(--white);
}

.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.svc-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--beige-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--soft-shadow);
}

.svc-num {
  color: var(--beige-600);
  font-weight: 700;
  font-size: 0.85rem;
}

.svc-icon {
  width: 42px;
  height: 42px;
  margin: 30px 0 20px;
  color: var(--beige-600);
}

.svc-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
}

.svc-card h3 {
  font-size: 1.65rem;
}

.svc-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.why-choose-section {
  background: var(--beige-100);
}

.why-choose-section .section-head {
  align-items: start;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.why-card {
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--beige-50);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--soft-shadow);
}

.why-card span {
  color: var(--beige-600);
  font-size: 0.82rem;
  font-weight: 700;
}

.why-card h3 {
  margin-top: 34px;
  font-size: 1.75rem;
}

.why-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

#projects {
  background: var(--white);
}

.port-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.pcard {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 320px;
  background: var(--beige-200);
}

.pg1 { grid-column: 1 / 8; min-height: 460px; }
.pg2 { grid-column: 8 / 13; min-height: 460px; }
.pg3,
.pg4,
.pg5 { min-height: 360px; }
.pg3 { grid-column: 1 / 5; }
.pg4 { grid-column: 5 / 9; }
.pg5 { grid-column: 9 / 13; }
.pg6 {
  grid-column: 1 / 13;
  min-height: 420px;
}

.pcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.7s ease;
}

.pcard:hover img {
  transform: scale(1.05);
}

.pcard-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(33, 28, 22, 0.76), rgba(33, 28, 22, 0.04) 58%);
}

.pcard-info {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: var(--beige-50);
}

.pcard-tag,
.project-tag {
  color: var(--beige-200);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pcard-info h3 {
  margin-top: 8px;
  color: var(--beige-50);
  font-size: 2rem;
}

.areas-section {
  background: var(--beige-200);
}

.areas-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 58px;
  align-items: center;
}

.areas-copy .btn-dark {
  margin-top: 28px;
}

.areas-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 34px;
  border: 1px solid rgba(61, 53, 43, 0.18);
  border-radius: var(--radius);
  background: rgba(251, 248, 241, 0.48);
  box-shadow: var(--soft-shadow);
}

.areas-panel span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--beige-50);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
}

.areas-panel span:hover {
  transform: translateY(-2px);
  border-color: var(--beige-600);
  background: var(--white);
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink);
  color: var(--beige-50);
  padding: 0 32px;
}

.stat-band > div {
  padding: 54px 18px;
  text-align: center;
  border-right: 1px solid rgba(251, 248, 241, 0.12);
}

.stat-band > div:last-child {
  border-right: 0;
}

.sb-n {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.3rem;
  line-height: 1;
}

.sb-l {
  margin-top: 8px;
  color: rgba(251, 248, 241, 0.68);
  font-size: 0.86rem;
}

#process {
  background: var(--ink);
  color: rgba(251, 248, 241, 0.76);
}

.process-intro {
  max-width: 740px;
  margin: 0 auto 58px;
  text-align: center;
}

.process-intro .s-label {
  justify-content: center;
  color: var(--beige-300);
}

.process-intro .s-label::before {
  display: none;
}

.process-intro .s-sub {
  margin-left: auto;
  margin-right: auto;
  color: rgba(251, 248, 241, 0.68);
}

.process-steps {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(251, 248, 241, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}

.pstep {
  padding: 34px 28px;
  border-right: 1px solid rgba(251, 248, 241, 0.14);
}

.pstep:last-child {
  border-right: 0;
}

.pstep-circle {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(251, 248, 241, 0.24);
  color: var(--beige-200);
  margin-bottom: 24px;
}

.pstep-circle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.pstep h4 {
  color: var(--beige-50);
  font-size: 1.5rem;
}

.pstep p {
  margin-top: 12px;
  color: rgba(251, 248, 241, 0.64);
  font-size: 0.94rem;
}

#testimonials {
  background: var(--beige-100);
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tcard {
  min-height: 330px;
  padding: 34px;
  background: var(--beige-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tcard:hover {
  transform: translateY(-5px);
  box-shadow: var(--soft-shadow);
}

.tcard-quote {
  color: var(--beige-500);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.5rem;
  line-height: 0.75;
}

.tcard-stars {
  color: var(--beige-600);
  font-size: 0.86rem;
  font-weight: 700;
  margin: 18px 0 14px;
}

.tcard blockquote {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.85;
}

.tcard-line {
  width: 42px;
  height: 1px;
  margin: 26px 0 15px;
  background: var(--beige-500);
}

.tcard-author strong {
  display: block;
  color: var(--ink);
}

.tcard-author span {
  color: var(--muted);
  font-size: 0.88rem;
}

.consultation-cta {
  background: var(--ink);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--beige-50);
}

.cta-panel h2 {
  font-size: 3rem;
}

.cta-panel p {
  max-width: 650px;
  margin-top: 12px;
  color: var(--muted);
}

.consultation-process {
  background: var(--white);
}

.consult-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.44fr);
  gap: 52px;
  align-items: center;
}

.consult-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--beige-100);
  box-shadow: var(--soft-shadow);
}

.consult-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.consult-mini-steps {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.consult-mini-steps span {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--beige-50);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.consult-card .btn-primary {
  width: 100%;
}

@media (max-width: 980px) {
  #home {
    min-height: 760px;
  }

  .hero-content h1 {
    font-size: 3.7rem;
  }

  .hero-proof,
  .about-layout,
  .services-intro,
  .why-grid,
  .areas-layout,
  .process-steps,
  .consult-layout,
  .test-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .pstep,
  .stat-band > div {
    border-right: 0;
    border-bottom: 1px solid rgba(251, 248, 241, 0.14);
  }

  .proof-item:last-child,
  .pstep:last-child,
  .stat-band > div:last-child {
    border-bottom: 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pg1,
  .pg2,
  .pg3,
  .pg4,
  .pg5,
  .pg6 {
    grid-column: auto;
    min-height: 360px;
  }

  .stat-band {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  #home {
    min-height: 650px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 32px;
  }

  .hero-content {
    padding-top: 44px;
  }

  .hero-tag,
  .hero-service-line {
    font-size: 0.74rem;
  }

  .hero-service-line {
    width: 100%;
    max-width: 320px;
    padding: 8px 12px;
  }

  .hero-content h1 {
    font-size: 2.45rem;
  }

  .hero-content p {
    font-size: 0.98rem;
    margin-top: 16px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost,
  .about-cta .btn-dark,
  .cta-panel .btn-primary,
  .consult-card .btn-primary {
    min-height: 54px;
    width: 100%;
    box-shadow: 0 14px 34px rgba(33, 28, 22, 0.18);
  }

  .hero-proof {
    margin-top: 22px;
  }

  .proof-item {
    padding: 14px 16px;
  }

  .proof-item strong {
    font-size: 1.65rem;
  }

  .hero-dots,
  .hero-scroll {
    display: none;
  }

  .hero-proof,
  .services-grid,
  .why-grid,
  .port-grid,
  .stat-band {
    grid-template-columns: 1fr;
  }

  .about-badge {
    right: 14px;
    bottom: 14px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .astat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .astat:last-child {
    border-bottom: 0;
  }

  .svc-card,
  .why-card,
  .tcard,
  .areas-panel,
  .consult-card,
  .cta-panel {
    padding: 26px;
  }

  .cta-panel h2 {
    font-size: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.active img,
  .hero-content > * {
    animation: none;
  }
}
