/* Tennyson R. Thomas: portfolio
   Layout + interaction language modeled on fieldtheory.us:
   charcoal / cream / orange, display grotesk + light mono, full-bleed heroes, split panels. */

:root {
  --char: #1e1c1b;
  --char-2: #2a2826;
  --cream: #f7f5ed;
  --stone: #dfdfd7;
  --orange: #e85433;
  --yellow: #ffb802;
  --display: "Inter Tight", "Neue Haas Grotesk Display Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --hdr: 44px;
  --gut: clamp(12px, 1.4vw, 20px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--hdr); }
body {
  margin: 0; background: var(--char); color: var(--cream);
  font-family: var(--display); font-size: 16px; line-height: 1.4;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--char); }

.mono { font-family: var(--mono); font-weight: 300; font-size: 13px; letter-spacing: -.02em; line-height: 1.45; }
.display {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  letter-spacing: -.045em; line-height: .86;
}
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--yellow); color: var(--char); padding: 8px 12px; font-family: var(--mono); }
.skip:focus { top: 8px; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gut); background: var(--char); color: var(--cream);
  font-family: var(--mono); font-weight: 300; font-size: 16px; letter-spacing: -.05em;
}
.hdr__nav { display: flex; gap: 10px; }
.hdr__nav a, .hdr__right { opacity: .92; transition: opacity .2s, color .2s; }
.hdr__nav a:hover, .hdr__right:hover, .hdr__nav a[aria-current] { color: var(--yellow); opacity: 1; }
.hdr__brand {
  font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: .32em;
  white-space: nowrap; padding-left: .32em;
}
.hdr__right { justify-self: end; }
.hdr__right sup { font-size: 10px; vertical-align: 6px; }
.hdr__menu { display: none; justify-self: end; font-family: var(--mono); font-weight: 300; font-size: 15px; letter-spacing: -.04em; }
main { padding-top: var(--hdr); }

/* mega menu */
.mega {
  position: absolute; top: var(--hdr); left: 0; right: 0;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gut);
  padding: 22px var(--gut) 26px; background: var(--char); border-top: 1px solid rgba(247,245,237,.12);
  opacity: 0; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.mega.is-open { opacity: 1; transform: none; }
.mega__list a {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 10px;
  padding: 7px 0; border-bottom: 1px solid rgba(247,245,237,.1);
}
.mega__title { font-family: var(--display); font-size: clamp(22px, 2.6vw, 38px); text-transform: uppercase; letter-spacing: -.045em; line-height: 1; transition: color .2s, padding .3s var(--ease); }
.mega__list a:hover .mega__title, .mega__list a:focus-visible .mega__title { color: var(--yellow); padding-left: 10px; }
.mega__label { text-transform: uppercase; opacity: .7; }
.mega__preview { position: relative; background: var(--char-2); overflow: hidden; min-height: 260px; }
.mega__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.mega__preview img.is-on { opacity: 1; }

/* mobile menu */
.mobile {
  position: fixed; inset: var(--hdr) 0 0 0; z-index: 49; background: var(--char);
  padding: 28px var(--gut); display: flex; flex-direction: column; justify-content: space-between;
}
.mobile nav { display: flex; flex-direction: column; }
.mobile nav a {
  font-family: var(--display); text-transform: uppercase; letter-spacing: -.045em;
  font-size: clamp(48px, 15vw, 88px); line-height: .95; border-bottom: 1px solid rgba(247,245,237,.12); padding: 6px 0;
}
.mobile nav a:active { color: var(--yellow); }

/* ---------- hero ---------- */
.hero, .phero {
  position: relative; overflow: hidden; color: var(--cream);
  height: min(calc(100svh - var(--hdr)), 900px); min-height: 520px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero__bg { position: absolute; inset: 0; background: var(--char-2); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,20,.25), rgba(20,20,20,.15) 40%, rgba(20,20,20,.55)); }
