/* tablet-phone.css v1 (Claude, 1 Dec 2026) · goes with tablet-phone.js (iPads held upright get the phone layout,
   laid out 600px wide and scaled up). Fits for the bigger screen, only while html.tablet-phone is on:
   1. Classic and Forest: the door scene (ghost, elephant, doors, ball) is drawn 1.38 times bigger, so it fills the
      width the way it does on a phone; the door names and cues stay at the page's text size.
   2. City View and Treetops: bigger chests.
   And one change that also reaches phones (section 3): more room above the Get in Touch line in Forest and Treetops.
   Laptops, sideways iPads and the 13-inch iPads never get html.tablet-phone. */

/* 1a. Classic. zoom would also scale the group's own top and margins (the phone's 12 / 70 / 18 / 12px), leaving bigger
   gaps above and below than on a phone. Top, margin-top and padding-bottom are the phone values divided by 1.38;
   margin-bottom is pulled in further, so the line below sits 8px under a tapped door's "Tap again to enter".
   They follow today's phone values: if those change, change these too. */
html.tablet-phone body.home-view[data-site-scene="plain"] .forest-landing:has(.forest-stage[data-scene="plain"]) .chic-woodland > .chic-doors {
  zoom: 1.38;
  top: calc(12px / 1.38);
  margin-top: calc(70px / 1.38);
  margin-bottom: calc(-22px / 1.38);
  padding-bottom: calc(18px / 1.38);
}
/* 1b. Forest. Its group is placed with top and padding (phone: 178px and 140px). The top stays where it is; the
   padding puts the bigger scene a little lower than the phone does, just above "Hi, I'm Sorah". */
html.tablet-phone body[data-site-scene="forest"] .forest-stage[data-scene="forest"] > .chic-doors {
  zoom: 1.38;
  top: calc(178px / 1.38);
  padding-top: 96px;
}
/* 1c. Door names and "Tap again to enter": the same text size as the rest of the page (inside the bigger scene they
   would be 1.38 times bigger too, and need more room under the doors). */
html.tablet-phone body:is([data-site-scene="plain"], [data-site-scene="forest"]) .chic-doors .chic-door > :is(.door-label, .door-tap-cue) { zoom: 0.7246; }
html.tablet-phone body[data-site-scene="plain"] .chic-doors .chic-door > .door-label { margin-top: 23px; }
/* 2. City View and Treetops: bigger chests. The site already sizes them with scale (phones: City View 1.3,
   Treetops 1.75); these go a step further on these iPads (×1.3 and ×1.2). The site grows them from their base
   (transform-origin 50% 100%), so the links, labels and paths stay where they are. */
html.tablet-phone body.home-view .forest-stage[data-scene="nyc"] .discovery .light-call > svg.treasure { scale: 1.7; }
html.tablet-phone body.home-view .forest-stage[data-scene="treetop"] .discovery .light-call > svg.treasure { scale: 2.1; }

/* 3. Phones and upright iPads (680px and down: this one also changes phones). Forest and Treetops: a little more air
   between the last words of the intro ("…places I never imagined I'd go.") and the line above Get in Touch, so the
   Treetops rocket and the Forest treats have room. It was 68px, as in City View, which has more in that space;
   now 108px. */
@media (max-width: 680px) {
  body.home-view:is([data-site-scene="forest"], [data-site-scene="treetop"]) .forest-landing:has(.forest-stage) .landing-contact { margin-top: 108px; }
}
