/* shoproutecedar.com - homepage (cream, soft photo hero, line-drawing steps, clay photo band) */
:root {
  --pine: #4A1A00;
  --pine-deep: #2E1000;
  --cedar: #A35C00;
  --cedar-deep: #7E4500;
  --cedar-soft: #F7E6D2;
  --amber: #D8914A;
  --orange: #C07A00;
  --paper: #FCF8F2;
  --white: #FFFFFF;
  --sage: #F6EEE2;
  --ink: #2A1708;
  --muted: #63503F;
  --line: #E8DCCB;
  --clay: #E3A979;
  --font-head: "Bona Nova", Georgia, "Times New Roman", serif;
  --font-body: "Gantari", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: 24px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { display: block; max-width: 100%; height: auto; }
a { color: var(--cedar-deep); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 .5em;
  text-wrap: balance;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
  background: var(--pine);
  border: 1.5px solid var(--pine);
  border-radius: var(--radius);
  transition: background-color .2s;
}
.btn:hover { background: var(--pine-deep); }
.btn-head { min-height: 44px; padding: 0 20px; font-size: .95rem; }

/* ---------- Header: logo, words, one CTA on the far right ---------- */
.site-head { position: static; background: var(--sage); }
.head-row {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { flex: none; }
.brand img { width: auto; height: 54px; }
.head-nav { display: flex; gap: 28px; }
.head-nav a {
  font-size: .98rem;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
}
.head-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.head-row .btn-head { margin-left: auto; }

/* ---------- Footer ---------- */
.site-foot { background: var(--cedar-soft); color: var(--ink); margin-top: 0; }
.foot-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 32px;
}
.foot-brand { max-width: 380px; }
.foot-brand .brand img { height: 60px; }
.foot-brand p { margin: 14px 0 0; font-size: .95rem; color: var(--muted); }
.foot-brand a { color: var(--cedar-deep); }
.foot-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px 40px;
}
.foot-links a { color: var(--ink); text-decoration: none; font-size: .97rem; }
.foot-links a:hover { text-decoration: underline; }
.foot-bar { padding-top: 16px; padding-bottom: 22px; border-top: 1px solid #E6CDB1; }
.foot-bar p { margin: 0; font-size: .88rem; color: var(--muted); }

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .head-nav { gap: 0; }
  .head-nav a:not(.nav-blog) { display: none; }
  .head-nav .nav-blog { font-weight: 600; padding: 10px 0; }
  .head-row { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .brand img { height: 44px; }
  .btn-head { padding: 0 16px; }
  .foot-row { flex-direction: column; gap: 28px; padding-top: 36px; }
  .foot-links { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
}

/* ---------- Shared headline style ---------- */
.title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); color: var(--pine-deep); }
.center { text-align: center; }

/* ---------- Hero ---------- */
.hero { padding: 0 var(--gutter); }
.hero-frame {
  position: relative;
  max-width: 1392px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  background: var(--pine-deep);
}
.hero-frame img {
  width: 100%;
  height: clamp(440px, 46vw, 620px);
  object-fit: cover;
  object-position: 50% 45%;
  transform: scaleX(-1);
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(46, 16, 0, .45);
}
.hero-copy {
  position: absolute;
  z-index: 1;
  left: clamp(28px, 5vw, 72px);
  top: 50%;
  transform: translateY(-50%);
  max-width: 520px;
  color: var(--white);
}
.hero-copy h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); margin-bottom: .35em; }
.hero-copy p { margin: 0 0 26px; font-size: 1.1rem; max-width: 440px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-cream { color: var(--pine-deep); background: var(--paper); border-color: var(--paper); }
.btn-cream:hover { background: var(--white); }
.btn-ghost { color: var(--white); background: transparent; border-color: rgba(255, 255, 255, .8); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* ---------- How it works ---------- */
.how { padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 96px); }
.how-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  margin: clamp(32px, 4vw, 52px) 0 0;
  padding: 0;
  list-style: none;
}
.how-row li { position: relative; text-align: center; }
.how-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
}
.sketch {
  width: 132px;
  height: 132px;
  margin: 8px auto 18px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.how-row h3 { font-size: 1.35rem; margin-bottom: .3em; }
.how-row p { margin: 0 auto; max-width: 300px; color: var(--muted); font-size: 1rem; }

/* ---------- Clay band with photo row ---------- */
.band { background: var(--clay); padding: clamp(56px, 7vw, 88px) 0; }
.band .title { color: var(--ink); }
.band-lead { margin: 0 auto; max-width: 520px; text-align: center; }
.photo-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1392px;
  margin: clamp(32px, 4vw, 48px) auto 0;
  padding: 0 var(--gutter);
  list-style: none;
}
.photo-row img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}
.photo-row h3 { margin: 14px 0 2px; font-size: 1.3rem; }
.photo-row p { margin: 0; font-size: .98rem; }

