/* ========================================
   Freedom Factory — Industrial Website
   مصنع الحرية لصناعة الصفائح الشبكية
   ======================================== */

:root {
  --navy: #0F2235;
  --navy-deep: #0A1826;
  --steel: #23435C;
  --steel-mid: #3A5A72;
  --gray: #6E7781;
  --gray-light: #F3F5F7;
  --gray-border: #E2E6EA;
  --white: #FFFFFF;
  --accent: #8FA0AE;
  --metallic: #C5CED6;

  --font: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  --container: 1140px;
  --header-h: 76px;
  --radius: 4px;
  --transition: 0.3s ease;

  --shadow-soft: 0 12px 40px rgba(15, 34, 53, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition), background var(--transition), border-color var(--transition);
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--steel);
  border-color: var(--steel);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--gray-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  z-index: 1001;
}

.logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}

.logo-sub {
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}

.logo-en {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
  font-family: Arial, sans-serif;
  transition: color var(--transition);
}

.site-header.is-scrolled .logo-name,
.logo--footer .logo-name {
  color: var(--navy);
}

.site-header.is-scrolled .logo-sub,
.logo--footer .logo-sub {
  color: var(--steel);
}

.site-header.is-scrolled .logo-en,
.logo--footer .logo-en {
  color: var(--gray);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-list a {
  display: block;
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.site-header.is-scrolled .nav-list a {
  color: var(--steel);
}

.site-header.is-scrolled .nav-list a:hover,
.site-header.is-scrolled .nav-list a.is-active {
  color: var(--navy);
  background: var(--gray-light);
}

.header-cta {
  flex-shrink: 0;
  min-height: 42px;
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}

.site-header:not(.is-scrolled) .header-cta {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.site-header:not(.is-scrolled) .header-cta:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

.site-header.is-scrolled .menu-toggle span,
.site-header.menu-open .menu-toggle span {
  background: var(--navy);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 24, 38, 0.92) 0%, rgba(15, 34, 53, 0.78) 48%, rgba(15, 34, 53, 0.55) 100%),
    linear-gradient(to top, rgba(10, 24, 38, 0.55) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-label {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--metallic);
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---------- Sections ---------- */
.section {
  padding: 6rem 0;
}

.section-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel);
  margin-bottom: 0.65rem;
  letter-spacing: 0.04em;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.35;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 40em;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header .section-lead {
  margin-top: 0.75rem;
}

/* ---------- About ---------- */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content p + p {
  margin-top: 1.25rem;
}

.about-content p {
  color: var(--gray);
  font-size: 1.05rem;
}

.about-media {
  background: var(--gray-light);
  overflow: hidden;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  padding: 1.5rem;
  transition: transform 0.6s ease;
}

.about-media:hover img {
  transform: scale(1.03);
}

/* ---------- Products ---------- */
.products {
  background: var(--gray-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.products-grid .product-item {
  grid-column: span 2;
}

.products-grid .product-item:nth-child(4) {
  grid-column: 2 / span 2;
}

.products-grid .product-item:nth-child(5) {
  grid-column: 4 / span 2;
}

.product-item {
  background: var(--white);
  padding: 0 0 1.5rem;
  border: 1px solid var(--gray-border);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.product-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}

.product-image {
  background: var(--white);
  overflow: hidden;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--gray-border);
}

.product-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  padding: 1rem;
  transition: transform 0.5s ease;
}

.product-item:hover .product-image img {
  transform: scale(1.04);
}

.product-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 1.25rem 0.5rem;
  color: var(--navy);
}

.product-item p {
  font-size: 0.92rem;
  color: var(--gray);
  margin: 0 1.25rem;
  line-height: 1.7;
}

.products-note {
  margin-top: 2.5rem;
  padding: 1.15rem 1.5rem;
  background: var(--white);
  border-inline-start: 3px solid var(--steel);
  color: var(--steel);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ---------- Applications ---------- */
.applications {
  background: var(--white);
}

.applications-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.applications-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.5rem;
  margin-top: 2rem;
}

.applications-list li {
  position: relative;
  padding-inline-start: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  font-size: 1rem;
}

.applications-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--steel);
  border-radius: 1px;
}

.applications-media {
  overflow: hidden;
  background: var(--navy);
}

.applications-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.applications-media:hover img {
  transform: scale(1.03);
}

/* ---------- Why Us ---------- */
.why-us {
  background: var(--navy);
  color: var(--white);
}

.why-us .section-eyebrow {
  color: var(--accent);
}

.why-us .section-title {
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
}

.why-item {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.why-num {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.85rem;
  font-family: Arial, sans-serif;
}

.why-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--white);
}

.why-item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

