/* Oasis Women Center · THE PLAN, interior pages.
   Loaded after plan.css on every page except the home. The home is the page that moves; these rest.
   Same world: paper, pine, one gold line, Newsreader, her handwriting. Gold still means one thing.
   Motion is one load-in per page (the gold seam draws, the photograph opens out from it) and a quiet
   rise as each section arrives. No pinned scenes, no frame loops: nothing here costs the scroll. */

/* ---------- page hero: the seam, held still ---------- */
.ph { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(580px, 84svh, 820px); background: var(--paper); overflow: hidden; border-bottom: 1px solid var(--rule); }
.ph-text { display: flex; flex-direction: column; justify-content: center; min-width: 0;
  padding: clamp(128px, 19vh, 190px) clamp(28px, 4.4vw, 76px) clamp(56px, 8vh, 96px) var(--gutter); }
.ph-text .eyebrow { margin-bottom: 20px; }
.ph-text .lede { margin: 26px 0 0; }
.ph-note { margin: 34px 0 0; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.1; color: #4E4743; transform: rotate(-2.5deg); transform-origin: left; }
.ph-stage { position: relative; min-width: 0; }
.ph-plate { position: absolute; inset: 0; margin: 0; }
.ph-plate img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.ph-tag { position: absolute; left: 22px; bottom: 20px; background: rgba(251, 245, 236, .94); color: var(--pine); font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; }
.ph-seam { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px; background: var(--gold); box-shadow: 0 0 22px 2px rgba(217, 153, 59, .55); z-index: 4; transform-origin: top; }
.ph-knob { position: absolute; top: 87%; left: 50%; transform: translate(-50%, -50%); background: var(--gold); color: #1E150A; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 28px rgba(60, 38, 8, .25); }
.ph-knob b { font-weight: 700; margin-right: 6px; }

/* one load-in, driven by CSS alone so nothing can get stuck hidden */
@keyframes ph-open   { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes ph-open-v { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ph-draw   { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ph-draw-h { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ph-rise   { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ph-pop    { from { opacity: 0; transform: translate(-50%, calc(-50% + 12px)); } to { opacity: 1; transform: translate(-50%, -50%); } }
.ph-plate { animation: ph-open 1.5s var(--ease) .3s both; }
.ph-seam  { animation: ph-draw 1.1s var(--ease) .1s both; }
.ph-knob  { animation: ph-pop .9s var(--ease) 1.2s both; }
.ph-text > * { animation: ph-rise .9s var(--ease) both; }
.ph-text > :nth-child(2) { animation-delay: .08s; }
.ph-text > :nth-child(3) { animation-delay: .18s; }
.ph-text > :nth-child(4) { animation-delay: .3s; }
.ph-text > :nth-child(5) { animation-delay: .4s; }
.ph-text > :nth-child(6) { animation-delay: .5s; }

/* ---------- bands ---------- */
.bd { position: relative; padding: clamp(80px, 10vw, 150px) var(--gutter); }
.bd-in { max-width: 1240px; margin: 0 auto; }
/* two paper bands in a row read as one page: share one gap and rule them apart */
.bd-paper + .bd-paper { padding-top: 0; }
.bd-paper + .bd-paper > .bd-in { border-top: 1px solid var(--rule); padding-top: clamp(64px, 8vw, 120px); }
.bd-paper { background: var(--paper); }
.bd-sand { background: var(--sand); }
.bd-rose { background: var(--rose); }
.bd-pine { background: var(--pine); color: rgba(251, 245, 236, .86); }
.bd-pine .eyebrow { color: var(--gold-light); }
.bd-pine .title { color: var(--paper-hi); }
.bd-pine .title em { color: var(--gold-light); }
.bd-pine a { text-decoration-color: rgba(245, 200, 119, .7); }

/* the rail: a sticky heading beside the reading column */
.rl { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.rl-head { position: sticky; top: 118px; }
.rl-head::before { content: ""; display: block; width: 44px; height: 2px; background: var(--gold); margin-bottom: 26px; }
.rl-head .title { margin-bottom: 0; }
.rl-head .lede { margin-top: 24px; }
.bd-pine .rl-head .lede { color: rgba(251, 245, 236, .78); }

/* reading column */
.ed p:not([class]) { font-size: 18.5px; line-height: 1.72; max-width: 62ch; margin: 0 0 1.15em; }
.ed strong { color: var(--pine); font-weight: 600; }
.ed a, .note a { text-decoration-color: rgba(217, 153, 59, .8); text-underline-offset: 4px; }
.bd-pine .ed p:not([class]) { color: rgba(251, 245, 236, .86); }
.bd-pine .ed strong { color: var(--paper-hi); }
.lede-xl { font: 300 clamp(24px, 2.4vw, 36px)/1.28 var(--display); letter-spacing: -.018em; color: var(--pine); max-width: 36ch; margin: 0 0 .8em; text-wrap: pretty; }
.ed .lede-xl { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.28; max-width: 36ch; }
.bd-pine .lede-xl, .bd-pine .ed .lede-xl { color: var(--paper-hi); }
.lede-xl em { color: var(--gold-deep); }
.bd-pine .lede-xl em { color: var(--gold-light); }
.stmt { font: 300 clamp(34px, 4.2vw, 64px)/1.08 var(--display); letter-spacing: -.026em; color: var(--pine); max-width: 20ch; margin: 0 0 .5em; text-wrap: balance; }
.stmt em { font-style: italic; color: var(--gold-deep); }
.bd-pine .stmt { color: var(--paper-hi); }
.bd-pine .stmt em { color: var(--gold-light); }
.note, .ed .note { font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 60ch; margin: 0 0 1em; }
.bd-pine .note, .bd-pine .ed .note, .col-ink .note { color: rgba(251, 245, 236, .7); }
.col-ink .eyebrow { color: var(--gold-light); }
.col-ink .stmt, .col-ink .lede-xl, .col-ink .title { color: var(--paper-hi); }
.col-ink .stmt em, .col-ink .lede-xl em, .col-ink .title em { color: var(--gold-light); }
.col-ink a:not(.btn) { text-decoration-color: rgba(245, 200, 119, .7); }
.ph-ctas { margin: 32px 0 0; }
.posts { display: grid; }
.post { padding: 34px 0; border-top: 1px solid var(--rule); }
.post:last-child { border-bottom: 1px solid var(--rule); }
.post-date { font: 600 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.post h2 { font: 300 clamp(28px, 2.6vw, 40px)/1.1 var(--display); letter-spacing: -.02em; }
.post h2 a { color: var(--pine); text-decoration: none; }
.post h2 a:hover { color: var(--gold-deep); font-style: italic; }
.post p:last-child { margin: 12px 0 0; color: var(--muted); max-width: 62ch; }
.pq { margin: 46px 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--gold); font: 300 italic clamp(26px, 2.6vw, 38px)/1.25 var(--display); letter-spacing: -.015em; color: var(--pine); max-width: 28ch; }
.who { margin: 0 0 30px; }
.who strong { display: block; font: 600 16px/1.4 var(--sans); color: var(--pine); }
.who span { font-size: 14.5px; color: var(--muted); }
.signoff, .ed .signoff { font: 300 italic 22px/1.4 var(--display); margin: 40px 0 0; color: rgba(251, 245, 236, .86); }
.signoff span, .ed .signoff span { display: block; font: 400 36px/1.2 var(--hand); font-style: normal; margin: 6px 0 4px; color: var(--paper-hi); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.actions-tight { margin-top: 26px; }

/* split sections with a photograph on one side: it opens from the gold line */
.col-photo { position: relative; padding: 0; min-height: clamp(400px, 46vw, 640px); overflow: hidden; background: var(--sand); }
.col-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.col .eyebrow { margin-bottom: 20px; }
.col .title { margin-bottom: 24px; }
.col-lede { font: 300 italic clamp(22px, 2vw, 30px)/1.3 var(--display); color: var(--pine); letter-spacing: -.012em; max-width: 32ch; margin: 0 0 1.1em; }
.col-rose { background: var(--rose); }
.col p:not([class]), .col .col-lede { max-width: 54ch; }
.col .actions { margin-top: 34px; }

/* the facts: ruled rows, serif answers */
.dl { margin: 0; padding: 0; }
.dl > div { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(0, 2.2fr); gap: 18px; padding: 18px 0; border-top: 1px solid var(--rule); align-items: baseline; }
.dl > div:last-child { border-bottom: 1px solid var(--rule); }
.dl dt { font: 600 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dl dd { margin: 0; font: 300 clamp(20px, 1.8vw, 27px)/1.3 var(--display); letter-spacing: -.01em; color: var(--pine); overflow-wrap: anywhere; }
.dl a { text-decoration-color: rgba(217, 153, 59, .8); text-underline-offset: 5px; }

/* intake: four steps along the gold line */
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 44px; width: 2px; background: var(--gold); opacity: .5; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 clamp(18px, 2.4vw, 32px); padding: 0 0 clamp(30px, 3.4vw, 46px); position: relative; }
.steps li:last-child { padding-bottom: 0; }
.steps .n { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: var(--rose); border: 1.5px solid var(--pine); display: grid; place-items: center; font: 600 12px/1 var(--sans); letter-spacing: .06em; color: var(--pine); }
.steps h3 { font: 300 clamp(26px, 2.3vw, 36px)/1.1 var(--display); letter-spacing: -.018em; color: var(--pine); margin: 7px 0 10px; }
.steps p { margin: 0; color: var(--muted); font-size: 17px; max-width: 58ch; }

/* give: the six lines, drawn */
.strip { list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 2vw, 32px); }
.strip a { display: grid; justify-items: center; text-decoration: none; }
.strip img { width: 100%; max-width: 200px; height: auto; aspect-ratio: 1; object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); transition: transform .6s var(--ease); }
.strip a:hover img, .strip a:focus-visible img { transform: rotate(-1.4deg) scale(1.03); }
.strip span { font: 400 clamp(18px, 1.5vw, 24px)/1.1 var(--hand); color: #514944; margin-top: -6px; text-align: center; }
.sec-center { max-width: 760px; }
.sec-center .title { margin-bottom: 18px; }

/* give: what is not money, as ruled rows */
.idx { list-style: none; margin: clamp(36px, 4vw, 60px) 0 0; padding: 0; border-bottom: 1px solid var(--rule); }
.idx li { display: grid; grid-template-columns: clamp(64px, 8vw, 120px) minmax(0, 5fr) minmax(0, 7fr); gap: 0 clamp(16px, 3vw, 48px); padding: clamp(26px, 3vw, 44px) 0; border-top: 1px solid var(--rule); align-items: baseline; }
.idx .n { font: 300 clamp(34px, 3.6vw, 56px)/1 var(--display); color: var(--gold-deep); font-variant-numeric: lining-nums; transition: transform .5s var(--ease); }
.idx li:hover .n { transform: translateX(6px); }
.idx h3 { font: 300 clamp(26px, 2.4vw, 38px)/1.1 var(--display); letter-spacing: -.018em; color: var(--pine); }
.idx p { margin: 0; color: var(--muted); font-size: 17px; max-width: 52ch; }

/* contact form: underlined fields, no boxes */
.ls-form { max-width: 560px; }
.field { margin-bottom: 28px; }
.field label { display: block; font: 600 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field .opt { font-weight: 500; letter-spacing: 0; text-transform: none; }
.field input, .field textarea { display: block; width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid rgba(23, 58, 51, .35); border-radius: 0; padding: 12px 0 11px; font: 400 19px/1.4 var(--sans); color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.field textarea { resize: vertical; min-height: 130px; }
.field select { display: block; width: 100%; background-color: transparent; border: 0; border-bottom: 1.5px solid rgba(23, 58, 51, .35); border-radius: 0; padding: 12px 34px 11px 0; font: 400 19px/1.4 var(--sans); color: var(--ink); cursor: pointer; transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%23173A33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; }
.field input:hover, .field textarea:hover, .field select:hover { border-bottom-color: var(--pine); }
.field select:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1.5px 0 var(--gold); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1.5px 0 var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { min-height: 1.6em; margin: 4px 0 18px; font-size: 15.5px; line-height: 1.5; }
.form-notice.is-ok { color: var(--pine); }
.form-notice.is-err { color: #9B2C1F; }
.ls-form .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.mailbox { display: block; width: clamp(150px, 16vw, 220px); height: auto; aspect-ratio: 1; margin: 34px 0 0 -14px; object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); }
.mailbox-cap { margin: -10px 0 0; font-size: 26px; color: #514944; transform: rotate(-3deg); transform-origin: left; }

/* the close */
.cl .stmt { max-width: 18ch; }
.cl .lede-xl { max-width: 40ch; }

/* quiet rise as sections arrive; the photograph opens out from the gold line */
.js [data-rv] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-rv].is-in { opacity: 1; transform: none; }
.js [data-open] img { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease); }
.js [data-open="l"] img { clip-path: inset(0 0 0 100%); }
.js [data-open].is-in img { clip-path: inset(0 0 0 0); }

/* menu: say where she is */
.menu a[aria-current="page"] { color: var(--gold-deep); font-style: italic; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .rl { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .rl-head { position: static; }
  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
}

/* ---------- phone: the seam turns horizontal, as on the home ---------- */
@media (max-width: 760px) {
  .ph { grid-template-columns: 1fr; min-height: 0; }
  .ph-text { padding: 96px 20px 40px; }
  .ph-note { font-size: 24px; margin-top: 26px; }
  .ph-stage { aspect-ratio: 4 / 3.4; }
  .ph-plate { animation-name: ph-open-v; }
  .ph-seam { top: 0; bottom: auto; left: 0; right: 0; width: auto; height: 2px; margin: -1px 0 0; transform-origin: left; animation-name: ph-draw-h; }
  .ph-knob { top: 50%; }
  .bd { padding: 64px 20px; }
  .col-photo { min-height: 0; aspect-ratio: 3 / 2.1; }
  .js [data-open] img, .js [data-open="l"] img { clip-path: inset(100% 0 0 0); }
  .idx li { grid-template-columns: 52px minmax(0, 1fr); row-gap: 8px; }
  .idx p { grid-column: 2; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl > div { grid-template-columns: 1fr; gap: 4px; }
  .steps::before { left: 17px; }
  .steps li { grid-template-columns: 36px minmax(0, 1fr); gap: 0 16px; }
  .steps .n { width: 36px; height: 36px; font-size: 11px; }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
  .stmt { max-width: none; }
  .pq { margin: 34px 0; padding-left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .ph-plate, .ph-seam, .ph-knob, .ph-text > * { animation: none; }
  .js [data-rv], .js [data-open] img { opacity: 1; transform: none; clip-path: none; }
}