.hero__img, .hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__video { position: absolute; inset: 0; background: var(--char-2); }
.hero__img { transform: scale(1.06); transition: transform 2.4s var(--ease); }
.is-loaded .hero__img { transform: none; }

.hero__words { position: relative; z-index: 2; padding: 0 var(--gut); }
.hero__row { display: flex; justify-content: space-between; gap: 4vw; }
.hero__row + .hero__row { margin-top: 3.2vw; }
.hw, .hero__accent .display { font-size: clamp(44px, 8.4vw, 150px); }
.hero__accent {
  display: flex; flex-direction: column; color: var(--yellow);
  margin: 4vw 0 0 auto; width: max-content; margin-right: 22vw;
}
.hero__accent .display { line-height: .82; }
.hw, .hero__accent .display, .phero__title { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.is-loaded .hw, .is-loaded .hero__accent .display, .is-loaded .phero__title { opacity: 1; transform: none; }
.is-loaded .hero__row:nth-child(1) .hw:nth-child(2) { transition-delay: .08s; }
.is-loaded .hero__row:nth-child(2) .hw { transition-delay: .16s; }
.is-loaded .hero__accent .display:nth-child(1) { transition-delay: .3s; }
.is-loaded .hero__accent .display:nth-child(2) { transition-delay: .38s; }
.is-loaded .hero__accent .display:nth-child(3) { transition-delay: .46s; }

.hero__labels {
  position: absolute; z-index: 2; left: var(--gut); right: var(--gut); bottom: 14px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; color: var(--cream);
}
.hero__labels span:nth-child(2) { text-align: center; }
.hero__labels span:nth-child(3) { text-align: right; }

.phero { height: min(calc(86svh - var(--hdr)), 820px); align-items: center; }
.phero__title { position: relative; z-index: 2; font-size: clamp(48px, 8vw, 140px); text-align: center; padding: 0 var(--gut); }

/* ---------- split panels ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: min(50vw, 760px); }
.split--flip .split__media { order: 2; }
.split__media { position: relative; overflow: hidden; background: var(--char-2); min-height: 360px; }
.split__media img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split:hover .split__media img.cover { transform: scale(1.035); }
.split__panel { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 48px var(--gut); }
.split--dark .split__panel { background: var(--char); color: var(--cream); }
.split--light .split__panel { background: var(--cream); color: var(--char); }
.split__title { font-size: clamp(40px, 5vw, 84px); }
.explore { display: inline-block; position: relative; font-size: 13px; }
.explore::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.explore:hover::after, .explore:focus-visible::after { transform: scaleX(1); }

/* ---------- bands + cards ---------- */
.band { padding: 18px var(--gut) 20px; }
.band--orange { background: var(--orange); color: var(--char); }
.band__title { font-family: var(--display); font-weight: 400; letter-spacing: -.04em; line-height: .95; font-size: clamp(34px, 4.6vw, 72px); }
.band__sub { margin-top: 8px; }

.cards-wrap { background: var(--cream); color: var(--char); padding: 24px var(--gut) 56px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px var(--gut); }
.card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--stone); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.card a:hover .card__media img { transform: scale(1.04); }
.card__media--type { display: flex; align-items: center; justify-content: center; background: var(--char); color: var(--yellow); transition: background .3s; }
.card__media--type .display { font-size: clamp(36px, 4.4vw, 70px); text-align: center; }
.card a:hover .card__media--type { background: var(--orange); color: var(--char); }
.card__title { margin-top: 10px; font-weight: 400; font-size: 17px; letter-spacing: -.02em; }
.card__label { display: block; margin-top: 2px; font-size: 12px; }

/* ---------- info (over image) ---------- */
.info { position: relative; overflow: hidden; color: var(--cream); text-align: center; }
.info__bg { position: absolute; inset: 0; }
.info__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.info__bg::after { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.62); }
.info__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 46px; padding: 84px var(--gut) 72px; }
.info__block .display { font-size: clamp(40px, 5.4vw, 80px); margin-bottom: 10px; }
.info__block a:hover { color: var(--yellow); }

