/* gardenmarketorbit.com: potting-shed theme. Cream page, plum ink from the logo, sage band, tomato red only for step numbers and focus. */
:root {
  --cream: #FAF6EF;
  --paper: #F2ECE2;
  --panel: #EDE6DA;
  --plum: #2C0F22;
  --plum-hover: #4B1E3C;
  --ink: #2C0F22;
  --muted: #5A4552;
  --steel: #486888;
  --tomato: #B3260F;
  --sage: #CDDAD0;
  --line: rgba(44, 15, 34, .18);
  --font-head: "Aleo", Georgia, serif;
  --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1312px;
}

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

html,
body { overflow-x: hidden; max-width: 100%; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--plum);
}
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }

a { color: var(--plum); text-underline-offset: 3px; }
a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 3px solid var(--tomato);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 760px) { .wrap { padding: 0 32px; } }

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--plum);
  color: var(--cream);
  padding: 10px 16px;
}
.skip-link:focus { top: 12px; }

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 4px;
  background: var(--plum);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--plum-hover); }

.text-link {
  color: var(--plum);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.text-link:hover { text-decoration-thickness: 2px; }

/* Top strip */
.top-strip {
  background: var(--plum);
  color: #F6EEF2;
  font-size: .875rem;
}
.strip-row {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  position: relative;
}
.strip-links { display: none; }
.strip-links a,
.strip-note a { color: #fff; }
.strip-note { margin: 0; padding: 7px 0; text-align: center; font-weight: 500; }
.strip-note a { margin-left: .3em; }
@media (min-width: 900px) {
  .strip-links {
    display: flex;
    gap: 22px;
    position: absolute;
    left: 32px;
  }
  .strip-links a { text-decoration: none; }
  .strip-links a:hover { text-decoration: underline; }
}

/* Header: chunky logo left, centred links, CTA right */
.site-header {
  position: static;
  background: #FFFCF7;
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "brand cta" "nav nav";
  align-items: center;
  column-gap: 12px;
}
.brand { grid-area: brand; display: inline-flex; padding: 12px 0; }
.brand img { height: 44px; width: auto; }
.header-nav {
  grid-area: nav;
  display: flex;
  justify-content: center;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding: 8px 0 10px;
}
.header-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 4px 0;
}
.header-nav a:hover { text-decoration: underline; }
.header-cta {
  grid-area: cta;
  justify-self: end;
  display: inline-block;
  line-height: 44px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 4px;
  background: var(--plum);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { background: var(--plum-hover); }
.cta-extra { display: none; }

@media (min-width: 860px) {
  .header-row {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "brand nav cta";
    min-height: 84px;
  }
  .brand img { height: 60px; }
  .header-nav { border-top: 0; padding: 0; gap: 48px; }
  .header-nav a { font-size: 1.0625rem; }
  .header-cta { min-height: 48px; line-height: 48px; padding: 0 22px; font-size: 1rem; }
  .cta-extra { display: inline; }
}

/* Hero: full-bleed shed photo, copy on the left */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(28, 10, 22, .82) 0%, rgba(28, 10, 22, .55) 45%, rgba(28, 10, 22, .08) 80%);
}
.hero-copy { position: relative; z-index: 2; padding-top: 48px; padding-bottom: 40px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  line-height: 1.04;
  max-width: 9.5em;
  margin-bottom: .35em;
}
.hero-copy p { max-width: 30em; font-size: 1.125rem; margin-bottom: 1.4em; color: #F8F1F4; }
.hero .btn { background: #FFFCF7; color: var(--plum); }
.hero .btn:hover { background: #fff; }

@media (min-width: 860px) {
  .hero { min-height: clamp(520px, 44vw, 660px); align-items: center; }
  .hero::before {
    background: linear-gradient(90deg, rgba(28, 10, 22, .8) 0%, rgba(28, 10, 22, .55) 34%, rgba(28, 10, 22, 0) 62%);
  }
  .hero-copy { padding-top: 64px; padding-bottom: 64px; }
}

/* 2-up photo tiles, caption on the image */
.tiles { padding: 72px 0 0; }
.tile-grid { display: grid; gap: 16px; }
.tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: var(--panel);
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(28, 10, 22, .74) 0%, rgba(28, 10, 22, .2) 48%, rgba(28, 10, 22, 0) 70%);
}
.tile-text {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 1;
  display: grid;
  gap: 6px;
}
.tile-title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
}
.tile-sub { font-size: 1rem; max-width: 30em; }
.tile:hover .tile-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
@media (min-width: 760px) {
  .tile-grid { grid-template-columns: 1fr 1fr; }
  .tile-text { left: 28px; bottom: 28px; }
}

