/* =========================================================
   SIMPLY STRUCTURES SHARED SITE STYLES
   Use this file for index.html, catalog.html, thank-you.html,
   and future Simply Structures pages.
========================================================= */


/* =========================================================
   RESET & BRAND VARIABLES
========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --paper: #ead7ae;
  --paper-light: #f6e8bf;
  --ink: #101820;
  --navy: #073044;
  --red: #9e2b21;
  --border: #6b2c1f;
  --muted: #6a5438;
  --cream: #f6dfaa;
  --form-bg: #fff8df;
}


/* =========================================================
   BASE PAGE
========================================================= */

body {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--ink);
  background:
    repeating-linear-gradient(
      0deg,
      rgba(50, 35, 20, .07) 0 1px,
      transparent 1px 7px
    ),
    linear-gradient(#d9c698, #cdb88b);
  padding: 28px;
}


/* =========================================================
   VINTAGE CATALOG PAPER FRAME
========================================================= */

.catalog-page {
  max-width: 1120px;
  margin: 0 auto;
  background:
    linear-gradient(rgba(246, 232, 191, .93), rgba(246, 232, 191, .93)),
    radial-gradient(circle, rgba(60, 40, 20, .16) 1px, transparent 1.5px);
  background-size: auto, 13px 13px;
  border: 3px solid var(--border);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.catalog-page::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(107, 44, 31, .65);
  pointer-events: none;
  z-index: 3;
}

.catalog-page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  mix-blend-mode: multiply;
  background:
    radial-gradient(circle at 12% 18%, rgba(16, 24, 32, .22) 0 1px, transparent 1.7px),
    radial-gradient(circle at 72% 42%, rgba(158, 35, 28, .16) 0 1px, transparent 1.7px),
    repeating-linear-gradient(2deg, transparent 0 7px, rgba(16, 24, 32, .045) 7px 8px);
  background-size: 19px 19px, 27px 27px, auto;
  z-index: 2;
}

.inner {
  position: relative;
  z-index: 4;
  padding: 30px 34px 0;
}


/* =========================================================
   HEADER / MASTHEAD
========================================================= */

header {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 38px;
  align-items: start;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 12px;
}

.logo img {
      align-self: start;
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  box-shadow: 0 2px 0 rgba(80, 45, 20, .12);
}

.header-right {
  text-align: right;
}

.headline-kicker {
  margin-bottom: 12px;
}

.headline-kicker img {
  height: 70px;
  width: auto;
  display: inline-block;
}

.subhead {
  font-family: "Special Elite", Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: right;
  max-width: 520px;
  margin-left: auto;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
}

.catalog-hint {
  font-family: "Special Elite", Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: right;
    margin-top: 14px;
  padding-top: 12px;
    color: var(--red);
    font-weight: bold;
  opacity: 0.7;
}


/* =========================================================
   MAIN TWO-COLUMN PAGE LAYOUT
========================================================= */

main {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  padding: 18px 0 28px;
  align-items: start;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1 {
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.1;
  margin-bottom: 12px;
}

h2 {
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 1.45rem;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--muted);
  padding-bottom: 8px;
}

.intro {
  font-family: "Special Elite", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.55;
  max-width: 570px;
}

.kit-number {
  color: var(--red);
  font-family: "Oswald", Impact, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .11em;
  margin-bottom: 10px;
  font-size: 1.35rem;
}


/* =========================================================
   HOME PAGE BOXES
========================================================= */

.feature-box,
.signup-box,
.message-box {
  border: 2px solid rgba(16, 24, 32, .82);
  background: rgba(255, 244, 206, .48);
  padding: 22px;
}

.signup-box {
  margin-top: 22px;
  text-align: center;
}

.signup-box p,
.message-box p {
  font-family: "Special Elite", Georgia, serif;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

ul {
  list-style: none;
  font-family: "Special Elite", Georgia, serif;
  font-size: 1rem;
  line-height: 1.8;
}

li::before {
  content: "★";
  color: var(--red);
  margin-right: 9px;
}


/* =========================================================
   FORMS
========================================================= */

form {
  display: flex;
  border: 3px solid var(--ink);
  background: var(--form-bg);
  position: relative;
}

input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 14px;
  font-size: 1rem;
  background: var(--form-bg);
}

.website-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}


/* =========================================================
   BUTTONS
========================================================= */

button,
.catalog-button,
.button {
  background: var(--red);
  color: var(--cream);
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
}

