:root {
  --page-bg: #e8e7e2;
  --card-bg: #fbfbf8;
  --surface: #ffffff;
  --surface-soft: #f1f1ed;
  --ink: #151515;
  --muted: #6d6d68;
  --brand-orange: #ff5724;
  --brand-orange-dark: #e94819;
  --brand-blue: #000fe3;
  --line: rgba(24, 24, 22, 0.1);
  --line-strong: rgba(24, 24, 22, 0.18);
  --shadow-soft: 0 28px 70px rgba(24, 24, 22, 0.08);
  --radius-xl: 54px;
  --radius-lg: 40px;
  --radius-md: 22px;
  --container: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@font-face {
  font-family: "Helvena";
  src: url("fonts/Helvena-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvena";
  src: url("fonts/Helvena-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvena";
  src: url("fonts/Helvena-Semibold.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvena";
  src: url("fonts/Helvena-Bold.woff2") format("woff2");
  font-weight: 701 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvena";
  src: url("fonts/Helvena-Extrabold.woff2") format("woff2");
  font-weight: 801 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--page-bg);
  font-family: "Helvena", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.26;
  background-image:
    radial-gradient(rgba(20, 20, 20, 0.22) 0.55px, transparent 0.55px),
    radial-gradient(rgba(255, 255, 255, 0.8) 0.45px, transparent 0.45px);
  background-position: 0 0, 10px 10px;
  background-size: 20px 20px;
  mix-blend-mode: soft-light;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.page-shell {
  width: min(100%, calc(var(--container, 1120px) + 56px));
  margin: 0 auto;
  padding: 52px 28px;
}

.main-card {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 104px);
  padding: 38px 52px 44px;
  border: 1px solid rgba(20, 20, 18, 0.06);
  border-radius: 22px;
  background: var(--card-bg);
  box-shadow: 0 28px 70px rgba(24, 24, 22, 0.06);
}

.main-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.72;
  background:
    linear-gradient(180deg, rgba(251, 251, 248, 0) 58%, var(--card-bg) 88%),
    radial-gradient(circle at 80% 18%, rgba(0, 0, 0, 0.035), transparent 30%);
}

.site-header,
.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.73rem;
  color: #30302d;
}

.header-group,
.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  width: 82px;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.email-link {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-button,
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 260ms var(--ease),
    background 260ms var(--ease),
    border-color 260ms var(--ease),
    color 260ms var(--ease),
    box-shadow 260ms var(--ease);
}

.mini-button::after,
.button::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  transform: translateX(-110%);
  background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.34), transparent 58%);
  transition: opacity 260ms ease, transform 560ms var(--ease);
}

.mini-button:hover::after,
.button:hover::after {
  opacity: 1;
  transform: translateX(110%);
}

.mini-button {
  min-width: 58px;
  min-height: 28px;
  padding: 0 17px;
  color: #191917;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.social-links a,
.footer-links a,
.email-link {
  transition: color 220ms ease, opacity 220ms ease;
}

.social-links a:hover,
.footer-links a:hover,
.email-link:hover {
  color: var(--brand-orange);
  opacity: 1;
}

.hero-section {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  grid-template-areas:
    "copy portrait"
    "actions portrait";
  align-items: center;
  column-gap: clamp(34px, 6vw, 86px);
  min-height: clamp(470px, 58vh, 560px);
  max-width: 980px;
  margin: 38px auto 18px;
  text-align: left;
}

.hero-copy h1,
.intro-section h2,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 760;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 460px;
  font-size: clamp(31px, 3.25vw, 41px);
  font-weight: 760;
  line-height: 1.08;
}

.hero-copy p {
  max-width: 470px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.2vw, 1.02rem);
  line-height: 1.62;
}

