/* fonts impport local */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-VariableFont_wght.woff2")
    format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Italic-VariableFont_wght.woff2")
    format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

html,
body {
  overflow-x: clip;
  overflow-anchor: auto;
}

/* Custom Scrollbar Global */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(138, 211, 253, 0.3); /* brand-blue-bright with opacity */
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(138, 211, 253, 0.6);
}

/* Firefox Support */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(138, 211, 253, 0.3) transparent;
}

body {
  background-color: var(--color-brand-navy-deep);
  color: var(--color-text-dark);
}

:root {
  /* colors */
  --color-brand-navy-deep: #0f2a44;
  --color-brand-navy: #1e3a5f;
  --color-brand-navy-soft: #3f5f85;
  --color-brand-blue-bright: #8ad3fd;
  --color-brand-gold: #ffc756;
  --color-brand-ivory: #f7f6f3;
  --color-brand-stone: #e5e3df;
  --color-brand-charcoal: #2b2b2b;

  --color-text-dark: #2b2b2b;
  --color-text-light: #ffffff;

  --color-link-default: var(--color-brand-navy);
  --color-link-hover: var(--color-brand-navy-deep);

  /* Backgrounds */
  --color-bg-light: var(--color-brand-ivory);
  --color-bg-medium: var(--color-brand-stone);
  --color-bg-dark: var(--color-brand-navy-deep);

  /* CTA / Buttons */
  --color-cta-default: var(--color-brand-gold);
  --color-cta-hover: var(--color-brand-navy-soft);

  /* Dividers */
  --color-divider-dark: rgba(0, 0, 0, 0.1);

  /* Fonts */
  --font-display: "Playfair Display", serif;
  --font-secondary: "Neuzeit Grotesk", "Montserrat", sans-serif;
  --font-body: "Libre Franklin", sans-serif;
  --font-sans: var(--font-body);

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 900;

  /* Line Heights */
  --lh-display: 1.1;
  --lh-body: 1.7;

  /* Breakpoints */
  --vw-min: 360;
  --vw-max: 1440;

  /* SPECIAL HEADINGS */
  /* Display Large: 41px / 81px */
  --fs-display-large: clamp(
    41px,
    calc(41px + (81 - 41) * ((100vw - 360px) / (1440 - 360))),
    81px
  );
  /* Display Medium: 37px / 67px */
  --fs-display-medium: clamp(
    37px,
    calc(37px + (67 - 37) * ((100vw - 360px) / (1440 - 360))),
    67px
  );
  /* Sub Heading: 24px / 33px */
  --fs-sub-heading: clamp(
    24px,
    calc(24px + (33 - 24) * ((100vw - 360px) / (1440 - 360))),
    33px
  );

  /* HEADINGS */
  /* H1: 33px / 56px */
  --fs-h1: clamp(
    33px,
    calc(33px + (56 - 33) * ((100vw - 360px) / (1440 - 360))),
    56px
  );
  /* H2: 30px / 47px */
  --fs-h2: clamp(
    30px,
    calc(30px + (47 - 30) * ((100vw - 360px) / (1440 - 360))),
    47px
  );
  /* H3: 27px / 39px */
  --fs-h3: clamp(
    27px,
    calc(27px + (39 - 27) * ((100vw - 360px) / (1440 - 360))),
    39px
  );
  /* H4: 24px / 33px */
  --fs-h4: clamp(
    24px,
    calc(24px + (33 - 24) * ((100vw - 360px) / (1440 - 360))),
    33px
  );
  /* H5: 22px / 27px */
  --fs-h5: clamp(
    22px,
    calc(22px + (27 - 22) * ((100vw - 360px) / (1440 - 360))),
    27px
  );
  /* H6: 20px / 23px */
  --fs-h6: clamp(
    20px,
    calc(20px + (23 - 20) * ((100vw - 360px) / (1440 - 360))),
    23px
  );

  /* BODY */
  /* Body Large: 18px / 19px */
  --fs-body-large: clamp(
    18px,
    calc(18px + (19 - 18) * ((100vw - 360px) / (1440 - 360))),
    19px
  );
  /* Body: 16px / 16px */
  --fs-body: 16px;
  /* Body Small: 14px / 14px */
  --fs-body-small: 14px;

  /* UI Tokens */
  --fs-cta: 16px;
  --fs-nav: 16px;
  --fs-form-caption: 11px;

  /* Radius */
  --radius-card: 16px;
  --radius-button: 16px;

  /* Spacings */
  --space-1: 10px;
  --space-2: 20px;
  --space-3: 30px;
  --section-padding-y: 80px;
  --section-padding-x: 40px;
}

@media (max-width: 768px) {
  :root {
    --section-padding-y: 60px;
  }
}

/* UTILITY CLASSES */
.display-large {
  font-family: var(--font-display);
  font-size: var(--fs-display-large);
  line-height: 1.1;
  font-weight: var(--fw-black);
}

.display-medium {
  font-family: var(--font-display);
  font-size: var(--fs-display-medium);
  line-height: 1.1;
  font-weight: var(--fw-black);
}

.sub-heading {
  font-family: var(--font-secondary);
  font-size: var(--fs-sub-heading);
  line-height: 1.1;
  font-weight: var(--fw-regular);
}

.h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: 1.1;
  font-weight: var(--fw-bold);
}

.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: 1.1;
  font-weight: var(--fw-bold);
}

.h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: 1.1;
  font-weight: var(--fw-bold);
}

.h4 {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  line-height: 1.1;
  font-weight: var(--fw-medium);
}

.h5 {
  font-family: var(--font-display);
  font-size: var(--fs-h5);
  line-height: 1.1;
  font-weight: var(--fw-medium);
}

