@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/Inter-Regular-v3.19.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/fonts/Inter-Medium-v3.19.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/fonts/Inter-SemiBold-v3.19.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --ink: #1d1d1f;
  --background: #fff;
  --link-muted: #999;
  --focus-ring: #777780;
  --motion-ease: cubic-bezier(.22, 1, .36, 1);
  --motion-press-ease: cubic-bezier(.3, 0, .2, 1);
  --motion-hover-duration: 220ms;
  --motion-press-duration: 100ms;
  --motion-release-duration: 320ms;
  --motion-hover-fill: #ededeb;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -.06px;
  color: var(--ink);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f5f7;
    --background: #1e1e1e;
    --link-muted: #8e8e93;
    --focus-ring: #aaaab0;
    --motion-hover-fill: #333336;
  }
}

* { box-sizing: border-box; }
body {
  min-height: 100svh; display: flex; align-items: center; justify-content: flex-start; margin: 0; padding: 48px 24px;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
}
p, h1, h2, ul { margin: 0; }
button, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
body, a, button { cursor: default; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
strong, h2 { font-weight: 600; }
.about .intro-name, #press-title { font-weight: 500; }
h2 { font-size: inherit; line-height: inherit; }
[hidden] { display: none !important; }

.page { display: flex; flex-direction: column; align-items: flex-start; gap: 56px; width: 425px; max-width: 100%; margin-left: max(0px, calc(50% - 476px)); }
.location, .about, .press, .contact, .socials { width: 100%; }
.location time { display: block; }
.clock-time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.clock-hour { display: inline-block; width: 2ch; text-align: right; }
.about p + p { margin-top: 28px; }
.pronunciation-control { position: relative; display: inline-block; appearance: none; padding: 0; background: transparent; vertical-align: baseline; }
.pronunciation-control::before { content: ""; position: absolute; inset: -4px; }
.pronunciation { --pronunciation-dot-size: .1em; --pronunciation-dot-pitch: .25em; --pronunciation-underline-offset: .4em; position: relative; }
/* Paint round dots explicitly: native dotted strokes can rasterize as squares.
   Inter's inline box includes .2em below the baseline; keep the row .4em below it. */
.pronunciation::after { content: ""; position: absolute; inset-inline: 0; top: calc(100% + var(--pronunciation-underline-offset) - .2em); height: var(--pronunciation-dot-size); background-image: radial-gradient(circle closest-side, currentColor calc(100% - .125px), transparent 100%); background-size: var(--pronunciation-dot-pitch) 100%; background-repeat: space no-repeat; pointer-events: none; }
@media (forced-colors: active) {
  .pronunciation { text-decoration: underline dotted; text-decoration-thickness: 10%; text-underline-offset: 40%; text-decoration-skip-ink: auto; }
  .pronunciation::after { display: none; }
}
.pronunciation-bubble { position: fixed; top: 0; left: 0; z-index: 20; width: 48px; height: 40px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 180ms var(--motion-ease), visibility 0s 180ms; will-change: transform, opacity; }
.pronunciation-bubble.is-visible { opacity: 1; visibility: visible; transition: opacity 70ms var(--motion-ease), visibility 0s; }
.pronunciation-badge { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 6px; border-radius: 38px; background: #1875ff; filter: drop-shadow(0 1px 1.5px rgb(0 0 0 / .09)) drop-shadow(0 4px 2.5px rgb(0 0 0 / .15)); transform: translateY(10px) scale(.7); transform-origin: center bottom; transition: transform 180ms var(--motion-ease), background-color var(--motion-hover-duration) var(--motion-ease); }
.is-visible .pronunciation-badge { transform: translateY(0) scale(1); transition-duration: 110ms, var(--motion-hover-duration); }
.pronunciation-bubble.is-tap { transition: none; }
.pronunciation-bubble.is-tap .pronunciation-badge { transition: none; will-change: transform, border-radius, opacity; }
.pronunciation-wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 12px; }
.pronunciation-wave > span { display: block; width: 2px; height: 12px; flex-shrink: 0; border-radius: 10px; background: #fff; transform-origin: center center; }
.pronunciation-wave > span:is(:first-child, :last-child) { height: 4px; }
.pronunciation-wave > span:is(:nth-child(2), :nth-child(3)) { height: 11px; }
.pronunciation-wave > span:nth-child(4) { height: 8px; }
.press ul { padding: 0; list-style: none; }

.text-link { display: inline-block; }
.socials { color: var(--link-muted); }
.link-group .text-link, .pronunciation-control {
  --link-fade-duration: 280ms;
  --link-fade-ease: cubic-bezier(.333333, 1, .666667, 1);
  --link-fade-delay: 200ms;
  color: var(--link-muted);
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  /* Shared text hover: 280ms in, 200ms hold, then 280ms out. */
  transition: color var(--link-fade-duration) var(--link-fade-ease) var(--link-fade-delay), scale var(--link-scale-duration, var(--motion-release-duration)) var(--link-scale-ease, var(--motion-ease));
}
.link-group .text-link.is-pressed, .pronunciation-control.is-pressed { --link-scale-duration: var(--motion-press-duration); --link-scale-ease: var(--motion-press-ease); }
.link-group .text-link:is(:active, .is-pressed, :focus-visible), .pronunciation-control:is(:active, .is-pressed, :focus-visible) { color: var(--ink); --link-fade-ease: cubic-bezier(.333333, 0, .666667, 0); --link-fade-delay: 0ms; }
.link-group .text-link:is(:active, .is-pressed), .pronunciation-control:is(:active, .is-pressed) { transition: scale var(--motion-press-duration) var(--motion-press-ease); }
:is(a, button):focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 4px; }
.is-pressed { scale: .985; }
.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; }

@media (prefers-reduced-motion: no-preference) {
  html[data-entrance-pending] :is(.location, .about > p, .press > h2, .press li, .contact, .socials) { opacity: 0; }
}

@media (hover: none), (any-pointer: coarse) {
  .pronunciation-control::before { inset: -10px -8px; }
}
@media (hover: none), (pointer: coarse) {
  .press .text-link { display: block; position: relative; padding-inline: 8px; margin-inline: -8px; }
  .press li:last-child .text-link::before { content: ""; position: absolute; inset: 0 0 -8px; }
  .socials .text-link { position: relative; }
  .socials .text-link::before { content: ""; position: absolute; inset: -10px -3px; min-width: 44px; }
  .socials .text-link:first-of-type::before { left: -8px; }
  .socials .text-link:last-of-type::before { right: -8px; }
}
@media (hover: hover) and (pointer: fine) {
  .link-group .text-link:hover, .pronunciation-control:hover { color: var(--ink); --link-fade-ease: cubic-bezier(.333333, 0, .666667, 0); --link-fade-delay: 0ms; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .is-pressed { scale: 1; }
}