/* ---------- footer ---------- */
.ftr { background: var(--char); color: var(--cream); padding-top: 40px; }
.ftr__stamp { display: block; width: 92px; margin: 0 auto 34px; transition: transform .6s var(--ease); }
.ftr__stamp:hover { transform: rotate(-12deg); }
.ftr__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 0 var(--gut) 18px; font-size: 12px; }
.ftr__links { display: flex; gap: 20px; flex-wrap: wrap; }
.ftr__links a:hover { color: var(--yellow); }
.ftr__bar { height: 8px; background: var(--orange); }

/* ---------- project page ---------- */
.intro {
  display: grid; grid-template-columns: 1fr 2fr; gap: var(--gut);
  background: var(--cream); color: var(--char); padding: 56px var(--gut) 64px;
}
.intro__label { text-transform: uppercase; }
.intro__body p { font-size: clamp(20px, 2.1vw, 32px); line-height: 1.18; letter-spacing: -.025em; max-width: 30ch; max-width: 34em; }
.intro__links { display: flex; gap: 22px; margin-top: 26px; }

.sec { padding: 40px var(--gut) 48px; }
.sec--dark { background: var(--char); color: var(--cream); }
.sec--gal { padding-top: 8px; padding-bottom: 8px; }
.sec__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid rgba(247,245,237,.14); padding-bottom: 12px; margin-bottom: 18px; }
.sec__head .display { font-size: clamp(34px, 4.4vw, 68px); }
.sec__head a:hover { color: var(--yellow); }
.sec + .sec--gal { border-top: 0; }

.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gal__btn { display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--char-2); cursor: zoom-in; }
.gal__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; }
.gal__btn:hover img { transform: scale(1.03); }
.gal__btn--contain { background: var(--stone); }
.gal__btn--contain img { object-fit: contain; padding: 8%; }
.credit { background: var(--stone); color: var(--char); text-align: center; padding: 34px var(--gut); }

