:root {
  /* Font sizes */
  /*NOTE: Step -2: 11.1111px → 11.52px */
  --font-size--2: clamp(0.6944rem, 0.687rem + 0.0426vw, 0.72rem);
  /* Step -1: 13.3333px → 14.4px */
  --font-size--1: clamp(0.8333rem, 0.8139rem + 0.1111vw, 0.9rem);
  /* Step 0: 16px → 18px */
  --font-size-0: clamp(1rem, 0.9635rem + 0.2083vw, 2rem);
  /* Step 1: 19.2px → 22.5px */
  --font-size-1: clamp(1.2rem, 1.1398rem + 0.3438vw, 1.4063rem);
  /* Step 2: 23.04px → 28.125px */
  --font-size-2: clamp(1.44rem, 1.3473rem + 0.5297vw, 1.7578rem);
  /* Step 3: 27.648px → 35.1563px */
  --font-size-3: clamp(1.728rem, 1.5911rem + 0.7821vw, 2.1973rem);
  /* Step 4: 33.1776px → 43.9453px */
  --font-size-4: clamp(2.0736rem, 1.8773rem + 1.1216vw, 2.7466rem);
  /* Step 5: 39.8131px → 54.9316px */
  --font-size-5: clamp(2.4883rem, 2.2127rem + 2.5748vw, 10rem);

  --primary-font: "Proxima Nova", sans-serif;

  /* colours */
  --primary-dark-blue: oklch(27.652% 0.02484 251.172); /*#1f2934*/
  --primary-mid-blue: oklch(56.66% 0.04166 224.955); /*#5c7c89*/
  --primary-light-blue: oklch(82.592% 0.03885 224.467); /*#acccd9*/
  --primary-light-gold: oklch(93.468% 0.02495 89.214); /*#f0e9d7*/
  --primary-mid-gold: oklch(75.495% 0.04663 75.802); /*#c1ac8f*/

  /* Spacing */
  /* Space 3xs: 4px → 5px */
  --space-3xs: clamp(0.25rem, 0.2318rem + 0.1042vw, 0.3125rem);
  /* Space 2xs: 8px → 9px */
  --space-2xs: clamp(0.5rem, 0.4818rem + 0.1042vw, 0.5625rem);
  /* Space xs: 12px → 14px */
  --space-xs: clamp(0.75rem, 0.7135rem + 0.2083vw, 0.875rem);
  /* Space s: 16px → 18px */
  --space-s: clamp(1rem, 0.9635rem + 0.2083vw, 1.125rem);
  /* Space m: 24px → 27px */
  --space-m: clamp(1.5rem, 1.4453rem + 0.3125vw, 1.6875rem);
  /* Space l: 32px → 36px */
  --space-l: clamp(2rem, 1.9271rem + 0.4167vw, 2.25rem);
  /* Space xl: 48px → 54px */
  --space-xl: clamp(3rem, 2.8906rem + 0.625vw, 3.375rem);
  /* Space 2xl: 64px → 72px */
  --space-2xl: clamp(4rem, 3.8542rem + 0.8333vw, 4.5rem);
  /* Space 3xl: 96px → 108px */
  --space-3xl: clamp(6rem, 5.7813rem + 1.25vw, 6.75rem);
}

/*MARK: CSS RESET */

/* Use a sensible box model everywhere */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margins */
* {
  margin: 0;
}

/* Text wrapping + trimming */
html {
  text-wrap: pretty;
  text-box-trim: trim-both;
  overflow-wrap: break-word;
  font-family: var(--primary-font);
  font-weight: 300;
  color: var(--primary-dark-blue);
   /* scroll-snap-type: y mandatory; */
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
  margin-block: var(--space-s);
  line-height: 1.1;
}

p{
  font-family: var(--primary-font);
  font-size: var(--font-size-0);
  line-height: 1.6;
padding-block: var(--space-2xs);
}

/* Core body defaults */
body {
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Give form controls inherited typography */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/*Avoid text overflows on elements with a hard-set width */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

a{
  text-decoration: none;
}

/*Media elements are block-level and never overflow their container */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Buttons and inputs don't inherit pointer affordance by default */
button,
[role="button"] {
  cursor: pointer;
}

/*lists used for UI don't carry list styling, but keep
      semantics for lists that are actual content (no class = leave alone) */
ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}

/* Anchor elements that don't have a class get default styling
       preserved (so nav links etc. can opt out deliberately) */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Respect users who've turned off animation */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Create a root stacking context so full-bleed layouts behave
       predictably */
#root,
#__next {
  isolation: isolate;
}

/* Table defaults */
table {
  border-collapse: collapse;
  width: 100%;
}

/*MARK: Navigation  */
/* .nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-s) var(--space-m);
  color: var(--primary-light-gold);
}

.nav-logo img {
  height: clamp(0px, 10vh, 80px);
}

.nav {
  display: flex;
  gap: var(--space-m);
  color: var(--primary-dark-blue);
  font-family: var(--primary-font);
}

.nav a {
  text-decoration: none;
  color: var(--primary-dark-blue);
  font-size: var(--font-size-0);
  font-weight: 300;
} */

/* MARK: MAIN CSS */

