/*!
Theme Name: Refined Diagnostics
Theme URI: http://underscores.me/
Author: Studio TENSE
Author URI: https://www.tense.studio
Description: Refined Diagnostics Theme
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: refined-diagnostics
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Refined Diagnostics is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Piccalil CSS Reset
# Base
## Layouts
# Components
# Utilities
	- Accessibility

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Temporary
--------------------------------------------------------------*/

/* .site-header {
  display: none;
} */

.hide {
  display: none;
}

/* Piccalil CSS Reset
--------------------------------------------- */

/* Default Style for all Browsers */

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin, padding, font style */
* {
  margin: 0;
  padding: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul,
ol,
ul[role="list"],
ol[role="list"] {
  list-style: none;
  list-style-type: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 9.6rem;
}

html,
body {
  height: 100%;
}

body {
  text-rendering: optimizeSpeed;
}

/* Set core link */
a {
  text-decoration: none;
  color: inherit;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Headline Style */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}

/* address */
address {
  font-style: normal;
}

/* Make images easier to work with */
img,
picture,
svg {
  max-width: 100%;
  display: block;
}

/* Default Button */
button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Focus */
:focus-visible {
  outline: 0.1rem solid var(--clr-brand-teal-900, #0b4446);
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

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

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* ReCaptcha */
.grecaptcha-badge {
  display: none;
}

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Animation helpers – safe, no hiding by default
   -------------------------------------------------- */

/* Just mark these as “likely to animate” for the browser */
.js .initial-fade-in,
.js .fade-on-scroll {
  will-change: opacity, transform;
}

/* Optional: slightly smoother text rendering while animating */
.js .initial-fade-in *,
.js .fade-on-scroll * {
  backface-visibility: hidden;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Fonts
----------------------------------------------*/

@font-face {
  font-family: "GT-Planar";
  src:
    url("fonts/GT-Planar-Regular.woff2") format("woff2"),
    url("fonts/GT-Planar-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GT-Planar";
  src:
    url("fonts/GT-Planar-Light.woff2") format("woff2"),
    url("fonts/GT-Planar-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Variables
----------------------------------------------*/

:root {
  /* variables main brand*/

  /* colors */
  --clr-brand-primary-50: #f4fefe;
  --clr-brand-primary-100: #e2f9f9;
  --clr-brand-primary-200: #d6f2f2;
  --clr-brand-primary-300: #c8ecec;
  --clr-brand-primary-400: #b4e8e8;
  --clr-brand-primary-500: #9df0f0;
  --clr-brand-primary-600: #2cd4dd;
  --clr-brand-primary-700: #17888c;
  --clr-brand-primary-800: #0e5558;
  --clr-brand-primary-900: #0b4446;

  --clr-brand-teal-50: #f4fefe;
  --clr-brand-teal-100: #e2f9f9;
  --clr-brand-teal-200: #d6f2f2;
  --clr-brand-teal-300: #c8ecec;
  --clr-brand-teal-400: #b4e8e8;
  --clr-brand-teal-500: #9df0f0;
  --clr-brand-teal-600: #2cd4dd;
  --clr-brand-teal-700: #17888c;
  --clr-brand-teal-800: #0e5558;
  --clr-brand-teal-900: #0b4446;

  --clr-brand-secondary-50: #e3eefa;
  --clr-brand-secondary-100: #cfdbeb;
  --clr-brand-secondary-200: #bccade;
  --clr-brand-secondary-300: #9bb0c8;
  --clr-brand-secondary-400: #7a96b3;
  --clr-brand-secondary-500: #5e82ab;
  --clr-brand-secondary-600: #24629b;
  --clr-brand-secondary-700: #23517f;
  --clr-brand-secondary-800: #204165;
  --clr-brand-secondary-900: #172333;

  --clr-brand-neutral-50: #fafaf9;
  --clr-brand-neutral-100: #f6f6f5;
  --clr-brand-neutral-200: #ecebe9;
  --clr-brand-neutral-300: #e3e1de;
  --clr-brand-neutral-400: #dad8d3;
  --clr-brand-neutral-500: #d0cdc8;
  --clr-brand-neutral-600: #c7c3bd;
  --clr-brand-neutral-700: #bdbab2;
  --clr-brand-neutral-800: #b4b0a7;
  --clr-brand-neutral-900: #6e695e;

  --clr-brand-utility-transparent: rgba(0, 0, 0, 0);
  --clr-brand-utility-white: #ffffff;
  --clr-brand-utility-black: #000000;

  --clr-brand-red-50: #fcf7f8;
  --clr-brand-red-900: #520010;

  .laser-systems {
    /* colors lasers systems */
    --clr-brand-primary-50: #fcf7f8;
    --clr-brand-primary-100: #f9eef1;
    --clr-brand-primary-200: #f4dfe3;
    --clr-brand-primary-300: #eeced4;
    --clr-brand-primary-400: #e8bec6;
    --clr-brand-primary-500: #e0a6b2;
    --clr-brand-primary-600: #f50031;
    --clr-brand-primary-700: #cc0029;
    --clr-brand-primary-800: #a30021;
    --clr-brand-primary-900: #520010;
  }

  /* spacing */
  --spacing-0: 0rem;
  --spacing-50: 0.1rem;
  --spacing-100: 0.2rem;
  --spacing-200: 0.4rem;
  --spacing-300: 0.8rem;
  --spacing-400: 12rem;
  --spacing-500: 16rem;
  --spacing-600: 20rem;
  --spacing-700: 24rem;
  --spacing-800: 32rem;
  --spacing-900: 40rem;
  --spacing-1000: 48rem;
  --spacing-1100: 56rem;
  --spacing-1200: 64rem;
  --spacing-1300: 72rem;
  --spacing-1400: 80rem;
  --spacing-1500: 96rem;
  --spacing-1600: 128rem;
  --spacing-1700: 200rem;
}

/* html/body
----------------------------------------------*/

html {
  font-size: 62.5%;
}

body {
  font-family: "GT-Planar", sans-serif;
  background-color: var(--clr-brand-utility-white, #ffffff);
  font-weight: 300;
  overflow-x: hidden;
}

/*---------------------------------------------- 
	typography
----------------------------------------------*/

/* headings */
.u-heading--2xl,
.u-heading--xl,
.u-heading--lg,
.u-heading--md,
.u-heading--sm,
.u-heading--xs,
.u-heading--xxs {
  line-height: 1.25;
  color: var(--clr-brand-primary-900);
}

.u-heading--2xl {
  font-size: clamp(4.8rem, 1.739vw + 4.243rem, 6.4rem);
}

.u-heading--xl {
  font-size: clamp(4rem, 0.8696vw + 3.7217rem, 4.8rem);
}

.u-heading--lg {
  font-size: clamp(3.2rem, 0.869vw + 2.922rem, 4rem);
}

.u-heading--md {
  font-size: clamp(2.4rem, 0.87vw + 2.122rem, 3.2rem);
}

.u-heading--sm {
  font-size: clamp(2.2rem, 0.217vw + 2.13rem, 2.4rem);
}

.u-heading--xs {
  font-size: 2rem;
}

.u-heading--xxs {
  font-size: 1.8rem;
}

/* body */
.u-body--lg,
.u-body--md,
.u-body--sm {
  line-height: 1.5;
  color: var(--clr-brand-primary-900);
}

.u-body--lg {
  font-size: 1.8rem;
}

.u-body--md {
  font-size: 1.6rem;
}

.u-body--sm {
  font-size: 1.4rem;
}

/* utility */
.u-utility--3xl {
  font-size: 2.4rem;
  line-height: 2.7rem;
}

.u-utility--2xl {
  font-size: 2rem;
  line-height: 2.2rem;
}

.u-utility--xl {
  font-size: 1.8rem;
  line-height: 2rem;
}

.u-utility--lg {
  font-size: 1.6rem;
  line-height: 1.8rem;
}

.u-utility--md {
  font-size: 1.4rem;
  line-height: 1.6rem;
}

.u-utility--sm {
  font-size: 1.2rem;
  line-height: 1.4rem;
}

.u-utility--xs {
  font-size: 1rem;
  line-height: 1.2rem;
}

/* font weights */
.u-font-weight--regular {
  font-weight: 400;
}

.u-font-weight--light {
  font-weight: 300;
}

p {
  font-size: 1.8rem;
  line-height: 1.5;
  color: var(--clr-brand-primary-900);
}

/*---------------------------------------------- 
	colors
----------------------------------------------*/

.brand--primary--900 {
  color: var(--clr-brand-primary-900);
}

.brand--teal--50 {
  color: var(--clr-brand-primary-50, #f4fefe);
}

.brand--teal--500 {
  color: var(--clr-brand-primary-500, #9df0f0);
}

.brand--accent {
  color: var(--clr-brand-primary-600);
}

.brand--neutral--600 {
  color: var(--clr-brand-neutral-600, #c7c3bd);
}

/*---------------------------------------------- 
	misc
----------------------------------------------*/

.text-cursor {
  cursor: text;
}

.underline {
  text-decoration: underline;
}

/*---------------------------------------------- 
	layout
----------------------------------------------*/

/* sections */
.l-section {
  padding: 1.6rem 0;
  margin-bottom: clamp(4rem, 20vh, 20rem);
}

/* wrapper */
.l-wrapper--section-content {
  --max-width: 124rem;
  --padding: 8vw;
  width: min(var(--max-width), 100% - var(--padding));
  margin-inline: auto;
}

/* flex */
.l-flex {
  display: flex;
  flex-direction: column;
}

/* grid */
.l-grid {
  display: grid;
}