/* video slots */
.vids { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px var(--gut); }
.vid { margin: 0; }
.vid__facade, .vid__frame { position: relative; display: block; width: 100%; aspect-ratio: var(--ratio, 16/9); overflow: hidden; background: var(--char-2); }
.vid__poster { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .4s; }
.vid__facade:hover .vid__poster { transform: scale(1.03); filter: brightness(.82); }
.vid__play {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px 8px 10px; background: var(--yellow); color: var(--char);
  font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: -.02em;
  transition: background .2s;
}
.vid__facade:hover .vid__play { background: var(--cream); }
.vid__icon { width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.vid__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid figcaption { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-family: var(--mono); font-weight: 300; font-size: 12px; }
.vid__soon {
  position: absolute; inset: auto 12px 12px 12px; padding: 8px 10px; background: var(--char); color: var(--cream);
  font-family: var(--mono); font-size: 11px; text-align: left;
}

/* prev / next */
.pn { display: grid; grid-template-columns: 1fr 1fr; background: var(--char); border-top: 1px solid rgba(247,245,237,.14); }
.pn__item { display: flex; flex-direction: column; gap: 10px; padding: 34px var(--gut) 40px; transition: background .3s, color .3s; }
.pn__item--next { text-align: right; border-left: 1px solid rgba(247,245,237,.14); }
.pn__item .display { font-size: clamp(28px, 3.6vw, 56px); }
.pn__item:hover { background: var(--orange); color: var(--char); }

/* ---------- top-of-page (work, video, 404) ---------- */
.ptop { position: relative; background: var(--char); padding: 9vw var(--gut) 64px; border-bottom: 1px solid rgba(247,245,237,.14); }
.ptop__title { font-size: clamp(72px, 17vw, 300px); }
.ptop .hero__labels { position: static; margin-top: 30px; }
.ptop--tall { min-height: 70svh; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.ptop__sub { font-size: 15px; }

/* work list */
.wl-wrap { position: relative; background: var(--char); padding: 0 var(--gut) 60px; }
.wl__row a {
  display: grid; grid-template-columns: 50px 1.6fr 1.4fr 80px; align-items: center; gap: var(--gut);
  padding: 18px 0; border-bottom: 1px solid rgba(247,245,237,.14); transition: color .2s, padding .35s var(--ease);
}
.wl__title { font-size: clamp(34px, 4.6vw, 76px); }
.wl__label { text-align: right; }
.wl__thumb { display: none; }
.wl__row a:hover { color: var(--yellow); padding-left: 12px; }
.wl__float {
  position: fixed; z-index: 40; left: 0; top: 0; width: 280px; aspect-ratio: 3/4; pointer-events: none;
  opacity: 0; transform: translate(-50%, -50%) scale(.92); transition: opacity .25s, transform .25s var(--ease);
  overflow: hidden; background: var(--char-2);
}
.wl__float.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.wl__float img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- about ---------- */
.about-top .split__media { min-height: 520px; }
.about__text { max-width: 30em; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.25; letter-spacing: -.02em; }
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gut); background: var(--cream); color: var(--char); padding: 34px var(--gut) 64px; }
.skills h3 { font-size: clamp(28px, 2.8vw, 44px); margin-bottom: 18px; }
.skills li { padding: 7px 0; border-bottom: 1px solid rgba(30,28,27,.16); font-size: 14px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--gut) * 2); background: var(--yellow); color: var(--char); padding: 56px var(--gut) 64px; }
.contact .display { font-size: clamp(48px, 6vw, 96px); margin-bottom: 18px; }
.contact__intro .mono { max-width: 34em; font-size: 14px; font-weight: 400; }
.contact__direct { margin-top: 22px; }
.contact__direct a:hover { text-decoration: underline; }
.form { display: flex; flex-direction: column; gap: 4px; }
.form input, .form select, .form textarea {
  width: 100%; border: 0; border-radius: 0; background: var(--char); color: var(--cream);
  font-family: var(--mono); font-weight: 300; font-size: 15px; letter-spacing: .08em;
  padding: 14px 18px; appearance: none;
}
.form select { color: rgba(247,245,237,.6); }
.form select.has-value { color: var(--cream); }
.form textarea { resize: vertical; min-height: 140px; }
.form ::placeholder { color: rgba(247,245,237,.55); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--char); outline-offset: 2px; background: #000; }
.form__btn { align-self: center; margin-top: 18px; font-family: var(--display); font-weight: 500; font-size: 18px; text-transform: uppercase; letter-spacing: -.01em; padding: 6px 18px; border-bottom: 2px solid var(--char); }
.form__btn:hover { background: var(--char); color: var(--yellow); }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(20,20,20,.96); display: grid; place-items: center; padding: 56px 64px; }
.lb[hidden] { display: none; }
.lb__img { max-width: 100%; max-height: calc(100svh - 112px); object-fit: contain; }
.lb__close { position: absolute; top: 14px; right: var(--gut); font-size: 14px; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 14px; padding: 12px; }
.lb__prev { left: 6px; } .lb__next { right: 6px; }
.lb__count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); }
.lb button:hover { color: var(--yellow); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .vids { grid-template-columns: repeat(3, 1fr); }
  .wl__row a { grid-template-columns: 40px 1fr 70px; }
  .wl__svc { display: none; }
}
@media (max-width: 760px) {
  .hdr { grid-template-columns: 1fr auto; }
  .hdr__nav, .hdr__right, .mega { display: none; }
  .hdr__menu { display: block; }
  .hdr__brand { justify-self: start; padding-left: 0; font-size: 11px; letter-spacing: .26em; }
  .hero { height: auto; min-height: calc(100svh - var(--hdr)); padding: 60px 0 70px; }
  .hero__row { flex-direction: column; gap: 0; }
  .hero__row + .hero__row { margin-top: 0; }
  .hero__row .hw:nth-child(2) { align-self: flex-end; }
  .hero__accent { margin: 9vw 0 0 auto; margin-right: 0; }
  .hw, .hero__accent .display { font-size: clamp(42px, 13.5vw, 80px); }
  .hero__labels { grid-template-columns: 1fr 1fr; font-size: 11px; }
  .hero__labels span:nth-child(2) { display: none; }
  .phero__title { font-size: clamp(44px, 14vw, 80px); }
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split--flip .split__media { order: 0; }
  .split__media { aspect-ratio: 4 / 5; min-height: 0; }
  .split__panel { padding: 64px var(--gut); }
  .cards { gap: 26px 10px; }
  .card__title { font-size: 15px; }
  .intro { grid-template-columns: 1fr; padding: 40px var(--gut) 48px; }
  .gal { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .vids { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
  .vid__play { left: 8px; bottom: 8px; padding: 6px 9px; }
  .pn { grid-template-columns: 1fr; }
  .pn__item--next { text-align: left; border-left: 0; border-top: 1px solid rgba(247,245,237,.14); }
  .ptop { padding-top: 64px; }
  .wl__row a { grid-template-columns: 30px 1fr 64px; gap: 10px; padding: 14px 0; }
  .wl__title { font-size: clamp(28px, 9vw, 44px); }
  .wl__label { font-size: 11px; }
  .about-top .split__media { min-height: 0; }
  .skills, .contact { grid-template-columns: 1fr; }
  .lb { padding: 56px 10px; }
  .lb__nav { top: auto; bottom: 6px; transform: none; }
  .ftr__row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal, .hw, .hero__accent .display, .phero__title { opacity: 1 !important; transform: none !important; }
  .hero__img { transform: none; }
}

/* hidden states must beat display rules above */
.mobile[hidden], .mega[hidden] { display: none !important; }

/* touch devices: inline thumbnails in the work list */
@media (hover: none) {
  .wl__row a { grid-template-columns: 30px 64px 1fr 56px; }
  .wl__thumb { display: block; order: -1; grid-column: 2; grid-row: 1; aspect-ratio: 3/4; overflow: hidden; background: var(--char-2); }
  .wl__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .wl__n { grid-column: 1; grid-row: 1; }
}

/* mobile hero legibility */
@media (max-width: 760px) {
  .hero .hero__bg::after { background: linear-gradient(180deg, rgba(20,20,20,.45), rgba(20,20,20,.35) 45%, rgba(20,20,20,.7)); }
  .hw, .hero__accent .display { font-size: clamp(40px, 12.4vw, 76px); line-height: .9; }
  .hero__row { gap: 2px; }
  .hero__row + .hero__row { margin-top: 2px; }
  .hero__accent { margin-top: 7vw; }
}

.hw--accent { color: var(--yellow); }

/* header: links grouped on the right, name centered */
.hdr__brand { grid-column: 2; }
.hdr__side { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 22px; }
.hdr__nav { gap: 14px; }
@media (max-width: 760px) {
  .hdr__brand { grid-column: 1; }
  .hdr__side { display: none; }
}
@media (min-width: 761px) and (max-width: 1080px) {
  .hdr { grid-template-columns: auto 1fr; }
  .hdr__brand { grid-column: 1; padding-left: 0; }
  .hdr__side { grid-column: 2; }
}

/* hero accent words in brand orange */
.hw--accent, .hero__accent { color: var(--orange); }

/* Contact + Services side by side */
.info__inner {
  display: grid; grid-template-columns: 1fr 1fr; align-items: start;
  gap: 40px var(--gut); max-width: 1180px; margin: 0 auto;
}
.info__block { text-align: left; padding: 0 0 0 18px; border-left: 2px solid var(--orange); }
.info__block .display { margin-bottom: 14px; }
.info__inner > .explore { grid-column: 1 / -1; justify-self: center; }
@media (max-width: 760px) {
  .info__inner { grid-template-columns: 1fr; gap: 36px; }
}
.info__inner { grid-template-columns: auto auto; justify-content: center; column-gap: clamp(48px, 10vw, 160px); }
@media (max-width: 760px) { .info__inner { grid-template-columns: 1fr; justify-content: stretch; } }

/* homepage headline in Arimo */
.hero__words .display { font-family: "Arimo", var(--display); font-weight: 400; letter-spacing: -0.03em; line-height: .92; }

/* smaller homepage headline */
.hero .hw, .hero .hero__accent .display { font-size: clamp(40px, 7.2vw, 128px); }
.hero .hero__row + .hero__row { margin-top: 2vw; }
.hero .hero__accent { margin-top: 3vw; }
@media (max-width: 760px) {
  .hero .hw, .hero .hero__accent .display { font-size: clamp(36px, 11vw, 66px); }
  .hero .hero__row + .hero__row { margin-top: 2px; }
  .hero .hero__accent { margin-top: 5vw; }
}

/* ---------- full-length films ---------- */
.films { background: var(--char); padding: 10px var(--gut) 56px; display: flex; flex-direction: column; gap: 40px; }
.films__row { display: flex; gap: var(--gut); align-items: flex-start; }
.film { margin: 0; flex: var(--ar) 1 0; min-width: 0; }
.film__frame { position: relative; width: 100%; background: #000; overflow: hidden; }
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; display: block; }
.film.is-playing .film__video { object-fit: contain; }
.film__play {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px 10px 12px; background: var(--orange); color: var(--char);
  font-family: var(--mono); font-weight: 400; font-size: 13px; letter-spacing: -.02em; transition: background .2s, transform .3s var(--ease);
}
.film__play:hover { background: var(--cream); transform: translateY(-2px); }
.film__dur { opacity: .7; }
.film.is-playing .film__play { display: none; }
.film:not(.is-playing) .film__video::-webkit-media-controls { display: none !important; }
.film figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; color: var(--cream); }
.film__title { font-family: var(--display); text-transform: uppercase; letter-spacing: -.04em; font-size: clamp(20px, 2vw, 30px); line-height: 1; }
@media (max-width: 760px) {
  .films__row { flex-direction: column; gap: 40px; }
  .film { flex: none; width: 100%; }
  .film__frame { max-height: 82svh; }
  .film--tall .film__frame { width: min(100%, calc(82svh * 0.5625)); margin: 0 auto; }
}
.film--tall figcaption { flex-direction: column; gap: 6px; }
.film--tall .film__title { font-size: clamp(18px, 1.5vw, 24px); }

/* films inside project pages: compact grid */
.films--grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px var(--gut); align-items: start; }
.films--grid .film { flex: none; }
.films--grid .film figcaption { flex-direction: column; gap: 6px; }
.films--grid .film__title { font-size: clamp(18px, 1.5vw, 24px); }
@media (max-width: 1000px) { .films--grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .films--grid { grid-template-columns: repeat(2, 1fr); gap: 24px 10px; }
  .films--grid .film--tall .film__frame { width: 100%; }
  .films--grid .film__play { left: 8px; bottom: 8px; padding: 7px 10px; font-size: 12px; }
}

/* compact films that sit in the same grid as the other project videos */
.vids .film { flex: none; width: 100%; }
.film--compact figcaption { flex-direction: row; justify-content: space-between; gap: 8px; margin-top: 8px; font-family: var(--mono); font-weight: 300; font-size: 12px; }
.film--compact .film__title { font-family: var(--mono); font-weight: 300; font-size: 12px; text-transform: none; letter-spacing: -.02em; line-height: 1.45; }
.film--compact figcaption .mono { display: none; }
.film--compact .film__play { left: 12px; bottom: 12px; padding: 8px 12px 8px 10px; font-size: 12px; background: var(--yellow); }
.film--compact .film__dur { display: none; }
@media (max-width: 760px) { .film--compact .film__play { left: 8px; bottom: 8px; padding: 6px 9px; } }
.split__media video.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split:hover .split__media video.cover { transform: scale(1.035); }
/* landscape films take two columns in project video grids */
.vids .film:not(.film--tall) { grid-column: span 2; }
@media (max-width: 760px) { .vids .film:not(.film--tall) { grid-column: 1 / -1; } }
