/*
Theme Name: Signal Noise Collective
Theme URI: https://example.com/
Author: Signal Noise Collective
Description: A fast, elegant, editable WordPress theme for tour production management, audio design and engineering.
Version: 1.2.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: something-collective
*/

:root {
  --bg: #0b0f11;
  --bg-soft: #12191b;
  --surface: #eef0eb;
  --text: #f2f5f1;
  --muted: #b8c2be;
  --ink: #121615;
  --ink-muted: #56605c;
  --accent: #7faeb2;
  --signal: #d7a84d;
  --accent-2: #496f73;
  --line: rgba(242, 245, 241, 0.15);
  --line-dark: rgba(18, 22, 21, 0.14);
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--surface);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(11, 15, 17, 0.76), rgba(11, 15, 17, 0));
}

.header-inner {
  width: min(100% - 2.5rem, 1440px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.8rem, 1.4vw, 1.3rem);
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: clamp(46px, 5vw, 66px);
  height: auto;
}

.brand-lockup {
  display: grid;
  gap: 0.18rem;
  min-width: min(46vw, 320px);
}

.brand-primary {
  font-size: clamp(1rem, 1.45vw, 1.55rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.brand-secondary {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(242, 245, 241, 0.86);
  font-size: clamp(0.54rem, 0.72vw, 0.76rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.62em;
  text-transform: uppercase;
}

.brand-secondary::before,
.brand-secondary::after {
  flex: 1;
  height: 1px;
  background: rgba(242, 245, 241, 0.7);
  content: "";
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: transparent;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: rgba(242, 245, 241, 0.76);
  text-decoration: none;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--text);
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: stretch;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.76) contrast(0.95) brightness(0.88);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 15, 17, 0.6), rgba(11, 15, 17, 0.22) 52%, rgba(11, 15, 17, 0.44)),
    linear-gradient(0deg, var(--bg), rgba(11, 15, 17, 0.14) 46%, rgba(11, 15, 17, 0.36));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 1440px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  padding: 8.5rem 0 3.5rem;
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 14ch;
  font-size: clamp(3.1rem, 7.4vw, 7.6rem);
  font-weight: 560;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 1.15rem 0 0;
  color: rgba(242, 245, 241, 0.84);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.55;
}

.hero-meta {
  align-self: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
  margin-top: 2rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(242, 245, 241, 0.34);
  border-radius: 999px;
  color: var(--text);
  background: transparent;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.button.primary {
  border-color: var(--accent);
  color: #071012;
  background: var(--accent);
}

.section {
  padding: clamp(5rem, 10vw, 10rem) 0;
}

.section.light {
  color: var(--ink);
  background: var(--surface);
}

.section-inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 8vw, 7rem);
  align-items: start;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-title {
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  font-weight: 680;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-lede {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.36rem);
  line-height: 1.48;
}

.light .section-lede {
  color: var(--ink-muted);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.4rem);
  background: transparent;
  counter-reset: pillars;
}

.pillar {
  counter-increment: pillars;
  min-height: 320px;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.pillar::before {
  content: "0" counter(pillars);
  display: block;
  margin-bottom: 4rem;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.pillar h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  font-weight: 680;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pillar p {
  margin: 0;
  color: var(--muted);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 4vw, 3rem);
}

.project-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 260px;
  color: var(--text);
  background: var(--bg-soft);
}

.project-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 0;
  background: #d9dedb;
  filter: saturate(0.8) contrast(0.96);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 11, 13, 0.84), rgba(8, 11, 13, 0.08) 58%);
}

.project-card-text {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1;
}

.project-card h3 {
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
  font-weight: 680;
  letter-spacing: 0;
  text-transform: uppercase;
}

.project-card p {
  max-width: 640px;
  margin: 0.65rem 0 0;
  color: rgba(242, 245, 241, 0.84);
  opacity: 0;
  transform: translateY(0.4rem);
  transition: opacity 160ms ease, transform 160ms ease;
}

.project-card:hover p,
.project-card:focus-within p {
  opacity: 1;
  transform: translateY(0);
}

.projects-grid.layout-featured .project-card:first-child {
  grid-column: 1 / -1;
}

.projects-grid.layout-featured .project-card:first-child img {
  aspect-ratio: 16 / 8;
}

.projects-grid.layout-compact {
  grid-template-columns: 1fr;
  gap: 0;
}

.projects-grid.layout-compact .project-card {
  min-height: 210px;
  padding: 1.2rem 0;
  border-top: 0;
}

.projects-grid.layout-compact .project-card img {
  aspect-ratio: 16 / 9;
}

