/* Sunday Housekeeping Co. — mobile-first fiction demo */
:root {
  --sh-plum: #2b1d2f;
  --sh-plum-soft: #3a2940;
  --sh-bone: #f6efe3;
  --sh-bone-dark: #ebe2d4;
  --sh-white: #ffffff;
  --sh-panel: #f0e8dc;
  --sh-ink: #1c1418;
  --sh-ink-soft: #342a30;
  --sh-gray: #5c5258;
  --sh-mute: #4a4048;
  --sh-sage: #e6a423;
  --sh-sage-deep: #c48a18;
  --sh-tangerine: #d4503f;
  --sh-tangerine-soft: #e07868;
  --sh-rule: #d9cfc4;
  --sh-focus: #d4503f;
  --sh-max: 76rem;
  --sh-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --sh-sans: system-ui, "Segoe UI", sans-serif;
  --sh-radius: 4px;
  --sh-radius-soft: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--sh-bone);
  color: var(--sh-ink);
  font: 1.0625rem/1.65 var(--sh-sans);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sh-ink-soft); }

a:focus-visible, button:focus-visible, summary:focus-visible,
.sh-cta:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--sh-focus);
  outline-offset: 3px;
}

.sh-skip {
  position: absolute; left: 1rem; top: 1rem;
  width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.sh-skip:focus {
  width: auto; height: auto; clip: auto; z-index: 100;
  background: var(--sh-tangerine); color: var(--sh-plum);
  padding: 0.75rem 1rem; min-height: 44px;
  display: inline-flex; align-items: center;
  font-weight: 700;
}

.sh-utility {
  background: var(--sh-plum);
  color: var(--sh-bone);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  text-align: center; padding: 0.55rem 1rem;
  margin: 0;
  border-bottom: 2px solid var(--sh-sage-deep);
}

.sh-masthead {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.25rem 0.85rem;
  background: var(--sh-bone);
  border-bottom: 2px solid var(--sh-plum);
  max-width: var(--sh-max);
  margin: 0 auto;
}

.sh-brand {
  font-family: var(--sh-sans);
  font-size: clamp(1.35rem, 4.5vw, 2rem);
  font-weight: 800;
  text-decoration: none;
  color: var(--sh-plum);
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.sh-brand span {
  display: block;
  font-size: 0.42em;
  font-weight: 600;
  font-family: var(--sh-display);
  font-style: italic;
  color: var(--sh-sage-deep);
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
  text-transform: none;
}

.sh-nav-wrap { width: 100%; }

.sh-nav-mobile summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border: 2px solid var(--sh-plum);
  border-radius: var(--sh-radius);
  background: var(--sh-plum-soft);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--sh-bone);
}
.sh-nav-mobile summary::-webkit-details-marker { display: none; }
.sh-nav-mobile[open] summary { border-bottom: none; border-radius: var(--sh-radius) var(--sh-radius) 0 0; }

.sh-nav-mobile__bars {
  width: 1.35rem; height: 2px; background: var(--sh-tangerine);
  box-shadow: 0 6px 0 var(--sh-sage), 0 -6px 0 var(--sh-bone);
}

.sh-nav-mobile__close { display: none; }
.sh-nav-mobile[open] .sh-nav-mobile__open { display: none; }
.sh-nav-mobile[open] .sh-nav-mobile__close { display: inline; }

.sh-drawer {
  display: grid;
  gap: 0;
  padding: 0;
  border: 2px solid var(--sh-plum);
  border-top: none;
  border-radius: 0 0 var(--sh-radius) var(--sh-radius);
  background: var(--sh-white);
}
.sh-drawer a {
  text-decoration: none;
  padding: 0.75rem 0.85rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--sh-rule);
  color: var(--sh-ink);
}
.sh-drawer a:last-child { border-bottom: none; }
.sh-drawer a:hover { background: var(--sh-panel); }

.sh-desktop-nav { display: none; }

.sh-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--sh-tangerine);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

.sh-page {
  max-width: var(--sh-max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.sh-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sh-sage-deep);
  margin: 0 0 0.5rem;
}

.sh-lede {
  font-size: 1.125rem;
  line-height: 1.62;
  color: var(--sh-mute);
  max-width: 40rem;
}

h1, h2, h3 {
  font-family: var(--sh-display);
  font-weight: 400;
  line-height: 1.12;
  color: var(--sh-plum);
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 7vw, 3.25rem); font-style: italic; }
h2 { font-size: clamp(1.35rem, 4vw, 1.85rem); }
h3 {
  font-size: 1.02rem;
  font-family: var(--sh-sans);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sh-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.sh-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  background: var(--sh-plum);
  color: var(--sh-bone);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--sh-plum);
  border-radius: var(--sh-radius);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  font-family: var(--sh-sans);
  box-shadow: 3px 3px 0 var(--sh-sage);
}
.sh-cta--ghost {
  background: var(--sh-bone);
  color: var(--sh-plum);
  box-shadow: 3px 3px 0 var(--sh-panel);
}
.sh-cta--accent {
  background: var(--sh-tangerine);
  border-color: var(--sh-tangerine);
  color: var(--sh-white);
  box-shadow: 3px 3px 0 var(--sh-plum);
}
.sh-cta:hover { filter: brightness(1.04); }

