/* thebrothersmueller.com — rebuilt static site.
   Type carried over from the Squarespace original, measured rather than
   guessed: nav 12px/500/2px-tracked uppercase, site title 14px/700/2px,
   body 14px/1.3 at rgba(0,0,0,.6), page column 1080px with 100px 34px
   padding, page titles 34px. futura-pt is replaced by Jost, which is a
   Futura homage and carries no licence that stops at the platform edge. */

@import url("/fonts/jost/jost.css");

:root {
  --ink: #000;
  --body: rgba(0, 0, 0, .6);
  --rule: rgba(0, 0, 0, .12);
  --bg: #fff;
  --sans: "Jost", "Futura", "Century Gothic", Avenir, sans-serif;
  --col: 1080px;
  --pad: 34px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------------------------------------------------------------- header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px var(--pad);
  max-width: var(--col);
  margin: 0 auto;
}

.site-title,
.site-nav a {
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  color: var(--ink);
}

.site-title { font-size: 14px; font-weight: 700; }

.site-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-nav a { font-size: 12px; font-weight: 500; opacity: .75; }
.site-nav a:hover, .site-title:hover { opacity: 1; }

/* ------------------------------------------------------------------ page */
main { display: block; }

.page {
  max-width: var(--col);
  margin: 0 auto;
  padding: 40px var(--pad) 100px;
}

.page-title {
  font-size: 34px;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: .5px;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 22em;
}

.prose { max-width: 46em; }
/* Several news posts print a bare URL as body copy (projo.com, time.com,
   marthastewart.com). Left alone these force horizontal scroll on a phone —
   measured 715px of it at a 375px viewport before this rule. */
.prose, .prose a { overflow-wrap: anywhere; word-break: break-word; }
.prose p { margin: 0 0 1.15em; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); font-weight: 500; }

/* Squarespace used a bare bold line as a section heading. */
.prose p > strong:only-child {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2em;
}

.note { font-size: 12px; opacity: .7; margin-bottom: 28px; }
.back { margin: 0 0 24px; font-size: 12px; text-transform: uppercase; letter-spacing: 2px; }
.back a { text-decoration: none; color: var(--ink); opacity: .6; }
.back a:hover { opacity: 1; }

.spacer { height: 34px; }

/* --------------------------------------------------------------- figures */
figure { margin: 0 0 28px; }
figcaption { font-size: 12px; margin-top: 8px; opacity: .7; }

.gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 0 0 34px;
}
/* A single-frame gallery shouldn't stretch to fill a grid track, and a tall
   portrait original (the About photo is 2500x3750) shouldn't take a whole
   screen before the copy starts. */
.gallery-single { display: block; max-width: 720px; }
.gallery-single img { max-height: 74vh; width: auto; }
.gallery figure { margin: 0; }

.image { margin-bottom: 34px; }

.video { position: relative; padding-bottom: 56.25%; height: 0; margin: 0 0 34px; }
.video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}

.contact-line { font-size: 20px; }
.contact-line a { color: var(--ink); }

.source { margin-top: 34px; font-size: 12px; }

/* ------------------------------------------------------------ news + work */
.news-list, .work-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 40px 24px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.news-card a, .work-card a { text-decoration: none; display: block; }

.news-thumb, .work-thumb {
  background: #f2f2f2;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 12px;
}
.news-thumb img, .work-thumb img { width: 100%; height: 100%; object-fit: cover; }

.news-card time {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: .55;
  margin-bottom: 6px;
}

.news-card h2, .work-card h2 {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}
.news-card a:hover h2, .work-card a:hover h2 { opacity: .6; }

.post-date {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: .55;
  margin-bottom: 10px;
}
.post .prose, .post .gallery, .post .image { max-width: 46em; }

/* ---------------------------------------------------------------- footer */
.site-footer {
  max-width: var(--col);
  margin: 0 auto;
  padding: 34px var(--pad) 60px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: .6;
}
.site-footer p { margin: 0; }
.site-footer a { color: inherit; }

/* ----------------------------------------------------------------- cover */
body.is-cover { height: 100%; }

.cover {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #d3c9c3;
}

.cover-bg { position: absolute; inset: 0; }

.cover-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.cover-frame img { width: 100%; height: 100%; object-fit: cover; }

.cover-inner {
  position: relative;
  text-align: center;
  padding: 40px 24px;
  color: #fff;
  text-shadow: 0 1px 24px rgba(0, 0, 0, .35);
}

.cover-title {
  font-size: clamp(30px, 7vw, 64px);
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: #fff;
}

.cover-sub {
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
  margin: 0 auto 30px;
  max-width: 32em;
  color: rgba(255, 255, 255, .92);
}

.cover-nav { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.cover-nav a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 500;
  padding: 10px 16px;
}
.cover-nav a:first-child { border: 1px solid rgba(255, 255, 255, .8); }
.cover-nav a:hover { opacity: .7; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 700px) {
  :root { --pad: 20px; }
  .site-header { padding-top: 20px; padding-bottom: 20px; }
  .page { padding-top: 24px; padding-bottom: 60px; }
  .page-title { font-size: 26px; }
  .news-list, .work-list { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 28px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
