/* SoundsGood home — hero / mission / services / projects (site chrome in style.css) */

.sg-home {
  overflow-x: hidden;
}

.sg-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
  color: #fff;
}

.sg-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #070707;
}

.sg-stage {
  position: absolute;
  inset: -10%;
}

.sg-stage__wash,
.sg-stage__beam,
.sg-stage__spot {
  position: absolute;
  display: block;
  pointer-events: none;
}

.sg-stage__wash {
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 110%, rgba(94, 234, 212, 0.16), transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 0%, rgba(255, 255, 255, 0.06), transparent 70%);
}

.sg-stage__beam {
  top: -20%;
  width: 18vw;
  height: 140%;
  transform-origin: 50% 0;
  background: linear-gradient(180deg, rgba(94, 234, 212, 0.42), rgba(94, 234, 212, 0.02) 72%, transparent);
  filter: blur(8px);
  mix-blend-mode: screen;
  opacity: 0.7;
}

.sg-stage__beam--a {
  left: 12%;
  animation: sg-beam-a 14s ease-in-out infinite;
}

.sg-stage__beam--b {
  left: 46%;
  width: 12vw;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(94, 234, 212, 0.02) 68%, transparent);
  animation: sg-beam-b 18s ease-in-out infinite;
}

.sg-stage__beam--c {
  left: 72%;
  animation: sg-beam-c 16s ease-in-out infinite;
}

.sg-stage__spot {
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(30px);
  mix-blend-mode: screen;
  opacity: 0.55;
}

.sg-stage__spot--a {
  left: -8%;
  bottom: -10%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.55), transparent 68%);
  animation: sg-spot-a 20s ease-in-out infinite;
}

.sg-stage__spot--b {
  right: -6%;
  top: 8%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 66%);
  animation: sg-spot-b 24s ease-in-out infinite;
}

.sg-stage__spot--c {
  left: 30%;
  top: 18%;
  width: 28vw;
  height: 28vw;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.28), transparent 70%);
  animation: sg-spot-c 17s ease-in-out infinite;
}

@keyframes sg-beam-a {
  0%,
  100% {
    transform: rotate(18deg);
  }
  50% {
    transform: rotate(-8deg);
  }
}

@keyframes sg-beam-b {
  0%,
  100% {
    transform: rotate(-6deg);
  }
  50% {
    transform: rotate(12deg);
  }
}

@keyframes sg-beam-c {
  0%,
  100% {
    transform: rotate(-16deg);
  }
  50% {
    transform: rotate(6deg);
  }
}

@keyframes sg-spot-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(8%, -6%) scale(1.15);
  }
}

@keyframes sg-spot-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-10%, 8%) scale(1.2);
  }
}

@keyframes sg-spot-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(6%, 10%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sg-stage__beam,
  .sg-stage__spot {
    animation: none;
  }

  .sg-hero__scroll::after {
    animation: none;
  }
}

.sg-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.55) 0%, rgba(7, 7, 7, 0.2) 35%, rgba(7, 7, 7, 0.75) 78%, #070707 100%),
    linear-gradient(90deg, rgba(7, 7, 7, 0.55) 0%, transparent 45%);
  pointer-events: none;
}

.sg-hero__frame {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 1180px);
  margin: 0 auto;
  padding: 7.5rem 0 5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
}

.sg-hero__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.sg-hero__tag {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 18px rgba(94, 234, 212, 0.45);
}

.sg-hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 8.5rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.055em;
  color: #fff;
}

.sg-hero__line {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.88);
}

.sg-hero__years {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin: 1.35rem 0 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sg-hero__years strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
  text-transform: none;
}

.sg-hero__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.75rem;
}

.sg-hero__lead {
  margin: 0;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

.sg-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sg-hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.45);
}

.sg-hero__scroll::after {
  content: "";
  width: 1px;
  height: 2.6rem;
  background: linear-gradient(var(--accent), transparent);
  transform-origin: top;
  animation: sg-scroll 1.8s ease-in-out infinite;
}

.sg-hero__scroll:hover {
  color: var(--accent);
}

