@import './generated/nav-priority.css';

@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 400;
	font-display: optional;
	src:
		url('/fonts/Montserrat_400.woff2') format('woff2'),
		url('/fonts/Montserrat_400.woff') format('woff');
	unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 400;
	font-display: optional;
	src:
		url('/fonts/Montserrat_400.woff2') format('woff2'),
		url('/fonts/Montserrat_400.woff') format('woff');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 400;
	font-display: optional;
	src:
		url('/fonts/Montserrat_400.woff2') format('woff2'),
		url('/fonts/Montserrat_400.woff') format('woff');
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 400;
	font-display: optional;
	src:
		url('/fonts/Montserrat_400.woff2') format('woff2'),
		url('/fonts/Montserrat_400.woff') format('woff');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 400;
	font-display: optional;
	src:
		url('/fonts/Montserrat_400.woff2') format('woff2'),
		url('/fonts/Montserrat_400.woff') format('woff');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Adler';
	font-style: normal;
	font-display: swap;
	src: url('/fonts/adler.woff') format('woff');
}

h1,
h2,
nav.primary,
.button p,
.title-container .button {
  font-family: 'Courier';
}

h4.logo span,
article h2 {
  font-family: 'Adler';
}

/* The title face of the words on pictures: covers and the hero
   (public/styles/components/cover-text.css). */
/* The corner fade behind a cover's title is 24% here (14% elsewhere): owner,
   2026-11-15, "increase legibility on cam damage cover titles by 25%". Measured
   the cover study's way on this tenant's covers, it lifts the letters'
   contrast with the picture touching them by 25% on the 14 hardest (bright
   ground behind the words) and leaves none under 3 to 1. The fade alone, not
   the wide shadow: Adler's heavier letters already lay that shadow down
   denser than the one picked in Montserrat. */
:root {
  --cover-title-font: 'Adler', Montserrat, sans-serif;
  --cover-corner-strength: 0.24;
}

/* The video page billboard (public/styles/components/video-billboard.css) in
   this tenant's faces. Its numbers were settled in Montserrat. Adler carries
   more ink (2026-11-15 audit of this tenant), so the title's wide shadow is
   thinned to the density 70% has in Montserrat. The buttons, the Download
   button's files and the TAGS label are Courier, like every other label
   here (owner, 2026-11-15), a pixel larger because Courier runs small. */
:root {
  --billboard-label-font: 'Courier', monospace;
}

.video-billboard {
  --billboard-title-shadow-wide: 0.58;
  /* A multiple of the billboard's own pixel, like the size it replaces
     (video-billboard.css, --billboard-u). */
  --billboard-button-font-size: max(12px, calc(15 * var(--billboard-u)));
}

.video-billboard .video-billboard-button {
  letter-spacing: 0.5px;
}

.video-tags {
  /* At the page's step in a narrow window, like the size it replaces. */
  --video-tags-label-size: max(12px, calc(14px * var(--narrow-scale, 1)));
}

/* The narrow desktop step (--narrow-scale, global.css) starts at the desktop
   layout's edge on this tenant, 768px, not at 426px: its phone header is
   full height (no --header-scale), so a 64px bar from 426px would be shorter
   than the 71px one a phone gets. Below 768px the bar is as it was. */
@media only screen and (min-width: 426px) and (max-width: 767px) {
  :root {
    --narrow-scale: 1;
  }
}

/* In px here, in em in the shared rule: so the narrow desktop header's step
   (--narrow-scale, global.css) and the phone header's (--header-scale,
   header.css) are applied by hand; each is 1 outside its own range. */
h4.logo span {
  --logo-pad-scale: calc(var(--narrow-scale, 1) * var(--header-scale, 1));
  padding: calc(9px * var(--logo-pad-scale)) calc(14px * var(--logo-pad-scale)) calc(1px * var(--logo-pad-scale)) calc(15px * var(--logo-pad-scale));
}

/* A 60px phone header, like Reflective Desire's (owner, 2026-11-16): after the
   narrow desktop step this tenant's phone bar, about 68px, was taller than its
   64px narrow-desktop one. Same factor and pin as Reflective Desire's
   (tenant.css there): 67px of the bar scales, the 1px rule does not, and the
   pin only trims rounding (the Join Now link, 67px at full size, is the
   tallest item). The wordmark padding and the join CTA rule fold it in. */
@media only screen and (max-width: 425px) {
  header {
    --header-scale: calc(59 / 67);
    height: calc(67px * var(--header-scale));
  }

  /* The error page has no hamburger: the CTA keeps its 20px edge inset. */
  body.error-status-page nav.primary ul li.nav-item-join:last-child {
    padding-right: calc(20px - 5px * var(--header-scale));
  }
}

/* The shared narrow-phone wordmark size, scaled, would fall under 14px. */
@media only screen and (max-width: 359px) {
  h4.logo {
    font-size: max(14px, calc(14.7px * var(--header-scale)));
  }
}


@media only screen and (max-width: 1199px) {
  body.visual-feed section.albums article:nth-child(2) {
    display: inherit;
  }
}

body section.photos {
  text-align: inherit;
  grid-template-columns: 50% 50%;
}

@media only screen and (max-width: 767px) {
	body section.photos {
	  grid-template-columns: 100%;
	}
}


/* top nav */
@media only screen and (max-width: 485px) {
  /* Top and bottom at the narrow desktop header's step (--narrow-scale,
     global.css; 1 at 425px and narrower) and the phone header's
     (--header-scale; 1 from 426px), which this rule would otherwise undo. */
  nav.primary ul li a.nav-join-button {
    --join-pad-scale: calc(var(--narrow-scale, 1) * var(--header-scale, 1));
    padding: calc(21px * var(--join-pad-scale)) 10px calc(21px * var(--join-pad-scale)) 0px;
  }
}


.item-text p:last-child {
  grid-column: span 2;
}

/* tag items */
section.tag-items-landscape {
  grid-template-columns: 25% 25% 25% 25%;
}

@media only screen and (max-width: 1199px) {
	section.tag-items-landscape,
  section.tag-items-portrait {
    grid-template-columns: 33.333% 33.333% 33.333%;
  }
}

@media only screen and (max-width: 767px) {
  section.tag-items-portrait,
  section.tag-items-landscape {
    grid-template-columns: 50% 50%;
  }
}

@media only screen and (max-width: 1199px) {
  .video-text {
    display: block;
  }

  .video-text p.text-models {
    text-align: left;
  }
}

/* item aspect ratios */

section.tag-items-landscape article > :first-child,
section.tag-items-landscape article img {
  aspect-ratio: 16 / 9;
}
