/* ============================================================
   DIGITAL BUSINESS CARD — design tokens
   Strict monochrome system: black is the root, white the ground.
   ============================================================ */

:root {
  --ink: #474747;
  /* root color — primary text, buttons, borders on focus */
  --ink-soft: #1c1c1a;
  /* hover state of ink surfaces */
  --paper: #ffffff;
  /* background */
  --paper-soft: #f6f6f3;
  /* secondary panel tint */
  --line: #e3e2dd;
  /* hairline borders */
  --line-strong: #c9c8c1;
  --mute: #999999;
  /* secondary text */
  --mute-2: #c7c7c7;
  /* tertiary / placeholder text */

  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-card: 0 1px 2px rgba(128, 128, 128, 0.04), 0 30px 60px -20px rgba(10, 10, 10, .18);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

svg {
  width: 18px;
  height: 18px;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ Backdrop ============ */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(var(--line-strong) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: -11px -11px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 78%);
  opacity: .55;
}

/* ============ Page / frame ============ */
.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 28px 16px 56px;
}

.card-frame {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-top: 6px;
  perspective: 1600px;
}

/* Crop marks — the card's signature motif, borrowed from print press-checks */
.crop {
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  opacity: .55;
}

.crop::before,
.crop::after {
  content: "";
  position: absolute;
  background: var(--ink);
}

.crop::before {
  width: 100%;
  height: 1px;
  top: 0;
  left: 0;
}

.crop::after {
  width: 1px;
  height: 100%;
  top: 0;
  left: 0;
}

.crop--tl {
  top: -9px;
  left: -9px;
}

.crop--tr {
  top: -9px;
  right: -9px;
  transform: scaleX(-1);
}

.crop--bl {
  bottom: -9px;
  left: -9px;
  transform: scaleY(-1);
}

.crop--br {
  bottom: -9px;
  right: -9px;
  transform: scale(-1, -1);
}

/* ============ Card ============ */
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .35s var(--ease);
}

.card:focus {
  outline: none;
}

/* ============ Product Slider ============ */
.slider-container {
  position: relative;
  width: 100%;
  height: 210px;
  background: var(--paper-soft);
  overflow: hidden;
  user-select: none;
}

.slider-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.5s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide img,
.slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Muted / autoplay indicator badge on video slides */
.slide-video-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 3px 9px 3px 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  pointer-events: none;
}

.slide-video-badge svg {
  width: 12px;
  height: 12px;
}

/* Tap-to-play overlay — shown when autoplay is blocked on mobile */
.video-tap-to-play::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}

.video-tap-to-play::before {
  content: "▶  Tap to Play";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 10px 20px;
  border-radius: 999px;
  pointer-events: none;
  white-space: nowrap;
}


.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), background 0.25s var(--ease), transform 0.2s var(--ease);
}

.slider-container:hover .slider-arrow {
  opacity: 1;
  pointer-events: auto;
}

.slider-arrow:hover {
  background: var(--paper);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.slider-arrow--prev {
  left: 12px;
}

.slider-arrow--next {
  right: 12px;
}

.slider-arrow svg {
  width: 16px;
  height: 16px;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--paper);
  transform: scale(1.2);
}

/* ============ Hero ============ */
.hero {
  padding: 12px 26px 26px;
  text-align: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.hero__top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
  pointer-events: none;
}

.hero__top .status,
.hero__top .icon-btn {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--mute);
  border: 1px solid var(--line);
  padding: 6px 11px 6px 9px;
  border-radius: 999px;
}

.status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .35;
    transform: scale(.72);
  }
}

.icon-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  flex-shrink: 0;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.icon-btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.icon-btn svg {
  width: 15px;
  height: 15px;
}

.avatar {
  position: relative;
  width: 96px;
  height: 96px;
  margin: -52px auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.avatar__ring {
  position: absolute;
  inset: -8px;
  border: 1px dashed #636467;
  border-radius: 50%;
  animation: spin 50s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.avatar__initials,
.avatar__logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--paper-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #636467;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  object-fit: cover;
  object-position: center;
}

/* Text-initials variant (fallback) */
.avatar__initials {
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 40px;
  letter-spacing: .01em;
  background: var(--ink);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute-2);
  margin-bottom: 10px;
  margin-top: 50px;
}

.name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 7vw, 38px);
  letter-spacing: -.01em;
  line-height: 1.06;
}

