/* Home page. From .hero, .bio, .sec, .row3, .pano and .news in
   design/final (a-base.css + screens.html). Phone rules at the end.
   Own class names only: body_class() puts "home" and "page" on <body>. */

/* Hero: full width, 700 px tall like the design (420 px on a phone). */
.sghenryd-home-hero { position: relative; height: 700px; margin: 0; background: #000; overflow: hidden; }
.sghenryd-home-hero-img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.sghenryd-home-hero .lbl { left: 48px; top: 24px; }
.sghenryd-home-hero-cap { position: absolute; left: 48px; right: 48px; bottom: 40px; color: #fff; font: 500 13px/1.5 Inter, system-ui, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }

/* Bio line + About link */
.sghenryd-home-bio { display: flex; gap: 60px; align-items: center; padding: 64px 48px; border-bottom: 1px solid #eee; }
.sghenryd-home-bio h1 { flex: 0 1 520px; margin: 0; font: 800 44px/1.05 Inter, system-ui, sans-serif; letter-spacing: -0.02em; }
.sghenryd-home-bio p { margin: 0; font: 400 18px/1.6 Inter, system-ui, sans-serif; color: #444; }
.sghenryd-home-bio a { color: #444; }
.sghenryd-home-bio a:hover { color: #111; }

/* Section heading: label left, note or link right */
.sghenryd-home-sec { padding: 56px 48px; }
.sghenryd-home-sec + .sghenryd-home-sec { padding-top: 0; }
.sghenryd-home-h { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 24px; font: 700 12px/1 Inter, system-ui, sans-serif; letter-spacing: 0.3em; text-transform: uppercase; color: #777; }
.sghenryd-home-h b { font-weight: 600; letter-spacing: 0.1em; color: #111; text-align: right; }
.sghenryd-home-h a { color: #111; text-decoration: none; }
.sghenryd-home-h a:hover { text-decoration: underline; }

/* Selected work: one row, each photo at its own aspect ratio. Each figure's
   flex-grow is its width / height (set inline), so all three come out the
   same height and none is cropped. */
.sghenryd-home-row3 { display: flex; gap: 16px; align-items: flex-start; }
.sghenryd-home-pick { flex: 1 1 0; min-width: 0; margin: 0; }
.sghenryd-home-pic { position: relative; line-height: 0; }
.sghenryd-home-pic img { display: block; width: 100%; height: auto; }
.sghenryd-home-pick figcaption,
.sghenryd-home-pano figcaption { margin-top: 10px; font: 400 13px/1.4 Inter, system-ui, sans-serif; color: #666; }

/* Panorama: full width, natural height, never cropped */
.sghenryd-home-pano { margin: 0; }
.sghenryd-home-pano-sec.is-after-selected { margin-top: -28px; }
.sghenryd-home-pano img { object-fit: initial; max-height: none; }

/* Latest posts reuse the blog cards (blog.css) */
.sghenryd-home-cards { gap: 40px 24px; }

/* Instagram strip */
.sghenryd-home-ig { padding: 0 48px 56px; }
.sghenryd-home-ig a { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 28px 24px; border: 1px solid #eee; background: #fafafa; color: #111; text-decoration: none; font: 600 13px/1 Inter, system-ui, sans-serif; letter-spacing: 0.1em; text-transform: uppercase; }
.sghenryd-home-ig a:hover { background: #f3f3f3; }
.sghenryd-home-ig i { position: relative; display: block; flex: none; width: 20px; height: 20px; border: 2px solid #111; border-radius: 6px; }
.sghenryd-home-ig i::after { content: ""; position: absolute; left: 4px; top: 4px; width: 8px; height: 8px; border: 2px solid #111; border-radius: 50%; box-sizing: border-box; }

@media (max-width: 782px) {
	.sghenryd-home-hero { height: 420px; }
	.sghenryd-home-hero .lbl { left: 18px; top: 18px; }
	.sghenryd-home-hero-cap { left: 18px; right: 18px; bottom: 18px; font-size: 10px; }

	.sghenryd-home-bio { display: block; padding: 28px 18px; }
	.sghenryd-home-bio h1 { margin-bottom: 10px; font-size: 26px; }
	.sghenryd-home-bio p { font-size: 14px; }

	.sghenryd-home-sec { padding: 24px 18px; }
	.sghenryd-home-sec + .sghenryd-home-sec { padding-top: 8px; }
	.sghenryd-home-h { display: block; }
	.sghenryd-home-h b { display: block; margin-top: 10px; text-align: left; }
	.sghenryd-home-selected .sghenryd-home-h b { display: none; } /* the phone design drops the note */

	.sghenryd-home-row3 { flex-direction: column; gap: 24px; }
	.sghenryd-home-pick { flex: none !important; width: 100%; }
	.sghenryd-home-pano-sec.is-after-selected { margin-top: 0; }

	.sghenryd-home-ig { padding: 8px 18px 32px; }
}
