/*
Theme Name: Naycel
Theme URI: https://www.naycel.com/
Author: Naycel
Description: A custom marketing theme for Naycel's critical carbon materials website.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: naycel
*/

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/Poppins-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  src: url("assets/fonts/Poppins-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  src: url("assets/fonts/Poppins-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  src: url("assets/fonts/Poppins-Bold.ttf") format("truetype");
}

:root {
  --black: #050505;
  --black-2: #0d0d11;
  --charcoal: #18171d;
  --paper: #ffffff;
  --paper-2: #ececf0;
  --white: #ffffff;
  --purple: #6d3fea;
  --purple-2: #9b7af3;
  --purple-3: #c8b7ff;
  --slate: #6f7480;
  --line: rgba(5, 5, 5, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --shadow: 0 28px 90px rgba(5, 5, 5, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 76px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(5, 5, 5, 0.16);
  box-shadow: 0 12px 38px rgba(5, 5, 5, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  height: 46px;
}

.brand img {
  display: block;
  width: clamp(132px, 15vw, 190px);
  height: auto;
}

nav {
  display: flex;
  gap: 26px;
  justify-content: center;
  color: rgba(5, 5, 5, 0.66);
  font-size: 0.92rem;
  font-weight: 600;
}

nav a:hover,
.nav-cta:hover,
nav a.is-active {
  color: var(--black);
}

nav a {
  position: relative;
  transition: color 160ms ease;
}

nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  content: "";
  background: var(--purple);
  opacity: 0;
  transform: scaleX(0.45);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

nav a.is-active::after,
nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(5, 5, 5, 0.18);
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: calc(100vh - 75px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: end;
  padding: clamp(46px, 7vw, 92px) clamp(20px, 4vw, 56px) clamp(30px, 4vw, 54px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg::before {
  position: absolute;
  right: -20%;
  top: 2%;
  width: 70%;
  height: 90%;
  content: "";
  background: radial-gradient(circle, rgba(109, 63, 234, 0.16), transparent 62%);
}

.hero-bg img {
  position: absolute;
  right: -10vw;
  bottom: -10vh;
  width: min(820px, 60vw);
  opacity: 0.07;
  transform: rotate(-2deg);
  transition: transform 120ms linear;
}

.hero-copy,
.hero-statement {
  position: relative;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-pretitle {
  max-width: 700px;
  margin-bottom: 18px;
  color: rgba(5, 5, 5, 0.72);
  font-size: clamp(1.15rem, 2vw, 1.58rem);
  font-weight: 600;
}

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

h1 {
  max-width: 1120px;
  margin-bottom: 22px;
  font-size: clamp(4rem, 10.5vw, 10.4rem);
  line-height: 0.86;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(5, 5, 5, 0.68);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
.contact-form button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 7px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background-position 220ms ease;
}

.button.primary,
.contact-form button {
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-3), var(--purple-2) 34%, var(--purple), #5225d6);
  background-size: 150% 150%;
  border: 1px solid rgba(109, 63, 234, 0.44);
}

.button.ghost {
  color: var(--black);
  background: var(--white);
  border: 1px solid rgba(5, 5, 5, 0.16);
}

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

.button.primary:hover,
.contact-form button:hover {
  background-position: 100% 50%;
  box-shadow: 0 16px 34px rgba(109, 63, 234, 0.24);
}

.button.ghost:hover {
  border-color: rgba(109, 63, 234, 0.42);
  box-shadow: 0 12px 28px rgba(5, 5, 5, 0.08);
}

.hero-statement {
  display: grid;
  gap: 16px;
  margin-bottom: 10px;
  padding-left: clamp(20px, 3vw, 42px);
  border-left: 2px solid rgba(109, 63, 234, 0.42);
}

.hero-statement p {
  margin: 0;
  color: rgba(5, 5, 5, 0.72);
  font-size: clamp(1.12rem, 2vw, 1.48rem);
  font-weight: 600;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.signal-strip div {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 24px clamp(20px, 3vw, 36px);
  border-right: 1px solid var(--line);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip strong {
  font-size: 1.16rem;
}

.signal-strip span {
  color: rgba(5, 5, 5, 0.6);
}

.section,
.deployment,
.partners,
.contact {
  padding: clamp(78px, 10vw, 132px) clamp(20px, 4vw, 56px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 92px);
  background: var(--paper);
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5.2vw, 5.3rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0;
}

.intro-copy {
  color: rgba(5, 5, 5, 0.68);
  font-size: 1.08rem;
}

.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--black-2);
  color: var(--white);
}

.process article {
  min-height: 300px;
  padding: clamp(30px, 4vw, 50px);
  border-right: 1px solid var(--line-dark);
  background:
    linear-gradient(130deg, rgba(109, 63, 234, 0.18), transparent 34%),
    transparent;
}

.process article:nth-child(2) {
  background: transparent;
}

.process article:last-child {
  border-right: 0;
}

.process span {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--purple-3);
  font-weight: 700;
}

.process h3,
.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.42rem;
}

.process p {
  max-width: 380px;
  color: rgba(255, 255, 255, 0.66);
}

.materials {
  background: var(--white);
}

.section-heading {
  max-width: 920px;
}

.material-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 14px;
  margin-top: 36px;
}

.feature-card {
  min-height: 330px;
  display: grid;
  align-content: end;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
  position: relative;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.feature-card::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.8;
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.feature-card:hover {
  border-color: rgba(109, 63, 234, 0.28);
  box-shadow: 0 22px 60px rgba(5, 5, 5, 0.12);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  opacity: 0.95;
  transform: scale(1.025);
}

.graphite-card::before {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.34), transparent 18%),
    repeating-linear-gradient(28deg, #24232a 0 8px, #0b0b0d 8px 15px, #3a3741 15px 20px);
}

.hydrogen-card::before {
  background:
    radial-gradient(circle at 70% 22%, rgba(200, 183, 255, 0.44), transparent 20%),
    linear-gradient(145deg, #171720, #2c2837);
}

.supply-card::before {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(5, 5, 5, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
}

.feature-card > * {
  position: relative;
  z-index: 2;
}

.graphite-card,
.hydrogen-card {
  color: var(--white);
}

.feature-card p {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(5, 5, 5, 0.66);
}

.graphite-card p,
.hydrogen-card p {
  color: rgba(255, 255, 255, 0.72);
}

.card-kicker {
  margin-bottom: 80px;
  color: var(--purple-3);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
}

.supply-card .card-kicker {
  color: var(--purple);
}

.deployment {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.6fr);
  gap: clamp(36px, 7vw, 92px);
  background: var(--paper-2);
}

.deployment-copy p {
  max-width: 760px;
  color: rgba(5, 5, 5, 0.68);
  font-size: 1.06rem;
}

.deployment-list {
  display: grid;
  gap: 12px;
}

.deployment-list div {
  display: grid;
  gap: 5px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.deployment-list strong {
  font-size: 1.04rem;
}

.deployment-list span {
  color: rgba(5, 5, 5, 0.62);
}

.partners {
  background: var(--black);
  color: var(--white);
}

.partner-content {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.78fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: end;
}

.partner-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.partner-row span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    background-color 160ms ease;
}

.partner-row span:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(200, 183, 255, 0.36);
  color: var(--white);
  transform: translateY(-2px);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(330px, 0.56fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
  background:
    linear-gradient(120deg, rgba(109, 63, 234, 0.24), transparent 35%),
    var(--white);
}

.contact p {
  max-width: 650px;
  color: rgba(5, 5, 5, 0.66);
}

.form-status {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: 22px;
  background: var(--black);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 13px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--black);
  font: inherit;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

input:focus,
textarea:focus {
  background: var(--white);
  border-color: var(--purple-2);
  box-shadow: 0 0 0 4px rgba(109, 63, 234, 0.2);
}

textarea {
  resize: vertical;
}

.contact-form button {
  cursor: pointer;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 4vw, 56px);
  background: #050505;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

.site-footer img {
  width: 30px;
  height: auto;
}

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

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

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .hero,
  .intro,
  .deployment,
  .partner-content,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-statement {
    max-width: 520px;
  }

  h1 {
    font-size: clamp(3.6rem, 13vw, 7.4rem);
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .signal-strip,
  .process,
  .material-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .graphite-card {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 13px 16px;
  }

  .brand img {
    width: 126px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .hero,
  .section,
  .deployment,
  .partners,
  .contact {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: clamp(3.15rem, 17vw, 5.7rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-statement {
    padding-left: 18px;
  }

  .signal-strip,
  .process,
  .material-grid,
  .partner-row {
    grid-template-columns: 1fr;
  }

  .graphite-card {
    grid-column: auto;
  }
}
