/* Figma 119:24 — CTRL + ALT + SCALE (Pounce Agency) */
:root {
  --teal: #5ac8b4;
  --teal-bright: #6ef9e2;
  --black: #000000;
  --white: #ffffff;
  --text-body-light: #121212;
  --input-bg: rgba(200, 210, 215, 0.3);
  --input-placeholder: rgba(255, 255, 255, 0.7);
  --footer-bg: #000000;
  --form-section-bg: #000000;
  --radius: 10px;
  --radius-sm: 5px;
  --container: 1200px;
  --font: "Poppins", system-ui, sans-serif;
  --ctrl-bg: url("ctrl-bg.jpg");
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-body-light);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--white);
  color: var(--black);
  border-radius: 4px;
  font-weight: 600;
}
.skip-link:focus {
  left: 0.5rem;
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Shared full-bleed art for hero + I GET WHAT sections */
.hero-bg,
.mid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-color: var(--black);
  background-image: var(--ctrl-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-bg::after,
.mid-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.block--hero {
  position: relative;
  padding: 3.5rem 0 2rem;
  min-height: min(100vh, 1200px);
  color: var(--white);
}
.block--hero .container,
.block--hero .hero-narrative {
  position: relative;
  z-index: 1;
}

.hero-inner {
  text-align: left;
  padding-top: 1rem;
}

.stack-title {
  margin: 0 0 0.5rem;
  font-weight: 900;
  font-size: clamp(5.5rem, 10vw, 10.2rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.stack-line {
  display: block;
}

.stack-sub {
  margin: 0 0 1.75rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 400;
  color: var(--white);
  
}

/* Buttons: Figma 119:47 — #5ac8b4, black text, rounded 10px */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.2;
  padding: 0.5rem 1.75rem;
  min-height: 54px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: filter 0.15s, transform 0.1s, opacity 0.15s;
  text-align: center;
}
.btn--primary {
  background: var(--teal);
  color: var(--black);
}
.btn--primary:hover:not(:disabled) {
  filter: brightness(1.05);
}
.btn--primary:active:not(:disabled) {
  transform: scale(0.99);
}
.btn--wide {
  width: 100%;
  max-width: 404px;
  margin-top: 0.25rem;
  position: relative;
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
  min-height: 48px;
  font-size: 0.85rem;
  padding: 0.4rem 1.25rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
.btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.btn-spinner {
  display: none;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid color-mix(in srgb, var(--black) 30%, transparent);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  position: absolute;
}
.btn.loading .btn-label {
  opacity: 0.6;
}
.btn.loading .btn-spinner {
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-narrative {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.kicker {
  font-weight: 900;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  max-width: 50ch;
}
.kicker--white {
  color: var(--white);
}

.prose {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 72ch;
}
.prose p {
  margin: 0 0 1rem;
}
.prose p:last-child {
  margin-bottom: 0;
}
.prose--on-dark {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
}
.prose--on-light {
  color: var(--text-body-light);
  font-size: 1.1rem;
}
.text-accent-bright {
  color: var(--teal-bright);
  font-weight: 700;
}
.text-brand {
  color: var(--teal);
  font-weight: 700;
}

/* White band */
.block--light {
  background: var(--white);
  padding: 4.5rem 0;
}
.section-narrow {
  max-width: 1180px;
  margin: 0 auto;
}

.block-headline {
  margin: 0 0 1.5rem;
  font-weight: 900;
  font-size: clamp(2.5rem, 3.2vw, 3.4rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text-body-light);
  letter-spacing: 0.01em;
  max-width: 20ch;
}
.text-white {
  color: var(--white) !important;
}

/* Same left nudge: hero, white block-headlines, and fragmentation (black) */
.stack-title,
.headline.block-headline.text-white,
.block--light .headline.block-headline {
  margin-left: -1.5rem;
}
@media (min-width: 768px) {
  .stack-title,
  .headline.block-headline.text-white,
  .block--light .headline.block-headline {
    margin-left: -2.5rem;
  }
}
@media (min-width: 1024px) {
  .stack-title,
  .headline.block-headline.text-white,
  .block--light .headline.block-headline {
    margin-left: -3rem;
  }
}

/* I GET section (same ctrl-bg + overlay as hero) */
.block--mid {
  position: relative;
  padding: 4rem 0;
  color: var(--white);
  overflow: hidden;
}
.block--mid .section-narrow {
  position: relative;
  z-index: 1;
}

/* Form area */
.block--form {
  background: var(--form-section-bg);
  padding: 4.5rem 0 4rem;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.form-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr 404px;
    gap: 3rem;
  }
}

.form-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.1;
  text-transform: uppercase;
  max-width: 12ch;
}
.headline-nowrap {
  display: block;
}
.prose--intro {
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 38ch;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 404px;
}

.field-float input {
  width: 100%;
  height: 73px;
  border: none;
  border-radius: var(--radius);
  background: var(--input-bg);
  color: var(--white);
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 300;
  padding: 1rem 1.4rem;
  transition: box-shadow 0.15s, background 0.15s;
}
.field-float input::placeholder {
  color: var(--input-placeholder);
}
.field-float input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--teal);
  background: color-mix(in srgb, var(--input-bg) 100%, #fff 8%);
}
.field-float input:invalid:not(:focus):not(:placeholder-shown) {
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.6);
}

.form-error,
.form-success {
  font-size: 0.9rem;
  margin: 0;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  max-width: 404px;
}
.form-error {
  color: #fecaca;
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
}
.form-success {
  color: #bbf7d0;
  background: rgba(90, 200, 180, 0.15);
  border: 1px solid rgba(90, 200, 180, 0.4);
}
.form-success a {
  color: var(--teal-bright);
  font-weight: 600;
  text-decoration: underline;
}
.footer-msg {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
}
.footer-msg.is-success {
  color: #bbf7d0;
  background: rgba(90, 200, 180, 0.15);
  border: 1px solid rgba(90, 200, 180, 0.4);
}
.footer-msg.is-error {
  color: #fecaca;
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--white);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.6fr;
    gap: 1.5rem 2rem;
  }
}
.footer-deck,
.footer-address {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.5rem;
}
.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}
.footer-agency {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}
.footer-col {
  min-width: 0;
}
.footer-logo {
  display: block;
  max-height: 40px;
  width: auto;
  max-width: 180px;
  height: auto;
  margin: 0 0 0.75rem;
}
.footer-brand .footer-deck {
  max-width: 32ch;
  margin: 0.75rem 0 1rem;
}
.newsletter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
  margin-bottom: 0.75rem;
}
.newsletter input {
  flex: 1;
  min-width: 12rem;
  height: 48px;
  padding: 0 0.9rem;
  font-size: 0.9rem;
  font-family: inherit;
  background: var(--white);
  color: #505050;
  border: 1px solid var(--white);
  border-radius: var(--radius-sm);
}
.newsletter input:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}
.footer-consent {
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 34ch;
}
.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}
.social-list a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: rgba(255, 255, 255, 0.9);
}
.social-list a:hover {
  color: var(--teal);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  align-items: flex-start;
  justify-content: space-between;
}
@media (min-width: 600px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}
.copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}
.legal-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.legal-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: rgba(255, 255, 255, 0.9);
}
.legal-links a:hover {
  color: var(--teal);
}
