  :root {
    --ivory: #f4efe6;
    --ivory-2: #ebe4d6;
    --ink: #1a1814;
    --ink-2: #3a352c;
    --muted: #6b6457;
    --rule: #c9bfa9;
    --oxblood: #6b1f1a;
    --serif: 'Cormorant Garamond', serif;
    --sans: 'Inter', sans-serif;
  }

  * {
    box-sizing: border-box;
  }

  body {
    background: var(--ivory);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    margin: 0;
    -webkit-font-smoothing: antialiased;
  }

  ::selection {
    background: var(--oxblood);
    color: var(--ivory);
  }

  a {
    color: inherit;
  }
  a.text-orange {
    color: var(--oxblood);
  }

  /* Mode switcher (prototype only) */
  .mode-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: var(--ivory);
    padding: 6px;
    border-radius: 999px;
    z-index: 1000;
    display: flex;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }

  .mode-bar button {
    background: transparent;
    color: rgba(244, 239, 230, 0.6);
    border: 0;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-family: var(--sans);
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
  }

  .mode-bar button:hover {
    color: var(--ivory);
  }

  .mode-bar button.active {
    background: var(--ivory);
    color: var(--ink);
  }

  /* Navbar */
  .main-nav {
    display: flex;
    align-items: center;
  }
  .main-nav .nav-link {
    color: var(--ivory);
    opacity: .7;
    margin-right: 35px;
    font-size: 13px;
    transition: .5s;
  }
  .main-nav .nav-link:hover {
    opacity: 1;
    color: #fff;
    transition: .5s;
  }
  .main-nav .nav-link.active {
    font-weight: bold;
    opacity: 1;
    color: #fff;
  }
  .main-nav .nav-link.disabled{
    opacity: .4;
  }
  .main-nav .nav-label {
    display: none;
  }
  .main-nav .fa-lock {
    display: none;
  }
  .main-nav .fas, .main-nav .fal {
    margin-right: 5px;
  }
  .nav-truly {
    background: var(--ivory);
    border-bottom: 0.5px solid var(--rule);
    padding: 22px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-truly .brand {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--ink);
    text-decoration: none;
  }

  .nav-truly .brand em {
    font-style: italic;
    color: var(--oxblood);
  }

  .nav-actions {
    display: flex;
    gap: 24px;
    align-items: center;
  }

  .nav-actions a {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    cursor: pointer;
  }

  .nav-actions a:hover {
    color: var(--oxblood);
  }

  .nav-actions a.primary {
    color: var(--ink);
    border-bottom: 0.5px solid var(--ink);
    padding-bottom: 2px;
  }
  .text-oxblood {
    color: var(--oxblood);
  }
  .inner-sidebar {
    min-width: 250px;
  }
  .inner-sidebar .nav-link {
    font-size: 13px;
    display: block;
    padding: 10px;
    margin-bottom: 1px;
    border-left: 2px solid transparent;
  }
  .inner-sidebar .nav-link:hover {
    background-color: var(--cream);
    border-left: 2px solid var(--gold);
  }
  .inner-sidebar .nav-link.active {
    background-color: var(--cream);
    border-left: 2px solid var(--oxblood);
  }
  /* Page container */
  .page {
    max-width: 720px;
    min-width: 700px;
    margin: 0 auto;
    padding: 60px 32px 140px;
  }
  .page-wide {
    min-width: 68vw
  }

  .page-narrow {
    max-width: 520px;
  }

  /* Mode hidden */
  .mode {
    display: none;
  }

  .mode.active {
    display: block;
  }

  /* Eyebrow + headings */
  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--oxblood);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .eyebrow:not(.no-line)::before {
    content: '';
    width: 24px;
    height: 0.5px;
    background: var(--oxblood);
  }

  h1.display {
    font-family: var(--serif);
    font-size: 44px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin: 0 0 14px;
  }

  h1.display em {
    font-style: italic;
    color: var(--oxblood);
    font-weight: 700;
  }

  .lede {
    font-size: 17px;
    color: var(--ink-2);
    margin: 0 0 36px;
    max-width: 460px;
  }

  /* Buttons */
  .btn-truly {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--ink);
    color: var(--ivory);
    padding: 16px 32px;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    font-family: var(--sans);
    font-weight: 500;
    transition: background .2s;
  }

  .btn-truly:hover {
    background: var(--oxblood);
    color: var(--ivory);
  }

  .btn-truly:not(.no-arrow)::after {
    content: '→';
    font-size: 16px;
  }

  .btn-ghost {
    background: transparent;
    color: var(--muted);
    padding: 16px 0;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 0;
    cursor: pointer;
    font-family: var(--sans);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 0.5px;
  }

  .btn-ghost:hover {
    color: var(--oxblood);
  }

  /* Inputs */
  .field {
    margin-bottom: 28px;
  }

  .field label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
    font-weight: 500;
  }

  .field input,
  .field textarea,
  .field select {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 0.5px solid var(--rule);
    padding: 8px 0;
    font-family: var(--serif);
    font-size: 22px;
    color: var(--ink);
    outline: none;
    transition: border-color .2s;
  }

  .field input:focus,
  .field textarea:focus,
  .field select:focus {
    border-bottom-color: var(--oxblood);
  }

  .field textarea {
    resize: none;
    min-height: 80px;
    line-height: 1.4;
  }

  .field .hint {
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px;
    font-style: italic;
    font-family: var(--serif);
  }

  .row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  /* Photo upload */
  .photo-upload {
    width: 100%;
    aspect-ratio: 5/5;
    background: var(--ivory-2);
    border: 0.5px solid var(--rule);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: var(--serif);
    font-style: italic;
    color: var(--muted);
    font-size: 15px;
    transition: border-color .2s;
  }

  .photo-upload:hover {
    border-color: var(--oxblood);
  }

  /* ===== Wizard ===== */
  .wizard-progress {
    display: flex;
    /* gap: 6px; */
    margin-bottom: 40px;
  }

  .wizard-progress .step {
    flex: 1;
    height: 2px;
    background: var(--rule);
  }

  .wizard-progress .step.done {
    background: var(--oxblood);
  }

  .wizard-progress .step.current {
    background: var(--ink);
  }

  .wizard-step {
    display: none;
  }

  .wizard-step.active {
    display: block;
  }

  .wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
  }

  .wizard-nav .skip {
    font-size: 20px;
    color: var(--muted);
    font-style: italic;
    font-family: var(--serif);
    background: transparent;
    border: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 0.5px;
  }

  .wizard-nav .skip:hover {
    color: var(--oxblood);
  }

  /* ===== View Mode ===== */
  .completeness {
    background: var(--ivory-2);
    border-left: 2px solid var(--oxblood);
    padding: 18px 24px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .completeness .left {
    flex: 1;
  }

  .completeness .pct {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--ink);
    margin-bottom: 4px;
  }

  .completeness .pct em {
    font-style: italic;
    color: var(--oxblood);
    font-weight: 700;
  }

  .completeness .msg {
    font-size: 13px;
    color: var(--muted);
  }

  .completeness button {
    background: var(--ink);
    color: var(--ivory);
    border: 0;
    padding: 10px 20px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: var(--sans);
    font-weight: 500;
    white-space: nowrap;
  }

  .completeness button:hover {
    background: var(--oxblood);
  }

  .profile-photo {
    width: 100%;
    max-width: 320px;
    /* aspect-ratio: 4/5; */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border: 0.5px solid var(--rule);
    margin-bottom: 28px;
  }

  .profile-name {
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 400;
    line-height: 1.05;
    margin: 0 0 4px;
  }

  .profile-meta {
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 32px;
  }

  .profile-section {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 0.5px solid var(--rule);
    position: relative;
  }

  .profile-section:last-child {
    border-bottom: none;
  }

  .profile-section .label {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--oxblood);
    margin-bottom: 12px;
    font-weight: 500;
  }

  .profile-section .body {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.4;
    color: var(--ink);
  }

  .profile-section .body.muted {
    color: var(--muted);
    font-style: italic;
    font-size: 18px;
  }

  .edit-pencil {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 4px 8px;
    opacity: 0;
    transition: opacity .2s, color .2s;
  }

  .profile-section:hover .edit-pencil {
    opacity: 1;
  }

  .edit-pencil:hover {
    color: var(--oxblood);
  }

  .verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ivory-2);
    border: 0.5px solid var(--rule);
    padding: 8px 16px;
    margin-bottom: 28px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--oxblood);
    font-weight: 500;
  }

  .verified-badge::before {
    content: '✓';
    font-weight: 700;
  }

  /* ===== Edit Mode ===== */
  .edit-section {
    margin-bottom: 60px;
    padding-bottom: 50px;
    border-bottom: 0.5px solid var(--rule);
  }

  .edit-section:last-child {
    border-bottom: none;
  }

  .edit-section-header {
    margin-bottom: 32px;
  }

  .edit-section-header h2 {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
    margin: 0 0 6px;
  }

  .edit-section-header h2 em {
    font-style: italic;
    color: var(--oxblood);
    font-weight: 700;
  }

  .edit-section-header .who {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .edit-section-header .who.public {
    color: var(--oxblood);
  }

  .edit-actions {
    position: sticky;
    bottom: 80px;
    background: var(--ivory);
    border-top: 0.5px solid var(--rule);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
  }

  .edit-actions .saved {
    font-size: 12px;
    color: var(--muted);
    font-style: italic;
    font-family: var(--serif);
  }

  /* Mobile */
  @media (max-width: 767px) {
    .page {
      min-width: auto;
    }
    .inner-sidebar {
      display: flex;
      justify-content: space-between;
      border:1px solid var(--gold-light);
      overflow: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    .inner-sidebar::-webkit-scrollbar {
      display: none;
    }
    .inner-sidebar .vibe-number {
      display: none;
    }
    .inner-sidebar .nav-link{
      width: 100%;
      text-align: center;
      border-width:1px !important;
      border-color:var(--gold);
      white-space: nowrap;
    }
  }
  @media (max-width: 600px) {
    .nav-truly {
      padding: 18px 22px;
    }

    .page {
      padding: 40px 10px 160px;
    }

    h1.display {
      font-size: 34px;
    }

    .row-2 {
      grid-template-columns: 1fr;
      gap: 0;
    }

    .completeness {
      flex-direction: column;
      align-items: flex-start;
    }

    .profile-photo {
      max-width: 100%;
    }

    .profile-name {
      font-size: 32px;
    }

    .field input, .field textarea, .field select {
      font-size: 19px;
    }

    .mode-bar button {
      padding: 8px 12px;
      font-size: 10px;
    }

    .edit-actions {
      bottom: 76px;
    }
    .wizard-nav .skip {
      font-size: 15px;
    }
  }
