/* The Fitting Room, the free brand tool page (fitting-room.html, 2026-11-17). Loaded last. The tool is a frame; these rules lay out the
   headline, the email form and the frame, and the state after the email (body.open). Type follows the site's two
   sans sizes: 18px to read (17 on a phone), 15px for anything small. */

/* the one spring the tool itself moves on (explorer.css), so the page and the tool move alike */
:root{--spring:linear(0, 0.0431, 0.145, 0.274, 0.409, 0.5369, 0.6503, 0.7461, 0.8236, 0.8841, 0.9296, 0.9624, 0.9851, 0.9999, 1.0087, 1.0134, 1.0151, 1.0149, 1.0136, 1.0117, 1.0097, 1.0077, 1.0059, 1.0043, 1.0031, 1.0021, 1.0013, 1.0007, 1)}

.lm{padding:calc(72px + clamp(40px,7vh,84px)) 0 0}
.lm__top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,520px);gap:64px;align-items:start}
.lm__side{padding-top:42px}
.lm .eyebrow{margin-bottom:22px}
.lm .h1{font-size:clamp(44px,4.6vw,66px)}
.lm__sub{margin:0 0 24px}
.lm__form{display:flex;align-items:stretch;gap:0;margin:0;height:52px}
.lm__form input{flex:1;min-width:0;height:100%;margin:0;padding:0 16px;border:0;border-radius:0;background:var(--mount);color:var(--ink);font:450 18px/1 var(--text);letter-spacing:-.01em;outline:none;-webkit-appearance:none;appearance:none}
.lm__form input::placeholder{color:var(--muted)}
.lm__form input:focus{background:#EBEDE8}
.lm__form .btn{height:100%;margin:0;border:0;border-radius:0;cursor:pointer}
.lm__note{min-height:22px;margin-top:12px;color:var(--body)}
.lm__note.bad{color:#B3261E}

/* the frame. It has no ground of its own on a wide screen, so the tool sits on whatever color the page is; the strip
   that holds it is the page's color, so it covers the headline block while it slides up over it. */
.lm__stage{margin-top:56px;position:relative;z-index:1;background:var(--page)}
.lm__stage iframe{display:block;width:100%;aspect-ratio:1.775;border:0;pointer-events:none}


/* after the email: the headline block goes and the tool moves up under the nav, at the size it already had */
body.open .lm{padding-top:72px}
body.open .lm__top{display:none}
body.open .lm__stage{margin-top:16px}
body.open .lm__stage iframe{pointer-events:auto}

/* under 860px the tool stacks (the board, then the selector), so the page does too */
@media (max-width:860px){
  .lm__top{grid-template-columns:1fr;gap:20px}.lm__side{padding-top:0}
  .lm__form{flex-direction:column;gap:8px;height:auto}.lm__form input,.lm__form .btn{flex:none;height:52px}.lm__form .btn{justify-content:space-between}
  .lm__stage{margin-top:36px}
  .lm__stage iframe{aspect-ratio:auto;height:620px;background:#fff}
  body.open .lm__stage iframe{aspect-ratio:auto;height:calc(100vh - 72px) !important;min-height:560px}
  @supports (height:100dvh){body.open .lm__stage iframe{height:calc(100dvh - 72px) !important}}   /* the part of the screen the browser's bars leave free */
}
@media (max-width:700px){
  .lm{padding-top:calc(56px + 36px)}
  .lm .h1{font-size:40px}
  .lm__form input{font-size:17px}   /* 16px or more, so a phone does not zoom the page when the field is tapped */
  body.open .lm{padding-top:56px}
  body.open .lm__stage{margin-top:0}
  body.open .lm__stage iframe{height:calc(100vh - 56px) !important}
  @supports (height:100dvh){body.open .lm__stage iframe{height:calc(100dvh - 56px) !important}}
}
