@font-face {
  font-family: "Montserrat";
  src: url("/assets/Montserrat.ttf") format("truetype");
  font-weight: 300 700;
}

:root {
  --green: #273928;
  --ivory: #FEFBF5;
  --paper: #F3F1E9;
  --sage: #949D93;
  --orange: #EF5A28;
  --espresso: #190C07;
  --line: rgba(39, 57, 40, .16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  align-items: center;
  background: rgba(254, 251, 245, .94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  min-height: 78px;
  padding: 16px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: flex;
  gap: 14px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand img {
  height: 42px;
  width: auto;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}

.button,
button {
  align-items: center;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 6px;
  color: var(--ivory);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
}

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

.hero {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  min-height: calc(100vh - 78px);
  padding: clamp(42px, 7vw, 96px) clamp(18px, 4vw, 56px) 52px;
}

.hero-copy {
  align-self: center;
  max-width: 760px;
}

.eyebrow {
  color: var(--orange);
  font-size: 13px;
  letter-spacing: .16em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-weight: 300;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(48px, 8vw, 108px);
  max-width: 10ch;
}

h2 {
  font-size: clamp(32px, 4vw, 56px);
}

h3 {
  font-size: 24px;
}

.lead {
  color: var(--green);
  font-size: clamp(18px, 2vw, 24px);
  max-width: 720px;
}

.hero-media {
  align-self: stretch;
  background: var(--paper);
  min-height: 500px;
  overflow: hidden;
}

.hero-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.section {
  padding: 58px clamp(18px, 4vw, 56px);
}

.section-header {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.product-card {
  display: grid;
  gap: 18px;
}

.meta {
  color: var(--green);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.price-row {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.price {
  color: var(--orange);
  font-size: 24px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: calc(100vh - 78px);
}

.sidebar {
  background: var(--green);
  color: var(--ivory);
  padding: 26px;
}

.sidebar nav {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.admin-main {
  padding: 34px clamp(18px, 4vw, 52px);
}

.table {
  border-collapse: collapse;
  width: 100%;
}

.table th,
.table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 10px;
  text-align: left;
  vertical-align: top;
}

.status {
  background: rgba(239, 90, 40, .1);
  border-radius: 999px;
  color: var(--orange);
  display: inline-block;
  font-size: 12px;
  padding: 4px 9px;
}

@media (max-width: 860px) {
  .site-header,
  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero-media {
    min-height: 320px;
  }
}

