@charset "UTF-8";
:root {
  --white: #fff;
  --pink: #9f1b55;
  --ink: #111;
  --muted: #788087;
  --dark: #62727f;
  --soft: #e7e7e5;
  --ease: cubic-bezier(.65, 0, .35, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: "Helvetica Neue LT Pro", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "clig";
  overflow: hidden;
}

h1 {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(20px, 1.05vw, 22px); 
  line-height: 1.25; 
  letter-spacing: -0.1px;
  color: var(--ink);
}
h2 {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(19px, 1.05vw, 20px); 
  letter-spacing: -0.1px;
  line-height: 1.2;
}
h3 {
  font-family: var(--font);
  font-weight: 500; 
  font-size: clamp(16px, 0.85vw, 16px); 
  line-height: 1.25;
}

p {
  font-size: clamp(16px, 0.85vw, 16px); 
  line-height: 1.2;
  color: inherit;
}

a { 
  color: inherit; 
  text-decoration: none; 
  transition: all 0.3s ease;
}
a:hover { 
  color: var(--pink);
}

.nav-btn {
  position: fixed;
  top: 2vh;
  right: 1.5vw;
  z-index: 10;
  min-width: 28px;
  padding: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
  text-align: right;
  cursor: pointer;
  transition: all 0.3s ease;
}
.nav-btn:hover { color: var(--pink)
}

button { color: inherit; border: 0; background: none; font: inherit; cursor: pointer; }
.btn-lg { 
  color: inherit; 
  border: 0; 
  background: none; 
  cursor: pointer;
}
.btn-sm { 
  border: 1px solid var(--ink); 
  border-radius: 20px; 
  color: var(--white); 
  padding: 1px 5px 2px; 
  font-size: 7px;
  line-height: 1;
  color: inherit;
  border: 0; 
  background: none; 
  cursor: pointer;
}
.btn-sm:hover { background: var(--ink); }


img, video { display: block; max-width: 100%; }
.intro {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center;
  align-content: center; gap: 24px; background: var(--ink); color: var(--white); cursor: default;
  transition: opacity .9s var(--ease), visibility 0s linear .9s;
}
.intro.done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro__logo, .intro__line { margin: 0; opacity: 0; }
.intro__logo { width: min(52.55vw, 1009px); width: 100%; display: flex; justify-content: center; align-items: center; transition: opacity 1.2s var(--ease-out); }
.intro__logo img { display: block; width: 40px; height: auto; }
.intro__line { text-align: center; padding: 0 24px; transform: translateY(6px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.intro.s1 .intro__logo { opacity: 1; }
.intro.s2 .intro__logo { opacity: 0; transition-duration: .5s; }
.intro.s3 .intro__line { opacity: 1; transform: none; }
.intro.s4 .intro__line { opacity: 0; transition-duration: .5s; }

.view { position: fixed; inset: 0; z-index: 2; transition: opacity .7s var(--ease), transform .7s var(--ease), visibility 0s linear .7s; }
.view:not(.active) { opacity: 0; visibility: hidden; pointer-events: none; }
.view.active { transition-delay: 0s; }
#home:not(.active) { transform: translateY(18px); }
#about:not(.active) { transform: translateX(48px); }

/* Shared image panel: expands and shifts when toggling between Home and About. */
.media {
  position: fixed; z-index: 1; top: 4px; left: 4px; bottom: 4px; right: 22vw; overflow: hidden; border-radius: 6px; background: var(--white); cursor: pointer;
    transition:
    top .95s var(--ease),
    right .95s var(--ease),
    bottom .95s var(--ease),
    left .95s var(--ease);
}
body.is-about .media { top: 4px; left: 4px; bottom: 4px; right: 43vw; border-radius: 6px; cursor: default;}
.media__about { position: absolute; inset: 0; opacity: 0; background: var(--soft); transition: opacity .18s ease-out; }
.media__about img, .media__about video { width: 100%; height: 100%; object-fit: contain; }
body.is-about .media__about { opacity: 1; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.slide.on { opacity: 1; }
.media__about .slide:not(.on) { transition: none; }
.media__about .slide.prev { opacity: 1; z-index: 0; }
.media__about .slide.on { z-index: 1; }
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; }
.slide-count { display: none; }

/* Home */
#home { background: transparent; }
.home-panel { position: absolute; z-index: 3; top: 0; right: 0; bottom: 0; width: 20vw; padding: 0; margin: 0; background: var(--white);}
.about { position: absolute; left: 0; right: 1vw; bottom: 1.5vh; max-width: 28ch;}
.about em { font-family: Georgia, serif; font-weight: 400; }
.email { display: flex; align-items: center; gap: 8px; width: fit-content; margin-top: 16px; }
.copy-email { border: 1px solid var(--ink); border-radius: 20px; color: var(--ink); margin-bottom: 4px; padding: 4px 8px 2px 8px; font-size: 11px; line-height: 1.1; font-weight:500; 
  transition: all 0.3s ease; cursor: pointer;}
.copy-email:hover { background: var(--pink); border: 1px solid var(--pink); color: var(--white);}

.legacy-js { position: fixed; left: -10000px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.email-copy span { border: 1px solid var(--ink); border-radius: 20px; color: var(--white); padding: 1px 5px 2px; font-size: 7px; line-height: 1; }
.email-copy:hover span { background: var(--ink); }

 
/* About */
#about {
  background: transparent;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 0;
}
#about::-webkit-scrollbar {display: none;}
.about-panel { position: relative; z-index: 3; background-color: var(--white); width: 43vw; height: auto; min-height: 100vh; padding: 16px 4vw 16px 48px; top: 0; right: 0; bottom: 0; margin-left: auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.about-logo { position: fixed; width: 48px; height: auto; flex: 0 0 auto; object-fit: contain; } 
.about-description { position: relative; max-width: 100%; margin: 200px 0 0 95px; }
.about-details { position: static; display: flex; flex-direction: column; gap: 16px; margin-top: clamp(40px, 12vh, 90px); width: 100%; max-width: none; flex: 0 0 auto; }
.detail-row { display: grid; grid-template-columns: minmax(55px, 6vw) minmax(0, 1fr); column-gap: 16px; align-items: start; width: 100%; max-width: none; }
.detail-label { color: var(--muted); }
.detail-row a, .detail-row p { color: var(--muted); min-width: 0; padding-bottom: 8px;}
.detail-row a:hover { color: var(--pink); }
.detail-row p { max-width: none; overflow-wrap: anywhere;}
.about-copyright { position: static; margin-top: auto; align-items: flex-end; right: 16px; bottom: 0; padding: 80px 0 8px 0; color: var(--muted); font-size: 12px; text-align: right; flex-shrink: 0;}

.about-panel, .about-description, .about-details, .detail-row, .detail-row p { box-sizing: border-box; min-width: 0;}

/* Navigation: close on About */
#navLabel { display: inline-grid; justify-items: end; }
.nl { grid-area: 1 / 1; transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.nl--probe { visibility: hidden; transition: none; }
.nl--home { opacity: 0; transform: translateY(5px); font-size: 25px; font-weight: 300; line-height: .8; }
#navLabel.is-home .nl--about { opacity: 0; transform: translateY(-5px); }
#navLabel.is-home .nl--home { opacity: 1; transform: none; }
.mbar { display: none; }

/* Responsive layout */
@media (max-width: 727px) {
  #about {
    background: transparent;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }

  body { overflow: hidden; }
  .media { top: 4px; left: 4px; right: 4px; bottom: 30vh; border-radius: 4px; }
  body.is-about .media {top: 4px;left: 4px; right: 4px; height: 52vh; border-radius: 4px; }
  .home-panel { background: transparent; top: auto; left: 10px; right: 10px; bottom: 0; width: auto; height: 28vh; padding: 0 0 20px; }
  .about { max-width: 50ch; left: 0; right: 8px; bottom: 20px; }
  .email-copy { margin-top: 10px; }
  .nav-btn { top: 20px; right: 16px; font-size: 18px; }
  body.is-about .nav-btn { top: 22px; }
  .about-panel { position: relative; isolation: isolate; background-color: var(--white); min-height: 46vh; width: 100%; margin: 54vh 0 0 0; padding: 16px 32px; border-radius: 20px 20px 0 0;
   box-shadow: 0 56px 40px var(--muted, 0); transform: translateY(0); transition: box-shadow 0.4s ease, transform 0.4s ease; }
  .about-panel:hover { box-shadow: 0 16px 40px var(--muted, 0.25); transform: translateY(-8px); }
  .about-panel::after { content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; bottom: -16px; background: var(--white); border-radius: 20px 20px 0 0; } 

  .about-logo { position: fixed; width: 48px; top: 20px; }
  .about-description { position: relative; width: 100%; max-width: none; margin: 40px 0; padding: 0; top: 40px; left: 0px; right: 24px;  white-space: normal;}
  .about-details { position: static; width: 100%; margin-top: 40px; gap: 8px; }
  .detail-row { grid-template-columns: minmax(80px, 25%) minmax(0, 1fr); column-gap: 16px; width: 100%; padding-bottom: 8px;}
  .detail-row p { max-width: none; }
}
@media (max-width: 390px) {
  .about-description { left: 0; font-size: 16px; }
}

.intro__line { opacity: 0; animation: taglineFade 1s ease forwards; animation-delay: 0.5s; }
.nl--home { font-size: 38px; top: 0; padding: 0; margin: 0; }

@keyframes taglineFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}