@import url('https://fonts.googleapis.com/css2?family=Gelasio:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Proza+Libre:wght@400;600;700&display=swap');

:root {
  --cream: #fef7ec;
  --nav: rgba(0, 0, 0, 0.42);
  --frame: #545f71;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Gelasio, Georgia, serif;
  background: var(--cream);
  color: #000;
}

/* —— Nav —— */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--nav);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transform: translateY(0);
  transition: transform 280ms cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.site-nav.site-nav--hidden {
  transform: translateY(-100%);
}

.site-nav__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-nav__logo img {
  display: block;
  width: 250px;
  height: auto;
}

/* Hamburger: hidden on large screens */
.site-nav__menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 0;
}

/* Close icon: hidden by default, shown via JS when menu is open */
.menu-icon--close {
  display: none;
}

.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.75rem, 2vw, 3rem);
}

.site-nav__links a {
  font-family: 'Proza Libre', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.4px;
  color: var(--cream);
  text-decoration: none;
  transition: transform 0.2s, color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
  max-width: 120px;
}

.site-nav__label {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.1;
}

.site-nav__sub {
  display: block;
  font-family: 'Proza Libre', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
  letter-spacing: -0.02em;
  white-space: normal;
  overflow-wrap: anywhere;
}

.site-nav__links a:hover {
  color: #fff;
  transform: scale(1.05);
}

.site-nav__sep {
  font-family: 'Proza Libre', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--cream);
}

@media (max-width: 1160px) {
  /* Show hamburger on small screens */
  .site-nav__menu-toggle {
    display: block;
    z-index: 1100;
    position: relative;
  }

  /* Nav links: hidden by default on mobile, shown when .open is toggled */
  .site-nav__links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(19, 48, 63, 0.92);
    backdrop-filter: blur(2px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    gap: 2rem;
    text-align: center;
    padding: 0;
  }

  .site-nav__links.open {
    display: flex;
  }

  .site-nav__label {
    overflow-wrap: normal;
  }

  .site-nav__links a {
    color: var(--cream);
    font-family: 'Proza Libre', sans-serif;
    font-weight: 600;
    font-size: clamp(2rem, 7vw, 2.9rem);
    text-align: center;
    margin: 0.5rem 0;
    transition: color 0.16s, transform 0.16s;
    letter-spacing: -0.025em;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: none;
  }

  .site-nav__links a .site-nav__sub {
    font-size: clamp(1rem, 3vw, 1.4rem);
    color: #e0d0bc;
    font-weight: 400;
    margin-top: 0.18em;
    opacity: 0.85;
  }

  .site-nav__sep {
    display: none;
  }
}

/* —— Shared buttons —— */
.story__btn {
  align-self: flex-start;
  border: none;
  border-radius: 6px;
  padding: 0.8rem 1.35rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.story__copy--end .story__btn {
  align-self: flex-end;
}

.story__btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.story__btn span {
  font-family: 'Proza Libre', sans-serif;
  font-weight: 600;
  font-size: clamp(17px, 1.6vw, 24px);
  color: var(--cream);
  letter-spacing: -0.64px;
}

/* —— Footer —— */
.site-footer {
  position: relative;
  overflow: hidden;
  height: 520px;
}

.site-footer__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  line-height: 0;
}

.site-footer__bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
}

.site-footer__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-bottom: 3rem;
}

.site-footer__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-footer__brand img {
  width: 64px;
  height: auto;
  flex-shrink: 0;
}

.site-footer__brand h3 {
  font-family: 'Proza Libre', sans-serif;
  font-weight: 600;
  color: var(--cream);
  font-size: clamp(36px, 3.8vw, 54px);
  letter-spacing: -1.09px;
  margin: 0;
  line-height: 1.1;
}

.site-footer__brand p {
  font-family: 'Proza Libre', sans-serif;
  font-weight: 400;
  color: var(--cream);
  font-size: clamp(24px, 2.5vw, 36px);
  letter-spacing: 2.9px;
  margin: 0.25rem 0 0;
  line-height: 1.1;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.site-footer__icon {
  order: 2;
  width: clamp(40px, 5.2vw, 58px);
  height: clamp(40px, 5.2vw, 58px);
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-footer__icon:hover {
  transform: scale(1.08);
}

.site-footer__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.site-footer__about {
  order: 1;
  flex-basis: 100%;
  font-family: Gelasio, Georgia, serif;
  font-size: clamp(18px, 2.2vw, 36px);
  color: var(--cream);
  letter-spacing: -0.72px;
  text-decoration: none;
  margin-left: 0;
  transition: color 0.2s, transform 0.2s;
  white-space: nowrap;
  text-align: right;
}

.site-footer__about:hover {
  color: #fff;
  transform: scale(1.05);
}


@media (max-width: 768px) {

  .site-footer {
    height: 320px;
  }.site-header {
    overflow-x: hidden;
    width: 100vw;
    max-width: 100vw;
  }
  .nav,
  .site-header__nav,
  .site-header__inner {
    overflow-x: hidden;
    width: 100vw;
    max-width: 100vw;
  }
  html, body {
    overflow-x: hidden !important;
    width: 100vw;
    max-width: 100vw;
  }

  .site-footer__about {
    font-size: 18px;
  }

  .site-footer {
    position: relative;
    overflow: hidden;
    height: 520px;
  }
  
  .site-footer__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    line-height: 0;
  }
  
  .site-footer__bg img {
    width: 300vw;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: left-start;
  }
  
  .site-footer__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 3rem;
  }
  
  .site-footer__inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
  }
 
  .site-footer__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .site-footer__brand img {
    width: 64px;
    height: auto;
    flex-shrink: 0;
  }
  
  .site-footer__brand h3 {
    font-family: 'Proza Libre', sans-serif;
    font-weight: 600;
    color: var(--cream);
    font-size: clamp(36px, 3.8vw, 54px);
    letter-spacing: -1.09px;
    margin: 0;
    line-height: 1.1;
  }
  
  .site-footer__brand p {
    font-family: 'Proza Libre', sans-serif;
    font-weight: 400;
    color: var(--cream);
    font-size: clamp(24px, 2.5vw, 36px);
    letter-spacing: 2.9px;
    margin: 0.25rem 0 0;
    line-height: 1.1;
  }
  
  .site-footer__social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }
  
  .site-footer__icon {
    order: 2;
    width: clamp(40px, 5.2vw, 58px);
    height: clamp(40px, 5.2vw, 58px);
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .site-footer__icon:hover {
    transform: scale(1.08);
    background: #fff;
  }
  
  .site-footer__icon svg {
    width: 100%;
    height: 100%;
    display: block;
  }
  
  .site-footer__about {
    order: 1;
    flex-basis: 100%;
    font-family: Gelasio, Georgia, serif;
    font-size: clamp(25px, 2.2vw, 40px);
    color: var(--cream);
    letter-spacing: -0.72px;
    text-decoration: none;
    margin-left: 0;
    transition: color 0.2s, transform 0.2s;
    white-space: nowrap;
    text-align: center;
  }
  
  .site-footer__about:hover {
    color: #fff;
    transform: scale(1.05);
  }
}



