:root {
  --paper: #eef1f4;
  --paper-deep: #e2e7ed;
  --ink: #0f1c2e;
  --steel: #4a5b6e;
  --line: #c5cdd6;
  --white: #ffffff;
  --signal: #cf0042;
  --signal-ink: #ffffff;
  --ricoh-black: #000000;
  --shadow: 0 18px 50px rgba(15, 28, 46, 0.08);

  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-ui: "Sora", "Segoe UI", sans-serif;

  --pad: clamp(1.5rem, 5vw, 2.5rem);
  --radius: 0.55rem;
}

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

html {
  height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.5;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 90% 40% at 50% 18%, rgba(255, 255, 255, 0.72), transparent 65%),
    linear-gradient(180deg, #f7f8fa 0%, var(--paper) 48%, var(--paper-deep) 100%);
}

.banner {
  position: relative;
  width: 100%;
  height: clamp(7.5rem, 28vw, 12rem);
  overflow: hidden;
  background: #d8dde3;
  animation: rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.banner-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 42%;
}

.banner-fade {
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(
    180deg,
    rgba(238, 241, 244, 0) 0%,
    rgba(238, 241, 244, 0.72) 55%,
    var(--paper) 100%
  );
  pointer-events: none;
}

.card {
  position: relative;
  z-index: 1;
  width: min(28rem, 100%);
  margin: -1.75rem auto 0;
  padding: 0 var(--pad) 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
  flex: 1;
}

.identity {
  text-align: center;
}

.portrait {
  width: 6.75rem;
  height: 6.75rem;
  margin: 0 auto 1.15rem;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 1.05rem;
  border: 3px solid var(--white);
  box-shadow: 0 14px 36px rgba(15, 28, 46, 0.14);
  animation: rise 700ms cubic-bezier(0.22, 1, 0.36, 1) 40ms both;
}

.name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 9vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  animation: rise 800ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}

.title {
  margin: 0.75rem 0 0;
  color: var(--steel);
  font-size: clamp(0.92rem, 2.8vw, 1.02rem);
  font-weight: 500;
  line-height: 1.4;
  max-width: 22ch;
  margin-inline: auto;
  animation: rise 800ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

.company {
  margin: 0.9rem 0 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  animation: rise 800ms cubic-bezier(0.22, 1, 0.36, 1) 160ms both;
}

.company-link {
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}

.company-link:hover,
.company-link:focus-visible {
  border-bottom-color: var(--ink);
}

.dot {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--signal);
}

.actions {
  display: grid;
  gap: 0.75rem;
  animation: rise 850ms cubic-bezier(0.22, 1, 0.36, 1) 200ms both;
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.action:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.action--primary {
  background: var(--signal);
  color: var(--signal-ink);
  box-shadow: 0 10px 28px rgba(207, 0, 66, 0.24);
}

.action--primary:hover {
  background: #b5003a;
  transform: translateY(-1px);
}

.action--primary:active {
  transform: translateY(1px);
  box-shadow: none;
}

.action--ghost {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.action--ghost:hover {
  border-color: #9eabb8;
  transform: translateY(-1px);
}

.action--ghost:active {
  transform: translateY(1px);
  box-shadow: none;
}

.icon {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
  flex-shrink: 0;
}

.footer {
  margin-top: auto;
  padding: 1.15rem var(--pad) calc(1.15rem + env(safe-area-inset-bottom));
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  background: var(--ricoh-black);
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) 240ms both;
}

.ricoh {
  display: block;
  line-height: 0;
  border-radius: 0.2rem;
  transition: opacity 160ms ease;
}

.ricoh:hover,
.ricoh:focus-visible {
  opacity: 0.88;
}

.ricoh:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.ricoh-logo {
  width: 7.5rem;
  height: auto;
  display: block;
}

.site-link {
  color: #9a9a9a;
  font-size: 0.78rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.site-link:hover,
.site-link:focus-visible {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.license {
  margin: 0.15rem 0 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: #6f6f6f;
  font-size: 0.72rem;
  font-weight: 500;
}

.license a {
  color: #9a9a9a;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.license a:hover,
.license a:focus-visible {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

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

@media (min-width: 720px) {
  .banner {
    height: clamp(10rem, 18vw, 13.5rem);
  }

  .card {
    margin-top: -2.25rem;
    gap: 1.85rem;
  }

  .portrait {
    width: 7.25rem;
    height: 7.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner,
  .portrait,
  .name,
  .title,
  .company,
  .actions,
  .footer {
    animation: none;
  }

  .action,
  .company-link,
  .ricoh,
  .site-link {
    transition: none;
  }
}