.projects-grid.layout-compact .project-card h3 {
  padding-top: 0;
}

.projects-grid.layout-tiles {
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.8rem, 2vw, 1.2rem);
}

.projects-grid.layout-tiles .project-card {
  min-height: 190px;
}

.projects-grid.layout-tiles .project-card img {
  aspect-ratio: 4 / 3;
}

.projects-grid.layout-tiles .project-card-text {
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
}

.projects-grid.layout-tiles .project-card h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
}

.projects-grid.layout-strip {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 0;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.projects-grid.layout-strip::-webkit-scrollbar {
  display: none;
}

.projects-strip-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.projects-strip-shell:hover .strip-arrow,
.projects-strip-shell:focus-within .strip-arrow {
  opacity: 1;
}

.projects-grid.layout-strip .project-card {
  flex: 0 0 calc(100vw / var(--strip-visible, 5));
  min-height: 260px;
  scroll-snap-align: start;
}

.projects-grid.layout-strip .project-card img {
  aspect-ratio: 16 / 9;
}

.strip-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(242, 245, 241, 0.34);
  border-radius: 999px;
  color: var(--text);
  background: rgba(8, 11, 13, 0.6);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 160ms ease;
  cursor: pointer;
}

.strip-arrow-prev {
  left: 1rem;
}

.strip-arrow-next {
  right: 1rem;
}

.projects-grid.descriptions-hidden .project-card {
  gap: 0.9rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(360px, 1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.contact-layout > div,
.contact-form {
  min-width: 0;
}

.contact-layout .section-title {
  max-width: 12ch;
  font-size: clamp(2.25rem, 3.3vw, 3.5rem);
  overflow-wrap: break-word;
}

.contact-details {
  color: var(--muted);
}

.contact-details a {
  color: var(--text);
}

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

.form-help {
  margin: 0;
  color: var(--muted);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.68rem 0.78rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.field textarea {
  min-height: 104px;
  resize: vertical;
}

.field-math input {
  max-width: 180px;
}

.field-message,
.field-math,
.contact-form .notice,
.contact-form .button {
  grid-column: 1 / -1;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.8rem 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.notice-success {
  border-color: rgba(72, 187, 120, 0.65);
  color: #dffbea;
  background: rgba(35, 111, 72, 0.28);
}

.notice-error {
  border-color: rgba(248, 113, 113, 0.72);
  color: #ffe4e6;
  background: rgba(127, 29, 29, 0.32);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  color: var(--muted);
  background: #080b0d;
}

.footer-inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner span {
  margin-left: 0.5rem;
}

.socials {
  display: flex;
  gap: 0.9rem;
}

.footer-custom {
  flex-basis: 100%;
  color: var(--muted);
}

.footer-custom p {
  margin: 0.4rem 0 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.content-page {
  width: min(100% - 2rem, 820px);
  margin: 0 auto;
  padding: clamp(7rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
}

.content-page h1 {
  max-width: none;
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 7vw, 5rem);
}

.content-page,
.content-page p {
  color: var(--text);
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    border-bottom: 1px solid var(--line);
    background: rgba(11, 15, 17, 0.98);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    width: min(100% - 2rem, var(--max));
    margin: 0 auto;
    padding: 0.8rem 0;
  }

  .site-nav a {
    display: block;
    padding: 0.7rem 0;
  }

  .hero {
    min-height: 760px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(11, 15, 17, 0.72), rgba(11, 15, 17, 0.28)),
      linear-gradient(0deg, var(--bg), rgba(11, 15, 17, 0) 55%);
  }

  .hero-content {
    padding: 7rem 0 3rem;
  }

  .brand {
    gap: 0.65rem;
  }

  .brand-mark {
    width: 42px;
    font-size: 1.25rem;
  }

  .brand-lockup {
    min-width: 0;
  }

  .brand-primary {
    font-size: 0.9rem;
    letter-spacing: 0.24em;
  }

  .brand-secondary {
    gap: 0.45rem;
    font-size: 0.48rem;
    letter-spacing: 0.42em;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .section-head,
  .pillars,
  .projects-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .projects-grid.layout-featured .project-card:first-child,
  .projects-grid.layout-compact .project-card,
  .projects-grid.layout-tiles {
    grid-template-columns: 1fr;
  }

  .projects-grid.layout-tiles {
    gap: 1rem;
  }

  .projects-grid.layout-strip .project-card {
    flex-basis: min(82vw, 360px);
  }

  .project-card p {
    opacity: 1;
    transform: none;
  }

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

  .pillar {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
