/* Sane House Media v3.1 (21/10): Alex's home order of 19/10 and what the competitor
   and gallery study added: what's included, Alex at the contact, square on-set grid. */

/* ---------- services: included in every production ---------- */
.included { margin-top: clamp(32px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 16px 32px; align-items: start; }
.included__h { font-weight: 700; font-size: var(--step-0); }
.included__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 28px; }
.included__list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--muted); line-height: 1.45; }
.included__list li::before { content: ""; width: 14px; height: 8px; margin-top: 5px; border-left: 2px solid var(--rec); border-bottom: 2px solid var(--rec); transform: rotate(-45deg); }

/* ---------- quick inquiry: a person, not an inbox ---------- */
.inquiry__who { display: block; font-weight: 700; color: var(--on-slate); margin-bottom: 4px; }

/* ---------- journal teaser on the home page ---------- */
.jteaser--home { background: var(--cyc); }
.jteaser--home .journal__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

/* ---------- about: on set, in square frames ---------- */
.bts--square { overflow: visible; padding: 0 var(--gut) clamp(80px, 10vw, 140px); display: grid; gap: clamp(20px, 3vw, 36px); }
.bts--square .bts__track { width: auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 16px); }
.bts--square .bts__track img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }

/* ---------- work cards: the film plays, the link opens the case study ---------- */
.reel { cursor: default; }
.reel__media { cursor: pointer; outline-offset: 6px; }
.reel__case { display: inline-block; margin-top: 14px; font-weight: 700; font-size: var(--step--1); color: var(--on-slate); text-decoration: none; border-bottom: 2px solid var(--rec); padding-bottom: 2px; }
.reel__case:hover { color: #fff; }

/* ---------- services on touch screens: the photo can't follow a finger, so it sits in the row ---------- */
.svc__thumb { grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }

/* ---------- footer ---------- */
.foot__area { margin-top: 10px; color: var(--on-slate-muted); }

@media (max-width: 760px) {
  .included { grid-template-columns: minmax(0, 1fr); }
  .bts--square .bts__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- announcement bar (navbar.gallery) ---------- */
.annc { position: fixed; z-index: 101; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 36px; padding: 6px 48px; padding-top: max(6px, env(safe-area-inset-top)); background: var(--slate); color: var(--on-slate); font-size: var(--step--1); transition: transform 300ms var(--ease-out); }
.annc[hidden] { display: none; }
.annc.is-up { transform: translateY(-100%); }
.annc__link { text-decoration: none; display: inline-flex; gap: 10px; align-items: baseline; min-width: 0; }
.annc__link b { color: #fff; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.annc__link b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rec); }
.annc__link span { color: var(--on-slate-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.annc__link:hover span { color: var(--on-slate); }
.annc__x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--on-slate-muted); cursor: pointer; }
.annc__x:hover { background: rgba(255,255,255,.08); color: #fff; }
html.has-annc .nav { top: 50px; transition: top 300ms var(--ease-out); }
html.has-annc.annc-up .nav { top: 14px; }

/* ---------- services: ways to work with us (pricingpages, without prices) ---------- */
.ways { padding: clamp(80px, 10vw, 140px) var(--gut); background: var(--paper); display: grid; gap: clamp(28px, 4vw, 48px); }
.ways__head { display: grid; gap: 14px; max-width: 760px; }
.ways__head > p:last-child { color: var(--muted); max-width: 52ch; }
.ways__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.way { display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: 14px; background: var(--paper); transition: transform 300ms var(--ease-out), border-color 300ms ease, box-shadow 300ms ease; }
.way h3 { font-size: var(--step-2); font-weight: 800; font-variation-settings: "wdth" 75; font-stretch: 75%; }
.way > p { color: var(--muted); }
.way ul { display: grid; gap: 8px; align-content: start; }
.way li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.way li::before { content: ""; width: 12px; height: 7px; margin-top: 6px; border-left: 2px solid var(--rec); border-bottom: 2px solid var(--rec); transform: rotate(-45deg); }
.way--full { background: var(--slate); color: var(--on-slate); border-color: var(--slate); }
.way--full > p { color: var(--on-slate-muted); }
.way--full .link { color: var(--on-slate); }
@media (hover: hover) { .way:hover { transform: translateY(-6px); border-color: var(--rec); box-shadow: 0 24px 40px -28px rgba(0,0,0,.45); } }
.ways__faq { color: var(--muted); }

/* ---------- the big footer (land-book) ---------- */
.foot--big { display: grid; grid-template-columns: none; gap: clamp(40px, 6vw, 72px); padding: clamp(64px, 8vw, 110px) var(--gut) 28px; overflow: hidden; }
.foot__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 28px; }
.foot__col { display: grid; gap: 8px; align-content: start; }
.foot__h { color: var(--on-slate); font-weight: 700; margin-bottom: 4px; }
.foot__col a { text-decoration: none; color: var(--on-slate-muted); width: fit-content; }
.foot__col a:hover { color: var(--on-slate); }
.foot__latest a { color: var(--on-slate); font-size: var(--step-1); font-weight: 700; line-height: 1.25; text-decoration: underline; text-decoration-color: var(--rec); text-underline-offset: 4px; }
.foot__word { margin: 0; font-weight: 800; font-variation-settings: "wdth" 62; font-stretch: 62%; font-size: clamp(3rem, 14.2vw, 17rem); line-height: .82; color: var(--on-slate); white-space: nowrap; overflow: hidden; }
.foot__word span { display: inline-block; }
.foot--big .foot__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line-slate); }
.foot--big .foot__legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- small, purposeful motion ---------- */
.included__list li::before, .way li::before { clip-path: inset(0 100% 0 0); transition: clip-path 420ms var(--ease-out); }
.is-drawn li::before { clip-path: inset(0 0 0 0); }
.is-drawn li:nth-child(2)::before { transition-delay: 80ms; } .is-drawn li:nth-child(3)::before { transition-delay: 160ms; }
.is-drawn li:nth-child(4)::before { transition-delay: 240ms; } .is-drawn li:nth-child(5)::before { transition-delay: 320ms; }

@media (max-width: 1000px) {
  .ways__grid { grid-template-columns: minmax(0, 1fr); }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__latest { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .annc { justify-content: flex-start; padding-left: var(--gut); }
  .annc__link span { max-width: 52vw; }
}
@media (prefers-reduced-motion: reduce) {
  .included__list li::before, .way li::before { clip-path: none; transition: none; }
  .annc, html.has-annc .nav { transition: none; }
}

/* ---------- about: Alex's full text, word for word (parity with the current site) ---------- */
.pillars article h2 { grid-row: span 3; }
.pillars article > p:not(.pillars__lead) { color: var(--muted); max-width: 62ch; }
.who__copy { margin-top: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px clamp(24px, 4vw, 64px); color: var(--on-slate-muted); max-width: 1100px; }
.ahead > div:first-child p.ahead__lead { color: var(--ink); font-weight: 650; font-size: var(--step-1); line-height: 1.3; }
.ahead__h { font-size: var(--step-2); }
.ahead__cta > p:not(.ahead__big) { color: var(--muted); max-width: 52ch; }
@media (max-width: 860px) { .pillars article h2 { grid-row: auto; } .who__copy { grid-template-columns: minmax(0, 1fr); } }
/* the current site's headline, kept as the hero's kicker (Alex keeps "We film the stories…" as the title) */
.hero__kicker { margin: 0 0 14px; font-size: var(--step--1); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(239, 237, 232, .82); }
.foot__tag { color: var(--on-slate-muted); max-width: 30ch; }

/* ---------- /verify/shm-001: Alex's media credential (same address as the current site) ---------- */
.cred { padding: clamp(130px, 14vw, 180px) var(--gut) clamp(80px, 10vw, 120px); display: grid; gap: clamp(28px, 4vw, 44px); justify-items: center; text-align: center; }
.cred__head { display: grid; gap: 12px; }
.cred__head h1 { font-size: var(--step-4); line-height: .95; }
.cred__head p { color: var(--muted); }
.cred__card { position: relative; width: min(100%, 720px); display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: center; padding: clamp(28px, 4vw, 44px); background: var(--slate); color: var(--on-slate); border-radius: 16px; text-align: left; }
.cred__card .vf__c { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(255,255,255,.6); }
.cred__card .vf__c--tl { left: 12px; top: 12px; border-left-width: 2px; border-top-width: 2px; }
.cred__card .vf__c--tr { right: 12px; top: 12px; border-right-width: 2px; border-top-width: 2px; }
.cred__card .vf__c--bl { left: 12px; bottom: 12px; border-left-width: 2px; border-bottom-width: 2px; }
.cred__card .vf__c--br { right: 12px; bottom: 12px; border-right-width: 2px; border-bottom-width: 2px; }
.cred__status { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .08em; font-size: var(--step--1); }
.cred__status i { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); }
.cred__photo { margin: 0; }
.cred__photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.cred__body { display: grid; gap: 22px; }
.cred__body h2, .cred__more h2 { font-size: var(--step--1); font-weight: 700; color: var(--on-slate-muted); margin-bottom: 6px; }
.cred__more h2 { color: var(--muted); }
.cred__name { font-size: var(--step-2); font-weight: 800; font-variation-settings: "wdth" 75; font-stretch: 75%; line-height: 1.05; }
.cred__id { font-variant-numeric: tabular-nums; letter-spacing: .06em; color: var(--on-slate-muted); }
.cred__more { width: min(100%, 720px); display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; text-align: left; }
.cred__more p { color: var(--ink); }
.cred__updated { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 640px) { .cred__card, .cred__more { grid-template-columns: minmax(0, 1fr); } .cred__photo { max-width: 220px; } }
.jsub__when { margin-top: 8px; font-weight: 700; }
.jsub__legal { font-size: .8rem; color: var(--muted); grid-column: 1 / -1; }
.brief__alex b { color: var(--on-slate); }
.bts__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px clamp(24px, 5vw, 80px); align-items: start; }
.bts__head p { color: var(--muted); max-width: 60ch; }
.bts__head .bts__lead { color: var(--ink); font-weight: 650; font-size: var(--step-1); margin-bottom: 8px; }
@media (max-width: 760px) { .bts__head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- portfolio: photo collection, in square frames (the 1:1 format Alex's clients ask for) ---------- */
.photos { padding: clamp(80px, 10vw, 140px) var(--gut); display: grid; gap: clamp(24px, 3vw, 40px); }
.photos__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; }
.photos__head p { color: var(--muted); max-width: 46ch; }
.photos__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(6px, 1vw, 12px); }
.photos__grid li { overflow: hidden; border-radius: 10px; aspect-ratio: 1; background: var(--slate-2); }
.photos__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
@media (hover: hover) { .photos__grid li:hover img { transform: scale(1.06); } }
@media (max-width: 760px) { .photos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .photos__grid img { transition: none; } }
.phead__index:has(> a:nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.phead--dark .phead__lede { color: var(--on-slate-muted); max-width: 62ch; margin-top: 14px; }
.phead--dark .phead__lede b { color: var(--on-slate); }
@media (max-width: 760px) { .phead__index:has(> a:nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- privacy: Alex's policy word for word, with a table of contents ---------- */
.legal__toc { display: grid; gap: 8px; font-size: var(--step--1); counter-reset: toc; }
.legal__toc a { text-decoration: none; color: var(--muted); }
.legal__toc a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rec); }
.legal__body section { display: grid; gap: 12px; scroll-margin-top: 110px; }
.legal__body ul { display: grid; gap: 6px; padding-left: 1.2em; list-style: disc; }
@media (max-width: 860px) { .legal { grid-template-columns: minmax(0, 1fr); } .legal__summary { position: static; } }
.phead__idxh { margin-top: clamp(28px, 4vw, 44px); font-weight: 700; color: var(--on-slate-muted); font-size: var(--step--1); }
