:root {
  color-scheme: light;
  --hat-ink: #252923;
  --hat-gold: #92773b;
  --hat-paper: #f7f4ec;
  --hat-line: #ddd8c9;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--hat-paper);
  color: var(--hat-ink);
  font-family: "Source Sans 3", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
}
button,
a,
input:focus-visible {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--hat-gold);
}
[hidden] {
  display: none !important;
}
.hat-header {
  max-width: 1440px;
  margin: auto;
  padding: 27px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--hat-line);
}
.hat-wordmark {
  text-decoration: none;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -1.3px;
}
.hat-wordmark span {
  color: var(--hat-gold);
}
.hat-header-link {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  gap: 18px;
}
.hat-header-link:hover {
  color: var(--hat-gold);
}
.hat-main {
  max-width: 1440px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
.hat-product {
  min-width: 0;
  padding: 44px 6% 38px 11%;
  border-right: 1px solid var(--hat-line);
}
.hat-eyebrow {
  font-size: 11px;
  letter-spacing: 2.1px;
  font-weight: 700;
  color: var(--hat-gold);
  display: block;
  line-height: 1.6;
}
.hat-product-intro p {
  margin: 6px 0 22px;
  font-size: 16px;
  color: #797b70;
}
.hat-image-stage {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hat-image-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.hat-gallery {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.hat-thumb {
  width: 78px;
  height: 78px;
  padding: 4px;
  border: 1px solid transparent;
  background: white;
  border-radius: 6px;
  cursor: pointer;
}
.hat-thumb[aria-pressed="true"] {
  border-color: var(--hat-gold);
}
.hat-thumb:hover {
  border-color: var(--hat-line);
}
.hat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 3px;
}
.hat-photo-caption {
  color: #78796f;
  font-size: 13px;
  margin: 12px 0 0;
}
.hat-signup {
  padding: 74px 14% 48px 12%;
  align-self: center;
  min-width: 0;
}
h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 400;
  font-size: clamp(44px, 4.9vw, 68px);
  line-height: 1.04;
  letter-spacing: -2.8px;
  margin: 21px 0 21px;
}
h1 em {
  font-weight: 400;
  color: var(--hat-gold);
}
.hat-lead {
  font-size: 17px;
  line-height: 1.7;
  color: #666b60;
  margin: 0;
  max-width: 390px;
}
.hat-rule {
  height: 1px;
  background: var(--hat-line);
  width: 100%;
  margin: 29px 0;
}
.hat-field {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 18px;
}
.hat-field input {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  border: 1px solid #d6d3c7;
  border-radius: 5px;
  padding: 13px 14px;
  background: #fffefb;
  font-size: 16px;
  color: var(--hat-ink);
  min-height: 50px;
}
.hat-field input::placeholder {
  color: #989b90;
  font-weight: 400;
}
.hat-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13px;
  line-height: 1.5;
  color: #686c62;
  margin: 6px 0 24px;
  cursor: pointer;
}
.hat-consent input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 2px 0;
  accent-color: var(--hat-gold);
}
.hat-submit {
  width: 100%;
  background: var(--hat-ink);
  color: white;
  border: 1px solid var(--hat-ink);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  min-height: 56px;
  transition: background 0.15s;
}
.hat-submit:hover {
  background: #41483c;
}
.hat-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
.hat-fineprint {
  font-size: 12px;
  line-height: 1.6;
  color: #777d70;
  margin: 15px 0 0;
}
.hat-privacy {
  font-size: 12px;
  line-height: 1.6;
  color: #777d70;
  margin: 12px 0 0;
}
.hat-privacy a {
  text-underline-offset: 3px;
}
.hat-error {
  font-size: 14px;
  line-height: 1.5;
  background: #fff2e9;
  border: 1px solid #eacfc3;
  color: #864729;
  padding: 12px;
  border-radius: 5px;
  margin: 0 0 16px;
}
.hat-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hat-success {
  padding: 24px;
  border: 1px solid #c8d2bc;
  border-radius: 6px;
  background: #edf2e7;
  line-height: 1.6;
}
.hat-success h2 {
  font:
    400 30px "Source Serif 4",
    Georgia,
    serif;
  margin: 8px 0;
}
.hat-success p {
  font-size: 15px;
}
.hat-success-mark {
  color: #536843;
  font-size: 30px;
}
.hat-secondary {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  text-underline-offset: 4px;
}
.hat-footer {
  max-width: 1440px;
  margin: auto;
  border-top: 1px solid var(--hat-line);
  padding: 24px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #7c8074;
  font-size: 12px;
}
.hat-footer-dot {
  padding: 0 8px;
  color: var(--hat-gold);
}
.hat-footer nav {
  display: flex;
  gap: 24px;
}
.hat-footer a {
  text-decoration: none;
}
.hat-footer a:hover {
  text-decoration: underline;
}
@media (min-width: 1441px) {
  .hat-header,
  .hat-footer {
    padding-left: 80px;
    padding-right: 80px;
  }
}
@media (max-width: 850px) {
  .hat-product {
    padding: 35px 7%;
  }
  .hat-signup {
    padding: 44px 9%;
  }
  h1 {
    font-size: 48px;
  }
}
@media (max-width: 620px) {
  html {
    scroll-padding-top: 20px;
  }
  .hat-header {
    padding: 20px 6%;
    gap: 12px;
  }
  .hat-wordmark {
    font-size: 27px;
  }
  .hat-header-link {
    font-size: 13px;
    gap: 7px;
  }
  .hat-main {
    display: flex;
    flex-direction: column;
  }
  .hat-product {
    border-right: 0;
    padding: 28px 6% 22px;
  }
  .hat-product-intro p {
    margin-bottom: 14px;
  }
  .hat-image-stage {
    max-height: 430px;
    aspect-ratio: 1/1;
  }
  .hat-eyebrow {
    font-size: 10px;
    letter-spacing: 1.6px;
  }
  .hat-gallery {
    gap: 10px;
    margin-top: 14px;
  }
  .hat-thumb {
    width: calc((100% - 30px) / 4);
    max-width: 78px;
    height: auto;
    aspect-ratio: 1;
  }
  .hat-signup {
    padding: 30px 7% 44px;
    border-top: 1px solid var(--hat-line);
    align-self: stretch;
  }
  h1 {
    font-size: 50px;
    letter-spacing: -2px;
    margin: 18px 0;
  }
  .hat-lead {
    font-size: 16px;
    line-height: 1.65;
  }
  .hat-rule {
    margin: 23px 0;
  }
  .hat-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 23px 7%;
    gap: 16px;
  }
  .hat-footer nav {
    gap: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hat-submit {
    transition: none;
  }
}
