:root {
  color-scheme: dark;
  --bg: #050607;
  --text: #f6f7f3;
  --muted: #aeb4af;
  --soft: rgba(246, 247, 243, 0.72);
  --line: rgba(255, 255, 255, 0.14);
  --accent: #ff6826;
  --accent-2: #78e3b8;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px) 0 0 / 84px 84px,
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px) 0 0 / 84px 84px,
    radial-gradient(circle at 76% 20%, rgba(255, 104, 38, 0.2), transparent 34rem),
    radial-gradient(circle at 22% 82%, rgba(120, 227, 184, 0.08), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

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

.page-shell {
  min-height: 100svh;
  max-width: 100%;
  overflow-x: clip;
}

.hero,
.services {
  position: relative;
  width: 100%;
}

.hero {
  min-height: auto;
  display: grid;
  align-items: start;
  padding: clamp(58px, 7vh, 92px) 20px clamp(18px, 2.5vw, 34px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background:
    linear-gradient(115deg, transparent 0%, transparent 46%, rgba(255, 255, 255, 0.13) 49%, transparent 52%, transparent 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.62));
  background-size: 120% 120%, 100% 100%;
  animation: scan-pan 8s ease-in-out infinite;
}

.hero-inner,
.services-inner {
  position: relative;
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.hero-inner {
  z-index: 2;
  max-width: 1060px;
  margin-left: max(20px, calc((100% - var(--max-width)) / 2));
}

.hero-logo-link {
  display: inline-block;
  width: fit-content;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(12px);
  animation: logo-mark-in 620ms ease 40ms forwards;
}

.hero-logo-link img {
  width: clamp(130px, 13vw, 210px);
  height: auto;
  opacity: 0.62;
  filter:
    grayscale(1)
    drop-shadow(0 12px 24px rgba(0, 0, 0, 0.62));
  transition:
    opacity 180ms ease,
    filter 180ms ease,
    transform 180ms ease;
}

.hero-logo-link:hover img {
  opacity: 0.9;
  filter:
    grayscale(0.6)
    drop-shadow(0 14px 28px rgba(0, 0, 0, 0.7));
  transform: translateY(-1px);
}

.hero-logo-watermark {
  position: absolute;
  z-index: 1;
  top: clamp(120px, 16vh, 210px);
  right: min(-7vw, -34px);
  width: clamp(640px, 54vw, 1040px);
  opacity: 0.075;
  pointer-events: none;
  transform: rotate(-2deg);
  filter: blur(0.2px) drop-shadow(0 34px 80px rgba(0, 0, 0, 0.8));
  animation: watermark-drift 9s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 72%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 72%, transparent 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-2);
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  position: relative;
  max-width: 1010px;
  margin-bottom: 24px;
  font-size: clamp(52px, 7.3vw, 104px);
  line-height: 0.92;
  font-weight: 950;
  overflow-wrap: break-word;
}

h1 span {
  display: block;
  width: fit-content;
  max-width: 100%;
  animation: headline-type 680ms steps(14, end) both;
  will-change: clip-path;
}

h1 span:nth-child(2) {
  animation-delay: 520ms;
}

h1 span:nth-child(3) {
  animation-delay: 1040ms;
}

h1 span:nth-child(4) {
  position: relative;
  padding-right: 0.14em;
  animation-delay: 1360ms;
}

h1 span:last-child::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.07em;
  display: block;
  width: 0.07em;
  height: 0.82em;
  background: var(--accent-2);
  box-shadow: 0 0 22px rgba(120, 227, 184, 0.48);
  opacity: 0;
  animation: caret-blink 820ms steps(1, end) infinite;
  animation-delay: 1780ms;
}

.hero-text {
  max-width: 780px;
  margin-bottom: 30px;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.36;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 34px;
  color: rgba(246, 247, 243, 0.84);
  font-size: 14px;
}

.trust-line span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  min-width: min(100%, 258px);
  gap: 12px;
  padding: 0 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 16px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  transform: translateX(-102%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transition: transform 520ms ease;
}

.cta:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.44);
}

.cta:hover::before {
  transform: translateX(102%);
}

