:root {
      --bg: #050608;
      --bg-alt: #0e1014;
      --fg: #f5f5f5;
      --muted: #8b8f98;
      --accent: #f0d28a;
      --border-subtle: rgba(255, 255, 255, 0.06);
      --card: #11141b;
      --radius-lg: 26px;
      --radius-md: 18px;
      --radius-pill: 999px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html,
    body {
      background: radial-gradient(circle at top, #161926 0, #050608 55%);
      color: var(--fg);
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      min-height: 100%;
      -webkit-font-smoothing: antialiased;
    }

    body {
      padding: 24px;
    }

    @media (max-width: 768px) {
      body {
        padding: 16px;
      }
    }

    .frame {
      max-width: 1240px;
      margin: 0 auto;
      border-radius: 32px;
      border: 1px solid rgba(255, 255, 255, 0.07);
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.8));
      box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.03);
      overflow: hidden;
      backdrop-filter: blur(18px);
    }

    .inner {
      padding: 26px 32px 32px;
    }

    @media (max-width: 768px) {
      .inner {
        padding: 18px 18px 22px;
      }
    }

    /* HEADER */

    .top-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      border-bottom: 1px solid var(--border-subtle);
      padding-bottom: 18px;
      margin-bottom: 22px;
    }

    .brand-lockup {
      display: flex;
      align-items: baseline;
      gap: 10px;
    }

    .brand-title {
      font-family: "Cormorant Garamond", "Times New Roman", serif;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      font-weight: 500;
      font-size: 0.95rem;
    }

    .brand-tagline {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.24em;
      color: var(--muted);
      opacity: 0.9;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 20px;
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: var(--muted);
    }

    .nav a {
      color: inherit;
      text-decoration: none;
      position: relative;
      padding-bottom: 4px;
    }

    .nav a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 1px;
      background: linear-gradient(90deg, var(--accent), #ffffff);
      transition: width 0.3s ease;
    }

    .nav a:hover::after {
      width: 100%;
    }

    .nav-pill {
      border-radius: var(--radius-pill);
      padding: 6px 14px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: radial-gradient(circle at top left, rgba(240, 210, 138, 0.16), transparent 55%);
      font-size: 0.7rem;
      color: var(--accent);
    }

    @media (max-width: 768px) {
      .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }
      .nav {
        width: 100%;
        justify-content: space-between;
      }
      .nav-pill {
        margin-left: auto;
      }
    }

    /* HERO */

    .hero {
      display: grid;
      grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
      gap: 40px;
      padding: 18px 0 30px;
      border-bottom: 1px solid var(--border-subtle);
    }

    @media (max-width: 900px) {
      .hero {
        grid-template-columns: 1fr;
        gap: 26px;
      }
    }

    .hero-main {
      padding-right: 24px;
      border-right: 1px solid var(--border-subtle);
    }

    @media (max-width: 900px) {
      .hero-main {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--border-subtle);
        padding-bottom: 22px;
      }
    }

    .hero-kicker {
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.24em;
      color: var(--muted);
      margin-bottom: 14px;
    }

    .hero-title {
      font-family: "Cormorant Garamond", "Times New Roman", serif;
      font-size: clamp(2.2rem, 4vw, 3.2rem);
      line-height: 1.1;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      margin-bottom: 14px;
    }

    .hero-subtitle {
      font-size: 0.96rem;
      color: var(--muted);
      max-width: 34rem;
    }

    .hero-subtitle span {
      color: var(--accent);
    }

    .badge-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 18px;
    }

    .badge {
      border-radius: var(--radius-pill);
      border: 1px solid rgba(255, 255, 255, 0.12);
      padding: 5px 11px;
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--muted);
      background: rgba(255, 255, 255, 0.02);
    }

    .badge strong {
      color: #ffffff;
      font-weight: 500;
    }

    .hero-side {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 16px;
    }

    .hero-block {
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-subtle);
      padding: 18px 18px 16px;
      background: radial-gradient(circle at top right, rgba(240, 210, 138, 0.13), rgba(2, 3, 8, 0.96));
    }

    .hero-block small {
      font-size: 0.72rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .hero-block h2 {
      margin-top: 10px;
      font-size: 1rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .hero-block p {
      margin-top: 8px;
      font-size: 0.84rem;
      color: var(--muted);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 16px;
    }

    .btn-main {
      border-radius: var(--radius-pill);
      border: none;
      padding: 10px 22px;
      font-size: 0.84rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      background: linear-gradient(135deg, var(--accent), #ffffff);
      color: #161616;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(0, 0, 0, 0.4);
      transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    }

    .btn-main span.icon {
      font-size: 0.9rem;
      transform: translateY(1px);
    }

    .btn-main:hover {
      transform: translateY(-1px);
      filter: brightness(1.02);
      box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(0, 0, 0, 0.5);
    }

    .btn-ghost {
      border-radius: var(--radius-pill);
      border: 1px solid rgba(255, 255, 255, 0.24);
      padding: 9px 18px;
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      background: rgba(255, 255, 255, 0.02);
      color: var(--fg);
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: background 0.18s ease, border 0.18s ease, color 0.18s ease;
    }

    .btn-ghost span.icon {
      font-size: 0.9rem;
      transform: translateY(1px);
    }

    .btn-ghost:hover {
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.5);
    }

    /* SOCIAL / LINK HUB */

    .grid-two {
      display: grid;
      grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
      gap: 26px;
      padding: 26px 0 30px;
      border-bottom: 1px solid var(--border-subtle);
    }

    @media (max-width: 900px) {
      .grid-two {
        grid-template-columns: 1fr;
      }
    }

    .statement-block {
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-subtle);
      padding: 20px 20px 18px;
      background: radial-gradient(circle at top left, rgba(240, 210, 138, 0.12), rgba(3, 5, 10, 0.95));
    }

    .statement-title {
      font-family: "Cormorant Garamond", "Times New Roman", serif;
      font-size: 1.4rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 10px;
    }

    .statement-body {
      font-size: 0.9rem;
      color: var(--muted);
      max-width: 38rem;
    }

    .statement-body p + p {
      margin-top: 10px;
    }

    .linkhub {
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-subtle);
      padding: 18px 18px 14px;
      background: linear-gradient(130deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.9));
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .linkhub-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
    }

    .linkhub-header h3 {
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-size: 0.8rem;
      color: var(--muted);
    }

    .linkhub-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    @media (max-width: 500px) {
      .linkhub-grid {
        grid-template-columns: 1fr;
      }
    }

    .linkhub-item {
      border-radius: var(--radius-md);
      border: 1px solid rgba(255, 255, 255, 0.12);
      padding: 10px 11px;
      background: radial-gradient(circle at top, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.9));
      display: flex;
      align-items: center;
      gap: 9px;
      cursor: pointer;
      text-decoration: none;
      color: var(--fg);
      font-size: 0.78rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      position: relative;
      overflow: hidden;
    }

    .linkhub-item::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top left, rgba(240, 210, 138, 0.18), transparent 60%);
      opacity: 0;
      transition: opacity 0.2s ease;
    }

    .linkhub-item:hover::after {
      opacity: 1;
    }

    .linkhub-labels {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .linkhub-name {
      z-index: 1;
    }

    .linkhub-meta {
      z-index: 1;
      font-size: 0.7rem;
      color: var(--muted);
      text-transform: none;
      letter-spacing: 0.02em;
    }

    .icon-circle {
      z-index: 1;
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.18);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.6);
    }

    .icon-circle svg {
      width: 14px;
      height: 14px;
    }

    .icon-circle path {
      fill: var(--fg);
    }

    /* JOURNAL SECTION */

    .journal {
      padding: 26px 0 10px;
    }

    .journal-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 14px;
      margin-bottom: 18px;
    }

    .journal-kicker {
      font-size: 0.72rem;
      letter-spacing: 0.24em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .journal-title {
      font-family: "Cormorant Garamond", "Times New Roman", serif;
      font-size: 1.3rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .journal-sub {
      font-size: 0.8rem;
      color: var(--muted);
      max-width: 19rem;
    }

    .journal-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
    }

    @media (max-width: 1024px) {
      .journal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 640px) {
      .journal-grid {
        grid-template-columns: 1fr;
      }
    }

    .journal-card {
      position: relative;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-subtle);
      background: radial-gradient(circle at top, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.9));
      padding: 13px 13px 12px;
      cursor: pointer;
      overflow: hidden;
      transition: transform 0.17s ease, box-shadow 0.17s ease, border-color 0.17s ease;
    }

    .journal-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 26px rgba(0, 0, 0, 0.8);
      border-color: rgba(240, 210, 138, 0.5);
    }

    .journal-pill {
      font-size: 0.68rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: var(--muted);
      margin-bottom: 6px;
    }

    .journal-card h3 {
      font-size: 0.9rem;
      letter-spacing: 0.09em;
      text-transform: uppercase;
      margin-bottom: 6px;
    }

    .journal-meta {
      font-size: 0.72rem;
      color: var(--muted);
      margin-bottom: 8px;
    }

    .journal-teaser {
      font-size: 0.78rem;
      color: var(--muted);
    }

    .journal-arrow {
      position: absolute;
      right: 11px;
      bottom: 9px;
      font-size: 0.92rem;
      color: var(--accent);
    }

    /* MODAL */

    .modal {
      position: fixed;
      inset: 0;
      background: rgba(3, 4, 8, 0.87);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease;
      z-index: 80;
    }

    @media (max-width: 640px) {
      .modal {
        padding: 12px;
      }
    }

    .modal.is-open {
      opacity: 1;
      pointer-events: auto;
    }

    .modal-inner {
      width: 100%;
      max-width: 720px;
      max-height: 90vh;
      border-radius: 24px;
      background: radial-gradient(circle at top, #171926, #050608);
      border: 1px solid rgba(255, 255, 255, 0.14);
      box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.02);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .modal-header {
      padding: 16px 20px 10px;
      border-bottom: 1px solid var(--border-subtle);
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 8px;
    }

    .modal-label {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: var(--muted);
      margin-bottom: 6px;
    }

    .modal-title {
      font-family: "Cormorant Garamond", "Times New Roman", serif;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-size: 1rem;
    }

    .modal-meta {
      font-size: 0.72rem;
      color: var(--muted);
      margin-top: 4px;
    }

    .modal-close {
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.24);
      width: 26px;
      height: 26px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.8);
      color: var(--muted);
      cursor: pointer;
      font-size: 0.9rem;
      flex-shrink: 0;
    }

    .modal-close:hover {
      color: var(--fg);
      border-color: rgba(255, 255, 255, 0.7);
    }

    .modal-body {
      padding: 16px 20px 18px;
      overflow-y: auto;
      scrollbar-width: thin;
      scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
      font-size: 0.86rem;
      color: var(--muted);
    }

    .modal-body p + p {
      margin-top: 10px;
    }

    .modal-body em {
      color: var(--accent);
      font-style: normal;
    }

    .modal-body strong {
      color: #ffffff;
      font-weight: 500;
    }

    /* FOOTER */

    footer {
      padding-top: 18px;
      margin-top: 8px;
      border-top: 1px solid var(--border-subtle);
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 10px;
      font-size: 0.74rem;
      color: var(--muted);
    }

    footer span.highlight {
      color: var(--accent);
    }
      
      /* ----------------------------- */
/*  MOBILE PORTRAIT CIRCLE      */
/* ----------------------------- */
.profile-circle-mobile {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
  margin: 0 auto 22px auto;  /* center top */
  display: none; /* hidden on desktop by default */
}

.profile-circle-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Show mobile circle only on screens < 900px */
@media (max-width: 900px) {
  .profile-circle-mobile {
    display: block;
  }
}

/* DESKTOP PORTRAIT — FLOAT RIGHT ABOVE FEATURED BOX */
.profile-circle-desktop {
  position: relative;
    margin: auto;
    text-align: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(240,210,138,0.28);
  background: radial-gradient(circle at top, rgba(240,210,138,0.12), rgba(0,0,0,0.55));
  box-shadow:
     0 0 12px rgba(240,210,138,0.1),
     0 0 2px rgba(255,255,255,0.06) inset;
  z-index: 5;
  display: block;
}

.profile-circle-desktop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* hide on mobile */
@media (max-width: 900px) {
  .profile-circle-desktop {
    display: none;
  }
}

/* IMPORTANT — hero-side must be relative */
.hero-side {
  position: relative;
}
      .profile-circle-desktop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/grain.png?v1');
  opacity: .08; 
  pointer-events: none;
}