/* ============================================================
   ANNIE WILSON HOMECARE — Pitch Site
   Editorial lookbook style. Warm, trustworthy, human.
   Fraunces + Inter. Sage green & warm cream palette.
   ============================================================ */

:root {
  --paper:   #F5F1EB;
  --paper-2: #FBF8F3;
  --ink:     #23201C;
  --sage:    #4A7C6F;
  --sage-dk: #3A6258;
  --tan:     #9B8A74;
  --gray:    #6B6056;
  --line:    #D8CEC0;
  --rule:    #23201C;
  --maxw: 1200px;
  --pad: 34px;
  --folio: 46px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--paper); color: var(--ink);
  line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased;
  overflow-x: hidden; padding-bottom: var(--folio);
}
img { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 500; line-height: 1.0; letter-spacing: -0.015em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); width: 100%; }

.skip-link { position: fixed; top: -100%; left: 0; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 999; }
.skip-link:focus { top: 0; }
*:focus-visible { outline: 3px solid var(--sage-dk); outline-offset: 3px; }

.label { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage-dk); display: inline-flex; gap: 12px; align-items: baseline; }
.label .pg { color: var(--gray); }
.cap { font-size: 0.8rem; color: var(--gray); margin-top: 10px; font-style: italic; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.95rem;
  padding: 13px 24px; border-radius: 3px; min-height: 50px;
  background: var(--ink); color: #fff; cursor: pointer;
  transition: background 0.18s, transform 0.18s;
}
.btn:hover { background: var(--sage-dk); transform: translateY(-2px); }
.btn-clay { background: var(--sage-dk); }
.btn-clay:hover { background: var(--ink); }

.rise { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rise.in { opacity: 1; transform: none; }

/* ── COVER ── */
.cover { padding-top: 30px; }
.masthead {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 2px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 12px 0; font-family: 'Inter', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
}
.masthead .m-mid { font-weight: 600; }
.cover-title {
  font-size: clamp(2.6rem, 8.5vw, 7rem); text-align: center;
  margin: clamp(28px, 5vw, 56px) 0 clamp(24px, 4vw, 44px); font-weight: 400;
  letter-spacing: -0.02em; line-height: 0.92;
}
.cover-title em { font-style: italic; color: var(--sage-dk); }
.cover-fig { position: relative; border-radius: 5px; overflow: hidden; aspect-ratio: 16/8.5; }
.cover-fig img { width: 100%; height: 100%; object-fit: cover; }
.cover-sub { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-top: 22px; flex-wrap: wrap; }
.cover-sub p { max-width: 440px; color: var(--gray); font-size: 1.05rem; }
.contents { display: flex; flex-direction: column; gap: 6px; min-width: 260px; }
.contents a { display: flex; align-items: baseline; gap: 10px; padding: 5px 0; font-family: 'Inter', sans-serif; font-size: 0.86rem; letter-spacing: 0.04em; }
.contents a .c-name { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; font-size: 0.74rem; }
.contents a .c-dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-3px); }
.contents a .c-pg { font-family: 'Fraunces', serif; color: var(--sage-dk); }
.contents a:hover .c-name { color: var(--sage-dk); }

/* ── SPREADS ── */
.spread { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.spread .wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 30px 40px; align-items: center; }
.s-figA, .s-figB { overflow: hidden; border-radius: 5px; }
.s-figA img, .s-figB img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.spread:hover .s-figA img { transform: scale(1.03); }
.s-text .spread-title { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin: 16px 0 16px; font-weight: 400; }
.s-text .lede { color: var(--gray); max-width: 40ch; margin-bottom: 22px; }
.s-text .label { margin-bottom: 4px; }

.lay-1 .s-figA { grid-column: 1 / 8;  grid-row: 1 / 3; aspect-ratio: 4/5; }
.lay-1 .s-text { grid-column: 8 / 13; grid-row: 1 / 2; }
.lay-1 .s-figB { grid-column: 8 / 13; grid-row: 2 / 3; aspect-ratio: 5/4; }

.lay-2 .s-figA { grid-column: 6 / 13; grid-row: 1 / 3; aspect-ratio: 4/5; }
.lay-2 .s-text { grid-column: 1 / 6;  grid-row: 1 / 2; }
.lay-2 .s-figB { grid-column: 1 / 6;  grid-row: 2 / 3; aspect-ratio: 5/4; }

