/*/////////// JUNETAIL SITE BASICS ///////////*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Lexend", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  font-weight: 400;
  line-height: 1.4;
}

html,
body {
  min-width: 320px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.3px;
}

:root {
  --accent-font: "Nixie One", system-ui;
}

/*/ ///////// SITE HEADER ///////////*/

.site-header {
  background: #ffb81f;
  padding: 1.5rem 0 0 0;
  position: relative;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 52px;
  bottom: -50px;
  background: url("/images/wave-orange.svg") no-repeat center bottom;
  background-size: cover;
  z-index: 100;
}

.site-header-container {
  display: flex;
  max-width: 1300px;
  margin: 0 auto;
  justify-content: flex-start;
  align-items: center;
  gap: 3rem;
}

.logo img {
  height: 110px;
}

.desktop-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0 0 0.7rem 0;
}

.desktop-nav a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 1.05rem;
  color: #404042;
  font-weight: 300;
  transition: color 0.3s ease;
}

.desktop-nav a:hover {
  color: #717171;
}

.desktop-nav a.active {
  font-weight: 700;
}

/*///////// HAMBURGER MOBILE MENU //////////*/

.hamburger-toggle {
  display: none;
}

@media (max-width: 749px) {
  .desktop-nav {
    display: none;
  }

  .site-header {
    padding: 1.5rem 1.3rem;
  }

  .site-header::after {
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    top: 125px;
  }

  .site-header-container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
  }

  .hamburger-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 2.5rem;
    padding: 0 1rem 0.5rem 0;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
  }
}

/*///////// HERO HEADER /////////*/

.hero-header {
  background-color: #ffd17a;
  padding: 5rem 0 6rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 95%, 0 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  max-width: 1100px;
  margin: 0 auto;
  gap: 0rem;
  align-items: center;
  padding: 0 0 1.5rem 0;
}

.hero-grid img {
  width: 75%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 0 0 1rem 0;
}

.hero-subtitle {
  text-align: center;
  font-size: 5.4rem;
  font-family: var(--accent-font);
  line-height: 6rem;
}

#roll {
  transition: opacity 0.25s ease;
  display: inline-block;
  font-weight: 600;
}

.hero-tag {
  text-align: center;
  font-size: 1.3rem;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  font-weight: 400;
  background-color: #ffb81f;
  padding: 1rem 0;
  max-width: 75%;
  margin: 0 auto 3rem;
}

