@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/dm-sans.woff2') format('woff2');
}
:root {
  color-scheme: dark;
  --bg: #181a17;
  --panel: #242820;
  --text: #f2f0e8;
  --muted: #b3b8ac;
  --accent: #c6d99e;
  --line: #3b4136;
  --red: #e7af9d;
  --radius: 16px;
  font-family: 'DM Sans', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; }
::selection { color: var(--bg); background: var(--accent); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
main:focus { outline: none; }
svg { width: 24px; height: 24px; flex-shrink: 0; display: block; }
.header, main, footer { width: min(1040px, calc(100% - 80px)); margin: auto; }
.header { height: 110px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { font-size: 39px; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.brand > span { color: var(--accent); }
.brand small { display: block; font-size: 11px; font-weight: 400; letter-spacing: .08em; margin-top: 7px; }
.header-note { display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .15em; color: var(--muted); }
.header-note i { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
h1, h2, h3, p { margin-top: 0; }
.home { padding-top: 48px; }
.intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; margin-bottom: 38px; }
.intro h1 { font-size: clamp(38px, 4vw, 55px); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; margin: 0; text-wrap: balance; }
em { font-style: normal; color: var(--accent); }
.intro > p { font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 300px; margin: 0 0 3px auto; }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.person-card { display: block; min-width: 0; border-radius: 180px 180px 0 0; }
.card-portrait { height: 400px; border-radius: 180px 180px var(--radius) var(--radius); overflow: hidden; position: relative; background: var(--person-color); }
img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-portrait img { transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.card-arrow { position: absolute; bottom: 20px; right: 20px; background: var(--text); color: var(--bg); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; transition: background .2s, transform .2s; }
.card-caption { display: flex; align-items: center; justify-content: space-between; padding: 20px 2px 24px; }
.card-caption h2 { display: flex; align-items: baseline; gap: 14px; font-size: 30px; font-weight: 500; letter-spacing: -.035em; margin: 0; }
.card-caption h2 span { font-size: 18px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.caption-dot { height: 5px; width: 5px; background: var(--accent); border-radius: 50%; }
.placeholder { height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; color: var(--bg); background: var(--person-color); }
.placeholder > span { font-size: 148px; font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.placeholder b { font-weight: 400; }
.placeholder small { font-size: 10px; letter-spacing: .18em; margin-top: 22px; }
.team-hint { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding: 19px 0; font-size: 12px; color: var(--muted); }
.team-hint > span:last-child { display: flex; align-items: center; gap: 9px; }
.team-hint svg { width: 15px; height: 15px; }
footer { display: flex; justify-content: space-between; padding: 32px 0 24px; color: var(--muted); font-size: 11px; }
.profile-nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; font-size: 13px; }
.profile-nav a { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.profile-nav svg { width: 18px; height: 18px; }
.profile-nav > span { color: var(--muted); font-size: 11px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.profile-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.profile-photo { height: 640px; border-radius: 160px 160px var(--radius) var(--radius); overflow: hidden; position: relative; background: var(--person-color); }
.profile-photo:after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #10140feF); pointer-events: none; }
.photo-caption { position: absolute; bottom: 32px; left: 30px; right: 24px; z-index: 1; }
.photo-caption h1 { font-size: clamp(48px, 5vw, 66px); font-weight: 500; line-height: 1; letter-spacing: -.04em; margin-bottom: 16px; overflow-wrap: anywhere; }
.photo-caption > span { font-size: 16px; }
.photo-caption b { padding: 0 8px; color: var(--accent); }
.profile-content { min-width: 0; padding-top: 8px; }
.profile-details h2 { font-size: 30px; font-weight: 500; letter-spacing: -.035em; margin-bottom: 16px; }
.profile-details h2 > span { color: var(--accent); }
.sector { font-size: 14px; color: var(--muted); }
.sector span { padding: 0 10px; }
.interests { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
.interests > span { border: 1px solid var(--line); border-radius: 30px; padding: 9px 15px; font-size: 13px; }
.flags { border-top: 1px solid var(--line); padding-top: 21px; margin-top: 22px; }
.flags h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; margin-bottom: 13px; }
.flags h3 > span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.green h3 { color: var(--accent); }
.red h3 { color: var(--red); }
.flags ul { list-style: none; padding: 0; margin: 0; }
.flags li { color: var(--text); font-size: 15px; line-height: 1.55; padding: 5px 0; }
.anecdote { border-left: 1px solid var(--line); padding-left: 17px; font-size: 14px; line-height: 1.7; color: var(--muted); margin: 25px 0; }
.pending-details { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 24px 0 44px; }
.actions { display: flex; gap: 12px; padding-top: 8px; }
.actions button { min-height: 62px; border-radius: 11px; display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 14px; transition: background .2s, transform .15s; }
.actions button:active { transform: scale(.97); }
.skip { width: 39%; border: 1px solid #66715b; background: transparent; color: var(--text); }
.like { flex: 1; border: 0; color: var(--bg); background: var(--accent); }
.actions svg { width: 25px; height: 25px; }
dialog { width: min(440px, calc(100% - 32px)); padding: 45px 32px 22px; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 20px; text-align: center; box-shadow: 0 24px 80px #0007; overscroll-behavior: contain; }
dialog[open] { animation: reveal .2s cubic-bezier(.2,.8,.2,1); }
dialog::backdrop { background: #0c100dcc; }
body:has(dialog[open]) { overflow: hidden; }
.close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; display: grid; place-items: center; background: none; color: var(--muted); border: 0; border-radius: 50%; }
.match-heart { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 25px; color: var(--accent); border: 1px solid #6c785d; border-radius: 50%; }
.match-heart svg { width: 34px; height: 34px; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--accent); margin-bottom: 20px; }
dialog h2 { font-size: 38px; font-weight: 500; letter-spacing: -.04em; line-height: 1.12; margin: 0; }
.match-copy { color: var(--muted); font-size: 16px; margin: 22px 0 28px; }
.instagram { display: flex; align-items: center; justify-content: space-between; min-height: 56px; width: 100%; padding: 15px 18px; border: 0; border-radius: 10px; background: var(--accent); color: var(--bg); font-weight: 500; }
.continue { min-height: 48px; padding: 14px 8px; background: none; border: 0; color: var(--muted); font-size: 13px; border-radius: 8px; }
#instagram-message { color: var(--accent); font-size: 13px; line-height: 1.5; margin: 14px 0 0; }
@keyframes reveal { from { transform: translateY(8px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
@media (hover: hover) {
  .person-card:hover img { transform: scale(1.025); }
  .person-card:hover .card-arrow { background: var(--accent); transform: translate(2px, -2px); }
  .like:hover, .instagram:hover { background: #d9e8bb; }
  .skip:hover, .close:hover, .continue:hover { background: #353d2e; }
  .profile-nav a:hover { color: var(--accent); }
}
@media (max-width: 900px) {
  .profile-layout { gap: 32px; }
  .profile-details h2 { font-size: 26px; }
  .actions button { font-size: 12px; gap: 8px; }
}
@media (max-width: 700px) {
  .header, main, footer { width: calc(100% - 40px); }
  .header { height: 92px; }
  .brand { font-size: 34px; }
  .brand small { font-size: 10px; }
  .header-note { font-size: 9px; letter-spacing: .08em; gap: 8px; }
  .home { padding-top: 32px; }
  .intro { display: block; margin-bottom: 30px; }
  .intro h1 { font-size: clamp(34px, 9.3vw, 44px); }
  .intro > p { font-size: 15px; max-width: 310px; margin: 18px 0 0; line-height: 1.6; }
  .team { grid-template-columns: 1fr; gap: 24px; }
  .card-portrait { height: 370px; border-radius: 160px 160px var(--radius) var(--radius); }
  .card-caption { padding: 18px 2px 12px; }
  .card-caption h2 { font-size: 29px; }
  .team-hint { font-size: 11px; gap: 18px; margin-top: 18px; align-items: start; }
  .team-hint > span:last-child { text-align: right; }
  .team-hint svg { flex-shrink: 0; }
  footer { font-size: 10px; padding-top: 25px; gap: 20px; }
  .profile-nav { min-height: 64px; }
  .profile-layout { display: flex; flex-direction: column; gap: 28px; }
  .profile-photo { width: 100%; height: 385px; border-radius: 140px 140px var(--radius) var(--radius); }
  .photo-caption { left: 24px; bottom: 25px; }
  .photo-caption h1 { font-size: 54px; }
  .photo-caption > span { font-size: 15px; }
  .profile-content { width: 100%; padding-top: 0; }
  .profile-details h2 { font-size: 28px; }
  .actions { position: static; padding: 15px 0 max(15px, env(safe-area-inset-bottom)); background: var(--bg); z-index: 2; border-top: 1px solid var(--line); }
  .actions button { font-size: 13px; min-height: 60px; }
}
@media (max-width: 360px) {
  .header-note { max-width: 125px; line-height: 1.6; }
  .card-portrait { height: 325px; }
  .profile-photo { height: 350px; }
  .actions button { font-size: 12px; gap: 6px; }
  .actions svg { width: 21px; height: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
