/* Shared layout, typography, logo, menu, and editorial pages. */

@font-face {
  font-family:Abel;
  src:url('/fonts/abel.woff2') format('woff2');
  font-display:swap;
}

:root {
  color-scheme:dark;
  --bg:#121418;
  --fg:#eaeaea;
  --muted:#a3a3a3;
  --line:#484848;
  --accent:#e6edeb;
  --site-width:min(1500px,calc(100% - 8vw));
}

* {
  box-sizing:border-box;
}

body {
  display:flex;
  flex-direction:column;
  min-height:100svh;
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font:16px/1.5 Abel,Arial,sans-serif;
}

a {
  color:inherit;
  text-decoration:none;
}

a:hover {
  color:#c8d8d3;
}

img {
  max-width:100%;
  display:block;
}

nav {
  display:flex;
  gap:2rem;
  flex-wrap:wrap;
}

nav a {
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.73rem;
}

.site-footer {
  width:var(--site-width);
  margin:auto auto 0;
  padding:.75rem 0 1.25rem;
  display:flex;
  gap:2rem;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:.8rem;
}

.site-footer span {
  margin-right:auto;
}

main {
  flex:1 0 auto;
  width:var(--site-width);
  margin:0 auto;
  padding:3rem 0;
}

h1,h2,h3 {
  font-weight:300;
  line-height:1.2;
}

h1 {
  font-size:clamp(3rem,7vw,7rem);
  margin:0 0 .55em;
}

.choices {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
}

.choices a {
  min-height:30vh;
  border:1px solid var(--line);
  padding:2rem;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  font:clamp(2rem,4vw,4rem) Abel,Arial,sans-serif;
  transition:background .2s;
}

.choices a:hover {
  background-color:#3d3d3d;
}

.choices .choice-card {
  background-color:#20272b;
  background-image:linear-gradient(90deg,rgba(18,20,24,.92),rgba(18,20,24,.72) 58%,rgba(18,20,24,.56)),var(--choice-image);
  background-position:center;
  background-size:cover;
}

.choices .choice-card:nth-child(1) {
  --choice-image:url('/images/landing/music-placeholder.svg');
}

.choices .choice-card:nth-child(2) {
  --choice-image:url('/images/landing/photography-placeholder.svg');
}

.choices .choice-card:nth-child(3) {
  --choice-image:url('/images/landing/it-placeholder.svg');
}

.lead {
  font-size:1.4rem;
  color:var(--muted);
}

.section-main section {
  border-top:1px solid var(--line);
  padding:2rem 0;
}

.contact-address {
  display:inline-block;
  width:7.29em;
  height:auto;
  vertical-align:middle;
}

.postal-address {
  display:inline-block;
  width:11.08em;
  height:auto;
  vertical-align:middle;
}

.social-links,
.social-link {
  display:flex;
  align-items:center;
}

.social-links {
  gap:1.5rem;
  flex-wrap:wrap;
}

.social-link {
  width:max-content;
  gap:.45em;
}

a[href*="instagram.com"]::before,
a[href*="github.com"]::before,
.band-card .entry-links a::before {
  content:"";
  display:inline-block;
  width:1em;
  height:1em;
  margin-right:.4em;
  background:currentColor;
  -webkit-mask:center/contain no-repeat;
  mask:center/contain no-repeat;
  vertical-align:-.12em;
}

.band-card .entry-links a::before {
  -webkit-mask-image:url('/images/icons/website.svg');
  mask-image:url('/images/icons/website.svg');
}

a[href*="instagram.com"]::before,
.band-card .entry-links a[href*="instagram.com"]::before {
  -webkit-mask-image:url('/images/icons/instagram.svg');
  mask-image:url('/images/icons/instagram.svg');
}

a[href*="github.com"]::before,
.band-card .entry-links a[href*="github.com"]::before {
  -webkit-mask-image:url('/images/icons/github.svg');
  mask-image:url('/images/icons/github.svg');
}

.band-card .entry-links a[href*=".bandcamp.com/"]::before {
  -webkit-mask-image:url('/images/icons/bandcamp.svg');
  mask-image:url('/images/icons/bandcamp.svg');
}

.band-card .entry-links a[href*=".spotify.com/"]::before {
  -webkit-mask-image:url('/images/icons/spotify.svg');
  mask-image:url('/images/icons/spotify.svg');
}

.body-copy a,.text-page a {
  text-decoration:underline;
}

.text-page .prose,
.text-page > .body-copy {
  max-width:850px;
}

.text-page .prose p,
.text-page .prose li,
.text-page > .body-copy {
  color:#ddd;
  font:1.1rem/1.65 Abel,Arial,sans-serif;
}

.text-page .prose p {
  margin:0 0 1.25rem;
}

.text-page .prose h2 {
  margin:2.5rem 0 .8rem;
  font:clamp(2rem,3vw,2.7rem)/1.2 Abel,Arial,sans-serif;
}

.text-page .prose h2:first-child {
  margin-top:0;
}

.text-page .prose ul {
  margin:0 0 1.5rem;
  padding-left:1.5rem;
}

.text-page .prose li + li {
  margin-top:.45rem;
}

button {
  background:var(--accent);
  border:0;
  padding:1rem 2rem;
  font:inherit;
  cursor:pointer;
  color:#222;
}

@media(max-width:700px) {
  nav {
    gap:1rem;
  }

  .choices {
    grid-template-columns:1fr;
  }

  .choices a {
    min-height:17vh;
  }

  .site-footer {
    flex-wrap:wrap;
  }

  .site-footer span {
    width:100%;
  }
}

