@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=EB+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Noto+Serif+JP:wght@400;500&family=Roboto:wght@400&display=swap");

@font-face {
  font-family: "Neue Haas Grotesk Display";
  src: url("/assets/fonts/NHaasGroteskDSPro-45Lt.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Display";
  src: url("/assets/fonts/NHaasGroteskDSPro-55Rg.woff2") format("woff2");
  font-style: normal;
  font-weight: 450;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Display";
  src: url("/assets/fonts/NHaasGroteskDSPro-36XLtIt.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

body {
  min-height: 100vh;
  background: var(--we-bg-paper);
  color: var(--we-text-primary);
  font-family: var(--we-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color var(--we-dur-fast) var(--we-ease-flow),
    border-color var(--we-dur-fast) var(--we-ease-flow);
}

a:hover {
  border-bottom-color: currentColor;
}

a:focus-visible {
  outline: 1px solid var(--we-accent);
  outline-offset: 4px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  padding: clamp(46px, 5.3vh, 62px) clamp(52px, 5vw, 96px) 0;
  color: #ffffff;
  font-family: var(--we-font-display);
  font-size: 14px;
  font-weight: 450;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  mix-blend-mode: difference;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 220ms var(--we-ease-flow),
    transform 220ms var(--we-ease-flow);
}

.site-header.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
}

.site-mark {
  font-family: var(--we-font-display);
  font-size: inherit;
  font-style: normal;
  font-weight: 450;
  border-bottom: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--we-font-display);
  font-size: 14px;
  font-weight: 450;
  color: inherit;
}

.site-nav a {
  padding-bottom: 2px;
  border-bottom: none;
}

.site-nav a {
  opacity: 0.32;
}

.site-nav a[aria-current="page"] {
  opacity: 1;
}

.intro {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: stretch;
  background: var(--we-bg-white);
  padding: 0;
}

.intro-layout {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  column-gap: clamp(16px, 1.32vw, 20px);
  min-height: inherit;
  width: 100%;
  color: #000000;
  font-family: var(--we-font-display);
}

.intro-top {
  display: contents;
}

.intro-name {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  margin-top: 18.4vh;
  color: #000000;
  font-family: var(--we-font-display);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.1;
  border-bottom: none;
}

.intro-portraits {
  grid-column: 5 / span 2;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  margin-top: clamp(116px, 15.7vh, 150px);
  display: flex;
  gap: clamp(10px, 0.93vw, 12px);
}

.intro-portraits img {
  width: auto;
  height: clamp(170px, 24vh, 220px);
  object-fit: cover;
}

.intro-nav {
  grid-column: 6;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  margin-top: 18.3vh;
  display: grid;
  gap: 6px;
  font-family: var(--we-font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.1;
}

.intro-nav a {
  border-bottom: none;
}

.intro-nav a + a {
  color: rgba(0, 0, 0, 0.32);
}

.intro-copy {
  grid-column: 1 / span 3;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  margin-left: clamp(52px, 5vw, 96px);
  margin-top: clamp(372px, 54vh, 430px);
  width: 100%;
  max-width: 375px;
  min-width: 0;
}

.intro-line {
  margin: 0;
  max-width: 100%;
  color: #000000;
  font-family: var(--we-font-display);
  font-size: 16px;
  font-style: normal;
  font-weight: 450;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-wrap: pretty;
}

.intro-line + .intro-line {
  margin-top: 28px;
}

.intro-break {
  display: none;
}

.intro-line em {
  color: #000000;
  font-style: normal;
}

.intro-text-link {
  color: #B9A9A8;
  border-bottom: none;
}

.intro-text-link:hover {
  color: #9F8F8E;
}

.about-cv {
  display: grid;
  gap: 58px;
  width: 100%;
  max-width: 375px;
  color: #000000;
  font-family: var(--we-font-display);
  font-size: 14px;
  font-weight: 450;
  letter-spacing: 0;
  line-height: 1.22;
}

.about-cv-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 24px;
}

.about-cv-label {
  margin: 0;
  color: rgba(42, 38, 34, 0.36);
  font: inherit;
}

.about-cv-content {
  display: grid;
  gap: 28px;
}

.about-cv-content p {
  margin: 0;
}

.about-cv-content span {
  display: block;
  color: rgba(42, 38, 34, 0.36);
}

.about-company-link {
  display: block;
  width: fit-content;
  color: rgba(42, 38, 34, 0.36);
  border-bottom: none;
  transition:
    color var(--we-dur-fast) var(--we-ease-flow),
    opacity var(--we-dur-fast) var(--we-ease-flow);
}

.about-company-link:hover {
  color: rgba(42, 38, 34, 0.72);
}

.about-company-link:active {
  opacity: 0.62;
}

.about-cv-link {
  color: rgba(42, 38, 34, 0.36);
  border-bottom: none;
}

.about-cv-link:hover {
  color: rgba(42, 38, 34, 0.72);
}

.page-about .intro {
  min-height: 132vh;
  min-height: 132svh;
  padding-bottom: 100px;
}

.page-about .intro-portraits {
  grid-column: 2 / span 2;
  justify-self: start;
  margin-top: clamp(250px, 31vh, 330px);
  gap: 8px;
}

.page-about .intro-portraits img {
  height: clamp(104px, 12vh, 132px);
}

.page-about .intro-copy {
  grid-column: 4 / span 2;
  margin-left: 0;
  margin-top: clamp(250px, 31vh, 330px);
  max-width: 400px;
}

.page-about .intro-line {
  font-size: 14px;
  font-weight: 450;
}

.page-about .about-cv {
  grid-column: 4 / span 2;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  margin-top: clamp(610px, 68vh, 760px);
}

.site-footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 98px var(--we-section-pad-x) 64px;
  background: var(--we-bg-black);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--we-section-pad-x);
  right: var(--we-section-pad-x);
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-line,
.footer-credit {
  color: rgba(255, 255, 255, 0.54);
  font-family: var(--we-font-display);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.footer-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-line a {
  color: inherit;
  border-bottom: none;
}

.footer-line a:hover {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer--light {
  background: var(--we-bg-white);
}

.site-footer--light::before {
  background: rgba(42, 38, 34, 0.08);
}

.site-footer--light .footer-line,
.site-footer--light .footer-credit {
  color: rgba(42, 38, 34, 0.5);
}

.site-footer--light .footer-line a:hover {
  color: rgba(42, 38, 34, 0.76);
}

@media (min-width: 981px) and (max-width: 1180px) {
  .intro-layout {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    column-gap: clamp(12px, 1.25vw, 16px);
  }

  .intro-name {
    grid-column: 2;
    margin-top: clamp(120px, 16vh, 168px);
  }

  .intro-portraits {
    grid-column: 5 / span 2;
    justify-self: end;
    margin-top: clamp(108px, 15vh, 144px);
    gap: clamp(8px, 0.95vw, 12px);
  }

  .intro-portraits img {
    height: clamp(158px, 22vh, 190px);
  }

  .intro-nav {
    grid-column: 6;
    justify-self: end;
    margin-top: clamp(120px, 16vh, 168px);
    font-size: 16px;
  }

  .intro-copy {
    grid-column: 1 / span 3;
    align-self: start;
    justify-self: start;
    margin-left: clamp(52px, 5vw, 96px);
    margin-top: clamp(330px, 52vh, 390px);
    width: 100%;
    max-width: 375px;
  }

  .intro-line {
    font-size: 16px;
    line-height: 1.4;
  }

  .page-about .intro {
    min-height: 130vh;
    min-height: 130svh;
  }

  .page-about .intro-portraits {
    grid-column: 2 / span 2;
    justify-self: start;
    margin-top: clamp(220px, 29vh, 300px);
  }

  .page-about .intro-portraits img {
    height: clamp(96px, 11vh, 120px);
  }

  .page-about .intro-copy {
    grid-column: 4 / span 3;
    margin-left: 0;
    margin-top: clamp(220px, 29vh, 300px);
    max-width: 400px;
  }

  .page-about .about-cv {
    grid-column: 4 / span 3;
    margin-top: clamp(560px, 66vh, 720px);
    max-width: 375px;
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  .intro-layout {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    column-gap: clamp(14px, 2vw, 22px);
  }

  .intro-name {
    grid-column: 1 / span 2;
    margin-top: clamp(8px, 1.2vh, 18px);
    margin-left: clamp(28px, 4.2vw, 52px);
    font-size: clamp(12px, 1.35vw, 16px);
  }

  .intro-portraits {
    grid-column: 5 / span 2;
    align-self: center;
    justify-self: start;
    margin-top: clamp(20px, 5vh, 68px);
    margin-bottom: 0;
    margin-left: 0;
    gap: clamp(8px, 1.2vw, 14px);
  }

  .intro-portraits img {
    height: clamp(146px, 17vh, 208px);
  }

  .intro-nav {
    grid-column: 5 / span 3;
    justify-self: end;
    margin-top: clamp(8px, 1.2vh, 18px);
    margin-right: clamp(28px, 4.2vw, 52px);
    display: flex;
    gap: clamp(14px, 1.9vw, 22px);
    font-size: clamp(12px, 1.35vw, 16px);
  }

  .intro-copy {
    grid-column: 1 / span 4;
    align-self: start;
    justify-self: start;
    margin-left: clamp(28px, 4.2vw, 52px);
    margin-top: clamp(300px, 42vh, 390px);
    width: 100%;
    max-width: clamp(360px, 52vw, 540px);
  }

  .intro-line {
    font-size: 16px;
    line-height: 1.4;
  }

  .intro-line + .intro-line {
    margin-top: clamp(28px, 3.6vh, 44px);
  }

  .page-about .intro {
    min-height: 128vh;
    min-height: 128svh;
  }

  .page-about .intro-portraits {
    grid-column: 2 / span 2;
    align-self: start;
    justify-self: start;
    margin-top: clamp(190px, 26vh, 260px);
    margin-left: 0;
  }

  .page-about .intro-portraits img {
    height: clamp(86px, 10vh, 112px);
  }

  .page-about .intro-copy {
    grid-column: 4 / span 4;
    margin-left: 0;
    margin-top: clamp(190px, 26vh, 260px);
    max-width: 400px;
  }

  .page-about .about-cv {
    grid-column: 4 / span 4;
    margin-top: clamp(540px, 63vh, 680px);
    max-width: 375px;
  }
}

@media (max-width: 700px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: auto;
    padding: clamp(24px, 3.8svh, 38px) 30px 0;
    line-height: 1;
  }

  .site-mark {
    font-size: 12px;
    line-height: 1;
  }

  .site-nav {
    font-size: 12px;
    line-height: 1;
  }

  .site-footer {
    padding-top: clamp(67px, 10.2svh, 85px);
  }

  .footer-line {
    justify-content: space-between;
    width: 100%;
    font-size: 10px;
    gap: 0;
  }

  .footer-credit {
    display: none;
    font-size: 10px;
    text-align: right;
  }

  .site-mark,
  .site-nav {
    grid-column: auto;
    justify-self: auto;
  }

  .intro {
    min-height: 100vh;
    min-height: 100svh;
    overflow-x: hidden;
  }

  .intro-layout {
    --intro-mobile-edge: 30px;
    --intro-mobile-image-gap: clamp(8px, 2.6vw, 12px);
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: inherit;
    overflow-x: hidden;
    padding: clamp(238px, 28svh, 268px) var(--intro-mobile-edge) clamp(24px, 4.8svh, 52px);
  }

  .intro-name,
  .intro-portraits,
  .intro-nav,
  .intro-copy {
    position: static;
    transform: none;
  }

  .intro-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: clamp(24px, 3.8svh, 38px);
    min-height: clamp(148px, 28svh, 268px);
  }

  .intro-name {
    display: inline-block;
    margin-top: 0;
    font-size: 14px;
  }

  .intro-portraits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100% !important;
    max-width: none;
    min-width: 0;
    gap: var(--intro-mobile-image-gap);
    margin-top: clamp(35px, 5.1svh, 51px);
  }

  .intro-portraits img {
    width: 100%;
    min-width: 0;
    height: auto;
  }

  .intro-nav {
    position: static !important;
    z-index: 2;
    display: flex !important;
    margin-top: 0;
    margin-right: 0;
    gap: clamp(12px, 3.6vw, 16px);
    width: auto;
    max-width: none;
    color: rgba(0, 0, 0, 0.38);
    font-size: 14px;
    white-space: nowrap;
  }

  .intro-nav.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .intro-nav a,
  .intro-nav a + a {
    color: inherit;
  }

  .site-nav a {
    display: inline-flex;
    position: relative;
    min-height: 0;
    align-items: flex-start;
    padding-bottom: 0;
    border-bottom: none;
    transition: opacity 140ms var(--we-ease-flow);
  }

  .site-nav a::after {
    content: "";
    display: none;
  }

  .site-nav a:hover {
    border-bottom-color: transparent;
  }

  .site-nav a.is-clicked::after,
  .site-nav a:active::after {
    opacity: 0;
  }

  .site-nav a.is-clicked,
  .site-nav a:active {
    opacity: 0.62;
  }

  .site-nav a[aria-current="page"].is-clicked,
  .site-nav a[aria-current="page"]:active {
    opacity: 0.82;
  }

  .intro-copy {
    width: 100% !important;
    max-width: none;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
  }

  .intro-line {
    width: 100%;
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .intro-line + .intro-line {
    margin-top: 28px;
  }

  .intro-break {
    display: none;
  }

  .page-about .intro {
    min-height: auto;
    padding-bottom: clamp(60px, 8svh, 72px);
  }

  .page-about .intro-layout {
    padding-top: clamp(218px, calc(22svh + 50px), 268px);
  }

  .page-about .intro-copy {
    order: 1;
  }

  .page-about .about-cv {
    order: 2;
    width: 100%;
    max-width: none;
    margin-top: 132px;
    font-size: 12px;
  }

  .page-about .about-cv-row {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 18px;
  }

  .page-about .about-cv-content {
    gap: 24px;
  }

  .page-about .intro-portraits {
    order: 3;
    width: 100% !important;
    max-width: none;
    margin-top: 132px;
  }

  .page-about .intro-portraits img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

@media (hover: none) and (pointer: coarse) {
  a:hover {
    border-bottom-color: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
