/* Homepage — copperplate etching direction (proposal, homepage only) */
body.home{
  --paper:#f0eee8;
  --ink:#2b241d;
  --muted:#76695a;
  --rule:#d7d1c5;
  --accent:#7a5a36;
  background:var(--paper);
}

/* Hero: title set in the open sky of the etching */
.h-hero{padding:24px 0 0}
.h-hero-inner{position:relative;max-width:1440px;margin:0 auto;padding:0 28px}
.h-title{position:relative;z-index:1;margin:0 0 0 max(0px,calc((100% - 1064px)/2));padding-top:clamp(32px,5vw,72px);
  font-size:clamp(52px,7.4vw,118px);line-height:.98;letter-spacing:-.01em;color:var(--ink);max-width:9ch}
.h-title span{display:block}
.h-title em{display:block;font-style:normal;color:#bea56d}
.h-hero-art{display:block;width:100%;height:auto;margin-top:calc(-1 * clamp(40px,8vw,120px))}
@media (max-width:700px){
  .h-title{padding:40px 0 8px;max-width:none;margin:0}
  .h-hero-art{margin-top:8px;width:150%;max-width:none;margin-left:-35%}
  .h-hero-inner{overflow:hidden}
}

/* Etched figures sit straight on the paper */
.h-art{margin:0}
.h-art img{width:100%;height:auto}

.h-about{padding:72px 0 48px}
.h-about-grid,.h-recog-grid,.h-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.h-about .lede{margin:0 0 1.1em}

@media (max-width:860px){
  .h-about-grid,.h-recog-grid,.h-contact-grid{grid-template-columns:1fr;gap:28px}
  .h-recog-grid .h-art{order:-1}
}

/* Work photos toned to match the etchings */
body.home .work-media:not(.score):not(.etch) img{filter:grayscale(1) contrast(1.04);mix-blend-mode:multiply}
body.home .work-media.score img{background:#fffdf8}

.h-works{padding-top:48px}
.h-recog{padding:24px 0 72px}
.h-recog .h-art img{max-width:620px;margin-left:auto}
.h-contact{padding:48px 0 120px;border-top:1px solid var(--rule)}
.h-contact h2{max-width:13em}
.h-contact .h-art img{max-width:560px}

/* Header + buttons pick up the warmer ink */
body.home .btn{border-color:var(--ink)}
body.home .player{background:transparent}

/* Bio */
.h-about p{margin:0 0 1.1em;max-width:38em}
.h-about .h-degrees{margin-top:1.6em;padding-top:1.2em;border-top:1px solid var(--rule);font-size:15px;line-height:1.8}
.h-about-grid{align-items:start}
.h-about .h-art{position:sticky;top:110px}
@media (max-width:860px){.h-about .h-art{position:static}}

/* Etchings inside the works list and the At work pair */
body.home .work-media.etch img{aspect-ratio:auto;object-fit:contain;filter:grayscale(1) contrast(1.03);mix-blend-mode:multiply}
.h-atwork{padding:24px 0 24px}
.h-atwork-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:48px;align-items:end}
@media (max-width:860px){.h-atwork-grid{grid-template-columns:1fr;gap:24px}}

/* Full biography dropdown */
.h-bio{margin-top:1.6em;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.h-bio summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;padding:16px 0;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink)}
.h-bio summary::-webkit-details-marker{display:none}
.h-bio summary::after{content:"+";font:300 24px/1 var(--sans);color:var(--accent);transition:transform .2s}
.h-bio[open] summary::after{transform:rotate(45deg)}
.h-bio-body{padding:4px 0 16px;font-size:15.5px;color:var(--muted)}
.h-bio-body p{margin:0 0 1em}

/* Hero subline */
.h-sub{position:relative;z-index:1;line-height:1.3;margin:18px 0 0 max(0px,calc((100% - 1064px)/2));font-family:var(--serif);font-style:italic;font-size:clamp(20px,2vw,26px);color:var(--muted);max-width:30ch}
@media (max-width:700px){.h-sub{margin:4px 0 0}}

/* Vintage postcards: show the whole card, captions included */
body.home .work-media.postcard img{aspect-ratio:auto;object-fit:contain;mix-blend-mode:normal;filter:grayscale(1) contrast(1.03);box-shadow:0 1px 2px rgba(0,0,0,.08),0 8px 24px rgba(0,0,0,.08)}

/* Photographic hero (Nov 29) */
.h-hero{position:relative;padding:0;margin-top:-72px;overflow:hidden}
.h-hero-photo{display:block;width:100%;height:auto;min-height:560px;object-fit:cover;object-position:right center;
  -webkit-mask-image:linear-gradient(to bottom,#000 78%,transparent 100%);mask-image:linear-gradient(to bottom,#000 78%,transparent 100%)}
.h-hero-text{position:absolute;left:0;right:0;top:clamp(150px,17vw,240px);max-width:1120px;margin:0 auto;padding:0 28px}
.h-name{font-family:"Instrument Serif",Georgia,serif;font-weight:400;font-size:clamp(72px,10.4vw,156px);line-height:.9;letter-spacing:-.018em;color:var(--ink);margin:0}
.h-role{font-family:"DM Sans",system-ui,sans-serif;font-weight:400;font-size:clamp(15px,1.45vw,21px);line-height:1.9;letter-spacing:.12em;text-transform:uppercase;color:var(--ink);margin:1.4em 0 0 .3em}
.h-role>span{display:block}
.h-dot{display:inline-block;margin-left:.55em;transform:translateY(-.02em);color:var(--ink)}
@media (max-width:700px){
  .h-hero{margin-top:0;display:flex;flex-direction:column}
  .h-hero-text{order:-1;align-self:stretch;margin:0}
  .h-hero-text{position:static;padding:36px 28px 0}
  .h-hero-photo{min-height:0;height:72vw;object-fit:cover;object-position:78% center;margin-top:12px}
}

/* Portrait photo: white surround takes on the page ivory */
.h-about .h-art img[src*="portrait-music-stand"]{mix-blend-mode:multiply}

/* Etchings: whites take on the page ivory instead of clashing white */
body.home img[src*="etch-"]{mix-blend-mode:multiply}

/* Phones: hero fills the screen — name at top, trees at the bottom */
@media (max-width:700px){
  .h-hero{min-height:calc(100vh - 72px);min-height:calc(100svh - 72px);justify-content:space-between}
  .h-hero-text{padding-top:28px}
  .h-hero-photo{margin-top:auto;width:100%;height:56vh;height:56svh;max-height:none;object-fit:cover;object-position:80% 70%;
    -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 18%,#000 86%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0%,#000 18%,#000 86%,transparent 100%)}
  .h-about{padding-top:56px}
}
