/* Hero C: one frame that cross-fades between four of her projects; a gallery placard beside / below it. */
.hero-c { padding: 0 0 8px; }
.hero-c .hc-wrap { max-width: 1240px; margin: 0 auto; }

/* ---- the frame: four figures stacked, each fades in and out on a 24 s loop (6 s each) ---- */
.hero-c .hc-stage { position: relative; overflow-x: clip; height: clamp(280px, 40svh, 420px); background: var(--linen); }
.hero-c .hc-stage figure { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; opacity: 0;
  clip-path: inset(0 0 -60px 0); animation: hc-fade 18s linear infinite both; animation-delay: calc(var(--i) * 6s - 1.4s); }
.hero-c .hc-stage figure:first-child { opacity: 1; }
.hero-c .hc-stage img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); animation: hc-drift 18s ease-in-out infinite both; animation-delay: inherit; }
.hero-c .hc-name { font: 30px/1 var(--f-script); color: var(--script); -webkit-text-stroke: 0.3px currentColor; }
.hero-c .hc-place { font: 400 12px/1.3 var(--f-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
/* three photos, 6 s each in an 18 s loop (owner 2026-11-17: the A-frame Lakehouse photo removed) */
@keyframes hc-fade { 0% { opacity: 0; } 8% { opacity: 1; } 33.3% { opacity: 1; } 41.3% { opacity: 0; } 100% { opacity: 0; } }
@keyframes hc-drift { 0% { scale: 1; } 41.3% { scale: 1.045; } 100% { scale: 1.045; } }

/* ---- the placard ---- */
.hero-c .hc-card { position: relative; padding: 22px var(--gutter) 30px; background: var(--cream); }
.hero-c .hc-kind { margin: 0 0 8px; font: 400 12px/1.4 var(--f-body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); max-width: none; }
.hero-c .hc-kind .amp { font: 1.9em/0 var(--f-script); letter-spacing: 0; color: var(--script); padding: 0 0.18em; vertical-align: -0.12em; text-transform: none; -webkit-text-stroke: 0.3px currentColor; }
.hero-c .hc-title { font-size: clamp(30px, 8.3vw, 46px); }
.hero-c .hc-title .amp { font: 1.15em/0 var(--f-script); text-transform: none; color: var(--script); padding: 0 0.04em; vertical-align: -0.08em; -webkit-text-stroke: 0.3px currentColor; }
.hero-c .hc-what { margin: 10px 0 0; font: 400 14px/1.5 var(--f-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); max-width: none; }
.hero-c .hc-what .amp { font: 1.9em/0 var(--f-script); letter-spacing: 0; color: var(--script); text-transform: none; padding: 0 0.12em; vertical-align: -0.12em; -webkit-text-stroke: 0.3px currentColor; }
.hero-c .hc-where { margin: 4px 0 0; font: 400 14px/1.5 var(--f-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); max-width: none; }
.hero-c .hc-card .rule { margin: 18px 0; }
.hero-c .hc-more { margin: 14px 0 0; font: 400 16px/1.6 var(--f-body); color: var(--muted); }
.hero-c .hc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* phone: keep a photo, the name, what she does and an action on the first screen */
@media (max-width: 899px) {
  .hero-c .hc-more, .hero-c .hc-card .rule { display: none; }
  .hero-c .hc-card { padding-bottom: 18px; }
  /* the card's words start on the same edge as the logo and the 720 px column below (2026-11-18) */
  .hero-c .hc-card { padding-inline: max(var(--gutter), calc((100% - 720px) / 2 + var(--gutter))); }
  .hero-c .hc-actions { margin-top: 14px; }
}

/* desktop: frame left, placard overlapping its edge on the right */
@media (min-width: 900px) {
  .hero-c { padding: 40px var(--gutter) 24px; }
  .hero-c .hc-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
  .hero-c .hc-stage { height: clamp(520px, calc(100svh - 64px - 120px), 700px); }
  .hero-c .hc-stage figure { display: block; }
  .hero-c .hc-stage img { height: 100%; }
  .hero-c .hc-stage { margin-bottom: 46px; }
  .hero-c .hc-card { margin-left: -72px; padding: 52px 52px 48px; background: var(--cream); outline: 1px solid rgba(185, 168, 155, 0.7); outline-offset: -12px; }
  .hero-c .hc-title { font-size: clamp(34px, 2.9vw, 44px); }
  .hero-c .hc-more, .hero-c .hc-card .rule { display: block; }
  .hero-c .hc-card .rule { margin: 26px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-c .hc-stage figure { animation: none !important; opacity: 0; }
  .hero-c .hc-stage figure:first-child { opacity: 1; }
  .hero-c .hc-stage img { animation: none !important; }
}

/* The two buttons (owner 2026-11-17: "I like the two buttons on the main page, but I feel like they could have a little
   bit of variation either with a light hue a little bit more spacing, and then they could nudge individually not
   together"). Each gets its own light tint from her palette, there is more room between them, and each gives one
   soft nudge of its own: the first, then the second a moment later. Once only, and off under reduced motion. */
.hero-c .hc-actions { gap: 14px 16px; margin-top: 22px; }
.hero-c .hc-actions .text-link { min-height: 36px; padding: 0 22px; } /* slim, like every button (owner 2026-11-19; was 42px) */
/* Owner 2026-11-17: "the portfolio button should be the darker color": cream for "Planning to build?", the darker
   taupe tint for "See the portfolio". The tints are .btn-tint-cream / .btn-tint-taupe in tracer.css (design system). */
.hero-c .hc-actions .text-link:nth-child(1) { animation: hc-nudge 1.6s cubic-bezier(0.22, 0.8, 0.25, 1) 1.8s 1 both; }
.hero-c .hc-actions .text-link:nth-child(2) { animation: hc-nudge 1.6s cubic-bezier(0.22, 0.8, 0.25, 1) 3.6s 1 both; }
@keyframes hc-nudge {
  0%, 100% { transform: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 6px 16px -12px rgba(33, 31, 32, 0.35); }
  45% { transform: translateY(-2px) scale(1.04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 12px 24px -12px rgba(106, 85, 70, 0.45); }
}
@media (max-width: 899px) { .hero-c .hc-actions { margin-top: 18px; } }
@media (prefers-reduced-motion: reduce) { .hero-c .hc-actions .text-link { animation: none; } }

/* Home, from 900 px: option A's horizontal layout (owner 2026-11-19, shown hero-a.html beside this one: "a"). The photo
   frame runs across the wide column, the logo's edge to the right wide edge, from 900 to 1023 px (from 1024 px it runs
   the full screen, the rule at the end of this file; until 2026-11-19 this said "not the full screen: the photos are
   1200 px files, so a 1920 px frame would blow them up 1.6x"); the words and the two buttons sit under it in a quiet band, the
   title on the left (5 of 12), the rest beside it (7 of 12). The three photos still cross-fade slowly; each button still
   nudges once on its own (1.8 s, then 3.6 s; none under reduced motion). Scoped to .hc-wide so the hero-c.html option
   page keeps the frame-and-placard layout. Phones (below 900 px) are unchanged. */
@media (min-width: 900px) {
  .hero-c:has(.hc-wide) { padding-top: 24px; }
  .hero-c .hc-wrap.hc-wide { display: block; }
  .hero-c .hc-wide .hc-stage { height: clamp(320px, 42svh, 540px); margin-bottom: 0; overflow: clip; }
  .hero-c .hc-wide .hc-stage figure { clip-path: none; } /* the slow drift (scale 1.045) stays inside the frame: no strip below */
  .hero-c .hc-wide .hc-card { margin-left: 0; padding: 32px 0 40px; outline: none; background: none;
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 72px; align-items: start; }
  .hero-c .hc-wide .hc-card > * { grid-column: 2; }
  .hero-c .hc-wide .hc-title { grid-column: 1; grid-row: 1 / span 5; font-size: clamp(34px, 3.4vw, 48px); }
  .hero-c .hc-wide .hc-card .rule { margin: 18px 0; }
  .hero-c .hc-wide .hc-more { margin-top: 0; }
}
/* Home, from 1024 px: the photo frame runs the full width of the screen, edge to edge (owner 2026-11-19: "a"; option A
   is one wide photo running the full width of the screen, words and buttons underneath). Until this change the frame
   stopped at the wide column (the logo's edge to the right wide edge). The frame is pulled out of the hero's padding and
   the 1240 px wrap to the screen's edges; the hero clips sideways so a classic scrollbar never adds a sideways scroll.
   The height cap above (42svh, at most 540 px) keeps the words and both buttons on the first screen. The photo files are
   1200 px wide, so at 1920 px the frame shows them about 1.6x their size (the owner's pick; a wider file would fix it).
   900-1023 px keeps the wide-column frame; phones and tablets are unchanged. */
@media (min-width: 1024px) {
  .hero-c:has(.hc-wide) { overflow-x: clip; padding-top: 0; } /* the frame meets the header, as in option A */
  .hero-c .hc-wide .hc-stage { width: 100vw; margin-inline: calc(50% - 50vw); }
}

/* Home: the photo grows so the words and both buttons sit at the bottom of the first screen (owner 2026-11-19:
   "make main hero img a taller so buttons are closer to bottom"). The old fixed heights stay as the smallest it gets. */
.hero-c .hc-wrap.hc-wide { display: flex; flex-direction: column; min-height: calc(100svh - var(--header-h) - env(safe-area-inset-top, 0px)); }
.hero-c .hc-wide .hc-stage { flex: 1 0 auto; height: auto; min-height: clamp(280px, 40svh, 420px); }
@media (min-width: 900px) {
  .hero-c .hc-wrap.hc-wide { display: flex; min-height: calc(100svh - var(--header-h) - 24px); }
  .hero-c .hc-wide .hc-stage { height: auto; min-height: clamp(320px, 42svh, 540px); }
}