button {
  border: none;
  padding: 0 20px;
}

.catalog-button,
.button {
  display: inline-block;
  padding: 12px 20px;
  text-decoration: none;
}

.catalog-button {
  margin-top: 18px;
}

button:hover,
.catalog-button:hover,
.button:hover {
  background: #7f1c17;
}


/* =========================================================
   CATALOG PAGE INTRO
========================================================= */

.catalog-intro,
.intro-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 14px 0 18px;
  border-bottom: 2px solid var(--ink);
}

.catalog-note {
  font-family: "Special Elite", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.45;
  max-width: 430px;
  text-align: right;
}


/* =========================================================
   CATALOG PRODUCT GRID
========================================================= */

.kit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  padding: 30px 0 34px;
}

.kit-card {
  border: 2px solid rgba(16, 24, 32, .82);
  background: rgba(255, 244, 206, .48);
  padding: 16px;
  display: grid;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}

.kit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, .16);
}

.kit-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fffdf4;
  border: 1px solid rgba(16, 24, 32, .35);
  display: block;
  padding: 8px;
}

.kit-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
  border-top: 2px solid var(--muted);
  padding-top: 12px;
}

.kit-name {
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.05;
}

.kit-desc {
  grid-column: 1 / -1;
  font-family: "Special Elite", Georgia, serif;
  font-size: 1rem;
  line-height: 1.45;
  color: #2c2720;
}

.status {
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cream);
  background: var(--red);
  padding: 7px 10px;
  white-space: nowrap;
  font-size: .9rem;
  border: 1px solid rgba(16, 24, 32, .45);
}


/* =========================================================
   THANK-YOU PAGE SUPPORT
========================================================= */

.thank-you-page .catalog-page {
  max-width: 900px;
}

.thank-you-page .inner {
  text-align: center;
}

.thank-you-page header {
  display: block;
  text-align: center;
}

.thank-you-page header img {
  max-width: 310px;
  width: 100%;
  height: auto;
}

.message-box {
  max-width: 680px;
  margin: 0 auto 30px;
  text-align: center;
}


/* =========================================================
   FOOTER
========================================================= */

.bottom-banner {
  background: var(--navy);
  color: var(--cream);
  border-top: 4px solid var(--red);
  border-bottom: 4px solid var(--red);
  padding: 14px 22px;
  font-family: "Oswald", Impact, sans-serif;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: clamp(1rem, 2.4vw, 1.65rem);
  margin: 0 -18px;
  position: relative;
  z-index: 4;
}

.bottom-banner span {
  color: var(--red);
  padding: 0 12px;
}

footer {
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
  padding: 14px 0 8px;
  position: relative;
  z-index: 4;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {
  body {
    padding: 14px;
  }

  header,
  main,
  .catalog-intro,
  .intro-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .inner {
    padding: 24px 20px 0;
  }

  .logo img {
    margin: 0 auto;
    max-width: 300px;
  }

  .header-right,
  .subhead,
  .catalog-note {
    text-align: center;
  }

  .subhead,
  .catalog-note {
    margin-left: auto;
    margin-right: auto;
  }

  .headline-kicker img {
    height: 58px;
  }

  .intro {
    margin: 0 auto;
  }

  form {
    flex-direction: column;
  }

  button {
    padding: 14px;
  }

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

  .kit-info {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .status {
    justify-self: center;
  }
}
.footer-brand {
  margin-bottom: 12px;
}

.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  background: rgba(255, 244, 206, .55);
  border: 2px solid var(--ink);
  padding: 9px 14px;
  text-decoration: none;
  font-family: "Special Elite", Georgia, serif;
  font-size: .95rem;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.facebook-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: var(--navy);
  color: var(--cream);
  border: 2px solid var(--red);
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
}

.facebook-link:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 rgba(16, 24, 32, .35);
}

.facebook-link:hover .facebook-icon {
  background: var(--red);
}

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 30px;
}

#lightbox img,
#lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  box-shadow: 0 0 25px rgba(0,0,0,.6);
  background: #f3ead2;
  border: 8px solid #f3ead2;
}

#lightbox-close {
  position: fixed;
  top: 20px;
  right: 30px;
  color: white;
  background: none;
  border: none;
  font-size: 40px;
  cursor: pointer;
  z-index: 10000;
}

.kit-card {
  cursor: zoom-in;
}