@font-face {
  font-family: "SDNoise";
  src: url("assets/sdnoise.otf") format("opentype"),
       url("assets/sdnoise.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #040506;
  --text: #f0f0f0;
  --muted: #c7c7c7;
  --orange: #FF751F;
  --purple: #7a4dff;
  --green: #39FF14;
  --red: #ff4f4f;
  --max: 1240px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at 16% 0%, rgba(57,255,20,0.075), transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(255,117,31,0.065), transparent 26%),
    radial-gradient(circle at 50% 54%, rgba(64,18,104,0.13), transparent 34%),
    linear-gradient(180deg, #050708 0%, #020304 58%, #040304 100%);
  color: var(--text);
}

.noise,
.glass-texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.noise {
  opacity: 0.14;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.22) 0.45px, transparent 0.8px),
    radial-gradient(circle at 80% 30%, rgba(57,255,20,0.14) 0.45px, transparent 0.85px),
    radial-gradient(circle at 40% 80%, rgba(122,77,255,0.18) 0.45px, transparent 0.85px),
    linear-gradient(118deg, transparent 0 49%, rgba(255,255,255,0.055) 49.1%, transparent 49.35%);
  background-size: 9px 9px, 13px 13px, 17px 17px, 100% 100%;
}

.glass-texture {
  opacity: 0.22;
  background:
    linear-gradient(118deg, transparent 0 47%, rgba(122,77,255,0.14) 47.2%, transparent 47.5%),
    linear-gradient(66deg, transparent 0 52%, rgba(122,77,255,0.10) 52.2%, transparent 52.5%),
    linear-gradient(25deg, transparent 0 61%, rgba(122,77,255,0.08) 61.2%, transparent 61.5%),
    linear-gradient(145deg, transparent 0 34%, rgba(122,77,255,0.09) 34.2%, transparent 34.5%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.page-shell { min-height: 100vh; position: relative; z-index: 1; }

.topbar, .section, .footer {
  width: min(calc(100% - 32px), var(--max));
  margin-left: auto;
  margin-right: auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 4px -14px;
  background:
    linear-gradient(90deg,
      rgba(18, 28, 22, 0.98) 0%,
      rgba(33, 44, 38, 0.98) 24%,
      rgba(42, 54, 50, 0.99) 52%,
      rgba(28, 38, 34, 0.98) 100%);
  border: 1px solid rgba(57,255,20,0.26);
  border-radius: 999px;
  z-index: -1;
  box-shadow:
    0 0 46px rgba(57,255,20,0.24),
    0 0 28px rgba(255,117,31,0.09),
    inset 0 0 0 1px rgba(255,255,255,0.05),
    inset 0 -18px 38px rgba(0,0,0,0.22);
}

.brand img { width: min(370px, 42vw); height: auto; }
.top-actions { display: flex; align-items: center; gap: 12px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  color: #fff7f1;
  background: linear-gradient(180deg, #ff8f45 0%, #ff751f 60%, #c64f0b 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 0 32px rgba(255,117,31,0.30);
}
.button-secondary {
  color: #f2f2f2;
  background: rgba(255,255,255,0.03);
  border-color: rgba(57,255,20,0.40);
  box-shadow: 0 0 24px rgba(57,255,20,0.14);
}

.hero { padding-top: 18px; }
.hero-content {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(210px, 0.27fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.studio-panel, .project-panel, .pillar-card, .mailing-section, .about-section {
  background:
    linear-gradient(180deg, rgba(12,14,18,0.78), rgba(5,6,9,0.92));
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
}

.neon-purple { box-shadow: 0 0 0 1px rgba(122,77,255,0.38) inset, 0 0 48px rgba(122,77,255,0.22), 0 0 18px rgba(122,77,255,0.12); }
.neon-green { box-shadow: 0 0 0 1px rgba(57,255,20,0.36) inset, 0 0 54px rgba(57,255,20,0.18), 0 0 22px rgba(57,255,20,0.10); }
.neon-orange { box-shadow: 0 0 0 1px rgba(255,117,31,0.38) inset, 0 0 52px rgba(255,117,31,0.20), 0 0 20px rgba(255,117,31,0.10); }
.neon-red { box-shadow: 0 0 0 1px rgba(255,79,79,0.34) inset, 0 0 48px rgba(255,79,79,0.18), 0 0 18px rgba(255,79,79,0.09); }

.studio-panel { padding: 26px 22px; opacity: 0.97; }

.project-panel {
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(240px, 0.58fr);
  gap: 26px;
  align-items: center;
  overflow: hidden;
  min-height: 500px;
  border-color: rgba(57,255,20,0.24);
}

.project-copy { max-width: 680px; min-width: 0; position: relative; z-index: 2; }
.project-art-wrap { display: flex; justify-content: flex-end; align-items: center; min-height: 100%; position: relative; z-index: 1; }
.project-art {
  width: 100%;
  max-width: 395px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.42), 0 0 34px rgba(122,77,255,0.16);
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--orange);
}
.studio-line {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.04;
}
.studio-blurb, .subtitle, .about-copy, .pillar-card-body p, .mailing-copy p, .footer p { color: var(--muted); }
.studio-blurb { margin: 0; font-size: 1rem; line-height: 1.7; }

.structure-title {
  margin: 0 0 14px;
  font-family: "SDNoise", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-transform: uppercase;
  font-size: clamp(3.3rem, 6.2vw, 5.85rem);
  line-height: 0.88;
  letter-spacing: 0.015em;
  max-width: 100%;
  color: #ece6df;
  text-shadow: 0 2px 0 rgba(0,0,0,0.45), 0 0 32px rgba(255,117,31,0.04);
}
.subtitle {
  margin: 0 0 16px;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  max-width: 520px;
}

.announcement-banner {
  display: grid;
  gap: 6px;
  margin: 0 0 20px;
  padding: 14px 16px;
  border-left: 3px solid rgba(255,117,31,0.9);
  background: linear-gradient(90deg, rgba(255,117,31,0.10), rgba(255,117,31,0.02));
  box-shadow: inset 0 0 0 1px rgba(255,117,31,0.08);
}
.announcement-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--orange);
}
.announcement-copy {
  color: #f4e6dc;
  line-height: 1.55;
  font-size: 1rem;
}

.warning-strip {
  display: inline-block;
  margin: 0;
  padding: 0;
  color: #d9c8ff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 1rem;
  text-shadow: 0 0 18px rgba(122,77,255,0.24);
  position: relative;
}
.warning-strip::before {
  content: "";
  display: block;
  width: 86px;
  height: 2px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, rgba(122,77,255,0.95), rgba(122,77,255,0.15));
  box-shadow: 0 0 14px rgba(122,77,255,0.4);
}

