@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --cream: #ffffff;
  --paper: #ffffff;
  --sage: #ffffff;
  --green: #173D23;
  --deep: #1f1f1f;
  --muted: #666666;
  --line: #e5e5e5;
  --white: #ffffff;

  --serif: 'Montserrat', sans-serif;
  --sans: 'DM Sans', sans-serif;
  --font-main: 'Montserrat', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}
/* GENERAL */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--deep);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  font-family: var(--font-body);
}

/* ANNOUNCEMENT BAR */

.announcement {
  text-align: center;
  background: var(--green);
  color: #fff;
  padding: 9px 16px;
  font-size: 11px;
  letter-spacing: .09em;
}

/* STANDARD HEADER */

.site-header {
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  position: relative;
  max-width: 1240px;
  margin: auto;
  padding: 15px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
}

/* HAMBURGER */

.menu-toggle {
  display: block;
  justify-self: start;
  background: none;
  border: none;
  color: var(--green);
  font-size: 23px;
  padding: 0;
  cursor: pointer;
  line-height: 1;
  z-index: 3;
}

/* HIDE OLD DESKTOP NAVIGATION */

.nav-links {
  display: none !important;
}

/* CENTERED LOGO */

.nav-wrap .brand {
  grid-column: 2;
  justify-self: center;
  display: block;
  text-align: center;
  line-height: 0;
  z-index: 2;
}

.nav-wrap .brand img {
  height: 25px;
  width: auto;
  display: block;
}

/* CART LINK */

.cart-link {
  grid-column: 3;
  justify-self: end;
  color: var(--green);
  font-size: 10px;
  letter-spacing: 1.5px;
  white-space: nowrap;
  z-index: 3;
}

.cart-link:hover {
  opacity: .65;
}

.site-header .cart-link {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 5px;
  color: #173D23;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .05em;
}

.site-header .cart-link svg {
  display: block;
  width: 21px;
  height: 21px;
}

/* HAMBURGER MENU CONTENT */

.mobile-nav {
  display: none;
  padding: 20px 28px;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.mobile-nav.open {
  display: grid;
  gap: 16px;
}

.mobile-nav a {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
}

.mobile-nav a:hover {
  opacity: .6;
}

/* CONTAINERS */

.container {
  max-width: 1180px;
  margin: auto;
  padding: 0 28px;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: .23em;
  text-transform: uppercase;
  color: var(--muted);
}

/* TYPOGRAPHY */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  font-weight: 500;
  line-height: 1.2;
}

h1 {
  font-size: clamp(30px, 3.5vw, 48px);
  margin: 18px 0;
}

h2 {
  font-size: clamp(25px, 3vw, 36px);
  margin: 0 0 20px;
}

h3 {
  font-size: 21px;
}

h4 {
  font-size: 19px;
}

h5 {
  font-size: 16px;
}

h6 {
  font-size: 14px;
}

p,
li,
label,
.price,
.note {
  font-family: var(--font-body);
}

.lead {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--muted);
  max-width: 530px;
}

/* BUTTONS */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 25px;
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: .2s;
}

.button:hover {
  background: #245332;
  border-color: #245332;
}

.button.outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.button.outline:hover {
  background: var(--green);
  color: white;
}

/* HOMEPAGE HERO */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 610px;
  background: var(--paper);
}

