/* Home hero, 11/17 blend (Anthony: "I like the concept but do a blend of both"): Two Seasons split photo hero (January / July)
   with the Three Rooms problem cards overlapping its bottom edge. Loads before bigbrand.css, so button rules carry a third class. */
.ts-hero{position:relative;isolation:isolate;overflow:hidden;background:var(--color-navy);display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto 1fr;
  min-height:clamp(620px,calc(100svh - 136px),780px);padding-bottom:164px}
.ts-photo{position:absolute;top:0;bottom:0;width:50%;overflow:hidden;z-index:0}
.ts-photo--winter{left:0}
.ts-photo--summer{right:0}
.ts-photo .hero__bg{position:absolute;inset:0}
.ts-photo .hero__img{width:100%;height:100%;object-fit:cover;display:block}
.ts-photo--winter .hero__img{object-position:74% 50%}
.ts-photo--summer .hero__img{object-position:62% 50%}
/* navy scrim holds the white text: plateau over the text block, then fades out above the units */
.ts-photo::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(27,30,52,var(--scrim)) 0%,rgba(27,30,52,var(--scrim)) 34%,rgba(27,30,52,0) 62%)}
.ts-photo--winter{--scrim:.62}
.ts-photo--summer{--scrim:.68}
/* the seam between the seasons */
.ts-hero::after{content:"";position:absolute;z-index:1;top:0;bottom:0;left:calc(50% - 1px);width:2px;background:#fff;pointer-events:none}
.ts-h1,.ts-lines{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;position:relative;z-index:2;margin:0;color:#fff}
.ts-h1{padding-top:clamp(16px,2.4vh,24px);font-weight:900}
/* SEO h1 (Rankings Guard 11/18: restores the 11/13 baseline h1): a navy chip that caps the seam above the two season questions */
.ts-kicker{grid-column:1/-1;justify-self:center;position:relative;z-index:3;margin:clamp(28px,4.4vh,40px) 0 0;max-width:calc(100% - 32px);
  padding:7px 18px;border:2px solid #fff;border-radius:999px;background:var(--color-navy);color:#fff;
  font-size:.9375rem;font-weight:700;line-height:1.3;letter-spacing:.02em;text-align:center;text-shadow:none;box-shadow:0 6px 18px rgba(14,16,32,.28)}
.ts-h1>span,.ts-lines>p{padding-inline:clamp(24px,6vw,100px);text-align:center;text-wrap:balance}
.ts-h1>span{display:block;font-size:clamp(2.5rem,1.1rem + 2.9vw,3.5rem);line-height:1.07;letter-spacing:-.01em;text-shadow:0 2px 20px rgba(14,16,32,.35)}
.ts-lines{padding-top:16px}
.ts-lines>p.lead{margin:0;color:#fff;font-size:clamp(1.0625rem,.95rem + .3vw,1.1875rem);line-height:1.5;max-width:none;text-shadow:0 1px 14px rgba(14,16,32,.4)}
.ts-pill{grid-column:1/-1;align-self:center;justify-self:center;position:relative;z-index:3;width:min(640px,calc(100% - 48px));margin-top:24px;
  background:#fff;border-radius:14px;box-shadow:0 18px 48px rgba(14,16,32,.35);padding:20px 24px;text-align:center}
.ts-pill__line{margin:0 0 12px;font-size:1.0625rem;line-height:1.5;color:var(--color-ink)}
.ts-hero .ts-pill .hero-actions{display:flex;gap:12px;justify-content:center;margin:0}
.ts-hero .ts-pill .btn{min-height:56px;font-size:1.0625rem;padding-inline:26px}
.ts-hero .ts-pill .btn-cta{min-width:250px}
.ts-hero .ts-pill .btn-line:not(:hover){background:transparent}
.ts-hero .ts-pill .btn:focus-visible{outline:3px solid var(--color-primary);outline-offset:3px}

/* the three problem cards ride up over the bottom of the photos */
.ts-rooms{position:relative;z-index:2;margin-top:-136px;padding-bottom:clamp(32px,4vw,56px)}
.ts-rooms__row{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.ts-room{display:flex;flex-direction:column;height:100%;background:#fff;border-radius:12px;overflow:hidden;color:var(--color-navy);text-decoration:none;
  box-shadow:0 14px 36px rgba(14,16,32,.18);transition:box-shadow .2s,transform .2s}
.ts-room:hover{box-shadow:0 18px 44px rgba(14,16,32,.26);transform:translateY(-2px)}
.ts-room:focus-visible{outline:3px solid var(--color-primary);outline-offset:3px}
.ts-room__ph{display:block;aspect-ratio:3/2;overflow:hidden;background:var(--color-pale-blue)}
.ts-room__ph img{width:100%;height:100%;object-fit:cover;display:block}
.ts-room__label{display:flex;align-items:center;gap:14px;padding:16px 20px 18px}
.ts-room__ic{flex:none;display:inline-flex;color:var(--color-primary)}
.ts-room__ic svg{width:32px;height:32px}
.ts-room__txt{display:flex;flex-direction:column;gap:2px}
.ts-room__name{font-size:1.125rem;font-weight:700;line-height:1.3}
.ts-room__go{font-size:.9375rem;font-weight:700;color:var(--color-mid-blue)}
@media (prefers-reduced-motion:reduce){.ts-room,.ts-room:hover{transition:none;transform:none}}

/* tablet: keep the split, tighten type */
@media(max-width:1060px){
  .ts-h1>span,.ts-lines>p{padding-inline:24px}
  .ts-rooms__row{gap:16px}
  .ts-room__label{padding:14px 14px 16px;gap:10px}
}

/* phone: the seasons stack (January over July), the pill sits on the seam, the cards become a swipe row */
@media(max-width:700px){
  .ts-hero{display:block;min-height:0;height:800px;padding:0}
  .ts-photo{left:0;right:0;width:auto}
  .ts-photo--winter{top:0;bottom:auto;height:340px}
  .ts-photo--summer{top:340px;bottom:0}
  .ts-photo::after{background:linear-gradient(180deg,rgba(27,30,52,var(--scrim)) 0%,rgba(27,30,52,var(--scrim)) 36%,rgba(27,30,52,0) 60%)}
  .ts-photo--summer .hero__img{object-position:50% 100%}
  .ts-hero::after{top:339px;bottom:auto;left:0;right:0;width:auto;height:2px}
  .ts-h1,.ts-lines{display:block;position:static}
  .ts-h1>span,.ts-lines>p{position:absolute;z-index:2;left:16px;right:16px;padding:0}
  .ts-h1>span{font-size:1.875rem;line-height:1.13}
  /* the chip, the January question and its line run in normal flow, so a wrapped chip (large text, 320px) pushes them down instead of
     clipping or overlapping; the July half and the pill keep their fixed spots */
  .ts-h1,.ts-lines{padding-top:0}
  .ts-kicker{width:fit-content;max-width:calc(100% - 32px);margin:14px auto 0;padding:5px 14px;font-size:.8125rem;text-wrap:balance}
  .ts-h1>.ts-h1__a{position:relative;top:auto;left:auto;right:auto;margin:9px 16px 0}
  .ts-h1__b{top:420px}
  .ts-lines>p.lead{font-size:.9375rem;line-height:1.35}
  .ts-lines>p.lead.ts-line--a{position:relative;top:auto;left:auto;right:auto;margin:10px 16px 0}
  .ts-line--b{top:462px}
  .ts-pill{position:absolute;left:16px;right:16px;top:302px;width:auto;margin:0;padding:12px;border-radius:12px}
  .ts-pill__line{display:none}
  .ts-hero .ts-pill .hero-actions{gap:8px}
  .ts-hero .ts-pill .btn{min-height:50px;font-size:.9375rem;padding-inline:12px;min-width:0;white-space:nowrap;gap:6px}
  .ts-hero .ts-pill .btn-cta{flex:1 1 auto}
  .ts-hero .ts-pill .btn-line{flex:0 1 auto}
  .ts-hero .ts-pill .btn svg{width:16px;height:16px}
  .ts-rooms{margin-top:-64px}
  .ts-rooms .wrap{padding-inline:0}
  .ts-rooms__row{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 16px 8px;scroll-padding-inline:16px;scrollbar-width:none}
  .ts-rooms__row::-webkit-scrollbar{display:none}
  .ts-rooms__row>li{flex:0 0 78%;scroll-snap-align:start}
}

/* small phones (under 390): the two pill buttons no longer fit one row, and a wrapped pill covered the July question (live 11/17 at 375).
   The call button goes icon-only; the number stays as its accessible name, and the header and bottom bar still show a call button. */
@media(max-width:389px){
  .ts-hero .ts-pill .btn-line{flex:0 0 50px;width:50px;padding:0;justify-content:center}
  .ts-hero .ts-pill .btn-line svg{width:20px;height:20px}
  .ts-pill__num{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
}
/* under 360 the July question wraps to two lines (live 11/17 at 320: its line sat on top of it) */
@media(max-width:359px){.ts-line--b{top:496px}}
