/* ==========================================================================
   LowStatus — lowstatus.clothing
   Open Form LLC
   ========================================================================== */

:root {
  --wide: min(1146px, 100% - 48px);
  --narrow: min(950px, 100% - 48px);

  --ink: #000;
  --ink-nav: #1c1c1c;
  --ink-muted: #666;

  --font-body: "Nunito Sans", Arial, Helvetica, sans-serif;
  --font-footer: "Maven Pro", Arial, Helvetica, sans-serif;

  --nav-top: 17px;
  --nav-gap: 26px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

/* --------------------------------------------------------------------------
   Skip links
   -------------------------------------------------------------------------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: #202124;
  color: #dadce0;
  font-family: "Google Sans", Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15px;
}

.skip:focus {
  left: 8px;
  top: 8px;
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  padding-top: var(--nav-top);
}

.site-bar {
  width: var(--wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--nav-gap);
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  display: block;
  width: auto;
  height: 46px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--nav-gap);
}

.site-nav a {
  color: var(--ink-nav);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  white-space: nowrap;
}

.site-nav a[aria-current="page"] {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Layout containers
   -------------------------------------------------------------------------- */

.main {
  flex: 1 0 auto;
}

.wide {
  width: var(--wide);
  margin-left: auto;
  margin-right: auto;
}

.narrow {
  width: var(--narrow);
  margin-left: auto;
  margin-right: auto;
}

/* Text inside a column is inset 8px, matching the source grid. */
.inset {
  padding-left: 8px;
  padding-right: 8px;
}

/* Long-form body copy sits in a narrower measure inside the wide column. */
.prose {
  padding-left: 106px;
  padding-right: 106px;
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.page-title {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.375;
  color: var(--ink-nav);
  text-align: center;
}

.legal-title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 60px;
  text-align: center;
}

.section-head {
  margin: 0;
  font-size: 26.6667px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.section-head--lg {
  font-size: 29.3333px;
}

.card-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.body-text {
  margin: 0;
  font-size: 21.3333px;
  font-weight: 400;
  line-height: 32px;
}

.body-text--light {
  font-weight: 300;
  line-height: 29.44px;
}

.body-text--light b,
.body-text--light strong {
  font-style: italic;
}

.body-text b,
.body-text strong {
  font-weight: 700;
}

.caption {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--ink-muted);
}

.quote {
  margin: 0;
  font-size: 21.3333px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink-nav);
}

.quote--center {
  text-align: center;
}

.attrib {
  margin: 0;
  font-size: 21.3333px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-nav);
}

.attrib--center {
  font-size: 18.6667px;
  text-align: center;
}

.label {
  margin: 0;
  font-size: 21.3333px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-nav);
  text-align: center;
}

.link-muted {
  color: var(--ink-muted);
}

.link-muted:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 16px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: var(--ink);
  text-align: center;
  transition: background-color 120ms ease;
}

.btn:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.btn:active {
  background-color: rgba(0, 0, 0, 0.08);
}

.btn--wide {
  width: var(--narrow);
  margin-left: auto;
  margin-right: auto;
}

.btn--mid {
  width: min(538px, 100% - 48px);
  margin-left: auto;
  margin-right: auto;
}

