/* ==========================================================================
   Lan of Fashion - supplemental layout for ticket + event pages
   --------------------------------------------------------------------------
   This file is NOT a theme. The theme is Bridge, loaded from
   wp-content/themes/bridge/css/. Everything here sits on top of Bridge and
   only supplies grid/layout primitives Bridge does not ship.

   All values below are taken from the live Bridge customizer output in
   wp-content/themes/bridge/css/style_dynamic.css. Do not invent new colors,
   fonts, or radii here - if a value is missing, read it out of Bridge first.

     font        Raleway, sans-serif   (inherited from Bridge body)
     body text   #444444  weight 400
     headings    #000000  (h1 is #ffffff - dark backgrounds only)
     dark bar    #1f1f1f
     dropdown    #2a2a2a
     buttons     .qbutton - black, square, 14px, weight 300, tracking 2px
     radius      0 everywhere

   NO YELLOW. Bridge's customizer still carries #fff600 on menu hover, the
   active menu item, and span.highlight, but yellow is not a Lan of Fashion
   colour and must not be used here. The palette is black, white and grey.
   ========================================================================== */

:root {
  --lof-ink: #000000;
  --lof-text: #444444;
  --lof-dark: #1f1f1f;
  --lof-panel: #2a2a2a;
  --lof-rule: #e5e5e5;
}

/* --------------------------------------------------------------------------
   Hero - full-bleed image band. h1 is white in Bridge, so it needs dark art.
   -------------------------------------------------------------------------- */

.lof-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--lof-dark);
}

.lof-hero img.lof-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.lof-hero:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
}

.lof-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 150px 20px 110px;
  text-align: center;
}

.lof-hero-inner h1 {
  margin: 0;
}

/* Small, wide-tracked, uppercase. Sits on dark hero art, so it reads as a
   softened white rather than a colour accent. */
.lof-eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.lof-hero .lof-lead {
  max-width: 720px;
  margin: 22px auto 0;
  color: #ffffff;
  font-size: 17px;
  font-weight: 300;
  line-height: 30px;
}

/* --------------------------------------------------------------------------
   Section shell
   -------------------------------------------------------------------------- */

.lof-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
}

.lof-section-head {
  margin-bottom: 45px;
  text-align: center;
}

.lof-section-head h2 {
  margin: 0;
}

.lof-section-head p {
  max-width: 720px;
  margin: 18px auto 0;
  font-weight: 300;
  line-height: 28px;
}

/* --------------------------------------------------------------------------
   Ticket grid
   -------------------------------------------------------------------------- */

.lof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.lof-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--lof-rule);
  background-color: #ffffff;
  color: var(--lof-text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.lof-card:hover {
  border-color: var(--lof-ink);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.11);
}

.lof-card-media {
  position: relative;
  overflow: hidden;
  padding-top: 68%;
  background-color: var(--lof-dark);
}

.lof-card-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

/* Event artwork carries its own typography and a copyright line, so it must
   never be cropped. Letterbox it on the dark bar colour instead. */
.lof-card-media.is-poster img {
  object-fit: contain;
}

.lof-card:hover .lof-card-media img {
  transform: scale(1.05);
}

.lof-card:hover .lof-card-media.is-poster img {
  transform: none;
}

.lof-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 28px 26px 30px;
}

.lof-card-body h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 28px;
}

.lof-card-body p {
  margin: 0 0 24px;
  font-size: 14px;
  font-weight: 300;
  line-height: 25px;
}

.lof-tags {
  margin-bottom: 16px;
}

.lof-tag {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 5px 11px;
  border: 1px solid var(--lof-rule);
  color: var(--lof-text);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.lof-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--lof-rule);
  gap: 16px;
}

.lof-price {
  color: var(--lof-ink);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 2px;
  white-space: nowrap;
}

.lof-price .lof-price-note {
  display: block;
  color: var(--lof-text);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Event detail
   -------------------------------------------------------------------------- */

.lof-event {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 55px;
  align-items: start;
}

.lof-event-media img {
  display: block;
  width: 100%;
  height: auto;
}

.lof-event-body h2 {
  margin: 0 0 22px;
}

.lof-event-body p {
  font-weight: 300;
  line-height: 28px;
}

.lof-facts {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--lof-rule);
}

