:root {
  --ink: #071123;
  --gold: #bd8617;
  --leaf: #4f912d;
  --paper: #fffdfa;
  --muted: #9b6e18;
  --rule: #e7dcc8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

.page-shell {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  padding: 26px clamp(18px, 4vw, 56px) 18px;
  background: var(--paper);
}

.page-shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: var(--ink);
}

.site-nav {
  position: absolute;
  top: 27px;
  right: clamp(18px, 4vw, 56px);
  z-index: 20;
  display: grid;
  justify-items: end;
}

.menu-button {
  display: grid;
  gap: 5px;
  width: 31px;
  height: 27px;
  padding: 3px 1px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 3px;
  border-radius: 99px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  gap: 4px;
  min-width: 178px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.98);
  box-shadow: 0 14px 32px rgba(7, 17, 35, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.submenu-toggle {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
}

.submenu-toggle::after {
  content: "+";
  float: right;
  color: var(--gold);
}

.has-submenu.is-open .submenu-toggle::after {
  content: "-";
}

.submenu {
  display: none;
  margin: 2px 0 0;
  padding: 0 0 0 10px;
  list-style: none;
}

.has-submenu.is-open .submenu {
  display: grid;
  gap: 2px;
}

.submenu a {
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.submenu-toggle:hover,
.submenu-toggle:focus-visible {
  background: #f4ead9;
  color: var(--gold);
  outline: 0;
}

.brand {
  display: grid;
  justify-items: center;
  padding: 8px 0 25px;
}

.logo {
  width: min(472px, 68vw);
  height: auto;
  display: block;
}

.content-wrap {
  width: min(100%, 920px);
  margin-inline: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(58px, 1fr) auto minmax(58px, 1fr);
  align-items: center;
  gap: 13px;
  margin: 1px auto 7px;
  width: min(388px, 100%);
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3.4vw, 26px);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
}

.ornament {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament.right {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.ornament::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 19px;
  height: 9px;
  background: var(--gold);
  transform: translateY(-50%);
  clip-path: polygon(0 40%, 58% 40%, 58% 0, 100% 50%, 58% 100%, 58% 60%, 0 60%);
}

.ornament.left::after {
  right: 0;
}

.ornament.right::after {
  left: 0;
  transform: translateY(-50%) rotate(180deg);
}

.solutions > p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(18px, 3vw, 34px);
  row-gap: 27px;
}

.solution-card {
  min-width: 0;
  text-align: center;
}

.solution-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.solution-card img {
  display: block;
  width: 100%;
  aspect-ratio: 149 / 128;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.solution-card a:hover img,
.solution-card a:focus-visible img {
  box-shadow: 0 14px 28px rgba(7, 17, 35, 0.18);
  transform: translateY(-2px);
}

.solution-card a:focus-visible {
  border-radius: 8px;
  outline: 3px solid rgba(189, 134, 23, 0.36);
  outline-offset: 4px;
}

.solution-card h2 {
  margin: 0;
  min-height: 50px;
  color: #050912;
  font-size: clamp(13px, 2.1vw, 15px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.contact {
  margin-top: 27px;
  padding-top: 0;
  border-top: 1px solid var(--rule);
}

.contact-heading {
  width: min(424px, 100%);
  margin-top: -10px;
  margin-bottom: 11px;
  background: var(--paper);
}

.contact-heading h2 {
  color: var(--gold);
  font-size: clamp(19px, 3vw, 22px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.15fr 1.05fr 1fr;
  gap: 0;
}

.contact-item {
  display: grid;
  align-content: start;
  justify-items: center;
  min-height: 134px;
  padding: 2px 13px 0;
  border-left: 1px solid var(--rule);
  text-align: center;
  font-style: normal;
}

.contact-item:first-child {
  border-left: 0;
}

.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.contact-item p {
  margin: 0;
  color: #050912;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 600;
}

.contact-item strong {
  font-weight: 800;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
}

.site-footer {
  margin: 18px calc(clamp(18px, 4vw, 56px) * -1) -18px;
  padding: 3px 12px;
  background: #053b25;
  color: #fff;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
}

.product-page {
  padding: 0;
  background: #071123;
}

.subpage-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 7px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 250, 0.98);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 10px 28px rgba(7, 17, 35, 0.16);
}

.subpage-logo {
  display: inline-flex;
  align-items: center;
  width: auto;
}

.subpage-logo img {
  display: block;
  width: auto;
  height: 34px;
  max-width: 52vw;
}

.subpage-header .site-nav {
  position: static;
  display: grid;
  justify-items: end;
}

.subpage-header .menu-button span {
  background: var(--ink);
}

.pdf-story {
  display: grid;
  gap: clamp(12px, 2vw, 22px);
  width: 100%;
  padding: calc(48px + clamp(10px, 2vw, 22px)) clamp(10px, 2vw, 28px) clamp(16px, 2vw, 28px);
  background: #071123;
}

.pdf-story img {
  display: block;
  width: min(100%, 1280px);
  height: auto;
  margin-inline: auto;
  background: #071123;
}

@media (min-width: 621px) {
  .subpage-header .menu-button {
    display: none;
  }

  .subpage-header .site-nav {
    position: static;
  }

  .subpage-header .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .subpage-header .nav-menu > li {
    position: relative;
  }

  .subpage-header .has-submenu {
    padding-bottom: 8px;
    margin-bottom: -8px;
  }

  .subpage-header .nav-menu a,
  .subpage-header .submenu-toggle {
    padding: 8px 11px;
    font-size: 13px;
    white-space: nowrap;
  }

  .subpage-header .submenu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 110;
    min-width: 190px;
    margin: 0;
    padding: 8px;
    border: 1px solid var(--rule);
    border-radius: 8px;
    background: rgba(255, 253, 250, 0.98);
    box-shadow: 0 14px 32px rgba(7, 17, 35, 0.14);
  }

  .subpage-header .has-submenu:hover .submenu,
  .subpage-header .has-submenu:focus-within .submenu,
  .subpage-header .has-submenu.is-open .submenu {
    display: grid;
    gap: 2px;
  }
}

@media (max-width: 620px) {
  .page-shell {
    padding: 22px 18px 22px;
  }

  .product-page {
    padding: 0;
  }

  .site-nav {
    top: 20px;
    right: 18px;
  }

  .subpage-header {
    min-height: 54px;
    padding: 8px 18px;
  }

  .subpage-header .site-nav {
    position: relative;
    top: auto;
    right: auto;
  }

  .subpage-logo {
    width: auto;
  }

  .subpage-logo img {
    height: 38px;
    max-width: 50vw;
  }

  .pdf-story {
    padding-top: calc(54px + 12px);
  }

  .menu-button {
    width: 29px;
  }

  .brand {
    padding-top: 20px;
  }

  .logo {
    width: min(472px, 82vw);
  }

  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 22px;
  }

  .solution-card h2 {
    font-size: 15px;
  }

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

  .contact-item {
    border-left: 0;
    min-height: 0;
  }
}

@media (max-width: 390px) {
  .page-shell {
    padding-inline: 14px;
  }

  .solutions-grid {
    column-gap: 13px;
  }

  .section-heading {
    gap: 8px;
    grid-template-columns: minmax(34px, 1fr) auto minmax(34px, 1fr);
  }

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