@keyframes sg-scroll {
  0%,
  100% {
    transform: scaleY(0.35);
    opacity: 0.35;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.sg-mission {
  padding: clamp(5rem, 12vw, 8rem) 0;
  border-top: 1px solid var(--line);
}

.sg-mission__inner {
  max-width: 52rem;
}

.sg-mission__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #fff;
}

.sg-mission__text {
  margin: 0 0 2rem;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.58);
}

.sg-mission__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}

.sg-mission__links a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.2rem;
}

.sg-mission__links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.sg-ref {
  padding: clamp(4rem, 9vw, 6rem) 0;
  border-top: 1px solid var(--line);
}

.sg-ref__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.sg-ref h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.sg-ref p {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.62);
}

.sg-services {
  padding: 0 0 clamp(3rem, 6vw, 4rem);
}

.sg-services__head {
  margin-bottom: 2rem;
}

.sg-services__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 22ch;
}

.sg-services__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sg-svc:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.sg-svc {
  min-height: clamp(16rem, 36vh, 22rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 -0.5px -0.5px 0;
}

.sg-svc a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: inherit;
  padding: 1.75rem;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
}

.sg-svc__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.2) 0%, rgba(7, 7, 7, 0.92) 100%),
    var(--sg-img) center / cover no-repeat;
  transform: scale(1.05);
  transition: transform 0.7s ease, filter 0.4s ease;
  filter: grayscale(0.35) brightness(0.7);
}

.sg-svc a:hover .sg-svc__bg {
  transform: scale(1.12);
  filter: grayscale(0) brightness(0.85);
}

.sg-svc__num,
.sg-svc__name,
.sg-svc__desc,
.sg-svc__go {
  position: relative;
  z-index: 1;
}

.sg-svc__num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.sg-svc__name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.45rem;
}

.sg-svc__desc {
  max-width: 28rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

.sg-svc__go {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s ease, transform 0.2s ease;
}

.sg-svc a:hover .sg-svc__go {
  color: var(--accent);
  transform: translateX(4px);
}

.sg-projects {
  padding: clamp(4rem, 10vw, 6.5rem) 0;
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
}

.sg-projects__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.sg-projects__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.sg-projects__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.65rem;
}

.sg-proj {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111;
  min-height: 16rem;
  text-decoration: none;
  color: #fff;
}

.sg-proj--lg {
  grid-row: 1 / span 2;
  min-height: 100%;
}

.sg-proj--wide {
  grid-column: 2 / span 2;
  min-height: 14rem;
}

.sg-proj img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease, filter 0.4s ease;
  filter: brightness(0.78);
  position: absolute;
  inset: 0;
}

.sg-proj:hover img {
  transform: scale(1.06);
  filter: brightness(0.9);
}

.sg-proj__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.35rem 1.25rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sg-proj__meta span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.sg-proj__meta strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sg-approach {
  padding: clamp(4.5rem, 10vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.sg-approach__title {
  margin: 0 0 2.75rem;
  max-width: 26ch;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.8vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #fff;
}

.sg-approach__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sg-approach__list li {
  padding-top: 1.5rem;
  border-top: 2px solid var(--accent);
  margin-top: -1px;
}

.sg-approach__list h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.sg-approach__list p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.sg-cta {
  padding: clamp(4rem, 10vw, 6.5rem) 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(94, 234, 212, 0.12), transparent 55%),
    #0a0a0a;
  border-top: 1px solid var(--line);
  text-align: center;
}

.sg-cta__inner {
  max-width: 40rem;
  margin-inline: auto;
}

.sg-cta h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff;
}

.sg-cta p {
  margin: 0 0 1.75rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.sg-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .sg-services__grid {
    grid-template-columns: 1fr;
  }

  .sg-projects__grid {
    grid-template-columns: 1fr 1fr;
  }

  .sg-proj--lg {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 18rem;
  }

  .sg-proj--wide {
    grid-column: 1 / -1;
  }

  .sg-approach__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sg-hero__frame {
    padding: 6.5rem 0 4rem;
    width: min(100% - 1.5rem, 1180px);
  }

  .sg-hero__brand {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .sg-projects__grid {
    grid-template-columns: 1fr;
  }

  .sg-proj {
    min-height: 14rem;
  }
}
