/* KeystoneStead — site styles. Self-contained; no external requests. */

:root {
  --ink: #1A2C3A;
  --navy: #12202B;
  --teal: #2A6F64;
  --teal-dark: #1E544C;
  --cream: #F4EFE6;
  --paper: #FFFCF7;
  --sand: #E4D9C8;
  --rule: #D4CBBC;
  --copper: #B85C38;
  --copper-dark: #944A2C;
  --muted: #5E5B55;
  --focus: #2A6F64;
  --shadow: 0 18px 40px rgba(18, 32, 43, 0.10);
  --radius: 14px;
  --max: 1120px;
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal-dark); }
a:hover { color: var(--teal); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 6px;
}
.skip:focus { top: 1rem; }

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

/* Header */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img, .brand svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.nav-wrap { position: relative; }
.nav-cb {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nav-btn {
  display: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--sand);
  border-radius: 8px;
  background: var(--paper);
}
.site-nav ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}
.site-nav a:hover { color: var(--teal); }
.site-nav a[aria-current="page"] { color: var(--teal-dark); }

@media (min-width: 800px) {
  .nav-btn { display: none; }
  .site-nav { display: block; }
}
@media (max-width: 799px) {
  .nav-btn { display: inline-block; }
  .site-nav { display: none; }
  .nav-cb:checked ~ .site-nav {
    display: block;
    position: absolute;
    right: 0;
    top: calc(100% + 0.4rem);
    background: var(--paper);
    border: 1px solid var(--sand);
    border-radius: 10px;
    padding: 0.8rem 1.1rem;
    box-shadow: var(--shadow);
    z-index: 20;
    min-width: 12rem;
  }
  .site-nav ul { flex-direction: column; gap: 0.7rem; }
}

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 3rem; }
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin: 0 0 0.8rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}
.lede {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0 0 1.6rem;
  max-width: 36rem;
}
.price-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin: 0 0 1.4rem;
}
.price {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: -0.02em;
}
.price-note { color: var(--muted); font-size: 1rem; }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.8rem 1.25rem;
  border-radius: 8px;
  border: 2px solid transparent;
  line-height: 1.2;
}
.btn-primary {
  background: var(--copper);
  color: #fff;
  border-color: var(--copper);
}
.btn-primary:hover {
  background: var(--copper-dark);
  border-color: var(--copper-dark);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}
.hero-frame {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 0.7rem;
  box-shadow: var(--shadow);
}
.hero-frame img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--rule);
}
.caption {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.55rem 0.2rem 0.15rem;
}

/* Sections */
section { padding: 3rem 0; }
.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
.section-intro {
  color: var(--muted);
  margin: 0 0 2rem;
  max-width: 40rem;
}

.features {
  background: var(--paper);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}
.feature-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .feature-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.feature {
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: 12px;
  padding: 1.25rem 1.3rem 1.3rem;
}
.feature h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
  letter-spacing: -0.01em;
}
.feature p { margin: 0; font-size: 1.02rem; color: var(--ink); }

/* Gallery */
.gallery {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 800px) {
  .gallery { grid-template-columns: 1fr 1fr 1fr; }
}
.shot {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: 12px;
  padding: 0.55rem;
}
.shot img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--rule);
}
.shot figcaption {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.55rem 0.35rem 0.3rem;
}

.included {
  margin-top: 2.4rem;
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
}
.included h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.35rem;
  margin: 0 0 0.8rem;
}
.included ul {
  margin: 0;
  padding-left: 1.15rem;
}
.included li { margin: 0.35rem 0; }
.cta-row { margin-top: 2rem; }

/* About */
.about-block {
  max-width: 42rem;
}
.about-block p { margin: 0 0 1rem; }

/* FAQ */
.faq-list { max-width: 44rem; }
.faq-item {
  border-top: 1px solid var(--sand);
  padding: 1.1rem 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--sand); }
.faq-item h3 {
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-weight: 500;
}
.faq-item p { margin: 0; color: var(--ink); }

/* Contact */
.contact-block a { font-weight: 600; }

/* Legal pages */
.legal {
  padding: 2.8rem 0 4rem;
  max-width: 42rem;
}
.legal h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
}
.legal .updated {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1.6rem;
}
.legal h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.3rem;
  margin: 1.8rem 0 0.5rem;
}
.legal p, .legal li { font-size: 1.05rem; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #E8E0D4;
  padding: 2.2rem 0 2.4rem;
  margin-top: 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.4rem 2rem;
  align-items: flex-start;
}
.footer-brand {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: #FFFCF7;
}
.site-footer a { color: #E8E0D4; }
.site-footer a:hover { color: #fff; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-meta {
  width: 100%;
  margin: 1.2rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(228, 217, 200, 0.2);
  font-size: 0.92rem;
  color: #C9C0B3;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
