/* focus-scroll.css — Diamond Rock scroll story, pass 2. Load after styles.css. Namespace: fs-
   Default (no JS, reduced motion, short viewport): normal flow.
   .fs-live (added by focus-scroll.js): one pinned, centered composition for scenes 01–02. */

/* ---------- Normal flow (default) ---------- */
.fs-story{--fs-head:93px;--fs-pin:calc(100vh - var(--fs-head));--fs-stage-h:auto;position:relative;display:grid;grid-template-columns:minmax(0,540px) minmax(0,400px);justify-content:center;column-gap:clamp(40px,6vw,96px)}
@supports (height:100svh){.fs-story{--fs-pin:calc(100svh - var(--fs-head))}}
.fs-pin,.fs-scenes{display:contents}
.fs-anchor{display:block;height:0;overflow:hidden}
.fs-anchor--top{grid-column:1;grid-row:1}
.fs-stage{position:relative;grid-column:2;grid-row:2;min-width:0;height:var(--fs-stage-h);display:flex;align-items:center;justify-content:center;pointer-events:none}
.fs-scene--top{grid-column:1;grid-row:2;min-height:var(--fs-pin);display:flex;flex-direction:column;justify-content:center;padding:40px 0}
.fs-anchor--approach{grid-column:1;grid-row:3}
.fs-scene--buyers{grid-column:1;grid-row:4;padding:64px 0 88px;border-top:1px solid var(--line)}
.fs-gem{display:block;width:min(100%,400px);height:auto;overflow:visible}
.fs-copy{max-width:540px}

/* ---------- Pinned focus composition ---------- */
.fs-story.fs-live{display:block;height:calc(var(--fs-pin) * 2.1)}
.fs-live .fs-anchor{position:absolute;left:0;top:0;width:1px}
.fs-live .fs-pin{position:sticky;top:var(--fs-head);height:var(--fs-pin);display:grid;grid-template-columns:minmax(0,540px) minmax(0,400px);grid-template-rows:minmax(0,1fr);justify-content:center;align-items:center;column-gap:clamp(40px,6vw,96px)}
.fs-live .fs-stage{grid-column:2;grid-row:1}
.fs-live .fs-scenes{grid-column:1;grid-row:1;display:grid;align-items:center}
.fs-live .fs-scene{grid-area:1/1;min-height:0;padding:0;border-top:0;transition:opacity .38s ease,transform .38s ease}
.fs-live .fs-scene.is-before,.fs-live .fs-scene.is-after{opacity:0;pointer-events:none}
.fs-live .fs-scene.is-before{transform:translateY(-16px)}
.fs-live .fs-scene.is-after{transform:translateY(16px)}
.fs-live.fs-instant .fs-scene{transition:none}
@media (min-width:901px){.fs-live .fs-stage{height:100%}}

