:root {
  --bg: #090a0c;
  --card: #15181e;
  --ink: #f4efe8;
  --muted: #b7aea3;
  --faint: #8d847a;
  --line: rgba(244, 239, 232, 0.12);
  --gold: #e2b15a;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Outfit", "Avenir Next", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font-family: inherit; }
::selection { background: var(--gold); color: #1a1208; }

.progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  z-index: 90;
}
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 5vw;
  background: linear-gradient(to bottom, rgba(9,10,12,0.8), rgba(9,10,12,0.2) 75%, transparent);
}
.nav.scrolled {
  background: rgba(9, 10, 12, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(226, 177, 90, 0.75);
  display: grid; place-items: center;
  color: var(--gold); font-size: 0.72rem;
}
.brand strong { font-family: var(--serif); font-weight: 560; font-size: 1.22rem; }

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: 120px 5vw 58px;
  background:
    linear-gradient(180deg, rgba(9,10,12,0.25) 0%, rgba(9,10,12,0.15) 36%, rgba(9,10,12,0.82) 80%, #090a0c 100%),
    url("assets/portrait.jpg") center 28% / cover no-repeat;
}
.hero-inner { max-width: 880px; }
.kicker {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
}
h1 {
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(3.3rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin: 10px 0 14px;
}
h1 em { font-style: italic; color: #f0d7a4; }
.lede { max-width: 40rem; color: #ebe4da; font-size: 1.06rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--ink);
  color: #14120f;
  font-weight: 600;
}
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid rgba(244,239,232,0.4); }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; color: var(--muted); font-size: 0.85rem; }
.hero-meta b { display: block; color: var(--ink); font-weight: 600; }

.wrap { padding: 72px 5vw; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.eyebrow { letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-size: 0.72rem; font-weight: 600; }
h2 { font-family: var(--serif); font-weight: 520; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1; margin: 6px 0 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.filters button.active { background: var(--ink); color: #14120f; }

.feature {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 22px;
}
.feature img { width: 100%; height: auto; max-height: none; object-fit: contain; background: #101216; }
.feature-copy { padding: 28px 24px; display: flex; flex-direction: column; justify-content: center; }
.feature-copy h3 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.05; font-weight: 520; margin: 8px 0 12px; }
.feature-copy p { color: var(--muted); margin: 0; }
.open-frame { margin-top: 18px; color: var(--gold); background: none; border: 0; padding: 0; cursor: pointer; font-weight: 600; text-align: left; }

.band {
  margin: 8px 5vw 0;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  min-height: 0;
  display: block;
  padding: 0;
  background: #101216;
}
.band img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
  background: #101216;
}
.band-copy {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px;
  background: linear-gradient(180deg, transparent, rgba(9,10,12,0.88) 55%);
}
.band p { max-width: 36rem; margin: 8px 0 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  cursor: zoom-in;
  text-align: left;
  color: inherit;
  padding: 0;
}
.card img { width: 100%; height: auto; max-height: 420px; object-fit: contain; background: #101216; }
.card div { padding: 14px 14px 16px; }
.card strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 540; line-height: 1.2; }
.card p { margin: 6px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.card span { color: var(--faint); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }

.about { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 28px; align-items: center; }
.about-photo {
  border-radius: 22px;
  min-height: 460px;
  background:
    linear-gradient(to top, rgba(9,10,12,0.4), transparent 42%),
    url("assets/about.jpg") center 18% / cover no-repeat;
}
.about p { color: #ddd4c8; }
.pull { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.28; margin: 8px 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 0.8rem; color: var(--muted); }

.note {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 400px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(100deg, rgba(9,10,12,0.2) 10%, rgba(9,10,12,0.82) 62%),
    url("assets/culvert.jpg") center / cover no-repeat;
}
.note-copy { padding: 36px; max-width: 620px; }
.note-copy p { color: #e7dfd4; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.links { display: grid; margin-top: 16px; }
.links a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.links a:hover { color: var(--gold); }
form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  display: grid;
  gap: 12px;
}
label { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #0e1014;
  color: var(--ink);
  border-radius: 12px;
  padding: 12px;
  font-size: 16px;
}
textarea { min-height: 120px; resize: vertical; }
form button {
  border: 0;
  background: var(--gold);
  color: #1a1208;
  border-radius: 999px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
}
.form-note { min-height: 1.2em; color: #d7e7c8; font-size: 0.9rem; margin: 0; }
.site-footer {
  padding: 64px 5vw 36px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.site-footer__name {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0;
}
.site-footer__role {
  margin: 6px 0 22px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  font-size: 0.75rem;
}
.site-footer__social {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0 0 22px;
}
.site-footer__social a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.site-footer__social a:hover { color: var(--gold); border-color: var(--gold); }
.site-footer__social svg { width: 18px; height: 18px; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--faint);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.site-footer__bottom p { margin: 0; }
.site-footer__top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--muted);
}
.site-footer__top svg { width: 16px; height: 16px; }
.ping-me {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  background: #25d366;
  color: #06210f;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.ping-me:hover { filter: brightness(1.05); }
footer { display: block; }
@media (max-width: 900px) {
  .site-footer__bottom { flex-direction: column; align-items: center; text-align: center; }
  .ping-me { right: 12px; bottom: 12px; }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 8, 0.94);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 70px 18px 78px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1080px, calc(100vw - 108px)); max-height: 76vh; object-fit: contain; border-radius: 10px; }
.lightbox figcaption {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  text-align: center;
  font-family: var(--serif);
}
.lightbox .close, .lb-nav {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: white;
  cursor: pointer;
}
.lightbox .close { top: 14px; right: 14px; border-radius: 999px; padding: 8px 12px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }

@media (max-width: 900px) {
  .feature, .about, .contact { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .about-photo { min-height: 380px; }
  .note { min-height: 480px; }
  .hero { padding-top: 104px; background-position: center 22%; }
  .section-head { align-items: start; flex-direction: column; }
}
@media (min-width: 680px) and (max-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .hero { padding-left: 20px; padding-right: 20px; }
  .wrap, .band { padding-left: 20px; padding-right: 20px; }
  .band { margin-left: 16px; margin-right: 16px; }
  h1 { font-size: 3.05rem; }
}

/* Separate-site chrome: nav, phone, and the link home */
.nav-links{display:flex;align-items:center;gap:8px}
.nav-links a{
  text-decoration:none;
  color:var(--muted);
  font-size:.92rem;
  padding:8px 10px;
  border-radius:999px;
}
.nav-links a:hover{color:var(--ink)}
.nav-out{
  border:1px solid rgba(226,177,90,.45);
  color:var(--gold)!important;
}
.nav-toggle{
  display:none;
  border:1px solid var(--line);
  background:transparent;
  color:var(--ink);
  border-radius:999px;
  min-height:40px;
  padding:8px 14px;
  cursor:pointer;
}
.hero-meta a{color:var(--gold);text-decoration:none}
.text-link{
  display:inline-block;
  margin-top:14px;
  color:var(--gold);
  font-weight:600;
}
.site-bridge{color:var(--muted);margin:0 0 18px}
.site-bridge a{color:var(--gold)}
.filters button{min-height:40px}
.card:focus-visible,.btn:focus-visible,.nav-links a:focus-visible,.nav-toggle:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
}
@media (max-width:760px){
  .nav-toggle{display:inline-flex;margin-left:auto}
  .nav-links{
    display:none;
    position:absolute;
    top:calc(100% + 8px);
    left:16px;
    right:16px;
    flex-direction:column;
    align-items:stretch;
    padding:10px;
    background:rgba(9,10,12,.96);
    border:1px solid var(--line);
    border-radius:18px;
  }
  .nav-links.open{display:flex}
  .nav-links a{padding:14px 12px;min-height:48px}
  .brand strong{font-size:1.02rem}
  .lightbox{padding:64px 8px 92px}
  .lightbox img{max-width:100%;max-height:68vh}
  .lb-nav{top:auto;bottom:18px;transform:none}
  .lb-prev{left:18px}
  .lb-next{right:18px}
  .ping-me{bottom:max(12px,env(safe-area-inset-bottom))}
  .site-footer{padding-bottom:88px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}

.brand .mark{display:none}
.brand strong{margin-left:0}

.note {
  background: #101216;
}
.note img.note-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Even photo frames */
.feature{align-items:stretch}
.feature img{
  width:100%;
  height:100%;
  min-height:340px;
  max-height:520px;
  object-fit:cover;
  object-position:center 58%;
  background:#101216;
}
.band{min-height:460px}
.band img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 74%;
}
.band-copy{z-index:1}
.grid{align-items:stretch}
.card{
  display:flex;
  flex-direction:column;
  border-radius:18px;
  transition:transform .2s ease, border-color .2s ease;
}
.card:hover{transform:translateY(-4px);border-color:rgba(226,177,90,.5)}
.frame{
  display:block;
  aspect-ratio:4/3;
  overflow:hidden;
  background:#0e1014;
  border-bottom:1px solid var(--line);
}
.frame img,.card img{
  width:100%;
  height:100%;
  max-height:none;
  object-fit:cover;
  object-position:center;
  display:block;
}
.card div{padding:14px 16px 16px}
@media (max-width:900px){
  .feature{grid-template-columns:1fr}
  .feature img{min-height:240px;max-height:360px}
  .grid{grid-template-columns:1fr 1fr}
  .band{min-height:320px}
}
@media (max-width:560px){
  .grid{grid-template-columns:1fr}
  .frame{aspect-ratio:3/2}
  .filters button{min-height:44px}
  .site-footer{padding-bottom:96px}
}