.section { padding: 30px 0; }
.about-section {
  margin-top: 30px;
  padding: 32px;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.6fr);
  gap: 24px;
  align-items: center;
}
.about-copy {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  line-height: 1.65;
  max-width: 920px;
  margin: 0;
}
.about-art {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.about-art img {
  max-width: 260px;
  width: 100%;
  opacity: 0.72;
  filter: drop-shadow(0 0 22px rgba(255,117,31,0.08));
}

.section-heading-wrap { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.pillar-card {
  overflow: hidden;
  min-height: 100%;
}
.pillar-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  background: #090a0d;
}
.pillar-card-body {
  padding: 18px 18px 22px;
  background: linear-gradient(180deg, rgba(6,8,12,0.12), rgba(4,5,7,0.92));
}
.pillar-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.18;
}
.pillar-card p {
  margin: 0;
  line-height: 1.6;
  font-size: 0.98rem;
}

.mailing-section {
  margin-top: 18px;
  margin-bottom: 32px;
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 32px;
  align-items: center;
  background:
    radial-gradient(circle at 78% 24%, rgba(255,117,31,0.11), transparent 30%),
    linear-gradient(180deg, rgba(14,12,13,0.86), rgba(5,6,9,0.96));
  border-color: rgba(255,117,31,0.30);
}
.mailing-copy .eyebrow {
  color: #ffb07a;
  font-size: clamp(0.95rem, 1.4vw, 1.18rem);
  letter-spacing: 0.22em;
  text-shadow: 0 0 18px rgba(255,117,31,0.30);
}
.mailing-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 4.5vw, 3.8rem);
  line-height: 1.02;
}
.mailing-copy p {
  margin-top: 0;
  margin-bottom: 0;
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.7;
}
.mailing-copy .mailing-note {
  margin-top: 14px;
  color: #f7c49f;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 800;
}
.mailing-form-wrap {
  min-height: 220px;
  padding: 20px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(15,12,14,0.88), rgba(5,6,9,0.95));
  border: 1px solid rgba(255,117,31,0.28);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 0 34px rgba(255,117,31,0.14), 0 0 28px rgba(0,0,0,0.36);
}
.mailing-form-wrap .ml-embedded {
  width: 100%;
}
.form-fallback {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.form-fallback a {
  color: #ffb47a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  padding: 8px 0 34px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.footer-left { display: flex; align-items: center; gap: 18px; }
.footer-logo { width: 170px; height: auto; }

.social-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.social-row a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  box-shadow: 0 0 20px rgba(122,77,255,0.07);
}
.social-row svg { width: 20px; height: 20px; fill: #f3f3f3; }

@media (max-width: 1120px) {
  .hero-content { grid-template-columns: 1fr; }
  .project-panel { grid-template-columns: 1fr; min-height: auto; }
  .project-art-wrap, .about-art { justify-content: flex-start; }
  .project-art { max-width: 420px; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .topbar { flex-direction: column; align-items: stretch; }
  .top-actions { width: 100%; justify-content: stretch; }
  .top-actions .button { flex: 1; }
  .brand img { width: min(320px, 72vw); }
  .pillars-grid { grid-template-columns: 1fr; }
  .mailing-section { grid-template-columns: 1fr; padding: 24px; }
  .footer, .footer-left { flex-direction: column; align-items: flex-start; }
  .structure-title { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .project-art { max-width: 100%; }
}


.topbar .button-primary {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.10) inset,
    0 0 34px rgba(255,117,31,0.30);
}

.topbar .button-secondary {
  background: rgba(28, 36, 34, 0.55);
  border-color: rgba(57,255,20,0.52);
  box-shadow: 0 0 26px rgba(57,255,20,0.18);
}


/* v8 polish: brighter, more deliberate panel edges */
.studio-panel, .project-panel, .about-section, .mailing-section, .pillar-card {
  position: relative;
}
.studio-panel::after, .project-panel::after, .about-section::after, .mailing-section::after, .pillar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 28%, transparent 70%, rgba(255,255,255,0.035));
  mix-blend-mode: screen;
}
.project-panel::before, .mailing-section::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(57,255,20,0.20), transparent 36%, rgba(255,117,31,0.12));
  opacity: 0.22;
  z-index: -1;
  filter: blur(12px);
}
.mailing-section::before { background: linear-gradient(135deg, rgba(255,117,31,0.30), transparent 42%, rgba(122,77,255,0.18)); opacity: 0.28; }

@media (min-width: 1320px) {
  :root { --max: 1320px; }
  .brand img { width: min(390px, 42vw); }
}

@media (max-width: 1260px) and (min-width: 1121px) {
  .structure-title { font-size: clamp(3.2rem, 5.5vw, 5rem); }
  .project-art { max-width: 340px; }
  .project-panel { grid-template-columns: minmax(0, 1.12fr) minmax(220px, 0.52fr); }
}