.hero-copy {
  padding: 90px max(40px, calc((100vw - 1180px)/2));
  padding-right: 7%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-art {
  min-height: 500px;
  background: #ffffff;
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-art video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.hero-art:before,
.hero-art:after {
  content: '';
  position: absolute;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  width: 470px;
  height: 470px;
}

.hero-art:after {
  width: 350px;
  height: 350px;
}

.hero-art img {
  width: min(74%, 440px);
  position: relative;
  z-index: 1;
  mix-blend-mode: multiply;
}

/* SECTIONS */

.section {
  padding: 88px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 30px;
}

.section-head p {
  max-width: 400px;
  color: var(--muted);
}

/* PRODUCTS */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.product-card .product-image {
  display: block;
  background: var(--paper);
  overflow: hidden;
}

.product-card img {
  display: block;
  width: 100%;
  transition: transform .5s;
}

.product-card a:hover img {
  transform: scale(1.025);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 2px;
}

.product-meta h3 {
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 3px;
}

.price {
  font-size: 12px;
  color: var(--muted);
}

/* STORY */

.story-band {
  background: #ffffff;
  padding: 82px 24px;
  text-align: center;
}

.story-band p {
  max-width: 600px;
  margin: 0 auto 25px;
  color: var(--muted);
}

/* SPLIT CONTENT */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.split img {
  width: 100%;
  display: block;
  background: var(--paper);
}

.text-block p {
  color: var(--muted);
}

/* PAGE INTRO */

.page-intro {
  text-align: center;
  padding: 75px 20px 48px;
}

.page-intro p {
  max-width: 580px;
  margin: auto;
  color: var(--muted);
}

/* PRODUCT DETAILS */

.product-detail {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  padding: 50px 0 90px;
  align-items: start;
}

.product-detail .product-visual {
  background: var(--paper);
}

.product-detail img {
  width: 100%;
  display: block;
}

.product-info {
  position: sticky;
  top: 120px;
  padding-top: 30px;
}

.product-info h1 {
  font-size: clamp(30px, 3.5vw, 42px);
}

.product-info .price {
  font-size: 16px;
  color: var(--deep);
}

.product-info p {
  color: var(--muted);
}

.product-info .button {
  margin-top: 20px;
}

.note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 14px;
}

/* CONTACT FORM */

.contact-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  padding: 25px 0 90px;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  outline: none;
  color: var(--deep);
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--green);
}

/* FOOTER */

.footer {
  background: #ffffff;
  padding: 55px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 35px;
}

.footer .brand {
  text-align: left;
  font-size: 26px;
}

.footer p,
.footer a {
  font-size: 12px;
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 9px;
}

.copyright {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}

/* TAGS */

.tag {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 6px 10px;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ADD TO CART */

.add-cart-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 13px 10px;
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green);
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all .3s ease;
}

.add-cart-btn:hover {
  background: #fff;
  color: var(--green);
}

.cart-message {
  font-size: 12px;
  color: var(--green);
  margin-top: 8px;
  min-height: 16px;
}

/* CART PAGE */

.cart-section {
  margin: 50px auto;
  padding: 30px;
  max-width: 700px;
  background: #fff;
  border: 1px solid var(--line);
}

.cart-section h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-weight: 600;
}

.checkout-btn {
  display: block;
  width: 100%;
  margin-top: 22px;
  padding: 15px;
  background: var(--green);
  color: white;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 2px;
}

.checkout-btn:hover {
  background: #245332;
}

.empty-cart {
  font-size: 13px;
  color: #777;
}

/* MOBILE AND TABLET */

@media (max-width: 760px) {

  .nav-wrap {
    grid-template-columns: 1fr auto 1fr;
    padding: 13px 18px;
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
    font-size: 22px;
  }

  .nav-links {
    display: none !important;
  }

  .nav-wrap .brand img {
    height: 25px;
  }

  .cart-link {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .mobile-nav {
    padding: 18px 22px 24px;
  }

  .mobile-nav.open {
    display: grid;
    gap: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 65px 28px;
  }

  .hero-art {
    height: 670px;
    min-height: 670px;
  }

  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  .section-head {
    display: block;
  }

  .product-grid {
    gap: 14px;
  }

  .product-meta {
    display: block;
  }

  .product-meta h3 {
    font-size: 17px;
  }

  .split,
  .product-detail,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-detail {
    padding-top: 25px;
  }

  .product-info {
    position: static;
    padding-top: 0;
  }

  .product-info h1 {
    font-size: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .copyright {
    display: block;
    line-height: 2;
  }

  .page-intro {
    padding: 55px 18px 35px;
  }

  .cart-section {
    margin: 30px auto;
    padding: 20px;
  }

}

/* SMALLER CENTERED HEADER LOGO */

.site-header .brand img {
  height: 25px !important;
  width: auto !important;
  max-width: 150px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}