.brand-logo {
  max-width: 100%;
  width: 320px;
  height: auto;
  margin: 14px auto 10px;
  display: block;
  margin-top: 50px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.role {
  margin-top: 6px;
  font-size: 15px;
  color: var(--mute);
  font-weight: 500;
}

.tagline {
  margin: 14px auto 0;
  max-width: none;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* ============ Actions ============ */
.actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 13px 4px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .15s var(--ease);
}

.action-btn svg {
  width: 18px;
  height: 18px;
}

.action-btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.action-btn:active {
  transform: translateY(0) scale(.97);
}

.save-btn {
  width: 100%;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 15px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .01em;
  position: relative;
  overflow: hidden;
  transition: background .25s var(--ease), color .25s var(--ease), transform .15s var(--ease);
}

.save-btn:hover {
  background: var(--ink-soft);
}

.save-btn:active {
  transform: scale(.98);
}

/* ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: currentColor;
  opacity: .25;
  transform: scale(0);
  animation: ripple .6s var(--ease) forwards;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

/* ============ Info strip ============ */
.info-strip {
  padding: 6px 26px 4px;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row__icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--paper-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.info-row__icon svg {
  width: 15px;
  height: 15px;
}

.info-row__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.info-row__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute-2);
}

.info-row__value {
  font-size: 14.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mute);
  flex-shrink: 0;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.copy-btn svg {
  width: 14px;
  height: 14px;
}

.copy-btn:hover {
  background: var(--paper-soft);
  color: var(--ink);
}

/* ============ Section shared ============ */
.section {
  padding: 22px 26px;
  border-top: 1px solid var(--line);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
}

.section__sub {
  margin-top: 4px;
  font-size: 13px;
  color: var(--mute);
  margin-bottom: 16px;
}

/* ============ About accordion ============ */
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion__icon {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s var(--ease), background .25s var(--ease), color .25s var(--ease);
  flex-shrink: 0;
}

.accordion__icon svg {
  width: 13px;
  height: 13px;
}

.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(135deg);
  background: var(--ink);
  color: var(--paper);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}

.accordion__panel.is-open {
  grid-template-rows: 1fr;
}

.accordion__inner {
  overflow: hidden;
  min-height: 0;
}

.about-copy {
  padding-top: 16px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  text-align: justify;
}

.about-copy p {
  margin-bottom: 12px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.about-list li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
  align-items: flex-start;
}

.about-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  margin-top: 7px;
  flex-shrink: 0;
}

.about-quote {
  margin-top: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink);
  border-left: 2px solid var(--ink);
  padding-left: 14px;
}

/* ============ Highlights ============ */
.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  background: var(--paper-soft);
}

.highlight {
  padding: 20px 8px;
  text-align: center;
  position: relative;
}

.highlight:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: var(--line-strong);
}

.highlight__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 6vw, 27px);
}

.highlight__label {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ============ Services ============ */
.section__title--static {
  margin-bottom: 0;
}

.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 480px) {
  .services {
    grid-template-columns: 1fr 1fr;
  }
}

.service {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.service:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: 0 14px 30px -18px rgba(10, 10, 10, .35);
}

.service__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #636467;
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service__icon svg {
  width: 17px;
  height: 17px;
}

.service__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
}

.service__desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--mute);
  flex: 1;
}

.service__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.service__link svg {
  width: 12px;
  height: 12px;
  transition: transform .25s var(--ease);
}

.service:hover .service__link svg {
  transform: translateX(3px);
}

/* ============ Social ============ */
.social .section__title {
  text-align: center;
  margin-bottom: 16px;
}

.social__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.social__btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}

.social__btn svg {
  width: 17px;
  height: 17px;
}

.social__btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* ============ Footer ============ */
.footer {
  padding: 30px 26px 26px;
  text-align: center;
  border-top: 1px solid rgba(99, 100, 103, 0.18);
  background: #636467;
  color: #ffffff;
}

.footer__kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.footer__title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 6vw, 27px);
  line-height: 1.2;
  text-align: center;
  color: #ffffff;
}

.footer__cta {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #636467;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: 0 4px 16px rgba(99, 100, 103, 0.28);
}

.footer__cta svg {
  width: 15px;
  height: 15px;
  transition: transform .25s var(--ease);
}

.footer__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.38);
}

.footer__cta:hover svg {
  transform: translateX(3px);
}

.footer__ghost {
  display: block;
  margin: 14px auto 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s var(--ease);
}

.footer__ghost:hover {
  color: #ffffff;
}

.footer__rule {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 22px 0 16px;
}

.footer__fine {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .03em;
  color: rgba(255, 255, 255, 0.55);
}


/* ============ Toast ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 20px 40px -14px rgba(255, 255, 255, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 50;
  white-space: nowrap;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============ Scroll reveal ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

.service[data-reveal] {
  transition-delay: var(--stagger, 0ms);
}

/* ============ Responsive tuning ============ */
@media (min-width: 640px) {
  .page {
    padding: 56px 24px 80px;
  }

  .hero {
    padding: 30px 34px 32px;
  }

  .hero::after {
    left: 34px;
    right: 34px;
  }

  .info-strip {
    padding: 8px 34px 4px;
  }

  .section {
    padding: 26px 34px;
  }

  .footer {
    padding: 38px 34px 30px;
  }
}

@media (min-width: 860px) {
  .card-frame {
    max-width: 560px;
  }
}

/* ============ Motion & input preferences ============ */
@media (hover: none) {
  .card {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .card {
    transition: none;
  }
}