/* ---------- Compare ---------- */
.compare-sec { padding: clamp(64px, 8vw, 104px) 0; }
.compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.compare-grid p { margin: 0; max-width: 360px; color: var(--muted); }
.table-box { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; }
.compare th, .compare td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-head); font-size: 1.2rem; font-weight: 400; border-bottom: 1.5px solid var(--ink); }
.compare tbody th { font-weight: 600; }

/* ---------- Spotlight ---------- */
.spot { padding: 0 0 clamp(64px, 8vw, 104px); }
.spot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.spot-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.spot-text p { margin: 0 0 16px; max-width: 480px; }
.spot-text .note { font-size: .95rem; color: var(--muted); margin-bottom: 26px; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); padding: clamp(64px, 8vw, 100px) 0; }
.faq-wrap { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 18px 40px 18px 0;
  font-family: var(--font-head);
  font-size: 1.2rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--cedar-deep);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* ---------- Closing ---------- */
.closing { padding: clamp(64px, 8vw, 100px) 0; }
.closing-inner { max-width: 640px; }
.closing-inner p { margin: 0 0 24px; }
.btn-big { min-height: 54px; padding: 0 30px; }
.closing-inner .closing-note { margin: 18px 0 0; font-size: .92rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .photo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-grid, .spot-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hero { padding: 0 var(--gutter); }
  .hero-frame { background: transparent; border-radius: 8px; overflow: visible; }
  .hero-frame img { height: 260px; border-radius: 8px; }
  .hero-frame::after { display: none; }
  .hero-copy { position: static; transform: none; color: var(--ink); padding-top: 24px; }
  .hero-copy h1 { color: var(--pine-deep); }
  .btn-cream { color: var(--white); background: var(--pine); border-color: var(--pine); }
  .btn-cream:hover { background: var(--pine-deep); }
  .btn-ghost { color: var(--pine-deep); border-color: var(--pine); }
  .hero-actions .btn { flex: 1 1 100%; }
  .how-row { grid-template-columns: 1fr; gap: 44px; }
  .how-num { left: calc(50% - 90px); }
  .photo-row { gap: 12px; }
  .photo-row h3 { font-size: 1.12rem; }
  .photo-row p { font-size: .92rem; }
  .compare th, .compare td { padding: 12px 8px; font-size: .94rem; }
  .spot-text .btn, .closing .btn { width: 100%; }
}

/* ---------- From the blog (WordPress only: partials/blog-latest.php) ---------- */
.journal { padding: 0 0 clamp(64px, 8vw, 100px); }
.journal-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line);
}
.journal-head p { margin: 0 0 18px; max-width: 340px; color: var(--muted); }
.journal-all { font-weight: 600; color: var(--cedar-deep); }
.journal-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.journal-list li { border-bottom: 1px solid var(--line); }
.journal-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  color: var(--ink);
  text-decoration: none;
}
.journal-thumb { display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; background: var(--clay); }
.journal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.journal-text { display: flex; flex-direction: column; gap: 3px; }
.journal-tag { font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--cedar-deep); }
.journal-name { font-family: var(--font-head); font-size: 1.28rem; line-height: 1.2; color: var(--pine-deep); }
.journal-row:hover .journal-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.journal-meta { font-size: .86rem; color: var(--muted); }

@media (max-width: 960px) {
  .journal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .journal-row { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
  .journal-name { font-size: 1.1rem; }
}