.h6 {
  font-family: var(--font-display);
  font-size: var(--fs-h6);
  line-height: 1.1;
  font-weight: var(--fw-medium);
}

/* GLOBAL HEADER TAGS */
h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: 1.1;
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-2);
}
h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: 1.1;
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-2);
}
h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: 1.1;
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-2);
}
h4 {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  line-height: 1.1;
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-1);
}
h5 {
  font-family: var(--font-display);
  font-size: var(--fs-h5);
  line-height: 1.1;
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-1);
}
h6 {
  font-family: var(--font-display);
  font-size: var(--fs-h6);
  line-height: 1.1;
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-1);
}

.body-large {
  font-family: var(--font-body);
  font-size: var(--fs-body-large);
  line-height: 1.7;
  font-weight: var(--fw-regular);
}

.body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  font-weight: var(--fw-regular);
}

.body-small {
  font-family: var(--font-body);
  font-size: var(--fs-body-small);
  line-height: 1.7;
  font-weight: var(--fw-regular);
}

.body-bold {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  font-weight: var(--fw-bold);
}

.body-link {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  font-weight: var(--fw-bold);
  color: var(--color-link-default);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.body-link:hover {
  color: var(--color-link-hover);
}
/* 
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-cta);
  line-height: 1.1;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background-color: var(--color-cta-default);
  color: var(--color-brand-green);
  padding: 0.75rem 1.75rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-button);
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta:hover {
  transform: translateY(-2px);
  background-color: var(--color-brand-green);
  color: #FFFFFF;
} */

.nav-link {
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  line-height: 1.1;
  font-weight: var(--fw-bold);
}

.form-caption {
  font-family: var(--font-body);
  font-size: var(--fs-form-caption);
  line-height: 1.1;
  font-weight: var(--fw-regular);
}

.card {
  --start: 0;
  --gradient: conic-gradient(
    from 90deg at 50% 50%,
    white,
    /* var(--color-brand-gold), */ white
  );

  position: relative;
  display: flex;
  /* flex-direction: column; */
  /* justify-content: center; */
  /* align-items: flex-start; */

  margin: 10px;
  padding: 10px 40px;
  background-color: #04040473;
  backdrop-filter: blur(3px);
  border-radius: 14px;
  transition: border-color 0.3s ease-in-out;
}

.card::before {
  position: absolute;
  pointer-events: none;
  content: "";
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  border: 3px solid transparent;
  background: var(--gradient);
  background-attachment: fixed;
  mask:
    linear-gradient(#0000, #0000),
    conic-gradient(
      from calc((var(--start) - (20 * 1.4)) * 1deg),
      #ffffff1f 0deg,
      white,
      #ffffff00 100deg
    );
  mask-composite: intersect;
  mask-clip: padding-box, border-box;
  opacity: 0;
  transition: 0.5s ease;
}

.glow {
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 50%;
  z-index: -1;

  top: 50%;
  transform: translate(-50%, -50%);
  filter: blur(14px);
}

.glow::before {
  position: absolute;
  pointer-events: none;
  content: "";
  width: 98%;
  height: 98%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  border: 15px solid transparent;
  background: var(--gradient);
  background-attachment: fixed;
  mask:
    linear-gradient(#0000, #0000),
    conic-gradient(
      from calc((var(--start) - (20 * 1.1)) * 1deg),
      #ffffff 0deg,
      #ffffff,
      rgba(0, 0, 0, 0) 100deg
    );
  mask-composite: intersect;
  mask-clip: padding-box, border-box;
  opacity: 0;
  transition: 1s ease;
  z-index: -1;
}

.card:hover > .glow::before {
  opacity: 1;
}
.card:hover::before {
  opacity: 0.6;
}

/* a {
  color: var(--color-brand-blue);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-brand-green);
} */

/* 
  TAILWIND V4 THEME CONFIGURATION 
  These variables are automatically picked up by WindPress
*/
@theme {
  /* Fonts */
  --font-display: var(--font-display);
  --font-secondary: var(--font-secondary);
  --font-body: var(--font-body);

  /* Colors */
  --color-brand-navy-deep: var(--color-brand-navy-deep);
  --color-brand-navy: var(--color-brand-navy);
  --color-brand-navy-soft: var(--color-brand-navy-soft);
  --color-brand-blue-bright: var(--color-brand-blue-bright);
  --color-brand-gold: var(--color-brand-gold);
  --color-brand-ivory: var(--color-brand-ivory);
  --color-brand-stone: var(--color-brand-stone);
  --color-brand-charcoal: var(--color-brand-charcoal);

  /* Font Sizes (Fluid Tokens) */
  --text-display-large: var(--fs-display-large);
  --text-display-medium: var(--fs-display-medium);
  --text-sub-heading: var(--fs-sub-heading);
  --text-h1: var(--fs-h1);
  --text-h2: var(--fs-h2);
  --text-h3: var(--fs-h3);
  --text-h4: var(--fs-h4);
  --text-h5: var(--fs-h5);
  --text-h6: var(--fs-h6);
  --text-body-large: var(--fs-body-large);
  --text-body: var(--fs-body);
  --text-body-small: var(--fs-body-small);

  /* Spacing */
  --spacing-space-1: var(--space-1);
  --spacing-space-2: var(--space-2);
  --spacing-space-3: var(--space-3);

  /* Borders & Radius */
  --radius-card: var(--radius-card);
  --radius-button: var(--radius-button);
}

/* SHOW MORE BUTTON */
.show-more-btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-brand-gold);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin-bottom: 20px;
}

.show-more-btn::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 3px;
  transition: transform 0.3s ease;
}

.paragraph:not(.hidden) + .show-more-btn::after {
  transform: rotate(225deg);
  margin-bottom: -3px;
}