.lof-facts li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--lof-rule);
  font-size: 14px;
  font-weight: 300;
}

.lof-facts .lof-fact-label {
  color: var(--lof-text);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.lof-facts .lof-fact-value {
  color: var(--lof-ink);
  text-align: right;
}

.lof-cta-note {
  margin: 16px 0 0;
  font-size: 12px;
  font-weight: 300;
  line-height: 22px;
}

.lof-back {
  display: inline-block;
  margin-bottom: 26px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Checkout - order review only. The card form lives on Stripe, never here.
   -------------------------------------------------------------------------- */

.lof-checkout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 55px;
  align-items: start;
}

.lof-order {
  border: 1px solid var(--lof-rule);
  background-color: #ffffff;
}

.lof-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--lof-rule);
}

.lof-order-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.lof-order-item {
  display: flex;
  gap: 20px;
  padding: 26px;
}

.lof-order-thumb {
  flex: 0 0 120px;
  height: 90px;
  background-color: var(--lof-dark);
}

.lof-order-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lof-order-item h4 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 1px;
}

.lof-order-item p {
  margin: 0;
  font-size: 13px;
  font-weight: 300;
}

.lof-qty {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 26px 24px;
}

.lof-qty label {
  color: var(--lof-text);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.lof-qty select {
  padding: 9px 12px;
  border: 1px solid var(--lof-rule);
  border-radius: 0;
  background-color: #ffffff;
  color: var(--lof-ink);
  font-family: inherit;
  font-size: 14px;
}

.lof-totals {
  margin: 0;
  padding: 22px 26px 26px;
  border-top: 1px solid var(--lof-rule);
  list-style: none;
}

.lof-totals li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 7px 0;
  font-size: 14px;
  font-weight: 300;
}

.lof-totals li.lof-total-row {
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--lof-rule);
  color: var(--lof-ink);
  font-size: 20px;
  letter-spacing: 1px;
}

/* Black rule to weight the payment panel above the order summary. */
.lof-pay {
  border: 1px solid var(--lof-rule);
  border-top: 3px solid var(--lof-ink);
  padding: 30px 28px;
}

.lof-pay h3 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 1px;
}

.lof-pay p {
  font-size: 13px;
  font-weight: 300;
  line-height: 24px;
}

.lof-pay .qbutton {
  width: 100%;
  margin-top: 8px;
  text-align: center;
}

.lof-pay .qbutton[aria-disabled="true"] {
  background-color: #9a9a9a;
  border-color: #9a9a9a;
  cursor: not-allowed;
  pointer-events: none;
}

.lof-secure {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--lof-rule);
  color: var(--lof-text);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 20px;
}

