@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

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

@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter-latin-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bone: #f4f0e8;
  --bone-light: #fcfaf6;
  --carbon: #101112;
  --carbon-soft: #191b1d;
  --ink: #111214;
  --muted: #66645f;
  --line: #d6cfc4;
  --yellow: #ffd83d;
  --yellow-deep: #edbd00;
  --white: #ffffff;
  --shell: min(1440px, calc(100% - 96px));
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--carbon);
  font-weight: 700;
  background: var(--yellow);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  display: grid;
  width: var(--shell);
  min-height: 112px;
  grid-template-columns: 260px 1fr 260px;
  align-items: center;
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.82rem;
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: clamp(30px, 4vw, 68px);
  justify-content: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.96rem;
  font-weight: 600;
}

.site-nav a,
.site-footer a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--yellow);
}

.header-cta {
  justify-self: end;
}

.button {
  display: inline-flex;
  min-height: 56px;
  padding: 0 26px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.94rem;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button img,
.text-link img {
  width: 19px;
  height: 19px;
}

.button-yellow {
  color: var(--carbon);
  background: var(--yellow);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.button-yellow:hover,
.button-yellow:focus-visible {
  background: #ffe366;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: flex;
  min-height: min(850px, 100svh);
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #050607;
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.015);
  animation: hero-settle 1200ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.97) 0%, rgba(0, 0, 0, 0.82) 27%, rgba(0, 0, 0, 0.28) 57%, rgba(0, 0, 0, 0.02) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin: 28px auto 0;
}

.hero-content .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  max-width: none;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--yellow);
}

.hero h1,
.workflow h2,
.control-section h2,
.photo-proof h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 920px;
  font-size: clamp(4.4rem, 6.8vw, 7.4rem);
  line-height: 0.82;
  letter-spacing: -0.045em;
}

.hero h1 span,
.workflow h2 span,
.control-section h2 span,
.photo-proof h2 span,
.final-cta h2 span {
  color: var(--yellow);
}

.hero-content > p {
  max-width: 600px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 36px;
  align-items: center;
  margin-top: 38px;
}

.hero-actions .button {
  min-height: 72px;
  padding-inline: 36px;
  font-size: 1.08rem;
}

.text-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 13px;
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 700;
  border-bottom: 2px solid var(--yellow);
}

