/* Oke & Tempo on the shared plates (21 Oct 2026, pending review; site wide rollout of plate-glide). Composition only;
   behaviour is components/plates. Desktop with html.plates-on; phone unchanged.
   - The film is the hero plate. The letter is one plate (Camille: "make sure this is one plate"): it fits the screen,
     the founders' photograph sized to the room left, and its elements enter with the drop in preset (plate-text-sets:
     the heading, then the letter in reading order, line by line, the photograph and signature rising whole).
   - Closing: one screen, as on Homes and Design: heading and Discover more at the top, the eucalyptus fitted whole
     below them, travelling together as the footer rises (held, the centred heading would sit on the tree). */
@media(min-width:721px) and (prefers-reduced-motion:no-preference) {


 html.plates-on .oke-tempo-page #contact { height:100svh; padding-top:calc(var(--header-h,72px) + 6svh); }
 html.plates-on .oke-tempo-page #contact .place-closing__copy { position:relative; top:auto; flex:none; margin-top:0; margin-bottom:32px; z-index:1; }
 html.plates-on .oke-tempo-page #contact > figure { flex:1; min-height:0; height:auto; padding:0; }
 html.plates-on .oke-tempo-page #contact > figure > img { width:100%; height:100%; object-fit:contain; object-position:center bottom; }
}

/* Phone closing (22 Oct 2026, phone only; Camille on the storyboard, Oke & Tempo 4: "this needs to be rebalanced - maybe just
   DISCOVER Oke& Tempo - so less words"). Phone reads "Discover / Oke & Tempo"; desktop keeps "Discover more about". */
@media(max-width:720px) { #contact [data-desktop-words] { display:none; } }

/* Phone closing sketch centred (Camille, Oke & Tempo 4: "center image"). The gums are drawn in the left three quarters of a
   square sheet (ink spans 0 to 74% of its width), so the sheet is placed to put the drawing, not the sheet, on the centre line.
   Scoped to the gums file (22 Oct 2026): the closing now uses the evening exterior, which keeps the shared closing fit. */
@media(max-width:720px) {
 .oke-tempo-page #contact[data-closing="illustrated"] { --oke-sketch:min(100vw, calc(100lvh - var(--header-h,88px) - 300px)); }
 .oke-tempo-page #contact[data-closing="illustrated"] > figure > img[src*="oke-tempo-gums"] { width:var(--oke-sketch) !important; height:var(--oke-sketch) !important; max-height:none;
   margin:0 0 0 calc(50% - .369 * var(--oke-sketch)) !important; }
}

/* O01 (Codex desktop review, 23 Oct 2026): on shorter desktops the letter's fixed gaps pushed the sign off below its plate,
   under the closing. Below 940px of height the same composition tightens its gaps (heading, paragraphs, sign off and the
   plate's own padding) rather than its type, and the portrait takes back the room saved so it keeps its weight beside the
   column. 1000px tall compositions are unchanged. Reduced motion keeps the unplated, freely scrolling letter. */
@media(min-width:721px) and (max-height:940px) and (prefers-reduced-motion:no-preference) {
 /* Camille 23 Oct 2026 ("ok" to option A): taller than the screen, the letter scrolls as a still strip to its sign off before the closing rises; the nav spacing rule keeps its 253px start */




}
@media(min-width:721px) and (max-height:780px) and (prefers-reduced-motion:no-preference) {




}

/* Camille27Oct2026: Closer to Home is a natural reading section, not a one-screen plate.
   Keep the existing grid, copy and portrait; remove viewport-driven compression only. */
@media(min-width:721px) {
 html.plates-on body.oke-tempo-page main > #closer-to-home { height:auto; min-height:0; padding:176px var(--page) 128px; align-content:normal; }
 html.plates-on .oke-tempo-page #closer-to-home .oke-founders img { width:100%; max-width:100%; height:auto; max-height:none; }
}