.lof-confirm {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.lof-confirm .lof-check {
  display: block;
  margin-bottom: 20px;
  color: var(--lof-ink);
  font-size: 46px;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Responsive - Bridge breaks at 1000 / 768 / 480
   -------------------------------------------------------------------------- */

@media only screen and (max-width: 1000px) {
  .lof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lof-event,
  .lof-checkout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media only screen and (max-width: 768px) {
  .lof-hero-inner {
    padding: 110px 20px 80px;
  }

  .lof-section {
    padding: 60px 20px;
  }
}

@media only screen and (max-width: 480px) {
  .lof-grid {
    grid-template-columns: 1fr;
  }

  .lof-card-foot {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Venue and map
   -------------------------------------------------------------------------- */

.lof-venue {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--lof-rule);
}

.lof-venue h3 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.lof-venue p {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 300;
}

.lof-map {
  display: block;
  width: 100%;
  height: 320px;
  margin-bottom: 16px;
  border: 1px solid var(--lof-rule);
}

.lof-promo {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px dashed var(--lof-rule);
  font-size: 13px;
  font-weight: 300;
}

.lof-promo code {
  padding: 2px 7px;
  border: 1px solid var(--lof-ink);
  color: var(--lof-ink);
  font-size: 13px;
  letter-spacing: 1px;
}

@media only screen and (max-width: 768px) {
  .lof-map { height: 240px; }
}

/* --------------------------------------------------------------------------
   Page builder blocks
   -------------------------------------------------------------------------- */

.lof-blk { margin: 0 0 34px; }
.lof-blk:last-child { margin-bottom: 0; }
.lof-blk.is-wide { max-width: 1400px; margin-left: auto; margin-right: auto; }
.lof-blk.is-full { max-width: none; }

.lof-blk h2, .lof-blk h3, .lof-blk h4 { margin: 0 0 14px; }
.lof-blk p { font-weight: 300; line-height: 28px; }

.lof-blk figure { margin: 0; }
.lof-blk figure img { width: 100%; height: auto; display: block; }
.lof-blk figcaption {
  margin-top: 10px;
  color: var(--lof-text);
  font-size: 12px;
  font-weight: 300;
}

.lof-imgtext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.lof-imgtext.is-right .lof-it-img { order: 2; }
.lof-imgtext img { width: 100%; height: auto; display: block; }

.vc_custom_1538635655849 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Bridge gutters these containers with `margin: 0 -15px` and lets their width
   shrink to compensate. Forcing width:100% keeps the negative margins but drops
   the compensation, so the row starts 15px left of the viewport and ends up
   30px too wide - the grid then sits off-centre, tight on the left and gapped
   on the right. Zero the margins wherever the width is forced. */
.vc_custom_1538635655849,
.vc_custom_1538635655849.grid_section > .section_inner,
.vc_custom_1538635655849.grid_section > .section_inner > .section_inner_margin {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.vc_custom_1538635655849 .vc_column_container,
.vc_custom_1538635655849 .vc_column-inner {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Full bleed WITHOUT the 100vw trick.
   100vw is the viewport including the vertical scrollbar, but the parent is the
   viewport minus it, so `width:100vw; margin-left:calc(50% - 50vw)` overhangs
   the right edge by the scrollbar width - the left stays pinned, so only the
   right column looks sliced. The rules above already force this row's Bridge
   containers to width:100% with their padding removed, so plain 100% reaches
   the same edges with nothing to overflow. */
.lof-gallery-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding: 40px 40px 90px;
}

.lof-gallery-head {
  margin-bottom: 44px;
  text-align: center;
}

.lof-gallery-head h2 {
  margin: 0 0 8px;
  color: var(--lof-ink);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.1;
}

.lof-gallery-head p {
  margin: 0;
  color: var(--lof-muted);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.lof-gallery { display: grid; gap: 14px; }
.lof-gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.lof-gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.lof-gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.lof-gallery-wrap .lof-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 4px;
  row-gap: 4px;
}
.lof-gallery-wrap .lof-shot,
.lof-gallery-wrap .lof-shot.is-wide {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: auto;
  grid-row: auto;
  overflow: hidden;
  background: #f1f1f1;
  aspect-ratio: 2 / 3;
}
.lof-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.lof-gallery-wrap .lof-shot img {
  max-width: 100%;
  max-height: 100%;
}
.lof-gallery-wrap .lof-shot img {
  transition: transform .28s ease;
}

.lof-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.lof-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.lof-quote {
  margin: 0;
  padding-left: 22px;
  border-left: 2px solid var(--lof-ink);
  font-size: 19px;
  font-weight: 300;
  line-height: 32px;
}
.lof-quote cite {
  display: block;
  margin-top: 12px;
  color: var(--lof-text);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.lof-embed { position: relative; }
.lof-embed iframe { width: 100%; min-height: 420px; border: 0; display: block; }

.lof-spacer.is-small  { height: 24px; }
.lof-spacer.is-medium { height: 56px; }
.lof-spacer.is-large  { height: 100px; }

@media only screen and (max-width: 900px) {
  .lof-imgtext { grid-template-columns: 1fr; gap: 24px; }
  .lof-imgtext.is-right .lof-it-img { order: 0; }
  .lof-gallery-wrap { padding: 24px 20px 70px; }
  .lof-gallery-wrap .lof-gallery {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4px;
    row-gap: 40px;
  }
  .lof-gallery.cols-3, .lof-gallery.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .lof-grid.cols-3, .lof-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .lof-embed iframe { min-height: 260px; }
}

@media only screen and (max-width: 560px) {
  .lof-gallery-wrap .lof-gallery,
  .lof-gallery.cols-2, .lof-gallery.cols-3, .lof-gallery.cols-4,
  .lof-grid.cols-2, .lof-grid.cols-3, .lof-grid.cols-4 { grid-template-columns: 1fr; }
}

/* ---- block backgrounds, alignment and spacing --------------------------- */

.lof-blk.bg-light  { background: #f4f4f4; }
.lof-blk.bg-paper  { background: #fbfaf7; }
.lof-blk.bg-dark   { background: var(--lof-dark); color: #fff; }
.lof-blk.bg-dark h2,
.lof-blk.bg-dark h3,
.lof-blk.bg-dark h4 { color: #fff; }
.lof-blk.bg-dark p  { color: rgba(255, 255, 255, 0.82); }

.lof-blk.bg-light,
.lof-blk.bg-paper,
.lof-blk.bg-dark { padding: 44px 24px; }

.lof-blk.al-center { text-align: center; }
.lof-blk.al-right  { text-align: right; }

.lof-blk.st-none   { margin-top: 0; }
.lof-blk.st-small  { margin-top: 24px; }
.lof-blk.st-medium { margin-top: 56px; }
.lof-blk.st-large  { margin-top: 100px; }

.lof-blk.sb-none   { margin-bottom: 0; }
.lof-blk.sb-small  { margin-bottom: 24px; }
.lof-blk.sb-medium { margin-bottom: 56px; }
.lof-blk.sb-large  { margin-bottom: 100px; }

/* --------------------------------------------------------------------------
   Model portal

   A model fills this in on a phone, often standing at a casting, so the form is
   a single column on small screens and the tap targets are generous. Uses the
   same Bridge tokens as everything else - no new palette.
   -------------------------------------------------------------------------- */

.lof-mp-wrap { max-width: 1080px; margin: 0 auto; padding: 60px 20px 90px; }
.lof-mp-intro { margin-bottom: 34px; text-align: center; }
/* Bridge colours page titles white because they normally sit over a dark hero
   image. This one sits on the plain page background, so it has to be told. */
.lof-mp-intro h1 { margin: 0 0 10px; color: var(--lof-ink); font-size: clamp(30px, 4vw, 46px); font-weight: 300; }

.lof-mp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.lof-mp-head h2 { margin: 0 0 4px; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; }

.lof-mp-card { margin-bottom: 26px; padding: 28px; border: 1px solid var(--lof-rule); background: #fff; }
.lof-mp-card h2, .lof-mp-card h3 { margin: 0 0 6px; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; }
.lof-mp-lead { margin: 0 0 18px; color: var(--lof-muted); font-size: 13px; font-weight: 300; line-height: 21px; }

.lof-mp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 18px; }
.lof-mp-card label, .lof-mp-grid label { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
.lof-mp-card label em { font-style: normal; opacity: .5; text-transform: none; letter-spacing: 0; }
.lof-mp-card input, .lof-mp-card textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px;
  border: 1px solid var(--lof-rule); background: #fff;
  font-family: inherit; font-size: 15px;
}
.lof-mp-card textarea { resize: vertical; }
.lof-mp-card > label { margin-bottom: 18px; }

.lof-mp-btn {
  margin-top: 6px; padding: 14px 26px; border: 0; background: var(--lof-ink);
  color: #fff; font-family: inherit; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; cursor: pointer;
}
.lof-mp-btn.is-small { padding: 10px 18px; }
.lof-mp-btn[disabled] { opacity: .5; cursor: default; }
.lof-mp-link { margin-left: 12px; border: 0; background: none; color: var(--lof-muted); font-family: inherit; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; }

.lof-mp-msg { margin: 14px 0 0; min-height: 20px; font-size: 13px; font-weight: 300; }
.lof-mp-msg.is-ok { color: #1c7a43; }
.lof-mp-msg.is-warn { color: #a3341f; }
.lof-mp-note { margin-bottom: 14px; padding: 12px 14px; background: rgba(0,0,0,.05); font-size: 12px; font-weight: 300; }

.lof-mp-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; padding: 40px 20px; border: 1px dashed var(--lof-rule);
  text-align: center; cursor: pointer;
}
.lof-mp-drop strong { font-size: 14px; font-weight: 400; letter-spacing: 1px; }
.lof-mp-drop span { font-size: 11px; font-weight: 300; opacity: .6; }
".lof-mp-drop.is-over { border-color: var(--lof-ink); background: rgba(0,0,0,.03); }
/* Bridge styles every input in a form, which resurrects the hidden file picker
   as a visible "Choose Files" control inside the drop zone. */
.lof-mp-drop input[type="file"] { display: none !important; }

.lof-mp-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 16px; }
.lof-mp-thumb { position: relative; margin: 0; aspect-ratio: 2/3; overflow: hidden; background: #f1f1f1; }
.lof-mp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lof-mp-thumb.is-main { outline: 2px solid var(--lof-ink); outline-offset: -2px; }
.lof-mp-thumb figcaption { position: absolute; left: 0; bottom: 0; padding: 2px 6px; background: var(--lof-ink); color: #fff; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.lof-mp-x { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.lof-mp-main { position: absolute; left: 4px; top: 4px; padding: 3px 7px; border: 0; background: rgba(255,255,255,.9); font-family: inherit; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }

.lof-mp-casting { padding: 18px 0; border-bottom: 1px solid var(--lof-rule); }
.lof-mp-casting:last-child { border-bottom: 0; }
.lof-mp-casting h4 { margin: 0 0 4px; font-size: 17px; font-weight: 400; }
.lof-mp-casting p { margin: 0 0 8px; font-size: 14px; font-weight: 300; line-height: 22px; }
.lof-mp-meta { color: var(--lof-muted); font-size: 12px !important; letter-spacing: 1px; }
.lof-mp-status { display: inline-block; padding: 6px 12px; border: 1px solid var(--lof-rule); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }
.lof-mp-status.is-accepted { border-color: #1c7a43; color: #1c7a43; }
.lof-mp-status.is-declined { color: var(--lof-muted); }

@media only screen and (max-width: 680px) {
  .lof-mp-grid { grid-template-columns: 1fr; }
  .lof-mp-wrap { padding: 34px 16px 70px; }
  .lof-mp-card { padding: 20px; }
}

.lof-mp-saved h3 { margin: 0 0 4px; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; }
.lof-mp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; margin: 16px 0 0; }
.lof-mp-facts dt { color: var(--lof-muted); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }
.lof-mp-facts dd { margin: 3px 0 0; font-size: 16px; font-weight: 300; }

/* Profile card - what a model sees of themselves. The form lives behind Edit. */
.lof-pf { display: grid; grid-template-columns: minmax(320px, 44%) 1fr; gap: 0;
  border: 1px solid var(--lof-rule); background: #fff; overflow: hidden; }
.lof-pf-shot { background: #ececec; }
.lof-pf-shot img { width: 100%; height: 100%; min-height: 460px;
  object-fit: cover; display: block; }
.lof-pf-noshot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; min-height: 320px; color: var(--lof-muted); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.lof-pf-body { padding: 30px; }
.lof-pf-body h2 { margin: 0 0 4px; font-size: 26px; font-weight: 300; letter-spacing: 0; text-transform: none; }
.lof-pf-where { margin: 0 0 20px; color: var(--lof-muted); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.lof-pf-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px 20px; margin: 0 0 22px; }
.lof-pf-facts dt { color: var(--lof-muted); font-size: 10px; letter-spacing: 1.2px;
  text-transform: uppercase; overflow-wrap: normal; word-break: keep-all;
  white-space: nowrap; padding-right: 8px; }
.lof-pf-facts dd { margin: 4px 0 0; font-size: 17px; font-weight: 300; }
.lof-pf-exp { margin: 0 0 16px; font-size: 14px; font-weight: 300; line-height: 23px; }
.lof-pf-links { margin: 0 0 20px; font-size: 13px; }
.lof-pf-links a { color: var(--lof-ink); text-decoration: underline; }
.lof-pf-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--lof-rule); }

@media only screen and (max-width: 680px) {
  .lof-pf { grid-template-columns: 1fr; }
  .lof-pf-shot img, .lof-pf-noshot { min-height: 260px; }
  .lof-pf-body { padding: 22px; }
}

/* Portfolio inside the profile card, plus an embedded showreel. */
.lof-pf-folio { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; align-items: center; }
.lof-pf-folio a, .lof-pf-folio button { display: block; width: 68px; height: auto;
  aspect-ratio: 2/3; padding: 0; border: 0; overflow: hidden; background: #ececec;
  cursor: zoom-in; }
.lof-pf-folio img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .2s; }
.lof-pf-folio a:hover img, .lof-pf-folio button:hover img { opacity: .8; }
.lof-pf-folio a:hover img { opacity: .8; }
.lof-pf-more { color: var(--lof-muted); font-size: 12px; letter-spacing: 1px; }

.lof-pf-video { position: relative; margin: 0 0 20px; padding-top: 56.25%; background: #000; }
.lof-pf-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* The photo manager reads as a gallery rather than a row of boxes. */
.lof-mp-strip { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }

/* Photos as a gallery, matching the runway galleries elsewhere on the site.
   Management controls appear only while managing - a portfolio should look
   like a portfolio, not like a form that happens to contain pictures. */
.lof-mp-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 4px; }
.lof-mp-shot { position: relative; margin: 0; aspect-ratio: 2/3; overflow: hidden; background: #ececec; cursor: zoom-in; }
.lof-mp-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.lof-mp-shot:hover img { transform: scale(1.03); }
.lof-mp-shot.is-main { outline: 2px solid var(--lof-ink); outline-offset: -2px; }
.lof-mp-shot figcaption { position: absolute; left: 0; bottom: 0; padding: 4px 9px; background: var(--lof-ink); color: #fff; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }
.lof-mp-gallery.is-managing .lof-mp-shot { cursor: default; }
.lof-mp-manage { margin-bottom: 18px; }

/* Lightbox */
.lof-lb { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 40px; background: rgba(0,0,0,.9); }
.lof-lb img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.lof-lb-x { position: absolute; top: 18px; right: 22px; width: 42px; height: 42px; border: 0; background: none; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lof-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lof-lb-nav.is-prev { left: 16px; }
.lof-lb-nav.is-next { right: 16px; }
.lof-lb-nav:hover, .lof-lb-x:hover { background: rgba(255,255,255,.25); }

@media only screen and (max-width: 680px) {
  .lof-mp-gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
  .lof-lb { padding: 16px; }
  .lof-lb-nav { width: 44px; height: 44px; }
}



/* Link preview. A thumbnail where the URL gives one away (video), otherwise the
   site's own favicon and hostname - so "Website" never hides where it goes. */
.lof-ext { position: relative; display: inline-block; }

.lof-prev {
  position: absolute; z-index: 9999; width: 300px;
  background: #fff; border: 1px solid var(--lof-rule);
  box-shadow: 0 6px 26px rgba(0,0,0,.22);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .14s ease, transform .14s ease;
  pointer-events: none;
}
.lof-prev.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.lof-prev-shot { aspect-ratio: 16/9; background: #111; overflow: hidden; }
.lof-prev-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lof-prev-text { padding: 10px 12px; }
.lof-prev-host { display: flex; align-items: center; gap: 7px; }
.lof-prev-icon { width: 16px; height: 16px; object-fit: contain; flex: 0 0 16px; }
.lof-prev-host strong { font-size: 13px; font-weight: 400; letter-spacing: .2px; }
.lof-prev-url {
  margin-top: 3px; color: var(--lof-muted); font-size: 11px; line-height: 15px;
  overflow-wrap: anywhere;
}

.lof-prev-icon { display: inline-flex; width: 16px; height: 16px; flex: 0 0 16px; }
.lof-prev-icon svg { width: 16px; height: 16px; fill: var(--lof-ink); }

/* Contact details sit under the location - the email is how casting replies. */
.lof-pf-contact { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 20px; font-size: 14px; }
.lof-pf-contact a { color: var(--lof-ink); text-decoration: underline; font-weight: 300; }
.lof-pf-contact:empty { display: none; }
.lof-prev-warn {
  margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--lof-rule);
  color: #a3341f; font-size: 10px; line-height: 14px; letter-spacing: .2px;
}
.lof-age-minor { color: #a3341f; }
.lof-mp-check { display: flex; gap: 9px; align-items: flex-start; margin: 14px 0 4px;
  font-size: 13px; font-weight: 300; letter-spacing: 0; text-transform: none; line-height: 19px; }
.lof-mp-check input { width: auto; margin: 2px 0 0; }

.lof-pf-guardian { display: block; margin: 0 0 18px; padding: 12px 14px;
  background: rgba(163,52,31,.07); border-left: 3px solid #a3341f; }
.lof-pf-guardian strong { display: block; color: #a3341f; font-size: 13px; font-weight: 400; }
.lof-pf-guardian span { display: block; margin-top: 4px; font-size: 13px; font-weight: 300; }
.lof-pf-guardian a { color: var(--lof-ink, #111); text-decoration: underline; }
.lof-pf-consent { color: #777; font-size: 11px !important; }
.lof-mp-grid select, .lof-mp-card select {
  display: block; width: 100%; margin-top: 6px; padding: 12px;
  border: 1px solid var(--lof-rule); background: #fff;
  font-family: inherit; font-size: 15px;
}

/* Work samples on a registration form. */
.lof-reg-work { margin: 22px 0; padding-top: 20px; border-top: 1px solid var(--lof-rule); }
.lof-reg-work h3 { margin: 0 0 4px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.lof-reg-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 12px; }
.lof-reg-thumbs figure { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; background: #eee; }
.lof-reg-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lof-reg-thumbs button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px;
  border: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.cf-turnstile { margin: 18px 0 6px; }

/* The contract. Collapsed by default so registration stays focused, while the
   accepted terms remain available inline before the checkbox. */
.lof-reg-agreement { margin: 22px 0; padding-top: 20px; border-top: 1px solid var(--lof-rule); }
.lof-reg-agreement h3 { margin: 0 0 10px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.lof-reg-details { margin: 0 0 12px; border: 1px solid var(--lof-rule); background: #fafafa; }
.lof-reg-details summary { padding: 12px 16px; cursor: pointer; list-style: none;
  font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--lof-ink); }
.lof-reg-details summary::-webkit-details-marker { display: none; }
.lof-reg-details summary:after { content: "+"; float: right; font-size: 15px; line-height: 1; }
.lof-reg-details[open] summary { border-bottom: 1px solid var(--lof-rule); }
.lof-reg-details[open] summary:after { content: "-"; }
.lof-reg-terms { max-height: 260px; overflow-y: auto; padding: 16px 18px;
  font-size: 13px; font-weight: 300; line-height: 21px; }
.lof-reg-terms p { margin: 0 0 12px; }
.lof-reg-terms p:last-child { margin-bottom: 0; }
.lof-reg-doc { margin: 12px 0 0; font-size: 14px; }
.lof-reg-doc a { color: var(--lof-ink); text-decoration: underline; }

/* The mark on a registration form. Someone arriving from a link should see
   whose form they are filling in before they read a word of it. */
.lof-reg-logo { display: block; width: 190px; height: auto; margin: 0 auto 22px; }
@media only screen and (max-width: 560px) { .lof-reg-logo { width: 150px; } }
.lof-reg-agreement + .lof-mp-btn { margin-top: 4px; }
.lof-reg-agreement .lof-mp-check { margin-top: 14px; font-weight: 400; }

/* Site search. Client-side, because a static site has no server to ask. */
.lof-search-form { max-width: 640px; margin: 0 auto 30px; }
.lof-search-form input { width: 100%; padding: 14px 16px; border: 1px solid var(--lof-rule);
  background: #fff; font-family: inherit; font-size: 16px; }
.lof-search-hit { display: block; padding: 16px 0; border-bottom: 1px solid var(--lof-rule);
  text-decoration: none; color: inherit; }
.lof-search-hit:hover { background: rgba(0,0,0,.02); }
.lof-search-hit strong { display: block; font-size: 17px; font-weight: 400; }
.lof-search-hit span { display: block; margin-top: 4px; color: var(--lof-muted);
  font-size: 13px; font-weight: 300; line-height: 20px; }
.lof-search-hit em { display: block; margin-top: 4px; color: var(--lof-muted);
  font-size: 11px; font-style: normal; letter-spacing: 1px; }
