/* Jay Loves Jess - Netlify-ready static site */

:root{
  --teal: #33CCCC;
  --black: #111111;
  --white: #ffffff;

  --border: 15px;
  --content-max: 900px;
  --arc-h: 90px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  min-height: 100vh;
  border: var(--border) solid var(--teal);
  background: var(--teal);
  color: var(--black);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page{
 /*  min-height: calc(100vh - (2 * var(--border))); */
  position: relative;
}

/* TOP LOGO (overlaps border) */
.logo-mark{
  position: absolute;
  top: calc(-1 * var(--border));
  left: 50%;
  transform: translateX(-50%);
  width: 125px;
  height: auto;
  display: block;
  z-index: 10;
}

/* SECTION 1 */
.section-1{
  position: relative;
  background: var(--white);
  padding: 320px 18px 100px; /* main image bottom padding: desktop 100px */
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.hero{
  width: min(60vw, var(--content-max));
  max-width: var(--content-max);
  height: auto;
  display: block;
}

/* ARC TRANSITION */
.arc-wrap{
  position: relative;
  height: var(--arc-h);
  overflow: hidden;
  background: var(--white);
}

.arc-wrap svg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Desktop vs Mobile arc paths */
.arc-mobile{ display: none; }
.arc-desktop{ display: block; }

/* SECTION 2 */
.section-2{
  background: var(--teal);
  padding: 100px 18px 120px; /* top padding desktop 100px */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
 /* min-height: calc(100vh - 260px);  helps teal feel full-bleed and gives footer room */
}

.kicker{
  margin: 0 0 2em; /* per latest note */
  font-family: "Domine", serif;
  font-weight: 700;
  font-size: clamp(22px, 2.3vw, 30px);
  letter-spacing: .2px;
  color: #000;
}

/* COUNTER (reverted to v3.1 layout, with updated spacing) */
.counter{
  width: min(1020px, 94vw);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 2 rows on desktop */
  column-gap: clamp(14px, 2.2vw, 28px);
  row-gap: 48px; /* more space between rows */
  font-family: "Domine", serif;
}

.value{
  font-size: clamp(34px, 5.2vw, 70px);
  line-height: 1;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.label{
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #000;
  opacity: .9;
  font-weight: 700;
}

/* Footer note: always below counter, never overlaps */
.footer-note{
  /* position: absolute; */
  left: 0;
  right: 0;
 /* bottom: calc(var(--border) + 200px); at least 200px above the bottom edge */
  padding-bottom: 60px;
  width: 100%;
  /* display: flex; */
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: "Domine", serif;
  font-size: 11.5px;
  line-height: 1.35;
  color: rgba(0,0,0,.70);
  pointer-events: none;
}

@media (max-width: 720px){
  .logo-mark{ width: 75px; }
  .section-1{ padding-top: 220px; padding-bottom: 50px; } /* mobile main image bottom padding 50px */
  .hero{ width: min(80vw, var(--content-max)); } /* mobile hero width */

  .section-2{ padding-top: 30px; } /* mobile top padding 30px */

  /* keep mobile arc as the original */
  .arc-mobile{ display: block; }
  .arc-desktop{ display: none; }

  /* 3 rows on mobile */
  .counter{
    width: min(520px, 92vw);
    grid-template-columns: repeat(2, minmax(0, .4fr));
    justify-content: center;
    column-gap: 16px;
    row-gap: clamp(42px, 7vw, 54px);
  }

  .value{
    font-size: 19vw;
  }
.value{
    font-size: clamp(44px, 14vw, 78px);
  }

  .footer-note{
}

}