/* Simple / sturdier / complete */
.choose { padding: 80px 0 88px; }
.choose-head { text-align: center; max-width: 52rem; margin: 0 auto 40px; }
.choose-head p { color: var(--muted); margin: 0; }
.choose-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 40px;
}
.choose-grid li { scroll-margin-top: 24px; }
.choose-photo {
  aspect-ratio: 5 / 4;
  background: var(--panel);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 22px;
}
.choose-photo img { width: 100%; height: 100%; object-fit: cover; }
.choose-grid h3 { margin-bottom: .4em; }
.choose-grid p { color: var(--muted); max-width: 34ch; margin-bottom: .8em; }
@media (min-width: 760px) {
  .choose-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* Sage band */
.why { background: var(--sage); padding: 80px 0; }
.why-head { max-width: 46rem; margin-bottom: 44px; }
.why-head p { font-size: 1.125rem; }
.why-head p:last-child { margin-bottom: 0; }
.habit-row { display: grid; gap: 28px; }
.habit-row > div { border-top: 1px solid rgba(44, 15, 34, .3); padding-top: 18px; }
.habit-row p { margin: 0; max-width: 38ch; }
@media (min-width: 760px) {
  .habit-row { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* Steps */
.steps { padding: 88px 0; }
.steps-grid { display: grid; gap: 40px; align-items: start; }
.steps-photo {
  position: relative;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--panel);
}
.steps-photo img { width: 100%; height: 100%; object-fit: cover; }
.steps-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 22px 20px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.2rem;
  background: linear-gradient(0deg, rgba(28, 10, 22, .75), rgba(28, 10, 22, 0));
}
.step-list { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step-list li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.step-list li:last-child { border-bottom: 1px solid var(--line); }
.step-list li::before {
  content: counter(step);
  grid-row: span 2;
  font-family: var(--font-head);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--tomato);
}
.step-list h3 { font-size: 1.15rem; margin: 0 0 .25em; }
.step-list p { margin: 0; color: var(--muted); max-width: 60ch; }
@media (min-width: 900px) {
  .steps-grid { grid-template-columns: 5fr 7fr; gap: 64px; }
  .steps-photo { aspect-ratio: auto; height: 100%; min-height: 560px; }
}
@media (max-width: 899px) {
  .steps-photo { aspect-ratio: 3 / 2; }
}

/* Materials */
.materials { background: var(--paper); padding: 80px 0; }
.materials-grid { display: grid; gap: 32px; }
.materials-head p { color: var(--muted); max-width: 36ch; }
.materials-list { margin: 0; display: grid; gap: 0; }
.materials-list > div {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.materials-list dt { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; }
.materials-list dd { margin: 0; color: var(--muted); max-width: 62ch; }
@media (min-width: 860px) {
  .materials-grid { grid-template-columns: 5fr 7fr; gap: 64px; }
  .materials-list > div { grid-template-columns: 140px 1fr; gap: 24px; }
}

/* Comparison */
.compare { padding: 88px 0; }
.compare h2 { margin-bottom: 28px; }
.table-shell { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 1rem;
}
.compare-table th,
.compare-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  border-bottom: 2px solid var(--plum);
}
.compare-table thead td { border-bottom: 2px solid var(--plum); }
.compare-table tbody th { font-weight: 600; width: 18%; }
.compare-table td { color: var(--muted); }
.others {
  margin: 40px 0 0;
  display: grid;
  gap: 20px;
}
.others dt { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; margin-bottom: 4px; }
.others dd { margin: 0; color: var(--muted); max-width: 40ch; }
@media (min-width: 760px) { .others { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* FAQ */
.faq { background: var(--paper); padding: 80px 0; }
.faq-grid { display: grid; gap: 24px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--plum);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: 0 0 20px; color: var(--muted); max-width: 64ch; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 4fr 8fr; gap: 64px; }
}

/* About this guide */
.guide-note { padding: 80px 0 40px; }
.about-grid { display: grid; gap: 36px; }
.about-grid p { max-width: 60ch; color: var(--muted); }
.plain-list { margin: 0; padding-left: 1.1em; color: var(--muted); }
.plain-list li { margin-bottom: .45em; }
.plain-list li::marker { color: var(--steel); }
@media (min-width: 860px) { .about-grid { grid-template-columns: 7fr 5fr; gap: 64px; } }

/* Closing CTA */
.closing { padding: 40px 0 88px; }
.closing-row {
  display: grid;
  gap: 24px;
  align-items: center;
}
.closing-row > * { min-width: 0; }
.closing-copy { border-top: 2px solid var(--plum); padding-top: 28px; }
.closing-copy p { color: var(--muted); max-width: 52ch; margin: 0; }
.closing-action .btn { width: 100%; }
.cta-note { margin: 12px 0 0; font-size: .9rem; color: var(--muted); max-width: 40ch; }
@media (min-width: 860px) {
  .closing-row { grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
  .closing-action .btn { width: auto; }
}

/* Footer */
.site-footer { background: var(--panel); color: var(--ink); }
.footer-grid {
  display: grid;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 48px;
}
.footer-brand img { height: 48px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); max-width: 34ch; margin: 0; font-size: .95rem; }
.footer-col { display: grid; align-content: start; gap: 8px; }
.footer-col h2 { font-size: 1.1rem; font-weight: 600; margin: 0 0 4px; }
.footer-col a { color: var(--ink); text-decoration: none; font-size: .975rem; }
.footer-col a:hover { text-decoration: underline; }
.footer-base { background: var(--plum); color: #F3E9EE; font-size: .875rem; }
.footer-base-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.footer-base p { margin: 0; }
.footer-base a { color: #fff; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; } }

/* Homepage: latest blog posts as ruled rows */
.shed-notes { padding: 8px 0 88px; }
.shed-notes-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  border-top: 2px solid var(--plum);
  padding-top: 28px;
  margin-bottom: 8px;
}
.shed-notes-head h2 { margin: 0; }
.shed-notes-list { list-style: none; margin: 0; padding: 0; }
.shed-notes-list li { border-bottom: 1px solid var(--line); }
.shed-note {
  display: grid;
  grid-template-columns: 1fr 88px;
  grid-template-areas: "tag fig" "text fig";
  align-items: start;
  column-gap: 16px;
  row-gap: 4px;
  padding: 20px 0;
  color: var(--ink);
  text-decoration: none;
}
.shed-note-tag { grid-area: tag; font-size: .875rem; font-weight: 600; color: var(--steel); }
.shed-note-text { grid-area: text; display: grid; gap: 6px; min-width: 0; }
.shed-note-title { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; line-height: 1.25; color: var(--plum); }
.shed-note:hover .shed-note-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.shed-note-ex { display: none; color: var(--muted); font-size: .975rem; max-width: 62ch; }
.shed-note-fig { grid-area: fig; aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: var(--panel); }
.shed-note-fig img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 760px) {
  .shed-note {
    grid-template-columns: 160px 1fr 176px;
    grid-template-areas: "tag text fig";
    column-gap: 32px;
    padding: 24px 0;
  }
  .shed-note-tag { padding-top: 4px; }
  .shed-note-title { font-size: 1.4rem; }
  .shed-note-ex { display: block; }
  .shed-note-fig { aspect-ratio: 3 / 2; }
}

/* Header nav with the Blog link: tighter gap on small screens */
@media (max-width: 859px) { .header-nav { gap: 24px; } }
.header-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
