html { scroll-behavior: smooth; }
.homepage { font-family: 'Manrope', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.homepage.fade-in { transform: none; }
.homepage h1, .homepage h2 { letter-spacing: -.045em; }
.home-header nav { font-weight: 500; }
.intro { animation: intro-in .85s ease-out both; }
@keyframes intro-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.scroll-reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.scroll-reveal.is-visible { opacity: 1; transform: none; }
.category-card:nth-child(even) { transition-delay: .08s; }
.home-header { position: absolute; top: 0; left: 0; z-index: 1; width: 100%; padding: 28px 5%; display: flex; justify-content: space-between; align-items: center; }
.home-header nav { display: flex; gap: 28px; align-items: center; }
.home-header a, .text-button { color: #fff; font: inherit; text-decoration: none; }
.text-button { border: 0; background: none; cursor: pointer; padding: 0; }
.home-header nav a:hover, .text-button:hover { text-decoration: underline; }
.homepage .hero { min-height: 100svh; height: auto; position: relative; padding: 120px 5% 100px; }
.intro { width: 100%; max-width: 1100px; display: grid; grid-template-columns: 360px 1fr; align-items: center; gap: 80px; }
.portrait { display: block; width: 100%; height: auto; aspect-ratio: 9 / 11; object-fit: cover; border-radius: 20px; }
.intro h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.08; font-weight: 700; margin-bottom: 24px; }
.intro p { font-size: 1rem; line-height: 1.7; }
.contact-trigger { font: inherit; color: #fff; background: none; border: 0; padding: 0; text-align: left; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: #fff; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .85rem; }
.scroll-cue span { font-size: 1.25rem; animation: scroll-nudge 2.8s ease-in-out 3; }
@keyframes scroll-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.home-section { width: 90%; max-width: 1400px; margin: 0 auto; padding: 60px 0; scroll-margin-top: 25px; }
.home-section > h2, .work-heading h2 { font-size: 1.5rem; margin: 0 0 30px; }
.homepage .category-grid { width: 100%; margin: 0; }
.work-section { padding-bottom: 100px; }
.work-heading { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.work-heading a { font-size: 1rem; color: #fff; text-decoration: none; }
.work-heading a:hover { text-decoration: underline; }
.work-videos { width: 100%; max-width: 360px; }
.work-videos iframe { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: 16px; background: #111; }
.work-videos.multiple-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; max-width: 1100px; }
.contact-open { overflow: hidden; scrollbar-gutter: stable; }
.contact-dialog { background: #000; color: #fff; border: 1px solid #ffffff30; border-radius: 20px; width: min(440px, calc(100vw - 40px)); padding: 32px; margin: auto; box-shadow: 0 24px 100px #0009; }
.contact-dialog[open] { animation: contact-in .28s ease-out both; }
.contact-dialog.is-closing { animation: contact-out .2s ease-in both; }
.contact-dialog::backdrop { background: #000a; backdrop-filter: blur(8px); animation: backdrop-in .28s ease both; }
.contact-dialog.is-closing::backdrop { animation: backdrop-out .2s ease both; }
@keyframes contact-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes contact-out { to { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes backdrop-out { to { opacity: 0; } }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.dialog-heading h2 { font-size: 1.5rem; }
.white-button { display: inline-block; font: inherit; font-weight: 500; text-decoration: none; background: #fff; color: #000; border: 1px solid #fff; border-radius: 10px; padding: 14px 18px; cursor: pointer; text-align: center; transition: background .2s ease, transform .2s ease; }
.white-button:hover { background: #ddd; border-color: #ddd; }
.white-button:hover { transform: translateY(-2px); }
.white-button:active { transform: translateY(0); }
.dialog-close { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #ffffff30; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.dialog-close:hover { background: #ffffff18; transform: rotate(90deg); }
.dialog-close svg { width: 16px; height: 16px; }
.contact-methods a { display: flex; justify-content: space-between; align-items: center; text-align: left; }
.contact-trigger { text-decoration-thickness: 1px; transition: text-underline-offset .2s ease, opacity .2s ease; }
.contact-trigger:hover { text-underline-offset: 7px; opacity: .8; }
.contact-methods { display: flex; flex-direction: column; gap: 12px; }
:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
@media (max-width: 900px) { .intro { grid-template-columns: minmax(220px, 300px) 1fr; gap: 40px; } }
@media (max-width: 600px) {
  .home-header { padding-top: 22px; }
  .home-header nav { gap: 18px; font-size: .9rem; }
  .homepage .hero { padding-top: 100px; padding-bottom: 100px; }
  .intro { grid-template-columns: 1fr; gap: 28px; max-width: 440px; }
  .portrait { width: min(60vw, 260px); margin: auto; }
  .intro-text { text-align: center; }
  .intro h1 { margin-bottom: 18px; }
  .intro p { font-size: .95rem; }
  .contact-trigger { text-align: center; }
  .home-section { padding-top: 45px; padding-bottom: 45px; }
  .work-section { padding-bottom: 70px; }
  .work-heading { display: block; }
  .work-heading h2 { margin-bottom: 15px; }
  .work-heading a { display: inline-block; margin-bottom: 25px; }
  .work-videos.multiple-videos { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } body, .category-card img, .scroll-reveal, .white-button, .dialog-close, .contact-trigger { transition: none; transform: none; } .intro, .scroll-cue span, .contact-dialog[open], .contact-dialog::backdrop { animation: none; } .scroll-reveal { opacity: 1; } }