/* Mobile Overrides */
@media (max-width: 749px) {
  .hero-header {
    padding: 2rem 0 5rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0rem;
  }

  .hero-grid img {
    width: 40%;
  }

  .hero-subtitle {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .hero-tag {
    font-size: 0.9rem;
    max-width: 75%;
    padding: 1rem 2rem 1rem 2rem;
    margin: 0 auto;
  }
}

/*////////// FOOTER ///////////*/

.footer {
  background-color: #404042;
  color: #fff;
  font-weight: 200;
  text-transform: uppercase;
  text-align: center;
  padding: 8rem 1rem;
  margin-top: 16rem;
  letter-spacing: 1px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-logo img {
  height: 125px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
}

.footer-socials img {
  width: 40px;
  height: 40px;
  transition: transform 0.4s ease;
}

.footer-socials img:hover {
  transform: scale(1.03);
}

.footer-copyright {
  font-size: 0.85rem;
  letter-spacing: 1.2px;
  padding-top: 2rem;
}

/* 
////////// 
////////// 
////////// 
////////// 
////////// 
////////// 
////////// 
////////// 
////////// 
////////// 
////////// 
////////// 
////////// 
////////// EAH COPIED ---- SITE BASICS ///////////

.dot-divider {
  text-align: center;
  margin: 1rem 0;
}

.dot-divider img {
  max-width: 40%;
  height: auto;
}

.dot-divider-product {
  text-align: left;
  margin: 1rem 0 1rem -3rem;
}

.dot-divider-product img {
  max-width: 70%;
  height: auto;
}

 Mobile 
@media (max-width: 768px) {
  .dot-divider img {
    max-width: 80%;
    height: auto;
  }
}





.dot {
  color: #fff;
}





///////// INTRO SECTION /////////

.intro-section {
  background-color: #f4efef;
  padding: 1.5rem 0 2.5rem 0;
  position: relative;
}

.intro-section::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 50px;
  bottom: -50px;
  background: url("images/scallop.svg") no-repeat center bottom;
  background-size: cover;
}

.intro-container {
  max-width: 1000px;
  width: 100%;
  margin: 1rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.intro-container img {
  width: 250px;
  height: auto;
  max-width: 40vw;
}

.intro-hi {
  margin: 1rem 0;
  color: #9f7e7c;
  font-size: 1.5rem;
  font-weight: 600;
}

.intro-body {
  font-weight: 200;
  letter-spacing: 0.8px;
  padding: 0rem 0 1rem 0;
}

.intro-link {
  text-decoration: none;
  font-weight: 500;
  color: #9f7e7c;
}

.intro-link:hover {
  opacity: 0.8;
}

Mobile 
@media (max-width: 768px) {
  .intro-section {
    padding: 2rem 0 1rem 0;
  }

  .intro-container {
    flex-direction: column;
    align-items: start;
    gap: 0px;
    max-width: 90%;
  }

  .intro-container img {
    width: 200px;
    height: auto;
    max-width: none;
  }

  .intro-copy {
    width: 100%;
    max-width: 40rem;
    text-align: left;
  }
}

//////// SANDCASTLE SECTION ///////////

.sandcastle-container {
  text-align: center;
  max-width: 90%;
  margin: 0 auto;
  padding: 4rem 0 0 0;
}

.sandcastle-title {
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #404042;
  line-height: 31px;
}

///////// REPEATED PROJECT CODE ///////////

.project-title {
  font-size: 1.4rem;
  letter-spacing: 1.3px;
  font-weight: 300;
  text-transform: uppercase;
  color: #404042;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 500;
  color: #9f7e7c;
  margin-bottom: 1rem;
}

.back-button {
  display: block;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 1px;
  margin-top: 2rem;
  font-size: 1.2rem;
  color: #9f7e7c;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.back-button:hover {
  opacity: 0.7;
}

///////// ECOM SECTION ///////////

.ecom-container {
  text-align: center;
  max-width: 90%;
  margin: 0 auto;
  padding: 1rem 0 0 0;
}

.ecom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 20px auto 0;
}

.ecom-grid a {
  display: block;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 913 / 571;
}

.ecom-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.4s ease;
  display: block;
}

.ecom-grid a:hover img {
  transform: scale(1.02);
}

Mobile 
@media (max-width: 640px) {
  .ecom-grid {
    grid-template-columns: 1fr;
  }
}

////////// FONT FOUNDRY ///////////

.font-foundry-container {
  position: relative;
  text-align: center;
  margin: 8rem auto 5rem;
  padding: 2rem 0;
  background-color: #f4efef;
  overflow: visible;
  z-index: 1;
}

.font-foundry-container::before,
.font-foundry-container::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  height: 50px;
  background-image: url("images/scallop.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.font-foundry-container::before {
  bottom: 100%;
  margin-bottom: -1px;
  transform: translateX(-50%) scaleY(-1);
}

.font-foundry-container::after {
  top: 100%;
  margin-top: -1px;
}

.fonts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 20px auto 0;
}

.fonts-grid a {
  overflow: hidden;
}

.fonts-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.4s ease;
  display: block;
}

.fonts-grid a:hover img {
  transform: scale(1.02);
}

@media (max-width: 640px) {
  .fonts-grid {
    max-width: 90%;
  }
}

.browse-fonts {
  display: inline-block;
  margin: 2rem 0;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 1px;
  color: #9f7e7c;
}

.browse-fonts:hover {
  opacity: 0.7;
}

Mobile 
@media (max-width: 640px) {
  .fonts-grid {
    grid-template-columns: 1fr 1fr;
  }
}

//////// EXTRACURRICULAR PURSUITS CONTAINER ///////////

.extracurricular-container {
  text-align: center;
  max-width: 90%;
  margin: 0 auto;
  padding: 1rem 0 0 0;
}

.extracurricular-title-image img {
  align-items: center;
  max-width: 40%;
  padding-bottom: 0.4rem;
}

.extracurricular-intro {
  font-size: 1.1rem;
  letter-spacing: 2px;
  font-weight: 300;
  text-transform: uppercase;
  color: #404042;
}

.extracurricular-columns {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 0rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 0.5rem;
  margin-bottom: 3rem;
}

.extracurricular-image img {
  width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.substack-logo img {
  width: 150px;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 1.3rem 0;
}

.extracurricular-text {
  font-weight: 200;
  letter-spacing: 0.8px;
  padding: 0rem 0 1rem 0;
  text-wrap: balance;
}

.subscribe-button {
  display: inline-block;
  margin: 1rem 0;
  padding: 0.9rem 4rem;
  border-radius: 10px;
  background-color: #9f7e7c;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

.subscribe-button:hover {
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.extracurricular-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  max-width: 1200px;
  margin: 1rem auto 0;
}

.extracurricular-grid a {
  display: block;
  overflow: hidden;
  border-radius: 2px;
}

.extracurricular-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
  display: block;
}

.extracurricular-grid a:hover img {
  opacity: 0.8;
}

.extracurricular-item {
  display: flex;
  flex-direction: column;
}

.extracurricular-item img {
  width: 100%;
  height: auto;
  display: block;
}

.extracurricular-item a {
  text-decoration: none;
  color: #9f7e7c;
}

.extracurricular-title {
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 400;
  color: #404042;
}

.extracurricular-date {
  font-size: 0.8rem;
  font-weight: 300;
  padding-bottom: 0.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.extracurricular-subtitle {
  margin-top: 6px;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 200;
  letter-spacing: 0.5px;
  padding: 0 2rem;
}

.extracurricular-link {
  margin-top: 8px;
  font-size: 1rem;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.extracurricular-link:hover {
  opacity: 0.7;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.loopy-divider {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.loopy-divider img {
  width: 100%;
  height: auto;
  display: block;
  padding-top: 4rem;
}

Mobile 
@media (max-width: 768px) {
  .extracurricular-container {
    max-width: 90%;
  }
  .extracurricular-columns {
    grid-template-columns: 1fr;
    margin: 0.5rem auto 1.5rem;
  }
  .extracurricular-image img {
    width: 65%;
  }
  .extracurricular-title-image img {
    max-width: 90%;
  }
  .extracurricular-grid {
    grid-template-columns: 1fr;
  }
  .extracurricular-subtitle {
    padding: 0;
  }
  .extracurricular-intro {
    font-size: 0.9rem;
  }
  .extracurricular-item img {
    padding-top: 3rem;
  }
}

////////// ALL FONTS COLLECTION PAGE ///////////

.page-fonts-title {
  font-size: 3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #404042;
  padding-top: 1rem;
}

.page-fonts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  max-width: 80%;
  margin: 6rem auto 0;
}

.page-fonts-grid a {
  overflow: hidden;
}

.page-fonts-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.4s ease;
  display: block;
}

.page-fonts-grid a:hover img {
  transform: scale(1.02);
}

@media (max-width: 640px) {
  .page-fonts-grid {
    max-width: 90%;
  }
}

///////// INDIVIDUAL FONT PAGES ///////////

.indiv-font-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 2rem;
  align-items: start;
  max-width: 90%;
  margin: 6rem auto 8rem;
}

.indiv-font-images {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  max-width: 100%;
  margin: 0 auto;
}

.indiv-font-images img {
  width: 100%;
  height: auto;
  display: block;
}

.indiv-font-content h3 {
  font-size: 2.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 200;
  margin: 3rem 0 1rem;
}

.indiv-font-content h4 {
  margin-bottom: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.6px;
  line-height: 27px;
}

.indiv-font-content p {
  margin-bottom: 2rem;
  max-width: 40ch;
}

.product-copy {
  font-weight: 300;
  letter-spacing: 0.6px;
  padding: 0 0 1rem 0;
  line-height: 24px;
}

.product-faqs-header {
  font-weight: 500;
  letter-spacing: 0.3px;
}

.product-faqs {
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  padding: 0 0 1rem 0;
  line-height: 25px;
}

.product-highlights__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  list-style: none;
}

.product-highlights__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-highlights__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.product-faqs ul {
  padding-left: 1.25rem;
  list-style-position: outside;
}

.add-to-cart-button {
  display: inline-block;
  margin: 1rem 0;
  padding: 0.9rem 4rem;
  border-radius: 10px;
  background-color: #9f7e7c;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

.add-to-cart-button:hover {
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

 Mobile 
@media (max-width: 768px) {
  .indiv-font-grid {
    grid-template-columns: 1fr;
  }
  .indiv-font-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem;
  }
  .indiv-font-content h3 {
    margin: 1rem 0;
  }
}


*/