/* ---------- Type ---------- */
.fs-kicker{display:flex;align-items:center;gap:12px;margin:0 0 22px;font:600 11px/1.6 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--ink)}
.fs-kicker::before{content:"";flex:none;width:26px;height:1px;background:var(--brass);transition:width .38s ease}
.fs-live .fs-scene.is-active .fs-kicker::before{width:48px}
.fs-title{margin:0;font-family:var(--serif);font-weight:500;font-size:clamp(54px,5.8vw,84px);line-height:1;letter-spacing:-.035em;color:var(--forest)}
h2.fs-title{font-size:clamp(46px,5vw,72px);line-height:1.02}
h2.fs-title--sm{font-size:clamp(40px,4.2vw,62px)}
.fs-line{margin:24px 0 0;max-width:34ch;font-size:18px;line-height:1.65;color:var(--muted)}
.fs-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:34px}
.fs-actions .button{font-size:14px}
.fs-actions .fs-seller-cta{font-size:14px;min-height:44px;transform:none}
.fs-actions .fs-seller-cta:hover{transform:none}
.fs-link{display:inline-flex;align-items:center;min-height:44px;margin-top:22px;font-size:14px;font-weight:500;color:var(--forest);border-bottom:1px solid var(--brass)}
.fs-link:hover{color:#876132}

/* ---------- Stage geometry ---------- */
.fs-f{fill:var(--forest);stroke:var(--forest);stroke-opacity:.72;stroke-width:1.2;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.fs-plot{opacity:1}
.fs-plot polygon{stroke:#6f532c;stroke-width:1;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.fs-plot-t{fill:var(--brass)}
.fs-stage-caption{position:absolute;bottom:9%;left:0;width:100%;margin:0;text-align:center;color:var(--muted);font-size:11px;line-height:1.4;letter-spacing:.06em;opacity:1}
.fs-story:not(.fs-live) .fs-f{fill-opacity:.04}
.fs-hotel{transform-box:view-box;transform-origin:200px 236px}
.fs-hotel-details{transform-box:view-box;transform-origin:200px 236px}
.fs-plot .fs-hotel-wall-left{fill:#c8b58c;stroke:#786b4d}
.fs-plot .fs-hotel-wall-right{fill:#657b66;stroke:#435d4c}
.fs-plot .fs-hotel-roof{fill:#e6dcc3;stroke:#786b4d}
.fs-plot .fs-hotel-roof-inset{fill:#b5b698;stroke:#8d896c;stroke-width:.7}
.fs-plot .fs-hotel-window{fill:#f3e7c8;stroke:none}
.fs-plot .fs-hotel-entry{fill:#234b3d;stroke:#405b46;stroke-width:.7}
.fs-plot .fs-hotel-canopy{fill:#b8945f;stroke:#786b4d;stroke-width:.7}
.fs-landscape{opacity:1;transform-box:view-box}
.fs-plot .fs-lawn{fill:#b7c4a0;fill-opacity:.72;stroke:#899c76;stroke-width:.7}
.fs-grass{fill:none;stroke:#73896c;stroke-width:.8;stroke-linecap:round;stroke-linejoin:round}

/* ---------- 04 Founders: compact, equal; diamond-to-frame reveal (--o default 1 = full frame) ---------- */
.fs-people>.shell{max-width:920px}
.fs-people .team-heading{display:block;margin-bottom:clamp(28px,4vw,44px)}
.fs-people .team-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2.4vw,32px);max-width:920px}
.fs-people .team-photo{--o:1;aspect-ratio:1/1.08;clip-path:polygon(50% calc(8% - 8% * var(--o)),calc(71% + 29% * var(--o)) calc(29% - 29% * var(--o)),calc(92% + 8% * var(--o)) 50%,calc(71% + 29% * var(--o)) calc(71% + 29% * var(--o)),50% calc(92% + 8% * var(--o)),calc(29% - 29% * var(--o)) calc(71% + 29% * var(--o)),calc(8% - 8% * var(--o)) 50%,calc(29% - 29% * var(--o)) calc(29% - 29% * var(--o)))}
.fs-people .team-portrait{transform:scale(calc(1.1 - .1 * var(--o)))}
/* Match the forward-facing portrait to the other founders while preserving the reveal.
   Top-origin 5% zoom covers the 4% lift, including the bottom edge. */
.fs-people .portrait-roee{transform-origin:50% 0;transform:translateY(-4%) scale(calc(1.15 - .1 * var(--o)))}
.fs-people .team-details{display:block;padding:14px 0 0;border-bottom:0}
.fs-people .team-details h3{font-size:clamp(18px,2.2vw,27px);line-height:1.15}
.fs-people .team-details p{margin-top:4px;font-size:12px;white-space:normal}

/* ---------- 05 Join: copy-side mark only; form card untouched ---------- */
.fs-join .join-copy>p.fs-kicker{margin:0 0 22px;font-size:11px;line-height:1.6;color:var(--sage);max-width:none}
.fs-join .join-copy>p.fs-join-alt{margin:28px 0 0;font-size:14px}
.fs-join-mark{--j:1;display:block;width:56px;height:auto;margin:0 0 26px;fill:none;stroke:#c9a56b;stroke-width:1.4;stroke-linejoin:round;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--j));transform:rotate(calc((1 - var(--j)) * -24deg));transform-origin:50% 45%}
@media (min-width:901px){.fs-join .join-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}}

/* ---------- 03 Sellers: email compose, secondary to the VIP application ---------- */
.fs-contact{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:start;gap:clamp(24px,5vw,64px)}
.fs-contact .contact-action{min-width:0;margin-top:0}
.fs-contact .contact-copy .fs-kicker{margin-bottom:20px}
.fs-contact .contact-copy h2{font-size:clamp(36px,3.6vw,54px);max-width:15ch}
.fs-contact .fs-seller-copy{max-width:58ch;margin:22px 0 0;font-size:16px;line-height:1.8;color:var(--muted)}
.fs-contact .fs-email-note{max-width:42ch;margin:12px 0 0;font-size:13px;line-height:1.65}
.fs-contact .fs-partner-copy{margin:18px 0 0;font-size:13px;line-height:1.7}

.fs-contact-email{display:block;margin-top:18px;font-size:15px;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
/* Buying preferences stay in the existing reviewed application. */
.field select{display:block;width:100%;min-height:48px;background:#fbfaf4;color:var(--ink);border:1px solid #7e8a73;border-radius:2px;padding:11px 12px;font-size:14px;line-height:1.5}
.field select:focus-visible{outline:3px solid var(--focus-color);outline-offset:3px}
.fs-property-types{border:0;margin:0;padding:0;min-width:0}
.fs-property-types legend{padding:0;font-size:14px;font-weight:500}
.fs-property-types legend span{color:var(--muted);font-weight:400}
.fs-property-types>p{margin:6px 0 10px;font-size:12px;color:var(--muted)}
.fs-type-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.fs-type-options label{display:flex;align-items:center;gap:10px;min-height:48px;margin:0;padding:10px;border:1px solid #7e8a73;border-radius:2px;background:#fbfaf4;cursor:pointer}
.fs-type-options input{flex:none;width:18px;height:18px;min-height:0;margin:0;padding:0;accent-color:var(--forest)}
.fs-type-options label span{color:var(--ink);font-size:13px;line-height:1.4}
.fs-type-options label:has(input:checked){background:#e4ebdc;border-color:var(--forest)}

/* ---------- Tablet + mobile: small stage row above the message, same pinned unit ---------- */
@media (max-width:900px){
  .fs-story{--fs-head:81px;--fs-stage-h:clamp(140px,22vh,190px);grid-template-columns:minmax(0,1fr);justify-content:stretch}
  .fs-stage{grid-column:1;grid-row:2;padding-top:12px}
  .fs-gem{width:auto;height:100%;max-width:100%}
  .fs-stage-caption{bottom:0;font-size:10px}
  .fs-scene--top{grid-row:3;min-height:0;justify-content:flex-start;padding:24px 0 48px}
  .fs-anchor--approach{grid-row:4}
  .fs-scene--buyers{grid-row:5;padding:40px 0 64px}
  .fs-live .fs-pin{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);justify-content:stretch;align-items:center}
  .fs-live .fs-stage{grid-column:1;grid-row:1}
  .fs-live .fs-scenes{grid-column:1;grid-row:2;padding:8px 0 24px}
  /* The copy shares one grid cell. Finish fading out before revealing the next
     message, including when a swipe reverses across the scene boundary. */
  .fs-live .fs-scene{transition-duration:.18s;transition-delay:0s}
  .fs-live .fs-scene.is-active{transition-delay:.18s}
  .fs-title{font-size:clamp(44px,9vw,66px)}
  h2.fs-title{font-size:clamp(40px,8vw,58px)}
  .fs-line{font-size:17px}
}
@media (max-width:700px){
  .fs-story{--fs-head:77px}
  .fs-kicker{font-size:10px;margin-bottom:18px}
  .fs-title{font-size:clamp(42px,11.5vw,56px)}
  h2.fs-title{font-size:clamp(38px,10vw,50px)}
  h2.fs-title--sm{font-size:38px}
  .fs-line{margin-top:18px;font-size:16px}
  .fs-actions{margin-top:26px}
  .fs-actions .button{width:100%}
  .fs-actions .fs-seller-cta{width:auto;align-self:flex-start;justify-content:flex-start}
  .fs-contact{grid-template-columns:minmax(0,1fr);gap:24px}
  .fs-contact .fs-email-note{max-width:none}
  .field select{font-size:16px}
  .fs-type-options{grid-template-columns:1fr}
  .fs-people .team-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .fs-people .team-photo{aspect-ratio:1/1.12}
  .fs-people .team-details{display:block;padding:10px 0 0}
  .fs-people .team-details h3{font-size:16px;line-height:1.2}
  .fs-people .team-details p{margin-top:3px;font-size:11px}
}
.review-dialog #introduction-text:focus-visible{outline:3px solid var(--focus-color);outline-offset:3px}

/* Small-screen founders retain equal rows, readable names and the same portrait reveal. */
@media (max-width:560px){
  .fs-people .team-grid{grid-template-columns:minmax(0,1fr);gap:20px}
  .fs-people .team-person{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:16px;min-width:0}
  .fs-people .team-photo{width:96px;height:96px;aspect-ratio:1}
  .fs-people .team-details{padding:0;min-width:0}
  .fs-people .team-details h3{font-size:20px;line-height:1.2}
  .fs-people .team-details p{font-size:13px;line-height:1.5}
}
