/* ============================================================
   ATS — Global Styles
   Reset · Custom Properties · Font-Face · Typography · Utilities
   ============================================================ */

/* ----- CSS Custom Properties ----- */
:root {
  /* Colors */
  --c-navy:        #003B75;
  --c-navy-dark:   #003B75;
  --c-dark:        #1D1D1D;
  --c-blue:        #4C759E;
  --c-blue-light:  #6CACE4;
  --c-steel:       #567A9E;

  --c-magenta:     #E91E8C;
  --c-white:       #FFFFFF;
  --c-off-white:   #F9FAFA;
  --c-light-gray:  #C1C5CA;
  --c-gray:        #999999;
  --c-dark-gray:   #666666;
  --c-text:        #1A1A1A;
  --c-overlay:     rgba(10, 49, 97, 0.85);
  --c-overlay-dark:rgba(0, 0, 0, 0.7);

  /* Typography */
  --ff:            'Biotif', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fw-book:       300;
  --fw-regular:    400;
  --fw-medium:     500;
  --fw-semibold:   600;
  --fw-bold:       700;
  --fw-extrabold:  800;
  --fw-black:      900;

  /* Spacing */
  --space-xs:      0.5rem;   /* 8px */
  --space-sm:      1rem;     /* 16px */
  --space-md:      1.5rem;   /* 24px */
  --space-lg:      2.5rem;   /* 40px */
  --space-xl:      4rem;     /* 64px */
  --space-2xl:     6rem;     /* 96px */
  --space-2-5xl:   6.5rem;     /* 112px */
  --space-3xl:     8rem;     /* 128px */
  --space-4xl:     10rem;    /* 160px */
  --space-5xl:     12rem;    /* 192px */

  /* Layout */
  --gutter:        2rem;
  --header-h:      80px;

  /* Transitions */
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --duration:      0.35s;
  --duration-slow: 0.6s;

  /* Borders & Radii */
  --radius:        4px;
  --radius-sm:     2px;
}


/* ----- @font-face Declarations ----- */
@font-face {
  font-family: 'Biotif';
  src: url('../fonts/biotif/Biotif-Light.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Biotif';
  src: url('../fonts/biotif/Biotif-LightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Biotif';
  src: url('../fonts/biotif/Biotif-Book.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Biotif';
  src: url('../fonts/biotif/Biotif-BookItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Biotif';
  src: url('../fonts/biotif/Biotif-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Biotif';
  src: url('../fonts/biotif/Biotif-RegularItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Biotif';
  src: url('../fonts/biotif/Biotif-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Biotif';
  src: url('../fonts/biotif/Biotif-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Biotif';
  src: url('../fonts/biotif/Biotif-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Biotif';
  src: url('../fonts/biotif/Biotif-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Biotif';
  src: url('../fonts/biotif/Biotif-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Biotif';
  src: url('../fonts/biotif/Biotif-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Biotif';
  src: url('../fonts/biotif/Biotif-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Biotif';
  src: url('../fonts/biotif/Biotif-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Biotif';
  src: url('../fonts/biotif/Biotif-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Biotif';
  src: url('../fonts/biotif/Biotif-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}


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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff);
  font-weight: var(--fw-regular);
  color: var(--c-text);
  line-height: 1.6;
  background: var(--c-white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration) var(--ease);
}

ul, ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  font-weight: var(--fw-bold);
}

::selection {
  background: var(--c-navy);
  color: var(--c-white);
}


/* ----- Typography Scale ----- */
.t-display {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--fw-black);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.t-h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.t-h2 {
  font-size: 30px;
  line-height: 35px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}

.t-h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  line-height: 1.2;
}

.t-h4 {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.t-body {
  font-size: 1rem;
  font-weight: var(--fw-regular);
  line-height: 1.7;
}

.t-body-sm {
  font-size: 0.875rem;
  font-weight: var(--fw-regular);
  line-height: 1.6;
}

.t-caption {
  font-size: 0.75rem;
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.t-label {
  font-size: 0.6875rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1.4;
}


/* ----- Layout Utilities ----- */
.container {
  width: 1368px;
  max-width: 88%;
  margin: 0 auto;
}

.container.wide{
  width: 1470px;
  max-width: 92%;
}

.container .container{
  max-width: 100%;
}

@media only screen and (max-width: 1300px) {
  .container {
    width: 1100px;
  }
}

@media only screen and (min-width : 768px) and (max-width : 1024px) {
  .container {
    width: 730px;
  }
}

@media only screen and (max-width: 767px) {
  .container {
    width: 300px;
  }
}


/* Flex helpers */
.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.flex-wrap   { flex-wrap: wrap; }
.items-center{ align-items: center; }
.items-start { align-items: flex-start; }
.items-end   { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.justify-end     { justify-content: flex-end; }
.gap-xs      { gap: var(--space-xs); }
.gap-sm      { gap: var(--space-sm); }
.gap-md      { gap: var(--space-md); }
.gap-lg      { gap: var(--space-lg); }
.gap-xl      { gap: var(--space-xl); }

/* Grid */
.grid {
  display: grid;
  gap: var(--gutter);
}

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

/* Spacing */
.section {
  padding: var(--space-2-5xl) 0;
}

.section--sm {
  padding: var(--space-xl) 0;
}

.section--lg {
  padding: var(--space-3xl) 0;
}

.section--pt-0 {
  padding-top: 0;
}

.section--pb-0 {
  padding-bottom: 0;
}

/* Text */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-white  { color: var(--c-white); }
.text-navy   { color: var(--c-navy); }
.text-blue   { color: var(--c-blue); }
.text-gray   { color: var(--c-dark-gray); }
.text-upper  { text-transform: uppercase; }

/* Background */
.bg-navy     { background-color: var(--c-navy); }
.bg-blue     { background-color: var(--c-blue); }
.bg-white    { background-color: var(--c-white); }
.bg-off-white{ background-color: var(--c-off-white); }

/* Visibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hidden { display: none !important; }

/* Animations — base for scroll-triggered */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease),
              transform var(--duration-slow) var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


.position-relative{
  position: relative;
}

.z-1 {
  z-index: 1;
}

.z-0{
  z-index: 0;
}