/* Lumintel contact pages. Tokens follow Lumintel-Website/src/styles/tokens.css (Lucerna, neutral only). */

@font-face { font-family: 'Satoshi'; src: url('/assets/fonts/Satoshi-Variable.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/Fraunces-latin.woff2') format('woff2'); font-weight: 300; font-display: swap; }

:root {
  /* Logo tuning: width of the lockup image, which carries its own transparent padding. */
  --logo-w: 270px;
  --logo-mt: -8px;   /* pulls the image up into the page's top padding */
  --logo-mb: -14px;  /* pulls the photo up toward the logo */
  --white: #ffffff;
  --off-white: #f7f9fb;
  --ink: #141414;
  --gray: #666666;
  --gray-soft: #767676;
  --black: #000000;
  --charcoal: #3c3c3c;
  --hairline: rgba(0, 0, 0, 0.12);
  --font-sans: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --r-md: 12px;
  --r-lg: 24px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

.page {
  max-width: 460px;
  margin: 0 auto;
  padding: 24px 20px 56px;
}

/* Header */
.brand { display: flex; justify-content: center; margin: var(--logo-mt) 0 var(--logo-mb); }
.brand img { width: var(--logo-w); max-width: 100%; height: auto; display: block; }

.profile { text-align: center; }
.profile__photo {
  width: 128px; height: 128px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 22px;
  background: var(--off-white);
}
.profile__name {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.profile__title {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray);
}
.profile__tagline {
  margin: 20px auto 0;
  max-width: 30ch;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.35;
  color: var(--ink);
  text-wrap: balance;
}

/* Quick actions */
.actions {
  display: grid;
  grid-template-columns: repeat(var(--count, 4), minmax(0, 104px));
  justify-content: center;
  gap: clamp(4px, 2.4vw, 16px);
  margin: 4px 0;
}
.action {
  appearance: none; background: none; border: 0; font: inherit; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 4px 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gray);
  white-space: nowrap;
  transition: opacity 200ms var(--ease);
}
.action__icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  display: grid; place-items: center;
  color: var(--ink);
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.action__icon svg { width: 24px; height: 24px; }
.action:hover .action__icon { background: var(--off-white); border-color: rgba(0, 0, 0, 0.2); }
.actions { align-items: end; }
.action.is-primary .action__icon, .actions--filled .action__icon { background: var(--black); color: var(--white); border-color: var(--black); }
.action.is-primary:hover .action__icon, .actions--filled .action:hover .action__icon { background: var(--charcoal); border-color: var(--charcoal); }
.action.is-big .action__icon { width: 76px; height: 76px; }
.action.is-big .action__icon svg { width: 26px; height: 26px; }
.action.is-primary { color: var(--ink); }
.actions--nolabels { grid-template-columns: repeat(var(--count, 4), 48px); gap: 14px; }
.actions--nolabels .action { gap: 0; }
.actions--nolabels .action__icon { width: 48px; height: 48px; }
.hero__block:has(.btn--sm) { display: flex; justify-content: center; }
.btn.btn--sm { width: auto; padding: 10px 18px; font-size: 14px; gap: 8px; }
.action:active .action__icon { transform: scale(0.96); }

/* Hero: contact actions under the name */
.hero { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.hero__block--iconstrip { margin-top: -14px; margin-bottom: 14px; }
.hero__block--textlinks { margin-top: 4px; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 16px 22px;
  border-radius: var(--r-pill);
  border: 1px solid var(--black);
  font-size: 16px; font-weight: 500;
  white-space: nowrap;
  transition: transform 200ms var(--ease), background 200ms var(--ease), opacity 200ms var(--ease);
}
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { opacity: 0.86; }
.btn--light { background: transparent; color: var(--ink); border-color: rgba(0, 0, 0, 0.22); }
.btn--light:hover { background: var(--off-white); }
.btn:active { transform: scale(0.985); }
.btnpair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btnpair .btn { padding: 16px 12px; font-size: 15px; gap: 8px; }

.textlinks {
  margin: 0;
  display: flex; justify-content: center; align-items: center; gap: 14px;
  font-size: 15px; font-weight: 500; color: var(--gray-soft);
}
.textlinks a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); transition: opacity 200ms var(--ease); }
.textlinks a:hover { opacity: 0.55; }

