  :root {
    color-scheme: light;
    --cream: #faf6ee;
    --cream-2: #f3ecdd;
    --ink: #2b2620;
    --ink-dim: #6b6355;
    --ink-faint: #6d6555;
    --olive: #48412f;
    --olive-2: #3c3626;
    --olive-ink: #f4efe2;
    --rose: #8c5a57;
    --rose-deep: #6f4442;
    --teal: #23404a;
    --line: #ddd2b8;

    --script: "Cormorant Garamond", "Times New Roman", serif;
    --display: "Cormorant Garamond", "Times New Roman", serif;
    --body: "EB Garamond", Georgia, serif;

    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  * { box-sizing: border-box; }

  /* keep in-page anchors clear of the sticky header */
  html { scroll-padding-top: 76px; }
  @media (max-width: 760px) { html { scroll-padding-top: 64px; } }

  body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--body);
    font-size: 18px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }

  img, video { max-width: 100%; }
  [hidden] { display: none !important; }
  a { color: inherit; }

  .wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding-inline: 24px;
  }

  h1, h2, h3 { margin: 0; text-wrap: balance; }

  .tracked-caps {
    font-family: var(--display);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-weight: 600;
  }

  .script { font-family: var(--script); font-weight: 600; }

  /* ---------- skip link ---------- */
  .skip-link {
    position: absolute;
    left: 16px;
    top: -120px;
    z-index: 200;
    padding: 12px 18px;
    background: var(--olive);
    color: var(--olive-ink);
    font-family: var(--display);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
  }
  .skip-link:focus { top: 12px; }
  main:focus { outline: none; }

  /* ---------- nav ---------- */
  header.site-nav {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 100;
    background: rgba(250, 246, 238, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
    transform: translateY(0);
    transition: transform 0.25s ease;
  }
  header.site-nav.nav-hidden { transform: translateY(-100%); }
  @media (prefers-reduced-motion: reduce) {
    header.site-nav { transition: none; }
  }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 16px;
    max-width: none;
  }
  .nav-name {
    font-family: var(--script);
    font-weight: 600;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--ink);
  }
  nav.links {
    display: flex;
    align-items: center;
    gap: 26px;
    font-family: var(--display);
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
  }
  nav.links a {
    text-decoration: none;
    color: var(--ink-dim);
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
  }
  nav.links a:hover, nav.links a:focus-visible {
    color: var(--rose);
    border-color: var(--rose);
  }
  nav.links a.nav-contact {
    background: var(--olive);
    color: var(--olive-ink);
    padding: 7px 14px 6px;
    border-bottom-color: transparent;
  }
  nav.links a.nav-contact:hover, nav.links a.nav-contact:focus-visible {
    background: var(--rose);
    color: var(--olive-ink);
    border-color: transparent;
  }
  .nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    cursor: pointer;
    place-items: center;
  }
  .nav-toggle .bars,
  .nav-toggle .bars::before,
  .nav-toggle .bars::after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.25s ease, background 0.25s ease;
  }
  .nav-toggle .bars { position: relative; }
  .nav-toggle .bars::before,
  .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle .bars::before { top: -7px; }
  .nav-toggle .bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle:hover, .nav-toggle:focus-visible { color: var(--rose); }

  @media (max-width: 960px) {
    nav.links { gap: 20px; }
  }
  @media (max-width: 860px) {
    nav.links { gap: 14px; letter-spacing: 0.1em; }
    .nav-inner { gap: 28px; }
  }

  @media (max-width: 760px) {
    .nav-inner { padding-block: 8px; }
    .nav-toggle { display: grid; }
    nav.links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      flex-direction: column;
      gap: 0;
      padding: 6px 24px 14px;
      background: var(--cream);
      border-bottom: 1px solid var(--line);
      box-shadow: 0 18px 28px -20px rgba(43, 38, 32, 0.35);
    }
    header.site-nav.open nav.links { display: flex; }
    nav.links a {
      padding: 14px 0;
      font-size: 0.9rem;
      border-bottom: 1px solid var(--line);
    }
    nav.links a:last-child { border-bottom: 0; }
  }

  /* ---------- hero ---------- */
  .hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    min-height: 360px;
    overflow: hidden;
  }
  .hero-photo {
    position: relative;
    background:
      radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.06), transparent 55%),
      linear-gradient(155deg, #5a4d38 0%, #362f22 48%, #241f16 100%);
  }
  .hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    animation: kenburns 16s ease-in-out infinite alternate;
  }
  @keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.09); }
  }
  .hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.06;
    mix-blend-mode: overlay;
    pointer-events: none;
  }
  .hero-photo .cap {
    position: absolute;
    left: 20px;
    bottom: 18px;
    font-family: var(--display);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(244,239,226,0.55);
  }
  .hero-copy {
    background: var(--cream);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    /* left edge lines up with the nav name / page content (wrap is 1080px) */
    padding: 56px 48px 56px max(24px, calc((100vw - 1080px) / 2 + 24px));
  }
  .hero-copy h1 {
    font-family: var(--script);
    font-weight: 600;
    font-size: clamp(2.6rem, 5.4vw, 4rem);
    line-height: 1.25;
    padding-bottom: 0.1em;
    background: linear-gradient(90deg, var(--ink) 0%, var(--rose) 30%, var(--teal) 55%, var(--rose) 80%, var(--ink) 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 7s linear infinite;
  }
  @keyframes shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 250% 50%; }
  }
  .flame {
    display: inline-block;
    animation: flicker 1.3s infinite ease-in-out;
    transform-origin: center bottom;
  }
  @keyframes flicker {
    0%, 100% { transform: scale(1) rotate(-3deg); filter: drop-shadow(0 0 4px #ff9d42) drop-shadow(0 0 10px #ff5a1f); }
    25%      { transform: scale(1.1) rotate(3deg); filter: drop-shadow(0 0 6px #ffd23f) drop-shadow(0 0 14px #ff5a1f); }
    50%      { transform: scale(0.94) rotate(-4deg); filter: drop-shadow(0 0 3px #ff5a1f) drop-shadow(0 0 8px #ff2d00); }
    75%      { transform: scale(1.06) rotate(2deg); filter: drop-shadow(0 0 5px #ffd23f) drop-shadow(0 0 12px #ff5a1f); }
  }
  .hero-role {
    font-family: var(--display);
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ink);
    margin-top: -12px;
  }
  .hero-location {
    font-family: var(--display);
    font-size: 1rem;
    letter-spacing: 0.08em;
    color: var(--ink-dim);
    margin-top: -10px;
  }
  .hero-tagline {
    font-style: italic;
    color: var(--ink-dim);
    max-width: 52ch;
    font-size: 1.08rem;
    margin-top: -6px;
  }
  .hero-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 340px;
    margin-top: 8px;
  }
  .hero-cta a {
    background: var(--rose);
    color: var(--olive-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-align: center;
    font-family: var(--display);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 13px 10px;
    transition: background 0.15s ease;
  }
  .hero-cta a:hover, .hero-cta a:focus-visible { background: var(--rose-deep); }
  .hero-socials {
    display: flex;
    gap: 22px;
    margin-top: 6px;
  }
  .social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: var(--ink);
  }
  .social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--ink-dim);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  }
  .social-item:hover .social-icon, .social-item:focus-visible .social-icon {
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
  }
  .social-icon svg { width: 18px; height: 18px; }
  .social-label {
    font-family: var(--display);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ink-dim);
    transition: color 0.15s ease;
  }
  .social-item:hover .social-label, .social-item:focus-visible .social-label { color: var(--rose); }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .hero-about-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-top: 4px;
    font-family: var(--display);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--rose-deep);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--line);
    transition: color 0.15s ease, border-color 0.15s ease, gap 0.15s ease;
  }
  .hero-about-link:hover, .hero-about-link:focus-visible {
    color: var(--rose);
    border-color: var(--rose);
    gap: 10px;
  }

  @media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-photo { height: 320px; }
    .hero-photo img { object-position: center 12%; }
    .hero-copy { padding: 40px 24px; }
  }

  /* ---------- band ---------- */
  .band {
    background: var(--olive);
    color: var(--olive-ink);
    padding-block: 26px;
    text-align: center;
  }
  .band h2 {
    font-family: var(--display);
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 600;
  }
  .band h2.band-sm {
    font-size: clamp(1.1rem, 2.4vw, 1.5rem);
    letter-spacing: 0.22em;
  }

  .work-heading {
    text-align: center;
    font-family: var(--display);
    font-size: clamp(1.1rem, 2.4vw, 1.5rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--olive);
    margin: 0 0 34px;
  }

  section { padding-block: 52px; }

  /* ---------- about ---------- */
  .about-grid {
    display: grid;
    grid-template-columns: minmax(0, 280px) 1fr;
    gap: 56px;
    align-items: start;
  }
  .portrait {
    aspect-ratio: 4 / 5;
    border: 1px solid var(--line);
    position: relative;
    background: linear-gradient(160deg, var(--cream-2) 0%, #e6dcc4 100%);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  .portrait:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px -18px rgba(43, 38, 32, 0.35);
  }
  .portrait img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }
  .portrait:hover img { transform: scale(1.08) rotate(-1deg); }
  .portrait .cap {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    font-family: var(--display);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
    text-align: center;
  }
  .section-eyebrow {
    font-family: var(--display);
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--rose);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
  }
  .about-copy h2 { font-family: var(--script); font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.6rem); margin-bottom: 20px; color: var(--ink); }
  .about-copy p.lede {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--ink);
    border-left: 2px solid var(--rose);
    padding-left: 20px;
    margin: 0 0 22px;
  }
  .about-copy p { margin: 0 0 16px; color: var(--ink-dim); max-width: 62ch; }
  .skills-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
  .skill-pill {
    font-family: var(--display);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--teal);
    border: 1px solid var(--line);
    padding: 7px 14px;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  }
  .skill-pill:hover {
    transform: translateY(-4px) scale(1.06);
    background: var(--rose);
    color: var(--olive-ink);
    border-color: var(--rose);
  }

  /* ---------- experience ---------- */
  .job {
    display: grid;
    grid-template-columns: minmax(0, 230px) 1fr;
    gap: 6px 44px;
    padding-block: 34px;
    border-top: 1px solid var(--line);
  }
  .job:first-child { border-top: 0; padding-top: 0; }
  .job-meta p { margin: 0; }
  .job-dates {
    font-family: var(--display);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: var(--rose);
    font-weight: 600;
  }
  .job-org {
    font-family: var(--display);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ink-dim);
    margin-top: 6px !important;
  }
  .job-title {
    font-family: var(--script);
    font-weight: 600;
    font-size: clamp(1.5rem, 2.4vw, 1.95rem);
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: 12px;
  }
  .job-points { list-style: none; margin: 0; padding: 0; max-width: 68ch; }
  .job-points li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: var(--ink-dim);
  }
  .job-points li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.78em;
    width: 8px;
    height: 1px;
    background: var(--rose);
  }
  .job-points a { color: var(--rose-deep); text-underline-offset: 3px; }
  .job-points a:hover, .job-points a:focus-visible { color: var(--rose); }
  .exp-extra {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding-block: 26px;
    display: grid;
    gap: 12px;
  }
  .exp-extra p { margin: 0; color: var(--ink-dim); }
  .exp-label {
    display: block;
    font-family: var(--display);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 2px;
  }
  .exp-when { font-family: var(--display); color: var(--rose); letter-spacing: 0.04em; white-space: nowrap; }
  .exp-when-wrap { white-space: nowrap; }
  .exp-sep { color: var(--rose); font-size: 0.9em; margin: 0 0.6em; }
  @media (max-width: 720px) {
    .job { grid-template-columns: 1fr; gap: 4px; padding-block: 28px; }
    .job-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
    .job-org { margin-top: 0 !important; }
    .job-title { margin-top: 6px; }
  }

  /* ---------- work ---------- */
  .work-intro { text-align: center; max-width: 640px; margin: 0 auto 40px; }
  .work-intro p { color: var(--ink-dim); font-style: italic; }

  .project {
    padding-block: 34px;
    border-top: 1px solid var(--line);
    transition: transform 0.3s ease;
  }
  .project:hover { transform: translateX(4px); }
  .project:last-child { border-bottom: 1px solid var(--line); }
  .project-head {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .project-icon { flex: none; color: var(--olive); opacity: 0.8; }
  .project-icon svg { width: 30px; height: 30px; }
  .project-title { font-family: var(--script); font-weight: 600; font-size: clamp(1.7rem, 2.8vw, 2.3rem); color: var(--ink); }
  .project-year {
    font-family: var(--display);
    font-size: 0.85rem;
    color: var(--rose);
    letter-spacing: 0.05em;
  }
  .project-roles {
    font-family: var(--display);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ink-dim);
    margin: 12px 0 10px;
  }
  .project-roles a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.15s ease, color 0.15s ease;
  }
  .project-roles a:hover, .project-roles a:focus-visible {
    color: var(--rose);
    text-decoration-color: currentColor;
  }
  .project-desc { color: var(--ink-dim); margin: 0 0 10px; }
  .project-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--display);
    font-size: 0.88rem;
    color: var(--teal);
    margin-bottom: 6px;
  }
  .project-highlight svg { width: 16px; height: 16px; flex: none; }

  .highlight-covers {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 20px;
  }
  .highlight-cover {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
  }
  .highlight-cover img {
    display: block;
    width: 48px;
    height: 85px;
    border-radius: 9px;
    object-fit: cover;
    border: 1px solid var(--line);
  }
  .highlight-cover span {
    font-family: var(--display);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ink-dim);
  }

  .project-videos {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  /* landscape embed card (e.g. YouTube) */
  .yt-embed {
    flex: 1 1 280px;
    max-width: 360px;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #171512;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }
  .yt-embed:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 22px 38px -20px rgba(23, 21, 18, 0.55);
  }
  .yt-embed iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
  }

  /* phone mockup */
  .phone {
    flex: 1 1 170px;
    max-width: 280px;
    aspect-ratio: 9 / 16;
    background: #171512;
    border-radius: 22px;
    padding: 7px;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }
  .phone:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 22px 38px -20px rgba(23, 21, 18, 0.55);
  }
  .phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: #0d0c0a;
  }
  .phone-screen::before {
    content: "";
    position: absolute;
    top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 46%;
    height: 16px;
    background: #171512;
    border-radius: 10px;
    z-index: 2;
  }
  .reel-video-slot {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
  }
  .reel-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0d0c0a;
  }
  .video-empty { display: none; }
  .reel-video-slot.failed .reel-video { display: none; }
  .reel-video-slot.failed .video-empty {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    font-family: var(--display);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: #b7ad98;
    line-height: 1.6;
    margin: 0;
  }
  .video-empty a {
    color: #d7a9a3;
    font-family: var(--body);
    font-style: italic;
    text-underline-offset: 3px;
  }
  .video-empty a:hover, .video-empty a:focus-visible { color: #f0cfca; }

  @media (max-width: 720px) {
    .phone { flex-basis: 130px; }
    .about-grid { grid-template-columns: 1fr; }
    .portrait { max-width: 240px; }
  }

  /* ---------- photography intro ---------- */
  .elsewhere-intro { text-align: center; max-width: 700px; margin: 0 auto 48px; }
  .elsewhere-intro p { color: var(--ink-dim); font-style: italic; }

  /* ---------- photography ---------- */
  .gallery-grid {
    column-count: 3;
    column-gap: 18px;
  }
  .gallery-item {
    display: block;
    break-inside: avoid;
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    position: relative;
    background: var(--cream-2);
  }
  .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
  }
  .gallery-item:hover img { transform: scale(1.06); }
  .gallery-item::after {
    content: "🔍";
    content: "🔍" / "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(43, 38, 32, 0.55);
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.25s ease;
  }
  .gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
  @media (max-width: 860px) { .gallery-grid { column-count: 2; } }
  @media (max-width: 480px) { .gallery-grid { column-count: 1; } }

  /* ---------- contact ---------- */
  .contact-band { padding-block: 48px; }
  .contact-band h2 {
    font-family: var(--script);
    font-weight: 600;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 22px;
  }
  .contact-band .contact-eyebrow {
    display: block;
    color: rgba(244,239,226,0.7);
    margin-bottom: 10px;
  }
  .contact-band h2.say-hi {
    font-size: clamp(3.2rem, 9vw, 6rem);
    margin-bottom: 18px;
  }
  .contact-band h2.say-hi a {
    text-decoration: none;
    transition: color 0.15s ease;
  }
  .contact-band h2.say-hi a:hover, .contact-band h2.say-hi a:focus-visible {
    color: var(--rose);
  }
  .contact-band p { color: rgba(244,239,226,0.75); font-style: italic; margin-bottom: 32px; }
  .contact-band .btn.solid { margin-top: -8px; }
  @media (max-width: 400px) {
    .band h2 { letter-spacing: 0.18em; }
    .contact-band h2 { font-size: 2rem; }
    .contact-band h2.say-hi { font-size: 2.8rem; }
  }
  .cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
  .btn {
    font-family: var(--display);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    padding: 15px 26px;
    border: 1px solid var(--olive-ink);
    color: var(--olive-ink);
    transition: background 0.15s ease, color 0.15s ease;
  }
  .btn:hover, .btn:focus-visible { background: var(--olive-ink); color: var(--olive); }
  .btn-email { text-transform: none; letter-spacing: 0.04em; font-size: 0.95rem; }
  .btn.solid { background: var(--rose); border-color: var(--rose); color: var(--olive-ink); }
  .btn.solid:hover, .btn.solid:focus-visible { background: var(--rose-deep); color: var(--olive-ink); }
  .btn.outline { background: transparent; border-color: var(--ink-dim); color: var(--ink); }
  .btn.outline:hover, .btn.outline:focus-visible { background: var(--ink); color: var(--cream); border-color: var(--ink); }

  footer {
    background: #171512;
    color: #a89d89;
    font-family: var(--display);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }
  .footer-inner {
    padding-block: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* ---------- sub-pages (e.g. about.html) ---------- */
  .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--display);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ink-dim);
    text-decoration: none;
    margin-bottom: 28px;
    transition: color 0.15s ease;
  }
  .back-link:hover, .back-link:focus-visible { color: var(--rose); }

  .about-extra {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .about-extra h3 {
    font-family: var(--script);
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--ink);
    margin-bottom: 10px;
  }
  .about-extra p { color: var(--ink-dim); margin: 0; }
  @media (max-width: 720px) { .about-extra { grid-template-columns: 1fr; } }

  [data-animate] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  [data-animate].in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    [data-animate] { opacity: 1; transform: none; transition: none; }
    .hero-photo img, .hero-copy h1, .flame { animation: none !important; }
    .hero-copy h1 { background: none; color: var(--ink); }
    .portrait, .portrait img, .skill-pill, .project, .phone, .yt-embed, .gallery-item img,
    .nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
      transition: none !important;
    }
  }