.hero-copy {
  grid-area: copy;
  align-self: end;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.hero-section > .button-row {
  grid-area: actions;
  align-self: start;
  justify-content: flex-start;
  margin-top: 26px;
}

.button {
  min-height: 46px;
  padding: 0 24px;
  font-size: 0.82rem;
  font-weight: 680;
}

.button-dark {
  color: #fff;
  background: #171716;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.button-light {
  color: #242421;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.button:hover,
.mini-button:hover {
  transform: translateY(-2px);
}

.button-dark:hover {
  background: #000;
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.16);
}

.hero-section .button-dark,
.final-cta .button-dark {
  background: var(--brand-orange);
  box-shadow: 0 16px 30px rgba(255, 87, 36, 0.22);
}

.hero-section .button-dark:hover,
.final-cta .button-dark:hover {
  background: var(--brand-orange-dark);
  box-shadow: 0 18px 34px rgba(255, 87, 36, 0.28);
}

.button-light:hover,
.mini-button:hover {
  border-color: var(--line-strong);
  background: #fff;
}

.hero-portrait {
  position: relative;
  grid-area: portrait;
  align-self: stretch;
  justify-self: end;
  width: min(100%, 560px);
  min-height: 100%;
  margin: 0;
}

.hero-portrait::after {
  content: none;
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(470px, 58vh, 560px);
  object-fit: contain;
  object-position: 50% 100%;
  filter: grayscale(1) contrast(1.06);
  -webkit-mask-image: linear-gradient(to bottom, #000 0 70%, rgba(0, 0, 0, 0.86) 76%, rgba(0, 0, 0, 0.34) 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0 70%, rgba(0, 0, 0, 0.86) 76%, rgba(0, 0, 0, 0.34) 88%, transparent 100%);
}

.specialty-strip {
  position: relative;
  z-index: 1;
  margin: 0 -52px;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #1d1d1b;
}

.proof-section {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 820px;
  margin: 0 auto 62px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--line);
}

.proof-item {
  display: grid;
  align-content: center;
  min-height: 112px;
  padding: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.45);
}

.proof-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-orange);
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.specialty-strip::before,
.specialty-strip::after {
  position: absolute;
  top: 0;
  z-index: 2;
  width: 110px;
  height: 100%;
  pointer-events: none;
  content: "";
}

.specialty-strip::before {
  left: 0;
  background: linear-gradient(90deg, #1d1d1b, rgba(29, 29, 27, 0));
}

.specialty-strip::after {
  right: 0;
  background: linear-gradient(270deg, #1d1d1b, rgba(29, 29, 27, 0));
}

.specialty-marquee {
  display: flex;
  width: max-content;
  animation: specialty-marquee 24s linear infinite;
}

.specialty-strip:hover .specialty-marquee {
  animation-play-state: paused;
}

.specialty-track {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0;
  color: #f3f1eb;
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  font-weight: 760;
  letter-spacing: 0;
  white-space: nowrap;
}

.specialty-track span {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  opacity: 0.96;
}

.specialty-track span::after {
  color: var(--brand-orange);
  font-size: 0.9em;
  content: "✦";
}

@keyframes specialty-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.intro-section {
  position: relative;
  z-index: 1;
  max-width: 690px;
  margin: 92px auto 64px;
  text-align: center;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 38px;
  text-align: center;
}

.logo-showcase .section-heading {
  max-width: 980px;
}

.title-line {
  display: block;
  white-space: nowrap;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 17px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  color: #383834;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.76);
}

.intro-section h2,
.section-heading h2,
.final-cta h2 {
  font-size: clamp(31px, 3.25vw, 41px);
}

.intro-section p,
.final-cta p {
  max-width: 590px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.services-section {
  position: relative;
  z-index: 1;
  margin-top: 78px;
  scroll-margin-top: 44px;
}

.logo-showcase,
.process-section {
  position: relative;
  z-index: 1;
  margin-top: 88px;
  scroll-margin-top: 44px;
}

.logo-carousel {
  position: relative;
  display: flex;
  width: 100%;
  margin: 0 0 -26px;
  overflow: hidden;
  padding: 8px 0 34px;
}

.logo-carousel::before,
.logo-carousel::after {
  position: absolute;
  top: 0;
  z-index: 2;
  width: 140px;
  height: calc(100% - 26px);
  pointer-events: none;
  content: "";
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--card-bg), rgba(247, 247, 243, 0));
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--card-bg), rgba(247, 247, 243, 0));
}

.logo-track {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 18px;
  padding-right: 18px;
  animation: logo-carousel 34s linear infinite;
}

.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

.logo-item {
  display: grid;
  width: clamp(190px, 22vw, 286px);
  height: 132px;
  place-items: center;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.5);
  transition:
    transform 280ms var(--ease),
    border-color 280ms var(--ease),
    background 280ms var(--ease),
    box-shadow 280ms var(--ease);
}

.logo-item:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 34px rgba(24, 24, 22, 0.06);
}

.logo-item img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 78px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.02);
  transition: filter 280ms var(--ease), opacity 280ms var(--ease);
}

.logo-item:hover img {
  filter: none;
}

.logo-item-wide img {
  width: 86%;
  max-height: none;
  transform: translateY(2px);
}

@keyframes logo-carousel {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.section-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}

.section-divider span {
  height: 1px;
  background: var(--line);
}

.section-divider p {
  margin: 0;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  color: #373733;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.82);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
  transition:
    border-color 280ms var(--ease),
    color 280ms var(--ease),
    box-shadow 280ms var(--ease);
}

.service-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  opacity: 0;
  background: linear-gradient(180deg, #171716 0%, #171716 100%);
  transition: opacity 340ms var(--ease);
}

