:root {
  --paper: #f3efe7;
  --ink: #25231f;
  --muted: #716b62;
  --line: #d6cec1;
  --accent: #a05b3d;
  --dark: #292823;
  --dark-ink: #f1ede5;
  --dark-muted: #c4bdb1;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; }

.site-header {
  border-bottom: 1px solid #c9bba8;
  background: #e7dfd2;
}
.header-inner,
.section-inner,
.footer-inner,
.footer-bottom {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  color: var(--ink);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 400;
}
.wordmark span { color: #a05b3d; }
.tagline,
.kicker,
.count {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}
.tagline { color: var(--muted); }
.kicker { color: var(--accent); }

.hero {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 82px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
.hero h1 {
  margin: 18px 0 24px;
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.hero-text {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}
.hero-image {
  margin: 0;
  overflow: hidden;
}
.hero-image img { aspect-ratio: 4 / 3; object-fit: cover; }

.guides { padding: 0 0 104px; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.count { color: var(--muted); }
.guide-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.guide-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 22px;
}
.guide-card h3 {
  margin: 10px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.guide-card > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.styles {
  padding: 92px 0 106px;
  background: var(--dark);
  color: var(--dark-ink);
}
.styles .kicker { color: #d28a68; margin-bottom: 14px; }
.style-list { margin: 48px 0 0; border-top: 1px solid rgba(255,255,255,.2); }
.style-item {
  display: grid;
  grid-template-columns: minmax(190px, .65fr) minmax(0, 1.35fr);
  gap: 40px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.style-item dt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}
.style-item dd { margin: 0; color: var(--dark-muted); max-width: 620px; }

.about { padding: 104px 0 112px; }
.about-inner { max-width: 860px; }
.about-quote {
  margin: 24px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.site-footer {
  border-top: 1px solid #4a382f;
  padding: 42px 0 30px;
  background: #3b302b;
  color: #eee7dc;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #cfc4b8;
  font-size: 13px;
  text-align: center;
}
.footer-contact a {
  color: #f1e9df;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.footer-bottom {
  width: min(calc(100% - 40px), var(--max));
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.18);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  color: #bfb3a7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  text-align: center;
}
.made-with { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.tech-icon { width: 18px; height: 18px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 42px; padding-top: 60px; }
  .hero-copy { max-width: 720px; }
  .guide-grid { grid-template-columns: 1fr; gap: 48px; }
  .guide-card { max-width: 620px; }
  .style-item { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 560px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .footer-bottom,
  .hero { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 72px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 6px; }
  .wordmark { font-size: 27px; }
  .tagline { font-size: 10px; }
  .hero { padding: 48px 0 68px; gap: 32px; }
  .hero h1 { font-size: clamp(38px, 11vw, 54px); }
  .hero-text { font-size: 16px; }
  .guides { padding-bottom: 76px; }
  .styles { padding: 70px 0 76px; }
  .about { padding: 76px 0 82px; }
  .footer-inner { align-items: center; flex-direction: column; }
  .footer-contact { align-items: center; flex-direction: column; gap: 4px; text-align: center; }
  .footer-bottom { align-items: center; flex-direction: column; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 36px; }
  h2 { font-size: 31px; }
  .guide-card h3 { font-size: 23px; }
}


.statcounter-footer {
  margin-top: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.statcounter-footer .statcounter {
  margin-left: auto;
  margin-right: auto;
}


/* Brand accents */
.site-footer .wordmark { color: #eee7dc; }
.site-footer .wordmark span { color: #d28a68; }
.footer-contact a { color: #d9a07f; }
.made-with .tech-icon:first-of-type { color: #d28a68; }
.made-with .tech-icon:last-of-type { color: #86a39a; }