.cta svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
  fill: none;
}

.cta-primary {
  background: var(--accent);
  color: #090909;
  border-color: var(--accent);
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.cta-mark {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
}

.profile-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  width: fit-content;
  margin-top: 12px;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 15px;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.profile-link:hover {
  color: var(--text);
  border-color: var(--accent-2);
}

.microcopy {
  max-width: 650px;
  margin: 16px 0 0;
  color: rgba(246, 247, 243, 0.66);
  font-size: 14px;
  line-height: 1.55;
}

.services {
  min-height: 100svh;
  padding: clamp(28px, 4vw, 52px) 20px clamp(76px, 8vw, 112px);
}

.section-copy {
  max-width: 900px;
  margin-bottom: clamp(42px, 7vw, 76px);
}

.section-copy h2 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6.5vw, 90px);
  line-height: 0.95;
  font-weight: 950;
}

.section-copy p:last-child {
  max-width: 800px;
  margin-bottom: 0;
  color: var(--soft);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.45;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 70px);
  align-items: start;
  padding: clamp(24px, 4vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.service-item:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateX(6px);
}

.service-index {
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.service-item h3 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.05;
}

.service-item p {
  max-width: 790px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.5;
}

.bottom-cta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding-top: clamp(34px, 5vw, 54px);
}

.bottom-cta p {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 950;
}

.bottom-cta > div > span {
  color: var(--muted);
  font-size: 15px;
}

.bottom-cta .cta {
  color: #fff;
}

.bottom-cta .cta-primary {
  color: #fff;
}

.bottom-cta .cta-mark {
  border-color: rgba(255, 255, 255, 0.82);
}

.compact .cta {
  min-width: 160px;
}

.reveal {
  animation: rise-in 640ms ease both;
}

.service-item:nth-child(2) {
  animation-delay: 70ms;
}

.service-item:nth-child(3) {
  animation-delay: 140ms;
}

.service-item:nth-child(4) {
  animation-delay: 210ms;
}

@keyframes rise-in {
  from {
    transform: translateY(22px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes logo-mark-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes headline-type {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes caret-blink {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}

@keyframes scan-pan {
  0%,
  100% {
    background-position: -14% 0, 0 0;
  }
  50% {
    background-position: 14% 0, 0 0;
  }
}

@keyframes watermark-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
  50% {
    transform: translate3d(-16px, 8px, 0) rotate(-1.2deg);
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-inner {
    width: min(var(--max-width), calc(100% - 28px));
    margin: 0 auto;
  }

  .hero-logo-link img {
    width: clamp(124px, 24vw, 178px);
  }

  .hero-logo-watermark {
    top: 112px;
    right: -210px;
    width: 720px;
    opacity: 0.055;
  }

  .bottom-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  body {
    background-size: 62px 62px, 62px 62px, auto, auto, auto;
  }

  .hero,
  .services {
    padding-inline: 14px;
  }

  .hero {
    padding-top: 36px;
    padding-bottom: 24px;
  }

  .hero-logo-link {
    margin-bottom: 7px;
  }

  .hero-logo-link img {
    width: clamp(126px, 42vw, 176px);
  }

  .hero-logo-watermark {
    top: 118px;
    right: -310px;
    width: 650px;
    opacity: 0.05;
  }

  h1 {
    font-size: clamp(35px, 10vw, 46px);
    line-height: 1;
  }

  .hero-text {
    font-size: 18px;
  }

  .trust-line {
    gap: 8px 12px;
  }

  .cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .cta {
    width: 100%;
    min-width: 0;
  }

  .profile-link {
    justify-content: center;
    width: 100%;
    margin-top: 10px;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-copy h2 {
    font-size: clamp(38px, 11vw, 50px);
  }
}

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

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

  .hero-logo-link,
  .hero-logo-watermark,
  h1 span,
  h1 span:last-child::after {
    animation: none !important;
  }

  .hero-logo-link {
    opacity: 1;
    transform: none;
  }

  h1 span {
    clip-path: none;
  }

  h1 span:last-child::after {
    display: none;
  }
}