.btn--sm {
  width: min(362px, 100% - 48px);
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Blocks
   -------------------------------------------------------------------------- */

.hero-panel {
  width: var(--narrow);
  margin: 0 auto;
  aspect-ratio: 950 / 817;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

.grid-2 {
  width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 29px;
  align-items: start;
}

.grid-2 > div > img + img {
  margin-top: 27px;
}

.split {
  width: var(--wide);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 37px;
}

.split__media {
  flex: 0 0 auto;
  width: 169px;
  max-width: 20%;
}

.split__body {
  flex: 1 1 auto;
  padding-right: 15px;
}

.sign-off {
  width: var(--wide);
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

.sign-off img {
  width: 166px;
  max-width: 20%;
}

/* --------------------------------------------------------------------------
   Carousel
   -------------------------------------------------------------------------- */

.carousel {
  width: var(--narrow);
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.carousel__viewport {
  overflow: hidden;
}

.carousel__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  transition: transform 450ms cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
}

.carousel__slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 950 / 817;
  object-fit: contain;
  background: #fff;
  display: block;
}

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 120ms ease;
}

.carousel__arrow:hover {
  background: #fff;
}

.carousel__arrow--prev {
  left: 12px;
}

.carousel__arrow--next {
  right: 12px;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.carousel__dot[aria-selected="true"] {
  background: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .carousel__track {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-intro {
  width: var(--narrow);
  margin: 0 auto;
  font-size: 21.3333px;
  font-weight: 300;
  line-height: 29.44px;
}

.form {
  width: var(--narrow);
  margin: 0 auto;
}

.form__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__row + .form__row {
  margin-top: 24px;
}

.form__label {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.form__control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 120ms ease;
}

.form__control::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.form__control:focus {
  outline: none;
  border-color: var(--ink);
}

textarea.form__control {
  min-height: 150px;
  resize: vertical;
}

select.form__control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.4' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
}

.form__submit {
  margin-top: 28px;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 120ms ease;
}

.form__submit:hover {
  opacity: 0.85;
}

.form__status {
  width: var(--narrow);
  margin: 20px auto 0;
  font-size: 16px;
  line-height: 1.5;
}

.form__status[data-state="ok"] {
  color: #0a7d2c;
}

.form__status[data-state="error"] {
  color: #b00020;
}

/* --------------------------------------------------------------------------
   Product gallery (first editions)
   -------------------------------------------------------------------------- */

.product-grid {
  width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 29px;
  row-gap: 40px;
}

.product-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  display: block;
}

.product-card__name {
  margin: 14px 0 0;
  font-size: 18.6667px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Legal document
   -------------------------------------------------------------------------- */

.legal {
  width: var(--narrow);
  margin: 0 auto;
  padding: 0 8px 8px;
}

.legal h2 {
  margin: 43px 0 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
}

.legal h2:first-child {
  margin-top: 63px;
}

.legal p {
  margin: 16px 0 0 20px;
  font-size: 18.6667px;
  font-weight: 400;
  line-height: 28px;
}

.legal p b {
  font-weight: 700;
}

.legal p.tight {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  flex: 0 0 auto;
  width: var(--wide);
  margin: 0 auto;
  padding: 64px 0 56px;
}

.site-footer a {
  display: block;
  padding-left: 8px;
  font-family: var(--font-footer);
  font-size: 13.3333px;
  font-weight: 400;
  line-height: 20px;
  color: var(--ink);
}

.site-footer a span {
  text-decoration: underline;
}

.site-footer a + a {
  margin-top: 10px;
}

.site-footer .copyright {
  margin: 47px 0 0;
  padding-left: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13.3333px;
  font-weight: 400;
  line-height: 18.4px;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  :root {
    --wide: calc(100% - 40px);
    --narrow: calc(100% - 40px);
  }

  .page-title {
    font-size: 40px;
  }

  .legal-title {
    font-size: 28px;
    line-height: 1.35;
  }

  .section-head,
  .section-head--lg {
    font-size: 22px;
  }

  .body-text,
  .quote,
  .attrib,
  .label {
    font-size: 18px;
    line-height: 1.55;
  }

  .attrib--center {
    font-size: 16px;
  }

  .split {
    flex-direction: column;
    gap: 24px;
  }

  .split__media {
    width: 120px;
  }

  .hero-panel {
    aspect-ratio: 1 / 1;
  }

  .btn--wide,
  .btn--mid,
  .btn--sm {
    width: 100%;
  }

  .form-intro,
  .form,
  .form__status,
  .form__submit {
    width: 100%;
  }

  .form__intro {
    font-size: 18px;
  }

  .product-card__name {
    font-size: 16px;
  }

  .legal h2,
  .legal h2:first-child {
    margin-top: 34px;
    font-size: 20px;
    line-height: 1.35;
  }

  .prose {
    padding-left: 8px;
    padding-right: 8px;
  }

  .legal p {
    margin-left: 0;
    font-size: 16px;
    line-height: 1.55;
  }

  .legal p.tight {
    margin-top: 0;
  }

  .sign-off img {
    width: 120px;
  }

  /* Collapse the large desktop rhythm on small screens. */
  .main [style*="margin-top"] {
    margin-top: 32px !important;
  }
}

@media (max-width: 560px) {
  .grid-2,
  .product-grid {
    grid-template-columns: 1fr;
    row-gap: 27px;
  }
}