.iconstrip { display: flex; justify-content: center; gap: 22px; }
.iconstrip a { color: var(--ink); padding: 6px; border-radius: 8px; transition: opacity 200ms var(--ease); }
.iconstrip a:hover { opacity: 0.55; }

.ccard {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 6px 18px 18px;
}
.ccard__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
}
.ccard__row + .btn { margin-top: 16px; }
.ccard__k { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-soft); }
.ccard__v { font-weight: 500; overflow-wrap: anywhere; text-align: right; }

/* Primary CTA */
.cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 17px 26px;
  border-radius: var(--r-pill);
  background: var(--black);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}
.cta:hover { opacity: 0.86; }
.cta:active { transform: scale(0.985); }

/* Ruled link rows */
.group { margin-top: 40px; }
.group__label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-soft);
}
.rows { list-style: none; margin: 0; padding: 0; }
.row {
  display: grid;
  grid-template-columns: 52px 1fr 18px;
  align-items: center;
  gap: 16px;
  margin: 0 -10px;
  padding: 12px 10px;
  border-radius: 16px;
  transition: background 200ms var(--ease);
}
.rows li + li { border-top: 1px solid var(--hairline); }
.rows li:has(.row:hover) + li, .rows li:has(.row:hover) { border-color: transparent; }
.row:hover { background: var(--off-white); }
.row__thumb, .row__tile {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  object-fit: cover;
  border: 1px solid var(--hairline);
}
.row__tile { background: var(--black); color: var(--white); border-color: var(--black); }
.row__tile--light { background: var(--white); color: var(--ink); border-color: var(--hairline); }
.row__logo { width: 30px; height: auto; display: block; }
.row__mono { font-size: 22px; font-weight: 700; line-height: 1; letter-spacing: -0.01em; }
.row__text { min-width: 0; }
.row__label { display: block; font-weight: 500; line-height: 1.3; }
.row__sub { display: block; margin-top: 2px; font-size: 14px; color: var(--gray); overflow-wrap: anywhere; }
.row__arrow { color: var(--gray-soft); display: grid; place-items: center; transition: transform 200ms var(--ease), color 200ms var(--ease); }
.row:hover .row__arrow, .feature:hover .row__arrow { transform: translate(2px, -2px); color: var(--ink); }

/* Feature cards: photography leads, text sits below */
.feature { display: block; margin: 6px 0 14px; }
.feature__img {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background: var(--off-white);
  transition: transform 550ms var(--ease);
}
.feature:hover .feature__img { transform: scale(1.012); }
.feature__text { display: grid; grid-template-columns: 1fr 18px; gap: 16px; align-items: center; padding: 14px 2px 0; }

/* Footer */
.foot {
  margin-top: 48px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center;
}
.foot__tools { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink);
  font: 500 14px/1 var(--font-sans);
  cursor: pointer;
  transition: background 200ms var(--ease);
}
.pill:hover { background: var(--off-white); }
.pill--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.pill--dark:hover { background: var(--black); opacity: 0.86; }
.foot__meta { margin: 0; font-size: 13px; color: var(--gray); }

/* QR dialog */
.qr {
  border: 0;
  border-radius: var(--r-lg);
  padding: 32px 28px 24px;
  width: min(340px, calc(100vw - 32px));
  text-align: center;
  color: var(--ink);
}
.qr::backdrop { background: rgba(0, 0, 0, 0.55); }
.qr img { width: 100%; height: auto; display: block; }
.qr__name { margin: 16px 0 2px; font-weight: 700; font-size: 18px; }
.qr__url { margin: 0 0 20px; font-size: 14px; color: var(--gray); }
.qr { margin: auto; inset: 0; }
.qr__share { cursor: pointer; font-family: inherit; }
.qr__url { margin-bottom: 14px; }
.qr__or {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray-soft);
}
.qr__or::before, .qr__or::after { content: ''; flex: 1; height: 1px; background: var(--hairline); }
.qr__tools { display: flex; gap: 8px; justify-content: center; }
.qr__tools form { margin: 0; }
.toast { z-index: 10; }

.toast {
  position: fixed; left: 50%; bottom: 24px;
  transform: translate(-50%, 12px);
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--black); color: var(--white);
  font-size: 14px; font-weight: 500;
  opacity: 0; pointer-events: none;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Entrance */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise 550ms var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}
