/*
Theme Name: Noca Media
Description: Editable, performance-focused recreation of the Noca Media Framer landing page.
Version: 1.0.0
Text Domain: nocamedia
*/

@font-face {
  font-family: "Figtree";
  src: local("Figtree"), url("assets/figtree.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #000;
  --paper: #fff;
  --blue: #136bc2;
  --purple: #6d54e8;
  --lavender: #a89af7;
  --line: rgba(0, 0, 0, .16);
  --radius: 22px;
  --page: min(1240px, calc(100% - 110px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis.lenis-smooth { scroll-behavior: auto; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.5 "Figtree", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.wrap { width: var(--page); margin-inline: auto; }

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  padding: 25px 0;
  color: #fff;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 10px 30px; border-radius: 999px; background: rgba(25,25,25,.55); backdrop-filter: blur(12px); }
.brand { width: 132px; }
.brand img { object-fit: contain; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: 50px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #ffdc5e; outline-offset: 3px; }
.button--dark { background: var(--ink); color: #fff; }
.button--blue { width: 100%; background: var(--blue); color: #fff; }

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 800px;
  overflow: hidden;
  color: #fff;
  background: #333;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.76), rgba(0,0,0,.32)); }
.hero__media { position: absolute; inset: 0; }
.hero__content { position: relative; z-index: 1; padding-top: max(222px, calc(50svh - 178px)); }
.hero h1 { max-width: 620px; margin: 0 0 25px; font-size: clamp(58px, 5.56vw, 80px); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.hero p { max-width: 620px; margin: 0 0 36px; color: #d6d6d6; font-size: 18px; line-height: 1.7; }
.hero .button { background: var(--blue); color: #fff; }
.hero .button { width: 213.36px; font-family: sans-serif; }
.site-header .button { border-color: rgba(255,255,255,.75); background: transparent; color: #fff; }
.site-header .button { width: 143.36px; font-family: sans-serif; }

@keyframes hero-content-parallax {
  from { transform: translateY(0); }
  to { transform: translateY(60svh); }
}

@supports (animation-timeline: scroll()) {
  .hero__content {
    animation: hero-content-parallax 1ms linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 100svh;
  }
}

.section { padding: 125px 0; }
.services { height: 881px; padding-top: 225px; overflow: hidden; }
.services .eyebrow { font-size: 20px; line-height: 1.3; }
.services .section-title { max-width: 500px; }
.eyebrow { display: flex; align-items: center; gap: 20px; margin: 0 0 20px; font-size: 15px; }
.eyebrow::before { content: ""; width: 50px; height: 1px; flex: 0 0 50px; background: var(--blue); }
.section-title { max-width: 560px; margin: 0; font-size: clamp(42px, 3.48vw, 50px); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; }
.intro-grid { display: grid; grid-template-columns: 610px 550px; gap: 80px; align-items: center; margin-bottom: 25px; }
.intro-grid p { max-width: 550px; margin: 0; font-size: 18px; line-height: 1.7; }

.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-card { position: relative; height: 325px; overflow: hidden; border-radius: var(--radius); color: #fff; outline: 0; }
.service-card::before, .service-card::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.service-card::before { background: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,.7) 100%); }
.service-card::after { background: linear-gradient(rgba(0,0,0,.5) 0%, rgba(0,0,0,.8) 100%); opacity: 0; transition: opacity .4s ease; }
.service-card__heading { position: absolute; z-index: 2; right: 40px; bottom: 40px; left: 40px; display: flex; height: 40px; align-items: center; gap: 10px; transition: bottom .4s cubic-bezier(.44,0,.56,1); }
.service-card h3 { flex: 1; margin: 0; font-size: 22px; font-weight: 500; line-height: 1.5; }
.service-card__arrow { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.2); font-size: 22px; line-height: 1; }
.service-card__description { position: absolute; z-index: 2; right: 40px; bottom: 40px; left: 40px; margin: 0; color: #d6d6d6; font-size: 16px; line-height: 1.7; opacity: 0; transform: perspective(1200px) translateY(12px); transition: opacity .4s ease, transform .4s cubic-bezier(.44,0,.56,1); }
.service-card:hover::after, .service-card:focus-visible::after { opacity: 1; }
.service-card:hover .service-card__heading, .service-card:focus-visible .service-card__heading { bottom: 114px; }
.service-card:hover .service-card__description, .service-card:focus-visible .service-card__description { opacity: 1; transform: perspective(1200px) translateY(0); }
.custom-services { height: 248px; display: grid; align-items: center; background: var(--blue); color: #fff; overflow: hidden; }
.custom-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.custom-cta h3 { margin: 0; font-size: 40px; font-weight: 500; line-height: 1.2; }
.custom-cta .button { width: 282px; border-color: rgba(255,255,255,.7); background: transparent; color: #fff; font-family: sans-serif; }

.story { height: 900px; padding: 50px 0; overflow: hidden; }
.story-grid { display: grid; grid-template-columns: 570px 570px; gap: 100px; align-items: center; }
.story-visual { position: relative; min-height: 600px; overflow: hidden; border-radius: var(--radius); background: #eee; }
.metric { position: absolute; z-index: 1; left: 38px; right: 38px; bottom: 38px; display: flex; justify-content: space-between; align-items: end; padding: 25px 28px; border-radius: 14px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); }
.metric span { max-width: 160px; }
.metric strong { font-size: 46px; font-weight: 500; line-height: 1; }
.story-copy .section-title { margin-bottom: 40px; }
.story-copy > p { margin: 0 0 48px; font-size: 18px; }
.checks { display: grid; gap: 18px; }
.check { display: flex; gap: 14px; align-items: center; }
.check::before { content: "✓"; display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; background: var(--lavender); }

.process { height: 905px; padding: 120px 0; overflow: hidden; background: var(--blue); color: #fff; }
.process-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 110px; }
.process-intro p { max-width: 380px; margin: 38px 0; color: rgba(255,255,255,.75); font-size: 18px; }
.steps { display: grid; grid-template-columns: 1fr 1fr; }
.step { min-height: 310px; padding: 0 42px 40px 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.step:nth-child(even) { padding-left: 42px; border-left: 1px solid rgba(255,255,255,.28); }
.step:nth-child(n+3) { padding-top: 40px; border-bottom: 0; }
.step__number { display: block; margin-bottom: 35px; font-size: 50px; line-height: 1.1; }
.step h3 { margin: 0 0 18px; font-size: 22px; font-weight: 500; }
.step p { margin: 0; color: rgba(255,255,255,.7); }

.testimonials { height: 936px; overflow: hidden; background: #f2f2f2; }
.testimonials .eyebrow { font-size: 20px; line-height: 1.3; }
.testimonials .section-title { max-width: 500px; }
.testimonials-head { display: grid; grid-template-columns: 610px 550px; gap: 80px; margin-bottom: 25px; }
.testimonials-head p { max-width: 550px; margin: 0; font-size: 18px; line-height: 1.7; }
.testimonial-viewport { width: var(--page); height: 380px; margin-inline: auto; padding: 10px; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%); }
.testimonial-track { display: flex; gap: 20px; width: max-content; animation: marquee 144s linear infinite; animation-play-state: paused; }
.testimonial-viewport.is-visible .testimonial-track { animation-play-state: running; }
.testimonial { display: flex; width: 340px; height: 322px; flex: 0 0 340px; flex-direction: column; gap: 20px; padding: 40px; overflow: hidden; border-radius: 10px; background: #fff; }
.testimonial__stars { height: 15px; color: #ffc45c; font-size: 15px; line-height: 15px; letter-spacing: 0; white-space: nowrap; }
.testimonial blockquote { margin: 0; color: #333; font-size: 16px; line-height: 1.7; letter-spacing: -.01em; }
.person { display: flex; align-items: center; gap: 14px; }
.testimonial .person { margin-top: auto; }
.person img { width: 50px; height: 50px; border: 2px solid #1688ed; border-radius: 50%; }
.person strong, .person span { display: block; }
.person strong { font-size: 16px; font-weight: 500; line-height: 1.6; }
.person span { color: #a1a1a1; font-size: 14px; line-height: 1.8; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }

.contact { height: 1042px; overflow: hidden; text-align: center; background: #fff; }
.contact .section-title { margin-inline: auto; }
.contact__intro { max-width: 600px; margin: 28px auto 25px; font-size: 18px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 16px; max-width: 670px; margin: auto; padding: 60px; border-radius: 10px; background: #f2f2f2; text-align: left; }
.contact-form label { display: block; }
.contact-form label > span:not(.screen-reader-text) { display: block; margin-bottom: 10px; color: #777; font-size: 14px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form select { width: 100%; min-height: 50px; padding: 12px; border: 0; border-radius: 10px; background: #fff; color: #111; }
.contact-form input::placeholder { color: #999; opacity: 1; }
.contact-form select { color: #666; }
.contact-form .button { min-height: 41px; padding-block: 0; border-radius: 10px; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 12px; border-radius: 8px; background: #e7f6e7; }
.honeypot { position: absolute !important; left: -10000px !important; }

.site-footer { height: 315px; padding: 100px 0; overflow: hidden; background: var(--blue); color: #fff; }
.site-footer__inner { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-top: 61px; }
.site-footer__inner::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: rgba(255,255,255,.2); }
.site-footer .brand { display: block; width: 164px; height: 30px; }
.site-footer .brand img { object-fit: contain; }
.site-footer p { width: 300px; max-width: 300px; margin: 0; color: #d6d6d6; font-size: 16px; line-height: 1.7; }

.reveal { opacity: 0; transform: translateY(75px); transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1); will-change: opacity, transform; }
.reveal--fade { transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal.is-visible { opacity: 1; transform: none; will-change: auto; }

@media (max-width: 1100px) and (min-width: 901px) {
  :root { --page: calc(100% - 110px); }
  .hero { height: 800px; }
  .hero__content { padding-top: 328px; }
  .hero h1 { max-width: 500px; font-size: 60px; }
  .hero p { max-width: 500px; font-size: 16px; }
  .section { padding-block: 105px; }
  .services { height: 658px; padding-block: 75px; }
  .services .intro-grid { grid-template-columns: 1fr 1fr; gap: 45px; margin-bottom: 25px; }
  .service-card { height: 290px; }
  .custom-services { height: 196px; }
  .story { height: 700px; padding-block: 50px; }
  .story-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
  .story-visual { min-height: 550px; }
  .process { height: 1036px; }
  .testimonials { height: 788px; }
  .testimonials-head { grid-template-columns: 1fr 1fr; gap: 45px; }
  .contact { height: 876px; }
  .site-footer { height: 253px; padding-block: 75px; }
  .site-footer__inner { padding-top: 51px; }
}

@media (max-width: 900px) {
  :root { --page: min(400px, calc(100% - 40px)); }
  .site-header__inner { padding: 10px 15px 10px 30px; border-radius: 999px; background: rgba(15,15,15,.62); backdrop-filter: blur(12px); }
  .hero { height: 800px; }
  .hero__content { padding-top: 349px; text-align: center; }
  .hero h1 { max-width: 400px; margin-inline: auto; font-size: 45px; }
  .hero p { max-width: 400px; margin-inline: auto; font-size: 15px; }
  .section-title { font-size: 32px; line-height: 1.1; }
  .intro-grid, .story-grid, .process-grid, .testimonials-head { grid-template-columns: 1fr; gap: 40px; }
  .services { height: 928px; padding-block: 150px 0; }
  .services .intro-grid { gap: 20px; margin-bottom: 25px; }
  .services .intro-grid p { font-size: 15px; line-height: 1.7; }
  .service-card { height: 250px; }
  .custom-services { height: 207px; }
  .story { height: 1074px; padding-block: 75px; }
  .story-grid { gap: 100px; }
  .story-visual { min-height: 500px; }
  .process-grid { gap: 70px; }
  .process { height: 1510px; padding-block: 75px; }
  .testimonials { height: 732px; padding-block: 75px; }
  .testimonials-head { gap: 20px; margin-bottom: 25px; }
  .testimonials-head p { font-size: 15px; line-height: 1.7; }
  .testimonials .eyebrow { font-size: 16px; }
  .contact { height: 801px; padding-block: 75px; }
  .site-footer { height: 302px; padding: 75px 30px; }
  .site-footer__inner { width: 100%; padding-top: 51px; }
}

@media (max-width: 640px) {
  :root { --page: calc(100% - 40px); --radius: 18px; }
  .site-header { padding-top: 18px; }
  .brand { width: 132px; }
  .button { min-height: 46px; padding: 15px 30px; }
  .hero { height: 800px; }
  .hero::after { background: linear-gradient(0deg, rgba(0,0,0,.76), rgba(0,0,0,.55)); }
  .hero__content { padding-top: 348px; }
  .hero h1 { font-size: 45px; }
  .hero p { font-size: 15px; line-height: 1.7; }
  .section { padding: 75px 0; }
  .services { padding: 75px 0; }
  .services .eyebrow { font-size: 16px; }
  .eyebrow { margin-bottom: 20px; }
  .section-title { font-size: 32px; }
  .intro-grid { margin-bottom: 25px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { height: 250px; min-height: 0; }
  .service-card h3 { left: 25px; bottom: 24px; }
  .service-card__arrow { right: 20px; bottom: 20px; }
  .custom-cta { align-items: flex-start; flex-direction: column; }
  .custom-cta h3 { font-size: 31px; }
  .story-visual { min-height: 500px; }
  .metric { left: 20px; right: 20px; bottom: 20px; }
  .metric strong { font-size: 38px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(even), .step:nth-child(n+3) { min-height: auto; padding: 35px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.28); }
  .step:last-child { border-bottom: 0; }
  .step__number { margin-bottom: 25px; font-size: 42px; }
  .testimonial { width: 340px; height: 313px; flex-basis: 340px; }
  .contact-form { grid-template-columns: 1fr; row-gap: 16.5px; padding: 24px; }
  .contact-form .full { grid-column: auto; }
  .site-footer__inner { align-items: center; flex-direction: column; gap: 20px; }
  .site-footer p { text-align: center; }
}

@media (max-width: 400px) {
  .services { height: 928px; }
  .custom-services { height: 207px; }
  .story { height: 1136px; }
  .process { height: 1510px; }
  .testimonials { height: 793px; }
  .contact { height: 826px; }
  .site-footer { height: 303px; }
}

@media (max-width: 370px) {
  .hero__content { padding-top: 327px; }
  .services { height: 953px; }
  .custom-services { height: 238px; }
  .story { height: 1161px; }
  .process { height: 1536px; }
  .testimonials { height: 818px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__content { animation: none !important; transform: none !important; }
  .testimonial-track { animation: none !important; }
}