.lay-3 .s-figA { grid-column: 5 / 13; grid-row: 1 / 2; aspect-ratio: 16/10; }
.lay-3 .s-text { grid-column: 1 / 5;  grid-row: 1 / 2; }
.lay-3 .s-figB { grid-column: 1 / 5;  grid-row: 2 / 3; aspect-ratio: 5/6; margin-top: -40%; }

.lay-4 .s-figA { grid-column: 1 / 6;  grid-row: 1 / 3; aspect-ratio: 4/5; }
.lay-4 .s-text { grid-column: 6 / 13; grid-row: 1 / 2; align-self: end; }
.lay-4 .s-figB { grid-column: 7 / 13; grid-row: 2 / 3; aspect-ratio: 16/9; }

/* trust bar inside story section */
.trust-bar { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.trust-item strong { display: block; font-family: 'Inter', sans-serif; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-dk); font-weight: 700; }
.trust-item span { font-size: 0.9rem; color: var(--gray); }

/* ── PULL QUOTE ── */
.quote { padding: clamp(70px, 10vw, 140px) 0; border-top: 1px solid var(--line); text-align: center; }
.quote .wrap { max-width: 920px; }
.quote .q-rule { width: 60px; height: 2px; background: var(--sage); margin: 0 auto 30px; }
.quote blockquote { font-family: 'Fraunces', serif; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 400; line-height: 1.18; letter-spacing: -0.01em; }
.quote blockquote em { font-style: italic; color: var(--sage-dk); }
.quote cite { display: block; margin-top: 26px; font-style: normal; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); }

/* ── BACK COVER / CONTACT ── */
.backcover { border-top: 1px solid var(--line); padding: clamp(64px, 9vw, 110px) 0 clamp(48px, 6vw, 80px); }
.bc-fig { border-radius: 5px; overflow: hidden; aspect-ratio: 16/7; margin-bottom: 48px; }
.bc-fig img { width: 100%; height: 100%; object-fit: cover; }
.bc-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.bc-title { font-size: clamp(2.4rem, 5.5vw, 4.4rem); margin: 14px 0 18px; font-weight: 400; }
.bc-lede { color: var(--gray); max-width: 38ch; margin-bottom: 26px; }
.bc-phone { display: inline-flex; align-items: center; gap: 13px; font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--ink); }
.bc-phone svg { color: var(--sage-dk); }
.bc-addr { display: block; margin-top: 20px; color: var(--gray); max-width: 380px; line-height: 1.55; }
.bc-addr .dir { color: var(--sage-dk); font-weight: 600; display: inline-block; margin-top: 6px; }
.bc-addr:hover .dir { text-decoration: underline; }
.hours { border-top: 2px solid var(--rule); }
.hours h3 { font-size: 1.1rem; padding: 16px 0 10px; }
.hours li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.hours li span { color: var(--gray); }
.hours li b { font-family: 'Fraunces', serif; font-weight: 500; }
.hours-note { font-size: 0.85rem; color: var(--gray); margin-top: 12px; font-style: italic; }
.hours .btn { margin-top: 22px; width: 100%; justify-content: center; }

/* ── FOLIO BAR ── */
.folio {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; height: var(--folio);
  background: var(--paper-2); border-top: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad);
  font-family: 'Inter', sans-serif; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.folio .f-mid { color: var(--gray); }
.folio .f-mid b { color: var(--ink); font-weight: 600; }
.folio .f-call { color: var(--sage-dk); font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.folio .f-call:hover { color: var(--ink); }

/* ── Responsive ── */
@media (max-width: 820px) {
  .spread .wrap { display: flex; flex-direction: column; gap: 22px; }
  .s-figA, .s-figB, .s-text { width: 100%; }
  .lay-3 .s-figB { margin-top: 0; }
  .s-figB { aspect-ratio: 16/10 !important; }
  .s-figA { aspect-ratio: 4/3 !important; }
  .bc-grid { grid-template-columns: 1fr; gap: 36px; }
  .cover-sub { flex-direction: column; }
  .folio .f-mid { display: none; }
  .trust-bar { flex-direction: row; flex-wrap: wrap; gap: 10px 24px; }
}
@media (max-width: 560px) { :root { --pad: 20px; } .masthead { font-size: 0.6rem; } }

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