/* Courtyard Stores — one stylesheet for every page. */

@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --paper-warm: #f6f3ee;
  --ink: #1b1f24;
  --ink-soft: #5a6069;
  --rule: #e4e0d8;
  --night: #1d2530;
  --night-deep: #141a22;
  --orange: #e8952b;
  --orange-deep: #c97a14;
  --display: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --width: 1080px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.65 var(--sans);
}

a { color: var(--orange-deep); text-underline-offset: 3px; }

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

.wrap { width: 100%; max-width: var(--width); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0; }

/* Header */

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.site-title { font: 700 1.3rem/1 var(--display); color: inherit; text-decoration: none; }

.site-nav ul { display: flex; flex-wrap: wrap; gap: 4px 26px; margin: 0; padding: 0; list-style: none; font-size: 0.95rem; }
.site-nav a { color: inherit; opacity: 0.85; text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { opacity: 1; }
.site-nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--orange); }

/* Home: photo header */

.hero {
  position: relative;
  color: #fff;
  background: var(--night) url("/img/shopfront-900.jpg") center 60% / cover no-repeat;
  min-height: min(88vh, 760px);
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .hero { background-image: url("/img/shopfront.jpg"); }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 33, 0.62);
}

.hero > * { position: relative; }

.hero-body {
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 24px;
  padding-bottom: 72px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 { font-size: clamp(2.8rem, 9vw, 5.2rem); letter-spacing: -0.01em; }
.hero .tagline { font: 600 clamp(1rem, 2.2vw, 1.25rem)/1.4 var(--display); margin: 8px 0 0; }
.hero .logo { width: 140px; height: 140px; margin: 26px 0 22px; }

.hours { margin: 0; padding: 0; list-style: none; font-size: 1.05rem; }
.hours li { margin: 2px 0; }
.hours strong { font-weight: 600; }

/* Inner pages: solid header with the page title */

.page-head { background: var(--night); color: #fff; }
.page-head .title { padding-top: 28px; padding-bottom: 56px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }

/* Sections */

main section { padding: 80px 0; }

.eyebrow {
  font: 600 0.8rem/1 var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin: 0 0 14px;
}

.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; align-items: center; }
.about h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.about h3 { font-size: 1.2rem; font-weight: 600; margin: 14px 0 0; color: var(--ink-soft); }
.about p { margin: 18px 0 0; }
.about img { border-radius: 8px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.45); }

.social { display: flex; gap: 12px; margin-top: 28px; }
.social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1.5px solid var(--rule);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.social a:hover { border-color: var(--orange); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

@media (max-width: 780px) {
  .about .wrap { grid-template-columns: 1fr; }
}

/* Mailing list band */

.band { background: var(--paper-warm); text-align: center; }
.band h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.band p { margin: 14px auto 0; max-width: 34em; color: var(--ink-soft); }

.button {
  display: inline-block;
  margin-top: 26px;
  background: var(--orange);
  color: var(--night-deep);
  padding: 13px 30px;
  border: 0;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--display);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.button:hover { background: #f2a645; transform: translateY(-1px); }

/* Mailing list page */

.prose { padding-top: 56px; padding-bottom: 80px; }
.prose > * { max-width: 38rem; }
.prose p { margin: 0 0 16px; }
.prose .note { color: var(--ink-soft); font-size: 0.95rem; margin-top: 28px; }

.signup {
  margin: 28px 0 8px;
  padding: 28px;
  background: var(--paper-warm);
  border-radius: 10px;
}
.signup h2 { font-size: 1.35rem; margin-bottom: 18px; }
.signup label { display: block; font-weight: 600; font-size: 0.95rem; margin: 14px 0 6px; }
.signup input[type="email"], .signup input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  background: #fff;
}
.signup input:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: transparent; }
.signup .hp { position: absolute; left: -5000px; }

/* Footer */

.site-footer { background: var(--night-deep); color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 34px; padding-bottom: 38px; }
.site-footer a { color: inherit; }
