:root {
  --ink: #3d4148;
  --muted: #6f747b;
  --line: #e7e1c9;
  --cream: #f3f0d9;
  --cream-deep: #ebe6c5;
  --gold: #c6ab4d;
  --charcoal: #3f3f3f;
  --charcoal-deep: #303030;
  --white: #fff;
  --shadow: 0 12px 24px rgba(57, 52, 32, .14);
}

* {
  box-sizing: border-box;
}

html {
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: #526070;
  text-underline-offset: 2px;
}

img {
  max-width: 100%;
  display: block;
}

.topbar {
  background: #737373;
  color: var(--white);
  font-size: 16px;
}

.topbar__inner {
  width: min(1800px, calc(100% - 120px));
  margin: 0 auto;
  height: 50px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar a,
.site-footer a {
  color: inherit;
  text-decoration: none;
}

.masthead {
  position: relative;
  min-height: 170px;
  padding: 10px min(60px, 5vw);
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.brand {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  background: var(--white);
}

.brand img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0;
}

.main-nav > a,
.nav-group > button {
  color: #626772;
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 12px 0;
  font: inherit;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-group {
  position: relative;
}

.nav-menu {
  position: absolute;
  top: 100%;
  left: -18px;
  width: 250px;
  padding: 10px 0;
  background: var(--white);
  box-shadow: var(--shadow);
  display: none;
  z-index: 10;
}

.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu {
  display: block;
}

.nav-menu a {
  display: block;
  padding: 10px 18px;
  color: #525866;
  text-decoration: none;
  text-transform: none;
}

.menu-toggle {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #d5d5d5;
  background: var(--white);
  color: var(--ink);
}

main {
  background: linear-gradient(90deg, var(--cream), #f7f5e3 48%, var(--cream));
}

.page {
  width: min(1800px, calc(100% - 120px));
  margin: 0 auto;
  padding: 26px 0 40px;
}

.page-title {
  margin: 0 0 28px;
  color: var(--gold);
  font-weight: 300;
  font-size: 32px;
  line-height: 1.2;
}

.hero {
  min-height: 610px;
  padding: 58px 48px;
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(280px, 500px) 1fr;
  align-items: center;
  gap: 8vw;
}

.hero__copy h1 {
  margin: 0 0 22px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.04;
}

.hero__copy p,
.content-panel p,
.detail-copy p,
.product-description li {
  color: #565b63;
  line-height: 1.75;
  font-size: 16px;
}

.hero__image {
  justify-self: center;
  width: min(680px, 100%);
  max-height: 560px;
  object-fit: contain;
}

.primary-link {
  display: inline-block;
  margin-top: 18px;
  color: #4c5968;
  text-transform: uppercase;
  font-size: 13px;
}

.content-panel {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 54px;
}

.content-panel h2,
.content-panel h3,
.detail-copy h2,
.detail-copy h3 {
  color: var(--gold);
  font-weight: 300;
  margin: 0 0 16px;
}

.product-description ul,
.product-description ol {
  margin: 16px 0;
  padding-left: 22px;
}

.product-description p {
  margin: 0 0 14px;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 48%);
  gap: 46px;
  align-items: start;
}

.story-grid img {
  background: #fafafa;
  object-fit: contain;
  max-height: 720px;
  margin: 0 auto;
}

.awards {
  columns: 2;
  column-gap: 40px;
  padding-left: 18px;
  color: #5b6068;
  line-height: 1.8;
}

.section-heading {
  margin: 54px 0 22px;
  color: var(--gold);
  font-weight: 300;
  font-size: 28px;
}

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

.product-card {
  min-height: 356px;
  padding: 22px 30px 16px;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  margin: auto 0 18px;
}

.product-card__placeholder {
  width: 100%;
  height: 250px;
  margin: auto 0 18px;
  background: linear-gradient(#fff, #fbfbfb);
}

.product-card a,
.product-card span {
  color: #465564;
  font-size: 13px;
  line-height: 1.45;
  text-transform: uppercase;
  text-decoration: underline;
}

.notice {
  margin: 22px 0;
  padding: 16px 18px;
  background: rgba(255,255,255,.72);
  border-left: 3px solid var(--gold);
  color: #59606a;
}

.detail {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 46px;
  display: grid;
  grid-template-columns: minmax(240px, 42%) 1fr;
  gap: 48px;
}

.detail-media {
  display: grid;
  place-items: start center;
  background: #fff;
}

.detail-media img {
  max-height: 520px;
  object-fit: contain;
}

.detail-copy h1 {
  margin: 0 0 22px;
  color: var(--gold);
  font-weight: 300;
  font-size: 30px;
  line-height: 1.25;
}

.detail-copy ul {
  padding-left: 19px;
  color: #565b63;
  line-height: 1.75;
}

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

.contact-block {
  min-height: 220px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 36px;
}

.contact-block h2 {
  margin: 0 0 18px;
}

.form-placeholder {
  margin-top: 30px;
  border: 1px solid #e2dcc4;
  padding: 28px;
  background: #fffdf1;
  color: #5d6269;
}

.site-footer {
  background: var(--charcoal);
  color: #f2f2f2;
}

.footer-contact {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 26px min(60px, 5vw);
}

.footer-contact span {
  margin-right: 8px;
  color: var(--white);
}

.copyright {
  min-height: 88px;
  background: var(--charcoal-deep);
  display: grid;
  place-items: center;
  font-size: 14px;
}

@media (max-width: 980px) {
  .topbar__inner,
  .page {
    width: min(100% - 32px, 900px);
  }

  .masthead {
    min-height: 124px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand,
  .brand img {
    width: 112px;
    height: 112px;
  }

  .menu-toggle {
    display: block;
    margin-top: 36px;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-group > button,
  .main-nav > a {
    width: 100%;
    text-align: left;
  }

  .nav-menu {
    position: static;
    display: block;
    width: 100%;
    box-shadow: none;
    background: #f1f1f1;
  }

  .hero,
  .story-grid,
  .detail,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .topbar__inner {
    height: auto;
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .hero,
  .content-panel,
  .detail,
  .contact-block {
    padding: 26px;
  }

  .hero__copy h1 {
    font-size: 38px;
  }

  .page-title {
    font-size: 28px;
  }

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

  .product-card {
    min-height: 300px;
  }

  .product-card img,
  .product-card__placeholder {
    height: 210px;
  }

  .awards {
    columns: 1;
  }
}