/* ---------- Gallery ---------- */
.gallery {
  background: var(--gray-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0.75rem;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.gallery-item--wide img {
  object-fit: cover;
  padding: 0;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-block {
  margin-bottom: 1.75rem;
}

.contact-block h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-en {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-family: Arial, sans-serif;
}

.contact-block h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--steel);
  margin-bottom: 0.35rem;
  letter-spacing: 0.04em;
}

.contact-block p,
.contact-block a {
  color: var(--navy);
  font-size: 1rem;
}

.contact-block a:hover {
  color: var(--steel);
}

.contact-phones {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-phones a {
  font-weight: 600;
  font-size: 1.1rem;
}

.map-placeholder {
  margin-top: 0.5rem;
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.map-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.map-inner strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.map-inner span {
  color: var(--gray);
  font-size: 0.9rem;
}

.map-note {
  margin-top: 0.5rem !important;
  font-size: 0.8rem !important;
  color: var(--accent) !important;
}

.contact-form {
  background: var(--gray-light);
  padding: 2rem;
  border: 1px solid var(--gray-border);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(35, 67, 92, 0.12);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: #b33;
}

.field-error {
  display: block;
  min-height: 1.1em;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: #b33;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.925rem;
  font-weight: 500;
  text-align: center;
}

.form-status.is-success {
  color: var(--steel);
}

.form-status.is-error {
  color: #b33;
}

/* ---------- CTA ---------- */
.cta-section {
  background:
    linear-gradient(120deg, rgba(10, 24, 38, 0.94), rgba(35, 67, 92, 0.88)),
    url("../assets/images/application-industrial.webp") center / cover no-repeat;
  padding: 5rem 0;
  text-align: center;
  color: var(--white);
}

.cta-inner {
  max-width: 640px;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.cta-section .btn-primary:hover {
  background: var(--gray-light);
  border-color: var(--gray-light);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.925rem;
  line-height: 1.8;
  max-width: 28em;
}

.footer-links h3,
.footer-contact h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-links li + li,
.footer-contact li + li {
  margin-top: 0.55rem;
}

.footer-contact li {
  font-size: 0.925rem;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.35rem 0;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 24, 38, 0.92);
  padding: 2rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(90vw, 1000px);
  max-height: 85vh;
  object-fit: contain;
  background: var(--white);
  padding: 1rem;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  inset-inline-end: 1.5rem;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 2.25rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.75rem;
  cursor: pointer;
  border-radius: var(--radius);
}

.lightbox-prev {
  inset-inline-start: 1.25rem;
}

.lightbox-next {
  inset-inline-end: 1.25rem;
}

.lightbox-nav:hover,
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ---------- Reveal animations ---------- */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-list {
    gap: 0;
  }

  .nav-list a {
    padding: 0.4rem 0.5rem;
    font-size: 0.85rem;
  }

  .header-cta {
    display: none;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid .product-item,
  .products-grid .product-item:nth-child(4),
  .products-grid .product-item:nth-child(5) {
    grid-column: auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item--wide {
    grid-column: span 3;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: var(--white);
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    z-index: 1000;
  }

  html[dir="rtl"] .nav {
    transform: translateX(-100%);
  }

  .site-header.menu-open .nav {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-list a {
    padding: 0.9rem 1rem;
    font-size: 1.05rem;
    color: var(--navy) !important;
    border-bottom: 1px solid var(--gray-border);
    border-radius: 0;
  }

  .nav-list a:hover,
  .nav-list a.is-active {
    background: var(--gray-light) !important;
    color: var(--navy) !important;
  }

  .site-header.menu-open {
    background: var(--white);
  }

  .site-header.menu-open .logo-name {
    color: var(--navy);
  }

  .site-header.menu-open .logo-sub {
    color: var(--steel);
  }

  .site-header.menu-open .logo-en {
    color: var(--gray);
  }

  .about-grid,
  .applications-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }

  .applications-media {
    order: -1;
  }

  .about-media {
    order: -1;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
  }

  .container {
    width: min(100% - 1.75rem, var(--container));
  }

  .logo-sub,
  .logo-en {
    display: none;
  }

  .logo-name {
    font-size: 1.1rem;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 100svh;
    padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
    align-items: flex-end;
  }

  .hero-overlay {
    background:
      linear-gradient(to top, rgba(10, 24, 38, 0.95) 0%, rgba(15, 34, 53, 0.75) 45%, rgba(15, 34, 53, 0.45) 100%);
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .hero-text {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .section {
    padding: 4rem 0;
  }

  .products-grid,
  .why-grid,
  .applications-list {
    grid-template-columns: 1fr;
  }

  .products-grid .product-item,
  .products-grid .product-item:nth-child(4),
  .products-grid .product-item:nth-child(5) {
    grid-column: auto;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

  .contact-form {
    padding: 1.35rem;
  }

  .cta-section {
    padding: 3.5rem 0;
  }

  .lightbox {
    padding: 1rem;
  }

  .lightbox-nav {
    display: none;
  }

  .lightbox img {
    padding: 0.5rem;
  }
}

@media (max-width: 390px) {
  .hero-title {
    font-size: 1.45rem;
  }

  .btn {
    min-height: 46px;
    padding: 0.7rem 1.25rem;
  }
}

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

  .js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
