/* Bellows Live marketing — HQ `.mkt` layout language, Live steel accent. */

:root {
  --ink: #14110f;
  --ink-raised: #1a1613;
  --card: #1d1916;
  --line: #2c2724;
  --line-strong: #3a3531;
  --field-line: #78716b;
  --paper: #f5f1ec;
  --muted: #b7bdc7;
  --faint: #8b93a1;
  /* Live steel accent; ember kept for hero eyebrow / heat rail / sparks */
  --steel: #8094a0;
  --steel-deep: #546872;
  --steel-hot: #9aadb8;
  --steel-wash: #1a2228;
  --steel-ground: #161b1f;
  --ember: #e8590c;
  --ember-hot: #ff7a1a;
  --ember-wash: #2b1509;
  --ember-ground: #1d1611;
  --cooled: #5d6672;
  --cooled-deep: #3a4048;
  --warming: #b4633a;
  --radius-ctl: 8px;
  --radius-card: 12px;
  --font: "Barlow", ui-sans-serif, system-ui, sans-serif;
  --font-condensed: "Barlow Condensed", "Barlow", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body.mkt {
  min-height: 100vh;
  color-scheme: dark;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

/* Centered reading shell — same idea as HQ `.mkt-shell` */
.shell {
  width: min(100% - 64px, 1120px);
  margin-inline: auto;
}

@media (max-width: 480px) {
  .shell {
    width: min(100% - 40px, 1120px);
  }
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--ink) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--paper);
}

.lockup__mark {
  display: block;
  width: 36px;
  height: 27px;
  flex: none;
}

.lockup__words {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.lockup__name {
  font-weight: 600;
}

.lockup__rule {
  width: 2px;
  height: 0.9em;
  background: var(--paper);
  flex: none;
}

.lockup__live {
  font-weight: 400;
  color: var(--steel);
}

/* Hero — HQ `.mkt-hero` + HeroField motion, Live steel */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  border-bottom: 2px solid var(--line);
  min-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .hero {
    min-height: 0;
    justify-content: flex-start;
  }

  .hero__inner {
    padding-top: clamp(1.25rem, 3.5vh, 2rem);
    padding-bottom: clamp(2.75rem, 8vh, 4rem);
  }
}

.hero-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes breathe {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.82);
  }
}

@keyframes drift {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.05);
  }
}

