
@font-face {
  font-family: 'Arial Narrow';
  font-weight: 400;
  font-style: normal;
  src: url('font/Arial Narrow.ttf') format('truetype');
}

@font-face {
  font-family: 'Arial Narrow';
  font-weight: 400;
  font-style: italic;
  src: url('font/Arial Narrow Italic.ttf') format('truetype');
}

@font-face {
  font-family: 'Arial Narrow';
  font-weight: 700;
  font-style: normal;
  src: url('font/Arial Narrow Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Arial Narrow';
  font-weight: 700;
  font-style: italic;
  src: url('font/Arial Narrow Bold Italic.ttf') format('truetype');
}

@font-face {
  font-family: 'Banquise';
  font-weight: 400;
  font-style: normal;
  src: url('font/Banquise-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'DINish';
  font-weight: 400;
  font-style: normal;
  src: url('font/DINish-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'DINish';
  font-weight: 400;
  font-style: italic;
  src: url('font/DINish-Italic.otf') format('opentype');
}

@font-face {
  font-family: 'DINish';
  font-weight: 700;
  font-style: normal;
  src: url('font/DINish-Bold.otf') format('opentype');
}

@font-face {
  font-family: 'DINish Condensed';
  font-weight: 400;
  font-style: normal;
  src: url('font/DINishCondensed-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'DINish Condensed';
  font-weight: 400;
  font-style: italic;
  src: url('font/DINishCondensed-Italic.otf') format('opentype');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

body {
  background: #fff;
  overflow: hidden;
}

#cursor {
  position: fixed;
  width: 28px;
  height: 28px;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 9999;
  top: 0;
  left: 0;
  transform: translate(4px, 4px);
}

.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: #fff;
}

/* Top-left: day + time pill */
.time-area {
  position: absolute;
  left: calc(62 / 1728 * 100vw);
  top: calc(56 / 1117 * 100vh);
  display: flex;
  align-items: center;
  gap: calc(14 / 1728 * 100vw);
}

.day-label {
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: calc(23.87 / 1728 * 100vw);
  letter-spacing: -0.03em;
  line-height: 150%;
  color: #000;
}

.time-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  border: calc(1.19 / 1728 * 100vw) solid #000;
  border-radius: 50%;
  padding: calc(7.16 / 1117 * 100vh) calc(39.38 / 1728 * 100vw);
  white-space: nowrap;
}

.time-pill span {
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: calc(23.87 / 1728 * 100vw);
  letter-spacing: -0.03em;
  line-height: 150%;
  color: #000;
}

/* Hero body */
.greeting-text {
  position: absolute;
  left: 50%;
  top: calc(480 / 1117 * 100vh);
  transform: translateX(-50%);
  font-family: 'DINish Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: calc(65 / 1728 * 100vw);
  line-height: 150%;
  letter-spacing: -0.05em;
  color: #000;
  white-space: nowrap;
}

.greeting-text.vanish {
  animation: slideIntoRight 0.45s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes slideIntoRight {
  0%   { transform: translateX(-50%); clip-path: inset(0% 0% 0% 0%); }
  100% { transform: translateX(calc(-50% - 8vw)); clip-path: inset(0% 0% 0% 100%); }
}

.name-graphic {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(390 / 1117 * 100vh);
  opacity: 0;
  transition: opacity 0.7s ease;
}

.name-graphic.active {
  display: block;
}

.name-graphic.visible {
  opacity: 1;
}

.name-graphic.visible {
  cursor: pointer;
}

.name-graphic img {
  width: calc(884 / 1728 * 100vw);
  height: auto;
  display: block;
  transform-origin: center center;
}

/* click! hint — visible until page-visible, then hides */
.click-hint {
  position: absolute;
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: calc(13 / 1728 * 100vw);
  letter-spacing: -0.02em;
  color: #000;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
}

.click-hint.visible {
  animation: blink 1.2s ease-in-out infinite;
}

.ch-1 {
  left: calc(280 / 1728 * 100vw);
  top: calc(310 / 1117 * 100vh);
  animation-delay: 0s;
}

.ch-2 {
  left: calc(1420 / 1728 * 100vw);
  top: calc(260 / 1117 * 100vh);
  animation-delay: 0.25s;
}

.ch-3 {
  left: calc(160 / 1728 * 100vw);
  top: calc(580 / 1117 * 100vh);
  animation-delay: 0.5s;
}

.ch-4 {
  left: calc(1510 / 1728 * 100vw);
  top: calc(620 / 1117 * 100vh);
  animation-delay: 0.75s;
}

.ch-5 {
  left: calc(520 / 1728 * 100vw);
  top: calc(680 / 1117 * 100vh);
  animation-delay: 1s;
}

.ch-6 {
  left: calc(1180 / 1728 * 100vw);
  top: calc(700 / 1117 * 100vh);
  animation-delay: 1.25s;
}

.ch-7 {
  left: calc(430 / 1728 * 100vw);
  top: calc(420 / 1117 * 100vh);
  animation-delay: 1.5s;
}

.ch-8 {
  left: calc(1250 / 1728 * 100vw);
  top: calc(390 / 1117 * 100vh);
  animation-delay: 1.75s;
}

.hero.page-visible .click-hint {
  opacity: 0 !important;
  animation: none;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Page elements — hidden until intro completes */
.page-el {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.hero.page-visible .page-el {
  opacity: 1;
  pointer-events: auto;
}

/* Nav buttons — top right */
.nav-area {
  position: absolute;
  left: calc(1530 / 1728 * 100vw);
  top: calc(54 / 1117 * 100vh);
  display: flex;
  flex-direction: column;
  gap: calc(12 / 1117 * 100vh);
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: calc(1.19 / 1728 * 100vw) solid #000;
  border-radius: 50%;
  padding: calc(7.16 / 1117 * 100vh) calc(39.38 / 1728 * 100vw);
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: calc(23.87 / 1728 * 100vw);
  letter-spacing: -0.03em;
  color: #000;
  text-decoration: none;
  background: transparent;
  white-space: nowrap;
}

.nav-btn--disabled {
  pointer-events: none;
  cursor: default;
  border-color: #B4B4B4;
  color: #B4B4B4;
}

/* Social links */
.social-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(682 / 1117 * 100vh);
  display: flex;
  align-items: center;
  gap: calc(22 / 1728 * 100vw);
}

.social-link {
  display: flex;
  align-items: center;
  gap: calc(5 / 1728 * 100vw);
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: calc(20 / 1728 * 100vw);
  letter-spacing: -0.03em;
  color: #000;
  text-decoration: none;
}

.social-link--disabled {
  pointer-events: none;
  cursor: default;
  color: #B4B4B4;
}

.social-link--disabled img,
.social-link--disabled svg {
  opacity: 0.35;
}

.social-link img {
  height: calc(17 / 1117 * 100vh);
  width: auto;
  display: block;
}

.social-link svg {
  display: block;
  width: calc(20 / 1728 * 100vw);
  height: calc(20 / 1728 * 100vw);
}

/* About me panel */
.about-panel {
  position: absolute;
  left: calc(1396 / 1728 * 100vw);
  top: calc(650 / 1117 * 100vh);
  width: calc(272 / 1728 * 100vw);
}

.panel-title {
  display: block;
  font-family: 'Banquise', 'Arial Narrow', Arial, sans-serif;
  font-size: calc(20 / 1728 * 100vw);
  letter-spacing: -0.05em;
  color: #000;
  margin-bottom: calc(8 / 1117 * 100vh);
}

.about-panel .panel-title {
  margin-left: calc((1578 - 1396) / 1728 * 100vw);
}

.panel-line {
  width: calc(92 / 1728 * 100vw);
  height: 0;
  border-top: 0.3px solid #000;
  margin-left: calc((1575 - 1396) / 1728 * 100vw);
  margin-bottom: calc(15 / 1117 * 100vh);
}

.about-desc {
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: calc(20 / 1728 * 100vw);
  letter-spacing: -0.03em;
  line-height: 150%;
  color: #000;
  text-align: right;
}

/* Contact panel */
.contact-panel {
  position: absolute;
  left: calc(1477 / 1728 * 100vw);
  top: calc(830 / 1117 * 100vh);
  width: calc(190 / 1728 * 100vw);
}

.contact-panel .panel-title {
  margin-left: calc((1594 - 1477) / 1728 * 100vw);
  margin-top: calc(40 / 1117 * 100vh);
  margin-bottom: calc(8 / 1117 * 100vh);
}

.contact-line {
  width: calc(73 / 1728 * 100vw);
  margin-left: calc((1594 - 1477) / 1728 * 100vw);
}

.contact-text {
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: calc(20 / 1728 * 100vw);
  letter-spacing: -0.03em;
  line-height: 150%;
  color: #000;
  text-align: right;
}

.open-to-work {
  color: #DFFF6A;
  animation: blink 1.2s ease-in-out infinite;
}

.email-row {
  display: inline-flex;
  align-items: center;
  gap: calc(4 / 1728 * 100vw);
}

.email-icon {
  width: calc(17 / 1728 * 100vw);
  height: auto;
  display: block;
  flex-shrink: 0;
}
