/* build 1.1.9 */
/* build 1.1.6 */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0a0a0a;
  --bg-glow: #141210;
  --ink: #f3eee6;
  --muted: #c4bbb0;
  --accent: #c6a36a;
  --accent-soft: rgba(198, 163, 106, 0.55);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Iowan Old Style",
    Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --pad: clamp(1.5rem, 5vw, 3.5rem);
}

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

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

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
}

body {
  min-height: 100dvh;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, var(--bg-glow) 0%, var(--bg) 72%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

.frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100dvh;
  padding: calc(var(--pad) + 0.5rem) var(--pad) var(--pad);
  text-align: center;
}

.mast,
main,
footer {
  width: 100%;
  max-width: 38rem;
}

.mast {
  margin-top: auto;
}

.portrait {
  display: block;
  width: 5.25rem;
  height: 5.25rem;
  margin: 0 auto 1.85rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 16%;
  border: 1px solid var(--accent-soft);
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 8.5vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.subtitle {
  margin: 0.95rem 0 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  padding-inline-start: 0.32em;
}

.rule {
  display: block;
  width: 2.35rem;
  height: 1px;
  margin: 1.35rem auto 0;
  background: var(--accent);
  opacity: 0.55;
}

.place {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-inline-start: 0.18em;
}

main {
  margin-top: 2.75rem;
}

.quote {
  margin: 0 auto;
  max-width: min(40rem, 100%);
  padding: 0;
  border: 0;
  font-family: var(--serif);
  font-size: clamp(0.88rem, 1.85vw, 1.08rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: 0.015em;
  color: var(--ink);
  white-space: nowrap;
}

.quote p {
  margin: 0;
}

@media (max-width: 36rem) {
  .quote {
    white-space: normal;
    font-size: clamp(0.92rem, 3.4vw, 1.08rem);
  }
}

.talk-wrap {
  margin: 2.15rem 0 0;
}

.talk-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  background: transparent;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.talk-btn:hover,
.talk-btn:focus-visible {
  background: var(--accent);
  color: var(--bg);
  border-color: transparent;
}

.talk-btn:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

.pillars {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.55rem 0;
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.pillars li {
  padding: 0 0.85rem;
  position: relative;
}

.pillars li + li::before {
  content: "·";
  position: absolute;
  left: -0.12rem;
  color: var(--accent-soft);
  font-weight: 300;
}

.elsewhere {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.65rem;
  margin-top: 2.35rem;
}

.elsewhere a {
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 0.18rem;
  border-bottom: 1px solid transparent;
  transition: color 0.45s ease, border-color 0.45s ease;
}

.elsewhere a:hover,
.elsewhere a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent-soft);
}

.elsewhere a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 6px;
}

footer {
  margin-top: auto;
  padding-top: 3.5rem;
}

footer p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7d766c;
}

.portrait,
.mast h1,
.subtitle,
.rule,
.place,
.quote,
.pillars,
.talk-wrap,
.elsewhere,
footer {
  animation: fade-in 1.35s ease both;
}

.portrait {
  animation-delay: 0.08s;
}

.mast h1 {
  animation-delay: 0.22s;
}

.subtitle {
  animation-delay: 0.38s;
}

.rule {
  animation-delay: 0.5s;
}

.place {
  animation-delay: 0.62s;
}

.quote {
  animation-delay: 0.78s;
}

.talk-wrap {
  animation-delay: 1.04s;
}

.pillars {
  animation-delay: 0.96s;
}

.elsewhere {
  animation-delay: 1.16s;
}

footer {
  animation-delay: 1.24s;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}



@media (max-width: 40rem) {
  .portrait {
    width: 4.65rem;
    height: 4.65rem;
    margin-bottom: 1.5rem;
  }

  .pillars {
    letter-spacing: 0.12em;
  }

  main {
    margin-top: 2.15rem;
  }

  .elsewhere {
    gap: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portrait,
  .mast h1,
  .subtitle,
  .rule,
  .place,
  .quote,
  .pillars,
  .talk-wrap,
  .elsewhere,
  footer {
    animation: none;
  }
}

/* Hide the default ElevenLabs floating bubble — only the center Talk button is the entry */
elevenlabs-convai {
  position: fixed !important;
  right: 1.25rem !important;
  bottom: 1.25rem !important;
  z-index: 40;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

/* While a session is open, allow the conversation panel to show */
body.twin-active elevenlabs-convai {
  opacity: 1 !important;
  pointer-events: auto !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
}