section{
 padding-block: var(--space-3xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
section, footer, .half-section{scroll-snap-align: start;
  scroll-snap-stop: always;}

  .half-section{ 
  display: flex;
  flex-direction: column;
  justify-content: center;
    /* height: clamp(0px, 50vh, 100svh); */
    padding-block: var(--space-l);
  background: linear-gradient(to top, var(--primary-light-gold), white);
  }

/* section:nth-of-type(odd){
  background-color: var(--primary-light-gold);
  background: linear-gradient(to bottom, var(--primary-light-gold), white);
}
section:nth-of-type(even){
  background-color: var(--primary-dark-blue);
} */

/* .hero-area{
height: 100vh;
height: 100svh;
} */



.hero-wrapper{
 width: clamp(0px, 95vw, 1920px);
 margin-inline: auto;
}
.wrapper{
 width: clamp(0px, 95vw, 1220px);
 margin-inline: auto;

}

.hero-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  align-items: center;
  justify-content: center;
  gap: var(--space-m);
  margin-block: var(--space-3xl);
}

.coordinates{
  font-size: var(--font-size--1);
  font-family: var(--primary-font);
  font-weight: 300;
  color: var(--primary-mid-gold);
  letter-spacing: 0.5em;
  text-decoration: underline;
  text-underline-offset: 1em;
  text-transform: uppercase;
}

.half-image-section{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  grid-template-rows: 50%;
  align-items: center;
  justify-content: center;
}

.image-height{
  height: 100%;
}

.image-height img{
  height: 100vh;
  width: 100%;
  object-fit: cover;
}

h1{
  font-size: var(--font-size-5);
  font-family: var(--primary-font);
  font-weight: 200;
  color: var(--primary-light-gold);
  color: white;
  line-height: 1.2;
}

h2{
  font-size: var(--font-size-4);
  font-family: var(--primary-font);
  font-weight: 200;
  color: var(--primary-mid-blue);
  line-height: 1.2;
}

h3{
  font-size: var(--font-size-3);
  font-family: var(--primary-font);
  font-weight: 200;
  color: var(--primary-dark-blue);
}



.two-col-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
 
  justify-content: center;
  align-items: center;
  gap: var(--space-l);
}


.column-wrapper{
  position: relative;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.flex-column{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-m);
  text-align: center;
}

.narrow{
  width: 100%;
   /* height: clamp(0px, 40vh, 360px ); */
   object-fit: cover;
   grid-column: 1 / -1;
}

.highlight-list{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  gap: var(--space-m);
}

.highlight{
  font-size: var(--font-size-1);
  font-family: var(--primary-font);
  font-weight: 500;
  color: var(--primary-mid-blue);
  text-align: center;
  background-color: white;
  width: 100%;
  padding-block: var(--space-s);
  border-radius: var(--space-l);
  transition: scale 0.33s ease-in-out;
}

.highlight:hover{
  scale: 1.02;
}

/* Button */
.button {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  margin-block: var(--space-s);
  border-radius: 10rem;
  color: #fff;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.15rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.button:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-mid-gold);
  border-radius: 10rem;
  z-index: -2;
}
.button:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--primary-mid-blue);
  transition: all 0.3s;
  border-radius: 10rem;
  z-index: -1;
}
.button:hover {
  color: #fff;
}
.button:hover:before {
  width: 100%;
}

.button:focus-visible{
  outline: 1px solid var(--primary-mid-gold);
  outline-offset: 4px;
}

/* Footer */
footer{
  background-color: white;
}

.footer-flex{
  display: flex;
  justify-content: center;
  align-items: center;
  gap:var(--space-m);
  padding-block: var(--space-s);

}

.footer-img{
  max-height: 50px;
}

/* Utilities */

.dark-blue-gradient{
  background-image: linear-gradient(to bottom, var(--primary-mid-blue), var(--primary-dark-blue));
}

.light-gold-gradient{
  background: linear-gradient(to bottom, var(--primary-light-gold), white);
}
.rounded-corners{
  border-radius: var(--space-s);
}

.light-text{
  color: var(--primary-light-gold);
  color: white;
}

.med-height{
  height: clamp(0px, 3lh, 100svh);
}

.bold-text{
  font-weight: 600;
}

.bold-gold{
  font-weight: 600;
  color: var(--primary-mid-gold);
  padding-block: none;
}

.larger-body{
  font-size: var(--font-size-1);
  color: white;
  font-family: var(--primary-font);
  font-weight: 500;
  max-width: 55ch;
  text-wrap: pretty;
}

 .mid-blue-background{
  background: var(--primary-mid-blue);
}
 .dark-blue-background{
  background: var(--primary-dark-blue);
}

.white-background{
  background-color: white;;
}

.white-text{
  color: white;
}

.pd-bl-xs{
  padding-block: var(--space-xs);
}

.image-breaker{
  display: block;
  min-height: 0;
  height: clamp(200px, 40vh, 600px); 
  ;
object-fit: cover;
padding-block: 0;
}

.top-align{
  align-items: start;;
}
.image-breaker img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  
}

.width-55ch{
  max-width: 55ch;
}

/* Animations */
@keyframes grow-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .two-col-grid {
      animation: grow-in linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 40%;
    }
  }
}

@media (max-width: 540px){
  .hero-grid, .two-col-grid{
    grid-template-columns: 1fr;
  }
}