/* FiresidePrintCo — shared styles. System fonts only. No trackers. */

:root {
  --cream: #f1e1c0;
  --cream-light: #f7edd4;
  --paper: #fff8eb;
  --tan: #e5d0a4;
  --rule: #c4a574;
  --gold: #c08a52;
  --rust: #a3562f;
  --rust-deep: #8a4524;
  --ink: #2b221a;
  --muted: #5c4634;
  --ring: #493622;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", Times, serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --measure: 40rem;
  --wide: 68rem;
  --radius: 0.85rem;
  --shadow: 0 10px 30px rgba(43, 34, 26, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(ellipse at top, #f7edd4, var(--cream) 46%);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--rust-deep);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--rust);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 20;
  background: var(--ink);
  color: var(--cream-light);
  padding: 0.4rem 0.75rem;
  border-radius: 0.25rem;
}

.skip-link:focus {
  top: 0.75rem;
  color: var(--cream-light);
}

.wrap {
  width: min(calc(100% - 2rem), var(--wide));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(calc(100% - 2rem), var(--measure));
  margin-inline: auto;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--rule);
  background: rgba(247, 237, 212, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--rule);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--rust);
  letter-spacing: 0.01em;
}

.brand-sub {
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ring);
  margin-top: 0.15rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--rust);
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.28em;
}

/* Buttons */

.btn {
  display: inline-block;
  background: var(--rust);
  color: var(--cream-light);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--rust-deep);
  box-shadow: 0 2px 0 var(--rust-deep);
}

.btn:hover,
.btn:focus-visible {
  background: var(--rust-deep);
  color: var(--cream-light);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 0.9rem 1.7rem;
}

/* Hero */

main {
  flex: 1;
}

.hero {
  text-align: center;
  padding: 2.4rem 0 2.8rem;
}

.hero-logo {
  width: min(20rem, 80vw);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto 0.5rem;
  display: block;
  border-radius: 50%;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1.2;
  margin: 0.25rem 0 0.8rem;
  color: var(--ink);
  max-width: 18ch;
  margin-inline: auto;
}

.lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 1.4rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.fine-print {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Dividers */

.quilt-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0 auto;
  color: var(--rust);
}

.quilt-rule span {
  width: 0.7rem;
  height: 0.7rem;
  background: var(--rust);
  transform: rotate(45deg);
  box-shadow: 0 0 0 1px rgba(43, 34, 26, 0.12);
}

.quilt-rule span:nth-child(2) {
  background: var(--gold);
  width: 0.55rem;
  height: 0.55rem;
}

.quilt-rule span:nth-child(4) {
  background: var(--gold);
  width: 0.55rem;
  height: 0.55rem;
}

.quilt-rule::before,
.quilt-rule::after {
  content: "";
  height: 1px;
  width: min(8rem, 18vw);
  background: var(--rule);
}

/* Sections */

.band {
  padding: 2.4rem 0;
}

.band-alt {
  background: rgba(255, 248, 235, 0.55);
  border-block: 1px solid var(--tan);
}

.band h2,
.page-body h1,
.page-body h2 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.band h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  margin: 0 0 0.4rem;
}

.section-intro {
  text-align: center;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 auto 1.6rem;
}

.about-copy {
  max-width: 38rem;
  margin: 0 auto;
}

.about-copy p {
  margin: 0 0 1rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

/* Shop cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 700px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.35rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}

.card:hover {
  border-color: var(--rust);
  color: inherit;
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.28rem;
  margin: 0 0 0.4rem;
  color: var(--rust-deep);
}

.card p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  flex: 1;
}

.card-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--rust-deep);
}

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

.motif {
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.7rem;
}

/* Price / promise */

.promise {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
}

@media (max-width: 700px) {
  .promise {
    grid-template-columns: 1fr;
  }
}

.promise article {
  background: var(--paper);
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
}

.promise h3 {
  font-family: var(--serif);
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.promise p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  color: var(--ink);
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0;
  border-bottom: 1px dotted var(--tan);
}

.price-list li:last-child {
  border-bottom: 0;
}

.cta-band {
  text-align: center;
  padding: 2.6rem 0 3rem;
}

.cta-band h2 {
  margin-bottom: 0.75rem;
}

/* Interior pages */

.page-hero {
  text-align: center;
  padding: 2.2rem 0 1.4rem;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0.8rem 0 0.5rem;
}

.page-body {
  padding: 0 0 3rem;
}

.page-body h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.6rem;
  color: var(--rust-deep);
}

.page-body p,
.page-body li {
  color: var(--ink);
}

.page-body ul {
  padding-left: 1.2rem;
}

.page-body li {
  margin: 0.35rem 0;
}

.note {
  background: var(--paper);
  border-left: 3px solid var(--rust);
  padding: 0.85rem 1rem;
  border-radius: 0 0.5rem 0.5rem 0;
  color: var(--muted);
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow);
  margin: 1.2rem 0;
}

.contact-card h2 {
  margin-top: 0;
}

.address {
  font-style: normal;
  margin: 0.4rem 0 1rem;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 2.2rem 0 1.8rem;
  margin-top: auto;
}

.site-footer a {
  color: var(--cream-light);
}

.site-footer a:hover {
  color: #fff;
}

.footer-inner {
  display: grid;
  gap: 1.2rem;
  text-align: center;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--cream-light);
  margin: 0;
}

.footer-biz {
  margin: 0;
  color: var(--tan);
  font-size: 0.98rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.1rem;
}

.footer-nav a {
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.copyright {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--rule);
}

@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }

  .header-inner {
    justify-content: center;
  }

  .site-nav {
    justify-content: center;
    width: 100%;
  }

  .hero {
    padding-top: 1.4rem;
  }
}

.price-note {
  margin-top: 0.7rem;
}
