/* Stone Folio film homepage */
.hl { --gut: var(--folio-gutter); }
.hl main{overflow-x:clip}
.hl h1,.hl h2,.hl h3{font-family:Folio,Georgia,serif;font-weight:400;letter-spacing:-.035em}
.hl h1 em,.hl h2 em{font-style:italic;color:#5e5444}
.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 22px;border:1px solid #9e8a6a;border-radius:999px;background:linear-gradient(#fffcf3,#efe5cf);box-shadow:inset 0 0 0 2px #fffaf0,0 2px 8px -4px #4a391f66;color:#342d24;font:500 15px/1.2 Georgia,serif;cursor:pointer}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn.ink{background:linear-gradient(120deg,#3d3d32,#2a2a22);border-color:#26261f;color:#fffaf0;box-shadow:inset 0 0 0 2px #45453a,0 4px 12px -6px #2d2416}
.wrap{padding:clamp(28px,4vw,70px) var(--gut) 10px}
.head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:22px}
.band{position:relative;isolation:isolate;margin-top:clamp(30px,4vw,70px);}
.band{padding:clamp(40px,6vw,110px) var(--gut)}
.band:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(#faf6ecd9,#f3ecdccc),var(--bg) center/cover}
.band.stone{--bg:url(/app/folio/stone-portal.webp)}
.band.joinery{--bg:url(/app/folio/joinery.webp)}
.band-inner{max-width:1180px;margin:0 auto}
.band h2{font-size:clamp(40px,5.4vw,100px);line-height:.95}
.band h2 em{display:block}
.find{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px;max-width:620px}
.find input{flex:1 1 240px;min-height:48px;padding:8px 18px;border:1px solid #aa9a80;border-radius:999px;background:#fffdf6;font:16px Georgia,serif}
.searchband{text-align:center}.searchband .find{margin-inline:auto;justify-content:center}
.g-mission{text-align:center}
.g-mission p:not(.ribbon){max-width:60ch;margin:18px auto 0;font:clamp(16px,1.3vw,21px)/1.55 Georgia,serif}
.bento{display:grid;grid-template-columns:repeat(6,1fr);grid-auto-rows:clamp(130px,13vw,250px);gap:clamp(8px,1vw,16px)}
.tile{position:relative;overflow:hidden;background:#302e27;display:block}
.tile img{width:100%;height:100%;object-fit:cover;transition:transform .7s ease}
.tile:hover img{transform:scale(1.04)}
.tile:hover{text-decoration:none}
.tile-cap{position:absolute;inset:auto 0 0;display:flex;flex-direction:column;gap:2px;padding:40px 16px 14px;background:linear-gradient(transparent,#1d1a14cc);color:#fffaf0}
.tile-cap strong{font:clamp(20px,1.8vw,32px)/1.05 Folio,Georgia,serif}
.tile-cap em{font:italic 13px Georgia,serif;opacity:.9}
.tile-cap small{opacity:.85}
.t0{grid-column:span 4;grid-row:span 2}.t1{grid-column:span 2;grid-row:span 2}
.t2,.t3,.t4{grid-column:span 2}
.t5{grid-column:span 3;grid-row:span 2}.t6{grid-column:span 3;grid-row:span 2}
.t7,.t8,.t9{grid-column:span 2}
.g-main{padding-top:clamp(14px,1.6vw,26px)}

.g-film-heading { font-size: clamp(30px, 3.4vw, 58px); line-height: 1; }
.tile-cap small { font: 11px/1.4 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.bento .tile[hidden] { display: none; }
.g-film-filter { margin: 0 0 16px; }
.g-film-filter a { text-decoration: underline; }

/* The cabinet uses the original proportions. Only its inner bezel fits the 16:9 player. */
.g-screening {
  padding: clamp(18px, 2.4vw, 34px) 0 20px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(#f8f3e3aa, #f1e9d8db), var(--folio-limestone) center / cover;
  border-bottom: 1px solid var(--line);
}
.g-tv-title {
  max-width: 1160px;
  width: calc(100% - 2 * var(--gut));
  margin: 0 auto clamp(18px, 2vw, 30px);
}
.g-tv-title-line {
  color: var(--ink);
  font: 400 clamp(22px, 3.1vw, 44px)/1.12 Georgia, serif;
  letter-spacing: .035em;
  text-transform: uppercase;
  text-wrap: balance;
}
.g-tv-medium {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(8px, 1.4vw, 20px);
  margin-top: 9px;
  color: #514535;
  font: 400 clamp(10px, 1.2vw, 16px)/1.4 Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.g-tv-medium::before,
.g-tv-medium::after {
  content: "";
  height: 1px;
  background: var(--line);
}
.g-tv-medium span[aria-hidden] {
  padding-inline: .23em;
  color: var(--bronze);
}
.g-television {
  position: relative;
  left: 50%;
  width: clamp(840px, 128vw, 1620px);
  aspect-ratio: 2048 / 824;
  transform: translateX(-48.65%);
}
.g-tv-cabinet {
  position: absolute;
  inset: 0;
  pointer-events: none;
  filter: drop-shadow(0 14px 13px #34261f64);
}
.g-tv-cabinet img {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  max-width: none;
  height: auto;
  transform: translateY(-18.63%);
  clip-path: polygon(
    15.088% 18.635%, 86.182% 18.635%, 86.182% 78.390%, 76.416% 78.390%,
    77.002% 90.201%, 76.904% 90.551%, 76.709% 90.639%, 75.684% 90.639%,
    75.391% 90.464%, 75.146% 90.201%, 74.951% 89.414%, 73.877% 83.377%,
    73.926% 85.302%, 73.828% 85.739%, 73.486% 85.914%, 72.607% 85.914%,
    72.217% 85.739%, 71.484% 81.540%, 28.564% 81.540%, 27.881% 85.652%,
    27.686% 85.827%, 26.660% 85.914%, 26.367% 85.652%, 26.318% 83.377%,
    25.244% 90.114%, 25.098% 90.464%, 24.756% 90.639%, 23.535% 90.639%,
    23.291% 90.376%, 23.242% 89.851%, 23.828% 78.390%, 15.088% 78.390%
  );
}
.g-tv-bezel {
  position: absolute;
  inset: 6.8% 0 23.91%;
  display: grid;
  grid-template-rows: 63.5fr 450fr 57.5fr;
  pointer-events: none;
  clip-path: polygon(
    28.32% 0%, 68.85% 0%, 69.34% 2%, 69.34% 98%,
    68.85% 100%, 28.32% 100%, 27.78% 98%, 27.78% 2%
  );
}
/* Refit the original silver trim above and below the glass within its existing surround. */
.g-tv-bezel span {
  background-image: url("screening-television.webp");
  background-repeat: no-repeat;
}
.g-tv-bezel-top {
  background-size: 100% 4572%;
  background-position: center 24.061%;
}
.g-tv-bezel-glass {
  background-size: 100% 216.888%;
  background-position: center 47.727%;
}
.g-tv-bezel-bottom {
  background-size: 100% 6015.789%;
  background-position: center 73.043%;
}
.g-tv-surface {
  position: absolute;
  top: 14.5024%;
  left: 29.0039%;
  width: 39.0625%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  clip-path: polygon(
    0.00% 48.58%, 0.25% 67.55%, 1.00% 84.06%, 1.75% 91.84%,
    2.75% 94.50%, 5.38% 96.39%, 10.63% 97.53%, 16.75% 98.29%,
    25.63% 99.05%, 35.88% 99.81%, 50.13% 100.00%, 65.38% 99.81%,
    76.00% 99.05%, 84.50% 98.29%, 90.13% 97.53%, 94.75% 96.39%,
    97.38% 94.50%, 98.38% 91.84%, 99.13% 84.63%, 99.75% 67.55%,
    100.00% 48.58%, 99.63% 29.60%, 99.13% 20.11%, 98.63% 12.52%,
    98.25% 7.78%, 97.25% 4.93%, 92.50% 2.66%, 84.00% 1.52%,
    71.75% 0.57%, 61.88% 0.00%, 40.13% 0.00%, 29.00% 0.57%,
    16.25% 1.52%, 7.75% 2.66%, 3.00% 4.93%, 1.75% 7.78%,
    1.38% 12.52%, 0.88% 20.11%, 0.38% 29.60%
  );
  background: #080705;
}
.g-tv-player {
  color-scheme: dark;
  transition: opacity .62s ease;
}
.g-tv-static {
  opacity: 0;
  image-rendering: pixelated;
  pointer-events: none;
  transition: opacity .62s ease;
}
.is-tuning .g-tv-static { opacity: 1; }
.is-tuning .g-tv-player { opacity: 0; }
.g-tv-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: clamp(21px, 2vw, 30px) var(--gut) 0;
}
.folio-home a.g-film-button,
.g-tv-picker {
  min-height: 44px;
  font: 15px/1.25 Georgia, serif;
}
.g-tv-choice {
  position: relative;
  max-width: 100%;
}
.g-tv-choice::before,
.g-tv-choice::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.g-tv-choice::before {
  top: 50%;
  left: 14px;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  background: url("/app/folio/ink-films.webp") center / contain no-repeat;
}
.g-tv-choice::after {
  top: calc(50% - 5px);
  right: 17px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #655238;
  border-bottom: 1.5px solid #655238;
  transform: rotate(45deg);
}
.g-tv-picker {
  appearance: none;
  width: 100%;
  padding: 8px 38px 8px 44px;
  border: 1px solid #9e8a6a;
  border-radius: 999px;
  background: var(--folio-button-paper);
  box-shadow: var(--folio-button-edge);
  color: #403627;
}
.g-tv-picker option { background: #fffaf0; color: #342d24; }

.g-countries {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px clamp(12px, 1.8vw, 24px);
  margin: 22px auto 0;
  padding: 0;
  list-style: none;
  color: #4a4236;
  font: italic clamp(15px, 1.3vw, 20px)/1.5 Georgia, serif;
}
.g-countries li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.g-countries li span {
  font: normal 1em/1 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}


@media (max-width: 700px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(138px, 37vw, 264px);
  }
  .bento .tile { grid-column: span 1; grid-row: span 1; }
  .bento .t0, .bento .t5 { grid-column: 1 / -1; grid-row: span 2; }
  .tile-cap { padding: 26px 10px 10px; }
  .tile-cap small { font-size: 9px; }
  .tile-cap strong { font-size: clamp(16px, 3.6vw, 20px); }
  .tile-cap em { font-size: 11px; }
  .g-main .head { flex-wrap: wrap; align-items: center; }
}
@media (max-width: 560px) {
  .g-television { width: min(840px, calc((100% - 12px) * 2.56)); }
  .g-tv-controls { gap: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .g-tv-player, .g-tv-static, .tile img { transition: none; }
}