.sh-hero-home {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 2px solid var(--sh-rule);
}

.sh-hero-home__figure {
  margin: 0;
  background: var(--sh-plum);
  padding: 0;
  border: 2px solid var(--sh-plum);
  border-radius: var(--sh-radius-soft);
  overflow: hidden;
  position: relative;
  box-shadow: 8px 10px 0 var(--sh-sage);
}
.sh-hero-home__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 40%;
}

.sh-hero-home__tick {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--sh-panel);
  color: var(--sh-ink-soft);
  font-size: 0.95rem;
  max-width: 28rem;
  border-left: 4px solid var(--sh-tangerine);
  border-radius: 0 var(--sh-radius) var(--sh-radius) 0;
  font-family: var(--sh-display);
  font-style: italic;
  line-height: 1.5;
}

.sh-band {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sh-rule);
}

.sh-band--wash {
  margin-left: -1.25rem;
  margin-right: -1.25rem;
  padding: 1.75rem 1.25rem;
  background: linear-gradient(165deg, var(--sh-panel) 0%, var(--sh-bone) 70%);
  border-top: none;
  border-bottom: 1px solid var(--sh-rule);
}

.sh-band--inset {
  padding: 1.5rem 1.25rem;
  background: var(--sh-white);
  border: 2px solid var(--sh-rule);
  border-radius: var(--sh-radius-soft);
  box-shadow: 4px 5px 0 var(--sh-sage);
}

.sh-path-rail {
  display: grid;
  gap: 0;
  margin-top: 1.25rem;
}

.sh-path-card {
  padding: 1.15rem 1.2rem 1.25rem;
  background: var(--sh-white);
  text-decoration: none;
  color: inherit;
  min-height: 44px;
  display: block;
  border: 2px solid var(--sh-rule);
  border-radius: var(--sh-radius);
  margin-bottom: 0.65rem;
  box-shadow: 3px 3px 0 var(--sh-bone-dark);
}
.sh-path-card:hover { border-color: var(--sh-sage-deep); background: var(--sh-panel); }
.sh-path-card h3 { margin-bottom: 0.35rem; color: var(--sh-plum); }
.sh-path-card p { margin: 0; color: var(--sh-mute); font-size: 0.98rem; }

.sh-photo-card {
  margin: 0;
  background: var(--sh-white);
  border: 2px solid var(--sh-rule);
  border-radius: var(--sh-radius-soft);
  overflow: hidden;
  box-shadow: 5px 6px 0 var(--sh-sage);
}
.sh-photo-card figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.92rem;
  color: var(--sh-gray);
  border-top: 1px solid var(--sh-rule);
  background: var(--sh-panel);
}

.sh-crop { overflow: hidden; background: var(--sh-plum); }
.sh-crop img { width: 100%; object-fit: cover; }
.sh-crop--hero-wide img { aspect-ratio: 16 / 10; object-position: 50% 45%; }
.sh-crop--nook img { aspect-ratio: 4 / 5; object-position: 48% 40%; }
.sh-crop--entry img { aspect-ratio: 3 / 2; object-position: 52% 48%; }
.sh-crop--entry-tall img { aspect-ratio: 4 / 5; object-position: 50% 42%; }
.sh-crop--kitchen img { aspect-ratio: 4 / 3; object-position: 55% 40%; }
.sh-crop--living img { aspect-ratio: 4 / 3; object-position: 50% 35%; }
.sh-crop--wide img { aspect-ratio: 3 / 2; object-position: 50% 48%; }
.sh-crop--detail img { aspect-ratio: 3 / 4; object-position: 58% 42%; }
.sh-crop--hero img { aspect-ratio: 4 / 5; object-position: 50% 42%; }

.sh-title-block {
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--sh-rule);
  margin-bottom: 0.5rem;
}

.sh-faq {
  border: 1px solid var(--sh-rule);
  border-radius: var(--sh-radius);
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  background: var(--sh-white);
}
.sh-faq summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--sh-plum);
}
.sh-faq p { margin: 0.65rem 0 0; color: var(--sh-mute); }

.sh-split {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.sh-stack-list {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--sh-mute);
}
.sh-stack-list li { margin-bottom: 0.55rem; }

.sh-steps {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.65rem;
}
.sh-steps li {
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--sh-tangerine);
  background: var(--sh-white);
  border: 1px solid var(--sh-rule);
  border-left-width: 4px;
  border-radius: var(--sh-radius);
}

.sh-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.sh-tag {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--sh-sage);
  border-radius: var(--sh-radius);
  background: var(--sh-bone);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sh-ink);
}

