:root {
  --color-bg: #070708;
  --color-bg-elevated: #0e0e11;
  --color-ink: #f4f4f5;
  --color-ink-muted: #9ca3af;
  --color-ink-subtle: #6b7280;
  --color-accent: #e8e4dc;
  --color-accent-hover: #ffffff;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.14);
  --apple-mail-blue: #0a84ff;
  --apple-mail-blue-bright: #409cff;
  --apple-mail-blue-glow: rgba(10, 132, 255, 0.45);
  --font-display: "Syne", system-ui, sans-serif;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --max-width: 40rem;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  color: var(--color-bg);
  z-index: 100;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  left: 0.75rem;
}

.wrap {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.wrap--hero {
  position: relative;
  z-index: 1;
}

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

/* Header / hero */
.site-header {
  position: relative;
  padding: 2.75rem 0 2.5rem;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Photo + gradient scrim + type stacked so the name reads on her torso */
.hero-stack {
  position: relative;
  width: min(420px, 92vw);
  container-type: inline-size;
  container-name: hero;
}

.portrait {
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: none;
  border-radius: 0;
  background: var(--color-bg);
  box-shadow: none;
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to top,
    #070708 0%,
    rgba(7, 7, 8, 0.94) 22%,
    rgba(7, 7, 8, 0.72) 42%,
    rgba(7, 7, 8, 0.35) 62%,
    transparent 100%
  );
}

.hero-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  padding: 0 0.5rem 1.1rem;
  max-width: none;
}

.name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 0.45rem + 7.25cqi, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fafafa;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 0 24px rgba(0, 0, 0, 0.65);
  white-space: nowrap;
}