.text-link img {
  filter: invert(88%) sepia(78%) saturate(1319%) hue-rotate(327deg) brightness(105%);
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 0;
  display: grid;
  gap: 10px;
  justify-items: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 70px;
  background: var(--yellow);
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.workflow {
  display: grid;
  min-height: 880px;
  grid-template-columns: minmax(390px, 0.9fr) minmax(600px, 1.4fr);
  gap: clamp(40px, 5vw, 82px);
  align-items: center;
  padding-block: 110px 120px;
}

.workflow h2 {
  font-size: clamp(3rem, 4.2vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.control-section h2 {
  font-size: clamp(3rem, 4.2vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.photo-proof h2 {
  font-size: clamp(3rem, 3.9vw, 4.2rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.workflow-steps {
  position: relative;
  display: grid;
  gap: 0;
  margin: 48px 0 42px;
  padding: 0;
  list-style: none;
}

.workflow-steps::before {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 24px;
  width: 1px;
  content: "";
  background: var(--yellow-deep);
}

.workflow-steps li {
  position: relative;
  display: grid;
  min-height: 124px;
  grid-template-columns: 50px 1fr;
  gap: 26px;
  align-items: start;
}

.step-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--yellow);
  border-radius: 4px;
}

.workflow-steps h3 {
  margin: 1px 0 8px;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
}

.workflow-steps p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.text-link-dark {
  color: var(--carbon);
}

.product-stack {
  position: relative;
  min-height: 690px;
  perspective: 1200px;
}

.product-shot {
  position: absolute;
  top: 50%;
  width: clamp(240px, 27vw, 340px);
  margin: 0;
  overflow: hidden;
  background: var(--bone-light);
  border: 1px solid #cdc6bb;
  border-radius: 13px;
  box-shadow: 0 30px 70px rgba(21, 20, 18, 0.16);
}

.product-shot img {
  width: 100%;
  height: auto;
}

.product-shot-job {
  left: 0;
  transform: translateY(-48%) rotate(-3.5deg);
}

.product-shot-price {
  z-index: 2;
  left: 34%;
  transform: translateY(-54%) rotate(1.4deg);
}

.product-shot-review {
  z-index: 1;
  right: 0;
  transform: translateY(-46%) rotate(3.2deg);
}

.control-section {
  color: var(--white);
  background: var(--carbon);
}

.control-layout {
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(380px, 0.8fr) minmax(620px, 1.35fr);
  gap: clamp(50px, 7vw, 120px);
  align-items: center;
  padding-block: 90px;
}

.control-section h2 {
  max-width: 560px;
}

.control-intro {
  max-width: 520px;
  margin: 28px 0 0;
  color: #c8c7c3;
  font-size: 1.04rem;
  line-height: 1.7;
}

.control-points {
  max-width: 520px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.control-points li {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.control-points img {
  width: 23px;
  height: 23px;
  filter: invert(82%) sepia(83%) saturate(779%) hue-rotate(343deg) brightness(105%);
}

.control-points span {
  color: #eeeae3;
  font-size: 0.92rem;
}

.pricebook-demo {
  padding: 28px;
  color: var(--ink);
  background: var(--bone-light);
  border: 1px solid #bdb7ae;
  border-radius: 12px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.demo-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 20px;
}

.demo-header small {
  display: block;
  margin-bottom: 6px;
  color: #786000;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.demo-header strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.demo-add {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  font-size: 1.75rem;
  background: var(--yellow);
  border-radius: 4px;
}

.demo-filter,
.demo-service-add {
  display: flex;
  min-height: 46px;
  padding-inline: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.demo-service-add {
  margin-top: 10px;
  justify-content: center;
  font-weight: 600;
}

.demo-rows {
  display: grid;
  gap: 9px;
  margin-top: 13px;
}

.demo-row {
  display: grid;
  min-height: 54px;
  grid-template-columns: minmax(0, 1.7fr) 0.65fr 0.6fr;
  gap: 8px;
  align-items: center;
  padding: 8px;
  font-size: 0.72rem;
  background: #f2ede5;
  border: 1px solid #d7d0c5;
  border-radius: 5px;
}

.demo-row span,
.demo-row small,
.demo-row b {
  display: flex;
  min-height: 36px;
  padding-inline: 10px;
  align-items: center;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #d8d0c6;
  border-radius: 4px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-row small,
.demo-row b {
  color: #55534f;
  font-size: 0.65rem;
  font-weight: 500;
}

.photo-proof {
  display: grid;
  min-height: 540px;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(50px, 7vw, 110px);
  align-items: center;
  padding-block: 90px;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  background: #202224;
  border: 1px solid #c8c0b5;
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(31, 26, 20, 0.13);
}

.photo-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.photo-frame img {
  width: 100%;
}

.photo-copy p {
  max-width: 520px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.final-cta {
  display: grid;
  min-height: 190px;
  grid-template-columns: 1.35fr 1fr;
  background: var(--carbon);
}

.final-cta-title,
.final-cta-action {
  display: flex;
  align-items: center;
}

.final-cta-title {
  position: relative;
  padding: 38px max(48px, calc((100vw - 1440px) / 2 + 48px));
  color: var(--carbon);
  background: var(--yellow);
}

.final-cta-title::after {
  position: absolute;
  top: 0;
  right: -52px;
  width: 104px;
  height: 100%;
  content: "";
  background: var(--yellow);
  clip-path: polygon(0 0, 50% 0, 100% 100%, 0 100%);
}

.final-cta h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(3rem, 4.5vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.final-cta h2 span {
  color: var(--white);
}

.final-cta-action {
  justify-content: center;
  padding: 40px;
}

.final-cta-action .button {
  min-width: 290px;
}

.site-footer {
  display: grid;
  width: var(--shell);
  min-height: 112px;
  margin-inline: auto;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}

.brand-footer {
  padding-right: 28px;
  color: var(--carbon);
  border-right: 1px solid var(--line);
}

.brand-footer img {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 0 1px var(--carbon));
}

.site-footer p {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@keyframes hero-settle {
  from { opacity: 0.6; transform: scale(1.055); }
  to { opacity: 1; transform: scale(1.015); }
}

@media (max-width: 1180px) {
  :root {
    --shell: min(100% - 56px, 1080px);
  }

  .site-header {
    grid-template-columns: 220px 1fr 200px;
  }

  .site-nav {
    gap: 28px;
  }

  .workflow {
    grid-template-columns: minmax(300px, 0.8fr) minmax(500px, 1.2fr);
    gap: 40px;
  }

  .product-shot {
    width: 290px;
  }

  .control-layout {
    grid-template-columns: minmax(330px, 0.8fr) minmax(520px, 1.2fr);
    gap: 52px;
  }
}

@media (max-width: 900px) {
  :root {
    --shell: calc(100% - 40px);
  }

  .site-header {
    min-height: 86px;
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .brand {
    font-size: 1.25rem;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .header-cta {
    min-height: 46px;
    padding-inline: 17px;
  }

  .hero {
    min-height: 780px;
  }

  .hero-photo {
    object-position: 64% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.78) 45%, rgba(0, 0, 0, 0.18) 100%);
  }

  .hero h1 {
    max-width: 620px;
  }

  .workflow,
  .control-layout,
  .photo-proof {
    grid-template-columns: 1fr;
  }

  .workflow {
    padding-block: 90px;
  }

  .product-stack {
    min-height: 650px;
  }

  .product-shot {
    width: min(38vw, 285px);
  }

  .control-layout {
    padding-block: 90px;
  }

  .pricebook-demo {
    max-width: 760px;
  }

  .photo-proof {
    padding-block: 78px;
  }

  .photo-copy {
    order: -1;
  }

  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-cta-title {
    padding: 54px 28px;
  }

  .final-cta-title::after {
    display: none;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .site-header {
    min-height: 74px;
  }

  .brand {
    gap: 8px;
    font-size: 1.03rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .header-cta {
    min-height: 42px;
    padding-inline: 13px;
    font-size: 0.78rem;
  }

  .header-cta img {
    display: none;
  }

  .hero {
    min-height: 760px;
    align-items: flex-end;
  }

  .hero-photo {
    object-position: 68% center;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.32) 32%, rgba(0, 0, 0, 0.96) 76%, #050607 100%);
  }

  .hero-content {
    margin: 0 auto 62px;
  }

  .hero h1 {
    max-width: 360px;
    font-size: clamp(3.7rem, 18vw, 5.35rem);
    line-height: 0.84;
  }

  .hero-content > p {
    margin-top: 22px;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    gap: 17px;
    align-items: start;
    justify-items: start;
    margin-top: 26px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-scroll {
    display: none;
  }

  .workflow {
    min-height: auto;
    gap: 38px;
    padding-block: 72px 76px;
  }

  .workflow h2,
  .control-section h2,
  .photo-proof h2 {
    font-size: clamp(3.2rem, 15vw, 4.5rem);
  }

  .workflow-steps {
    margin-block: 36px 30px;
  }

  .workflow-steps li {
    min-height: 132px;
    grid-template-columns: 46px 1fr;
    gap: 18px;
  }

  .workflow-steps::before {
    left: 22px;
  }

  .step-number {
    width: 46px;
    height: 46px;
  }

  .workflow-steps h3 {
    font-size: 1.35rem;
  }

  .product-stack {
    min-height: 560px;
    margin-inline: -8px;
  }

  .product-shot {
    top: 48%;
    width: 58vw;
    max-width: 235px;
  }

  .product-shot-job {
    left: 0;
  }

  .product-shot-price {
    left: 23%;
  }

  .product-shot-review {
    right: 0;
  }

  .control-layout {
    gap: 48px;
    padding-block: 72px;
  }

  .control-intro,
  .photo-copy p {
    font-size: 0.94rem;
  }

  .control-points li {
    min-height: 62px;
    font-size: 0.82rem;
  }

  .pricebook-demo {
    margin-inline: -2px;
    padding: 16px;
    border-radius: 8px;
  }

  .demo-header strong {
    font-size: 1.45rem;
  }

  .demo-row {
    grid-template-columns: minmax(0, 1fr) 70px;
  }

  .demo-row small {
    display: none;
  }

  .photo-proof {
    min-height: auto;
    gap: 34px;
    padding-block: 68px;
  }

  .photo-frame {
    margin-inline: -14px;
    border-radius: 0;
  }

  .final-cta-title {
    padding: 46px 20px;
  }

  .final-cta h2 {
    font-size: clamp(3rem, 15vw, 4.3rem);
  }

  .final-cta-action {
    padding: 34px 20px;
  }

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

  .site-footer {
    min-height: 150px;
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding-block: 28px;
  }

  .brand-footer {
    padding-right: 16px;
  }

  .site-footer p {
    margin: 0;
  }

  .site-footer nav {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

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

  .hero-photo,
  .reveal {
    animation: none;
    transition: none;
  }

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