/* Brand Kit v1.0. Shared by the coming-soon homepage and the gift guide. */

@font-face {
  font-family: "Vollkorn";
  src: url("/brand/fonts/vollkorn/Vollkorn%5Bwght%5D.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cabin";
  src: url("/brand/fonts/cabin/Cabin%5Bwdth%2Cwght%5D.ttf") format("truetype");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-trim-chalk: #F8F6F1;
  --color-clapboard-blue: #5C737B;
  --color-shutter-white: #D1CAC1;
  --color-shingle-ink: #2F221B;
  --color-white: #FFFFFF;
  --color-placeholder: #E8E3DA;
  --font-display: "Vollkorn", Georgia, "Times New Roman", serif;
  --font-text: "Cabin", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  background: var(--color-trim-chalk);
}

body {
  margin: 0;
  background: var(--color-trim-chalk);
  color: var(--color-shingle-ink);
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

img {
  border: 0;
  max-width: 100%;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rule {
  display: block;
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--color-shutter-white);
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 0;
  padding: 12px 24px;
  background: var(--color-shingle-ink);
  color: var(--color-trim-chalk);
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.button:hover {
  opacity: 0.92;
}

.field {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid var(--color-shutter-white);
  border-radius: 0;
  background: var(--color-white);
  color: var(--color-shingle-ink);
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.field::placeholder {
  color: var(--color-clapboard-blue);
}

.text-link,
.site-link {
  color: var(--color-clapboard-blue);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}

.text-link {
  font-weight: 500;
}

.site-link {
  font-weight: 400;
}

.text-link:hover,
.site-link:hover,
.nav-link:hover,
.quiet-link:hover {
  text-decoration: underline;
}

.nav-link,
.quiet-link {
  font-weight: 500;
  text-decoration: none;
}

.nav-link {
  color: var(--color-shingle-ink);
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.quiet-link {
  color: var(--color-clapboard-blue);
  font-size: 16px;
  line-height: 24px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--color-shingle-ink);
  outline-offset: 3px;
}

.site-footer {
  padding-bottom: 40px;
}

.site-footer-inner {
  width: min(1440px, 100%);
  margin-inline: auto;
  padding-inline: 20px;
}

.site-footer .rule {
  margin-bottom: 20px;
}

.footer-brand {
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 12px;
}

.site-footer-links .site-link {
  flex-basis: 100%;
}

@media (min-width: 900px) {
  .button {
    width: auto;
    align-self: flex-start;
  }

  .nav-link {
    font-size: 16px;
    line-height: 24px;
  }

  .site-footer {
    padding-bottom: 64px;
  }

  .site-footer-inner {
    padding-inline: 80px;
  }

  .site-footer .rule {
    margin-bottom: 32px;
  }

  .footer-brand {
    margin-top: 16px;
  }

  .site-footer-links {
    gap: 24px;
  }

  .site-footer-links .site-link {
    flex-basis: auto;
  }
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  flex: none;
}

.social-links li {
  margin: 0;
  padding: 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  color: var(--color-clapboard-blue, #5C737B);
  text-decoration: none;
}

.social-link svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex: none;
  pointer-events: none;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--color-shingle-ink, #2F221B);
  text-decoration: none;
}

.social-link:focus-visible {
  outline: 2px solid var(--color-shingle-ink, #2F221B);
  outline-offset: 3px;
}

.home-footer-links,
.footer-links,
.site-footer-links {
  align-items: center;
}