.tagline {
  margin: 0;
  max-width: 100%;
  font-size: clamp(0.625rem, 0.4rem + 2.35cqi, 0.78125rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 244, 245, 0.9);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 0 18px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

@container hero (max-width: 248px) {
  .name {
    white-space: normal;
    text-wrap: balance;
    max-width: 100%;
  }

  .tagline {
    white-space: normal;
    text-wrap: balance;
    letter-spacing: 0.1em;
  }
}

/* Main */
main {
  padding: 2.5rem 0 3rem;
}

.section {
  margin-bottom: 2.75rem;
}

.section:last-child {
  margin-bottom: 0;
}

.section-heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .card-list {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.card-list > li {
  position: relative;
  padding: 2px;
  margin: -2px;
  min-width: 0;
}

.card-list > li > .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card {
  position: relative;
  padding: 0;
  text-decoration: none;
  color: inherit;
  border-radius: calc(var(--radius) + 2px);
  isolation: isolate;
  transition: transform 0.25s ease;
}

.card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(
    from 140deg at 50% 50%,
    #833ab4,
    #fd1d1d,
    #fcb045,
    #833ab4,
    #e1306c,
    #833ab4
  );
  opacity: 0;
  filter: blur(10px);
  transform: scale(0.98);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    filter 0.3s ease;
  z-index: 0;
  pointer-events: none;
}

.card--instagram:hover .card-glow,
.card--instagram:focus-visible .card-glow {
  opacity: 0.42;
  transform: scale(1.01);
  filter: blur(11px);
}

.card-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem 1rem;
  padding: 0.85rem 1rem 0.85rem 0.85rem;
  border-radius: var(--radius);
  background: rgba(12, 12, 14, 0.92);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.card-avatar {
  flex-shrink: 0;
  width: clamp(3.25rem, 9.5vw, 4rem);
  height: clamp(3.25rem, 9.5vw, 4rem);
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.card-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.3rem;
  text-align: left;
}

.card--instagram:hover .card-inner,
.card--instagram:focus-visible .card-inner {
  border-color: rgba(225, 48, 108, 0.22);
  background: rgba(16, 14, 20, 0.96);
  box-shadow:
    0 0 0 1px rgba(131, 58, 180, 0.1),
    0 10px 28px rgba(0, 0, 0, 0.42),
    0 0 20px rgba(225, 48, 108, 0.08);
}

.card--instagram:hover,
.card--instagram:focus-visible {
  transform: translateY(-2px);
}

.card:focus-visible {
  outline: none;
}

.card:focus-visible .card-inner {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.card--instagram:hover .card-avatar,
.card--instagram:focus-visible .card-avatar {
  border-color: rgba(252, 176, 69, 0.28);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(225, 48, 108, 0.12),
    0 0 16px rgba(225, 48, 108, 0.1);
  transform: scale(1.015);
}

.card-title {
  display: block;
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
}

.card-title--multiline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08rem;
  line-height: 1.28;
}

.card-title-line {
  display: block;
}

.card-handle {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.card--instagram:hover .card-handle,
.card--instagram:focus-visible .card-handle {
  color: #fcb045;
}

@media (prefers-reduced-motion: reduce) {
  .card--instagram:hover .card-glow,
  .card--instagram:focus-visible .card-glow {
    opacity: 0.35;
    transform: scale(1);
    filter: blur(8px);
  }

  .card,
  .card-inner,
  .card-avatar,
  .card-handle {
    transition-duration: 0.01ms !important;
  }

  .card--instagram:hover .card-avatar,
  .card--instagram:focus-visible .card-avatar {
    transform: none;
  }
}

.section-cta {
  text-align: center;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  width: 100%;
}

.cta-btn-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.contact-intro {
  margin: 0;
  max-width: 26rem;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(244, 244, 245, 0.88);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.65rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  letter-spacing: 0.01em;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.btn-copy-email {
  border: 1.5px solid var(--apple-mail-blue);
  background: transparent;
  color: var(--apple-mail-blue-bright);
  box-shadow: 0 0 0 0 transparent;
}

.btn-copy-email:hover {
  background: rgba(10, 132, 255, 0.16);
  border-color: var(--apple-mail-blue-bright);
  color: #b8dfff;
  box-shadow:
    0 0 0 1px rgba(10, 132, 255, 0.25),
    0 0 28px var(--apple-mail-blue-glow),
    0 0 56px rgba(10, 132, 255, 0.15);
  transform: translateY(-1px);
}

.btn-copy-email:active {
  transform: translateY(0);
  background: rgba(10, 132, 255, 0.22);
}

.btn-copy-email:focus-visible {
  outline: 2px solid var(--apple-mail-blue-bright);
  outline-offset: 3px;
}

.btn-copy-icon {
  flex-shrink: 0;
}

.toast {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-align: center;
  color: rgba(250, 250, 250, 0.95);
  background: rgba(34, 34, 38, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  max-width: min(18rem, calc(100vw - 2rem));
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  transition:
    opacity 0.2s ease-out,
    visibility 0.2s ease-out,
    transform 0.2s ease-out;
}

.toast--adjacent {
  position: absolute;
  left: calc(100% + 0.55rem);
  top: 50%;
  z-index: 5;
  transform: translate(0, -50%) scale(0.96);
  white-space: nowrap;
}

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

@media (max-width: 520px) {
  .toast--adjacent {
    position: fixed;
    left: 50%;
    right: auto;
    top: auto;
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    z-index: 250;
    transform: translate(-50%, 10px) scale(0.96);
    text-align: center;
    white-space: nowrap;
    padding: 0.55rem 1.15rem;
    font-size: 0.8125rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  .toast {
    transition-duration: 0.01ms;
    transform: none;
  }

  .toast--adjacent {
    transform: translate(0, -50%);
  }

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

  @media (max-width: 520px) {
    .toast--adjacent {
      transform: translate(-50%, 0);
    }

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

  .btn-copy-email {
    transition-duration: 0.01ms;
  }
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.link-list li {
  margin-bottom: 0.65rem;
}

.link-list li:last-child {
  margin-bottom: 0;
}

.link-list a {
  color: var(--color-accent);
  font-weight: 500;
}

.link-list a:hover {
  color: var(--color-accent-hover);
}

.link-list a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.link-list--external a {
  text-decoration: none;
  color: var(--color-accent);
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 calc(100% - 0.08em);
  background-size: 0% 1px;
  padding-bottom: 0.06em;
  transition:
    color 0.2s ease,
    background-size 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.link-list--external a:hover,
.link-list--external a:focus-visible {
  color: #ff453a;
  background-size: 100% 1px;
}

.link-list--external a:focus-visible {
  outline: 2px solid rgba(255, 69, 58, 0.65);
  outline-offset: 3px;
}

.link-list--external .link-external {
  margin-left: 0.2em;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  opacity: 0.72;
  transition: opacity 0.2s ease;
}

.link-list--external a:hover .link-external,
.link-list--external a:focus-visible .link-external {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .link-list--external a {
    transition-duration: 0.01ms;
    background-size: 0 1px;
  }

  .link-list--external a:hover,
  .link-list--external a:focus-visible {
    background-size: 100% 1px;
  }

  .link-list--external .link-external {
    transition-duration: 0.01ms;
  }
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 220;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 16, 18, 0.92);
  color: #ececec;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.94);
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    visibility 0.32s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    color 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  color: #ffd4d2;
  background: rgba(32, 12, 14, 0.96);
  border-color: rgba(255, 82, 71, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 69, 58, 0.35),
    0 6px 28px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(255, 59, 48, 0.5),
    0 0 56px rgba(220, 38, 38, 0.38),
    0 0 88px rgba(180, 35, 45, 0.22);
  transform: translateY(-3px) scale(1.06);
}

.back-to-top:active {
  transform: translateY(-1px) scale(1.02);
}

.back-to-top:focus-visible {
  outline: 2px solid #ff6b5e;
  outline-offset: 3px;
}

.back-to-top-icon {
  display: block;
  margin-top: -1px;
}

/* Lift above mobile browser chrome; stronger edge so the control reads on small screens */
@media (max-width: 640px) {
  .back-to-top {
    right: max(0.85rem, env(safe-area-inset-right, 0px));
    bottom: max(
      5.5rem,
      calc(env(safe-area-inset-bottom, 0px) + 4.25rem)
    );
    width: 3.25rem;
    height: 3.25rem;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(28, 28, 32, 0.97);
    box-shadow:
      0 4px 18px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(255, 255, 255, 0.06);
  }

  .back-to-top-icon {
    width: 24px;
    height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition-duration: 0.15s;
  }

  .back-to-top:hover {
    box-shadow:
      0 0 0 1px rgba(255, 69, 58, 0.3),
      0 4px 20px rgba(0, 0, 0, 0.5),
      0 0 24px rgba(255, 59, 48, 0.35);
    transform: translateY(0) scale(1);
  }

  .back-to-top.is-visible:hover {
    transform: translateY(0) scale(1);
  }
}

/* Footer */
.site-footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--color-border);
}

.footer-note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-ink-subtle);
  text-align: center;
  letter-spacing: 0.04em;
}