.service-icon,
.service-card h3,
.service-card p {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  border-color: #171716;
  color: #fff;
  box-shadow: 0 18px 38px rgba(24, 24, 22, 0.16);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 34px;
  place-items: center;
  color: currentColor;
}

.service-icon svg,
.cta-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.service-icon svg {
  transition: transform 320ms var(--ease);
}

.service-card:hover .service-icon svg {
  transform: translateY(-4px) scale(1.12);
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.62;
  transition: color 280ms var(--ease);
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.72);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.process-step {
  min-height: 230px;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.42);
}

.process-step span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 780;
}

.process-step h3 {
  margin: 0 0 12px;
  color: #171716;
  font-size: 1.16rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.final-cta {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  margin: 90px -16px 42px;
  padding: 96px 36px 86px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.92), transparent 38%),
    rgba(255, 255, 255, 0.42);
}

.cta-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #1e1e1b;
  background: rgba(255, 255, 255, 0.58);
  animation: cta-breathe 4.8s ease-in-out infinite;
}

.site-footer {
  padding-top: 34px;
  border-top: 1px solid var(--line);
  color: #575752;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 760ms var(--ease), transform 760ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cta-breathe {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(24, 24, 22, 0.04);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 14px rgba(24, 24, 22, 0);
    transform: scale(1.035);
  }
}

@media (max-width: 920px) {
  .page-shell {
    padding: 28px 18px;
  }

  .main-card {
    min-height: calc(100vh - 56px);
    padding: 30px 28px 34px;
    border-radius: 38px;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-section {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "actions"
      "portrait";
    row-gap: 0;
    min-height: auto;
    max-width: 620px;
    margin: 64px auto 58px;
  }

  .hero-copy {
    align-self: auto;
  }

  .hero-copy h1,
  .hero-copy p {
    max-width: none;
  }

  .hero-portrait {
    justify-self: center;
    width: min(100%, 460px);
    min-height: auto;
    margin-top: 34px;
  }

  .hero-portrait img {
    min-height: 430px;
    max-height: 520px;
  }

  .specialty-strip {
    margin-right: -28px;
    margin-left: -28px;
    padding: 18px 0;
  }

  .specialty-track {
    font-size: 1.05rem;
  }

  .specialty-track span {
    padding: 0 18px;
    gap: 18px;
  }

  .proof-section {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .proof-item {
    min-height: 96px;
  }

  .logo-carousel {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .logo-item {
    width: 220px;
    height: 120px;
    padding: 26px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 14px;
  }

  .main-card {
    min-height: calc(100vh - 28px);
    padding: 24px 18px 28px;
    border-radius: 30px;
  }

  .site-header,
  .site-footer {
    gap: 18px;
    font-size: 0.75rem;
  }

  .contact-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .brand-logo {
    width: 64px;
  }

  .email-link {
    width: 100%;
    max-width: 100%;
  }

  .social-links,
  .footer-links {
    flex-wrap: wrap;
  }

  .hero-section {
    margin: 54px auto 52px;
  }

  .hero-copy h1 {
    font-size: clamp(33px, 10vw, 48px);
  }

  .hero-copy p {
    margin-top: 22px;
    font-size: 0.98rem;
  }

  .hero-section > .button-row {
    width: 100%;
    gap: 10px;
  }

  .hero-portrait {
    width: min(116%, 430px);
    margin-top: 26px;
  }

  .hero-portrait img {
    min-height: 360px;
    max-height: 430px;
    object-position: 50% 100%;
  }

  .button {
    flex: 1 1 160px;
    min-height: 48px;
    padding: 0 18px;
  }

  .specialty-strip {
    margin-right: -18px;
    margin-left: -18px;
  }

  .proof-section {
    margin-bottom: 54px;
    border-radius: 24px;
  }

  .intro-section {
    margin: 74px auto 54px;
  }

  .logo-showcase,
  .process-section {
    margin-top: 70px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .title-line {
    white-space: normal;
  }

  .logo-carousel {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .logo-carousel::before,
  .logo-carousel::after {
    width: 58px;
  }

  .logo-track {
    gap: 12px;
    padding-right: 12px;
    animation-duration: 26s;
  }

  .logo-item {
    width: 176px;
    height: 104px;
    padding: 22px;
    border-radius: 22px;
  }

  .logo-item img {
    max-height: 62px;
  }

  .logo-item-wide img {
    width: 88%;
    max-height: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .services-section {
    margin-top: 58px;
  }

  .service-card {
    min-height: auto;
    padding: 26px 22px;
  }

  .service-icon {
    margin-bottom: 24px;
  }

  .final-cta {
    margin: 70px 0 34px;
    padding: 66px 22px 62px;
    border-radius: 30px;
  }
}

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