:root {
  --paper: #f4f2eb;
  --ink: #17201b;
  --muted: #667068;
  --line: #c9cbc2;
  --acid: #d7ff5f;
  --white: #fbfaf5;
  --display: 'Iowan Old Style', 'Noto Serif Display', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  --sans: Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

p,
h1 {
  margin-top: 0;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

.shell {
  width: min(100% - 56px, 1120px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.home-page {
  display: grid;
  min-height: 100svh;
  grid-template-rows: 64px minmax(480px, 1fr) 60px;
}

.minimal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.minimal-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.minimal-header a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.products-menu {
  position: relative;
}

.products-menu button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.products-menu button::after {
  content: '+';
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  transition: transform .18s ease;
}

.products-menu button:hover,
.products-menu.is-open button {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.products-menu:hover button::after,
.products-menu:focus-within button::after,
.products-menu.is-open button::after {
  transform: rotate(45deg);
}

.products-menu button:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

.products-dropdown {
  position: absolute;
  z-index: 10;
  top: calc(100% + 14px);
  right: 0;
  display: block;
  width: 254px;
  padding: 10px;
  border: 1px solid rgba(23, 32, 27, .14);
  border-radius: 16px;
  background: rgba(251, 250, 245, .96);
  box-shadow: 0 20px 50px rgba(23, 32, 27, .14), 0 2px 8px rgba(23, 32, 27, .06);
  backdrop-filter: blur(16px);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px) scale(.97);
  transform-origin: top right;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.products-dropdown::before {
  position: absolute;
  top: -14px;
  right: 0;
  left: 0;
  height: 14px;
  content: '';
}

.products-dropdown a {
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 9px 10px;
  border-radius: 11px;
  background: rgba(244, 242, 235, .72);
  gap: 13px;
  transition: background-color .18s ease, transform .18s ease;
}

.minimal-header .products-dropdown a:hover {
  background: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
}

.products-dropdown img {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  flex: 0 0 auto;
  object-fit: contain;
}

.product-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.product-copy strong {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.01em;
}

.product-copy small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .025em;
}

.product-arrow {
  display: grid;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  flex: 0 0 auto;
  font-size: 11px;
  place-items: center;
  transition: transform .18s ease;
}

.products-dropdown a:hover .product-arrow {
  transform: translate(1px, -1px);
}

.products-menu:hover .products-dropdown,
.products-menu:focus-within .products-dropdown,
.products-menu.is-open .products-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.minimal-home {
  min-height: 480px;
}

.name-panel {
  position: relative;
  display: grid;
  height: 100%;
  padding: 40px 0;
  place-items: center;
}

.name-lockup {
  text-align: center;
}

.name-lockup > img,
.name-lockup > svg {
  display: block;
  width: 132px;
  height: 132px;
  margin: 0 auto 6px;
  object-fit: contain;
}

.name-lockup .brand-title {
  display: flex;
  max-width: 1080px;
  align-items: center;
  margin: 0;
  flex-direction: column;
  font: 400 clamp(72px, 8.6vw, 118px)/.86 var(--display);
  font-kerning: normal;
  letter-spacing: -.055em;
  text-align: center;
}

.brand-title > span,
.brand-title a {
  display: block;
  white-space: nowrap;
}

.brand-title a {
  margin-top: 22px;
  color: var(--muted);
  font-size: .32em;
  letter-spacing: .075em;
  line-height: 1;
}

.brand-title a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

.name-lockup > p {
  margin: 34px 0 0;
  color: var(--muted);
  font: 500 11px/1.4 var(--sans);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.minimal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .03em;
}

.minimal-footer a {
  color: var(--ink);
}

.reveal {
  animation: reveal .7s cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.error-page {
  display: grid;
  min-height: 100svh;
  padding: 28px;
  place-items: center;
}

.error-page main {
  text-align: center;
}

.error-page img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.error-page p {
  margin: 20px 0 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .14em;
}

.error-page h1 {
  margin-bottom: 28px;
  font: 400 clamp(42px, 8vw, 72px)/.95 var(--display);
  letter-spacing: -.05em;
}

.error-page a {
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .home-page {
    grid-template-rows: 56px minmax(430px, 1fr) 60px;
  }

  .minimal-header > span {
    display: none;
  }

  .minimal-header nav {
    width: 100%;
    justify-content: flex-end;
  }

  .minimal-home {
    min-height: 430px;
  }

  .name-panel {
    padding: 28px 0;
  }

  .name-lockup > img,
  .name-lockup > svg {
    width: 108px;
    height: 108px;
    margin: 0 auto 4px;
  }

  .name-lockup .brand-title {
    max-width: 100%;
    font-size: clamp(54px, 15.5vw, 70px);
    line-height: .88;
  }

  .brand-title a {
    margin-top: 17px;
    font-size: .36em;
    letter-spacing: .055em;
  }

  .name-lockup > p {
    max-width: 300px;
    margin: 30px auto 0;
    font-size: 10px;
    line-height: 1.55;
  }
}
