/* Free River Studios, freeriverstudios.com
   The river in black and white, a directory of who is based here, then the studio in colour.
   Barlow Condensed for the names, Barlow for the reading. No scripts. */
:root {
  --bg: #0b0b0c;
  --bg-soft: #151416;
  --ink: #f1ece3;
  --ink-soft: rgba(241, 236, 227, 0.76);
  --ink-fade: rgba(241, 236, 227, 0.5);
  --bulb: #f0b54a;            /* the string lights */
  --rule: rgba(241, 236, 227, 0.16);
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1240px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 1.125rem; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 0.88; letter-spacing: 0.005em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(4rem, 1.2rem + 13.5vw, 13rem); }
h2 { font-size: clamp(2.8rem, 1.6rem + 5vw, 5.5rem); }
p { margin: 0; }
.lede { font-size: clamp(1.2rem, 1rem + 0.7vw, 1.5rem); line-height: 1.4; color: var(--ink-soft); max-width: 34em; }
.eyebrow { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.95rem; color: var(--bulb); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(4rem, 8vw, 8rem) 0; border-top: 1px solid var(--rule); scroll-margin-top: 1rem; }

/* Header sits over the river */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 1rem; }
.brand img { height: 32px; width: auto; }
.nav { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav a { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.95rem; text-decoration: none; color: var(--ink-soft); }
.nav a:hover, .nav a:focus-visible { color: var(--bulb); }

/* The river */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,0.55) 0%, rgba(11,11,12,0.15) 35%, rgba(11,11,12,0.9) 100%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 7rem; padding-bottom: clamp(2rem, 5vw, 4rem); display: grid; gap: 1.2rem; }
.hero .lede { color: var(--ink); max-width: 30em; }
.hero .lede strong { font-weight: 500; color: var(--bulb); }

/* The directory board */
.board-head { display: grid; gap: 0.8rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.board { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.board a {
  display: grid; align-items: baseline; gap: 0.3rem 2rem;
  grid-template-columns: 1fr;
  padding: 1.4rem 0; border-top: 1px solid var(--rule); text-decoration: none;
}
.board .name { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 0.9; font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.6rem); transition: color .15s; }
.board .what { color: var(--ink-soft); }
.board .go { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.95rem; color: var(--ink-fade); }
.board .go::after { content: " \2197"; }
.board a:hover .name, .board a:focus-visible .name { color: var(--bulb); }
.board a:hover .go, .board a:focus-visible .go { color: var(--ink); }
.board a:focus-visible { outline: 2px solid var(--bulb); outline-offset: 4px; }
@media (min-width: 900px) {
  .board a { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; }
  .board .go { justify-self: end; }
}

/* The studio */
.room-head { display: grid; gap: 1.2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.gallery { display: grid; gap: 10px; grid-template-columns: 1fr; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.gallery .wide img { aspect-ratio: 16 / 9; }
@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .wide { grid-column: 1 / -1; }
}

.split { display: grid; gap: 2.5rem; align-items: center; }
.split > div { display: grid; gap: 1.2rem; align-content: start; }
.split img { width: 100%; height: auto; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 5rem; } .split.top { align-items: start; } }
.addr { color: var(--ink-fade); margin-top: 0.8rem; }

/* Contact */
.btn { display: inline-block; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 1.05rem; padding: 0.9rem 2.2rem; background: var(--bulb); color: var(--bg); border: 0; cursor: pointer; text-decoration: none; transition: background .15s; }
.btn:hover, .btn:focus-visible { background: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.btn.ghost:hover { background: transparent; border-color: var(--ink); }
.form { display: grid; gap: 1.1rem; }
.form label { display: grid; gap: 0.45rem; font-family: var(--display); font-weight: 600; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-soft); }
.form input, .form textarea { font: inherit; font-family: var(--body); font-size: 1.05rem; text-transform: none; letter-spacing: 0; padding: 0.9rem 1rem; background: var(--bg-soft); color: var(--ink); border: 1px solid var(--rule); border-radius: 0; width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--bulb); outline-offset: 0; border-color: var(--bulb); }
.form textarea { min-height: 170px; resize: vertical; }
.form .hidden { display: none; }
.form .btn { justify-self: start; }

.site-footer { border-top: 1px solid var(--rule); padding: 3rem 0 2.5rem; color: var(--ink-fade); font-size: 0.95rem; }
.site-footer .wrap { display: grid; gap: 0.8rem; }
.site-footer img { height: 28px; width: auto; margin-bottom: 0.6rem; }

@media (max-width: 520px) { .nav { gap: 1rem; } .nav a { font-size: 0.82rem; letter-spacing: 0.1em; } .brand img { height: 26px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
