/* M&T link-in-bio. Flat and line-driven: borders and hairlines, no shadows. */

:root {
  color-scheme: light dark;
  --bg: #FFFFFF;
  --ink: #1C1916;
  --mute: #6E6053;
  --sand: #F1ECE5;
  --btn-bg: #1C1916;
  --btn-fg: #FFFFFF;
  --border: #8C7F72;
  --photo: #B3A595;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --accent: "Cormorant Garamond", Garamond, Georgia, serif;
  --body: "Lora", Georgia, "Times New Roman", serif;
  --ui: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151210;
    --ink: #F1ECE5;
    --mute: #B8AB9C;
    --sand: #201B17;
    --btn-bg: #F1ECE5;
    --btn-fg: #1C1916;
    --border: #8F8377;
    --photo: #3A342E;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 28px;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

a { color: var(--ink); }
a:hover { color: var(--mute); }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100vh;
}

.photo {
  display: block;
  width: 132px;
  height: 172px;
  border-radius: 9999px;
  object-fit: cover;
  background: var(--photo);
}

.eyebrow {
  margin: 24px 0 8px;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.name {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
}
.name-lead { display: block; font-style: italic; font-size: 22px; line-height: 28px; }
.name-main { display: block; font-size: 36px; line-height: 42px; letter-spacing: -0.005em; }

.tagline {
  margin: 16px 0 0;
  font-family: var(--accent);
  font-weight: 500;
  font-size: 24px;
  line-height: 30px;
}
.tagline-sub {
  margin: 4px 0 0;
  font-family: var(--accent);
  font-weight: 500;
  font-style: italic;
  font-size: 20px;
  line-height: 28px;
  color: var(--mute);
}

.links { width: 100%; margin-top: 28px; }
.links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }

.lk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 0 20px;
  border-radius: 2px;
  text-decoration: none;
  text-align: left;
}
.lk-text { display: flex; flex-direction: column; gap: 2px; }
.lk-label { font-family: var(--ui); font-weight: 600; font-size: 14px; line-height: 20px; letter-spacing: 0.06em; }
.lk-handle { font-family: var(--ui); font-weight: 500; font-size: 13px; line-height: 18px; }
.lk svg { flex: none; }

.lk-p { background: var(--btn-bg); color: var(--btn-fg); }
.lk-p .lk-handle { opacity: 0.85; }
.lk-p:hover { background: var(--mute); color: var(--btn-fg); }
.lk-p:focus-visible { outline-color: var(--ink); }

.lk-o { border: 1px solid var(--border); color: var(--ink); }
.lk-o .lk-handle { color: var(--mute); }
.lk-o:hover { background: var(--sand); color: var(--ink); }

.lk-soon { border: 1px dashed var(--border); color: var(--ink); cursor: default; }
.lk-soon .lk-handle { color: var(--mute); }

.story { width: 100%; margin-top: 32px; }
.story .eyebrow { margin: 0 0 16px; }
.story p { margin: 0 0 16px; font-size: 17px; line-height: 28px; }
.story p:last-child { margin-bottom: 0; }

.contact { width: 100%; margin-top: 32px; }
.contact .eyebrow { margin: 0 0 16px; }
.c-label { margin: 0; font-family: var(--ui); font-weight: 500; font-size: 13px; line-height: 18px; color: var(--mute); }
.c-mail { margin: 2px 0 16px; font-size: 17px; line-height: 28px; }
.c-mail:last-child { margin-bottom: 0; }
.c-mail a { text-decoration: underline; text-underline-offset: 3px; }

.footer { margin: auto 0 0; padding-top: 32px; font-size: 15px; line-height: 24px; color: var(--mute); }

@media (min-width: 641px) {
  .page { padding: 72px 24px 56px; }
  .photo { width: 150px; height: 196px; }
  .eyebrow { margin-top: 28px; }
  .name-lead { font-size: 24px; line-height: 30px; }
  .name-main { font-size: 44px; line-height: 52px; }
  .tagline { font-size: 26px; line-height: 32px; }
  .tagline-sub { font-size: 22px; line-height: 30px; }
  .links { margin-top: 32px; }
  .lk { padding: 0 24px; }
  .story { margin-top: 40px; }
  .contact { margin-top: 40px; }
  .contact .eyebrow { margin-top: 0; }
}