.sh-leaf-rule {
  height: 4px;
  margin: 1.25rem 0;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--sh-plum) 0,
    var(--sh-plum) 40%,
    var(--sh-sage) 40%,
    var(--sh-sage) 70%,
    var(--sh-tangerine) 70%,
    var(--sh-tangerine) 100%
  );
}

.sh-page-title-bar {
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--sh-rule);
  margin-bottom: 0.5rem;
}

.sh-contact-fields {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  max-width: 40rem;
}
.sh-contact-fields li { margin-bottom: 0.6rem; color: var(--sh-mute); }

.sh-form-note {
  font-size: 0.95rem;
  color: var(--sh-gray);
  margin: 0 0 1rem;
  font-weight: 600;
}

.sh-demo-form {
  display: grid;
  gap: 0.85rem;
  max-width: 28rem;
  padding: 1.1rem 1.15rem;
  border: 2px solid var(--sh-rule);
  border-radius: var(--sh-radius-soft);
  background: var(--sh-panel);
}
.sh-demo-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}
.sh-demo-form input,
.sh-demo-form textarea,
.sh-demo-form select {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--sh-sage);
  border-radius: var(--sh-radius);
  font: inherit;
  background: var(--sh-white);
}
.sh-demo-form textarea { min-height: 6rem; resize: vertical; }
.sh-demo-form button {
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  background: var(--sh-gray);
  color: var(--sh-white);
  border: 2px solid var(--sh-plum);
  border-radius: var(--sh-radius);
  font-weight: 700;
  cursor: not-allowed;
}

details {
  border: 1px solid var(--sh-rule);
  border-radius: var(--sh-radius);
  padding: 0.75rem 1rem;
  background: var(--sh-white);
  margin-top: 0.65rem;
}
details summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.88rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}
details p { color: var(--sh-mute); margin: 0.75rem 0 0; }


.sh-rhythm-rule {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  margin: 1.25rem 0 0.5rem;
  max-width: 14rem;
  opacity: 0.55;
}
.sh-rhythm-rule span {
  height: 2px;
  background: var(--sh-marigold);
  display: block;
}
.sh-rhythm-rule span:nth-child(1),
.sh-rhythm-rule span:nth-child(7) { background: var(--sh-coral); }
.sh-editorial-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (min-width: 48rem) {
  .sh-editorial-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
  .sh-editorial-grid--flip { grid-template-columns: 0.9fr 1.1fr; }
}
.sh-room-index {
  font-family: var(--sh-display);
  font-size: 2.5rem;
  font-style: italic;
  color: var(--sh-coral);
  line-height: 1;
  margin: 0 0 0.35rem;
}
.sh-checklist {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.sh-checklist li {
  padding: 0.55rem 0 0.55rem 1.75rem;
  position: relative;
  border-bottom: 1px solid var(--sh-rule);
}
.sh-checklist li::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--sh-marigold-deep);
  letter-spacing: 0.08em;
}

.sh-footer {
  max-width: var(--sh-max);
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
  border-top: 3px solid var(--sh-sage);
  background: var(--sh-plum);
  color: var(--sh-bone);
}
.sh-disclosure {
  font-size: 0.92rem;
  color: var(--sh-bone);
  margin: 0 0 1.25rem;
  font-weight: 600;
  line-height: 1.5;
}
.sh-footer-nav__label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sh-sage);
  margin: 0 0 0.5rem;
  font-weight: 700;
}
.sh-footer-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}
.sh-footer-nav a {
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--sh-bone);
  font-weight: 500;
}
.sh-footer-nav a:hover { color: var(--sh-tangerine-soft); }

.sh-colophon {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
  color: var(--sh-sage);
  letter-spacing: 0.06em;
  font-weight: 500;
}

.sh-aside-note {
  font-size: 0.88rem;
  color: var(--sh-gray);
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--sh-radius);
  background: var(--sh-panel);
  border: 1px dashed var(--sh-sage);
}

@media (min-width: 720px) {
  .sh-nav-mobile { display: none; }
  .sh-desktop-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 0.55rem;
    align-items: center;
    justify-content: flex-end;
  }
  .sh-desktop-nav a {
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.45rem 0.1rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.03em;
    color: var(--sh-plum);
  }
  .sh-masthead {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .sh-path-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .sh-path-card { margin-bottom: 0; }
  .sh-split { grid-template-columns: 1fr 1fr; }
  .sh-hero-home { grid-template-columns: 1.05fr 0.95fr; align-items: start; gap: 2rem; }
  .sh-hero-home__figure img { aspect-ratio: 3 / 4; }
  .sh-hero-home__tick { margin-left: 1.5rem; }
  .sh-band--wash { margin-left: 0; margin-right: 0; border-radius: var(--sh-radius-soft); }
  .sh-footer-nav__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 1rem;
  }
}

@media (min-width: 1024px) {
  .sh-page { padding: 2rem 2rem 3.5rem; }
  .sh-path-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sh-path-rail--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
