
/* =========================================================
   TERENCIO VERDE
   SHARED SITE STYLES
   ========================================================= */


/* =========================================================
   BRAND COLORS
   ========================================================= */

:root {
  --forest: #18392b;
  --forest-deep: #0b2118;
  --forest-black: #07150f;

  --cream: #f2eadb;
  --cream-light: #faf6ee;

  --taupe: #b9a78d;
  --brown: #4a3528;
  --brown-dark: #241a14;

  --gold: #b38a43;
  --gold-light: #d0ae68;
  --gold-dark: #826126;

  --black: #171713;
  --white: #fffdf8;

  --page-width: 1400px;

  --side-padding: 7%;
}


/* =========================================================
   RESET
   ========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  scroll-behavior: smooth;
}


body {
  min-height: 100vh;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  background: var(--cream);

  color: var(--black);

  overflow-x: hidden;
}


img {
  display: block;

  max-width: 100%;

  height: auto;
}


a {
  color: inherit;

  text-decoration: none;
}


button,
input,
select,
textarea {
  font: inherit;
}


button {
  cursor: pointer;
}


/* =========================================================
   SHARED TYPOGRAPHY
   ========================================================= */

.serif {
  font-family:
    Georgia,
    "Times New Roman",
    serif;
}


.eyebrow {
  margin-bottom: 18px;

  font-size: .72rem;

  font-weight: 700;

  letter-spacing: 3px;

  text-transform: uppercase;

  color: var(--gold-light);
}


.section-title {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(
      3rem,
      6vw,
      5.5rem
    );

  line-height: .98;

  font-weight: 400;

  color: var(--forest-deep);
}


.section-copy {
  max-width: 760px;

  font-size: 1.05rem;

  line-height: 1.8;

  color: #62645e;
}


/* =========================================================
   SHARED CONTAINER
   ========================================================= */

.site-container {
  width: min(
    var(--page-width),
    100%
  );

  margin: 0 auto;

  padding-left: var(--side-padding);

  padding-right: var(--side-padding);
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;

  top: 0;

  z-index: 1000;

  min-height: 72px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;

  padding:

    0
    max(
      var(--side-padding),
      env(safe-area-inset-right)
    )
    0
    max(
      var(--side-padding),
      env(safe-area-inset-left)
    );

  background:
    rgba(
      9,
      28,
      20,
      .96
    );

  backdrop-filter:
    blur(14px);

  border-bottom:
    1px solid
    rgba(
      255,
      255,
      255,
      .07
    );

  color: var(--cream);
}


.site-brand {
  flex-shrink: 0;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: .95rem;

  letter-spacing: 2.2px;

  text-transform: uppercase;

  color: var(--cream);
}


.site-nav {
  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: 28px;
}


.site-nav a {
  position: relative;

  min-height: 44px;

  display: inline-flex;

  align-items: center;

  font-size: .7rem;

  font-weight: 600;

  letter-spacing: 1.35px;

  text-transform: uppercase;

  color:
    rgba(
      242,
      234,
      219,
      .72
    );

  transition:
    color .2s ease;
}


.site-nav a::after {
  content: "";

  position: absolute;

  left: 0;

  right: 100%;

  bottom: 9px;

  height: 1px;

  background: var(--gold);

  transition:
    right .25s ease;
}


.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--cream);
}


.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
}


#storeNav {
  display: none;
}


/* =========================================================
   SHARED BUTTONS
   ========================================================= */

.button {
  min-height: 48px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding:
    13px
    22px;

  border:
    1px solid transparent;

  border-radius: 2px;

  font-size: .78rem;

  font-weight: 700;

  letter-spacing: 1px;

  text-transform: uppercase;

  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease,
    transform .2s ease;
}


.button:hover {
  transform:
    translateY(-2px);
}


.button-cream {
  background: var(--cream);

  color: var(--forest-deep);
}


.button-cream:hover {
  background: var(--white);
}


.button-outline {
  border-color:
    rgba(
      242,
      234,
      219,
      .40
    );

  background: transparent;

  color: var(--cream);
}


.button-outline:hover {
  border-color: var(--gold);

  color: var(--gold-light);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding:

    58px
    max(
      var(--side-padding),
      env(safe-area-inset-right)
    )
    calc(
      58px +
      env(safe-area-inset-bottom)
    )
    max(
      var(--side-padding),
      env(safe-area-inset-left)
    );

  background: var(--forest-black);

  border-top:
    1px solid
    rgba(
      179,
      138,
      67,
      .18
    );

  color:
    rgba(
      255,
      255,
      255,
      .55
    );
}


.footer-inner {
  width: min(
    var(--page-width),
    100%
  );

  margin: 0 auto;
}


.footer-mark {
  width: 58px;

  height: 58px;

  margin-bottom: 22px;

  display: flex;

  align-items: center;

  justify-content: center;

  border:
    1px solid
    rgba(
      179,
      138,
      67,
      .48
    );

  border-radius: 50%;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.25rem;

  color: var(--gold-light);
}


.footer-brand {
  display: block;

  margin-bottom: 7px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.45rem;

  font-weight: 400;

  color: var(--cream);
}


.footer-tagline {
  display: block;

  max-width: 620px;

  line-height: 1.6;
}


.footer-contact {
  margin-top: 26px;
}


.footer-label {
  margin-bottom: 6px;

  font-size: .68rem;

  font-weight: 700;

  letter-spacing: 2px;

  text-transform: uppercase;

  color: var(--gold-light);
}


.footer-email {
  min-height: 44px;

  display: inline-flex;

  align-items: center;

  color: var(--cream);

  transition:
    color .2s ease;
}


.footer-email:hover {
  color: var(--gold-light);
}


.footer-copyright {
  margin-top: 28px;

  font-size: .78rem;

  color:
    rgba(
      255,
      255,
      255,
      .38
    );
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible {
  outline:
    2px solid
    var(--gold-light);

  outline-offset:
    4px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media
(max-width: 900px) {

  :root {
    --side-padding: 6%;
  }


  .site-header {
    min-height: 66px;
  }


  .site-nav {
    gap: 18px;
  }


  .site-nav a {
    font-size: .66rem;
  }

}


@media
(max-width: 700px) {

  .site-nav {
    display: none;
  }


  .site-header {
    min-height: 64px;
  }


  .section-copy {
    font-size: 1rem;
  }


  .site-footer {
    padding-top: 48px;
  }

}
