:root {
  --bg: #e7e7e7;
  --card: #ffffff;
  --ink: #191919;
  --muted: #5a5a5a;
  --red: #b91f24;
  --red-dark: #951116;
  --red-deep: #74080d;
  --red-soft: #d54f54;
  --line-soft: rgba(255, 255, 255, 0.34);
  --radius: 14px;
  --shadow: 0 24px 38px -28px rgba(10, 10, 10, 0.45);
  --shadow-soft: 0 10px 28px -24px rgba(12, 12, 12, 0.6);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at 10% 8%, #f8f8f8 0%, rgba(248, 248, 248, 0) 28%),
    radial-gradient(circle at 92% 70%, #f4f4f4 0%, rgba(244, 244, 244, 0) 26%),
    linear-gradient(160deg, #ededed 0%, #dfdfdf 52%, #e9e9e9 100%);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 120;
  background: #111;
  color: #fff;
  padding: 0.65rem 0.9rem;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
}

.skip-link:focus {
  left: 0.8rem;
}

.site-shell {
  width: min(1320px, calc(100% - 2rem));
  margin: 0.8rem auto 1.6rem;
}

.topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand nav cta";
  align-items: center;
  gap: 1.1rem;
  padding: 0.78rem 1rem;
  border-radius: var(--radius);
  border: 1px solid #d9d9d9;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(9px);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0.5rem;
  z-index: 30;
  isolation: isolate;
}

.brand-inline {
  display: block;
  text-decoration: none;
  grid-area: brand;
}

.brand-inline img {
  width: min(280px, 100%);
  display: block;
}

.topnav {
  grid-area: nav;
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  min-width: 0;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.topnav a {
  text-decoration: none;
  color: #2a2a2a;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  position: relative;
  pointer-events: auto;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.33rem;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.topnav a:hover::after,
.topnav a:focus-visible::after {
  transform: scaleX(1);
}

.topbar-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.topbar-cta {
  grid-area: cta;
  justify-self: end;
  padding: 0.74rem 1rem;
  font-size: 0.88rem;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(120deg, #c9252c 0%, #ac161c 100%);
  box-shadow: 0 8px 16px -12px rgba(130, 15, 20, 0.95);
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.topbar-cta:hover,
.topbar-cta:focus-visible,
.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:disabled,
.topbar-cta:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}

.poster {
  width: 100%;
  margin-top: 1rem;
}

.poster-top,
.poster-bottom {
  display: grid;
  box-shadow: var(--shadow);
}

.poster-top {
  grid-template-columns: 1.05fr 0.8fr 1.15fr;
  grid-template-rows: minmax(500px, auto) minmax(240px, auto);
  grid-template-areas:
    "intro about hero"
    "valve contact contact";
}

.poster-bottom {
  margin-top: 1rem;
  border-top: 10px solid var(--bg);
  grid-template-columns: 1.05fr 0.8fr 1.15fr;
  grid-template-rows: minmax(460px, auto) minmax(290px, auto);
  grid-template-areas:
    "team process offering"
    "team solution laptop";
}

.card {
  background: var(--card);
  padding: 2rem;
  border: 1px solid #ececec;
}

.photo {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Outfit", "Avenir Next", sans-serif;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

p,
a,
li,
address {
  margin: 0;
  line-height: 1.45;
}

ul {
  margin: 0;
  padding-left: 1.05rem;
}

.intro-card {
  grid-area: intro;
  display: grid;
  align-content: start;
  gap: 1rem;
}

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #707070;
  font-weight: 700;
}

.intro-card h1 {
  font-size: clamp(2.35rem, 3vw, 3.3rem);
  color: var(--red);
}

.intro-card h1 span {
  display: block;
  margin-top: 0.16rem;
  color: #1f1f1f;
  font-weight: 500;
}

.intro-card p {
  max-width: 42ch;
  color: #242424;
  font-size: 1.02rem;
}

.intro-card strong {
  font-weight: 800;
}

.cta-group {
  margin-top: 0.42rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
}

.btn {
  padding: 0.76rem 1rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(125deg, #c9252b 0%, #a3141a 100%);
  box-shadow: 0 10px 16px -13px rgba(143, 17, 23, 0.95);
}

.btn-light {
  color: #302f2f;
  background: #fff;
  border-color: #d8d8d8;
}

.about-card {
  grid-area: about;
  display: grid;
  align-content: start;
  gap: 1rem;
}

.about-card h2 {
  font-size: clamp(2rem, 2.25vw, 2.55rem);
}

.about-card h2 strong {
  color: var(--red);
  display: block;
}

.about-card p,
.about-card li {
  color: #222;
}

.about-card ul {
  display: grid;
  gap: 0.3rem;
}

.about-card .focus {
  font-weight: 800;
}

.hero-photo {
  grid-area: hero;
}

.valve-photo {
  grid-area: valve;
}

.contact-card {
  grid-area: contact;
  z-index: 2;
  margin-top: -55px;
  margin-right: 2.6rem;
  background: linear-gradient(140deg, #c32027 0%, #a1151b 58%, #8f1116 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 6.5rem;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(18deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.contact-main,
.contact-brand {
  display: grid;
  align-content: start;
  gap: 0.72rem;
  position: relative;
  z-index: 1;
}

.contact-main h3 {
  font-size: clamp(2rem, 2.5vw, 2.75rem);
}

.contact-main p {
  max-width: 36ch;
  color: #fee9e9;
}

.contact-lines {
  display: grid;
  gap: 0.35rem;
}

.contact-main a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  width: fit-content;
}

.contact-main address {
  margin-top: 0.1rem;
  color: #f9e1e1;
  font-style: normal;
}

.contact-brand {
  border-left: 1px solid var(--line-soft);
  padding-left: 1.08rem;
  align-content: center;
}

.contact-brand h4 {
  font-size: clamp(2.1rem, 2.5vw, 2.85rem);
}

.contact-brand h4 span {
  display: block;
  font-weight: 500;
}

.contact-brand p {
  color: #fee8e8;
}

.contact-actions {
  margin-top: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.68rem 0.9rem;
  font-size: 0.83rem;
}

.team-card {
  grid-area: team;
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.team-card h2 {
  color: var(--red);
  font-size: clamp(2.3rem, 3.2vw, 3.45rem);
}

.team-card h3 {
  font-size: 1.95rem;
}

.team-card .role {
  font-weight: 600;
  color: #2c2c2c;
}

.team-card ul {
  display: grid;
  gap: 0.16rem;
}

.strength-columns {
  margin-top: 0.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.strength-columns h4 {
  margin-bottom: 0.34rem;
  font-size: 0.96rem;
}

.strength-columns ul {
  padding-left: 0.9rem;
  color: #373737;
  font-size: 0.93rem;
}

.profile-pic {
  margin: 1rem 0 0;
  width: min(216px, 64%);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow: hidden;
  padding: 6px;
  background: #fff;
  box-shadow: 0 14px 28px -22px rgba(20, 20, 20, 0.75);
  justify-self: start;
}

.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 37%;
  border-radius: inherit;
  display: block;
}

.process-card {
  grid-area: process;
  background: linear-gradient(165deg, #bf2028 0%, #a2141b 100%);
  color: #fff;
  display: grid;
  gap: 0.84rem;
  position: relative;
}

.process-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -34px;
  width: 100%;
  height: 36px;
  background: linear-gradient(160deg, #a20f16 0%, #8a0910 100%);
  clip-path: polygon(0 0, 100% 16%, 100% 100%, 0 100%);
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  padding-bottom: 0.72rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.step span {
  font-family: "Outfit", "Avenir Next", sans-serif;
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 0.95;
}

.step h4 {
  font-size: 1.04rem;
  margin-bottom: 0.2rem;
}

.offering-card {
  grid-area: offering;
  background: linear-gradient(162deg, #b81b22 0%, #931016 100%);
  color: #fff;
  display: grid;
  gap: 0.88rem;
}

.offering-card h2 {
  font-size: clamp(2.2rem, 2.75vw, 3rem);
}

.offering-card h2 strong {
  display: block;
}

.offering-card h4 {
  color: #ffdede;
  font-size: 1.1rem;
}

.offering-card p,
.offering-card li {
  color: #feecec;
}

.audience {
  margin-top: 0.3rem;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(122, 8, 14, 0.42);
}

.audience p {
  font-weight: 700;
  margin-bottom: 0.34rem;
}

.solution-card {
  grid-area: solution;
  background: linear-gradient(150deg, #a71218 0%, #83090e 100%);
  color: #fff;
  display: grid;
  align-content: center;
  gap: 0.84rem;
}

.solution-card h3 {
  font-size: clamp(1.8rem, 2.15vw, 2.45rem);
}

.solution-card p {
  color: #fee6e6;
}

.laptop-photo {
  grid-area: laptop;
}

.lead-section {
  margin-top: 1rem;
  scroll-margin-top: 6.5rem;
}

.lead-card {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  border: 1px solid #d9d9d9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.lead-intro {
  background: linear-gradient(150deg, #be2028 0%, #941117 100%);
  color: #fff;
  padding: 2rem;
  display: grid;
  align-content: center;
  gap: 0.75rem;
}

.lead-intro .kicker {
  color: #ffd8d9;
}

.lead-intro h2 {
  font-size: clamp(2rem, 2.8vw, 2.8rem);
}

.lead-intro p {
  color: #ffeded;
  max-width: 34ch;
}

.lead-form-wrap {
  background: #fff;
  padding: 1.8rem;
}

.lead-form {
  display: grid;
  gap: 0.48rem;
}

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

.lead-form label {
  font-size: 0.9rem;
  color: #2d2d2d;
  font-weight: 700;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid #d6d6d6;
  border-radius: 10px;
  padding: 0.74rem 0.82rem;
  font: inherit;
  color: #232323;
  background: #fff;
}

.lead-form textarea {
  resize: vertical;
  min-height: 110px;
}

.lead-form input:focus-visible,
.lead-form textarea:focus-visible {
  outline: 2px solid #b3151c;
  outline-offset: 1px;
  border-color: #b3151c;
}

.consent-check {
  margin-top: 0.36rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.48rem;
  color: #313131;
  font-size: 0.9rem;
}

.consent-check input {
  margin-top: 0.2rem;
}

.consent-check a {
  color: var(--red-dark);
  font-weight: 700;
  text-decoration: none;
}

.consent-check a:hover {
  text-decoration: underline;
}

.lead-actions {
  margin-top: 0.3rem;
  display: flex;
  gap: 0.62rem;
  flex-wrap: wrap;
}

.lead-note {
  margin-top: 0.18rem;
  color: #5a5a5a;
  font-size: 0.86rem;
}

.lead-status {
  min-height: 1.24rem;
  margin-top: 0.15rem;
  font-size: 0.87rem;
  font-weight: 700;
}

.lead-status[data-type=\"loading\"] {
  color: #5f5f5f;
}

.lead-status[data-type=\"success\"] {
  color: #167a35;
}

.lead-status[data-type=\"error\"] {
  color: #ba1017;
}

.site-footer {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid #d7d7d7;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.site-footer p {
  color: #444;
  font-weight: 600;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #272727;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.88rem;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.topnav a:focus-visible,
.footer-links a:focus-visible,
.btn-light:focus-visible {
  outline: 2px solid #b3151c;
  outline-offset: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 {
  animation-delay: 0.08s;
}

.delay-2 {
  animation-delay: 0.16s;
}

.delay-3 {
  animation-delay: 0.24s;
}

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

@media (max-width: 1240px) {
  .poster-top {
    grid-template-rows: minmax(460px, auto) minmax(220px, auto);
  }

  .poster-bottom {
    grid-template-rows: minmax(430px, auto) minmax(270px, auto);
  }

  .card {
    padding: 1.74rem;
  }

  .contact-card {
    margin-right: 2rem;
  }
}

@media (max-width: 980px) {
  .site-shell {
    width: min(980px, calc(100% - 1rem));
  }

  .topbar {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand cta"
      "nav nav";
    gap: 0.8rem 1rem;
    padding: 0.72rem 0.8rem;
  }

  .brand-inline {
    grid-area: brand;
  }

  .topbar-cta {
    grid-area: cta;
  }

  .topnav {
    grid-area: nav;
    justify-content: flex-start;
  }

  .poster-top {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 300px 260px;
    grid-template-areas:
      "intro about"
      "hero hero"
      "valve contact";
  }

  .poster-bottom {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto 290px;
    grid-template-areas:
      "team process"
      "offering solution"
      "laptop laptop";
  }

  .lead-card {
    grid-template-columns: 1fr;
  }

  .lead-intro,
  .lead-form-wrap {
    padding: 1.45rem;
  }

  .profile-pic {
    width: min(198px, 58%);
    margin-top: 0.75rem;
  }

  .contact-card {
    margin-top: 0;
    margin-right: 0;
    grid-template-columns: 1fr;
  }

  .contact-brand {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
    padding-left: 0;
    padding-top: 1rem;
  }

  .process-card::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: calc(100% - 0.7rem);
    margin: 0.35rem auto 1rem;
  }

  .topbar {
    position: static;
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "cta";
  }

  .topnav {
    justify-content: flex-start;
    gap: 0.9rem;
  }

  .topbar-cta {
    width: fit-content;
  }

  .poster-top,
  .poster-bottom {
    box-shadow: none;
  }

  .poster-top {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "intro"
      "about"
      "hero"
      "valve"
      "contact";
  }

  .poster-bottom {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "team"
      "process"
      "offering"
      "solution"
      "laptop";
    margin-top: 0.8rem;
    border-top-width: 7px;
  }

  .card {
    padding: 1.28rem;
  }

  .hero-photo,
  .valve-photo,
  .laptop-photo {
    min-height: 220px;
  }

  .strength-columns {
    grid-template-columns: 1fr;
    gap: 0.82rem;
  }

  .profile-pic {
    width: min(176px, 56%);
    justify-self: center;
    margin-top: 0.75rem;
    box-shadow: 0 12px 20px -18px rgba(20, 20, 20, 0.78);
  }

  .step span {
    font-size: 2.5rem;
  }

  .lead-actions .btn {
    width: 100%;
  }

  .site-footer {
    padding: 0.76rem 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }

  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
