/* ==========================================================================
   Lobby Loop landing page
   --------------------------------------------------------------------------
   Everything is scoped to the single root class .ll-page.

   Why every selector starts with  :is(.ll-page,#ll#ll)
     It MATCHES only on the class .ll-page (no element has id="ll"), but :is()
     takes the specificity of its heaviest argument, so each rule carries the
     weight of two IDs. That is what lets this sheet beat a parent theme's
     `#main .post-content h2 { … }` without !important and without touching
     the theme. Do not "simplify" the prefix to `.ll-page`.

   Palette: plaster, ink and one pine green, chosen to sit under warm interior
   photographs. The photographs and the example slides carry the colour.

   Fonts (Google Fonts, linked from the page head):
     Literata — headings   ·   Libre Franklin — text
   ========================================================================== */

:is(.ll-page,#ll#ll){
  --ll-paper: #f4efe6;
  --ll-paper-2: #e9e1d3;
  --ll-white: #fffdf9;
  --ll-ink: #1f1c18;
  --ll-mute: #564f45;
  --ll-pine: #24443a;
  --ll-pine-d: #18312a;
  --ll-line: #cdc4b2;
  --ll-error: #9c2b1f;
  --ll-head: "Literata", Georgia, "Times New Roman", serif;
  --ll-text: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --ll-gutter: clamp(20px, 5vw, 64px);

  display: block; position: relative; overflow: clip; /* clip, not hidden: hidden would stop the header sticking */
  margin: 0; padding: 0; max-width: none; width: auto; float: none;
  background: var(--ll-paper); color: var(--ll-ink);
  font-family: var(--ll-text); font-size: 18px; line-height: 1.6; font-weight: 400;
  letter-spacing: normal; text-transform: none; text-align: left;
  -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
}
/* Optional: add this class too when the theme boxes the content column and the page must run edge to edge. */
:is(.ll-page,#ll#ll).ll-page--bleed { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

/* ---------- armour: undo whatever the parent theme does to bare elements ---------- */
:is(.ll-page,#ll#ll) *, :is(.ll-page,#ll#ll) *::before, :is(.ll-page,#ll#ll) *::after { box-sizing: border-box; }
:is(.ll-page,#ll#ll) :is(h1, h2, h3, h4, p, ul, ol, li, figure, figcaption, fieldset, legend, label, section, article, header, footer, div, span, strong, em, a, button, input, textarea) {
  margin: 0; padding: 0; border: 0; float: none; background: none; box-shadow: none; text-shadow: none;
  font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; text-align: inherit;
  text-decoration: none; text-indent: 0; min-width: 0; max-width: none; width: auto; height: auto; opacity: 1; border-radius: 0;
}
:is(.ll-page,#ll#ll) :is(h1, h2, h3, h4)::before, :is(.ll-page,#ll#ll) :is(h1, h2, h3, h4)::after, :is(.ll-page,#ll#ll) li::before, :is(.ll-page,#ll#ll) li::after { content: none; }
:is(.ll-page,#ll#ll) :is(ul, ol) { list-style: none; }
:is(.ll-page,#ll#ll) strong { font-weight: 600; }
:is(.ll-page,#ll#ll) em { font-style: italic; }
:is(.ll-page,#ll#ll) :is(img, svg, picture) { display: block; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; max-width: 100%; }
:is(.ll-page,#ll#ll) img { height: auto; }
:is(.ll-page,#ll#ll) button { cursor: pointer; appearance: none; -webkit-appearance: none; }
:is(.ll-page,#ll#ll) :is(a, button, input, textarea):focus-visible { outline: 3px solid var(--ll-pine); outline-offset: 3px; }
:is(.ll-page,#ll#ll) template, :is(.ll-page,#ll#ll) [hidden] { display: none; }

/* ---------- shared pieces ---------- */
:is(.ll-page,#ll#ll) .ll-wrap { width: 100%; max-width: 1184px; margin: 0 auto; padding: 0 var(--ll-gutter); }
:is(.ll-page,#ll#ll) .ll-h2 { font-family: var(--ll-head); font-weight: 500; font-size: clamp(28px, 3.1vw, 42px); line-height: 1.15; letter-spacing: -.005em; color: var(--ll-ink); text-wrap: balance; }
:is(.ll-page,#ll#ll) .ll-eyebrow { font-family: var(--ll-text); font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--ll-pine); }
:is(.ll-page,#ll#ll) .ll-say { font-family: var(--ll-head); font-weight: 500; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.32; color: var(--ll-ink); }
:is(.ll-page,#ll#ll) :is(section, div)[id] { scroll-margin-top: 84px; }

:is(.ll-page,#ll#ll) .ll-btn {
  display: inline-block; padding: 16px 26px; border-radius: 4px;
  background: var(--ll-pine); color: var(--ll-white);
  font-family: var(--ll-text); font-size: 17px; font-weight: 600; line-height: 1.2;
  transition: background-color .15s ease, transform .15s ease;
}
:is(.ll-page,#ll#ll) .ll-btn:hover { background: var(--ll-pine-d); color: var(--ll-white); transform: translateY(-1px); }
:is(.ll-page,#ll#ll) .ll-link { font-size: 17px; font-weight: 600; color: var(--ll-pine); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
:is(.ll-page,#ll#ll) .ll-link:hover { color: var(--ll-ink); }

/* Photographs. With the script running, each one settles into place as it comes into view (see lobby-loop.js);
   it is never hidden, so nothing depends on the script. */
:is(.ll-page,#ll#ll) .ll-photo { overflow: hidden; border-radius: 4px; background: var(--ll-paper-2); }
:is(.ll-page,#ll#ll) .ll-photo img { width: 100%; }
:is(.ll-page,#ll#ll).ll-js .ll-photo img { transform: scale(1.07); transition: transform 1.6s cubic-bezier(.2, .6, .2, 1); }
:is(.ll-page,#ll#ll).ll-js .ll-photo.is-in img { transform: none; }

/* The thin line that fills while a slide is on screen, in the hero and in the viewer. */
:is(.ll-page,#ll#ll) .ll-bar { display: block; height: 3px; background: transparent; overflow: hidden; }
:is(.ll-page,#ll#ll) .ll-bar::after { content: ""; display: block; height: 100%; width: 100%; background: var(--ll-pine); transform: scaleX(0); transform-origin: 0 50%; }
:is(.ll-page,#ll#ll) .ll-bar.is-running::after { animation: ll-fill var(--ll-hold, 4.6s) linear forwards; }
@keyframes ll-fill { to { transform: scaleX(1); } }

/* ==========================================================================
   Header
   ========================================================================== */
:is(.ll-page,#ll#ll) .ll-top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--ll-gutter); background: var(--ll-paper); border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
:is(.ll-page,#ll#ll) .ll-top.is-stuck { border-bottom-color: var(--ll-line); }
:is(.ll-page,#ll#ll) .ll-brand { color: var(--ll-ink); }
:is(.ll-page,#ll#ll) .ll-brand__name { font-family: var(--ll-head); font-weight: 600; font-size: 24px; line-height: 1.2; }
:is(.ll-page,#ll#ll) .ll-brand__by { font-size: 15px; color: var(--ll-mute); margin-left: 6px; }
:is(.ll-page,#ll#ll) .ll-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
:is(.ll-page,#ll#ll) .ll-nav a { font-size: 16px; font-weight: 600; color: var(--ll-ink); padding: 6px 0; border-bottom: 1.5px solid transparent; transition: border-color .15s ease; white-space: nowrap; }
:is(.ll-page,#ll#ll) .ll-nav a:hover { border-bottom-color: var(--ll-ink); }
:is(.ll-page,#ll#ll) .ll-nav .ll-nav__cta { padding: 11px 18px; border: 0; border-radius: 4px; background: var(--ll-pine); color: var(--ll-white); transition: background-color .15s ease; }
:is(.ll-page,#ll#ll) .ll-nav .ll-nav__cta:hover { background: var(--ll-pine-d); }

/* ==========================================================================
   Hero: one photograph of a wall, edge to edge. The words sit over its left half; the lobby plays on the TV in its right half.
   ========================================================================== */
:is(.ll-page,#ll#ll) .ll-hero { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--ll-paper); }
:is(.ll-page,#ll#ll) .ll-hero__copy { grid-area: 1 / 1; z-index: 1; align-self: center; width: min(45%, 900px); padding-left: var(--ll-gutter); }
:is(.ll-page,#ll#ll) .ll-hero__title { font-family: var(--ll-head); font-weight: 500; font-size: clamp(34px, 4.2vw, 84px); line-height: 1.08; letter-spacing: -.012em; color: var(--ll-ink); margin: 0 0 22px; }
:is(.ll-page,#ll#ll) .ll-hero__lede { font-size: clamp(17px, 1.35vw, 25px); line-height: 1.55; color: var(--ll-ink); max-width: 27em; }
:is(.ll-page,#ll#ll) .ll-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 30px; }

/* How the slideshow stays on the television whatever the window does to the photograph.
   .ll-hero__photo is the window: it clips, and it is a size container. .ll-stage is the whole photograph, always at the
   photograph's own 1520x724 proportions and always big enough to cover the window (the max() below is object-fit: cover
   written out), pinned to the window's right edge and centred on its height. The <img> fills the stage uncropped and
   .ll-tv is placed in percentages OF THE STAGE, so the two are cut by the window together and cannot drift apart.
   Screen in the photograph (scripts/photos.py, extend_wall): x 800-1277, y 228-498 of 1520x724; .ll-tv is that plus 2px a side,
   which lands on the bezel. scripts/hero-check.mjs measures it at fourteen window sizes.
   Where cq units are missing the stage is as tall as the window, which is the same thing until the window is capped. */
:is(.ll-page,#ll#ll) .ll-hero__photo { grid-area: 1 / 1; position: relative; overflow: hidden; container-type: size; width: 100%; aspect-ratio: 1520 / 724; min-height: 500px; max-height: max(500px, calc(100vh - 110px)); background: #b98e5c; }
:is(.ll-page,#ll#ll) .ll-stage { position: absolute; right: 0; top: 50%; height: 100%; height: max(100cqh, 100cqw * 724 / 1520); aspect-ratio: 1520 / 724; transform: translateY(-50%); }
:is(.ll-page,#ll#ll) .ll-stage__room { width: 100%; height: 100%; max-width: none; }
:is(.ll-page,#ll#ll) .ll-tv { position: absolute; left: 52.5%; top: 31.215%; width: 31.579%; height: 37.707%; overflow: hidden; background: #0c0c0c; }
/* Plaster laid over the boards behind the words. It belongs to the stage, so it is cut with the photograph, and it sits
   under the television: it thins from 40% across the photograph and is gone by 64%, behind the screen. */
:is(.ll-page,#ll#ll) .ll-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(244, 239, 230, .74) 0%, rgba(244, 239, 230, .72) 40%, rgba(244, 239, 230, .55) 48%, rgba(244, 239, 230, .26) 56%, rgba(244, 239, 230, 0) 64%); }
:is(.ll-page,#ll#ll) .ll-tv__slide { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
:is(.ll-page,#ll#ll) .ll-tv__slide.is-on { opacity: 1; }
:is(.ll-page,#ll#ll) .ll-tv::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35); } /* seats the picture in the bezel */
:is(.ll-page,#ll#ll) .ll-hero__cap { grid-area: 2 / 1; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: baseline; padding: 0 var(--ll-gutter); }
:is(.ll-page,#ll#ll) .ll-bar--hero { grid-column: 1 / -1; margin: 0 calc(-1 * var(--ll-gutter)); background: var(--ll-paper-2); }
:is(.ll-page,#ll#ll) .ll-hero__captext { font-size: 14px; line-height: 1.45; color: var(--ll-mute); text-align: right; }
:is(.ll-page,#ll#ll) .ll-osd__btn { font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--ll-pine); text-decoration: underline; text-underline-offset: 3px; }
:is(.ll-page,#ll#ll) .ll-osd__btn:hover { color: var(--ll-ink); }

/* ==========================================================================
   Sections
   --------------------------------------------------------------------------
   Flat: one page colour, one tinted band (the examples), hairline rules, no shadows. The exception is the band,
   the one place a photograph appears below the hero and the one place a panel is laid over a photograph.
   ========================================================================== */
:is(.ll-page,#ll#ll) .ll-sec { padding: clamp(56px, 7vw, 104px) 0; background: var(--ll-paper); }
:is(.ll-page,#ll#ll) .ll-prose { max-width: 36em; }
:is(.ll-page,#ll#ll) .ll-prose p { margin-top: 1.1em; }
:is(.ll-page,#ll#ll) .ll-prose > :first-child { margin-top: 0; }
:is(.ll-page,#ll#ll) .ll-prose .ll-h2 + p { margin-top: 24px; }
:is(.ll-page,#ll#ll) .ll-prose p + .ll-h2 { margin-top: clamp(40px, 4.5vw, 64px); }
/* picture beside prose (thank-you.html) */
:is(.ll-page,#ll#ll) .ll-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }

/* ---------- What Lobby Loop is: a label and one large paragraph ---------- */
:is(.ll-page,#ll#ll) .ll-what { padding: clamp(64px, 9vw, 136px) 0; }
:is(.ll-page,#ll#ll) .ll-what .ll-say { margin-top: 20px; max-width: 27em; }

/* ---------- Example lobbies: the viewer, and beside it the kinds of slide ---------- */
:is(.ll-page,#ll#ll) .ll-ex { background: var(--ll-paper-2); }
:is(.ll-page,#ll#ll) .ll-ex__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(28px, 3.4vw, 48px) clamp(32px, 5vw, 72px); align-items: start; }
:is(.ll-page,#ll#ll) .ll-ex__head, :is(.ll-page,#ll#ll) .ll-ex__note { align-self: end; }
:is(.ll-page,#ll#ll) .ll-ex__head p { margin-top: 20px; max-width: 36em; }
:is(.ll-page,#ll#ll) .ll-ex__note p, :is(.ll-page,#ll#ll) .ll-kinds p { font-size: 16px; line-height: 1.5; color: var(--ll-mute); }
:is(.ll-page,#ll#ll) .ll-ex__note p { margin-top: 12px; }
:is(.ll-page,#ll#ll) .ll-ideas { margin-top: 16px; border-top: 1px solid var(--ll-line); }
:is(.ll-page,#ll#ll) .ll-ideas li { border-bottom: 1px solid var(--ll-line); }
:is(.ll-page,#ll#ll) .ll-ideas a { display: block; padding: 6px 0; font-size: 16px; line-height: 1.35; color: var(--ll-ink); transition: color .15s ease; }
:is(.ll-page,#ll#ll) .ll-ideas a:hover { color: var(--ll-pine); text-decoration: underline; text-underline-offset: 3px; }
:is(.ll-page,#ll#ll) .ll-ideas a[aria-current] { color: var(--ll-pine); font-weight: 600; } /* the kind of slide on the screen now */

:is(.ll-page,#ll#ll) .ll-lobby + .ll-lobby { margin-top: 72px; }
:is(.ll-page,#ll#ll) .ll-lobby__name { font-family: var(--ll-head); font-weight: 500; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.32; color: var(--ll-ink); margin-bottom: 16px; }
:is(.ll-page,#ll#ll) .ll-screen { position: relative; padding: clamp(5px, .7vw, 9px); border-radius: 6px; background: #121212; }
:is(.ll-page,#ll#ll) .ll-screen img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: opacity .28s ease; }
:is(.ll-page,#ll#ll) .ll-screen img.is-out { opacity: 0; }
:is(.ll-page,#ll#ll) .ll-screen .ll-bar { position: absolute; left: clamp(5px, .7vw, 9px); right: clamp(5px, .7vw, 9px); bottom: clamp(5px, .7vw, 9px); }
:is(.ll-page,#ll#ll) .ll-screen .ll-bar::after { background: var(--ll-white); opacity: .85; }
:is(.ll-page,#ll#ll) .ll-ctl { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px 32px; margin-top: 20px; }
:is(.ll-page,#ll#ll) .ll-job { max-width: 30em; min-height: 3.2em; color: var(--ll-ink); }
:is(.ll-page,#ll#ll) .ll-ctl__btns { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
:is(.ll-page,#ll#ll) .ll-ctl__btns[hidden] { display: none; } /* until the script is there to answer them */
:is(.ll-page,#ll#ll) .ll-step { padding: 10px 16px; border: 1.5px solid var(--ll-pine); border-radius: 4px; background: transparent; color: var(--ll-pine); font-size: 16px; font-weight: 600; line-height: 1.2; transition: background-color .15s ease, color .15s ease; }
:is(.ll-page,#ll#ll) .ll-step:hover, :is(.ll-page,#ll#ll) .ll-step[aria-pressed="true"] { background: var(--ll-pine); color: var(--ll-white); }
:is(.ll-page,#ll#ll) .ll-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: start; margin-top: 22px; }
:is(.ll-page,#ll#ll) .ll-thumb { display: block; text-align: left; color: var(--ll-mute); }
:is(.ll-page,#ll#ll) .ll-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; outline: 2px solid transparent; outline-offset: 2px; }
:is(.ll-page,#ll#ll) .ll-thumb span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.3; }
:is(.ll-page,#ll#ll) .ll-thumb:hover { color: var(--ll-ink); }
:is(.ll-page,#ll#ll) .ll-thumb.is-on { color: var(--ll-ink); font-weight: 600; }
:is(.ll-page,#ll#ll) .ll-thumb.is-on img { outline-color: var(--ll-pine); }

/* With the script running, the four lobbies become one screen with the practices in a row above it. */
:is(.ll-page,#ll#ll) .ll-viewer--js .ll-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--ll-line); }
:is(.ll-page,#ll#ll) .ll-viewer--js .ll-lobby { margin-top: 0; }
:is(.ll-page,#ll#ll) .ll-viewer--js .ll-lobby__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }
:is(.ll-page,#ll#ll) .ll-tab { display: flex; align-items: flex-end; align-self: stretch; text-align: left; padding: 0 0 12px; margin-bottom: -1px; border-bottom: 2px solid transparent; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ll-mute); transition: color .15s ease; }
:is(.ll-page,#ll#ll) .ll-tab:hover { color: var(--ll-ink); }
:is(.ll-page,#ll#ll) .ll-tab.is-on { color: var(--ll-ink); border-bottom-color: var(--ll-pine); }

/* ---------- How it is set up: four numbered columns under hairlines ---------- */
:is(.ll-page,#ll#ll) .ll-steps { counter-reset: ll-step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(20px, 2.8vw, 40px); margin-top: clamp(32px, 4vw, 56px); }
:is(.ll-page,#ll#ll) .ll-steps li { counter-increment: ll-step; padding-top: 18px; border-top: 1px solid var(--ll-ink); font-size: 16px; line-height: 1.55; }
:is(.ll-page,#ll#ll) .ll-steps li::before { content: counter(ll-step); display: block; margin-bottom: 12px; font-family: var(--ll-head); font-weight: 500; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.2; color: var(--ll-pine); }

/* ---------- the band: a photograph edge to edge with a panel hanging from its lower edge ----------
   The panel is positioned so it paints above the photograph, whose <img> is transformed while it settles.
   Its shadow is the only one on the page. */
:is(.ll-page,#ll#ll) .ll-band { padding: 0 0 clamp(56px, 7vw, 104px); background: var(--ll-paper); }
:is(.ll-page,#ll#ll) .ll-band__photo { border-radius: 0; }
:is(.ll-page,#ll#ll) .ll-band__photo img { aspect-ratio: 21 / 9; max-height: 680px; object-fit: cover; object-position: 50% 66%; }
:is(.ll-page,#ll#ll) .ll-band__panel { position: relative; z-index: 1; width: min(560px, 100%); margin: -150px 0 0 clamp(0px, 6vw, 72px); padding: clamp(24px, 3vw, 40px); background: var(--ll-white); border-radius: 4px; box-shadow: 0 24px 50px -30px rgba(31, 28, 24, .55); }
:is(.ll-page,#ll#ll) .ll-band__panel p + p { margin-top: 14px; color: var(--ll-mute); }

/* ---------- the strip of slides drifting past ---------- */
:is(.ll-page,#ll#ll) .ll-strip { overflow: hidden; background: var(--ll-paper); }
:is(.ll-page,#ll#ll) .ll-strip__track { display: flex; gap: 14px; width: max-content; animation: ll-drift 120s linear infinite; }
:is(.ll-page,#ll#ll) .ll-strip:hover .ll-strip__track { animation-play-state: paused; }
:is(.ll-page,#ll#ll) .ll-strip img { flex: none; width: clamp(180px, 20vw, 288px); height: auto; aspect-ratio: 16 / 9; max-width: none; border-radius: 3px; }
@keyframes ll-drift { to { transform: translateX(calc(-50% - 7px)); } }

/* ==========================================================================
   Who it is for, and pricing: the words on the left, the form on the right
   ========================================================================== */
:is(.ll-page,#ll#ll) .ll-contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 104px); align-items: start; }
:is(.ll-page,#ll#ll) .ll-contact__p { max-width: 36em; } /* also the plugin's "form is being set up" line */

/* ---------- Gravity Forms (markup as rendered by GF 3.1.3, "gravity-theme") ----------
   Styled by GF's own class names so the real form inherits this when it replaces the stand-in. */
:is(.ll-page,#ll#ll) .gform_wrapper { margin: 0; max-width: none; }
:is(.ll-page,#ll#ll) .gform_wrapper .gform_heading { margin-bottom: 20px; }
:is(.ll-page,#ll#ll) .gform_wrapper .gform_title { font-family: var(--ll-head); font-weight: 500; font-size: 24px; line-height: 1.2; color: var(--ll-ink); }
:is(.ll-page,#ll#ll) .gform_wrapper .gform_fields { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px 18px; }
:is(.ll-page,#ll#ll) .gform_wrapper .gfield { grid-column: span 12; min-width: 0; }
:is(.ll-page,#ll#ll) .gform_wrapper .gfield.gfield--width-half { grid-column: span 6; }
:is(.ll-page,#ll#ll) .gform_wrapper .gfield.gfield--width-third { grid-column: span 4; }
:is(.ll-page,#ll#ll) .gform_wrapper .gform_validation_container,
:is(.ll-page,#ll#ll) .gform_wrapper .gfield--type-honeypot { display: none !important; position: absolute !important; left: -9000px; } /* GF hides its honeypot the same way */
:is(.ll-page,#ll#ll) .gform_wrapper .gfield_label { display: block; float: none; width: auto; margin: 0 0 8px; font-family: var(--ll-text); font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ll-ink); }
:is(.ll-page,#ll#ll) .gform_wrapper .gfield_required { margin-left: 6px; font-size: 14px; font-weight: 400; font-style: normal; color: var(--ll-error); }
:is(.ll-page,#ll#ll) .gform_wrapper .gfield_required .gfield_required { margin-left: 0; }
:is(.ll-page,#ll#ll) .gform_wrapper .ginput_complex { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
:is(.ll-page,#ll#ll) .gform_wrapper .ginput_complex > span { display: block; }
:is(.ll-page,#ll#ll) .gform_wrapper .gform-field-label--type-sub { display: block; margin: 6px 0 0; font-size: 14px; font-weight: 400; line-height: 1.3; color: var(--ll-mute); }
:is(.ll-page,#ll#ll) .gform_wrapper .gfield_description { margin-top: 7px; font-size: 14px; line-height: 1.4; color: var(--ll-mute); }
:is(.ll-page,#ll#ll) .gform_wrapper :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], select, textarea) {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px; margin: 0;
  border: 1px solid #8a8274; border-radius: 4px; background: #fff; color: var(--ll-ink);
  font-family: var(--ll-text); font-size: 17px; line-height: 1.4; box-shadow: none;
}
:is(.ll-page,#ll#ll) .gform_wrapper textarea { min-height: 132px; height: 132px; resize: vertical; }
:is(.ll-page,#ll#ll) .gform_wrapper :is(input, select, textarea):focus { outline: 2px solid var(--ll-pine); outline-offset: 1px; border-color: var(--ll-pine); }
:is(.ll-page,#ll#ll) .gform_wrapper .gform_footer { display: flex; align-items: center; gap: 16px; margin: 26px 0 0; padding: 0; }
:is(.ll-page,#ll#ll) .gform_wrapper .gform_footer :is(.gform_button, input[type="submit"], button[type="submit"]) {
  display: inline-block; width: auto; min-height: 52px; padding: 15px 28px; margin: 0;
  border: 0; border-radius: 4px; background: var(--ll-pine); color: var(--ll-white);
  font-family: var(--ll-text); font-size: 17px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none;
  transition: background-color .15s ease;
}
:is(.ll-page,#ll#ll) .gform_wrapper .gform_footer :is(.gform_button, input[type="submit"], button[type="submit"]):hover { background: var(--ll-pine-d); color: var(--ll-white); }
/* validation */
:is(.ll-page,#ll#ll) .gform_wrapper .gform_validation_errors { margin: 0 0 22px; padding: 14px 16px; border: 1px solid var(--ll-error); border-radius: 4px; background: #fbefec; box-shadow: none; }
:is(.ll-page,#ll#ll) .gform_wrapper .gform_validation_errors > h2 { font-family: var(--ll-text); font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ll-error); }
:is(.ll-page,#ll#ll) .gform_wrapper .gform_validation_errors ol { margin-top: 8px; padding-left: 18px; list-style: decimal; font-size: 15px; color: var(--ll-error); }
:is(.ll-page,#ll#ll) .gform_wrapper .gform_validation_errors a { color: var(--ll-error); text-decoration: underline; }
:is(.ll-page,#ll#ll) .gform_wrapper .gfield_error .gfield_label { color: var(--ll-error); }
:is(.ll-page,#ll#ll) .gform_wrapper .gfield_error :is(input, select, textarea) { border-color: var(--ll-error); }
:is(.ll-page,#ll#ll) .gform_wrapper .gfield_validation_message, :is(.ll-page,#ll#ll) .gform_wrapper .validation_message { margin-top: 7px; padding: 0; border: 0; background: none; font-size: 15px; font-weight: 600; color: var(--ll-error); }
/* confirmation (GF replaces the whole wrapper with this) */
:is(.ll-page,#ll#ll) .gform_confirmation_message { font-size: 19px; line-height: 1.5; color: var(--ll-ink); }

/* ==========================================================================
   Thank-you page (thank-you.html)
   ========================================================================== */
:is(.ll-page,#ll#ll) .ll-thanks { padding: clamp(40px, 7vw, 104px) 0 clamp(64px, 10vw, 140px); }
:is(.ll-page,#ll#ll) .ll-thanks .ll-hero__title { max-width: 12em; }
:is(.ll-page,#ll#ll) .ll-thanks__back { margin-top: 32px; }

/* ==========================================================================
   Footer line
   ========================================================================== */
:is(.ll-page,#ll#ll) .ll-foot { padding: 28px 0 36px; border-top: 1px solid var(--ll-line); background: var(--ll-paper); color: var(--ll-mute); font-size: 15px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  :is(.ll-page,#ll#ll) .ll-nav a:not(.ll-nav__cta) { display: none; }
  /* Too narrow to put the words over the wall: the photograph comes first, cut to the television, and the words follow on plaster. */
  :is(.ll-page,#ll#ll) .ll-hero__photo { aspect-ratio: 3 / 2; min-height: 0; max-height: none; }
  :is(.ll-page,#ll#ll) .ll-stage::before { content: none; }
  :is(.ll-page,#ll#ll) .ll-hero__copy { grid-area: 3 / 1; width: auto; max-width: 680px; padding: 32px var(--ll-gutter) 0; }
  :is(.ll-page,#ll#ll) .ll-hero__title { font-size: clamp(34px, 7.4vw, 56px); }
  :is(.ll-page,#ll#ll) .ll-hero__captext { text-align: left; }
  :is(.ll-page,#ll#ll) .ll-bar--hero { margin-left: calc(-1 * var(--ll-gutter)); }
  :is(.ll-page,#ll#ll) .ll-split, :is(.ll-page,#ll#ll) .ll-contact__grid, :is(.ll-page,#ll#ll) .ll-ex__grid { grid-template-columns: minmax(0, 1fr); }
  :is(.ll-page,#ll#ll) .ll-ex__note { max-width: 36em; }
  :is(.ll-page,#ll#ll) .ll-ideas { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); column-gap: 20px; border-top: 0; }
  :is(.ll-page,#ll#ll) .ll-ideas li { border-top: 1px solid var(--ll-line); border-bottom: 0; }
  :is(.ll-page,#ll#ll) .ll-ideas a { padding: 11px 0; }
  :is(.ll-page,#ll#ll) .ll-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.ll-page,#ll#ll) .ll-band__photo img { aspect-ratio: 16 / 9; }
  :is(.ll-page,#ll#ll) .ll-band__panel { margin-top: -80px; }
  :is(.ll-page,#ll#ll) .ll-ctl { flex-direction: column; }
  :is(.ll-page,#ll#ll) .ll-job { min-height: 0; }
}

@media (max-width: 700px) {
  :is(.ll-page,#ll#ll) { font-size: 17px; }
  :is(.ll-page,#ll#ll) .ll-brand__by { display: block; margin: 1px 0 0; font-size: 13px; }
  :is(.ll-page,#ll#ll) .ll-brand__name { font-size: 21px; }
  :is(.ll-page,#ll#ll) .ll-nav .ll-nav__cta { padding: 10px 14px; font-size: 15px; }
  :is(.ll-page,#ll#ll) .ll-hero__actions .ll-btn { width: 100%; text-align: center; }
  /* On a phone the stage is pinned by the television's centre (68.26% across the photograph) instead of its right edge. */
  :is(.ll-page,#ll#ll) .ll-hero__photo { aspect-ratio: 6 / 5; }
  :is(.ll-page,#ll#ll) .ll-stage { right: auto; left: 50%; transform: translate(-68.26%, -50%); }
  :is(.ll-page,#ll#ll) .ll-band__photo img { aspect-ratio: 4 / 5; object-position: 22% 50%; }
  :is(.ll-page,#ll#ll) .ll-band__panel { margin: -56px 12px 0; width: auto; }
  :is(.ll-page,#ll#ll) .ll-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  :is(.ll-page,#ll#ll) .ll-thumbs { grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
  :is(.ll-page,#ll#ll) .ll-viewer--js .ll-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.ll-page,#ll#ll) .ll-tab { padding-top: 12px; }
  :is(.ll-page,#ll#ll) .gform_wrapper .gfield.gfield--width-half, :is(.ll-page,#ll#ll) .gform_wrapper .gfield.gfield--width-third { grid-column: span 12; }
  :is(.ll-page,#ll#ll) .gform_wrapper .ginput_complex { grid-template-columns: 1fr; }
  :is(.ll-page,#ll#ll) .gform_wrapper .gform_footer :is(.gform_button, input[type="submit"], button[type="submit"]) { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  :is(.ll-page,#ll#ll) *, :is(.ll-page,#ll#ll) *::before, :is(.ll-page,#ll#ll) *::after { animation: none !important; transition: none !important; }
  :is(.ll-page,#ll#ll).ll-js .ll-photo img { transform: none; }
  :is(.ll-page,#ll#ll) .ll-strip { overflow-x: auto; }
}
