/* /design-as-a-service — measurements from the Framer desktop layout at 1440px.
   Inter + Playfair Display italic accents in Spikra orange (#ff3c00). */

.company-design { --das-orange: #ff3c00; background: var(--white); color: #000; }
.company-design main { font-family: var(--font-inter); }
.company-design main img:not(.ph) { object-fit: cover; }
.company-design em { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 400; color: var(--das-orange); }

.das-h2 { font-family: var(--font-inter); font-weight: 500; font-size: 56px; line-height: 65px; letter-spacing: -3px; color: #000; }

/* Section label with the small orange square */
.das-label { display: flex; align-items: center; gap: 18px; font-family: var(--font-inter); font-weight: 500; font-size: 24px; line-height: 28.8px; letter-spacing: -2px; color: #5e5e5e; }
.das-label::before { content: ""; flex: none; width: 21px; height: 21px; background: var(--das-orange); transform: rotate(12deg); }

/* ---------- Hero ---------- */
.das-hero { position: relative; min-height: 753px; padding: 100px 0 30px; overflow: hidden; }
.das-hero-dots { position: absolute; left: 80px; top: 87px; width: min(850px, 90%); height: 647px; background-image: radial-gradient(rgba(207, 207, 207, .2) .1px, transparent .9px); background-size: 8px 8px; pointer-events: none; }
.das-hero-glow { position: absolute; left: 70px; top: 307px; width: 36%; height: 332px; border-radius: 1000px; background: var(--das-orange); opacity: .04; filter: blur(100px); pointer-events: none; }
.das-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); display: flex; justify-content: space-between; align-items: flex-start; }
.das-hero-copy { width: 616px; flex: none; }
.das-badge { display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 8px; border-radius: 10px; font-size: 14px; line-height: 24px; color: #141414; }
.das-badge-new { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; background: var(--das-orange); color: var(--white); font-size: 15px; line-height: 15px; }
.das-sparkle { width: 19px; height: 16px; color: var(--das-orange); margin-left: -4px; }
.das-hero h1 { margin-top: 61px; font-family: var(--font-inter); font-weight: 600; font-size: 64px; line-height: 76.8px; letter-spacing: -3px; color: #000; }
.das-hero-lead { margin-top: 21px; max-width: 567px; font-size: 18px; line-height: 28px; color: #757575; }
.das-hero-actions { margin-top: 61px; display: flex; align-items: center; gap: 9px; }
.das-btn-glow { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 7px; min-height: 47px; padding: 10px 21px; border-radius: 16px; background: #202020; color: var(--white); font-size: 16px; line-height: 27.2px; overflow: hidden; }
.das-btn-glow::before { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; background: radial-gradient(25% 36.5% at 91% 1.3%, rgb(245, 143, 9) 0%, rgba(255, 255, 255, 0) 100%); }
.das-btn-glow::after { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: 15px; background: #0d0d0d; transition: background-color .2s ease; }
.das-btn-glow:hover::after { background: #1c1c1c; }
.das-btn-glow svg { width: 18px; height: 18px; }
.das-btn-light { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 29px; border-radius: 16px; background: var(--white); color: #383838; font-size: 16px; line-height: 24px; letter-spacing: -0.16px; box-shadow: inset 0 -1px 0 rgba(47, 43, 67, .1), 0 1px 3px rgba(47, 43, 67, .1), 0 0 0 1px rgba(47, 43, 67, .1); transition: background-color .2s ease; }
.das-btn-light:hover { background: #f6f6f6; }
.das-hero-art { width: 449px; flex: none; margin: 140px 15px 0 0; }
.das-hero-art svg { width: 100%; height: auto; }
.das-scroll { position: absolute; z-index: 1; left: calc(50% + 413px); top: 655px; display: grid; place-items: center; width: 45px; height: 45px; background: var(--das-orange); color: var(--white); transform: rotate(15deg); opacity: .85; transition: transform .25s ease; }
.das-scroll:hover { transform: rotate(0deg); }
.das-scroll svg { width: 16px; height: 16px; transform: rotate(-15deg); }

/* ---------- What we do ---------- */
.das-what { max-width: 1440px; margin-inline: auto; padding: 54px 120px 150px; }
.das-label--what { margin-left: 28px; }
.das-what .das-h2 { margin-top: 53px; max-width: 1200px; }
.das-steps { margin-top: 142px; display: flex; flex-direction: column; gap: 176px; }
.das-step { display: grid; grid-template-columns: 138px minmax(0, 875px); column-gap: 99px; align-items: start; padding-left: 19px; }
.das-num { position: relative; display: grid; place-items: center; width: 91px; height: 91px; margin-left: 23px; }
.das-num::before { content: ""; position: absolute; inset: 13.5px; background: var(--das-orange); transform: rotate(45deg); }
.das-num span { position: relative; font-family: var(--font-inter); font-weight: 300; font-size: 65px; line-height: 78px; color: var(--white); }
.das-step > div { padding-left: 50px; }
.das-step h3 { font-family: var(--font-inter); font-weight: 500; font-size: 36px; line-height: 50px; letter-spacing: -2px; color: #000; }
.das-step p { margin-top: 21px; font-size: 16px; line-height: 19.2px; letter-spacing: -0.16px; }

/* ---------- Why choose us ---------- */
.das-why { max-width: 1440px; margin-inline: auto; padding: 70px 120px 75px; display: flex; flex-direction: column; align-items: center; }
.das-label--why { align-self: flex-start; margin-left: 28px; }
.das-label--portfolio { margin-left: 6px; }
.das-label--portfolio::before { width: 24px; height: 24px; }
.das-why-head { align-self: stretch; display: flex; justify-content: space-between; align-items: flex-start; margin-top: 36px; padding-left: 52px; }
.das-why-head .das-h2 { max-width: 640px; margin-top: 66px; }
.das-why-art { width: 398px; flex: none; margin-right: -13px; }
.das-why-art img { aspect-ratio: 398 / 335; }
.das-cards { align-self: stretch; display: grid; grid-template-columns: repeat(3, minmax(0, 394px)); justify-content: center; gap: 9px; margin-top: 94px; }
.das-card { display: flex; flex-direction: column; align-items: center; min-height: 478px; padding: 62px 40px 27px; border: 1px solid var(--das-orange); border-radius: 16px; background: var(--white); text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.das-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(255, 60, 0, .08); }
.das-card img { width: 253px; aspect-ratio: 253 / 235; }
.das-card h3 { margin-top: 63px; font-family: var(--font-inter); font-weight: 600; font-size: 22px; line-height: 26.4px; color: #000; }
.das-card p { margin-top: 19px; max-width: 280px; font-size: 16px; line-height: 22px; letter-spacing: -0.5px; }
.das-btn-dark { display: inline-flex; align-items: center; gap: 12px; min-height: 47px; padding: 10px 18px; border-radius: 16px; background: #000; color: var(--white); font-size: 16px; line-height: 27.2px; letter-spacing: -1px; transition: background-color .2s ease; }
.das-btn-dark:hover { background: #262626; }
.das-btn-dark svg { width: 16px; height: 16px; flex: none; }
.das-btn-dark--lg { margin-top: 73px; min-height: 56px; padding: 16px; font-weight: 500; line-height: 24px; letter-spacing: -0.16px; }
.das-btn-dark--lg svg { width: 17px; height: 17px; }

/* ---------- Portfolio ---------- */
.das-portfolio { max-width: 1440px; margin-inline: auto; padding: 58px 120px 110px; scroll-margin-top: 60px; }
.das-portfolio .das-h2--serif { margin-top: 66px; font-family: "Playfair Display", Georgia, serif; }
.das-h2--serif span { font-family: var(--font-inter); font-weight: 500; }
.das-h2--serif em { letter-spacing: -3px; }
.das-portfolio-sub { margin-top: 18px; max-width: 1250px; }
.das-projects { margin-top: 91px; display: grid; grid-template-columns: repeat(2, minmax(0, 573px)); justify-content: center; gap: 25px; }
.das-project { position: relative; min-height: 404px; padding: 38px 15px 10px; border: 1px solid var(--das-orange); border-radius: 16px; background: var(--white); display: block; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
.das-project:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(255, 60, 0, .1); }
.das-project-logo { width: 132px; }
.das-project-logo img { aspect-ratio: 132 / 62; }
.das-project-shot { width: 296px; margin: 11px auto 0; }
.das-project-shot img { aspect-ratio: 296 / 273; }

/* ---------- CTA ---------- */
.das-cta { position: relative; overflow: hidden; padding: 60px var(--gutter) 100px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.das-cta-dots { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: min(1080px, 100%); height: 797px; background-image: radial-gradient(rgba(207, 207, 207, .2) .1px, transparent .9px); background-size: 8px 8px; pointer-events: none; }
.das-cta-glow { position: absolute; left: 50%; top: 137px; transform: translateX(-50%); width: min(778px, 90%); height: 499px; border-radius: 1000px; background: var(--das-orange); opacity: .06; filter: blur(100px); pointer-events: none; }
.das-cta-art { position: relative; width: 360px; }
.das-cta-art img { aspect-ratio: 1; }
.das-cta-title { position: relative; margin-top: 46px; max-width: 1060px; font-family: var(--font-inter); font-weight: 500; font-size: 56px; line-height: 66px; letter-spacing: -3px; color: #000; }
.das-cta-title em { display: block; }
.das-cta .das-btn-dark { position: relative; margin-top: 46px; }

/* ---------- Tablet + phone (Framer 810–1199, measured at 900) ---------- */
@media (max-width: 1199px) {
  .das-hero { min-height: 677px; padding: 88px 0 0; }
  .das-hero-inner { padding-inline: 49px; }
  .das-hero-copy { width: auto; max-width: 484px; flex: 1 1 auto; }
  .das-hero h1 { font-size: 42px; line-height: 50.4px; letter-spacing: -2px; }
  .das-hero-lead { margin-top: 20px; max-width: 380px; font-size: 16px; line-height: 22px; font-weight: 400; }
  .das-btn-glow, .das-btn-light, .das-cta .das-btn-dark { font-weight: 400; }
  .das-hero-art { width: 300px; margin: 148px 18px 0 28px; }
  .das-scroll { left: calc(50% + 232px); top: 540px; transform: rotate(45deg); }
  .das-scroll svg { transform: rotate(-45deg); }
  .das-label::before { transform: rotate(45deg); }
  .das-label { font-size: 24px; line-height: 28.8px; }
  .das-h2, .das-cta-title { font-size: 42px; line-height: 50px; letter-spacing: -2px; }
  .das-step p, .das-card p { font-weight: 400; }
  .company-design .das-hero h1 em, .company-design .das-h2 em, .das-portfolio .das-h2--serif span { letter-spacing: -3px; }

  .das-what { padding: 54px 50px 83px; }
  .das-label--what { margin-left: 16px; }
  .das-what .das-h2 { max-width: 720px; font-size: 41px; }
  .das-steps { margin-top: 135px; gap: 226px; }
  .das-step { grid-template-columns: 168px minmax(0, 1fr); column-gap: 147px; padding-left: 0; }
  .das-num { margin: 4px 0 0 38px; }
  .das-num::before { transform: rotate(-8deg); }
  .das-step > div { padding-left: 0; }
  .das-step h3 { font-size: 28px; line-height: 35px; }
  .das-step:nth-child(2) h3 { line-height: 50px; }
  .das-step p { margin-top: 16px; font-size: 14px; line-height: 16.8px; letter-spacing: -0.14px; }

  .das-why { padding: 56px 50px 55px; }
  .das-label--why { margin-left: 26px; }
  .das-why-head { margin-top: 47px; padding-left: 0; }
  .das-why-head .das-h2 { max-width: 456px; margin-top: 29px; }
  .das-why-art { width: 251px; margin-right: 41px; }
  .das-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 6px; row-gap: 8px; margin-top: 82px; }
  .das-btn-dark--lg { margin-top: 71px; }

  .das-portfolio { padding: 60px 50px 59px; }
  .das-label--portfolio { margin-left: 2px; }
  .das-portfolio .das-h2--serif { margin-top: 68px; line-height: 65px; }
  .das-portfolio-sub { margin-top: 19px; max-width: 720px; }
  .das-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 61px; }
  .das-project { min-height: 456px; padding-top: 64px; }
  .das-project-shot { margin-top: 10px; }

  .das-cta { padding: 50px 49px 50px; }
  .das-cta-title { margin-top: 50px; max-width: 700px; line-height: 55px; }
  .das-cta .das-btn-dark { margin-top: 50px; }
}

/* ---------- Phone (Framer <810, measured at 390) ---------- */
@media (max-width: 809px) {
  .das-hero { min-height: 0; padding: 88px 0 33px; }
  .das-hero-inner { flex-direction: column; padding-inline: 30px; }
  .das-hero-copy { width: 100%; max-width: none; }
  .das-hero h1 { font-size: 32px; line-height: 38.4px; }
  .das-hero-lead { margin-top: 32px; max-width: none; font-size: 14px; line-height: 20px; }
  .das-hero-actions { flex-wrap: wrap; gap: 10px; }
  .das-hero-art { width: 310px; max-width: 100%; margin: 73px auto 0; }
  .das-scroll { display: none; }
  .das-label { font-size: 18px; line-height: 21.6px; }
  .das-h2, .das-cta-title { font-size: 28px; line-height: 35px; }
  .company-design .das-hero h1 em, .company-design .das-h2 em, .das-portfolio .das-h2--serif span { letter-spacing: -2px; }

  .das-what { padding: 88px 30px 102px; }
  .das-label--what, .das-label--why { margin-left: 8px; }
  .das-what .das-h2 { margin-top: 57px; max-width: none; font-size: 28px; }
  .das-steps { margin-top: 77px; gap: 157px; }
  .das-step { grid-template-columns: 89px minmax(0, 1fr); column-gap: 11px; }
  .das-num { width: 43px; height: 43px; margin: 42px 0 0 15px; }
  .das-num::before { inset: 1.5px; transform: rotate(-5deg); }
  .das-num span { font-size: 40px; line-height: 48px; }
  .das-step h3 { font-size: 18px; line-height: 25px; letter-spacing: -1px; }
  .das-step:nth-child(2) h3 { line-height: 30px; }
  .das-step p { margin-top: 14px; font-size: 12px; line-height: 14.4px; letter-spacing: -0.12px; }
  .das-step:nth-child(2) p { margin-top: 10px; }

  .das-why { padding: 40px 30px 34px; }
  .das-why-head { flex-direction: column-reverse; align-items: center; margin-top: 54px; }
  .das-why-head .das-h2 { align-self: flex-start; width: calc(100% + 6px); max-width: none; margin-top: 34px; line-height: 40px; }
  .das-why-art { width: 236px; margin-right: 0; }
  .das-cards { grid-template-columns: minmax(0, 1fr); row-gap: 10px; margin-top: 72px; }
  .das-card { min-height: 478px; padding: 62px 16px 27px; }
  .das-card h3 { margin-top: 63px; }
  .das-card p { margin-top: 18px; }
  .das-btn-dark--lg { margin-top: 72px; }

  .das-portfolio { padding: 40px 30px 39px; }
  .das-label--portfolio { margin-left: 3px; font-size: 24px; line-height: 28.8px; }
  .das-portfolio .das-h2--serif { max-width: 230px; }
  .das-portfolio-sub { margin-top: 0; }
  .das-projects { grid-template-columns: minmax(0, 1fr); margin-top: 63px; }
  .das-project { min-height: 404px; padding: 37px 13px 10px; }
  .das-project-shot { width: 296px; max-width: 100%; margin-top: 11px; }

  .das-cta { padding: 75px 30px 75px; }
  .das-cta-art { width: 276px; }
  .das-cta-title { margin-top: 52px; line-height: 40px; }
  .das-cta .das-btn-dark { margin-top: 52px; }
}