.breathe {
  transform-origin: 50% 50%;
  animation: breathe 6.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.drift {
  transform-origin: 50% 50%;
  animation: drift 8.2s ease-in-out infinite;
}

.drift-slow {
  animation-duration: 11.5s;
  animation-direction: alternate-reverse;
}

/* Soft ember sparks — float + flicker, delayed so they don’t pulse in lockstep */
@keyframes spark {
  0%,
  100% {
    opacity: 0.25;
    transform: translate(0, 0) scale(0.85);
  }
  40% {
    opacity: 0.85;
    transform: translate(6px, -14px) scale(1.15);
  }
  70% {
    opacity: 0.45;
    transform: translate(-4px, -22px) scale(0.95);
  }
}

.spark {
  transform-origin: center;
  transform-box: fill-box;
  animation: spark 7.2s ease-in-out infinite;
}

.spark-2 {
  animation-duration: 9.4s;
  animation-delay: -2.1s;
}

.spark-3 {
  animation-duration: 11s;
  animation-delay: -4.4s;
  animation-direction: alternate-reverse;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.35rem;
  padding-top: clamp(3.5rem, 10vh, 6rem);
  padding-bottom: clamp(4.5rem, 12vh, 5.5rem);
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
}

.h1-hero {
  font-family: var(--font-condensed);
  font-size: clamp(46px, 11vw, 120px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.002em;
  text-transform: uppercase;
  color: var(--paper);
  max-width: 14ch;
}

.h1-hero span {
  display: block;
}

.h2 {
  font-family: var(--font-condensed);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--paper);
  max-width: 22ch;
}

.lead {
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 48ch;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.heat {
  width: min(100%, 520px);
  height: 3px;
  margin-top: 0.75rem;
  border-radius: 999px;
}

@keyframes rail-sweep {
  to {
    background-position: 200% 0;
  }
}

/* HQ `.mkt-heat-live` rail — ember forge glow */
.heat-live {
  background-image: linear-gradient(
    90deg,
    var(--cooled-deep) 0%,
    var(--cooled) 18%,
    var(--warming) 32%,
    var(--ember) 42%,
    var(--ember-hot) 50%,
    var(--ember) 58%,
    var(--warming) 68%,
    var(--cooled) 82%,
    var(--cooled-deep) 100%
  );
  background-size: 200% 100%;
  animation: rail-sweep 9s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .breathe,
  .drift,
  .spark,
  .heat-live {
    animation: none !important;
  }
  .breathe {
    transform: none;
  }
}

.rise {
  opacity: 0;
  animation: rise 0.85s var(--ease) forwards;
}

.rise-1 {
  animation-delay: 0.08s;
}
.rise-2 {
  animation-delay: 0.16s;
}
.rise-3 {
  animation-delay: 0.24s;
}
.rise-4 {
  animation-delay: 0.32s;
}
.rise-5 {
  animation-delay: 0.4s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons — HQ geometry, steel fill */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: var(--radius-ctl);
  border: 2px solid transparent;
  font-family: inherit;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 90ms linear,
    border-color 90ms linear,
    color 90ms linear;
}

.btn-sm {
  height: 38px;
  padding-inline: 18px;
  font-size: 14.5px;
}

.btn-lg {
  height: 46px;
  padding-inline: 24px;
  font-size: 16px;
}

.btn-solid {
  background: var(--steel);
  border-color: var(--steel);
  color: var(--ink);
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: var(--steel-hot);
  border-color: var(--steel-hot);
  outline: none;
}

.btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.btn:focus-visible {
  outline: 2px solid var(--steel-hot);
  outline-offset: 2px;
}

/* Services — one job: what clients hire */
.services {
  background: var(--ink);
}

.services__inner {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: 4rem 0 4.5rem;
}

.services__intro {
  margin: 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 2.5rem;
  margin-top: 0.75rem;
}

.services__item {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.services__name {
  font-family: var(--font-condensed);
  font-size: clamp(20px, 3.2vw, 26px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--paper);
}

.services__line {
  margin: 0;
  font-size: clamp(15px, 2vw, 16px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 42ch;
  text-wrap: pretty;
}

.services__verticals {
  margin: 0.5rem 0 0;
  font-size: clamp(14px, 1.9vw, 15.5px);
  line-height: 1.5;
  color: var(--faint);
  max-width: 58ch;
  text-wrap: pretty;
}

@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Contact — HQ “Get in early” panel pattern */
.rule {
  border-top: 2px solid var(--line);
}

.contact {
  background: var(--ink);
}

.contact__shell {
  padding: 4rem 0 4.5rem;
}

.contact__panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: clip;
  border: 2px solid var(--steel);
  border-radius: var(--radius-card);
  background:
    radial-gradient(
      ellipse 130% 110% at 92% -8%,
      color-mix(in oklab, var(--ember) 30%, transparent) 0%,
      color-mix(in oklab, var(--ember) 14%, var(--ember-wash)) 32%,
      transparent 68%
    ),
    radial-gradient(
      ellipse 100% 90% at 8% 108%,
      color-mix(in oklab, var(--ember) 14%, transparent) 0%,
      transparent 58%
    ),
    linear-gradient(
      168deg,
      color-mix(in oklab, var(--ember-wash) 50%, var(--steel-ground)) 0%,
      var(--steel-ground) 48%,
      color-mix(in oklab, var(--ember-wash) 38%, var(--steel-ground)) 100%
    );
  padding: 34px 30px;
}

.contact__panel .h2 {
  font-weight: 700;
  line-height: 1.08;
  max-width: 26ch;
}

.contact__lede {
  max-width: 58ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.contact__mail {
  color: var(--steel-hot);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact__mail:hover,
.contact__mail:focus-visible {
  color: var(--paper);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
  margin-top: 0.35rem;
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.input {
  width: 100%;
  height: 48px;
  padding-inline: 14px;
  border-radius: var(--radius-ctl);
  border: 2px solid var(--field-line);
  background: var(--card);
  color: var(--paper);
  font-family: inherit;
  font-size: 16px;
  outline: none;
}

.input--area {
  height: auto;
  min-height: 96px;
  padding-block: 11px;
  resize: vertical;
}

.input:focus {
  border-color: var(--steel);
}

.input:focus-visible {
  outline: 2px solid var(--steel-hot);
  outline-offset: 2px;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.15rem;
}

.form__actions .btn-solid {
  padding-inline: 26px;
}

.form__status {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--steel-hot);
  min-height: 1.4em;
}

.form__status[data-tone="error"] {
  color: var(--steel-hot);
}

.form__status[data-tone="ok"] {
  color: #8fc7a6;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 1.5rem 2rem;
  font-size: 0.9rem;
  color: var(--faint);
}

.footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__contact a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer__contact a:hover,
.footer__contact a:focus-visible {
  color: var(--steel-hot);
}