.visually-hidden {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.choices .choice-card {
  min-height:var(--landing-card-height,330px);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:space-between;
  gap:2rem;
  font:inherit;
}

.choice-card strong {
  display:block;
  margin-bottom:1.2rem;
  font:clamp(2rem,2.8vw,3rem)/1.1 Abel,Arial,sans-serif;
}

.choice-description {
  display:block;
  max-width:30ch;
  color:var(--muted);
  font:1.15rem/1.5 Abel,Arial,sans-serif;
}

.choice-link {
  display:inline-flex;
  gap:.6rem;
  align-items:center;
  border-bottom:1px solid currentColor;
  font:1rem/1.4 Abel,Arial,sans-serif;
}

.choices .choice-card:hover .choice-link {
  color:#fff;
}

.editorial-page h1,.photo-home h1,.text-page h1 {
  font-size:clamp(3rem,5.5vw,5.5rem);
  margin-bottom:.35em;
}

.editorial-intro {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(220px,290px);
  gap:4rem;
  align-items:start;
  margin-bottom:3rem;
}

.music-page .editorial-intro {
  display:block;
  max-width:850px;
}

.editorial-page .lead,.photo-home .intro .body-copy,.landing-intro-copy p {
  max-width:820px;
  color:#ddd;
  font:clamp(1.15rem,1.8vw,1.4rem)/1.6 Abel,Arial,sans-serif;
}

.editorial-images {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
  margin:2rem 0 4rem;
}

.editorial-image-slot {
  width:100%;
  min-width:0;
}

.editorial-image-slot img,.image-placeholder {
  display:block;
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
}

.image-placeholder {
  display:grid;
  place-items:center;
  border:1px dashed #666;
  background:#303030;
  color:#aaa;
  font:1.1rem Abel,Arial,sans-serif;
}

.it-page .editorial-image-slot {
  margin-top:0;
}

.it-page .editorial-image-slot img,.it-page .image-placeholder {
  aspect-ratio:16/9;
}

.editorial-page .editorial-section {
  padding:2.5rem 0 3rem;
  border-top:1px solid var(--line);
}

.editorial-section h2 {
  font:clamp(2rem,3vw,2.7rem)/1.2 Abel,Arial,sans-serif;
  margin:0 0 .8rem;
}

.editorial-section .section-copy {
  max-width:790px;
  margin:0 0 2rem;
}

.editorial-section .section-copy {
  color:#ddd;
  font:1.1rem/1.65 Abel,Arial,sans-serif;
}

.editorial-card {
  max-width:790px;
  padding:1.5rem;
  border:1px solid var(--line);
  background:#2b2b2b;
}

.editorial-card h3 {
  font:1.65rem/1.2 Abel,Arial,sans-serif;
  margin:0 0 .7rem;
}

.editorial-card p {
  margin:.5rem 0;
  color:#c8c8c8;
  font:1rem/1.6 Abel,Arial,sans-serif;
}

.editorial-card strong {
  color:var(--fg);
  font-weight:600;
}

.editorial-card>img {
  width:100%;
  max-height:320px;
  object-fit:cover;
  margin-bottom:1.5rem;
}

.editorial-card audio {
  display:block;
  width:100%;
  margin-top:1.5rem;
}

.it-page .editorial-intro,.topic-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}

.topic-grid .editorial-card {
  max-width:none;
}

.entry-links {
  display:flex;
  flex-wrap:wrap;
  gap:1.5rem;
  margin-top:1.3rem;
}

.entry-links a,.audio-card>a,.project-card>a {
  font:1rem/1.4 Abel,Arial,sans-serif;
  border-bottom:1px solid currentColor;
}

.project-technologies {
  color:var(--muted);
}

@media(max-width:700px) {

  .choices .choice-card {
    padding:1.5rem;
  }

  .choice-card strong {
    margin-bottom:.7rem;
  }

  .editorial-intro {
    grid-template-columns:1fr;
    gap:1.5rem;
  }

  .it-page .editorial-image-slot {
    max-width:none;
  }

  .editorial-images {
    grid-template-columns:1fr;
    margin-bottom:3rem;
  }

  .it-page .editorial-intro,.topic-grid {
    grid-template-columns:1fr;
    gap:1rem;
  }

  .editorial-page .editorial-section {
    padding:2rem 0;
  }

  .editorial-card {
    padding:1.2rem;
  }
}

.it-page h1 {
  font-size:clamp(3rem,4.4vw,4rem);
}

.landing {
  --landing-card-height:330px;
}

.landing .landing-main {
  width:100%;
  min-height:0;
  margin:0;
  padding:0;
}

.landing-intro {
  width:var(--site-width);
  margin:2.5rem auto 0;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  align-items:center;
  gap:clamp(2rem,5vw,5rem);
}

.landing-intro-copy {
  max-width:40rem;
}

.landing-intro-copy p {
  margin:0;
}

.landing-intro img {
  width:100%;
  height:var(--landing-card-height);
  object-fit:cover;
  object-position:center;
  justify-self:end;
}

.landing-areas {
  width:var(--site-width);
  margin:0 auto;
  padding:3rem 0;
}

@media(max-width:1120px) {
  .landing-intro {
    grid-template-columns:1fr;
    gap:1.5rem;
  }
}

@media(max-width:700px) {
  .landing {
    --landing-card-height:220px;
  }

  .landing-intro {
    margin-top:2rem;
  }
}

.landing-note {
  max-width:850px;
  margin:2.5rem auto 0;
  color:#c2c3c5;
  font:1.1rem/1.65 Abel,Arial,sans-serif;
  text-align:center;
}
